| 1 |
- (self.webpackChunkRiffMasterFront=self.webpackChunkRiffMasterFront||[]).push([[179],{1738:(he,oe,N)=>{"use strict";function w(t){return"function"==typeof t}function T(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const k=T(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function $(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class H{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;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:i}=this;if(w(i))try{i()}catch(o){n=o instanceof k?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{S(o)}catch(s){n=n??[],s instanceof k?n=[...n,...s.errors]:n.push(s)}}if(n)throw new k(n)}}add(n){var e;if(n&&n!==this)if(this.closed)S(n);else{if(n instanceof H){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&$(e,n)}remove(n){const{_finalizers:e}=this;e&&$(e,n),n instanceof H&&n._removeParent(this)}}H.EMPTY=(()=>{const t=new H;return t.closed=!0,t})();const O=H.EMPTY;function g(t){return t instanceof H||t&&"closed"in t&&w(t.remove)&&w(t.add)&&w(t.unsubscribe)}function S(t){w(t)?t():t.unsubscribe()}const F={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},z={setTimeout(t,n,...e){const{delegate:i}=z;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=z;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Z(t){z.setTimeout(()=>{const{onUnhandledError:n}=F;if(!n)throw t;n(t)})}function X(){}const I=G("C",void 0,void 0);function G(t,n,e){return{kind:t,value:n,error:e}}let re=null;function L(t){if(F.useDeprecatedSynchronousErrorHandling){const n=!re;if(n&&(re={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=re;if(re=null,e)throw i}}else t()}class _ extends H{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,g(n)&&n.add(this)):this.destination=J}static create(n,e,i){return new K(n,e,i)}next(n){this.isStopped?U(function B(t){return G("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?U(function A(t){return G("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?U(I,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const f=Function.prototype.bind;function p(t,n){return f.call(t,n)}class D{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){v(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){v(i)}else v(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){v(e)}}}class K extends _{constructor(n,e,i){let r;if(super(),w(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&F.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&p(n.next,o),error:n.error&&p(n.error,o),complete:n.complete&&p(n.complete,o)}):r=n}this.destination=new D(r)}}function v(t){F.useDeprecatedSynchronousErrorHandling?function M(t){F.useDeprecatedSynchronousErrorHandling&&re&&(re.errorThrown=!0,re.error=t)}(t):Z(t)}function U(t,n){const{onStoppedNotification:e}=F;e&&z.setTimeout(()=>e(t,n))}const J={closed:!0,next:X,error:function te(t){throw t},complete:X},ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function be(t){return t}function Je(t){return 0===t.length?be:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let _e=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function fi(t){return t&&t instanceof _||function et(t){return t&&w(t.next)&&w(t.error)&&w(t.complete)}(t)&&g(t)}(e)?e:new K(e,i,r);return L(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Ot(i))((r,o)=>{const s=new K({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[ue](){return this}pipe(...e){return Je(e)(this)}toPromise(e){return new(e=Ot(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function Ot(t){var n;return null!==(n=t??F.Promise)&&void 0!==n?n:Promise}const ut=T(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let He=(()=>{class t extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new qr(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new ut}next(e){L(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){L(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){L(()=>{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:i,isStopped:r,observers:o}=this;return i||r?O:(this.currentObservers=null,o.push(e),new H(()=>{this.currentObservers=null,$(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new _e;return e.source=this,e}}return t.create=(n,e)=>new qr(n,e),t})();class qr extends He{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:O}}class Yt extends He{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Mr(t){return w(t?.lift)}function kt(t){return n=>{if(Mr(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(t,n,e,i,r){return new y(t,n,e,i,r)}class y extends _{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ee(t,n){return kt((e,i)=>{let r=0;e.subscribe(x(i,o=>{i.next(t.call(n,o,r++))}))})}function pi(t){return this instanceof pi?(this.v=t,this):new pi(t)}function m_(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function St(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}const f_=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function p_(t){return w(t?.then)}function g_(t){return w(t[ue])}function __(t){return Symbol.asyncIterator&&w(t?.[Symbol.asyncIterator])}function b_(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 y_=function zT(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function v_(t){return w(t?.[y_])}function w_(t){return function h_(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(b){i[b]&&(r[b]=function(C){return new Promise(function(P,V){o.push([b,C,P,V])>1||a(b,C)})})}function a(b,C){try{!function l(b){b.value instanceof pi?Promise.resolve(b.value.v).then(c,d):u(o[0][2],b)}(i[b](C))}catch(P){u(o[0][3],P)}}function c(b){a("next",b)}function d(b){a("throw",b)}function u(b,C){b(C),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield pi(e.read());if(r)return yield pi(void 0);yield yield pi(i)}}finally{e.releaseLock()}})}function x_(t){return w(t?.getReader)}function Pn(t){if(t instanceof _e)return t;if(null!=t){if(g_(t))return function $T(t){return new _e(n=>{const e=t[ue]();if(w(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(f_(t))return function GT(t){return new _e(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}(t);if(p_(t))return function WT(t){return new _e(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Z)})}(t);if(__(t))return D_(t);if(v_(t))return function qT(t){return new _e(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(x_(t))return function XT(t){return D_(w_(t))}(t)}throw b_(t)}function D_(t){return new _e(n=>{(function KT(t,n){var e,i,r,o;return function ce(t,n,e,i){return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=m_(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Qi(t,n,e,i=0,r=!1){const o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function un(t,n,e=1/0){return w(n)?un((i,r)=>ee((o,s)=>n(i,o,r,s))(Pn(t(i,r))),e):("number"==typeof n&&(e=n),kt((i,r)=>function YT(t,n,e,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const b=()=>{u&&!l.length&&!c&&n.complete()},C=V=>c<i?P(V):l.push(V),P=V=>{o&&n.next(V),c++;let W=!1;Pn(e(V,d++)).subscribe(x(n,ie=>{r?.(ie),o?C(ie):n.next(ie)},()=>{W=!0},void 0,()=>{if(W)try{for(c--;l.length&&c<i;){const ie=l.shift();s?Qi(n,s,()=>P(ie)):P(ie)}b()}catch(ie){n.error(ie)}}))};return t.subscribe(x(n,C,()=>{u=!0,b()})),()=>{a?.()}}(i,r,t,e)))}function ko(t=1/0){return un(be,t)}const gi=new _e(t=>t.complete());function C_(t){return t&&w(t.schedule)}function Hu(t){return t[t.length-1]}function E_(t){return w(Hu(t))?t.pop():void 0}function $s(t){return C_(Hu(t))?t.pop():void 0}function M_(t,n=0){return kt((e,i)=>{e.subscribe(x(i,r=>Qi(i,t,()=>i.next(r),n),()=>Qi(i,t,()=>i.complete(),n),r=>Qi(i,t,()=>i.error(r),n)))})}function S_(t,n=0){return kt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function T_(t,n){if(!t)throw new Error("Iterable cannot be null");return new _e(e=>{Qi(e,n,()=>{const i=t[Symbol.asyncIterator]();Qi(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Qt(t,n){return n?function rI(t,n){if(null!=t){if(g_(t))return function JT(t,n){return Pn(t).pipe(S_(n),M_(n))}(t,n);if(f_(t))return function tI(t,n){return new _e(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(p_(t))return function eI(t,n){return Pn(t).pipe(S_(n),M_(n))}(t,n);if(__(t))return T_(t,n);if(v_(t))return function nI(t,n){return new _e(e=>{let i;return Qi(e,n,()=>{i=t[y_](),Qi(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>w(i?.return)&&i.return()})}(t,n);if(x_(t))return function iI(t,n){return T_(w_(t),n)}(t,n)}throw b_(t)}(t,n):Pn(t)}function zu(...t){const n=$s(t),e=function QT(t,n){return"number"==typeof Hu(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?Pn(i[0]):ko(e)(Qt(i,n)):gi}function Te(...t){return Qt(t,$s(t))}function $u(t={}){const{connector:n=(()=>new He),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1;const b=()=>{a?.unsubscribe(),a=void 0},C=()=>{b(),s=l=void 0,d=u=!1},P=()=>{const V=s;C(),V?.unsubscribe()};return kt((V,W)=>{c++,!u&&!d&&b();const ie=l=l??n();W.add(()=>{c--,0===c&&!u&&!d&&(a=Gu(P,r))}),ie.subscribe(W),!s&&c>0&&(s=new K({next:Q=>ie.next(Q),error:Q=>{u=!0,b(),a=Gu(C,e,Q),ie.error(Q)},complete:()=>{d=!0,b(),a=Gu(C,i),ie.complete()}}),Pn(V).subscribe(s))})(o)}}function Gu(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new K({next:()=>{i.unsubscribe(),t()}});return Pn(n(...e)).subscribe(i)}function I_(t,n=be){return t=t??oI,kt((e,i)=>{let r,o=!0;e.subscribe(x(i,s=>{const a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function oI(t,n){return t===n}function xt(t){for(let n in t)if(t[n]===xt)return n;throw Error("Could not find renamed property on target object.")}function Wu(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function on(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(on).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function qu(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const sI=xt({__forward_ref__:xt});function Tt(t){return t.__forward_ref__=Tt,t.toString=function(){return on(this())},t}function Le(t){return Xu(t)?t():t}function Xu(t){return"function"==typeof t&&t.hasOwnProperty(sI)&&t.__forward_ref__===Tt}function Ku(t){return t&&!!t.\u0275providers}const A_="https://g.co/ng/security#xss";class ne extends Error{constructor(n,e){super(function Fl(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function Ue(t){return"string"==typeof t?t:null==t?"":String(t)}function Nl(t,n){throw new ne(-201,!1)}function ri(t,n){null==t&&function yt(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function ve(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ol(t){return k_(t,Pl)||k_(t,F_)}function k_(t,n){return t.hasOwnProperty(n)?t[n]:null}function R_(t){return t&&(t.hasOwnProperty(Yu)||t.hasOwnProperty(fI))?t[Yu]:null}const Pl=xt({\u0275prov:xt}),Yu=xt({\u0275inj:xt}),F_=xt({ngInjectableDef:xt}),fI=xt({ngInjectorDef:xt});var Ae=(()=>((Ae=Ae||{})[Ae.Default=0]="Default",Ae[Ae.Host=1]="Host",Ae[Ae.Self=2]="Self",Ae[Ae.SkipSelf=4]="SkipSelf",Ae[Ae.Optional=8]="Optional",Ae))();let Zu;function Ln(t){const n=Zu;return Zu=t,n}function O_(t,n,e){const i=Ol(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ae.Optional?null:void 0!==n?n:void Nl(on(t))}const It=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gs={},Qu="__NG_DI_FLAG__",Ll="ngTempTokenPath",gI=/\n/gm,P_="__source";let Ro;function Tr(t){const n=Ro;return Ro=t,n}function yI(t,n=Ae.Default){if(void 0===Ro)throw new ne(-203,!1);return null===Ro?O_(t,void 0,n):Ro.get(t,n&Ae.Optional?null:void 0,n)}function le(t,n=Ae.Default){return(function N_(){return Zu}()||yI)(Le(t),n)}function ye(t,n=Ae.Default){return le(t,Vl(n))}function Vl(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ju(t){const n=[];for(let e=0;e<t.length;e++){const i=Le(t[e]);if(Array.isArray(i)){if(0===i.length)throw new ne(900,!1);let r,o=Ae.Default;for(let s=0;s<i.length;s++){const a=i[s],l=vI(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(le(r,o))}else n.push(le(i))}return n}function Ws(t,n){return t[Qu]=n,t.prototype[Qu]=n,t}function vI(t){return t[Qu]}function Ji(t){return{toString:t}.toString()}var Ai=(()=>((Ai=Ai||{})[Ai.OnPush=0]="OnPush",Ai[Ai.Default=1]="Default",Ai))(),Vn=(()=>{return(t=Vn||(Vn={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Vn;var t})();const er={},ht=[],Bl=xt({\u0275cmp:xt}),eh=xt({\u0275dir:xt}),th=xt({\u0275pipe:xt}),V_=xt({\u0275mod:xt}),tr=xt({\u0275fac:xt}),qs=xt({__NG_ELEMENT_ID__:xt}),B_=xt({__NG_ENV_ID__:xt});function j_(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function nh(t,n,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{const o=r,s=e[++i];H_(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function U_(t){return 3===t||4===t||6===t}function H_(t){return 64===t.charCodeAt(0)}function Xs(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||z_(t,e,r,null,-1===e||2===e?n[++i]:null)}}return t}function z_(t,n,e,i,r){let o=0,s=t.length;if(-1===n)s=-1;else for(;o<t.length;){const a=t[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<t.length;){const a=t[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(t[o+1]=r));if(i===t[o+1])return void(t[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),null!==i&&t.splice(o++,0,i),null!==r&&t.splice(o++,0,r)}const $_="ng-template";function DI(t,n,e){let i=0,r=!0;for(;i<t.length;){let o=t[i++];if("string"==typeof o&&r){const s=t[i++];if(e&&"class"===o&&-1!==j_(s.toLowerCase(),n,0))return!0}else{if(1===o){for(;i<t.length&&"string"==typeof(o=t[i++]);)if(o.toLowerCase()===n)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function G_(t){return 4===t.type&&t.value!==$_}function CI(t,n,e){return n===(4!==t.type||e?t.value:$_)}function EI(t,n,e){let i=4;const r=t.attrs||[],o=function TI(t){for(let n=0;n<t.length;n++)if(U_(t[n]))return n;return t.length}(r);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!CI(t,l,e)||""===l&&1===n.length){if(_i(i))return!1;s=!0}}else{const c=8&i?l:n[++a];if(8&i&&null!==t.attrs){if(!DI(t.attrs,c,e)){if(_i(i))return!1;s=!0}continue}const u=MI(8&i?"class":l,r,G_(t),e);if(-1===u){if(_i(i))return!1;s=!0;continue}if(""!==c){let b;b=u>o?"":r[u+1].toLowerCase();const C=8&i?b:null;if(C&&-1!==j_(C,c,0)||2&i&&c!==b){if(_i(i))return!1;s=!0}}}}else{if(!s&&!_i(i)&&!_i(l))return!1;if(s&&_i(l))continue;s=!1,i=l|1&i}}return _i(i)||s}function _i(t){return 0==(1&t)}function MI(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){const s=n[r];if(s===t)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function II(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function W_(t,n,e=!1){for(let i=0;i<n.length;i++)if(EI(t,n[i],e))return!0;return!1}function AI(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function q_(t,n){return t?":not("+n.trim()+")":n}function kI(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if("string"==typeof s)if(2&i){const a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!_i(s)&&(n+=q_(o,r),r=""),i=s,o=o||!_i(i);e++}return""!==r&&(n+=q_(o,r)),n}function Dt(t){return Ji(()=>{const n=K_(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ai.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Vn.Emulated,styles:t.styles||ht,_:null,schemas:t.schemas||null,tView:null,id:""};Y_(e);const i=t.dependencies;return e.directiveDefs=jl(i,!1),e.pipeDefs=jl(i,!0),e.id=function BI(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,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)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function OI(t){return pt(t)||wn(t)}function PI(t){return null!==t}function mt(t){return Ji(()=>({type:t.type,bootstrap:t.bootstrap||ht,declarations:t.declarations||ht,imports:t.imports||ht,exports:t.exports||ht,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function X_(t,n){if(null==t)return er;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,n&&(n[r]=o)}return e}function se(t){return Ji(()=>{const n=K_(t);return Y_(n),n})}function Bn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function pt(t){return t[Bl]||null}function wn(t){return t[eh]||null}function jn(t){return t[th]||null}function Xn(t,n){const e=t[V_]||null;if(!e&&!0===n)throw new Error(`Type ${on(t)} does not have '\u0275mod' property.`);return e}function K_(t){const n={};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:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||ht,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:X_(t.inputs,n),outputs:X_(t.outputs)}}function Y_(t){t.features?.forEach(n=>n(t))}function jl(t,n){if(!t)return null;const e=n?jn:OI;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(PI)}const sn=0,we=1,We=2,Bt=3,bi=4,Xr=5,xn=6,No=7,$t=8,Oo=9,Kr=10,ze=11,Ks=12,Z_=13,Po=14,Jt=15,Ys=16,Lo=17,ki=18,Zs=19,Q_=20,Ir=21,nr=22,Ul=23,Hl=24,it=25,ih=1,J_=2,Ri=7,zl=8,Vo=9,gn=11;function Kn(t){return Array.isArray(t)&&"object"==typeof t[ih]}function Un(t){return Array.isArray(t)&&!0===t[ih]}function rh(t){return 0!=(4&t.flags)}function Yr(t){return t.componentOffset>-1}function $l(t){return 1==(1&t.flags)}function yi(t){return!!t.template}function oh(t){return 0!=(512&t[We])}function Zr(t,n){return t.hasOwnProperty(tr)?t[tr]:null}let $I=It.WeakRef??class zI{constructor(n){this.ref=n}deref(){return this.ref}},WI=0,Fi=null,Gl=!1;function hn(t){const n=Fi;return Fi=t,n}class rb{constructor(){this.id=WI++,this.ref=function GI(t){return new $I(t)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,e]of this.producers){const i=e.producerNode.deref();if(void 0!==i&&e.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(e.seenValueVersion))return!0}else this.producers.delete(n),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=Gl;Gl=!0;try{for(const[e,i]of this.consumers){const r=i.consumerNode.deref();void 0!==r&&r.trackingVersion===i.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(e),r?.producers.delete(this.id))}}finally{Gl=n}}producerAccessed(){if(Gl)throw new Error("");if(null===Fi)return;let n=Fi.producers.get(this.id);void 0===n?(n={consumerNode:Fi.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Fi.trackingVersion},Fi.producers.set(this.id,n),this.consumers.set(Fi.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=Fi.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Fi?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let ob=null;const ab=()=>{};class YI extends rb{constructor(n,e,i){super(),this.watch=n,this.schedule=e,this.dirty=!1,this.cleanupFn=ab,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=hn(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ab,this.watch(this.registerOnCleanup)}finally{hn(n)}}cleanup(){this.cleanupFn()}}class ZI{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function mn(){return lb}function lb(t){return t.type.prototype.ngOnChanges&&(t.setInput=JI),QI}function QI(){const t=db(this),n=t?.current;if(n){const e=t.previous;if(e===er)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function JI(t,n,e,i){const r=this.declaredInputs[e],o=db(t)||function eA(t,n){return t[cb]=n}(t,{previous:er,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new ZI(l&&l.currentValue,n,a===er),t[i]=n}mn.ngInherit=!0;const cb="__ngSimpleChanges__";function db(t){return t[cb]||null}const Ni=function(t,n,e){},ub="svg";function Rt(t){for(;Array.isArray(t);)t=t[sn];return t}function Xl(t,n){return Rt(n[t])}function Hn(t,n){return Rt(n[t.index])}function mb(t,n){return t.data[n]}function Bo(t,n){return t[n]}function zn(t,n){const e=n[t];return Kn(e)?e:e[sn]}function Kl(t){return 128==(128&t[We])}function Ar(t,n){return null==n?null:t[n]}function fb(t){t[Lo]=0}function sA(t){1024&t[We]||(t[We]|=1024,gb(t,1))}function pb(t){1024&t[We]&&(t[We]&=-1025,gb(t,-1))}function gb(t,n){let e=t[Bt];if(null===e)return;e[Xr]+=n;let i=e;for(e=e[Bt];null!==e&&(1===n&&1===i[Xr]||-1===n&&0===i[Xr]);)e[Xr]+=n,i=e,e=e[Bt]}const Oe={lFrame:Sb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yb(){return Oe.bindingsEnabled}function jo(){return null!==Oe.skipHydrationRootTNode}function ae(){return Oe.lFrame.lView}function at(){return Oe.lFrame.tView}function uh(t){return Oe.lFrame.contextLView=t,t[$t]}function hh(t){return Oe.lFrame.contextLView=null,t}function _n(){let t=vb();for(;null!==t&&64===t.type;)t=t.parent;return t}function vb(){return Oe.lFrame.currentTNode}function Oi(t,n){const e=Oe.lFrame;e.currentTNode=t,e.isParent=n}function mh(){return Oe.lFrame.isParent}function fh(){Oe.lFrame.isParent=!1}function An(){const t=Oe.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Uo(){return Oe.lFrame.bindingIndex++}function rr(t){const n=Oe.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function bA(t,n){const e=Oe.lFrame;e.bindingIndex=e.bindingRootIndex=t,ph(n)}function ph(t){Oe.lFrame.currentDirectiveIndex=t}function Cb(){return Oe.lFrame.currentQueryIndex}function _h(t){Oe.lFrame.currentQueryIndex=t}function vA(t){const n=t[we];return 2===n.type?n.declTNode:1===n.type?t[xn]:null}function Eb(t,n,e){if(e&Ae.SkipSelf){let r=n,o=t;for(;!(r=r.parent,null!==r||e&Ae.Host||(r=vA(o),null===r||(o=o[Po],10&r.type))););if(null===r)return!1;n=r,t=o}const i=Oe.lFrame=Mb();return i.currentTNode=n,i.lView=t,!0}function bh(t){const n=Mb(),e=t[we];Oe.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Mb(){const t=Oe.lFrame,n=null===t?null:t.child;return null===n?Sb(t):n}function Sb(t){const n={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=n),n}function Tb(){const t=Oe.lFrame;return Oe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ib=Tb;function yh(){const t=Tb();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 kn(){return Oe.lFrame.selectedIndex}function Qr(t){Oe.lFrame.selectedIndex=t}function jt(){const t=Oe.lFrame;return mb(t.tView,t.selectedIndex)}let Fb=!0;function Yl(){return Fb}function kr(t){Fb=t}function Zl(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),null!=d&&(t.destroyHooks??=[]).push(e,d)}}function Ql(t,n,e){Nb(t,n,3,e)}function Jl(t,n,e,i){(3&t[We])===e&&Nb(t,n,e,i)}function vh(t,n){let e=t[We];(3&e)===n&&(e&=4095,e+=1,t[We]=e)}function Nb(t,n,e,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&t[Lo]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(t[Lo]+=65536),(a<o||-1==o)&&(MA(t,e,n,l),t[Lo]=(4294901760&t[Lo])+l+2),l++}function Ob(t,n){Ni(4,t,n);const e=hn(null);try{n.call(t)}finally{hn(e),Ni(5,t,n)}}function MA(t,n,e,i){const r=e[i]<0,o=e[i+1],a=t[r?-e[i]:e[i]];r?t[We]>>12<t[Lo]>>16&&(3&t[We])===n&&(t[We]+=4096,Ob(a,o)):Ob(a,o)}const Ho=-1;class ea{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Pb(t){return t!==Ho}function ec(t){return 32767&t}function tc(t,n){let e=function AA(t){return t>>16}(t),i=n;for(;e>0;)i=i[Po],e--;return i}let xh=!0;function nc(t){const n=xh;return xh=t,n}const Lb=255,Vb=5;let kA=0;const Pi={};function ic(t,n){const e=Bb(t,n);if(-1!==e)return e;const i=n[we];i.firstCreatePass&&(t.injectorIndex=n.length,Dh(i.data,t),Dh(n,null),Dh(i.blueprint,null));const r=Ch(t,n),o=t.injectorIndex;if(Pb(r)){const s=ec(r),a=tc(r,n),l=a[we].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Dh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Bb(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Ch(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Wb(r),null===i)return Ho;if(e++,r=r[Po],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Ho}function Eh(t,n,e){!function RA(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(qs)&&(i=e[qs]),null==i&&(i=e[qs]=kA++);const r=i&Lb;n.data[t+(r>>Vb)]|=1<<r}(t,n,e)}function jb(t,n,e){if(e&Ae.Optional||void 0!==t)return t;Nl()}function Ub(t,n,e,i){if(e&Ae.Optional&&void 0===i&&(i=null),!(e&(Ae.Self|Ae.Host))){const r=t[Oo],o=Ln(void 0);try{return r?r.get(n,i,e&Ae.Optional):O_(n,i,e&Ae.Optional)}finally{Ln(o)}}return jb(i,0,e)}function Hb(t,n,e,i=Ae.Default,r){if(null!==t){if(2048&n[We]&&!(i&Ae.Self)){const s=function LA(t,n,e,i,r){let o=t,s=n;for(;null!==o&&null!==s&&2048&s[We]&&!(512&s[We]);){const a=zb(o,s,e,i|Ae.Self,Pi);if(a!==Pi)return a;let l=o.parent;if(!l){const c=s[Q_];if(c){const d=c.get(e,Pi,i);if(d!==Pi)return d}l=Wb(s),s=s[Po]}o=l}return r}(t,n,e,i,Pi);if(s!==Pi)return s}const o=zb(t,n,e,i,Pi);if(o!==Pi)return o}return Ub(n,e,i,r)}function zb(t,n,e,i,r){const o=function OA(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(qs)?t[qs]:void 0;return"number"==typeof n?n>=0?n&Lb:PA:n}(e);if("function"==typeof o){if(!Eb(n,t,i))return i&Ae.Host?jb(r,0,i):Ub(n,e,i,r);try{const s=o(i);if(null!=s||i&Ae.Optional)return s;Nl()}finally{Ib()}}else if("number"==typeof o){let s=null,a=Bb(t,n),l=Ho,c=i&Ae.Host?n[Jt][xn]:null;for((-1===a||i&Ae.SkipSelf)&&(l=-1===a?Ch(t,n):n[a+8],l!==Ho&&Gb(i,!1)?(s=n[we],a=ec(l),n=tc(l,n)):a=-1);-1!==a;){const d=n[we];if($b(o,a,d.data)){const u=NA(a,n,e,s,i,c);if(u!==Pi)return u}l=n[a+8],l!==Ho&&Gb(i,n[we].data[a+8]===c)&&$b(o,a,n)?(s=d,a=ec(l),n=tc(l,n)):a=-1}}return r}function NA(t,n,e,i,r,o){const s=n[we],a=s.data[t+8],d=rc(a,s,e,null==i?Yr(a)&&xh:i!=s&&0!=(3&a.type),r&Ae.Host&&o===a);return null!==d?Jr(n,s,d,a):Pi}function rc(t,n,e,i,r){const o=t.providerIndexes,s=n.data,a=1048575&o,l=t.directiveStart,d=o>>20,b=r?a+d:t.directiveEnd;for(let C=i?a:a+d;C<b;C++){const P=s[C];if(C<l&&e===P||C>=l&&P.type===e)return C}if(r){const C=s[l];if(C&&yi(C)&&C.type===e)return l}return null}function Jr(t,n,e,i){let r=t[e];const o=n.data;if(function SA(t){return t instanceof ea}(r)){const s=r;s.resolving&&function aI(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ne(-200,`Circular dependency in DI detected for ${t}${e}`)}(function bt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ue(t)}(o[e]));const a=nc(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Ln(s.injectImpl):null;Eb(t,i,Ae.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function EA(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=lb(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}(e,o[e],n)}finally{null!==l&&Ln(l),nc(a),s.resolving=!1,Ib()}}return r}function $b(t,n,e){return!!(e[n+(t>>Vb)]&1<<t)}function Gb(t,n){return!(t&Ae.Self||t&Ae.Host&&n)}class zo{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Hb(this._tNode,this._lView,n,Vl(i),e)}}function PA(){return new zo(_n(),ae())}function rt(t){return Ji(()=>{const n=t.prototype.constructor,e=n[tr]||Mh(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[tr]||Mh(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Mh(t){return Xu(t)?()=>{const n=Mh(Le(t));return n&&n()}:Zr(t)}function Wb(t){const n=t[we],e=n.type;return 2===e?n.declTNode:1===e?t[xn]:null}function eo(t){return function FA(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r<i;){const o=e[r];if(U_(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof e[r];)r++;else{if(o===n)return e[r+1];r+=2}}}return null}(_n(),t)}const Go="__parameters__";function qo(t,n,e){return Ji(()=>{const i=function Sh(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Go)?l[Go]:Object.defineProperty(l,Go,{value:[]})[Go];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function ia(t,n){t.forEach(e=>Array.isArray(e)?ia(e,n):n(e))}function Xb(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function oc(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ra(t,n){const e=[];for(let i=0;i<t;i++)e.push(n);return e}function Yn(t,n,e){let i=Xo(t,n);return i>=0?t[1|i]=e:(i=~i,function HA(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Th(t,n){const e=Xo(t,n);if(e>=0)return t[1|e]}function Xo(t,n){return function Kb(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}(t,n,1)}const to=Ws(qo("Optional"),8),oa=Ws(qo("SkipSelf"),4);function dc(t){return 128==(128&t.flags)}var $n=(()=>(($n=$n||{})[$n.Important=1]="Important",$n[$n.DashCase=2]="DashCase",$n))();const ck=/^>|^->|<!--|-->|--!>|<!-$/g,dk=/(<|>)/,uk="\u200b$1\u200b";const Nh=new Map;let hk=0;const Ph="__ngContext__";function Dn(t,n){Kn(n)?(t[Ph]=n[Zs],function fk(t){Nh.set(t[Zs],t)}(n)):t[Ph]=n}let Lh;function Vh(t,n){return Lh(t,n)}function la(t){const n=t[Bt];return Un(n)?n[Bt]:n}function Bh(t){return fy(t[Ks])}function jh(t){return fy(t[bi])}function fy(t){for(;null!==t&&!Un(t);)t=t[bi];return t}function Zo(t,n,e,i,r){if(null!=i){let o,s=!1;Un(i)?o=i:Kn(i)&&(s=!0,i=i[sn]);const a=Rt(i);0===t&&null!==e?null==r?yy(n,e,a):no(n,e,a,r||null,!0):1===t&&null!==e?no(n,e,a,r||null,!0):2===t?function gc(t,n,e){const i=fc(t,n);i&&function Fk(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=o&&function Pk(t,n,e,i,r){const o=e[Ri];o!==Rt(e)&&Zo(n,t,i,o,r);for(let a=gn;a<e.length;a++){const l=e[a];da(l[we],l,t,n,i,o)}}(n,t,o,e,r)}}function Uh(t,n){return t.createComment(function sy(t){return t.replace(ck,n=>n.replace(dk,uk))}(n))}function mc(t,n,e){return t.createElement(n,e)}function gy(t,n){const e=t[Vo],i=e.indexOf(n);pb(n),e.splice(i,1)}function Hh(t,n){if(t.length<=gn)return;const e=gn+n,i=t[e];if(i){const r=i[Ys];null!==r&&r!==t&&gy(r,i),n>0&&(t[e-1][bi]=i[bi]);const o=oc(t,gn+n);!function Ek(t,n){da(t,n,n[ze],2,null,null),n[sn]=null,n[xn]=null}(i[we],i);const s=o[ki];null!==s&&s.detachView(o[we]),i[Bt]=null,i[bi]=null,i[We]&=-129}return i}function _y(t,n){if(!(256&n[We])){const e=n[ze];n[Ul]?.destroy(),n[Hl]?.destroy(),e.destroyNode&&da(t,n,e,3,null,null),function Tk(t){let n=t[Ks];if(!n)return zh(t[we],t);for(;n;){let e=null;if(Kn(n))e=n[Ks];else{const i=n[gn];i&&(e=i)}if(!e){for(;n&&!n[bi]&&n!==t;)Kn(n)&&zh(n[we],n),n=n[Bt];null===n&&(n=t),Kn(n)&&zh(n[we],n),e=n&&n[bi]}n=e}}(n)}}function zh(t,n){if(!(256&n[We])){n[We]&=-129,n[We]|=256,function Rk(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const r=n[e[i]];if(!(r instanceof ea)){const o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];Ni(4,a,l);try{l.call(a)}finally{Ni(5,a,l)}}else{Ni(4,r,o);try{o.call(r)}finally{Ni(5,r,o)}}}}}(t,n),function kk(t,n){const e=t.cleanup,i=n[No];if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else e[o].call(i[e[o+1]]);null!==i&&(n[No]=null);const r=n[Ir];if(null!==r){n[Ir]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(t,n),1===n[we].type&&n[ze].destroy();const e=n[Ys];if(null!==e&&Un(n[Bt])){e!==n[Bt]&&gy(e,n);const i=n[ki];null!==i&&i.detachView(t)}!function pk(t){Nh.delete(t[Zs])}(n)}}function $h(t,n,e){return function by(t,n,e){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return e[sn];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=t.data[i.directiveStart+r];if(o===Vn.None||o===Vn.Emulated)return null}return Hn(i,e)}}(t,n.parent,e)}function no(t,n,e,i,r){t.insertBefore(n,e,i,r)}function yy(t,n,e){t.appendChild(n,e)}function vy(t,n,e,i,r){null!==i?no(t,n,e,i,r):yy(t,n,e)}function fc(t,n){return t.parentNode(n)}function wy(t,n,e){return Dy(t,n,e)}let Gh,_c,Kh,bc,Dy=function xy(t,n,e){return 40&t.type?Hn(t,e):null};function pc(t,n,e,i){const r=$h(t,i,n),o=n[ze],a=wy(i.parent||n[xn],i,n);if(null!=r)if(Array.isArray(e))for(let l=0;l<e.length;l++)vy(o,r,e[l],a,!1);else vy(o,r,e,a,!1);void 0!==Gh&&Gh(o,i,n,e,r)}function ca(t,n){if(null!==n){const e=n.type;if(3&e)return Hn(n,t);if(4&e)return Wh(-1,t[n.index]);if(8&e){const i=n.child;if(null!==i)return ca(t,i);{const r=t[n.index];return Un(r)?Wh(-1,r):Rt(r)}}if(32&e)return Vh(n,t)()||Rt(t[n.index]);{const i=Ey(t,n);return null!==i?Array.isArray(i)?i[0]:ca(la(t[Jt]),i):ca(t,n.next)}}return null}function Ey(t,n){return null!==n?t[Jt][xn].projection[n.projection]:null}function Wh(t,n){const e=gn+t+1;if(e<n.length){const i=n[e],r=i[we].firstChild;if(null!==r)return ca(i,r)}return n[Ri]}function qh(t,n,e,i,r,o,s){for(;null!=e;){const a=i[e.index],l=e.type;if(s&&0===n&&(a&&Dn(Rt(a),i),e.flags|=2),32!=(32&e.flags))if(8&l)qh(t,n,e.child,i,r,o,!1),Zo(n,t,r,a,o);else if(32&l){const c=Vh(e,i);let d;for(;d=c();)Zo(n,t,r,d,o);Zo(n,t,r,a,o)}else 16&l?Sy(t,n,i,e,r,o):Zo(n,t,r,a,o);e=s?e.projectionNext:e.next}}function da(t,n,e,i,r,o){qh(e,i,t.firstChild,n,r,o,!1)}function Sy(t,n,e,i,r,o){const s=e[Jt],l=s[xn].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Zo(n,t,r,l[c],o);else{let c=l;const d=s[Bt];dc(i)&&(c.flags|=128),qh(t,n,c,d,r,o,!0)}}function Ty(t,n,e){""===e?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Iy(t,n,e){const{mergedAttrs:i,classes:r,styles:o}=e;null!==i&&nh(t,n,i),null!==r&&Ty(t,n,r),null!==o&&function Vk(t,n,e){t.setAttribute(n,"style",e)}(t,n,o)}function Qo(t){return function Xh(){if(void 0===_c&&(_c=null,It.trustedTypes))try{_c=It.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _c}()?.createHTML(t)||t}function Ry(t){return function Yh(){if(void 0===bc&&(bc=null,It.trustedTypes))try{bc=It.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bc}()?.createScriptURL(t)||t}class io{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${A_})`}}class zk extends io{getTypeName(){return"HTML"}}class $k extends io{getTypeName(){return"Style"}}class Gk extends io{getTypeName(){return"Script"}}class Wk extends io{getTypeName(){return"URL"}}class qk extends io{getTypeName(){return"ResourceURL"}}function Zn(t){return t instanceof io?t.changingThisBreaksApplicationSecurity:t}function Li(t,n){const e=function Xk(t){return t instanceof io&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${A_})`)}return e===n}class e1{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(Qo(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class t1{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=Qo(n),e}}const r1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(t){return(t=String(t)).match(r1)?t:"unsafe:"+t}function or(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function ha(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Ny=or("area,br,col,hr,img,wbr"),Oy=or("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Py=or("rp,rt"),Zh=ha(Ny,ha(Oy,or("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ha(Py,or("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ha(Py,Oy)),Qh=or("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ly=ha(Qh,or("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),or("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),o1=or("script,style,template");class s1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!Zh.hasOwnProperty(e))return this.sanitizedSomething=!0,!o1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Ly.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Qh[a]&&(l=yc(l)),this.buf.push(" ",s,'="',Vy(l),'"')}return this.buf.push(">"),!0}endElement(n){const e=n.nodeName.toLowerCase();Zh.hasOwnProperty(e)&&!Ny.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Vy(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const a1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l1=/([^\#-~ |!])/g;function Vy(t){return t.replace(/&/g,"&").replace(a1,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(l1,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let vc;function By(t,n){let e=null;try{vc=vc||function Fy(t){const n=new t1(t);return function n1(){try{return!!(new window.DOMParser).parseFromString(Qo(""),"text/html")}catch{return!1}}()?new e1(n):n}(t);let i=n?String(n):"";e=vc.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=vc.getInertBodyElement(i)}while(i!==o);return Qo((new s1).sanitizeChildren(Jh(e)||e))}finally{if(e){const i=Jh(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Jh(t){return"content"in t&&function c1(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gt=(()=>((gt=gt||{})[gt.NONE=0]="NONE",gt[gt.HTML=1]="HTML",gt[gt.STYLE=2]="STYLE",gt[gt.SCRIPT=3]="SCRIPT",gt[gt.URL=4]="URL",gt[gt.RESOURCE_URL=5]="RESOURCE_URL",gt))();function jy(t){const n=ma();return n?n.sanitize(gt.URL,t)||"":Li(t,"URL")?Zn(t):yc(Ue(t))}function Uy(t){const n=ma();if(n)return Ry(n.sanitize(gt.RESOURCE_URL,t)||"");if(Li(t,"ResourceURL"))return Ry(Zn(t));throw new ne(904,!1)}function ma(){const t=ae();return t&&t[Kr].sanitizer}class de{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ve({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const fa=new de("ENVIRONMENT_INITIALIZER"),zy=new de("INJECTOR",-1),$y=new de("INJECTOR_DEF_TYPES");class Gy{get(n,e=Gs){if(e===Gs){const i=new Error(`NullInjectorError: No provider for ${on(n)}!`);throw i.name="NullInjectorError",i}return e}}function g1(...t){return{\u0275providers:Wy(0,t),\u0275fromNgModule:!0}}function Wy(t,...n){const e=[],i=new Set;let r;return ia(n,o=>{const s=o;tm(s,e,[],i)&&(r||=[],r.push(s))}),void 0!==r&&qy(r,e),e}function qy(t,n){for(let e=0;e<t.length;e++){const{providers:r}=t[e];nm(r,o=>{n.push(o)})}}function tm(t,n,e,i){if(!(t=Le(t)))return!1;let r=null,o=R_(t);const s=!o&&pt(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=R_(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)tm(c,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{ia(o.imports,d=>{tm(d,n,e,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&qy(c,n)}if(!a){const c=Zr(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:ht},{provide:$y,useValue:r,multi:!0},{provide:fa,useValue:()=>le(r),multi:!0})}const l=o.providers;null==l||a||nm(l,d=>{n.push(d)})}}return r!==t&&void 0!==t.providers}function nm(t,n){for(let e of t)Ku(e)&&(e=e.\u0275providers),Array.isArray(e)?nm(e,n):n(e)}const _1=xt({provide:String,useValue:xt});function im(t){return null!==t&&"object"==typeof t&&_1 in t}function ro(t){return"function"==typeof t}const rm=new de("Set Injector scope."),wc={},y1={};let om;function xc(){return void 0===om&&(om=new Gy),om}class Vi{}class sm extends Vi{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,lm(n,s=>this.processProvider(s)),this.records.set(zy,Jo(void 0,this)),r.has("environment")&&this.records.set(Vi,Jo(void 0,this));const o=this.records.get(rm);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($y.multi,ht,Ae.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=Tr(this),i=Ln(void 0);try{return n()}finally{Tr(e),Ln(i)}}get(n,e=Gs,i=Ae.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(B_))return n[B_](this);i=Vl(i);const r=Tr(this),o=Ln(void 0);try{if(!(i&Ae.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function C1(t){return"function"==typeof t||"object"==typeof t&&t instanceof de}(n)&&Ol(n);a=l&&this.injectableDefInScope(l)?Jo(am(n),wc):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&Ae.Self?xc():this.parent).get(n,e=i&Ae.Optional&&e===Gs?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Ll]=s[Ll]||[]).unshift(on(n)),r)throw s;return function wI(t,n,e,i){const r=t[Ll];throw n[P_]&&r.unshift(n[P_]),t.message=function xI(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=on(n);if(Array.isArray(n))r=n.map(on).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):on(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(gI,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[Ll]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Ln(o),Tr(r)}}resolveInjectorInitializers(){const n=Tr(this),e=Ln(void 0);try{const i=this.get(fa.multi,ht,Ae.Self);for(const r of i)r()}finally{Tr(n),Ln(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(on(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ne(205,!1)}processProvider(n){let e=ro(n=Le(n))?n:Le(n&&n.provide);const i=function w1(t){return im(t)?Jo(void 0,t.useValue):Jo(Yy(t),wc)}(n);if(ro(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Jo(void 0,wc,!0),r.factory=()=>Ju(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===wc&&(e.value=y1,e.value=e.factory()),"object"==typeof e.value&&e.value&&function D1(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Le(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function am(t){const n=Ol(t),e=null!==n?n.factory:Zr(t);if(null!==e)return e;if(t instanceof de)throw new ne(204,!1);if(t instanceof Function)return function v1(t){const n=t.length;if(n>0)throw ra(n,"?"),new ne(204,!1);const e=function mI(t){return t&&(t[Pl]||t[F_])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ne(204,!1)}function Yy(t,n,e){let i;if(ro(t)){const r=Le(t);return Zr(r)||am(r)}if(im(t))i=()=>Le(t.useValue);else if(function Ky(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Ju(t.deps||[]));else if(function Xy(t){return!(!t||!t.useExisting)}(t))i=()=>le(Le(t.useExisting));else{const r=Le(t&&(t.useClass||t.provide));if(!function x1(t){return!!t.deps}(t))return Zr(r)||am(r);i=()=>new r(...Ju(t.deps))}return i}function Jo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function lm(t,n){for(const e of t)Array.isArray(e)?lm(e,n):e&&Ku(e)?lm(e.\u0275providers,n):n(e)}const Dc=new de("AppId",{providedIn:"root",factory:()=>E1}),E1="ng",Zy=new de("Platform Initializer"),Rr=new de("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),vi=new de("AnimationModuleType"),cm=new de("CSP nonce",{providedIn:"root",factory:()=>function ua(){if(void 0!==Kh)return Kh;if(typeof document<"u")return document;throw new ne(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Jy=(t,n)=>null;function ev(t,n){return Jy(t,n)}class N1{}class iv{}class P1{resolveComponentFactory(n){throw function O1(t){const n=Error(`No component factory found for ${on(t)}.`);return n.ngComponent=t,n}(n)}}let Tc=(()=>{class t{}return t.NULL=new P1,t})();function L1(){return es(_n(),ae())}function es(t,n){return new Xe(Hn(t,n))}let Xe=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=L1,t})();function V1(t){return t instanceof Xe?t.nativeElement:t}class ba{}let sr=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function B1(){const t=ae(),e=zn(_n().index,t);return(Kn(e)?e:t)[ze]}(),t})(),j1=(()=>{class t{}return t.\u0275prov=ve({token:t,providedIn:"root",factory:()=>null}),t})();class oo{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const U1=new oo("16.0.4"),vm={};function ya(t){for(;t;){t[We]|=64;const n=la(t);if(oh(t)&&!n)return t;t=n}return null}function wm(t){return t.ngOriginalError}class Bi{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&wm(n);for(;e&&wm(e);)e=wm(e);return e||null}}const av=new de("",{providedIn:"root",factory:()=>!1});function ar(t){return t instanceof Function?t():t}class hv extends rb{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){ya(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,e,i){const r=hn(this);this.trackingVersion++;try{n(e,i)}finally{hn(r)}}destroy(){this.trackingVersion++}}let Ac=null;function mv(){return Ac??=new hv,Ac}function fv(t,n){return t[n]??mv()}function pv(t,n){const e=mv();e.hasReadASignal&&(t[n]=Ac,e.lView=t,Ac=new hv)}const $e={};function Ee(t){gv(at(),ae(),kn()+t,!1)}function gv(t,n,e,i){if(!i)if(3==(3&n[We])){const o=t.preOrderCheckHooks;null!==o&&Ql(n,o,e)}else{const o=t.preOrderHooks;null!==o&&Jl(n,o,0,e)}Qr(e)}function vv(t,n=null,e=null,i){const r=wv(t,n,e,i);return r.resolveInjectorInitializers(),r}function wv(t,n=null,e=null,i,r=new Set){const o=[e||ht,g1(t)];return i=i||("object"==typeof t?void 0:on(t)),new sm(o,n||xc(),i||null,r)}let wi=(()=>{class t{static create(e,i){if(Array.isArray(e))return vv({name:""},i,e,"");{const r=e.name??"";return vv({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Gs,t.NULL=new Gy,t.\u0275prov=ve({token:t,providedIn:"any",factory:()=>le(zy)}),t.__NG_ELEMENT_ID__=-1,t})();function j(t,n=Ae.Default){const e=ae();return null===e?le(t,n):Hb(_n(),e,Le(t),n)}function va(){throw new Error("invalid")}function kc(t,n,e,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[sn]=r,u[We]=140|i,(null!==c||t&&2048&t[We])&&(u[We]|=2048),fb(u),u[Bt]=u[Po]=t,u[$t]=e,u[Kr]=s||t&&t[Kr],u[ze]=a||t&&t[ze],u[Oo]=l||t&&t[Oo]||null,u[xn]=o,u[Zs]=function mk(){return hk++}(),u[nr]=d,u[Q_]=c,u[Jt]=2==n.type?t[Jt]:u,u}function ns(t,n,e,i,r){let o=t.data[n];if(null===o)o=function xm(t,n,e,i,r){const o=vb(),s=mh(),l=t.data[n]=function lR(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return jo()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,e,n,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,n,e,i,r),function _A(){return Oe.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const s=function Js(){const t=Oe.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Oi(o,!0),o}function wa(t,n,e,i){if(0===e)return-1;const r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function xv(t,n,e,i,r){const o=fv(n,Ul),s=kn(),a=2&i;try{if(Qr(-1),a&&n.length>it&&gv(t,n,it,!1),Ni(a?2:0,r),a)o.runInContext(e,i,r);else{const c=hn(null);try{e(i,r)}finally{hn(c)}}}finally{a&&null===n[Ul]&&pv(n,Ul),Qr(s),Ni(a?3:1,r)}}function Dm(t,n,e){if(rh(n)){const i=hn(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=t.data[s];a.contentQueries&&a.contentQueries(1,e[s],s)}}finally{hn(i)}}}function Cm(t,n,e){yb()&&(function pR(t,n,e,i){const r=e.directiveStart,o=e.directiveEnd;Yr(e)&&function xR(t,n,e){const i=Hn(n,t),s=Rc(t,kc(t,Dv(e),null,e.onPush?64:16,i,n,null,t[Kr].rendererFactory.createRenderer(i,e),null,null,null));t[n.index]=s}(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||ic(e,n),Dn(i,n);const s=e.initialInputs;for(let a=r;a<o;a++){const l=t.data[a],c=Jr(n,t,a,e);Dn(c,n),null!==s&&DR(0,a-r,c,l,0,s),yi(l)&&(zn(e.index,n)[$t]=Jr(n,t,a,e))}}(t,n,e,Hn(e,n)),64==(64&e.flags)&&Tv(t,n,e))}function Em(t,n,e=Hn){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?e(n,t):t[s];t[r++]=a}}}function Dv(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=Mm(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Mm(t,n,e,i,r,o,s,a,l,c,d){const u=it+i,b=u+r,C=function nR(t,n){const e=[];for(let i=0;i<n;i++)e.push(i<t?null:$e);return e}(u,b),P="function"==typeof c?c():c;return C[we]={type:t,blueprint:C,template:e,queries:null,viewQuery:a,declTNode:n,data:C.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:b,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 s?s():s,firstChild:null,schemas:l,consts:P,incompleteFirstPass:!1,ssrId:d}}let Cv=t=>null;function Ev(t,n,e,i){for(let r in t)if(t.hasOwnProperty(r)){e=null===e?{}:e;const o=t[r];null===i?Mv(e,n,r,o):i.hasOwnProperty(r)&&Mv(e,n,i[r],o)}return e}function Mv(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function Qn(t,n,e,i,r,o,s,a){const l=Hn(n,e);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(km(t,e,d,i,r),Yr(n)&&function uR(t,n){const e=zn(n,t);16&e[We]||(e[We]|=64)}(e,n.index)):3&n.type&&(i=function dR(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Sm(t,n,e,i){if(yb()){const r=null===i?null:{"":-1},o=function _R(t,n){const e=t.directiveRegistry;let i=null,r=null;if(e)for(let o=0;o<e.length;o++){const s=e[o];if(W_(n,s.selectors,!1))if(i||(i=[]),yi(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),Tm(t,n,a.length)}else i.unshift(s),Tm(t,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(t,e);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Sv(t,n,e,s,r,a),r&&function bR(t,n,e){if(n){const i=t.localNames=[];for(let r=0;r<n.length;r+=2){const o=e[n[r+1]];if(null==o)throw new ne(-301,!1);i.push(n[r],o)}}}(e,i,r)}e.mergedAttrs=Xs(e.mergedAttrs,e.attrs)}function Sv(t,n,e,i,r,o){for(let c=0;c<i.length;c++)Eh(ic(e,n),t,i[c].type);!function vR(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}(e,t.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=wa(t,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];e.mergedAttrs=Xs(e.mergedAttrs,d.hostAttrs),wR(t,e,n,l,d),yR(l,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;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}!function cR(t,n,e){const r=n.directiveEnd,o=t.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<r;d++){const u=o[d],b=e?e.get(u):null,P=b?b.outputs:null;l=Ev(u.inputs,d,l,b?b.inputs:null),c=Ev(u.outputs,d,c,P);const V=null===l||null===s||G_(n)?null:CR(l,d,s);a.push(V)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(t,e,o)}function Tv(t,n,e){const i=e.directiveStart,r=e.directiveEnd,o=e.index,s=function yA(){return Oe.lFrame.currentDirectiveIndex}();try{Qr(o);for(let a=i;a<r;a++){const l=t.data[a],c=n[a];ph(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&gR(l,c)}}finally{Qr(-1),ph(s)}}function gR(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Tm(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function yR(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;yi(n)&&(e[""]=t)}}function wR(t,n,e,i,r){t.data[i]=r;const o=r.factory||(r.factory=Zr(r.type)),s=new ea(o,yi(r),j);t.blueprint[i]=s,e[i]=s,function mR(t,n,e,i,r){const o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);const a=~n.index;(function fR(t){let n=t.length;for(;n>0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(t,n,i,wa(t,e,r.hostVars,$e),r)}function ji(t,n,e,i,r,o){const s=Hn(t,n);!function Im(t,n,e,i,r,o,s){if(null==o)t.removeAttribute(n,r,e);else{const a=null==s?Ue(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}(n[ze],s,o,t.value,e,i,r)}function DR(t,n,e,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)Iv(i,e,s[a++],s[a++],s[a++])}function Iv(t,n,e,i,r){const o=hn(null);try{null!==t.setInput?t.setInput(n,r,e,i):n[i]=r}finally{hn(o)}}function CR(t,n,e){let i=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===i&&(i=[]);const s=t[o];for(let a=0;a<s.length;a+=2)if(s[a]===n){i.push(o,s[a+1],e[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Av(t,n,e,i){return[t,!0,!1,n,null,0,i,e,null,null,null]}function kv(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const o=e[i+1];if(-1!==o){const s=t.data[o];_h(e[i]),s.contentQueries(2,n[o],o)}}}function Rc(t,n){return t[Ks]?t[Z_][bi]=n:t[Ks]=n,t[Z_]=n,n}function Am(t,n,e){_h(0);const i=hn(null);try{n(t,e)}finally{hn(i)}}function Rv(t){return t[No]||(t[No]=[])}function Fv(t){return t.cleanup||(t.cleanup=[])}function Ov(t,n){const e=t[Oo],i=e?e.get(Bi,null):null;i&&i.handleError(n)}function km(t,n,e,i,r){for(let o=0;o<e.length;){const s=e[o++],a=e[o++];Iv(t.data[s],n[s],i,a,r)}}function lr(t,n,e){const i=Xl(n,t);!function py(t,n,e){t.setValue(n,e)}(t[ze],i,e)}function ER(t,n){const e=zn(n,t),i=e[we];!function MR(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}(i,e);const r=e[sn];null!==r&&null===e[nr]&&(e[nr]=ev(r,e[Oo])),Rm(i,e,e[$t])}function Rm(t,n,e){bh(n);try{const i=t.viewQuery;null!==i&&Am(1,i,e);const r=t.template;null!==r&&xv(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&kv(t,n),t.staticViewQueries&&Am(2,t.viewQuery,e);const o=t.components;null!==o&&function SR(t,n){for(let e=0;e<n.length;e++)ER(t,n[e])}(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[We]&=-5,yh()}}let Pv=(()=>{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,r){const o=typeof Zone>"u"?null:Zone.current,s=new YI(e,c=>{this.all.has(c)&&this.queue.set(c,o)},r);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}}return t.\u0275prov=ve({token:t,providedIn:"root",factory:()=>new t}),t})();function Fc(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=qu(r,a):2==o&&(i=qu(i,a+": "+n[++s]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function xa(t,n,e,i,r=!1){for(;null!==e;){const o=n[e.index];if(null!==o&&i.push(Rt(o)),Un(o)){for(let a=gn;a<o.length;a++){const l=o[a],c=l[we].firstChild;null!==c&&xa(l[we],l,c,i)}o[Ri]!==o[sn]&&i.push(o[Ri])}const s=e.type;if(8&s)xa(t,n,e.child,i);else if(32&s){const a=Vh(e,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=Ey(n,e);if(Array.isArray(a))i.push(...a);else{const l=la(n[Jt]);xa(l[we],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function Nc(t,n,e,i=!0){const r=n[Kr].rendererFactory;r.begin&&r.begin();try{Oc(t,n,t.template,e)}catch(s){throw i&&Ov(n,s),s}finally{r.end&&r.end(),n[Kr].effectManager?.flush()}}function Oc(t,n,e,i){const r=n[We];if(256!=(256&r)){n[Kr].effectManager?.flush(),bh(n);try{fb(n),function xb(t){return Oe.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&xv(t,n,e,2,i);const s=3==(3&r);if(s){const c=t.preOrderCheckHooks;null!==c&&Ql(n,c,null)}else{const c=t.preOrderHooks;null!==c&&Jl(n,c,0,null),vh(n,0)}if(function FR(t){for(let n=Bh(t);null!==n;n=jh(n)){if(!n[J_])continue;const e=n[Vo];for(let i=0;i<e.length;i++){sA(e[i])}}}(n),function RR(t){for(let n=Bh(t);null!==n;n=jh(n))for(let e=gn;e<n.length;e++){const i=n[e],r=i[we];Kl(i)&&Oc(r,i,r.template,i[$t])}}(n),null!==t.contentQueries&&kv(t,n),s){const c=t.contentCheckHooks;null!==c&&Ql(n,c)}else{const c=t.contentHooks;null!==c&&Jl(n,c,1),vh(n,1)}!function tR(t,n){const e=t.hostBindingOpCodes;if(null===e)return;const i=fv(n,Hl);try{for(let r=0;r<e.length;r++){const o=e[r];if(o<0)Qr(~o);else{const s=o,a=e[++r],l=e[++r];bA(a,s),i.runInContext(l,2,n[s])}}}finally{null===n[Hl]&&pv(n,Hl),Qr(-1)}}(t,n);const a=t.components;null!==a&&function OR(t,n){for(let e=0;e<n.length;e++)NR(t,n[e])}(n,a);const l=t.viewQuery;if(null!==l&&Am(2,l,i),s){const c=t.viewCheckHooks;null!==c&&Ql(n,c)}else{const c=t.viewHooks;null!==c&&Jl(n,c,2),vh(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[We]&=-73,pb(n)}finally{yh()}}}function NR(t,n){const e=zn(n,t);if(Kl(e)){const i=e[we];80&e[We]?Oc(i,e,i.template,e[$t]):e[Xr]>0&&Fm(e)}}function Fm(t){for(let i=Bh(t);null!==i;i=jh(i))for(let r=gn;r<i.length;r++){const o=i[r];if(Kl(o))if(1024&o[We]){const s=o[we];Oc(s,o,s.template,o[$t])}else o[Xr]>0&&Fm(o)}const e=t[we].components;if(null!==e)for(let i=0;i<e.length;i++){const r=zn(e[i],t);Kl(r)&&r[Xr]>0&&Fm(r)}}class Da{get rootNodes(){const n=this._lView,e=n[we];return xa(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[$t]}set context(n){this._lView[$t]=n}get destroyed(){return 256==(256&this._lView[We])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Bt];if(Un(n)){const e=n[zl],i=e?e.indexOf(this):-1;i>-1&&(Hh(n,i),oc(e,i))}this._attachedToViewContainer=!1}_y(this._lView[we],this._lView)}onDestroy(n){!function _b(t,n){if(256==(256&t[We]))throw new ne(911,!1);null===t[Ir]&&(t[Ir]=[]),t[Ir].push(n)}(this._lView,n)}markForCheck(){ya(this._cdRefInjectingView||this._lView)}detach(){this._lView[We]&=-129}reattach(){this._lView[We]|=128}detectChanges(){Nc(this._lView[we],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ne(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Sk(t,n){da(t,n,n[ze],2,null,null)}(this._lView[we],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ne(902,!1);this._appRef=n}}class PR extends Da{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Nc(n[we],n,n[$t],!1)}checkNoChanges(){}get context(){return null}}class Lv extends Tc{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=pt(n);return new Ca(e,this.ngModule)}}function Vv(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class VR{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Vl(i);const r=this.injector.get(n,vm,i);return r!==vm||e===vm?r:this.parentInjector.get(n,e,i)}}class Ca extends iv{get inputs(){return Vv(this.componentDef.inputs)}get outputs(){return Vv(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function RI(t){return t.map(kI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let o=(r=r||this.ngModule)instanceof Vi?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new VR(n,o):n,a=s.get(ba,null);if(null===a)throw new ne(407,!1);const d={rendererFactory:a,sanitizer:s.get(j1,null),effectManager:s.get(Pv,null)},u=a.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",C=i?function iR(t,n,e,i){const o=i.get(av,!1)||e===Vn.ShadowDom,s=t.selectRootElement(n,o);return function rR(t){Cv(t)}(s),s}(u,i,this.componentDef.encapsulation,s):mc(u,b,function LR(t){const n=t.toLowerCase();return"svg"===n?ub:"math"===n?"math":null}(b)),P=this.componentDef.onPush?576:528,V=Mm(0,null,null,1,0,null,null,null,null,null,null),W=kc(null,V,null,P,null,null,d,u,s,null,null);let ie,Q;bh(W);try{const ge=this.componentDef;let De,je=null;ge.findHostDirectiveDefs?(De=[],je=new Map,ge.findHostDirectiveDefs(ge,De,je),De.push(ge)):De=[ge];const Vt=function jR(t,n){const e=t[we],i=it;return t[i]=n,ns(e,i,2,"#host",null)}(W,C),fn=function UR(t,n,e,i,r,o,s){const a=r[we];!function HR(t,n,e,i){for(const r of t)n.mergedAttrs=Xs(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(Fc(n,n.mergedAttrs,!0),null!==e&&Iy(i,e,n))}(i,t,n,s);let l=null;null!==n&&(l=ev(n,r[Oo]));const c=o.rendererFactory.createRenderer(n,e),d=kc(r,Dv(e),null,e.onPush?64:16,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Tm(a,t,i.length-1),Rc(r,d),r[t.index]=d}(Vt,C,ge,De,W,d,u);Q=mb(V,it),C&&function $R(t,n,e,i){if(i)nh(t,e,["ng-version",U1.full]);else{const{attrs:r,classes:o}=function FI(t){const n=[],e=[];let i=1,r=2;for(;i<t.length;){let o=t[i];if("string"==typeof o)2===r?""!==o&&n.push(o,t[++i]):8===r&&e.push(o);else{if(!_i(r))break;r=o}i++}return{attrs:n,classes:e}}(n.selectors[0]);r&&nh(t,e,r),o&&o.length>0&&Ty(t,e,o.join(" "))}}(u,ge,C,i),void 0!==e&&function GR(t,n,e){const i=t.projection=[];for(let r=0;r<n.length;r++){const o=e[r];i.push(null!=o?Array.from(o):null)}}(Q,this.ngContentSelectors,e),ie=function zR(t,n,e,i,r,o){const s=_n(),a=r[we],l=Hn(s,r);Sv(a,r,s,e,null,i);for(let d=0;d<e.length;d++)Dn(Jr(r,a,s.directiveStart+d,s),r);Tv(a,r,s),l&&Dn(l,r);const c=Jr(r,a,s.directiveStart+s.componentOffset,s);if(t[$t]=r[$t]=c,null!==o)for(const d of o)d(c,n);return Dm(a,s,t),c}(fn,ge,De,je,W,[WR]),Rm(V,W,null)}finally{yh()}return new BR(this.componentType,ie,es(Q,W),W,Q)}}class BR extends N1{constructor(n,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new PR(r),this.componentType=n}setInput(n,e){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;const o=this._rootLView;km(o[we],o,r,n,e),this.previousInputValues.set(n,e),ya(zn(this._tNode.index,o))}}get injector(){return new zo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function WR(){const t=_n();Zl(ae()[we],t)}function Ce(t){let n=function Bv(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let r;if(yi(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ne(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);const s=t;s.inputs=Nm(t.inputs),s.declaredInputs=Nm(t.declaredInputs),s.outputs=Nm(t.outputs);const a=r.hostBindings;a&&YR(t,a);const l=r.viewQuery,c=r.contentQueries;if(l&&XR(t,l),c&&KR(t,c),Wu(t.inputs,r.inputs),Wu(t.declaredInputs,r.declaredInputs),Wu(t.outputs,r.outputs),yi(r)&&r.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(t),a===Ce&&(e=!1)}}n=Object.getPrototypeOf(n)}!function qR(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Xs(r.hostAttrs,e=Xs(e,r.hostAttrs))}}(i)}function Nm(t){return t===er?{}:t===ht?[]:t}function XR(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function KR(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,o)=>{n(i,r,o),e(i,r,o)}:n}function YR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}function Pc(t){return!!Om(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Om(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ui(t,n,e){return t[n]=e}function Cn(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function so(t,n,e,i){const r=Cn(t,n,e);return Cn(t,n+1,i)||r}function Ut(t,n,e,i){const r=ae();return Cn(r,Uo(),n)&&(at(),ji(jt(),r,t,n,e,i)),Ut}function os(t,n,e,i,r,o){const a=so(t,function ir(){return Oe.lFrame.bindingIndex}(),e,r);return rr(2),a?n+Ue(e)+i+Ue(r)+o:$e}function ke(t,n,e,i,r,o,s,a){const l=ae(),c=at(),d=t+it,u=c.firstCreatePass?function wF(t,n,e,i,r,o,s,a,l){const c=n.consts,d=ns(n,t,4,s||null,Ar(c,a));Sm(n,e,d,Ar(c,l)),Zl(n,d);const u=d.tView=Mm(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,e,i,r,o,s):c.data[d];Oi(u,!1);const b=t0(c,l,u,t);Yl()&&pc(c,l,b,u),Dn(b,l),Rc(l,l[d]=Av(b,l,b,u)),$l(u)&&Cm(c,l,u),null!=s&&Em(l,u,a)}let t0=function n0(t,n,e,i){return kr(!0),n[ze].createComment("")};function xi(t){return Bo(function gA(){return Oe.lFrame.contextLView}(),it+t)}function Me(t,n,e){const i=ae();return Cn(i,Uo(),n)&&Qn(at(),jt(),i,t,n,i[ze],e,!1),Me}function Um(t,n,e,i,r){const s=r?"class":"style";km(t,e,n.inputs[s],s,i)}function me(t,n,e,i){const r=ae(),o=at(),s=it+t,a=r[ze],l=o.firstCreatePass?function EF(t,n,e,i,r,o){const s=n.consts,l=ns(n,t,2,i,Ar(s,r));return Sm(n,e,l,Ar(s,o)),null!==l.attrs&&Fc(l,l.attrs,!1),null!==l.mergedAttrs&&Fc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,e,i):o.data[s],c=r0(o,r,l,a,n,t);r[s]=c;const d=$l(l);return Oi(l,!0),Iy(a,c,l),32!=(32&l.flags)&&Yl()&&pc(o,r,c,l),0===function lA(){return Oe.lFrame.elementDepthCount}()&&Dn(c,r),function cA(){Oe.lFrame.elementDepthCount++}(),d&&(Cm(o,r,l),Dm(o,l,r)),null!==i&&Em(r,l),me}function pe(){let t=_n();mh()?fh():(t=t.parent,Oi(t,!1));const n=t;(function uA(t){return Oe.skipHydrationRootTNode===t})(n)&&function pA(){Oe.skipHydrationRootTNode=null}(),function dA(){Oe.lFrame.elementDepthCount--}();const e=at();return e.firstCreatePass&&(Zl(e,t),rh(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function TA(t){return 0!=(8&t.flags)}(n)&&Um(e,n,ae(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function IA(t){return 0!=(16&t.flags)}(n)&&Um(e,n,ae(),n.stylesWithoutHost,!1),pe}function ct(t,n,e,i){return me(t,n,e,i),pe(),ct}let r0=(t,n,e,i,r,o)=>(kr(!0),mc(i,r,function Rb(){return Oe.lFrame.currentNamespace}()));function cr(t,n,e){const i=ae(),r=at(),o=t+it,s=r.firstCreatePass?function TF(t,n,e,i,r){const o=n.consts,s=Ar(o,i),a=ns(n,t,8,"ng-container",s);return null!==s&&Fc(a,s,!0),Sm(n,e,a,Ar(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,e):r.data[o];Oi(s,!0);const a=o0(r,i,s,t);return i[o]=a,Yl()&&pc(r,i,a,s),Dn(a,i),$l(s)&&(Cm(r,i,s),Dm(r,s,i)),null!=e&&Em(i,s),cr}function dr(){let t=_n();const n=at();return mh()?fh():(t=t.parent,Oi(t,!1)),n.firstCreatePass&&(Zl(n,t),rh(t)&&n.queries.elementEnd(t)),dr}function Hi(t,n,e){return cr(t,n,e),dr(),Hi}let o0=(t,n,e,i)=>(kr(!0),Uh(n[ze],""));function Hm(){return ae()}function Ia(t){return!!t&&"function"==typeof t.then}function s0(t){return!!t&&"function"==typeof t.subscribe}function ot(t,n,e,i){const r=ae(),o=at(),s=_n();return function l0(t,n,e,i,r,o,s){const a=$l(i),c=t.firstCreatePass&&Fv(t),d=n[$t],u=Rv(n);let b=!0;if(3&i.type||s){const V=Hn(i,n),W=s?s(V):V,ie=u.length,Q=s?De=>s(Rt(De[i.index])):i.index;let ge=null;if(!s&&a&&(ge=function kF(t,n,e,i){const r=t.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===e&&r[o+1]===i){const a=n[No],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,r,i.index)),null!==ge)(ge.__ngLastListenerFn__||ge).__ngNextListenerFn__=o,ge.__ngLastListenerFn__=o,b=!1;else{o=d0(i,n,d,o,!1);const De=e.listen(W,r,o);u.push(o,De),c&&c.push(r,Q,ie,ie+1)}}else o=d0(i,n,d,o,!1);const C=i.outputs;let P;if(b&&null!==C&&(P=C[r])){const V=P.length;if(V)for(let W=0;W<V;W+=2){const je=n[P[W]][P[W+1]].subscribe(o),Vt=u.length;u.push(o,je),c&&c.push(r,i.index,Vt,-(Vt+1))}}}(o,r,r[ze],s,t,n,i),ot}function c0(t,n,e,i){try{return Ni(6,n,e),!1!==e(i)}catch(r){return Ov(t,r),!1}finally{Ni(7,n,e)}}function d0(t,n,e,i,r){return function o(s){if(s===Function)return i;ya(t.componentOffset>-1?zn(t.index,n):n);let l=c0(n,e,i,s),c=o.__ngNextListenerFn__;for(;c;)l=c0(n,e,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Ft(t=1){return function wA(t){return(Oe.lFrame.contextLView=function xA(t,n){for(;t>0;)n=n[Po],t--;return n}(t,Oe.lFrame.contextLView))[$t]}(t)}function RF(t,n){let e=null;const i=function SI(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?W_(t,o,!0):AI(i,o))return r}else e=r}return e}function En(t){const n=ae()[Jt][xn];if(!n.projection){const i=n.projection=ra(t?t.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){const s=t?RF(o,t):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Ye(t,n=0,e){const i=ae(),r=at(),o=ns(r,it+t,16,null,e||null);null===o.projection&&(o.projection=n),fh(),(!i[nr]||jo())&&32!=(32&o.flags)&&function Ok(t,n,e){Sy(n[ze],0,n,e,$h(t,e,n),wy(e.parent||n[xn],e,n))}(r,i,o)}function Uc(t,n){return t<<17|n<<2}function Fr(t){return t>>17&32767}function $m(t){return 2|t}function ao(t){return(131068&t)>>2}function Gm(t,n){return-131069&t|n<<2}function Wm(t){return 1|t}function v0(t,n,e,i,r){const o=t[e+1],s=null===n;let a=i?Fr(o):ao(o),l=!1;for(;0!==a&&(!1===l||s);){const d=t[a+1];VF(t[a],n)&&(l=!0,t[a+1]=i?Wm(d):$m(d)),a=i?Fr(d):ao(d)}l&&(t[e+1]=i?$m(o):Wm(o))}function VF(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Xo(t,n)>=0}function Nr(t,n,e){return Di(t,n,e,!1),Nr}function _t(t,n){return Di(t,n,null,!0),_t}function Di(t,n,e,i){const r=ae(),o=at(),s=rr(2);o.firstUpdatePass&&function T0(t,n,e,i){const r=t.data;if(null===r[e+1]){const o=r[kn()],s=function S0(t,n){return n>=t.expandoStartIndex}(t,e);(function R0(t,n){return 0!=(t.flags&(n?8:16))})(o,i)&&null===n&&!s&&(n=!1),n=function qF(t,n,e,i){const r=function gh(t){const n=Oe.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}(t);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Aa(e=qm(null,t,n,e,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==r)if(e=qm(r,t,n,e,i),null===o){let l=function XF(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==ao(i))return t[Fr(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=qm(null,t,n,l[1],i),l=Aa(l,n.attrs,i),function KF(t,n,e,i){t[Fr(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else o=function YF(t,n,e){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Aa(i,t[o].hostAttrs,e);return Aa(i,n.attrs,e)}(t,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),e}(r,o,n,i),function PF(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Fr(s),l=ao(s);t[i]=e;let d,c=!1;if(Array.isArray(e)?(d=e[1],(null===d||Xo(e,d)>0)&&(c=!0)):d=e,r)if(0!==l){const b=Fr(t[a+1]);t[i+1]=Uc(b,a),0!==b&&(t[b+1]=Gm(t[b+1],i)),t[a+1]=function NF(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Uc(a,0),0!==a&&(t[a+1]=Gm(t[a+1],i)),a=i;else t[i+1]=Uc(l,0),0===a?a=i:t[l+1]=Gm(t[l+1],i),l=i;c&&(t[i+1]=$m(t[i+1])),v0(t,d,i,!0),v0(t,d,i,!1),function LF(t,n,e,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&Xo(o,n)>=0&&(e[i+1]=Wm(e[i+1]))}(n,d,t,i,o),s=Uc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,e,s,i)}}(o,t,s,i),n!==$e&&Cn(r,s,n)&&function A0(t,n,e,i,r,o,s,a){if(!(3&n.type))return;const l=t.data,c=l[a+1],d=function OF(t){return 1==(1&t)}(c)?k0(l,n,e,r,ao(c),s):void 0;Hc(d)||(Hc(o)||function FF(t){return 2==(2&t)}(c)&&(o=k0(l,null,e,r,a,s)),function Lk(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:$n.DashCase;null==r?t.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=$n.Important),t.setStyle(e,i,r,o))}}(i,s,Xl(kn(),e),r,o))}(o,o.data[kn()],r,r[ze],t,r[s+1]=function eN(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=on(Zn(t)))),t}(n,e),i,s)}function qm(t,n,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=n[a],i=Aa(i,o.hostAttrs,r),o!==t);)a++;return null!==t&&(e.directiveStylingLast=a),i}function Aa(t,n,e){const i=e?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Yn(t,s,!!e||n[++o]))}return void 0===t?null:t}function k0(t,n,e,i,r,o){const s=null===n;let a;for(;r>0;){const l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let b=e[r+1];b===$e&&(b=u?ht:void 0);let C=u?Th(b,i):d===i?b:void 0;if(c&&!Hc(C)&&(C=Th(l,i)),Hc(C)&&(a=C,s))return a;const P=t[r+1];r=s?Fr(P):ao(P)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Th(l,i))}return a}function Hc(t){return void 0!==t}function Pe(t,n=""){const e=ae(),i=at(),r=t+it,o=i.firstCreatePass?ns(i,r,1,n,null):i.data[r],s=F0(i,e,o,n,t);e[r]=s,Yl()&&pc(i,e,s,o),Oi(o,!1)}let F0=(t,n,e,i,r)=>(kr(!0),function hc(t,n){return t.createText(n)}(n[ze],i));function lo(t){return ur("",t,""),lo}function ur(t,n,e){const i=ae(),r=function rs(t,n,e,i){return Cn(t,Uo(),e)?n+Ue(e)+i:$e}(i,t,n,e);return r!==$e&&lr(i,kn(),r),ur}function zc(t,n,e,i,r){const o=ae(),s=os(o,t,n,e,i,r);return s!==$e&&lr(o,kn(),s),zc}function $c(t,n,e){const i=ae();return Cn(i,Uo(),n)&&Qn(at(),jt(),i,t,n,i[ze],e,!0),$c}const co=void 0;var xN=["en",[["a","p"],["AM","PM"],co],[["AM","PM"],co,co],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],co,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],co,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",co,"{1} 'at' {0}",co],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function wN(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ms={};function Rn(t){const n=function DN(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=Q0(n);if(e)return e;const i=n.split("-")[0];if(e=Q0(i),e)return e;if("en"===i)return xN;throw new ne(701,!1)}function Q0(t){return t in ms||(ms[t]=It.ng&&It.ng.common&&It.ng.common.locales&&It.ng.common.locales[t]),ms[t]}var xe=(()=>((xe=xe||{})[xe.LocaleId=0]="LocaleId",xe[xe.DayPeriodsFormat=1]="DayPeriodsFormat",xe[xe.DayPeriodsStandalone=2]="DayPeriodsStandalone",xe[xe.DaysFormat=3]="DaysFormat",xe[xe.DaysStandalone=4]="DaysStandalone",xe[xe.MonthsFormat=5]="MonthsFormat",xe[xe.MonthsStandalone=6]="MonthsStandalone",xe[xe.Eras=7]="Eras",xe[xe.FirstDayOfWeek=8]="FirstDayOfWeek",xe[xe.WeekendRange=9]="WeekendRange",xe[xe.DateFormat=10]="DateFormat",xe[xe.TimeFormat=11]="TimeFormat",xe[xe.DateTimeFormat=12]="DateTimeFormat",xe[xe.NumberSymbols=13]="NumberSymbols",xe[xe.NumberFormats=14]="NumberFormats",xe[xe.CurrencyCode=15]="CurrencyCode",xe[xe.CurrencySymbol=16]="CurrencySymbol",xe[xe.CurrencyName=17]="CurrencyName",xe[xe.Currencies=18]="Currencies",xe[xe.Directionality=19]="Directionality",xe[xe.PluralCase=20]="PluralCase",xe[xe.ExtraData=21]="ExtraData",xe))();const fs="en-US";let J0=fs;function Ym(t,n,e,i,r){if(t=Le(t),Array.isArray(t))for(let o=0;o<t.length;o++)Ym(t[o],n,e,i,r);else{const o=at(),s=ae();let a=ro(t)?t:Le(t.provide),l=Yy(t);const c=_n(),d=1048575&c.providerIndexes,u=c.directiveStart,b=c.providerIndexes>>20;if(ro(t)||!t.multi){const C=new ea(l,r,j),P=Qm(a,n,r?d:d+b,u);-1===P?(Eh(ic(c,s),o,a),Zm(o,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),s.push(C)):(e[P]=C,s[P]=C)}else{const C=Qm(a,n,d+b,u),P=Qm(a,n,d,d+b),W=P>=0&&e[P];if(r&&!W||!r&&!(C>=0&&e[C])){Eh(ic(c,s),o,a);const ie=function vO(t,n,e,i,r){const o=new ea(t,e,j);return o.multi=[],o.index=n,o.componentProviders=0,Cw(o,r,i&&!e),o}(r?yO:bO,e.length,r,i,l);!r&&W&&(e[P].providerFactory=ie),Zm(o,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(ie),s.push(ie)}else Zm(o,t,C>-1?C:P,Cw(e[r?P:C],l,!r&&i));!r&&i&&W&&e[P].componentProviders++}}}function Zm(t,n,e,i){const r=ro(n),o=function b1(t){return!!t.useClass}(n);if(r||o){const l=(o?Le(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function Cw(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Qm(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function bO(t,n,e,i){return Jm(this.multi,[])}function yO(t,n,e,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Jr(e,e[we],this.providerFactory.index,i);o=a.slice(0,s),Jm(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Jm(r,o);return o}function Jm(t,n){for(let e=0;e<t.length;e++)n.push((0,t[e])());return n}function Ve(t,n=[]){return e=>{e.providersResolver=(i,r)=>function _O(t,n,e){const i=at();if(i.firstCreatePass){const r=yi(t);Ym(e,i.data,i.blueprint,r,!0),Ym(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class ps{}class Ew{}class ef extends ps{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lv(this);const r=Xn(n);this._bootstrapComponents=ar(r.bootstrap),this._r3Injector=wv(n,e,[{provide:ps,useValue:this},{provide:Tc,useValue:this.componentFactoryResolver},...i],on(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class tf extends Ew{constructor(n){super(),this.moduleType=n}create(n){return new ef(this.moduleType,n,[])}}class Mw extends ps{constructor(n){super(),this.componentFactoryResolver=new Lv(this),this.instance=null;const e=new sm([...n.providers,{provide:ps,useValue:this},{provide:Tc,useValue:this.componentFactoryResolver}],n.parent||xc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function nf(t,n,e=null){return new Mw({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let DO=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Wy(0,e.type),r=i.length>0?nf([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=ve({token:t,providedIn:"environment",factory:()=>new t(le(Vi))}),t})();function Sw(t){t.getStandaloneInjector=n=>n.get(DO).getOrCreateStandaloneInjector(t)}function gs(t,n,e){const i=An()+t,r=ae();return r[i]===$e?Ui(r,i,e?n.call(e):n()):function Ea(t,n){return t[n]}(r,i)}function Pw(t,n,e,i,r,o,s){const a=n+e;return so(t,a,r,o)?Ui(t,a+2,s?i.call(s,r,o):i(r,o)):function Pa(t,n){const e=t[n];return e===$e?void 0:e}(t,a+2)}function sf(t,n){const e=at();let i;const r=t+it;e.firstCreatePass?(i=function jO(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Zr(i.type)),s=Ln(j);try{const a=nc(!1),l=o();return nc(a),function CF(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,ae(),r,l),l}finally{Ln(s)}}function af(t,n,e,i){const r=t+it,o=ae(),s=Bo(o,r);return function La(t,n){return t[we].data[n].pure}(o,r)?Pw(o,An(),n,s.transform,e,i,s):s.transform(e,i)}function lf(t){return n=>{setTimeout(t,void 0,n)}}const Ct=class GO extends He{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=lf(o),r&&(r=lf(r)),s&&(s=lf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof H&&n.add(a),a}};function WO(){return this._results[Symbol.iterator]()}class Va{get changes(){return this._changes||(this._changes=new Ct)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Va.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=WO)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const r=function oi(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function jA(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(i._results,r,e))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let bn=(()=>{class t{}return t.__NG_ELEMENT_ID__=KO,t})();const qO=bn,XO=class extends qO{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e,null)}createEmbeddedViewImpl(n,e,i){const r=this._declarationTContainer.tView,o=kc(this._declarationLView,r,n,16,null,r.declTNode,null,null,null,e||null,i||null);o[Ys]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[ki];return null!==a&&(o[ki]=a.createEmbeddedView(r)),Rm(r,o,n),new Da(o)}};function KO(){return Kc(_n(),ae())}function Kc(t,n){return 4&t.type?new XO(n,t,es(t,n)):null}let Mn=(()=>{class t{}return t.__NG_ELEMENT_ID__=nP,t})();function nP(){return Gw(_n(),ae())}const iP=Mn,zw=class extends iP{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return es(this._hostTNode,this._hostLView)}get injector(){return new zo(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ch(this._hostTNode,this._hostLView);if(Pb(n)){const e=tc(n,this._hostLView),i=ec(n);return new zo(e[we].data[i+8],e)}return new zo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=$w(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-gn}createEmbeddedView(n,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(a,r,false),a}createComponent(n,e,i,r,o){const s=n&&!function na(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const V=e||{};a=V.index,i=V.injector,r=V.projectableNodes,o=V.environmentInjector||V.ngModuleRef}const l=s?n:new Ca(pt(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const W=(s?c:this.parentInjector).get(Vi,null);W&&(o=W)}pt(l.componentType??{});const C=l.create(c,r,null,o);return this.insertImpl(C.hostView,a,false),C}insert(n,e){return this.insertImpl(n,e,!1)}insertImpl(n,e,i){const r=n._lView,o=r[we];if(function oA(t){return Un(t[Bt])}(r)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=r[Bt],d=new zw(c,c[xn],c[Bt]);d.detach(d.indexOf(n))}}const s=this._adjustIndex(e),a=this._lContainer;if(function Ik(t,n,e,i){const r=gn+i,o=e.length;i>0&&(e[r-1][bi]=n),i<o-gn?(n[bi]=e[r],Xb(e,gn+i,n)):(e.push(n),n[bi]=null),n[Bt]=e;const s=n[Ys];null!==s&&e!==s&&function Ak(t,n){const e=t[Vo];n[Jt]!==n[Bt][Bt][Jt]&&(t[J_]=!0),null===e?t[Vo]=[n]:e.push(n)}(s,n);const a=n[ki];null!==a&&a.insertView(t),n[We]|=128}(o,r,a,s),!i){const l=Wh(s,a),c=r[ze],d=fc(c,a[Ri]);null!==d&&function Mk(t,n,e,i,r,o){i[sn]=r,i[xn]=n,da(t,i,e,1,r,o)}(o,a[xn],c,r,d,l)}return n.attachToViewContainerRef(),Xb(df(a),s,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=$w(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=Hh(this._lContainer,e);i&&(oc(df(this._lContainer),e),_y(i[we],i))}detach(n){const e=this._adjustIndex(n,-1),i=Hh(this._lContainer,e);return i&&null!=oc(df(this._lContainer),e)?new Da(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function $w(t){return t[zl]}function df(t){return t[zl]||(t[zl]=[])}function Gw(t,n){let e;const i=n[t.index];return Un(i)?e=i:(e=Av(i,n,null,t),n[t.index]=e,Rc(n,e)),Ww(e,n,t,i),new zw(e,t,n)}let Ww=function qw(t,n,e,i){if(t[Ri])return;let r;r=8&e.type?Rt(i):function rP(t,n){const e=t[ze],i=e.createComment(""),r=Hn(n,t);return no(e,fc(e,r),i,function Nk(t,n){return t.nextSibling(n)}(e,r),!1),i}(n,e),t[Ri]=r};class uf{constructor(n){this.queryList=n,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class hf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const s=e.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new hf(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)null!==Qw(n,e).matches&&this.queries[e].setDirty()}}class Xw{constructor(n,e,i=null){this.predicate=n,this.flags=e,this.read=i}}class mf{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){const r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new mf(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class ff{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new ff(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,e,aP(e,o)),this.matchTNodeWithReadOption(n,e,rc(e,n,o,!1,!1))}else i===bn?4&e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,rc(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Xe||r===Mn||r===bn&&4&e.type)this.addMatch(e.index,-2);else{const o=rc(e,n,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)}}function aP(t,n){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];return null}function cP(t,n,e,i){return-1===e?function lP(t,n){return 11&t.type?es(t,n):4&t.type?Kc(t,n):null}(n,t):-2===e?function dP(t,n,e){return e===Xe?es(n,t):e===bn?Kc(n,t):e===Mn?Gw(n,t):void 0}(t,n,i):Jr(t,t[we],e,n)}function Kw(t,n,e,i){const r=n[ki].queries[i];if(null===r.matches){const o=t.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:cP(n,o[c],s[l+1],e.metadata.read))}r.matches=a}return r.matches}function pf(t,n,e,i){const r=t.queries.getByIndex(e),o=r.matches;if(null!==o){const s=Kw(t,n,r,e);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=gn;u<d.length;u++){const b=d[u];b[Ys]===b[Bt]&&pf(b[we],b,c,i)}if(null!==d[Vo]){const u=d[Vo];for(let b=0;b<u.length;b++){const C=u[b];pf(C[we],C,c,i)}}}}}return i}function Ze(t){const n=ae(),e=at(),i=Cb();_h(i+1);const r=Qw(e,i);if(t.dirty&&function rA(t){return 4==(4&t[We])}(n)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const o=r.crossesNgTemplate?pf(e,n,i,[]):Kw(e,n,r,i);t.reset(o,V1),t.notifyOnChanges()}return!0}return!1}function Sn(t,n,e){const i=at();i.firstCreatePass&&(Zw(i,new Xw(t,n,e),-1),2==(2&n)&&(i.staticViewQueries=!0)),Yw(i,ae(),n)}function Lt(t,n,e,i){const r=at();if(r.firstCreatePass){const o=_n();Zw(r,new Xw(n,e,i),o.index),function hP(t,n){const e=t.contentQueries||(t.contentQueries=[]);n!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,n)}(r,t),2==(2&e)&&(r.staticContentQueries=!0)}Yw(r,ae(),e)}function Qe(){return function uP(t,n){return t[ki].queries[n].queryList}(ae(),Cb())}function Yw(t,n,e){const i=new Va(4==(4&e));(function aR(t,n,e,i){const r=Rv(n);r.push(e),t.firstCreatePass&&Fv(t).push(i,r.length-1)})(t,n,i,i.destroy),null===n[ki]&&(n[ki]=new hf),n[ki].queries.push(new uf(i))}function Zw(t,n,e){null===t.queries&&(t.queries=new mf),t.queries.track(new ff(n,e))}function Qw(t,n){return t.queries.getByIndex(n)}function _s(t,n){return Kc(t,n)}const wf=new de("Application Initializer");let xf=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=ye(wf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=r();if(Ia(o))e.push(o);else if(s0(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),px=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Gi=new de("LocaleId",{providedIn:"root",factory:()=>ye(Gi,Ae.Optional|Ae.SkipSelf)||function FP(){return typeof $localize<"u"&&$localize.locale||fs}()});let Zc=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yt(!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)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class OP{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let gx=(()=>{class t{compileModuleSync(e){return new tf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=ar(Xn(e).declarations).reduce((s,a)=>{const l=pt(a);return l&&s.push(new Ca(l)),s},[]);return new OP(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const VP=(()=>Promise.resolve(0))();function Df(t){typeof Zone>"u"?VP.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function yx(...t){}class Be{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ct(!1),this.onMicrotaskEmpty=new Ct(!1),this.onStable=new Ct(!1),this.onError=new Ct(!1),typeof Zone>"u")throw new ne(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)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function BP(){let t=It.requestAnimationFrame,n=It.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function HP(t){const n=()=>{!function UP(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(It,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ef(t),t.isCheckStableRunning=!0,Cf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ef(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return vx(t),e.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),wx(t)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return vx(t),e.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),wx(t)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Ef(t),Cf(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,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(!Be.isInAngularZone())throw new ne(909,!1)}static assertNotInAngularZone(){if(Be.isInAngularZone())throw new ne(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,jP,yx,yx);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const jP={};function Cf(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 Ef(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function vx(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wx(t){t._nesting--,Cf(t)}class zP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ct,this.onMicrotaskEmpty=new Ct,this.onStable=new Ct,this.onError=new Ct}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const xx=new de("",{providedIn:"root",factory:Dx});function Dx(){const t=ye(Be);let n=!0;return zu(new _e(r=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{r.next(n),r.complete()})}),new _e(r=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{Be.assertNotInAngularZone(),Df(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,r.next(!0))})})});const s=t.onUnstable.subscribe(()=>{Be.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe($u()))}const Cx=new de(""),Qc=new de("");let Tf,Mf=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Tf||(function $P(t){Tf=t}(r),r.addToWindow(i)),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:()=>{Be.assertNotInAngularZone(),Df(()=>{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())Df(()=>{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(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.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,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return t.\u0275fac=function(e){return new(e||t)(le(Be),le(Sf),le(Qc))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})(),Sf=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return Tf?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Or=null;const Ex=new de("AllowMultipleToken"),If=new de("PlatformDestroyListeners"),Af=new de("appBootstrapListener");class Sx{constructor(n,e){this.name=n,this.token=e}}function Ix(t,n,e=[]){const i=`Platform: ${n}`,r=new de(i);return(o=[])=>{let s=kf();if(!s||s.injector.get(Ex,!1)){const a=[...e,...o,{provide:r,useValue:!0}];t?t(a):function qP(t){if(Or&&!Or.get(Ex,!1))throw new ne(400,!1);(function Mx(){!function XI(t){ob=t}(()=>{throw new ne(600,!1)})})(),Or=t;const n=t.get(kx);(function Tx(t){t.get(Zy,null)?.forEach(e=>e())})(t)}(function Ax(t=[],n){return wi.create({name:n,providers:[{provide:rm,useValue:"platform"},{provide:If,useValue:new Set([()=>Or=null])},...t]})}(a,i))}return function KP(t){const n=kf();if(!n)throw new ne(401,!1);return n}()}}function kf(){return Or?.get(kx)??null}let kx=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function YP(t="zone.js",n){return"noop"===t?new zP:"zone.js"===t?new Be(n):t}(i?.ngZone,function Rx(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function xO(t,n,e){return new ef(t,n,e)}(e.moduleType,this.injector,function Lx(t){return[{provide:Be,useFactory:t},{provide:fa,multi:!0,useFactory:()=>{const n=ye(QP,{optional:!0});return()=>n.initialize()}},{provide:Px,useFactory:ZP},{provide:xx,useFactory:Dx}]}(()=>r)),s=o.injector.get(Bi,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{Jc(this._modules,o),a.unsubscribe()})}),function Fx(t,n,e){try{const i=e();return Ia(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(xf);return a.runInitializers(),a.donePromise.then(()=>(function ew(t){ri(t,"Expected localeId to be defined"),"string"==typeof t&&(J0=t.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Gi,fs)||fs),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,i=[]){const r=Nx({},i);return function GP(t,n,e){const i=new tf(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(uo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ne(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ne(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(If,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(le(wi))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Nx(t,n){return Array.isArray(n)?n.reduce(Nx,t):{...t,...n}}let uo=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ye(Px),this.zoneIsStable=ye(xx),this.componentTypes=[],this.components=[],this.isStable=ye(Zc).hasPendingTasks.pipe(un(e=>e?Te(!1):this.zoneIsStable),I_(),$u()),this._injector=ye(Vi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof iv;if(!this._injector.get(xf).done)throw!r&&function Fo(t){const n=pt(t)||wn(t)||jn(t);return null!==n&&n.standalone}(e),new ne(405,!1);let s;s=r?e:this._injector.get(Tc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function WP(t){return t.isBoundToModule}(s)?void 0:this._injector.get(ps),c=s.create(wi.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(Cx,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Jc(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new ne(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 i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Jc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(Af,[]);i.push(...this._bootstrapListeners),i.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),()=>Jc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ne(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Jc(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const Px=new de("",{providedIn:"root",factory:()=>ye(Bi).handleError.bind(void 0)});function ZP(){const t=ye(Be),n=ye(Bi);return e=>t.runOutsideAngular(()=>n.handleError(e))}let QP=(()=>{class t{constructor(){this.zone=ye(Be),this.applicationRef=ye(uo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();let hr=(()=>{class t{}return t.__NG_ELEMENT_ID__=eL,t})();function eL(t){return function tL(t,n,e){if(Yr(t)&&!e){const i=zn(t.index,n);return new Da(i,i)}return 47&t.type?new Da(n[Jt],n):null}(_n(),ae(),16==(16&t))}class Ux{constructor(){}supports(n){return Pc(n)}create(n){return new aL(n)}}const sL=(t,n)=>n;class aL{constructor(n){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=n||sL}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex<zx(i,r,o)?e:i,a=zx(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;if(c!=d){for(let b=0;b<c;b++){const C=b<o.length?o[b]:o[b]=0,P=C+b;d<=P&&P<c&&(o[b]=C+1)}o[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)}diff(n){if(null==n&&(n=[]),!Pc(n))throw new ne(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,e=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,a),i=!0),e=e._next}else r=0,function iF(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{const e=t[Symbol.iterator]();let i;for(;!(i=e.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new lL(e,i),o,r),n}_verifyReinsertion(n,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new Hx),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Hx),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class lL{constructor(n,e){this.item=n,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 cL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Hx{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new cL,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zx(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}class $x{constructor(){}supports(n){return n instanceof Map||Om(n)}create(){return new dL}}class dL{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(n){let e;for(e=this._mapHead;null!==e;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}diff(n){if(n){if(!(n instanceof Map||Om(n)))throw new ne(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new uL(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class uL{constructor(n){this.key=n,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 Gx(){return new mr([new Ux])}let mr=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Gx()),deps:[[t,new oa,new to]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ne(901,!1)}}return t.\u0275prov=ve({token:t,providedIn:"root",factory:Gx}),t})();function Wx(){return new ja([new $x])}let ja=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Wx()),deps:[[t,new oa,new to]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ne(901,!1)}}return t.\u0275prov=ve({token:t,providedIn:"root",factory:Wx}),t})();const fL=Ix(null,"core",[]);let pL=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(le(uo))},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();function vs(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let Vf=null;function Pr(){return Vf}class SL{}const vt=new de("DocumentToken");let Bf=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return ye(IL)},providedIn:"platform"}),t})();const TL=new de("Location Initialized");let IL=(()=>{class t extends Bf{constructor(){super(),this._doc=ye(vt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pr().getBaseHref(this._doc)}onPopState(e){const i=Pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Pr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return new t},providedIn:"platform"}),t})();function jf(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function Jx(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function fr(t){return t&&"?"!==t[0]?"?"+t:t}let mo=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return ye(tD)},providedIn:"root"}),t})();const eD=new de("appBaseHref");let tD=(()=>{class t extends mo{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ye(vt).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 jf(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+fr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+fr(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+fr(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(le(Bf),le(eD,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),AL=(()=>{class t extends mo{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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 i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=jf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+fr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+fr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(le(Bf),le(eD,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})(),Uf=(()=>{class t{constructor(e){this._subject=new Ct,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function FL(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(Jx(nD(i))),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,i=""){return this.path()==this.normalize(e+fr(i))}normalize(e){return t.stripTrailingSlash(function RL(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,nD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+fr(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+fr(i)),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(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return t.normalizeQueryParams=fr,t.joinWithSlash=jf,t.stripTrailingSlash=Jx,t.\u0275fac=function(e){return new(e||t)(le(mo))},t.\u0275prov=ve({token:t,factory:function(){return function kL(){return new Uf(le(mo))}()},providedIn:"root"}),t})();function nD(t){return t.replace(/\/index.html$/,"")}var qt=(()=>((qt=qt||{})[qt.Format=0]="Format",qt[qt.Standalone=1]="Standalone",qt))(),nt=(()=>((nt=nt||{})[nt.Narrow=0]="Narrow",nt[nt.Abbreviated=1]="Abbreviated",nt[nt.Wide=2]="Wide",nt[nt.Short=3]="Short",nt))(),Ht=(()=>((Ht=Ht||{})[Ht.Short=0]="Short",Ht[Ht.Medium=1]="Medium",Ht[Ht.Long=2]="Long",Ht[Ht.Full=3]="Full",Ht))(),Re=(()=>((Re=Re||{})[Re.Decimal=0]="Decimal",Re[Re.Group=1]="Group",Re[Re.List=2]="List",Re[Re.PercentSign=3]="PercentSign",Re[Re.PlusSign=4]="PlusSign",Re[Re.MinusSign=5]="MinusSign",Re[Re.Exponential=6]="Exponential",Re[Re.SuperscriptingExponent=7]="SuperscriptingExponent",Re[Re.PerMille=8]="PerMille",Re[Re.Infinity=9]="Infinity",Re[Re.NaN=10]="NaN",Re[Re.TimeSeparator=11]="TimeSeparator",Re[Re.CurrencyDecimal=12]="CurrencyDecimal",Re[Re.CurrencyGroup=13]="CurrencyGroup",Re))();function id(t,n){return li(Rn(t)[xe.DateFormat],n)}function rd(t,n){return li(Rn(t)[xe.TimeFormat],n)}function od(t,n){return li(Rn(t)[xe.DateTimeFormat],n)}function ai(t,n){const e=Rn(t),i=e[xe.NumberSymbols][n];if(typeof i>"u"){if(n===Re.CurrencyDecimal)return e[xe.NumberSymbols][Re.Decimal];if(n===Re.CurrencyGroup)return e[xe.NumberSymbols][Re.Group]}return i}function rD(t){if(!t[xe.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[xe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function li(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function zf(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const WL=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ua={},qL=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var cn=(()=>((cn=cn||{})[cn.Short=0]="Short",cn[cn.ShortGMT=1]="ShortGMT",cn[cn.Long=2]="Long",cn[cn.Extended=3]="Extended",cn))(),Fe=(()=>((Fe=Fe||{})[Fe.FullYear=0]="FullYear",Fe[Fe.Month=1]="Month",Fe[Fe.Date=2]="Date",Fe[Fe.Hours=3]="Hours",Fe[Fe.Minutes=4]="Minutes",Fe[Fe.Seconds=5]="Seconds",Fe[Fe.FractionalSeconds=6]="FractionalSeconds",Fe[Fe.Day=7]="Day",Fe))(),Ke=(()=>((Ke=Ke||{})[Ke.DayPeriods=0]="DayPeriods",Ke[Ke.Days=1]="Days",Ke[Ke.Months=2]="Months",Ke[Ke.Eras=3]="Eras",Ke))();function XL(t,n,e,i){let r=function r2(t){if(aD(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,o=1,s=1]=t.split("-").map(a=>+a);return sd(r,o-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(WL))return function o2(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,a,l,c),n}(i)}const n=new Date(t);if(!aD(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=pr(e,n)||n;let a,s=[];for(;n;){if(a=qL.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const d=s.pop();if(!d)break;n=d}}let l=r.getTimezoneOffset();i&&(l=sD(i,l),r=function n2(t,n,e){const i=e?-1:1,r=t.getTimezoneOffset();return function t2(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(sD(n,r)-r))}(r,i,!0));let c="";return s.forEach(d=>{const u=function e2(t){if(Gf[t])return Gf[t];let n;switch(t){case"G":case"GG":case"GGG":n=At(Ke.Eras,nt.Abbreviated);break;case"GGGG":n=At(Ke.Eras,nt.Wide);break;case"GGGGG":n=At(Ke.Eras,nt.Narrow);break;case"y":n=tn(Fe.FullYear,1,0,!1,!0);break;case"yy":n=tn(Fe.FullYear,2,0,!0,!0);break;case"yyy":n=tn(Fe.FullYear,3,0,!1,!0);break;case"yyyy":n=tn(Fe.FullYear,4,0,!1,!0);break;case"Y":n=dd(1);break;case"YY":n=dd(2,!0);break;case"YYY":n=dd(3);break;case"YYYY":n=dd(4);break;case"M":case"L":n=tn(Fe.Month,1,1);break;case"MM":case"LL":n=tn(Fe.Month,2,1);break;case"MMM":n=At(Ke.Months,nt.Abbreviated);break;case"MMMM":n=At(Ke.Months,nt.Wide);break;case"MMMMM":n=At(Ke.Months,nt.Narrow);break;case"LLL":n=At(Ke.Months,nt.Abbreviated,qt.Standalone);break;case"LLLL":n=At(Ke.Months,nt.Wide,qt.Standalone);break;case"LLLLL":n=At(Ke.Months,nt.Narrow,qt.Standalone);break;case"w":n=$f(1);break;case"ww":n=$f(2);break;case"W":n=$f(1,!0);break;case"d":n=tn(Fe.Date,1);break;case"dd":n=tn(Fe.Date,2);break;case"c":case"cc":n=tn(Fe.Day,1);break;case"ccc":n=At(Ke.Days,nt.Abbreviated,qt.Standalone);break;case"cccc":n=At(Ke.Days,nt.Wide,qt.Standalone);break;case"ccccc":n=At(Ke.Days,nt.Narrow,qt.Standalone);break;case"cccccc":n=At(Ke.Days,nt.Short,qt.Standalone);break;case"E":case"EE":case"EEE":n=At(Ke.Days,nt.Abbreviated);break;case"EEEE":n=At(Ke.Days,nt.Wide);break;case"EEEEE":n=At(Ke.Days,nt.Narrow);break;case"EEEEEE":n=At(Ke.Days,nt.Short);break;case"a":case"aa":case"aaa":n=At(Ke.DayPeriods,nt.Abbreviated);break;case"aaaa":n=At(Ke.DayPeriods,nt.Wide);break;case"aaaaa":n=At(Ke.DayPeriods,nt.Narrow);break;case"b":case"bb":case"bbb":n=At(Ke.DayPeriods,nt.Abbreviated,qt.Standalone,!0);break;case"bbbb":n=At(Ke.DayPeriods,nt.Wide,qt.Standalone,!0);break;case"bbbbb":n=At(Ke.DayPeriods,nt.Narrow,qt.Standalone,!0);break;case"B":case"BB":case"BBB":n=At(Ke.DayPeriods,nt.Abbreviated,qt.Format,!0);break;case"BBBB":n=At(Ke.DayPeriods,nt.Wide,qt.Format,!0);break;case"BBBBB":n=At(Ke.DayPeriods,nt.Narrow,qt.Format,!0);break;case"h":n=tn(Fe.Hours,1,-12);break;case"hh":n=tn(Fe.Hours,2,-12);break;case"H":n=tn(Fe.Hours,1);break;case"HH":n=tn(Fe.Hours,2);break;case"m":n=tn(Fe.Minutes,1);break;case"mm":n=tn(Fe.Minutes,2);break;case"s":n=tn(Fe.Seconds,1);break;case"ss":n=tn(Fe.Seconds,2);break;case"S":n=tn(Fe.FractionalSeconds,1);break;case"SS":n=tn(Fe.FractionalSeconds,2);break;case"SSS":n=tn(Fe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=ld(cn.Short);break;case"ZZZZZ":n=ld(cn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ld(cn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=ld(cn.Long);break;default:return null}return Gf[t]=n,n}(d);c+=u?u(r,e,l):"''"===d?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function sd(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function pr(t,n){const e=function NL(t){return Rn(t)[xe.LocaleId]}(t);if(Ua[e]=Ua[e]||{},Ua[e][n])return Ua[e][n];let i="";switch(n){case"shortDate":i=id(t,Ht.Short);break;case"mediumDate":i=id(t,Ht.Medium);break;case"longDate":i=id(t,Ht.Long);break;case"fullDate":i=id(t,Ht.Full);break;case"shortTime":i=rd(t,Ht.Short);break;case"mediumTime":i=rd(t,Ht.Medium);break;case"longTime":i=rd(t,Ht.Long);break;case"fullTime":i=rd(t,Ht.Full);break;case"short":const r=pr(t,"shortTime"),o=pr(t,"shortDate");i=ad(od(t,Ht.Short),[r,o]);break;case"medium":const s=pr(t,"mediumTime"),a=pr(t,"mediumDate");i=ad(od(t,Ht.Medium),[s,a]);break;case"long":const l=pr(t,"longTime"),c=pr(t,"longDate");i=ad(od(t,Ht.Long),[l,c]);break;case"full":const d=pr(t,"fullTime"),u=pr(t,"fullDate");i=ad(od(t,Ht.Full),[d,u])}return i&&(Ua[e][n]=i),i}function ad(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Mi(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),o+s}function tn(t,n,e=0,i=!1,r=!1){return function(o,s){let a=function YL(t,n){switch(t){case Fe.FullYear:return n.getFullYear();case Fe.Month:return n.getMonth();case Fe.Date:return n.getDate();case Fe.Hours:return n.getHours();case Fe.Minutes:return n.getMinutes();case Fe.Seconds:return n.getSeconds();case Fe.FractionalSeconds:return n.getMilliseconds();case Fe.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,o);if((e>0||a>-e)&&(a+=e),t===Fe.Hours)0===a&&-12===e&&(a=12);else if(t===Fe.FractionalSeconds)return function KL(t,n){return Mi(t,3).substring(0,n)}(a,n);const l=ai(s,Re.MinusSign);return Mi(a,n,l,i,r)}}function At(t,n,e=qt.Format,i=!1){return function(r,o){return function ZL(t,n,e,i,r,o){switch(e){case Ke.Months:return function LL(t,n,e){const i=Rn(t),o=li([i[xe.MonthsFormat],i[xe.MonthsStandalone]],n);return li(o,e)}(n,r,i)[t.getMonth()];case Ke.Days:return function PL(t,n,e){const i=Rn(t),o=li([i[xe.DaysFormat],i[xe.DaysStandalone]],n);return li(o,e)}(n,r,i)[t.getDay()];case Ke.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(o){const c=function UL(t){const n=Rn(t);return rD(n),(n[xe.ExtraData][2]||[]).map(i=>"string"==typeof i?zf(i):[zf(i[0]),zf(i[1])])}(n),d=function HL(t,n,e){const i=Rn(t);rD(i);const o=li([i[xe.ExtraData][0],i[xe.ExtraData][1]],n)||[];return li(o,e)||[]}(n,r,i),u=c.findIndex(b=>{if(Array.isArray(b)){const[C,P]=b,V=s>=C.hours&&a>=C.minutes,W=s<P.hours||s===P.hours&&a<P.minutes;if(C.hours<P.hours){if(V&&W)return!0}else if(V||W)return!0}else if(b.hours===s&&b.minutes===a)return!0;return!1});if(-1!==u)return d[u]}return function OL(t,n,e){const i=Rn(t),o=li([i[xe.DayPeriodsFormat],i[xe.DayPeriodsStandalone]],n);return li(o,e)}(n,r,i)[s<12?0:1];case Ke.Eras:return function VL(t,n){return li(Rn(t)[xe.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(r,o,t,n,e,i)}}function ld(t){return function(n,e,i){const r=-1*i,o=ai(e,Re.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case cn.Short:return(r>=0?"+":"")+Mi(s,2,o)+Mi(Math.abs(r%60),2,o);case cn.ShortGMT:return"GMT"+(r>=0?"+":"")+Mi(s,1,o);case cn.Long:return"GMT"+(r>=0?"+":"")+Mi(s,2,o)+":"+Mi(Math.abs(r%60),2,o);case cn.Extended:return 0===i?"Z":(r>=0?"+":"")+Mi(s,2,o)+":"+Mi(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}const QL=0,cd=4;function oD(t){return sd(t.getFullYear(),t.getMonth(),t.getDate()+(cd-t.getDay()))}function $f(t,n=!1){return function(e,i){let r;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=oD(e),s=function JL(t){const n=sd(t,QL,1).getDay();return sd(t,0,1+(n<=cd?cd:cd+7)-n)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Mi(r,t,ai(i,Re.MinusSign))}}function dd(t,n=!1){return function(e,i){return Mi(oD(e).getFullYear(),t,ai(i,Re.MinusSign),n)}}const Gf={};function sD(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function aD(t){return t instanceof Date&&!isNaN(t.valueOf())}function uD(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const Zf=/\s+/,hD=[];let mD=(()=>{class t{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=hD,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Zf):hD}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Zf):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Zf).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return t.\u0275fac=function(e){return new(e||t)(j(mr),j(ja),j(Xe),j(sr))},t.\u0275dir=se({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class b2{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,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 pD=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,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 i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new b2(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),gD(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{gD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(bn),j(mr))},t.\u0275dir=se({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function gD(t,n){t.context.$implicit=n.item}let hd=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new y2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){_D("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){_D("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,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(bn))},t.\u0275dir=se({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class y2{constructor(){this.$implicit=null,this.ngIf=null}}function _D(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${on(n)}'.`)}class Qf{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let md=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),bD=(()=>{class t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Qf(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(bn),j(md,9))},t.\u0275dir=se({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),Jf=(()=>{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 i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(j(Mn))},t.\u0275dir=se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[mn]}),t})();const F2=new de("DATE_PIPE_DEFAULT_TIMEZONE"),N2=new de("DATE_PIPE_DEFAULT_OPTIONS");let fd=(()=>{class t{constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,o){if(null==e||""===e||e!=e)return null;try{return XL(e,i??this.defaultOptions?.dateFormat??"mediumDate",o||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function Si(t,n){return new ne(2100,!1)}()}}}return t.\u0275fac=function(e){return new(e||t)(j(Gi,16),j(F2,24),j(N2,24))},t.\u0275pipe=Bn({name:"date",type:t,pure:!0,standalone:!0}),t})(),za=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();const wD="browser";function xD(t){return"server"===t}let X2=(()=>{class t{}return t.\u0275prov=ve({token:t,providedIn:"root",factory:()=>new K2(le(vt),window)}),t})();class K2{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function Y2(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=DD(this.window.history)||DD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function DD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class CD{}class DV extends SL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class rp extends DV{static makeCurrent(){!function ML(t){Vf||(Vf=t)}(new rp)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function CV(){return Ga=Ga||document.querySelector("base"),Ga?Ga.getAttribute("href"):null}();return null==e?null:function EV(t){bd=bd||document.createElement("a"),bd.setAttribute("href",t);const n=bd.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Ga=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return uD(document.cookie,n)}}let bd,Ga=null,SV=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const op=new de("EventManagerPlugins");let ID=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new ne(5101,!1);return this._eventNameToPlugin.set(e,i),i}}return t.\u0275fac=function(e){return new(e||t)(le(op),le(Be))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();class AD{constructor(n){this._doc=n}}const sp="ng-app-id";let kD=(()=>{class t{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=xD(o),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${sp}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){const r=this.styleRef;if(r.has(e)){const o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(sp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(sp,this.appId),s}}addStyleToHost(e,i){const r=this.getStyleElement(e,i);e.appendChild(r);const o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(le(vt),le(Dc),le(cm,8),le(Rr))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const ap={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/"},lp=/%COMP%/g,kV=new de("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function FD(t,n){return n.map(e=>e.replace(lp,t))}let cp=(()=>{class t{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=xD(a),this.defaultRenderer=new dp(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Vn.ShadowDom&&(i={...i,encapsulation:Vn.Emulated});const r=this.getOrCreateRenderer(e,i);return r instanceof OD?r.applyToHost(e):r instanceof up&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestory,u=this.platformIsServer;switch(i.encapsulation){case Vn.Emulated:o=new OD(l,c,i,this.appId,d,s,a,u);break;case Vn.ShadowDom:return new OV(l,c,e,i,s,a,this.nonce,u);default:o=new up(l,c,i,d,s,a,u)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return t.\u0275fac=function(e){return new(e||t)(le(ID),le(kD),le(Dc),le(kV),le(vt),le(Rr),le(Be),le(cm))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();class dp{constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(ap[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(ND(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(ND(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new ne(5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const o=ap[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=ap[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&($n.DashCase|$n.Important)?n.style.setProperty(e,i,r&$n.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&$n.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=Pr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function ND(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class OV extends dp{constructor(n,e,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=FD(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class up extends dp{constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=l?FD(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class OD extends up{constructor(n,e,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=function RV(t){return"_ngcontent-%COMP%".replace(lp,t)}(c),this.hostAttr=function FV(t){return"_nghost-%COMP%".replace(lp,t)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let PV=(()=>{class t extends AD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return t.\u0275fac=function(e){return new(e||t)(le(vt))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const PD=["alt","control","meta","shift"],LV={"\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"},VV={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let BV=(()=>{class t extends AD{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pr().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),PD.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=LV[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),PD.forEach(s=>{s!==r&&(0,VV[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(le(vt))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const zV=Ix(fL,"browser",[{provide:Rr,useValue:wD},{provide:Zy,useValue:function jV(){rp.makeCurrent()},multi:!0},{provide:vt,useFactory:function HV(){return function Hk(t){Kh=t}(document),document},deps:[]}]),$V=new de(""),BD=[{provide:Qc,useClass:class MV{addToWindow(n){It.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new ne(5103,!1);return o},It.getAllAngularTestabilities=()=>n.getAllTestabilities(),It.getAllAngularRootElements=()=>n.getAllRootElements(),It.frameworkStabilizers||(It.frameworkStabilizers=[]),It.frameworkStabilizers.push(i=>{const r=It.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Pr().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:Cx,useClass:Mf,deps:[Be,Sf,Qc]},{provide:Mf,useClass:Mf,deps:[Be,Sf,Qc]}],jD=[{provide:rm,useValue:"root"},{provide:Bi,useFactory:function UV(){return new Bi},deps:[]},{provide:op,useClass:PV,multi:!0,deps:[vt,Be,Rr]},{provide:op,useClass:BV,multi:!0,deps:[vt]},cp,kD,ID,{provide:ba,useExisting:cp},{provide:CD,useClass:SV,deps:[]},[]];let UD=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Dc,useValue:e.appId}]}}}return t.\u0275fac=function(e){return new(e||t)(le($V,12))},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({providers:[...jD,...BD],imports:[za,pL]}),t})(),HD=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(le(vt))},t.\u0275prov=ve({token:t,factory:function(e){let i=null;return i=e?new e:function WV(){return new HD(le(vt))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let mp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(e){let i=null;return i=e?new(e||t):le(GD),i},providedIn:"root"}),t})(),GD=(()=>{class t extends mp{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case gt.NONE:return i;case gt.HTML:return Li(i,"HTML")?Zn(i):By(this._doc,String(i)).toString();case gt.STYLE:return Li(i,"Style")?Zn(i):i;case gt.SCRIPT:if(Li(i,"Script"))return Zn(i);throw new ne(5200,!1);case gt.URL:return Li(i,"URL")?Zn(i):yc(String(i));case gt.RESOURCE_URL:if(Li(i,"ResourceURL"))return Zn(i);throw new ne(5201,!1);default:throw new ne(5202,!1)}}bypassSecurityTrustHtml(e){return function Kk(t){return new zk(t)}(e)}bypassSecurityTrustStyle(e){return function Yk(t){return new $k(t)}(e)}bypassSecurityTrustScript(e){return function Zk(t){return new Gk(t)}(e)}bypassSecurityTrustUrl(e){return function Qk(t){return new Wk(t)}(e)}bypassSecurityTrustResourceUrl(e){return function Jk(t){return new qk(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(le(vt))},t.\u0275prov=ve({token:t,factory:function(e){let i=null;return i=e?new e:function YV(t){return new GD(t.get(vt))}(le(wi)),i},providedIn:"root"}),t})();function qD(t){return!!t&&(t instanceof _e||w(t.lift)&&w(t.subscribe))}const{isArray:ZV}=Array,{getPrototypeOf:QV,prototype:JV,keys:eB}=Object;function XD(t){if(1===t.length){const n=t[0];if(ZV(n))return{args:n,keys:null};if(function tB(t){return t&&"object"==typeof t&&QV(t)===JV}(n)){const e=eB(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:nB}=Array;function KD(t){return ee(n=>function iB(t,n){return nB(n)?t(...n):t(n)}(t,n))}function YD(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function yd(...t){const n=$s(t),e=E_(t),{args:i,keys:r}=XD(t);if(0===i.length)return Qt([],n);const o=new _e(function rB(t,n,e=be){return i=>{ZD(n,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)ZD(n,()=>{const c=Qt(t[l],n);let d=!1;c.subscribe(x(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>YD(r,s):be));return e?o.pipe(KD(e)):o}function ZD(t,n,e){t?Qi(e,t,n):n()}const vd=T(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function wd(...t){return function oB(){return ko(1)}()(Qt(t,$s(t)))}function QD(t){return new _e(n=>{Pn(t()).subscribe(n)})}function ws(t,n){const e=w(t)?t:()=>t,i=r=>r.error(e());return new _e(n?r=>n.schedule(i,0,r):i)}function fp(){return kt((t,n)=>{let e=null;t._refCount++;const i=x(n,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(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class pp extends _e{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Mr(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new H;const e=this.getSubject();n.add(this.source.subscribe(x(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=H.EMPTY)}return n}refCount(){return fp()(this)}}function Wi(t,n){return kt((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(x(i,l=>{r?.unsubscribe();let c=0;const d=o++;Pn(t(l,d)).subscribe(r=x(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function qi(t){return t<=0?()=>gi:kt((n,e)=>{let i=0;n.subscribe(x(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function JD(...t){const n=$s(t);return kt((e,i)=>{(n?wd(t,e,n):wd(t,e)).subscribe(i)})}function Ti(t,n){return kt((e,i)=>{let r=0;e.subscribe(x(i,o=>t.call(n,o,r++)&&i.next(o)))})}function xd(t){return kt((n,e)=>{let i=!1;n.subscribe(x(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function eC(t=sB){return kt((n,e)=>{let i=!1;n.subscribe(x(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function sB(){return new vd}function fo(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Ti((r,o)=>t(r,o,i)):be,qi(1),e?xd(n):eC(()=>new vd))}function xs(t,n){return w(n)?un(t,n,1):un(t,1)}function dn(t,n,e){const i=w(t)||n||e?{next:t,error:n,complete:e}:t;return i?kt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(x(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):be}function Vr(t){return kt((n,e)=>{let o,i=null,r=!1;i=n.subscribe(x(e,void 0,void 0,s=>{o=Pn(t(s,Vr(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function gp(t){return t<=0?()=>gi:kt((n,e)=>{let i=[];n.subscribe(x(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function Ds(t){return kt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const qe="primary",Wa=Symbol("RouteTitle");class uB{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Cs(t){return new uB(t)}function hB(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.length<t.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function Xi(t,n){const e=t?Object.keys(t):void 0,i=n?Object.keys(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!tC(t[r],n[r]))return!1;return!0}function tC(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}return t===n}function nC(t){return t.length>0?t[t.length-1]:null}function Br(t){return qD(t)?t:Ia(t)?Qt(Promise.resolve(t)):Te(t)}const fB={exact:function oC(t,n,e){if(!po(t.segments,n.segments)||!Dd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!oC(t.children[i],n.children[i],e))return!1;return!0},subset:sC},iC={exact:function pB(t,n){return Xi(t,n)},subset:function gB(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>tC(t[e],n[e]))},ignored:()=>!0};function rC(t,n,e){return fB[e.paths](t.root,n.root,e.matrixParams)&&iC[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function sC(t,n,e){return aC(t,n,n.segments,e)}function aC(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!po(r,e)||n.hasChildren()||!Dd(r,e,i))}if(t.segments.length===e.length){if(!po(t.segments,e)||!Dd(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!sC(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(po(t.segments,r)&&Dd(t.segments,r,i)&&t.children[qe])&&aC(t.children[qe],n,o,i)}}function Dd(t,n,e){return n.every((i,r)=>iC[e](t[r].parameters,i.parameters))}class Es{constructor(n=new Et([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Cs(this.queryParams)),this._queryParamMap}toString(){return yB.serialize(this)}}class Et{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cd(this)}}class qa{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Cs(this.parameters)),this._parameterMap}toString(){return dC(this)}}function po(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let Xa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return new _p},providedIn:"root"}),t})();class _p{parse(n){const e=new AB(n);return new Es(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Ka(n.root,!0)}`,i=function xB(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${Ed(e)}=${Ed(r)}`).join("&"):`${Ed(e)}=${Ed(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function vB(t){return encodeURI(t)}(n.fragment)}`:""}`}}const yB=new _p;function Cd(t){return t.segments.map(n=>dC(n)).join("/")}function Ka(t,n){if(!t.hasChildren())return Cd(t);if(n){const e=t.children[qe]?Ka(t.children[qe],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==qe&&i.push(`${r}:${Ka(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function bB(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===qe&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==qe&&(e=e.concat(n(r,i)))}),e}(t,(i,r)=>r===qe?[Ka(t.children[qe],!1)]:[`${r}:${Ka(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[qe]?`${Cd(t)}/${e[0]}`:`${Cd(t)}/(${e.join("//")})`}}function lC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ed(t){return lC(t).replace(/%3B/gi,";")}function bp(t){return lC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Md(t){return decodeURIComponent(t)}function cC(t){return Md(t.replace(/\+/g,"%20"))}function dC(t){return`${bp(t.path)}${function wB(t){return Object.keys(t).map(n=>`;${bp(n)}=${bp(t[n])}`).join("")}(t.parameters)}`}const DB=/^[^\/()?;#]+/;function yp(t){const n=t.match(DB);return n?n[0]:""}const CB=/^[^\/()?;=#]+/,MB=/^[^=?&#]+/,TB=/^[^&#]+/;class AB{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[qe]=new Et(n,e)),i}parseSegment(){const n=yp(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new ne(4009,!1);return this.capture(n),new qa(Md(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function EB(t){const n=t.match(CB);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=yp(this.remaining);r&&(i=r,this.capture(i))}n[Md(e)]=Md(i)}parseQueryParam(n){const e=function SB(t){const n=t.match(MB);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function IB(t){const n=t.match(TB);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=cC(e),o=cC(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=yp(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new ne(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=qe);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[qe]:new Et([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new ne(4011,!1)}}function uC(t){return t.segments.length>0?new Et([],{[qe]:t}):t}function hC(t){const n={};for(const i of Object.keys(t.children)){const o=hC(t.children[i]);if(i===qe&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function kB(t){if(1===t.numberOfChildren&&t.children[qe]){const n=t.children[qe];return new Et(t.segments.concat(n.segments),n.children)}return t}(new Et(t.segments,n))}function go(t){return t instanceof Es}function mC(t){let n;const r=uC(function e(o){const s={};for(const l of o.children){const c=e(l);s[l.outlet]=c}const a=new Et(o.url,s);return o===t&&(n=a),a}(t.root));return n??r}function fC(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(0===n.length)return vp(r,r,r,e,i);const o=function FB(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new gC(!0,0,t);let n=0,e=!1;const i=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new gC(e,n,i)}(n);if(o.toRoot())return vp(r,r,new Et([],{}),e,i);const s=function NB(t,n,e){if(t.isAbsolute)return new Td(n,!0,0);if(!e)return new Td(n,!1,NaN);if(null===e.parent)return new Td(e,!0,0);const i=Sd(t.commands[0])?0:1;return function OB(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ne(4005,!1);r=i.segments.length}return new Td(i,!1,r-o)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(o,r,t),a=s.processChildren?Za(s.segmentGroup,s.index,o.commands):_C(s.segmentGroup,s.index,o.commands);return vp(r,s.segmentGroup,a,e,i)}function Sd(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ya(t){return"object"==typeof t&&null!=t&&t.outlets}function vp(t,n,e,i,r){let s,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),s=t===n?e:pC(t,n,e);const a=uC(hC(s));return new Es(a,o,r)}function pC(t,n,e){const i={};return Object.entries(t.children).forEach(([r,o])=>{i[r]=o===n?e:pC(o,n,e)}),new Et(t.segments,i)}class gC{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Sd(i[0]))throw new ne(4003,!1);const r=i.find(Ya);if(r&&r!==nC(i))throw new ne(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Td{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function _C(t,n,e){if(t||(t=new Et([],{})),0===t.segments.length&&t.hasChildren())return Za(t,n,e);const i=function LB(t,n,e){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;const s=t.segments[r],a=e[i];if(Ya(a))break;const l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!yC(l,c,s))return o;i+=2}else{if(!yC(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const o=new Et(t.segments.slice(0,i.pathIndex),{});return o.children[qe]=new Et(t.segments.slice(i.pathIndex),t.children),Za(o,0,r)}return i.match&&0===r.length?new Et(t.segments,{}):i.match&&!t.hasChildren()?wp(t,n,e):i.match?Za(t,0,r):wp(t,n,e)}function Za(t,n,e){if(0===e.length)return new Et(t.segments,{});{const i=function PB(t){return Ya(t[0])?t[0].outlets:{[qe]:t}}(e),r={};if(!i[qe]&&t.children[qe]&&1===t.numberOfChildren&&0===t.children[qe].segments.length){const o=Za(t.children[qe],n,e);return new Et(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=_C(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new Et(t.segments,r)}}function wp(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r<e.length;){const o=e[r];if(Ya(o)){const l=VB(o.outlets);return new Et(i,l)}if(0===r&&Sd(e[0])){i.push(new qa(t.segments[n].path,bC(e[0]))),r++;continue}const s=Ya(o)?o.outlets[qe]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Sd(a)?(i.push(new qa(s,bC(a))),r+=2):(i.push(new qa(s,{})),r++)}return new Et(i,{})}function VB(t){const n={};return Object.entries(t).forEach(([e,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=wp(new Et([],{}),0,i))}),n}function bC(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function yC(t,n,e){return t==e.path&&Xi(n,e.parameters)}const Qa="imperative";class Ki{constructor(n,e){this.id=n,this.url=e}}class xp extends Ki{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _o extends Ki{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Id extends Ki{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ja extends Ki{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=16}}class Dp extends Ki{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class BB extends Ki{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jB extends Ki{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UB extends Ki{constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,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 HB extends Ki{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zB extends Ki{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $B{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GB{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class WB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class XB{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vC{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class YB{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new el,this.attachRef=null}}let el=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new YB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class wC{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=Cp(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=Cp(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=Ep(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Ep(n,this._root).map(e=>e.value)}}function Cp(t,n){if(t===n.value)return n;for(const e of n.children){const i=Cp(t,e);if(i)return i}return null}function Ep(t,n){if(t===n.value)return[n];for(const e of n.children){const i=Ep(t,e);if(i.length)return i.unshift(n),i}return[]}class gr{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ms(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class xC extends wC{constructor(n,e){super(n),this.snapshot=e,Mp(this,n)}toString(){return this.snapshot.toString()}}function DC(t,n){const e=function ZB(t,n){const s=new Ad([],{},{},"",{},qe,n,null,{});return new EC("",new gr(s,[]))}(0,n),i=new Yt([new qa("",{})]),r=new Yt({}),o=new Yt({}),s=new Yt({}),a=new Yt(""),l=new Ss(i,r,s,a,o,qe,n,e.root);return l.snapshot=e.root,new xC(new gr(l,[]),e)}class Ss{constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[Wa]))??Te(void 0),this.url=n,this.params=e,this.queryParams=i,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(ee(n=>Cs(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(n=>Cs(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function CC(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function QB(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Ad{get title(){return this.data?.[Wa]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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=Cs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Cs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class EC extends wC{constructor(n,e){super(e),this.url=n,Mp(this,e)}toString(){return MC(this._root)}}function Mp(t,n){n.value._routerState=t,n.children.forEach(e=>Mp(t,e))}function MC(t){const n=t.children.length>0?` { ${t.children.map(MC).join(", ")} } `:"";return`${t.value}${n}`}function Sp(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Xi(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Xi(n.params,e.params)||t.paramsSubject.next(e.params),function mB(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Xi(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.urlSubject.next(e.url),Xi(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Tp(t,n){const e=Xi(t.params,n.params)&&function _B(t,n){return po(t,n)&&t.every((e,i)=>Xi(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Tp(t.parent,n.parent))}let Ip=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=qe,this.activateEvents=new Ct,this.deactivateEvents=new Ct,this.attachEvents=new Ct,this.detachEvents=new Ct,this.parentContexts=ye(el),this.location=ye(Mn),this.changeDetector=ye(hr),this.environmentInjector=ye(Vi),this.inputBinder=ye(kd,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)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 ne(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ne(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ne(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,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,i){if(this.isActivated)throw new ne(4013,!1);this._activatedRoute=e;const r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new JB(e,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[mn]}),t})();class JB{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Ss?this.route:n===el?this.childContexts:this.parent.get(n,e)}}const kd=new de("");let SC=(()=>{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:i}=e,r=yd([i.queryParams,i.params,i.data]).pipe(Wi(([o,s,a],l)=>(a={...o,...s,...a},0===l?Te(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const s=function EL(t){const n=pt(t);if(!n)return null;const e=new Ca(n);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 n.standalone}}}(i.component);if(s)for(const{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();function tl(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function t4(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return tl(t,i,r);return tl(t,i)})}(t,n,e);return new gr(i,r)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>tl(t,a)),s}}const i=function n4(t){return new Ss(new Yt(t.url),new Yt(t.params),new Yt(t.queryParams),new Yt(t.fragment),new Yt(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(o=>tl(t,o));return new gr(i,r)}}const Ap="ngNavigationCancelingError";function TC(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=go(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=IC(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function IC(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[Ap]=!0,i.cancellationCode=n,e&&(i.url=e),i}function AC(t){return kC(t)&&go(t.url)}function kC(t){return t&&t[Ap]}let RC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["ng-component"]],standalone:!0,features:[Sw],decls:1,vars:0,template:function(e,i){1&e&&ct(0,"router-outlet")},dependencies:[Ip],encapsulation:2}),t})();function kp(t){const n=t.children&&t.children.map(kp),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==qe&&(e.component=RC),e}function Ii(t){return t.outlet||qe}function nl(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class c4{constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Sp(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=Ms(e);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Ms(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Ms(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const r=Ms(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new KB(o.value.snapshot))}),n.children.length&&this.forwardEvent(new qB(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(Sp(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Sp(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=nl(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class FC{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Rd{constructor(n,e){this.component=n,this.route=e}}function d4(t,n,e){const i=t._root;return il(i,n?n._root:null,e,[i.value])}function Ts(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function hI(t){return null!==Ol(t)}(t)?n.get(t):t:i}function il(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ms(n);return t.children.forEach(s=>{(function h4(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function m4(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!po(t.url,n.url);case"pathParamsOrQueryParamsChange":return!po(t.url,n.url)||!Xi(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Tp(t,n)||!Xi(t.queryParams,n.queryParams);default:return!Tp(t,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new FC(i)):(o.data=s.data,o._resolvedData=s._resolvedData),il(t,n,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Rd(a.outlet.component,s))}else s&&rl(n,a,r),r.canActivateChecks.push(new FC(i)),il(t,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>rl(a,e.getContext(s),r)),r}function rl(t,n,e){const i=Ms(t),r=t.value;Object.entries(i).forEach(([o,s])=>{rl(s,r.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new Rd(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function ol(t){return"function"==typeof t}function NC(t){return t instanceof vd||"EmptyError"===t?.name}const Fd=Symbol("INITIAL_VALUE");function Is(){return Wi(t=>yd(t.map(n=>n.pipe(qi(1),JD(Fd)))).pipe(ee(n=>{for(const e of n)if(!0!==e){if(e===Fd)return Fd;if(!1===e||e instanceof Es)return e}return!0}),Ti(n=>n!==Fd),qi(1)))}function OC(t){return function Ge(...t){return Je(t)}(dn(n=>{if(go(n))throw TC(0,n)}),ee(n=>!0===n))}class Nd{constructor(n){this.segmentGroup=n||null}}class PC{constructor(n){this.urlTree=n}}function As(t){return ws(new Nd(t))}function LC(t){return ws(new PC(t))}class F4{constructor(n,e){this.urlSerializer=n,this.urlTree=e}noMatchError(n){return new ne(4002,!1)}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Te(i);if(r.numberOfChildren>1||!r.children[qe])return ws(new ne(4e3,!1));r=r.children[qe]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const o=this.createSegmentGroup(n,e.root,i,r);return new Es(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){const o=this.createSegments(n,e.segments,i,r);let s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Et(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new ne(4001,!1);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}const Rp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function N4(t,n,e,i,r){const o=Fp(t,n,e);return o.matched?(i=function i4(t,n){return t.providers&&!t._injector&&(t._injector=nf(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function A4(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?Te(r.map(s=>{const a=Ts(s,t);return Br(function y4(t){return t&&ol(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(Is(),OC()):Te(!0)}(i,n,e).pipe(ee(s=>!0===s?o:{...Rp}))):Te(o)}function Fp(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Rp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||hB)(e,t,n);if(!r)return{...Rp};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=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:s,positionalParamSegments:r.posParams??{}}}function VC(t,n,e,i){return e.length>0&&function L4(t,n,e){return e.some(i=>Od(t,n,i)&&Ii(i)!==qe)}(t,e,i)?{segmentGroup:new Et(n,P4(i,new Et(e,t.children))),slicedSegments:[]}:0===e.length&&function V4(t,n,e){return e.some(i=>Od(t,n,i))}(t,e,i)?{segmentGroup:new Et(t.segments,O4(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Et(t.segments,t.children),slicedSegments:e}}function O4(t,n,e,i,r){const o={};for(const s of i)if(Od(t,e,s)&&!r[Ii(s)]){const a=new Et([],{});o[Ii(s)]=a}return{...r,...o}}function P4(t,n){const e={};e[qe]=n;for(const i of t)if(""===i.path&&Ii(i)!==qe){const r=new Et([],{});e[Ii(i)]=r}return e}function Od(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class H4{constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new F4(this.urlSerializer,this.urlTree)}noMatchError(n){return new ne(4002,!1)}recognize(){const n=VC(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,qe).pipe(Vr(e=>{if(e instanceof PC)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof Nd?this.noMatchError(e):e}),ee(e=>{const i=new Ad([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qe,this.rootComponentType,null,{}),r=new gr(i,e),o=new EC("",r),s=function RB(t,n,e=null,i=null){return fC(mC(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,qe).pipe(Vr(i=>{throw i instanceof Nd?this.noMatchError(i):i}))}inheritParamsAndData(n){const e=n.value,i=CC(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r,!0)}processChildren(n,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Qt(r).pipe(xs(o=>{const s=i.children[o],a=function a4(t,n){const e=t.filter(i=>Ii(i)===n);return e.push(...t.filter(i=>Ii(i)!==n)),e}(e,o);return this.processSegmentGroup(n,a,s,o)}),function lB(t,n){return kt(function aB(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(x(s,d=>{const u=c++;l=a?t(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(t,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),xd(null),function cB(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Ti((r,o)=>t(r,o,i)):be,gp(1),e?xd(n):eC(()=>new vd))}(),un(o=>{if(null===o)return As(i);const s=BC(o);return function z4(t){t.sort((n,e)=>n.value.outlet===qe?-1:e.value.outlet===qe?1:n.value.outlet.localeCompare(e.value.outlet))}(s),Te(s)}))}processSegment(n,e,i,r,o,s){return Qt(e).pipe(xs(a=>this.processSegmentAgainstRoute(a._injector??n,e,a,i,r,o,s).pipe(Vr(l=>{if(l instanceof Nd)return Te(null);throw l}))),fo(a=>!!a),Vr(a=>{if(NC(a))return function j4(t,n,e){return 0===n.length&&!t.children[e]}(i,r,o)?Te([]):As(i);throw a}))}processSegmentAgainstRoute(n,e,i,r,o,s,a){return function B4(t,n,e,i){return!!(Ii(t)===i||i!==qe&&Od(n,e,t))&&("**"===t.path||Fp(n,t,e).matched)}(i,r,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s):As(r):As(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const o=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?LC(o):this.applyRedirects.lineralizeSegments(i,o).pipe(un(s=>{const a=new Et(s,{});return this.processSegment(n,e,a,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=Fp(e,r,o);if(!a)return As(e);const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?LC(u):this.applyRedirects.lineralizeSegments(r,u).pipe(un(b=>this.processSegment(n,i,e,b.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a;if("**"===i.path){const l=r.length>0?nC(r).parameters:{};a=Te({snapshot:new Ad(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jC(i),Ii(i),i.component??i._loadedComponent??null,i,UC(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else a=N4(e,i,r,n).pipe(ee(({matched:l,consumedSegments:c,remainingSegments:d,parameters:u})=>l?{snapshot:new Ad(c,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jC(i),Ii(i),i.component??i._loadedComponent??null,i,UC(i)),consumedSegments:c,remainingSegments:d}:null));return a.pipe(Wi(l=>null===l?As(e):this.getChildConfig(n=i._injector??n,i,r).pipe(Wi(({routes:c})=>{const d=i._loadedInjector??n,{snapshot:u,consumedSegments:b,remainingSegments:C}=l,{segmentGroup:P,slicedSegments:V}=VC(e,b,C,c);if(0===V.length&&P.hasChildren())return this.processChildren(d,c,P).pipe(ee(ie=>null===ie?null:[new gr(u,ie)]));if(0===c.length&&0===V.length)return Te([new gr(u,[])]);const W=Ii(i)===o;return this.processSegment(d,c,P,V,W?qe:o,!0).pipe(ee(ie=>[new gr(u,ie)]))}))))}getChildConfig(n,e,i){return e.children?Te({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?Te({routes:e._loadedRoutes,injector:e._loadedInjector}):function I4(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?Te(!0):Te(r.map(s=>{const a=Ts(s,t);return Br(function p4(t){return t&&ol(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(Is(),OC())}(n,e,i).pipe(un(r=>r?this.configLoader.loadChildren(n,e).pipe(dn(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function R4(t){return ws(IC(!1,3))}())):Te({routes:[],injector:n})}}function $4(t){const n=t.value.routeConfig;return n&&""===n.path}function BC(t){const n=[],e=new Set;for(const i of t){if(!$4(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=BC(i.children);n.push(new gr(i.value,r))}return n.filter(i=>!e.has(i))}function jC(t){return t.data||{}}function UC(t){return t.resolve||{}}function HC(t){return"string"==typeof t.title||null===t.title}function Np(t){return Wi(n=>{const e=t(n);return e?Qt(e).pipe(ee(()=>n)):Te(n)})}const ks=new de("ROUTES");let Op=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=ye(gx)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Te(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Br(e.loadComponent()).pipe(ee(zC),dn(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Ds(()=>{this.componentLoaders.delete(e)})),r=new pp(i,()=>new He).pipe(fp());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Te({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(ee(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c;return Array.isArray(a)?c=a:(l=a.create(e).injector,c=l.get(ks,[],Ae.Self|Ae.Optional).flat()),{routes:c.map(kp),injector:l}}),Ds(()=>{this.childrenLoaders.delete(i)})),s=new pp(o,()=>new He).pipe(fp());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Br(e()).pipe(ee(zC),un(i=>i instanceof Ew||Array.isArray(i)?Te(i):Qt(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function zC(t){return function Z4(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let Pd=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new He,this.configLoader=ye(Op),this.environmentInjector=ye(Vi),this.urlSerializer=ye(Xa),this.rootContexts=ye(el),this.inputBindingEnabled=null!==ye(kd,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Te(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new GB(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new $B(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new Yt({id:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Qa,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ti(i=>0!==i.id),ee(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),Wi(i=>{let r=!1,o=!1;return Te(i).pipe(dn(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Wi(s=>{const a=e.browserUrlTree.toString(),l=!e.navigated||s.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const d="";return this.events.next(new Ja(s.id,e.serializeUrl(i.rawUrl),d,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),gi}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return $C(s.source)&&(e.browserUrlTree=s.extractedUrl),Te(s).pipe(Wi(d=>{const u=this.transitions?.getValue();return this.events.next(new xp(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?gi:Promise.resolve(d)}),function G4(t,n,e,i,r,o){return un(s=>function U4(t,n,e,i,r,o,s="emptyOnly"){return new H4(t,n,e,i,r,s,o).recognize()}(t,n,e,i,s.extractedUrl,r,o).pipe(ee(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),dn(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},"eager"===e.urlUpdateStrategy){if(!d.extras.skipLocationChange){const b=e.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);e.setBrowserUrl(b,d)}e.browserUrlTree=d.urlAfterRedirects}const u=new BB(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:d,extractedUrl:u,source:b,restoredState:C,extras:P}=s,V=new xp(d,this.urlSerializer.serialize(u),b,C);this.events.next(V);const W=DC(0,this.rootComponentType).snapshot;return Te(i={...s,targetSnapshot:W,urlAfterRedirects:u,extras:{...P,skipLocationChange:!1,replaceUrl:!1}})}{const d="";return this.events.next(new Ja(s.id,e.serializeUrl(i.extractedUrl),d,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),gi}}),dn(s=>{const a=new jB(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ee(s=>i={...s,guards:d4(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function w4(t,n){return un(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?Te({...e,guardsResult:!0}):function x4(t,n,e,i){return Qt(t).pipe(un(r=>function T4(t,n,e,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?Te(o.map(a=>{const l=nl(n)??r,c=Ts(a,l);return Br(function b4(t){return t&&ol(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(fo())})).pipe(Is()):Te(!0)}(r.component,r.route,e,n,i)),fo(r=>!0!==r,!0))}(s,i,r,t).pipe(un(a=>a&&function f4(t){return"boolean"==typeof t}(a)?function D4(t,n,e,i){return Qt(n).pipe(xs(r=>wd(function E4(t,n){return null!==t&&n&&n(new WB(t)),Te(!0)}(r.route.parent,i),function C4(t,n){return null!==t&&n&&n(new XB(t)),Te(!0)}(r.route,i),function S4(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function u4(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>QD(()=>Te(s.guards.map(l=>{const c=nl(s.node)??e,d=Ts(l,c);return Br(function _4(t){return t&&ol(t.canActivateChild)}(d)?d.canActivateChild(i,t):c.runInContext(()=>d(i,t))).pipe(fo())})).pipe(Is())));return Te(o).pipe(Is())}(t,r.path,e),function M4(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Te(!0);const r=i.map(o=>QD(()=>{const s=nl(n)??e,a=Ts(o,s);return Br(function g4(t){return t&&ol(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(fo())}));return Te(r).pipe(Is())}(t,r.route,e))),fo(r=>!0!==r,!0))}(i,o,t,n):Te(a)),ee(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),dn(s=>{if(i.guardsResult=s.guardsResult,go(s.guardsResult))throw TC(0,s.guardsResult);const a=new UB(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Ti(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Np(s=>{if(s.guards.canActivateChecks.length)return Te(s).pipe(dn(a=>{const l=new HB(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Wi(a=>{let l=!1;return Te(a).pipe(function W4(t,n){return un(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Te(e);let o=0;return Qt(r).pipe(xs(s=>function q4(t,n,e,i){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!HC(r)&&(o[Wa]=r.title),function X4(t,n,e,i){const r=function K4(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return Te({});const o={};return Qt(r).pipe(un(s=>function Y4(t,n,e,i){const r=nl(n)??i,o=Ts(t,r);return Br(o.resolve?o.resolve(n,e):r.runInContext(()=>o(n,e)))}(t[s],n,e,i).pipe(fo(),dn(a=>{o[s]=a}))),gp(1),function dB(t){return ee(()=>t)}(o),Vr(s=>NC(s)?gi:ws(s)))}(o,t,n,i).pipe(ee(s=>(t._resolvedData=s,t.data=CC(t,e).resolve,r&&HC(r)&&(t.data[Wa]=r.title),null)))}(s.route,i,t,n)),dn(()=>o++),gp(1),un(s=>o===r.length?Te(e):gi))})}(e.paramsInheritanceStrategy,this.environmentInjector),dn({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),dn(a=>{const l=new zB(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),Np(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(dn(d=>{l.component=d}),ee(()=>{})));for(const d of l.children)c.push(...a(d));return c};return yd(a(s.targetSnapshot.root)).pipe(xd(),qi(1))}),Np(()=>this.afterPreactivation()),ee(s=>{const a=function e4(t,n,e){const i=tl(t,n._root,e?e._root:void 0);return new xC(i,n)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),dn(s=>{e.currentUrlTree=s.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),e.routerState=s.targetRouterState,"deferred"===e.urlUpdateStrategy&&(s.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,s),e.browserUrlTree=s.urlAfterRedirects)}),((t,n,e,i)=>ee(r=>(new c4(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),qi(1),dn({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new _o(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),Ds(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Vr(s=>{if(o=!0,kC(s)){AC(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new Id(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),AC(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||$C(i.source)};e.scheduleNavigation(l,Qa,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new Dp(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(s))}catch(l){i.reject(l)}}return gi}))}))}cancelNavigationTransition(e,i,r){const o=new Id(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $C(t){return t!==Qa}let GC=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===qe);return i}getResolvedTitleForRoute(e){return e.data[Wa]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return ye(Q4)},providedIn:"root"}),t})(),Q4=(()=>{class t extends GC{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(le(HD))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return ye(t3)},providedIn:"root"}),t})();class e3{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let t3=(()=>{class t extends e3{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ld=new de("",{providedIn:"root",factory:()=>({})});let n3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:function(){return ye(r3)},providedIn:"root"}),t})(),r3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Jn=(()=>((Jn=Jn||{})[Jn.COMPLETE=0]="COMPLETE",Jn[Jn.FAILED=1]="FAILED",Jn[Jn.REDIRECTING=2]="REDIRECTING",Jn))();function WC(t,n){t.events.pipe(Ti(e=>e instanceof _o||e instanceof Id||e instanceof Dp||e instanceof Ja),ee(e=>e instanceof _o||e instanceof Ja?Jn.COMPLETE:e instanceof Id&&(0===e.code||1===e.code)?Jn.REDIRECTING:Jn.FAILED),Ti(e=>e!==Jn.REDIRECTING),qi(1)).subscribe(()=>{n()})}function o3(t){throw t}function s3(t,n,e){return n.parse("/")}const a3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},l3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yn=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ye(px),this.isNgZoneEnabled=!1,this.options=ye(Ld,{optional:!0})||{},this.pendingTasks=ye(Zc),this.errorHandler=this.options.errorHandler||o3,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||s3,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ye(n3),this.routeReuseStrategy=ye(J4),this.titleStrategy=ye(GC),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=ye(ks,{optional:!0})?.flat()??[],this.navigationTransitions=ye(Pd),this.urlSerializer=ye(Xa),this.location=ye(Uf),this.componentInputBindingEnabled=!!ye(kd,{optional:!0}),this.isNgZoneEnabled=ye(Be)instanceof Be&&Be.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Es,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=DC(0,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${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),Qa,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,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(kp),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}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u,d=null;switch(a){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=mC(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),u=this.currentUrlTree.root}return fC(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=go(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Qa,null,i)}navigate(e,i={skipLocationChange:!1}){return function c3(t){for(let n=0;n<t.length;n++)if(null==t[n])throw new ne(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let i;try{i=this.urlSerializer.parse(e)}catch(r){i=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return i}isActive(e,i){let r;if(r=!0===i?{...a3}:!1===i?{...l3}:i,go(e))return rC(this.currentUrlTree,e,r);const o=this.parseUrl(e);return rC(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.keys(e).reduce((i,r)=>{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,b)=>{a=u,l=b});const d=this.pendingTasks.add();return WC(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,(this.browserPageId??0)+1)};this.location.go(r,"",o)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);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&&(i&&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,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rs=(()=>{class t{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new He;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof _o&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=vs(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=vs(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=vs(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,r,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function Hy(t,n,e){return function p1(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Uy:jy}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(j(yn),j(Ss),eo("tabindex"),j(sr),j(Xe),j(mo))},t.\u0275dir=se({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,i){1&e&&ot("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Ut("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[mn]}),t})();class qC{}let h3=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Ti(e=>e instanceof _o),xs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=nf(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Qt(r).pipe(ko())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Te(null);const o=r.pipe(un(s=>null===s?Te(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Qt([o,this.loader.loadComponent(i)]).pipe(ko()):o})}}return t.\u0275fac=function(e){return new(e||t)(le(yn),le(gx),le(Vi),le(qC),le(Op))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Pp=new de("");let XC=(()=>{class t{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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 xp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _o?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ja&&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 vC&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new vC(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){va()},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();function _r(t,n){return{\u0275kind:t,\u0275providers:n}}function YC(){const t=ye(wi);return n=>{const e=t.get(uo);if(n!==e.components[0])return;const i=t.get(yn),r=t.get(ZC);1===t.get(Lp)&&i.initialNavigation(),t.get(QC,null,Ae.Optional)?.setUpPreloading(),t.get(Pp,null,Ae.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const ZC=new de("",{factory:()=>new He}),Lp=new de("",{providedIn:"root",factory:()=>1}),QC=new de("");function g3(t){return _r(0,[{provide:QC,useExisting:h3},{provide:qC,useExisting:t}])}const JC=new de("ROUTER_FORROOT_GUARD"),b3=[Uf,{provide:Xa,useClass:_p},yn,el,{provide:Ss,useFactory:function KC(t){return t.routerState.root},deps:[yn]},Op,[]];function y3(){return new Sx("Router",yn)}let eE=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[b3,[],{provide:ks,multi:!0,useValue:e},{provide:JC,useFactory:D3,deps:[[yn,new to,new oa]]},{provide:Ld,useValue:i||{}},i?.useHash?{provide:mo,useClass:AL}:{provide:mo,useClass:tD},{provide:Pp,useFactory:()=>{const t=ye(X2),n=ye(Be),e=ye(Ld),i=ye(Pd),r=ye(Xa);return e.scrollOffset&&t.setOffset(e.scrollOffset),new XC(r,i,t,n,e)}},i?.preloadingStrategy?g3(i.preloadingStrategy).\u0275providers:[],{provide:Sx,multi:!0,useFactory:y3},i?.initialNavigation?C3(i):[],i?.bindToComponentInputs?_r(8,[SC,{provide:kd,useExisting:SC}]).\u0275providers:[],[{provide:tE,useFactory:YC},{provide:Af,multi:!0,useExisting:tE}]]}}static forChild(e){return{ngModule:t,providers:[{provide:ks,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(le(JC,8))},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();function D3(t){return"guarded"}function C3(t){return["disabled"===t.initialNavigation?_r(3,[{provide:wf,multi:!0,useFactory:()=>{const n=ye(yn);return()=>{n.setUpLocationChangeListener()}}},{provide:Lp,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?_r(2,[{provide:Lp,useValue:0},{provide:wf,multi:!0,deps:[wi],useFactory:n=>{const e=n.get(TL,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const r=n.get(yn),o=n.get(ZC);WC(r,()=>{i(!0)}),n.get(Pd).afterPreactivation=()=>(i(!0),o.closed?Te(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const tE=new de("");class Vd{}class Vp{}class ei{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{let r;if(r="string"==typeof i?[i]:"number"==typeof i?[i.toString()]:i.map(o=>o.toString()),r.length>0){const o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof ei?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new ei;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ei?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class M3{encodeKey(n){return nE(n)}encodeValue(n){return nE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const T3=/%(\d[a-f0-9])/gi,I3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nE(t){return encodeURIComponent(t).replace(T3,(n,e)=>I3[e]??n)}function Bd(t){return`${t}`}class jr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new M3,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function S3(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Bd):[Bd(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new jr({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Bd(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Bd(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class A3{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function iE(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function rE(t){return typeof Blob<"u"&&t instanceof Blob}function oE(t){return typeof FormData<"u"&&t instanceof FormData}class sl{constructor(n,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function k3(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!==i?i:null,o=r):o=i,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 ei),this.context||(this.context=new A3),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new jr,this.urlWithParams=e}serializeBody(){return null===this.body?null:iE(this.body)||rE(this.body)||oE(this.body)||function R3(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof jr?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||oE(this.body)?null:rE(this.body)?this.body.type||null:iE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof jr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,c=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((u,b)=>u.set(b,n.setHeaders[b]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,b)=>u.set(b,n.setParams[b]),c)),new sl(e,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var nn=(()=>((nn=nn||{})[nn.Sent=0]="Sent",nn[nn.UploadProgress=1]="UploadProgress",nn[nn.ResponseHeader=2]="ResponseHeader",nn[nn.DownloadProgress=3]="DownloadProgress",nn[nn.Response=4]="Response",nn[nn.User=5]="User",nn))();class Bp{constructor(n,e=200,i="OK"){this.headers=n.headers||new ei,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class jp extends Bp{constructor(n={}){super(n),this.type=nn.ResponseHeader}clone(n={}){return new jp({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Fs extends Bp{constructor(n={}){super(n),this.type=nn.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Fs({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class sE extends Bp{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Up(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let al=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof sl)o=e;else{let l,c;l=r.headers instanceof ei?r.headers:new ei(r.headers),r.params&&(c=r.params instanceof jr?r.params:new jr({fromObject:r.params})),o=new sl(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Te(o).pipe(xs(l=>this.handler.handle(l)));if(e instanceof sl||"events"===r.observe)return s;const a=s.pipe(Ti(l=>l instanceof Fs));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new jr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Up(r,i))}post(e,i,r={}){return this.request("POST",e,Up(r,i))}put(e,i,r={}){return this.request("PUT",e,Up(r,i))}}return t.\u0275fac=function(e){return new(e||t)(le(Vd))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();function aE(t,n){return n(t)}function F3(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}const O3=new de(""),ll=new de(""),lE=new de("");function P3(){let t=null;return(n,e)=>{null===t&&(t=(ye(O3,{optional:!0})??[]).reduceRight(F3,aE));const i=ye(Zc),r=i.add();return t(n,e).pipe(Ds(()=>i.remove(r)))}}let cE=(()=>{class t extends Vd{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=ye(Zc)}handle(e){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(ll),...this.injector.get(lE,[])]));this.chain=r.reduceRight((o,s)=>function N3(t,n,e){return(i,r)=>e.runInContext(()=>n(i,o=>t(o,r)))}(o,s,this.injector),aE)}const i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Ds(()=>this.pendingTasks.remove(i)))}}return t.\u0275fac=function(e){return new(e||t)(le(Vp),le(Vi))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const j3=/^\)\]\}',?\n/;let uE=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new ne(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Qt(i.\u0275loadImpl()):Te(null)).pipe(Wi(()=>new _e(o=>{const s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((V,W)=>s.setRequestHeader(V,W.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const V=e.detectContentTypeHeader();null!==V&&s.setRequestHeader("Content-Type",V)}if(e.responseType){const V=e.responseType.toLowerCase();s.responseType="json"!==V?V:"text"}const a=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const V=s.statusText||"OK",W=new ei(s.getAllResponseHeaders()),ie=function U3(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return l=new jp({headers:W,status:s.status,statusText:V,url:ie}),l},d=()=>{let{headers:V,status:W,statusText:ie,url:Q}=c(),ge=null;204!==W&&(ge=typeof s.response>"u"?s.responseText:s.response),0===W&&(W=ge?200:0);let De=W>=200&&W<300;if("json"===e.responseType&&"string"==typeof ge){const je=ge;ge=ge.replace(j3,"");try{ge=""!==ge?JSON.parse(ge):null}catch(Vt){ge=je,De&&(De=!1,ge={error:Vt,text:ge})}}De?(o.next(new Fs({body:ge,headers:V,status:W,statusText:ie,url:Q||void 0})),o.complete()):o.error(new sE({error:ge,headers:V,status:W,statusText:ie,url:Q||void 0}))},u=V=>{const{url:W}=c(),ie=new sE({error:V,status:s.status||0,statusText:s.statusText||"Unknown Error",url:W||void 0});o.error(ie)};let b=!1;const C=V=>{b||(o.next(c()),b=!0);let W={type:nn.DownloadProgress,loaded:V.loaded};V.lengthComputable&&(W.total=V.total),"text"===e.responseType&&s.responseText&&(W.partialText=s.responseText),o.next(W)},P=V=>{let W={type:nn.UploadProgress,loaded:V.loaded};V.lengthComputable&&(W.total=V.total),o.next(W)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",C),null!==a&&s.upload&&s.upload.addEventListener("progress",P)),s.send(a),o.next({type:nn.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",C),null!==a&&s.upload&&s.upload.removeEventListener("progress",P)),s.readyState!==s.DONE&&s.abort()}})))}}return t.\u0275fac=function(e){return new(e||t)(le(CD))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();const Hp=new de("XSRF_ENABLED"),hE=new de("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),mE=new de("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fE{}let $3=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,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=uD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(le(vt),le(Rr),le(hE))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();function G3(t,n){const e=t.url.toLowerCase();if(!ye(Hp)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=ye(fE).getToken(),r=ye(mE);return null!=i&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}var Kt=(()=>((Kt=Kt||{})[Kt.Interceptors=0]="Interceptors",Kt[Kt.LegacyInterceptors=1]="LegacyInterceptors",Kt[Kt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Kt[Kt.NoXsrfProtection=3]="NoXsrfProtection",Kt[Kt.JsonpSupport=4]="JsonpSupport",Kt[Kt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Kt))();function Ns(t,n){return{\u0275kind:t,\u0275providers:n}}function W3(...t){const n=[al,uE,cE,{provide:Vd,useExisting:cE},{provide:Vp,useExisting:uE},{provide:ll,useValue:G3,multi:!0},{provide:Hp,useValue:!0},{provide:fE,useClass:$3}];for(const e of t)n.push(...e.\u0275providers);return function em(t){return{\u0275providers:t}}(n)}const pE=new de("LEGACY_INTERCEPTOR_FN");let X3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({providers:[W3(Ns(Kt.LegacyInterceptors,[{provide:pE,useFactory:P3},{provide:ll,useExisting:pE,multi:!0}]))]}),t})();function zp(t){this.message=t}(zp.prototype=new Error).name="InvalidCharacterError";var gE=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new zp("'atob' failed: The string to be decoded is not correctly encoded.");for(var e,i,r=0,o=0,s="";i=n.charAt(o++);~i&&(e=r%4?64*e+i:i,r++%4)?s+=String.fromCharCode(255&e>>(-2*r&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s};function Ud(t){this.message=t}(Ud.prototype=new Error).name="InvalidTokenError";let $p,Hd=(()=>{class t{constructor(e,i){this.http=e,this.router=i,this.loginUrl="http://localhost:8080/riffmaster/login",this.registerUrl="http://localhost:8080/register"}login(e,i){console.log("login"+e+" password: "+i);let r={login:e,password:i};const o=(new ei).set("Content-Type","application/json");this.http.post(this.loginUrl,r,{headers:o}).subscribe(s=>{sessionStorage.setItem("jwtToken",s.Authorization);let a=function tj(t,n){if("string"!=typeof t)throw new Ud("Invalid token specified");var e=!0===(n=n||{}).header?0:1;try{return JSON.parse(function ej(t){var n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(gE(n).replace(/(.)/g,function(i,r){var o=r.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}catch{return gE(n)}}(t.split(".")[e]))}catch(i){throw new Ud("Invalid token specified: "+i.message)}}(s.Authorization);sessionStorage.setItem("login",a.sub),sessionStorage.setItem("login_id",a.sub_id),sessionStorage.setItem("role",a.sub_role),window.location.href="http://localhost:4200/"},s=>{console.error("Error making POST request:",s)})}register(e,i,r){console.log("register");let o={login:e,password:i,email:r};const s=(new ei).set("Content-Type","application/json");this.http.post(this.registerUrl,o,{headers:s}).subscribe(a=>{console.log("POST request successful",a)},a=>{console.error("Error making POST request:",a)})}isLoggedIn(){return null!==sessionStorage.getItem("jwtToken")}}return t.\u0275fac=function(e){return new(e||t)(le(al),le(yn))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();try{$p=typeof Intl<"u"&&Intl.v8BreakIterator}catch{$p=!1}let Os,vn=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function q2(t){return t===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&&!$p)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(le(Rr))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _E=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bE(){if(Os)return Os;if("object"!=typeof document||!document)return Os=new Set(_E),Os;let t=document.createElement("input");return Os=new Set(_E.filter(n=>(t.setAttribute("type",n),t.type===n))),Os}let cl,Gp;function dl(t){return function ij(){if(null==cl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cl=!0}))}finally{cl=cl||!1}return cl}()?t:!!t.capture}function Ps(t){return t.composedPath?t.composedPath()[0]:t.target}function vE(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class Sj extends H{constructor(n,e){super()}schedule(n,e=0){return this}}const $d={setInterval(t,n,...e){const{delegate:i}=$d;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=$d;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class Wp extends Sj{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;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!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return $d.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&$d.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,$(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const wE={now:()=>(wE.delegate||Date).now(),delegate:void 0};class ul{constructor(n,e=ul.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}ul.now=wE.now;class qp extends ul{constructor(n,e=ul.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Xp=new qp(Wp),Tj=Xp;function Kp(t,n=Xp){return kt((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+t,d=n.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}e.subscribe(x(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function xE(t){return Ti((n,e)=>t<=e)}function ci(t){return kt((n,e)=>{Pn(t).subscribe(x(e,()=>e.complete(),X)),!e.closed&&n.subscribe(e)})}function Nt(t){return null!=t&&"false"!=`${t}`}function Gd(t,n=0){return function Ij(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function DE(t){return Array.isArray(t)?t:[t]}function Ur(t){return t instanceof Xe?t.nativeElement:t}const CE=new Set;let yo,Aj=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rj}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function kj(t,n){if(!CE.has(t))try{yo||(yo=document.createElement("style"),n&&(yo.nonce=n),yo.setAttribute("type","text/css"),document.head.appendChild(yo)),yo.sheet&&(yo.sheet.insertRule(`@media ${t} {body{ }}`,0),CE.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(le(vn),le(cm,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Rj(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Fj=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new He}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return EE(DE(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=yd(EE(DE(e)).map(s=>this._registerQuery(s).observable));return o=wd(o.pipe(qi(1)),o.pipe(xE(1),Kp(0))),o.pipe(ee(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new _e(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(JD(i),ee(({matches:s})=>({query:e,matches:s})),ci(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(le(Aj),le(Be))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function EE(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}class Pj{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new He,this._typeaheadSubscription=H.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new He,this.change=new He,n instanceof Va&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(dn(e=>this._pressedLetters.push(e)),Kp(n),Ti(()=>this._pressedLetters.length>0),ee(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){const e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){const e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||vE(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Va?this._items.toArray():this._items}}class Lj extends Pj{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}function IE(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function AE(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const zj=new de("cdk-input-modality-detector-options"),$j={ignoreKeys:[18,17,224,91,16]},Ls=dl({passive:!0,capture:!0});let Gj=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Yt(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ps(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(IE(s)?"keyboard":"mouse"),this._mostRecentTarget=Ps(s))},this._onTouchstart=s=>{AE(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ps(s))},this._options={...$j,...o},this.modalityDetected=this._modality.pipe(xE(1)),this.modalityChanged=this.modalityDetected.pipe(I_()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ls),r.addEventListener("mousedown",this._onMousedown,Ls),r.addEventListener("touchstart",this._onTouchstart,Ls)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ls),document.removeEventListener("mousedown",this._onMousedown,Ls),document.removeEventListener("touchstart",this._onTouchstart,Ls))}}return t.\u0275fac=function(e){return new(e||t)(le(vn),le(Be),le(vt),le(zj,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const qj=new de("cdk-focus-monitor-default-options"),Wd=dl({passive:!0,capture:!0});let RE=(()=>{class t{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,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 He,this._rootNodeFocusAndBlurListener=a=>{for(let c=Ps(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Ur(e);if(!this._platform.isBrowser||1!==r.nodeType)return Te(null);const o=function oj(t){if(function rj(){if(null==Gp){const t=typeof document<"u"?document.head:null;Gp=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Gp}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new He,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Ur(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Ur(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_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,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Ps(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wd),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wd)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ci(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wd),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wd),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0;return!1}}return t.\u0275fac=function(e){return new(e||t)(le(Be),le(vn),le(Gj),le(vt,8),le(qj,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const FE="cdk-high-contrast-black-on-white",NE="cdk-high-contrast-white-on-black",Yp="cdk-high-contrast-active";let Xj=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ye(Fj).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 i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.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(Yp,FE,NE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Yp,FE):2===i&&e.add(Yp,NE)}}}return t.\u0275fac=function(e){return new(e||t)(le(vn),le(vt))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Kj=new de("cdk-dir-doc",{providedIn:"root",factory:function Yj(){return ye(vt)}}),Zj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let OE=(()=>{class t{constructor(e){this.value="ltr",this.change=new Ct,e&&(this.value=function Qj(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?Zj.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(le(Kj,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();const eU=new de("mat-sanity-checks",{providedIn:"root",factory:function Jj(){return!0}});let Wt=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!function aj(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(le(Xj),le(eU,8),le(vt))},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[qd,qd]}),t})();function tU(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=Nt(n)}constructor(...n){super(...n),this._disabled=!1}}}function Zp(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function VE(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Nt(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function nU(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Gd(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function iU(t){return class extends t{updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}let oU=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class sU{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const BE=dl({passive:!0,capture:!0});class aU{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Ps(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,i,r){const o=this._events.get(e);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,BE)})}removeHandler(n,e,i){const r=this._events.get(n);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,BE)))}}const jE={enterDuration:225,exitDuration:150},UE=dl({passive:!0,capture:!0}),HE=["mousedown","touchstart"],zE=["mouseup","mouseleave","touchend","touchcancel"];class vo{constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ur(i))}fadeInRipple(n,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...jE,...i.animation};i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function cU(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),C=u.transitionDuration,P="none"===u.transitionProperty||"0s"===C||"0s, 0s"===C||0===r.width&&0===r.height,V=new sU(this,d,i,P);d.style.transform="scale3d(1, 1, 1)",V.state=0,i.persistent||(this._mostRecentTransientRipple=V);let W=null;return!P&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ie=()=>this._finishRippleTransition(V),Q=()=>this._destroyRipple(V);d.addEventListener("transitionend",ie),d.addEventListener("transitioncancel",Q),W={onTransitionEnd:ie,onTransitionCancel:Q}}),this._activeRipples.set(V,W),(P||!c)&&this._finishRippleTransition(V),V}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...jE,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Ur(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,HE.forEach(i=>{vo._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zE.forEach(e=>{this._triggerElement.addEventListener(e,this,UE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=IE(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!AE(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=n.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(HE.forEach(e=>vo._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&zE.forEach(e=>n.removeEventListener(e,this,UE)))}}vo._eventManager=new aU;const Xd=new de("mat-ripple-global-options");let $E=(()=>{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,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new vo(this,i,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,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be),j(vn),j(Xd,8),j(vi,8))},t.\u0275dir=se({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&_t("mat-ripple-unbounded",i.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"]}),t})(),Qp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,Wt]}),t})(),dU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt]}),t})();const GE=["mat-button",""],WE=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],qE=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],XE=".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}",hU=["mat-icon-button",""],mU=["*"],KE={capture:!0},YE=["focus","click","mouseenter","touchstart"],ml="mat-button-ripple-uninitialized";let fU=(()=>{class t{constructor(){this._document=ye(vt,{optional:!0}),this._animationMode=ye(vi,{optional:!0}),this._globalRippleOptions=ye(Xd,{optional:!0}),this._platform=ye(vn),this._ngZone=ye(Be),this._onInteraction=e=>{if(e.target===this._document)return;const r=e.target.closest(`[${ml}]`);r&&(r.removeAttribute(ml),this._appendRipple(r))},this._ngZone.runOutsideAngular(()=>{for(const e of YE)this._document?.addEventListener(e,this._onInteraction,KE)})}ngOnDestroy(){for(const e of YE)this._document?.removeEventListener(e,this._onInteraction,KE)}_appendRipple(e){if(!this._document)return;const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new pU(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);r.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new vo(r,this._ngZone,i,this._platform).setupTriggerEvents(e),e.append(i)}_createMatRipple(e){if(!this._document)return;e.querySelector(".mat-mdc-button-ripple")?.remove(),e.removeAttribute(ml);const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new $E(new Xe(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,e.append(i),r}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class pU{constructor(n,e,i){this._button=n,this._globalRippleOptions=e,this._setRippleConfig(e,i)}_setRippleConfig(n,e){this.rippleConfig=n||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const gU=[{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"]}],_U=Zp(tU(VE(class{constructor(t){this._elementRef=t}})));let Jp=(()=>{class t extends _U{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(e){this._ripple=e}constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=ye(RE),this._rippleLoader=ye(fU),this._isFab=!1;const s=e.nativeElement.classList;for(const a of gU)this._hasHostAttributes(a.selector)&&a.mdcClasses.forEach(l=>{s.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}}return t.\u0275fac=function(e){va()},t.\u0275dir=se({type:t,features:[Ce,mn]}),t})(),yU=(()=>{class t extends Jp{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){va()},t.\u0275dir=se({type:t,features:[Ce]}),t})(),eg=(()=>{class t extends Jp{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(vn),j(Be),j(vi,8))},t.\u0275cmp=Dt({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(Ut("disabled",i.disabled||null),_t("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ce],attrs:GE,ngContentSelectors:qE,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(e,i){1&e&&(En(WE),ct(0,"span",0),Ye(1),me(2,"span",1),Ye(3,1),pe(),Ye(4,2),ct(5,"span",2)(6,"span",3)),2&e&&_t("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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}),t})(),vU=(()=>{class t extends yU{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(vn),j(Be),j(vi,8))},t.\u0275cmp=Dt({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(Ut("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),_t("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Ce],attrs:GE,ngContentSelectors:qE,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(e,i){1&e&&(En(WE),ct(0,"span",0),Ye(1),me(2,"span",1),Ye(3,1),pe(),Ye(4,2),ct(5,"span",2)(6,"span",3)),2&e&&_t("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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)}',XE],encapsulation:2,changeDetection:0}),t})(),xU=(()=>{class t extends Jp{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(vn),j(Be),j(vi,8))},t.\u0275cmp=Dt({type:t,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(Ut("disabled",i.disabled||null),_t("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ce],attrs:hU,ngContentSelectors:mU,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(En(),ct(0,"span",0),Ye(1),ct(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-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:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-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-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-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-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',XE],encapsulation:2,changeDetection:0}),t})(),DU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,Qp,Wt]}),t})();const CU=["*"],SU=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],TU=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],IU=new de("MAT_CARD_CONFIG");let Kd=(()=>{class t{constructor(e){this.appearance=e?.appearance||"raised"}}return t.\u0275fac=function(e){return new(e||t)(j(IU,8))},t.\u0275cmp=Dt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&_t("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:CU,decls:1,vars:0,template:function(e,i){1&e&&(En(),Ye(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),t})(),Yd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),t})(),Zd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),t})(),Qd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:TU,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,i){1&e&&(En(SU),Ye(0),me(1,"div",0),Ye(2,1),pe(),Ye(3,2))},encapsulation:2,changeDetection:0}),t})(),FU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,za,Wt]}),t})();const ZE=dl({passive:!0});let NU=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return gi;const i=Ur(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new He,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,ZE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,ZE)}}),o}stopMonitoring(e){const i=Ur(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(le(vn),le(Be))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),OU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();function QE(...t){const n=E_(t),{args:e,keys:i}=XD(t),r=new _e(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Pn(e[d]).subscribe(x(o,b=>{u||(u=!0,c--),a[d]=b},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?YD(i,a):a),o.complete())}))}});return n?r.pipe(KD(n)):r}let JE=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(j(sr),j(Xe))},t.\u0275dir=se({type:t}),t})(),wo=(()=>{class t extends JE{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,features:[Ce]}),t})();const di=new de("NgValueAccessor"),LU={provide:di,useExisting:Tt(()=>Vs),multi:!0},BU=new de("CompositionEventMode");let Vs=(()=>{class t extends JE{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function VU(){const t=Pr()?Pr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(j(sr),j(Xe),j(BU,8))},t.\u0275dir=se({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&ot("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Ve([LU]),Ce]}),t})();function Hr(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function tM(t){return null!=t&&"number"==typeof t.length}const Tn=new de("NgValidators"),zr=new de("NgAsyncValidators"),jU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class UU{static min(n){return function nM(t){return n=>{if(Hr(n.value)||Hr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}(n)}static max(n){return function iM(t){return n=>{if(Hr(n.value)||Hr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function rM(t){return Hr(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function oM(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function sM(t){return Hr(t.value)||jU.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function aM(t){return n=>Hr(n.value)||!tM(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function lM(t){return n=>tM(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function cM(t){if(!t)return Jd;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Hr(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return pM(n)}static composeAsync(n){return gM(n)}}function Jd(t){return null}function dM(t){return null!=t}function uM(t){return Ia(t)?Qt(t):t}function hM(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function mM(t,n){return n.map(e=>e(t))}function fM(t){return t.map(n=>function HU(t){return!t.validate}(n)?n:e=>n.validate(e))}function pM(t){if(!t)return null;const n=t.filter(dM);return 0==n.length?null:function(e){return hM(mM(e,n))}}function tg(t){return null!=t?pM(fM(t)):null}function gM(t){if(!t)return null;const n=t.filter(dM);return 0==n.length?null:function(e){return QE(mM(e,n).map(uM)).pipe(ee(hM))}}function ng(t){return null!=t?gM(fM(t)):null}function _M(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function bM(t){return t._rawValidators}function yM(t){return t._rawAsyncValidators}function ig(t){return t?Array.isArray(t)?t:[t]:[]}function eu(t,n){return Array.isArray(t)?t.includes(n):t===n}function vM(t,n){const e=ig(n);return ig(t).forEach(r=>{eu(e,r)||e.push(r)}),e}function wM(t,n){return ig(n).filter(e=>!eu(t,e))}class xM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=tg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ng(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Nn extends xM{get formDirective(){return null}get path(){return null}}class br extends xM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class DM{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let tu=(()=>{class t extends DM{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(j(br,2))},t.\u0275dir=se({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&_t("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Ce]}),t})();const fl="VALID",iu="INVALID",Bs="PENDING",pl="DISABLED";function sg(t){return(ru(t)?t.validators:t)||null}function ag(t,n){return(ru(n)?n.asyncValidators:t)||null}function ru(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class SM{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===fl}get invalid(){return this.status===iu}get pending(){return this.status==Bs}get disabled(){return this.status===pl}get enabled(){return this.status!==pl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(vM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(vM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(wM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(wM(n,this._rawAsyncValidators))}hasValidator(n){return eu(this._rawValidators,n)}hasAsyncValidator(n){return eu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Bs,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=pl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=fl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fl||this.status===Bs)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pl:fl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Bs,this._hasOwnPendingAsyncValidator=!0;const e=uM(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ct,this.statusChanges=new Ct}_calculateStatus(){return this._allControlsDisabled()?pl:this.errors?iu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bs)?Bs:this._anyControlsHaveStatus(iu)?iu:fl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ru(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function qU(t){return Array.isArray(t)?tg(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function XU(t){return Array.isArray(t)?ng(t):t||null}(this._rawAsyncValidators)}}class lg extends SM{constructor(n,e,i){super(sg(e),ag(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){(function MM(t,n,e){t._forEachChild((i,r)=>{if(void 0===e[r])throw new ne(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function EM(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new ne(1e3,"");if(!i[e])throw new ne(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const xo=new de("CallSetDisabledState",{providedIn:"root",factory:()=>gl}),gl="always";function _l(t,n,e=gl){cg(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function ZU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&TM(t,n)})}(t,n),function JU(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function QU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&TM(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function YU(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function su(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),lu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function au(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function cg(t,n){const e=bM(t);null!==n.validator?t.setValidators(_M(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=yM(t);null!==n.asyncValidator?t.setAsyncValidators(_M(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();au(n._rawValidators,r),au(n._rawAsyncValidators,r)}function lu(t,n){let e=!1;if(null!==t){if(null!==n.validator){const r=bM(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const r=yM(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return au(n._rawValidators,i),au(n._rawAsyncValidators,i),e}function TM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function IM(t,n){cg(t,n)}function AM(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const r8={provide:Nn,useExisting:Tt(()=>cu)},bl=(()=>Promise.resolve())();let cu=(()=>{class t extends Nn{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ct,this.form=new lg({},tg(e),ng(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){bl.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),_l(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){bl.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){bl.then(()=>{const i=this._findContainer(e.path),r=new lg({});IM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){bl.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){bl.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,AM(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(j(Tn,10),j(zr,10),j(xo,8))},t.\u0275dir=se({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ot("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ve([r8]),Ce]}),t})();function kM(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function RM(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const FM=class extends SM{constructor(n=null,e,i){super(sg(e),ag(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ru(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=RM(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){kM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){kM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){RM(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},a8={provide:br,useExisting:Tt(()=>yl)},PM=(()=>Promise.resolve())();let yl=(()=>{class t extends br{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new FM,this._registered=!1,this.name="",this.update=new Ct,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function hg(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Vs?e=o:function n8(t){return Object.getPrototypeOf(t.constructor)===wo}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function ug(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_l(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){PM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&vs(i);PM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function ou(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(j(Nn,9),j(Tn,10),j(zr,10),j(di,10),j(hr,8),j(xo,8))},t.\u0275dir=se({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ve([a8]),Ce,mn]}),t})(),VM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})();const mg=new de("NgModelWithFormControlWarning"),f8={provide:Nn,useExisting:Tt(()=>du)};let du=(()=>{class t extends Nn{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ct,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(lu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return _l(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){su(e.control||null,e,!1),function i8(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,AM(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(su(i||null,e),(t=>t instanceof FM)(r)&&(_l(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);IM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function e8(t,n){return lu(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){cg(this.form,this),this._oldForm&&lu(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(j(Tn,10),j(zr,10),j(xo,8))},t.\u0275dir=se({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ot("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ve([f8]),Ce,mn]}),t})(),tS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[VM]}),t})(),F8=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xo,useValue:e.callSetDisabledState??gl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[tS]}),t})(),N8=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:mg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:xo,useValue:e.callSetDisabledState??gl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[tS]}),t})();class nS{}class O8{}const yr="*";function P8(t,n){return{type:7,name:t,definitions:n,options:{}}}function L8(t,n=null){return{type:4,styles:n,timings:t}}function iS(t,n=null){return{type:2,steps:t,options:n}}function uu(t){return{type:6,styles:t,offset:null}}function V8(t,n,e){return{type:0,name:t,styles:n,options:e}}function B8(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function rS(t){Promise.resolve().then(t)}class vl{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){rS(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class oS{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,r=0;const o=this.players.length;0==o?rS(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const yg="!";let sS=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Ur(e);return new _e(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new He,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(le(sS))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),aS=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=Nt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Gd(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Ct,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Kp(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(j(j8),j(Xe),j(Be))},t.\u0275dir=se({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),lS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({providers:[sS]}),t})();const U8=["matFormFieldNotchedOutline",""],H8=["*"],z8=["textField"],$8=["iconPrefixContainer"],G8=["textPrefixContainer"];function W8(t,n){1&t&&ct(0,"span",19)}function q8(t,n){if(1&t){const e=Hm();me(0,"label",17),ot("cdkObserveContent",function(){return uh(e),hh(Ft(2)._refreshOutlineNotchWidth())}),Ye(1,1),ke(2,W8,1,0,"span",18),pe()}if(2&t){const e=Ft(2);Me("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Ut("for",e._control.id)("aria-owns",e._control.id),Ee(2),Me("ngIf",!e.hideRequiredMarker&&e._control.required)}}function X8(t,n){1&t&&ke(0,q8,3,6,"label",16),2&t&&Me("ngIf",Ft()._hasFloatingLabel())}function K8(t,n){1&t&&ct(0,"div",20)}function Y8(t,n){}function Z8(t,n){1&t&&ke(0,Y8,0,0,"ng-template",22),2&t&&(Ft(2),Me("ngTemplateOutlet",xi(1)))}function Q8(t,n){if(1&t&&(me(0,"div",21),ke(1,Z8,1,1,"ng-template",9),pe()),2&t){const e=Ft();Me("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),Ee(1),Me("ngIf",!e._forceDisplayInfixLabel())}}function J8(t,n){1&t&&(me(0,"div",23,24),Ye(2,2),pe())}function eH(t,n){1&t&&(me(0,"div",25,26),Ye(2,3),pe())}function tH(t,n){}function nH(t,n){1&t&&ke(0,tH,0,0,"ng-template",22),2&t&&(Ft(),Me("ngTemplateOutlet",xi(1)))}function iH(t,n){1&t&&(me(0,"div",27),Ye(1,4),pe())}function rH(t,n){1&t&&(me(0,"div",28),Ye(1,5),pe())}function oH(t,n){1&t&&ct(0,"div",29)}function sH(t,n){1&t&&(me(0,"div",30),Ye(1,6),pe()),2&t&&Me("@transitionMessages",Ft()._subscriptAnimationState)}function aH(t,n){if(1&t&&(me(0,"mat-hint",34),Pe(1),pe()),2&t){const e=Ft(2);Me("id",e._hintLabelId),Ee(1),lo(e.hintLabel)}}function lH(t,n){if(1&t&&(me(0,"div",31),ke(1,aH,2,2,"mat-hint",32),Ye(2,7),ct(3,"div",33),Ye(4,8),pe()),2&t){const e=Ft();Me("@transitionMessages",e._subscriptAnimationState),Ee(1),Me("ngIf",e.hintLabel)}}const cH=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],dH=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let wl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["mat-label"]]}),t})();const uH=new de("MatError");let hH=0,cS=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+hH++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&($c("id",i.id),Ut("align",null),_t("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),t})();const mH=new de("MatPrefix"),fH=new de("MatSuffix");let dS=(()=>{class t{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function pH(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(j(Xe))},t.\u0275dir=se({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&_t("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),t})();const uS="mdc-line-ripple--active",hu="mdc-line-ripple--deactivating";let hS=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(hu);"opacity"===r.propertyName&&s&&o.remove(uS,hu)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(hu),e.add(uS)}deactivate(){this._elementRef.nativeElement.classList.add(hu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be))},t.\u0275dir=se({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),t})(),mS=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be))},t.\u0275cmp=Dt({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&_t("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:U8,ngContentSelectors:H8,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(En(),ct(0,"div",0),me(1,"div",1),Ye(2),pe(),ct(3,"div",2)),2&e&&(Ee(1),Nr("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),t})();const gH={transitionMessages:P8("transitionMessages",[V8("enter",uu({opacity:1,transform:"translateY(0%)"})),B8("void => enter",[uu({opacity:0,transform:"translateY(-5px)"}),L8("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let fS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t}),t})();const pS=new de("MatFormField"),_H=new de("MAT_FORM_FIELD_DEFAULT_OPTIONS");let gS=0,vg=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Nt(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,s,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._document=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+gS++,this._hintLabelId="mat-mdc-hint-"+gS++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new He,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ci(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),zu(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ci(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ci(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(hr),j(Be),j(OE),j(vn),j(_H,8),j(vi,8),j(vt))},t.\u0275cmp=Dt({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Lt(r,wl,5),Lt(r,wl,7),Lt(r,fS,5),Lt(r,mH,5),Lt(r,fH,5),Lt(r,uH,5),Lt(r,cS,5)),2&e){let o;Ze(o=Qe())&&(i._labelChildNonStatic=o.first),Ze(o=Qe())&&(i._labelChildStatic=o.first),Ze(o=Qe())&&(i._formFieldControl=o.first),Ze(o=Qe())&&(i._prefixChildren=o),Ze(o=Qe())&&(i._suffixChildren=o),Ze(o=Qe())&&(i._errorChildren=o),Ze(o=Qe())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Sn(z8,5),Sn($8,5),Sn(G8,5),Sn(dS,5),Sn(mS,5),Sn(hS,5)),2&e){let r;Ze(r=Qe())&&(i._textField=r.first),Ze(r=Qe())&&(i._iconPrefixContainer=r.first),Ze(r=Qe())&&(i._textPrefixContainer=r.first),Ze(r=Qe())&&(i._floatingLabel=r.first),Ze(r=Qe())&&(i._notchedOutline=r.first),Ze(r=Qe())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&_t("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ve([{provide:pS,useExisting:t}])],ngContentSelectors:dH,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(En(cH),ke(0,X8,1,1,"ng-template",null,0,_s),me(2,"div",1,2),ot("click",function(o){return i._control.onContainerClick(o)}),ke(4,K8,1,0,"div",3),me(5,"div",4),ke(6,Q8,2,3,"div",5),ke(7,J8,3,0,"div",6),ke(8,eH,3,0,"div",7),me(9,"div",8),ke(10,nH,1,1,"ng-template",9),Ye(11),pe(),ke(12,iH,2,0,"div",10),ke(13,rH,2,0,"div",11),pe(),ke(14,oH,1,0,"div",12),pe(),me(15,"div",13),ke(16,sH,2,1,"div",14),ke(17,lH,5,2,"div",15),pe()),2&e&&(Ee(2),_t("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),Ee(2),Me("ngIf",!i._hasOutline()&&!i._control.disabled),Ee(2),Me("ngIf",i._hasOutline()),Ee(1),Me("ngIf",i._hasIconPrefix),Ee(1),Me("ngIf",i._hasTextPrefix),Ee(2),Me("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),Ee(2),Me("ngIf",i._hasTextSuffix),Ee(1),Me("ngIf",i._hasIconSuffix),Ee(1),Me("ngIf",!i._hasOutline()),Ee(1),_t("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),Me("ngSwitch",i._getDisplayedMessages()),Ee(1),Me("ngSwitchCase","error"),Ee(1),Me("ngSwitchCase","hint"))},dependencies:[hd,Jf,md,bD,aS,cS,dS,mS,hS],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[gH.transitionMessages]},changeDetection:0}),t})(),wg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,za,lS,Wt]}),t})();const vH=new de("MAT_INPUT_VALUE_ACCESSOR"),wH=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let xH=0;const DH=iU(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new He}});let xg=(()=>{class t extends DH{get disabled(){return this._disabled}set disabled(e){this._disabled=Nt(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(UU.required)??!1}set required(e){this._required=Nt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&bE().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Nt(e)}constructor(e,i,r,o,s,a,l,c,d,u){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+xH++,this.focused=!1,this.stateChanges=new He,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(P=>bE().has(P)),this._iOSKeyupListener=P=>{const V=P.target;!V.value&&0===V.selectionStart&&0===V.selectionEnd&&(V.setSelectionRange(1,1),V.setSelectionRange(0,0))};const b=this._elementRef.nativeElement,C=b.nodeName.toLowerCase();this._inputValueAccessor=l||b,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=b.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){wH.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(vn),j(br,10),j(cu,8),j(du,8),j(oU),j(vH,10),j(NU),j(Be),j(pS,8))},t.\u0275dir=se({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&ot("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&($c("id",i.id)("disabled",i.disabled)("required",i.required),Ut("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),_t("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ve([{provide:fS,useExisting:t}]),Ce,mn]}),t})(),CH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,wg,wg,OU,Wt]}),t})();const EH=function(){return["/register"]};let MH=(()=>{class t{constructor(e,i){this.authService=e,this.router=i,this.formData={}}login(){console.log("login attempt"),console.log(this.formData),this.authService.login(this.formData.login,this.formData.password)}}return t.\u0275fac=function(e){return new(e||t)(j(Hd),j(yn))},t.\u0275cmp=Dt({type:t,selectors:[["app-login-page"]],decls:23,vars:4,consts:[[1,"container"],[1,"margin-column"],[1,"col-left"],[1,"login-card"],[1,"card-title"],["appearance","fill"],["matInput","","type","login","placeholder","Enter your login",3,"ngModel","ngModelChange"],["matInput","","type","password","placeholder","Enter your password",3,"ngModel","ngModelChange"],[1,"signup-link"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"login-button",3,"click"]],template:function(e,i){1&e&&(me(0,"div",0),ct(1,"div",1),me(2,"div",2)(3,"mat-card",3)(4,"mat-card-header")(5,"mat-card-title",4),Pe(6,"Login"),pe()(),me(7,"mat-card-content")(8,"mat-form-field",5)(9,"mat-label"),Pe(10,"Login"),pe(),me(11,"input",6),ot("ngModelChange",function(o){return i.formData.login=o}),pe()(),me(12,"mat-form-field",5)(13,"mat-label"),Pe(14,"Password"),pe(),me(15,"input",7),ot("ngModelChange",function(o){return i.formData.password=o}),pe()(),me(16,"div",8),Pe(17," Don't have an account? "),me(18,"a",9),Pe(19,"Sign Up"),pe()(),me(20,"button",10),ot("click",function(){return i.login()}),Pe(21," Login "),pe()()()(),ct(22,"div",1),pe()),2&e&&(Ee(11),Me("ngModel",i.formData.login),Ee(4),Me("ngModel",i.formData.password),Ee(3),Me("routerLink",gs(3,EH)))},dependencies:[eg,Rs,Kd,Zd,Qd,Yd,xg,vg,wl,Vs,tu,yl],styles:[".container[_ngcontent-%COMP%]{display:flex;width:100%}.margin-column[_ngcontent-%COMP%], .col-left[_ngcontent-%COMP%]{flex:1}.col-right[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.login-card[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;color:#fff}.login-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.signup-link[_ngcontent-%COMP%]{margin-bottom:10px;text-align:center}.signup-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:orange;text-decoration:none}.login-button[_ngcontent-%COMP%]{width:100%;background-color:orange;color:#000;margin-bottom:10px}.card-title[_ngcontent-%COMP%]{color:orange}"]}),t})(),SH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,Wt]}),t})();function Dg(t){return t&&"function"==typeof t.connect&&!(t instanceof pp)}class yS{applyChanges(n,e,i,r,o){n.forEachOperation((s,a,l)=>{let c,d;if(null==s.previousIndex){const u=i(s,a,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else null==l?(e.remove(a),d=3):(c=e.get(a),e.move(c,l),d=2);o&&o({context:c?.context,operation:d,record:s})})}detach(){}}class wS{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new He,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let e of this._selection)if(this.compareWith(n,e))return e;return n}return n}}let TH=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xl=new de("_ViewRepeater"),IH=["*"],kH=["unscopedContent"];function RH(t,n){1&t&&Ye(0,4)}function FH(t,n){if(1&t&&(me(0,"div",11),ct(1,"input",12),me(2,"div",13),function Ab(){Oe.lFrame.currentNamespace=ub}(),me(3,"svg",14),ct(4,"path",15),pe(),function kb(){!function CA(){Oe.lFrame.currentNamespace=null}()}(),ct(5,"div",16),pe()()),2&t){const e=Ft();_t("mdc-checkbox--disabled",e.disabled),Ee(1),Me("checked",e.selected)("disabled",e.disabled)}}function NH(t,n){if(1&t&&(me(0,"div",17),ct(1,"input",18),me(2,"div",19),ct(3,"div",20)(4,"div",21),pe()()),2&t){const e=Ft();_t("mdc-radio--disabled",e.disabled),Ee(1),Me("checked",e.selected)("disabled",e.disabled)}}function OH(t,n){}function PH(t,n){if(1&t&&(me(0,"span",22),ke(1,OH,0,0,"ng-template",23),pe()),2&t){Ft();const e=xi(3);Ee(1),Me("ngTemplateOutlet",e)}}function LH(t,n){}function VH(t,n){if(1&t&&(me(0,"span",24),ke(1,LH,0,0,"ng-template",23),pe()),2&t){Ft();const e=xi(5);Ee(1),Me("ngTemplateOutlet",e)}}function BH(t,n){}function jH(t,n){1&t&&ke(0,BH,0,0,"ng-template",23),2&t&&(Ft(),Me("ngTemplateOutlet",xi(1)))}function UH(t,n){}function HH(t,n){if(1&t&&(me(0,"span",25),ke(1,UH,0,0,"ng-template",23),pe()),2&t){Ft();const e=xi(3);Ee(1),Me("ngTemplateOutlet",e)}}function zH(t,n){}function $H(t,n){if(1&t&&(me(0,"span",25),ke(1,zH,0,0,"ng-template",23),pe()),2&t){Ft();const e=xi(5);Ee(1),Me("ngTemplateOutlet",e)}}function GH(t,n){}function WH(t,n){1&t&&ke(0,GH,0,0,"ng-template",23),2&t&&(Ft(),Me("ngTemplateOutlet",xi(1)))}const qH=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],XH=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],xS=new de("ListOption");let KH=(()=>{class t{constructor(e){this._elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(j(Xe))},t.\u0275dir=se({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),t})(),YH=(()=>{class t{constructor(e){this._elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(j(Xe))},t.\u0275dir=se({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),t})(),DS=(()=>{class t{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return t.\u0275fac=function(e){return new(e||t)(j(xS,8))},t.\u0275dir=se({type:t,hostVars:4,hostBindings:function(e,i){2&e&&_t("mdc-list-item__start",i._isAlignedAtStart())("mdc-list-item__end",!i._isAlignedAtStart())}}),t})(),ZH=(()=>{class t extends DS{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[Ce]}),t})(),QH=(()=>{class t extends DS{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[Ce]}),t})();const JH=new de("MAT_LIST_CONFIG");let Cg=(()=>{class t{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=ye(JH,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Nt(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=Nt(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,hostVars:1,hostBindings:function(e,i){2&e&&Ut("aria-disabled",i.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),t})(),CS=(()=>{class t{set lines(e){this._explicitLines=Gd(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Nt(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=Nt(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,o,s,a){this._elementRef=e,this._ngZone=i,this._listBase=r,this._platform=o,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new H,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=s||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===a,r&&!r._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new vo(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(zu(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===i),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===i),this._hasUnscopedTextContent){const o=0===this._titles.length&&1===i;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be),j(Cg,8),j(vn),j(Xd,8),j(vi,8))},t.\u0275dir=se({type:t,contentQueries:function(e,i,r){if(1&e&&(Lt(r,ZH,4),Lt(r,QH,4)),2&e){let o;Ze(o=Qe())&&(i._avatars=o),Ze(o=Qe())&&(i._icons=o)}},hostVars:4,hostBindings:function(e,i){2&e&&(Ut("aria-disabled",i.disabled)("disabled",i._isButtonElement&&i.disabled||null),_t("mdc-list-item--disabled",i.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),t})();const ES=new de("SelectionList");let ez=(()=>{class t extends CS{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const i=Nt(e);i!==this._selected&&(this._setSelected(i),(i||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,i,r,o,s,a,l){super(e,i,r,o,a,l),this._selectionList=r,this._changeDetectorRef=s,this.selectedChange=new Ct,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const i=this._selected;Promise.resolve().then(()=>{(this._selected||i)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,i){return this._getTogglePosition()!==i&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be),j(ES),j(vn),j(hr),j(Xd,8),j(vi,8))},t.\u0275cmp=Dt({type:t,selectors:[["mat-list-option"]],contentQueries:function(e,i,r){if(1&e&&(Lt(r,YH,5),Lt(r,KH,5)),2&e){let o;Ze(o=Qe())&&(i._lines=o),Ze(o=Qe())&&(i._titles=o)}},viewQuery:function(e,i){if(1&e&&Sn(kH,5),2&e){let r;Ze(r=Qe())&&(i._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,i){1&e&&ot("blur",function(){return i._handleBlur()})("click",function(){return i._toggleOnInteraction()}),2&e&&(Ut("aria-selected",i.selected),_t("mdc-list-item--selected",i.selected&&!i._selectionList.multiple&&i._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",i._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",i._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",i._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",i._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",i._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",i._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",i._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",i._hasRadioAt("after"))("mat-accent","primary"!==i.color&&"warn"!==i.color)("mat-warn","warn"===i.color)("_mat-animation-noopable",i._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[Ve([{provide:CS,useExisting:t},{provide:xS,useExisting:t}]),Ce],ngContentSelectors:XH,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,i){1&e&&(En(qH),ke(0,RH,1,0,"ng-template",null,0,_s),ke(2,FH,6,4,"ng-template",null,1,_s),ke(4,NH,5,4,"ng-template",null,2,_s),ke(6,PH,2,1,"span",3),ke(7,VH,2,1,"span",4),ke(8,jH,1,1,"ng-template",5),me(9,"span",6),Ye(10),Ye(11,1),me(12,"span",7,8),ot("cdkObserveContent",function(){return i._updateItemLines(!0)}),Ye(14,2),pe()(),ke(15,HH,2,1,"span",9),ke(16,$H,2,1,"span",9),ke(17,WH,1,1,"ng-template",5),Ye(18,3),ct(19,"div",10)),2&e&&(Ee(6),Me("ngIf",i._hasCheckboxAt("before")),Ee(1),Me("ngIf",i._hasRadioAt("before")),Ee(1),Me("ngIf",i._hasIconsOrAvatarsAt("before")),Ee(7),Me("ngIf",i._hasCheckboxAt("after")),Ee(1),Me("ngIf",i._hasRadioAt("after")),Ee(1),Me("ngIf",i._hasIconsOrAvatarsAt("after")))},dependencies:[aS,hd,Jf],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),t})();const tz={provide:di,useExisting:Tt(()=>MS),multi:!0};class nz{constructor(n,e){this.source=n,this.options=e}}let MS=(()=>{class t extends Cg{get multiple(){return this._multiple}set multiple(e){const i=Nt(e);i!==this._multiple&&(this._multiple=i,this.selectedOptions=new wS(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Nt(e)}constructor(e,i){super(),this._element=e,this._ngZone=i,this._initialized=!1,this._destroyed=new He,this._onChange=r=>{},this.selectionChange=new Ct,this.color="accent",this.compareWith=(r,o)=>r===o,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new wS(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const o=this._items.toArray().findIndex(s=>s._elementRef.nativeElement.contains(r.target));o>-1?this._setActiveOption(o):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const i=e.disabled,r=e.disableRipple,o=e.hideSingleSelectionIndicator;(r&&!r.firstChange||i&&!i.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new nz(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=Nt(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(ci(this._destroyed)).subscribe(e=>{for(let i of e.added)i.selected=!0;for(let i of e.removed)i.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(i=>i._setSelected(!1)),e.forEach(i=>{const r=this.options.find(o=>!o.selected&&this.compareWith(o.value,i));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,i){const r=[];return this.options.forEach(o=>{(!i||!o.disabled)&&o._setSelected(e)&&r.push(o)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const i=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!i||i.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&vE(e,"ctrlKey")){const r=this.options.some(o=>!o.disabled&&!o.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),i._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new Lj(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(ci(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((i,r)=>i._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(i=>i.selected&&!i.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=function sj(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}();return e&&this._element.nativeElement.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(Be))},t.\u0275cmp=Dt({type:t,selectors:[["mat-selection-list"]],contentQueries:function(e,i,r){if(1&e&&Lt(r,ez,5),2&e){let o;Ze(o=Qe())&&(i._items=o)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,i){1&e&&ot("keydown",function(o){return i._handleKeydown(o)}),2&e&&Ut("aria-multiselectable",i.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Ve([tz,{provide:Cg,useExisting:t},{provide:ES,useExisting:t}]),Ce,mn],ngContentSelectors:IH,decls:1,vars:0,template:function(e,i){1&e&&(En(),Ye(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),t})(),iz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[lS,za,Wt,Qp,dU,SH]}),t})();class rz{constructor(n,e,i,r,o,s,a,l,c){this.id=n,this.name=e,this.link=i,this.riffs=r,this.durationMs=o,this.userId=s,this.lastUpdateUserId=a,this.uploadDate=l,this.updateDate=c}display(){console.log("Song:",JSON.stringify(this))}}var oz=N(5452);class sz{constructor(n,e,i,r,o){this.id=n,this.name=e,this.startMs=i,this.endMs=r,this.groupColor=o}}let az=(()=>{class t{constructor(e){this.http=e,this.apiUrl="http://localhost:8080/song",this.pdfUrl="http://localhost:8080/pdf"}getAllSongs(){return this.http.get(this.apiUrl)}uploadSong(e){const i=new ei({"Content-Type":"application/json"});return this.http.post(this.apiUrl,e,{headers:i})}parseXmlToSong(e){return new _e(i=>{(0,oz.parseString)(e,(r,o)=>{if(r)i.error(r);else{const s=o.Track,a=s.Name[0],c=s.Riffs[0].Riff.map(u=>new sz(0,u.Name[0],u.StartMs[0],u.EndMs[0],u.GroupColor[0])),d=new rz(0,a,"",c,0,0,0,new Date,new Date);i.next(d),i.complete()}})})}generateXaml(e){return`<Song>${this.songToXml(e)}</Song>`}songToXml(e){const r=N(7904).create("Track",{version:"1.0",encoding:"UTF-8"});if(e.riffs&&e.riffs.length>0){const o=r.ele("Riffs");for(const s of e.riffs){const a=o.ele("Riff");a.ele("Name",s.name),a.ele("StartMs",s.startMs),a.ele("EndMs",s.endMs),a.ele("GroupColor",s.groupColor),a.up()}}return r.ele("Name",e.name),r.end({pretty:!0})}generatePdf(e){return this.http.get(`${this.pdfUrl}/${e}`,{responseType:"blob"})}deleteSong(e){return this.http.delete(`${this.apiUrl}/${e}`)}}return t.\u0275fac=function(e){return new(e||t)(le(al))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const lz=["*"];let mu;function Dl(t){return function cz(){if(void 0===mu&&(mu=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(mu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return mu}()?.createHTML(t)||t}function SS(t){return Error(`Unable to find icon with the name "${t}"`)}function TS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function IS(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Co{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let fu=(()=>{class t{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Co(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(gt.HTML,r);if(!s)throw IS(r);const a=Dl(s);return this._addSvgIconConfig(e,i,new Co("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Co(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(gt.HTML,i);if(!o)throw IS(i);const s=Dl(o);return this._addSvgIconSetConfig(e,new Co("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(gt.RESOURCE_URL,e);if(!i)throw TS(e);const r=this._cachedIconsByUrl.get(i);return r?Te(pu(r)):this._loadSvgIconFromConfig(new Co(e,null)).pipe(dn(o=>this._cachedIconsByUrl.set(i,o)),ee(o=>pu(o)))}getNamedSvgIcon(e,i=""){const r=AS(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):ws(SS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Te(pu(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ee(i=>pu(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Te(r):QE(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Vr(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(gt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Te(null)})))).pipe(ee(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw SS(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(dn(i=>e.svgText=i),ee(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Te(null):this._fetchIcon(e).pipe(dn(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Dl("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Dl("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){const{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw function dz(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(gt.RESOURCE_URL,i);if(!s)throw TS(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(ee(c=>Dl(c)),Ds(()=>this._inProgressUrlFetches.delete(s)),$u());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(AS(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,e);if(o)return hz(o)?new Co(o.url,null,o.options):new Co(o,null)}}}return t.\u0275fac=function(e){return new(e||t)(le(al,8),le(mp),le(vt,8),le(Bi))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function pu(t){return t.cloneNode(!0)}function AS(t,n){return t+":"+n}function hz(t){return!(!t.url||!t.options)}const mz=Zp(class{constructor(t){this._elementRef=t}}),fz=new de("MAT_ICON_DEFAULT_OPTIONS"),pz=new de("mat-icon-location",{providedIn:"root",factory:function gz(){const t=ye(vt),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),kS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_z=kS.map(t=>`[${t}]`).join(", "),bz=/^url\(['"]?#(.*?)['"]?\)$/;let RS=(()=>{class t extends mz{get inline(){return this._inline}set inline(e){this._inline=Nt(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=H.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(_z),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)kS.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(bz):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(qi(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(fu),eo("aria-hidden"),j(pz),j(Bi),j(fz,8))},t.\u0275cmp=Dt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Ut("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),_t("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ce],ngContentSelectors:lz,decls:1,vars:0,template:function(e,i){1&e&&(En(),Ye(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),yz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,Wt]}),t})();const vz=["input"],wz=["*"];let FS=0;class NS{constructor(n,e){this.source=n,this.value=e}}const xz={provide:di,useExisting:Tt(()=>PS),multi:!0},OS=new de("MatRadioGroup"),Dz=new de("mat-radio-default-options",{providedIn:"root",factory:function Cz(){return{color:"accent"}}});let Ez=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Nt(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Nt(e),this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+FS++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Ct}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new NS(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(j(hr))},t.\u0275dir=se({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),t})();class Mz{constructor(n){this._elementRef=n}}const Sz=VE(nU(Mz));let Tz=(()=>{class t extends Sz{get checked(){return this._checked}set checked(e){const i=Nt(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Nt(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Nt(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++FS,this.id=this._uniqueId,this.change=new Ct,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=Gd(c,0))}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new NS(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){const r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}}return t.\u0275fac=function(e){va()},t.\u0275dir=se({type:t,viewQuery:function(e,i){if(1&e&&Sn(vz,5),2&e){let r;Ze(r=Qe())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[Ce]}),t})(),PS=(()=>{class t extends Ez{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Lt(r,LS,5),2&e){let o;Ze(o=Qe())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[Ve([xz,{provide:OS,useExisting:t}]),Ce]}),t})(),LS=(()=>{class t extends Tz{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(j(OS,8),j(Xe),j(hr),j(RE),j(TH),j(vi,8),j(Dz,8),eo("tabindex"))},t.\u0275cmp=Dt({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(e,i){1&e&&ot("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(Ut("id",i.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),_t("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("mat-mdc-radio-checked",i.checked)("_mat-animation-noopable",i._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[Ce],ngContentSelectors:wz,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(e,i){if(1&e&&(En(),me(0,"div",0,1)(2,"div",2)(3,"div",3),ot("click",function(o){return i._onTouchTargetClick(o)}),pe(),me(4,"input",4,5),ot("change",function(o){return i._onInputInteraction(o)}),pe(),me(6,"div",6),ct(7,"div",7)(8,"div",8),pe(),me(9,"div",9),ct(10,"div",10),pe()(),me(11,"label",11),Ye(12),pe()()),2&e){const r=xi(1);_t("mdc-form-field--align-end","before"==i.labelPosition),Ee(2),_t("mdc-radio--disabled",i.disabled),Ee(2),Me("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),Ut("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),Ee(5),Me("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0),Ee(2),Me("for",i.inputId)}},dependencies:[$E],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0}),t})(),Iz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,za,Qp,Wt]}),t})();const Cl={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Cl;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(o=>{e=void 0,t(o)});return new H(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:n}=Cl;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Cl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class kz extends qp{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class Az extends Wp{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Cl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Cl.cancelAnimationFrame(e),n._scheduled=void 0)}});let Eg,Fz=1;const gu={};function VS(t){return t in gu&&(delete gu[t],!0)}const Nz={setImmediate(t){const n=Fz++;return gu[n]=!0,Eg||(Eg=Promise.resolve()),Eg.then(()=>VS(n)&&t()),n},clearImmediate(t){VS(t)}},{setImmediate:Oz,clearImmediate:Pz}=Nz,_u={setImmediate(...t){const{delegate:n}=_u;return(n?.setImmediate||Oz)(...t)},clearImmediate(t){const{delegate:n}=_u;return(n?.clearImmediate||Pz)(t)},delegate:void 0};new class Vz extends qp{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class Lz extends Wp{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=_u.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(_u.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});function zz(t,n=Xp){return function jz(t){return kt((n,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(x(e,c=>{i=!0,r=c,o||Pn(t(c)).subscribe(o=x(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>function Hz(t=0,n,e=Tj){let i=-1;return null!=n&&(C_(n)?e=n:i=n),new _e(r=>{let o=function Uz(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(t,n))}let Gz=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new He,this._changeListener=o=>{this._change.next(o)},this._document=r,i.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:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(zz(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(le(vn),le(Be),le(vt,8))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),BS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({}),t})(),Wz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[qd,BS,qd,BS]}),t})();const qz=[[["caption"]],[["colgroup"],["col"]]],Xz=["caption","colgroup, col"];function Mg(t){return class extends t{get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=Nt(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}}}const js=new de("CDK_TABLE");let Us=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(j(bn))},t.\u0275dir=se({type:t,selectors:[["","cdkCellDef",""]]}),t})(),Hs=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(j(bn))},t.\u0275dir=se({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),bu=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(j(bn))},t.\u0275dir=se({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Qz{}const Jz=Mg(Qz);let vr=(()=>{class t extends Jz{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=Nt(e),this._hasStickyChanged=i!==this._stickyEnd}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(j(js,8))},t.\u0275dir=se({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Lt(r,Us,5),Lt(r,Hs,5),Lt(r,bu,5)),2&e){let o;Ze(o=Qe())&&(i.cell=o.first),Ze(o=Qe())&&(i.headerCell=o.first),Ze(o=Qe())&&(i.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ve([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ce]}),t})();class Sg{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let Tg=(()=>{class t extends Sg{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(j(vr),j(Xe))},t.\u0275dir=se({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ce]}),t})(),Ig=(()=>{class t extends Sg{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(j(vr),j(Xe))},t.\u0275dir=se({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ce]}),t})();class US{constructor(){this.tasks=[],this.endTasks=[]}}const Ag=new de("_COALESCED_STYLE_SCHEDULER");let HS=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new He}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new US,this._getScheduleObservable().pipe(ci(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new US;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Qt(Promise.resolve(void 0)):this._ngZone.onStable.pipe(qi(1))}}return t.\u0275fac=function(e){return new(e||t)(le(Be))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})(),kg=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof El?e.headerCell.template:this instanceof Ml?e.footerCell.template:e.cell.template}}return t.\u0275fac=function(e){return new(e||t)(j(bn),j(mr))},t.\u0275dir=se({type:t,features:[mn]}),t})();class e6 extends kg{}const t6=Mg(e6);let El=(()=>{class t extends t6{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(j(bn),j(mr),j(js,8))},t.\u0275dir=se({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Ce,mn]}),t})();class n6 extends kg{}const i6=Mg(n6);let Ml=(()=>{class t extends i6{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(j(bn),j(mr),j(js,8))},t.\u0275dir=se({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Ce,mn]}),t})(),yu=(()=>{class t extends kg{constructor(e,i,r){super(e,i),this._table=r}}return t.\u0275fac=function(e){return new(e||t)(j(bn),j(mr),j(js,8))},t.\u0275dir=se({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Ce]}),t})(),wr=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t.\u0275fac=function(e){return new(e||t)(j(Mn))},t.\u0275dir=se({type:t,selectors:[["","cdkCellOutlet",""]]}),t})(),Rg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[wr],encapsulation:2}),t})(),Ng=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[wr],encapsulation:2}),t})(),vu=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return t.\u0275fac=function(e){return new(e||t)(j(bn))},t.\u0275dir=se({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const zS=["top","bottom","left","right"];class r6{constructor(n,e,i,r,o=!0,s=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const r of n)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o<r.children.length;o++)i.push(r.children[o])}this._coalescedStyleScheduler.schedule(()=>{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,i,r=!0){if(!n.length||!this._isBrowser||!e.some(b=>b)&&!i.some(b=>b))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=n[0],s=o.children.length,a=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(a,e),c=this._getStickyEndColumnPositions(a,i),d=e.lastIndexOf(!0),u=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const b="rtl"===this.direction,C=b?"right":"left",P=b?"left":"right";for(const V of n)for(let W=0;W<s;W++){const ie=V.children[W];e[W]&&this._addStickyStyle(ie,C,l[W],W===d),i[W]&&this._addStickyStyle(ie,P,c[W],W===u)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===d?[]:a.slice(0,d+1).map((V,W)=>e[W]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:a.slice(u).map((V,W)=>i[W+u]?V:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const r="bottom"===i?n.slice().reverse():n,o="bottom"===i?e.slice().reverse():e,s=[],a=[],l=[];for(let d=0,u=0;d<r.length;d++){if(!o[d])continue;s[d]=u;const b=r[d];l[d]=this._isNativeHtmlTable?Array.from(b.children):[b];const C=b.getBoundingClientRect().height;u+=C,a[d]=C}const c=o.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let d=0;d<r.length;d++){if(!o[d])continue;const u=s[d],b=d===c;for(const C of l[d])this._addStickyStyle(C,i,u,b)}"top"===i?this._positionListener?.stickyHeaderRowsUpdated({sizes:a,offsets:s,elements:l}):this._positionListener?.stickyFooterRowsUpdated({sizes:a,offsets:s,elements:l})})}updateStickyFooterContainer(n,e){if(!this._isNativeHtmlTable)return;const i=n.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);zS.some(r=>-1===e.indexOf(r)&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of zS)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=n.children;for(let o=0;o<r.length;o++)i.push(r[o].getBoundingClientRect().width);return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){const i=[];let r=0;for(let o=0;o<n.length;o++)e[o]&&(i[o]=r,r+=n[o]);return i}_getStickyEndColumnPositions(n,e){const i=[];let r=0;for(let o=n.length;o>0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}}const Og=new de("CDK_SPL");let wu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(Xe))},t.\u0275dir=se({type:t,selectors:[["","rowOutlet",""]]}),t})(),xu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(Xe))},t.\u0275dir=se({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),Du=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(Xe))},t.\u0275dir=se({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Cu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(j(Mn),j(Xe))},t.\u0275dir=se({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),Eu=(()=>{class t{get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Nt(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Nt(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,r,o,s,a,l,c,d,u,b,C){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=s,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=b,this._ngZone=C,this._onDestroy=new He,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Ct,this.viewChange=new Yt({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(ci(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Dg(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,s)=>this._getEmbeddedViewArgs(r.item,s),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&Be.isInAngularZone()?this._ngZone.onStable.pipe(qi(1),ci(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const o=this._headerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const o=this._footerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{const s=[];for(let a=0;a<i.length;a++)this._renderRows[a].rowDef===o&&s.push(i[a]);this._addStickyColumnStyles(s,o)}),r.forEach((o,s)=>{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r<this._data.length;r++){let o=this._data[r];const s=this._getRenderRowsForData(o,r,i.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let a=0;a<s.length;a++){let l=s[a];const c=this._cachedRenderRowsMap.get(l.data);c.has(l.rowDef)?c.get(l.rowDef).push(l):c.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(s=>{const a=r&&r.has(s)?r.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Mu(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Mu(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Mu(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Mu(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],Dg(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Dg(this.dataSource)?e=this.dataSource.connect(this):qD(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Te(this.dataSource)),this._renderChangeSubscription=e.pipe(ci(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const r=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),o=r.map(a=>a.sticky),s=r.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r<e.viewContainer.length;r++){const o=e.viewContainer.get(r);i.push(o.rootNodes[0])}return i}_getRowDefs(e,i){if(1==this._rowDefs.length)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,e));else{let o=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,o={}){const s=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),s}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))wr.mostRecentCellOutlet&&wr.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){const s=e.get(i).context;s.count=r,s.first=0===i,s.last=i===r-1,s.even=i%2==0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[i].dataIndex,s.renderIndex=i):s.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,i=>{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const o=this._document.createElement(r.tag);o.setAttribute("role","rowgroup");for(const s of r.outlets)o.appendChild(s.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new r6(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Te()).pipe(ci(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const o=r.createEmbeddedView(e.templateRef),s=o.rootNodes[0];1===o.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return t.\u0275fac=function(e){return new(e||t)(j(mr),j(hr),j(Xe),eo("role"),j(OE,8),j(vt),j(vn),j(xl),j(Ag),j(Gz),j(Og,12),j(Be,8))},t.\u0275cmp=Dt({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Lt(r,vu,5),Lt(r,vr,5),Lt(r,yu,5),Lt(r,El,5),Lt(r,Ml,5)),2&e){let o;Ze(o=Qe())&&(i._noDataRow=o.first),Ze(o=Qe())&&(i._contentColumnDefs=o),Ze(o=Qe())&&(i._contentRowDefs=o),Ze(o=Qe())&&(i._contentHeaderRowDefs=o),Ze(o=Qe())&&(i._contentFooterRowDefs=o)}},viewQuery:function(e,i){if(1&e&&(Sn(wu,7),Sn(xu,7),Sn(Du,7),Sn(Cu,7)),2&e){let r;Ze(r=Qe())&&(i._rowOutlet=r.first),Ze(r=Qe())&&(i._headerRowOutlet=r.first),Ze(r=Qe())&&(i._footerRowOutlet=r.first),Ze(r=Qe())&&(i._noDataRowOutlet=r.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&_t("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ve([{provide:js,useExisting:t},{provide:xl,useClass:yS},{provide:Ag,useClass:HS},{provide:Og,useValue:null}])],ngContentSelectors:Xz,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(En(qz),Ye(0),Ye(1,1),Hi(2,0)(3,1)(4,2)(5,3))},dependencies:[wu,xu,Du,Cu],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})();function Mu(t,n){return t.concat(Array.from(n))}let s6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wz]}),t})();const a6=[[["caption"]],[["colgroup"],["col"]]],l6=["caption","colgroup, col"];let GS=(()=>{class t extends Eu{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275cmp=Dt({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(e,i){2&e&&_t("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[Ve([{provide:Eu,useExisting:t},{provide:js,useExisting:t},{provide:Ag,useClass:HS},{provide:xl,useClass:yS},{provide:Og,useValue:null}]),Ce],ngContentSelectors:l6,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(En(a6),Ye(0),Ye(1,1),Hi(2,0)(3,1)(4,2)(5,3))},dependencies:[wu,xu,Du,Cu],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),t})(),Pg=(()=>{class t extends Us{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matCellDef",""]],features:[Ve([{provide:Us,useExisting:t}]),Ce]}),t})(),Lg=(()=>{class t extends Hs{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ve([{provide:Hs,useExisting:t}]),Ce]}),t})(),Vg=(()=>{class t extends vr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ve([{provide:vr,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ce]}),t})(),Bg=(()=>{class t extends Tg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ce]}),t})(),jg=(()=>{class t extends Ig{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ce]}),t})(),WS=(()=>{class t extends El{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ve([{provide:El,useExisting:t}]),Ce]}),t})(),qS=(()=>{class t extends yu{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275dir=se({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ve([{provide:yu,useExisting:t}]),Ce]}),t})(),XS=(()=>{class t extends Rg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275cmp=Dt({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ve([{provide:Rg,useExisting:t}]),Ce],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[wr],encapsulation:2}),t})(),KS=(()=>{class t extends Ng{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=rt(t)))(i||t)}}(),t.\u0275cmp=Dt({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ve([{provide:Ng,useExisting:t}]),Ce],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[wr],encapsulation:2}),t})(),g6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,s6,Wt]}),t})();function b6(t,n){if(1&t){const e=Hm();me(0,"button",22),ot("click",function(){return uh(e),hh(Ft().removeSelectedSong())}),me(1,"mat-icon"),Pe(2,"delete"),pe(),Pe(3," Remove Song "),pe()}2&t&&Me("disabled",!Ft().selectedSong)}function y6(t,n){if(1&t&&(me(0,"mat-radio-button",23),Pe(1),pe()),2&t){const e=n.$implicit;Me("value",e),Ee(1),ur(" ",e.name," ")}}function v6(t,n){1&t&&(me(0,"th",35),Pe(1,"Riff Name"),pe())}function w6(t,n){if(1&t&&(me(0,"td",36),Pe(1),pe()),2&t){const e=n.$implicit;Ee(1),lo(e.name)}}function x6(t,n){1&t&&(me(0,"th",35),Pe(1,"Start (ms)"),pe())}function D6(t,n){if(1&t&&(me(0,"td",36),Pe(1),pe()),2&t){const e=n.$implicit;Ee(1),lo(e.startMs)}}function C6(t,n){1&t&&(me(0,"th",35),Pe(1,"End (ms)"),pe())}function E6(t,n){if(1&t&&(me(0,"td",36),Pe(1),pe()),2&t){const e=n.$implicit;Ee(1),lo(e.endMs)}}function M6(t,n){1&t&&(me(0,"th",35),Pe(1,"GroupColor"),pe())}const S6=function(t,n){return{"color-box":t,"empty-color-box":n}};function T6(t,n){if(1&t&&(me(0,"td",36)(1,"div",37),ct(2,"span",38),me(3,"span"),Pe(4),pe()()()),2&t){const e=n.$implicit;Ee(2),Nr("background-color",e.groupColor),Me("ngClass",function Nw(t,n,e,i,r){return Pw(ae(),An(),t,n,e,i,r)}(4,S6,"Transparent"!==e.groupColor,"Transparent"===e.groupColor)),Ee(2),lo(e.groupColor)}}function I6(t,n){1&t&&ct(0,"tr",39)}function A6(t,n){1&t&&ct(0,"tr",40)}const k6=function(){return[]},YS=function(){return["name","startMs","endMs","groupColor"]};function R6(t,n){if(1&t&&(me(0,"div",24)(1,"mat-card",25)(2,"mat-card-header")(3,"mat-card-title",5),Pe(4,"Riff List"),pe()(),me(5,"mat-card-content")(6,"table",26),cr(7,27),ke(8,v6,2,0,"th",28),ke(9,w6,2,1,"td",29),dr(),cr(10,30),ke(11,x6,2,0,"th",28),ke(12,D6,2,1,"td",29),dr(),cr(13,31),ke(14,C6,2,0,"th",28),ke(15,E6,2,1,"td",29),dr(),cr(16,32),ke(17,M6,2,0,"th",28),ke(18,T6,5,7,"td",29),dr(),ke(19,I6,1,0,"tr",33),ke(20,A6,1,0,"tr",34),pe()()()()),2&t){const e=Ft();Ee(6),Me("dataSource",(null==e.selectedSong?null:e.selectedSong.riffs)||gs(3,k6)),Ee(13),Me("matHeaderRowDef",gs(4,YS)),Ee(1),Me("matRowDefColumns",gs(5,YS))}}function F6(t,n){1&t&&(me(0,"p"),Pe(1,"No riffs found for this song."),pe())}let N6=(()=>{class t{constructor(e,i){this.datePipe=e,this.songService=i,this.songs=[],this.searchQuery="",this.selectedFileName=""}ngOnInit(){this.getAllSongs()}isModeratorOrAdmin(){const e=sessionStorage.getItem("role");return"MODERATOR"===e||"ADMIN"===e}getAllSongs(){this.songService.getAllSongs().subscribe(e=>{this.songs=e},e=>{console.log("Error retrieving songs:",e)})}get filteredSongs(){return""===this.searchQuery.trim()?this.songs:this.songs.filter(e=>e.name.toLowerCase().includes(this.searchQuery.toLowerCase()))}formatDate(e){return e&&this.datePipe.transform(e,"short")||""}displaySongInformation(e){this.selectedSong=e,console.log("Selected song:",this.selectedSong)}onFileSelected(e){this.selectedFile=e.target.files[0],this.selectedFileName=this.selectedFile.name;const i=new FileReader;i.onload=r=>{this.songService.parseXmlToSong(i.result).subscribe(s=>{this.selectedSong=s,this.inputSong=s,console.log("Selected song:",this.selectedSong)},s=>{console.log("Error parsing XML:",s)})},i.readAsText(this.selectedFile),this.isRemoveButtonDisabled=!!this.selectedFile}upload(){this.selectedFile&&this.inputSong&&this.songService.uploadSong(this.inputSong).subscribe(e=>{console.log("Song uploaded successfully:",e),this.getAllSongs(),this.selectedSong=e},e=>{console.error("Error uploading song:",e)})}download(){if(this.selectedSong){const e=this.songService.songToXml(this.selectedSong),i=new Blob([e],{type:"text/xml"}),r=window.URL.createObjectURL(i),o=document.createElement("a");o.href=r,o.download=this.selectedSong.name+".xml",o.click(),window.URL.revokeObjectURL(r),o.remove()}}getValidColor(e){return"Transparent"===e?"":e.startsWith("#")?e.slice(0,7):""}generatePdf(){this.selectedSong&&this.songService.generatePdf(this.selectedSong.id).subscribe(e=>{const i=new Blob([e],{type:"application/pdf"}),r=window.URL.createObjectURL(i),o=document.createElement("a");o.href=r,o.target="_blank",o.click(),window.URL.revokeObjectURL(r),o.remove()},e=>{console.error("Error generating PDF:",e)})}canRemoveSongs(){return!0}removeSelectedSong(){this.selectedSong&&this.songService.deleteSong(this.selectedSong.id).subscribe(()=>{this.getAllSongs(),this.selectedSong.riffs=[]},e=>{console.error("Error deleting song:",e)})}}return t.\u0275fac=function(e){return new(e||t)(j(fd),j(az))},t.\u0275cmp=Dt({type:t,selectors:[["app-main-page"]],features:[Ve([],[MS])],decls:48,vars:18,consts:[[1,"container"],[1,"margin-column"],["mat-raised-button","","color","warn",3,"disabled","click",4,"ngIf"],[1,"col-left"],[1,"song-list-card"],[1,"card-title"],["appearance","fill"],["matInput","","type","text","placeholder","Search songs",3,"ngModel","ngModelChange"],[1,"song-list"],[1,"vertical-radio-group",3,"ngModel","ngModelChange","change"],[3,"value",4,"ngFor","ngForOf"],[1,"col-right"],[1,"buttons-container"],[1,"button-row"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","accent",3,"disabled","click"],["mat-raised-button","","color","primary",3,"click"],["type","file",1,"file-input",3,"change"],[1,"text-block-row"],[1,"text-block"],["class","riff-list-container",4,"ngIf","ngIfElse"],["noRiffsMessage",""],["mat-raised-button","","color","warn",3,"disabled","click"],[3,"value"],[1,"riff-list-container"],[1,"riff-list-card"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","startMs"],["matColumnDef","endMs"],["matColumnDef","groupColor"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"color-container"],[3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(e,i){if(1&e&&(me(0,"div",0)(1,"div",1),ke(2,b6,4,1,"button",2),pe(),me(3,"div",3)(4,"mat-card",4)(5,"mat-card-header")(6,"mat-card-title",5),Pe(7,"Song List"),pe()(),me(8,"mat-card-content")(9,"mat-form-field",6)(10,"mat-label"),Pe(11,"Search songs"),pe(),me(12,"input",7),ot("ngModelChange",function(o){return i.searchQuery=o}),pe()(),me(13,"div",8)(14,"mat-radio-group",9),ot("ngModelChange",function(o){return i.selectedSong=o})("change",function(){return i.displaySongInformation(i.selectedSong)}),ke(15,y6,2,2,"mat-radio-button",10),pe()()()()(),me(16,"div",11)(17,"div",12)(18,"div",13)(19,"button",14),ot("click",function(){return i.download()}),me(20,"mat-icon"),Pe(21,"cloud_download"),pe(),Pe(22," Download "),pe(),me(23,"button",15),ot("click",function(){return i.upload()}),me(24,"mat-icon"),Pe(25,"cloud_upload"),pe(),Pe(26," Upload "),pe()(),me(27,"div",13)(28,"button",16),ot("click",function(){return i.generatePdf()}),me(29,"mat-icon"),Pe(30,"picture_as_pdf"),pe(),Pe(31," Generate PDF summary "),pe()(),me(32,"div",13)(33,"input",17),ot("change",function(o){return i.onFileSelected(o)}),pe()(),me(34,"div",18)(35,"div",19)(36,"p"),Pe(37),sf(38,"date"),pe(),me(39,"p"),Pe(40),sf(41,"date"),pe(),me(42,"p"),Pe(43),pe()()()()(),ct(44,"div",1),pe(),ke(45,R6,21,6,"div",20),ke(46,F6,2,0,"ng-template",null,21,_s)),2&e){const r=xi(47);Ee(2),Me("ngIf",i.canRemoveSongs()),Ee(10),Me("ngModel",i.searchQuery),Ee(2),Me("ngModel",i.selectedSong),Ee(1),Me("ngForOf",i.filteredSongs),Ee(8),Me("disabled",!i.selectedFileName),Ee(14),zc("uploaded: ",af(38,12,null==i.selectedSong?null:i.selectedSong.uploadDate,"short")," (",null==i.selectedSong?null:i.selectedSong.userId,")"),Ee(3),zc("last update: ",af(41,15,null==i.selectedSong?null:i.selectedSong.updateDate,"short")," (",null==i.selectedSong?null:i.selectedSong.lastUpdateUserId,")"),Ee(3),ur("Selected Song: ",null==i.selectedSong?null:i.selectedSong.name,""),Ee(2),Me("ngIf",(null==i.selectedSong?null:i.selectedSong.riffs)&&i.selectedSong.riffs.length>0)("ngIfElse",r)}},dependencies:[mD,pD,hd,eg,RS,Kd,Zd,Qd,Yd,xg,vg,wl,Vs,tu,yl,PS,LS,GS,Lg,WS,Vg,Pg,qS,Bg,jg,XS,KS,fd],styles:["html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%;margin:0;padding:0}.container[_ngcontent-%COMP%]{display:flex;width:100%}.margin-column[_ngcontent-%COMP%], .col-left[_ngcontent-%COMP%]{flex:1}.col-right[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.button-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;margin-bottom:10px}.button-row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;background-color:orange;color:#000;margin:5px}.text-block-row[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;margin:5px}.text-block[_ngcontent-%COMP%]{flex:1;border:1px solid #ccc;padding:10px}.song-list-card[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.song-list[_ngcontent-%COMP%]{flex:1;overflow-y:auto;align-items:stretch}.card-title[_ngcontent-%COMP%]{color:orange}.vertical-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column}.song-list[_ngcontent-%COMP%]{height:300px;max-height:300px;overflow-y:auto}.file-input[_ngcontent-%COMP%]{margin-left:10px}.color-container[_ngcontent-%COMP%]{display:flex;align-items:center}.color-box[_ngcontent-%COMP%]{display:inline-block;width:20px;height:20px;margin-right:5px}.empty-color-box[_ngcontent-%COMP%]{display:inline-block;width:20px;height:20px;border:1px solid #ccc}.song-list[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}.song-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:#555}.song-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#888}.song-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#999}button[disabled][_ngcontent-%COMP%]{background-color:#888;color:#fff}"]}),t})();const O6=function(){return["/login"]};let P6=(()=>{class t{constructor(e){this.authService=e,this.formData={}}registerUser(){console.log("register attempt"),console.log(this.formData),this.authService.register(this.formData.login,this.formData.password,this.formData.email)}}return t.\u0275fac=function(e){return new(e||t)(j(Hd))},t.\u0275cmp=Dt({type:t,selectors:[["app-register-page"]],decls:27,vars:5,consts:[[1,"container"],[1,"margin-column"],[1,"col-left"],[1,"login-card"],[1,"card-title"],["appearance","fill"],["matInput","","type","login","placeholder","Enter your login",3,"ngModel","ngModelChange"],["matInput","","type","email","placeholder","Enter your email",3,"ngModel","ngModelChange"],["matInput","","type","password","placeholder","Enter your password",3,"ngModel","ngModelChange"],[1,"signup-link"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"login-button",3,"click"]],template:function(e,i){1&e&&(me(0,"div",0),ct(1,"div",1),me(2,"div",2)(3,"mat-card",3)(4,"mat-card-header")(5,"mat-card-title",4),Pe(6,"Register"),pe()(),me(7,"mat-card-content")(8,"mat-form-field",5)(9,"mat-label"),Pe(10,"Login"),pe(),me(11,"input",6),ot("ngModelChange",function(o){return i.formData.login=o}),pe()(),me(12,"mat-form-field",5)(13,"mat-label"),Pe(14,"Email"),pe(),me(15,"input",7),ot("ngModelChange",function(o){return i.formData.email=o}),pe()(),me(16,"mat-form-field",5)(17,"mat-label"),Pe(18,"Password"),pe(),me(19,"input",8),ot("ngModelChange",function(o){return i.formData.password=o}),pe()(),me(20,"div",9),Pe(21," Already have an account? "),me(22,"a",10),Pe(23,"Login"),pe()(),me(24,"button",11),ot("click",function(){return i.registerUser()}),Pe(25," Register "),pe()()()(),ct(26,"div",1),pe()),2&e&&(Ee(11),Me("ngModel",i.formData.login),Ee(4),Me("ngModel",i.formData.email),Ee(4),Me("ngModel",i.formData.password),Ee(3),Me("routerLink",gs(4,O6)))},dependencies:[eg,Rs,Kd,Zd,Qd,Yd,xg,vg,wl,Vs,tu,yl],styles:[".container[_ngcontent-%COMP%]{display:flex;width:100%}.margin-column[_ngcontent-%COMP%], .col-left[_ngcontent-%COMP%]{flex:1}.col-right[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.login-card[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;color:#fff}.login-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.signup-link[_ngcontent-%COMP%]{margin-bottom:10px;text-align:center}.signup-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:orange;text-decoration:none}.login-button[_ngcontent-%COMP%]{width:100%;background-color:orange;color:#000;margin-bottom:10px}.card-title[_ngcontent-%COMP%]{color:orange}"]}),t})(),ZS=(()=>{class t{constructor(e,i){this.authService=e,this.router=i}canActivate(){return!!this.authService.isLoggedIn()||(this.router.navigate(["/login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(le(Hd),le(yn))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ug=(()=>{class t{constructor(e,i){this.authService=e,this.router=i}canActivate(){return!this.authService.isLoggedIn()||(this.router.navigate(["/main"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(le(Hd),le(yn))},t.\u0275prov=ve({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const L6=[{path:"login",component:MH,canActivate:[Ug]},{path:"register",component:P6,canActivate:[Ug]},{path:"main",component:N6,canActivate:[ZS]},{path:"",redirectTo:"/login",pathMatch:"full"},{path:"**",redirectTo:"/login",pathMatch:"full"}];let V6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[eE.forRoot(L6),eE]}),t})();const B6=["*",[["mat-toolbar-row"]]],j6=["*","mat-toolbar-row"],U6=Zp(class{constructor(t){this._elementRef=t}});let H6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=se({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),z6=(()=>{class t extends U6{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(j(Xe),j(vn),j(vt))},t.\u0275cmp=Dt({type:t,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Lt(r,H6,5),2&e){let o;Ze(o=Qe())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&_t("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Ce],ngContentSelectors:j6,decls:2,vars:0,template:function(e,i){1&e&&(En(B6),Ye(0),Ye(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),t})(),$6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({imports:[Wt,Wt]}),t})(),G6=(()=>{class t{constructor(e){this.router=e,this.title="RiffMasterFront"}logout(){sessionStorage.removeItem("jwtToken"),sessionStorage.removeItem("login"),sessionStorage.removeItem("login_id"),sessionStorage.removeItem("role"),this.router.navigate(["/login"])}}return t.\u0275fac=function(e){return new(e||t)(j(yn))},t.\u0275cmp=Dt({type:t,selectors:[["app-root"]],decls:15,vars:3,consts:[["mat-icon-button","","aria-label","Example icon-button with menu icon",1,"example-icon"],[1,"example-spacer"],["mat-button","",1,"riffmaster-home-button",3,"routerLink"],["mat-button","",3,"routerLink"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(me(0,"mat-toolbar")(1,"button",0)(2,"mat-icon"),Pe(3,"menu"),pe()(),ct(4,"span",1),me(5,"div")(6,"a",2),Pe(7,"RiffMaster"),pe(),me(8,"a",3),Pe(9,"Login"),pe(),me(10,"a",3),Pe(11,"Sign up"),pe(),me(12,"a",4),ot("click",function(){return i.logout()}),Pe(13,"Logout"),pe()()(),ct(14,"router-outlet")),2&e&&(Ee(6),Me("routerLink","/main"),Ee(2),Me("routerLink","/login"),Ee(2),Me("routerLink","/register"))},dependencies:[z6,vU,xU,RS,Ip,Rs],styles:[".riffmaster-home-button[_ngcontent-%COMP%]{background-color:orange;color:#000!important}.mat-toolbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:orange}.mat-toolbar[_ngcontent-%COMP%] .example-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:orange}"]}),t})();function QS(t){return new ne(3e3,!1)}function $r(t){switch(t.length){case 0:return new vl;case 1:return t[0];default:return new oS(t)}}function JS(t,n,e=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((b,C)=>{let P=C,V=b;if("offset"!==C)switch(P=t.normalizePropertyName(P,r),V){case yg:V=e.get(C);break;case yr:V=i.get(C);break;default:V=t.normalizeStyleValue(C,P,V,r)}u.set(P,V)}),d||o.push(u),a=u,s=c}),r.length)throw function f5(t){return new ne(3502,!1)}();return o}function Hg(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&zg(e,"start",t)));break;case"done":t.onDone(()=>i(e&&zg(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&zg(e,"destroy",t)))}}function zg(t,n,e){const o=$g(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(o._data=s),o}function $g(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function ti(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function eT(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const M5=(()=>typeof document>"u"?null:document.documentElement)();function Gg(t){const n=t.parentNode||t.host||null;return n===M5?null:n}let Eo=null,tT=!1;function nT(t,n){for(;n;){if(n===t)return!0;n=Gg(n)}return!1}function iT(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let rT=(()=>{class t{validateStyleProperty(e){return function T5(t){Eo||(Eo=function I5(){return typeof document<"u"?document.body:null}()||{},tT=!!Eo.style&&"WebkitAppearance"in Eo.style);let n=!0;return Eo.style&&!function S5(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Eo.style,!n&&tT&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Eo.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return nT(e,i)}getParentElement(e){return Gg(e)}query(e,i,r){return iT(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new vl(r,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})(),Wg=(()=>{class t{}return t.NOOP=new rT,t})();const A5=1e3,qg="ng-enter",Su="ng-leave",Tu="ng-trigger",Iu=".ng-trigger",sT="ng-animating",Xg=".ng-animating";function xr(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Kg(parseFloat(n[1]),n[2])}function Kg(t,n){return"s"===n?t*A5:t}function Au(t,n,e){return t.hasOwnProperty("duration")?t:function R5(t,n,e){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(QS()),{duration:0,delay:0,easing:""};r=Kg(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Kg(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(function W6(){return new ne(3100,!1)}()),a=!0),o<0&&(n.push(function q6(){return new ne(3101,!1)}()),a=!0),a&&n.splice(l,0,QS())}return{duration:r,delay:o,easing:s}}(t,n,e)}function Sl(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function aT(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Gr(t,n=new Map,e){if(e)for(let[i,r]of e)n.set(i,r);for(let[i,r]of t)n.set(i,r);return n}function Yi(t,n,e){n.forEach((i,r)=>{const o=Zg(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Mo(t,n){n.forEach((e,i)=>{const r=Zg(i);t.style[r]=""})}function Tl(t){return Array.isArray(t)?1==t.length?t[0]:iS(t):t}const Yg=new RegExp("{{\\s*(.+?)\\s*}}","g");function cT(t){let n=[];if("string"==typeof t){let e;for(;e=Yg.exec(t);)n.push(e[1]);Yg.lastIndex=0}return n}function Il(t,n,e){const i=t.toString(),r=i.replace(Yg,(o,s)=>{let a=n[s];return null==a&&(e.push(function K6(t){return new ne(3003,!1)}()),a=""),a.toString()});return r==i?t:r}function ku(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const O5=/-+([a-z0-9])/g;function Zg(t){return t.replace(O5,(...n)=>n[1].toUpperCase())}function ni(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Y6(t){return new ne(3004,!1)}()}}function dT(t,n){return window.getComputedStyle(t)[n]}const Ru="*";function V5(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function B5(t,n,e){if(":"==t[0]){const l=function j5(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(function d5(t){return new ne(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function c5(t){return new ne(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(uT(r,s));"<"==o[0]&&!(r==Ru&&s==Ru)&&n.push(uT(s,r))}(i,e,n)):e.push(t),e}const Fu=new Set(["true","1"]),Nu=new Set(["false","0"]);function uT(t,n){const e=Fu.has(t)||Nu.has(t),i=Fu.has(n)||Nu.has(n);return(r,o)=>{let s=t==Ru||t==r,a=n==Ru||n==o;return!s&&e&&"boolean"==typeof r&&(s=r?Fu.has(t):Nu.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?Fu.has(n):Nu.has(n)),s&&a}}const U5=new RegExp("s*:selfs*,?","g");function Qg(t,n,e,i){return new H5(t).build(n,e,i)}class H5{constructor(n){this._driver=n}build(n,e,i){const r=new G5(e);return this._resetContextStyleTimingState(r),ni(this,Tl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function Q6(){return new ne(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function J6(){return new ne(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{cT(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(ku(o.values()),e.errors.push(function e5(t,n){return new ne(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=ni(this,Tl(n.animation),e);return{type:1,matchers:V5(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:So(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>ni(this,i,e)),options:So(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const o=n.steps.map(s=>{e.currentTime=i;const a=ni(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:So(n.options)}}visitAnimate(n,e){const i=function q5(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Jg(Au(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Jg(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Au(e,n);return Jg(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:uu({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=uu(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===yr?i.push(a):e.errors.push(new ne(3002,!1)):i.push(aT(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function n5(t,n,e,i,r){return new ne(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&function N5(t,n,e){const i=n.params||{},r=cT(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function X6(t){return new ne(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function i5(){return new ne(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(ie=>{const Q=this._makeStyleAst(ie,e);let ge=null!=Q.offset?Q.offset:function W5(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(Q.styles),De=0;return null!=ge&&(o++,De=Q.offset=ge),l=l||De<0||De>1,a=a||De<c,c=De,s.push(De),Q});l&&e.errors.push(function r5(){return new ne(3012,!1)}()),a&&e.errors.push(function o5(){return new ne(3200,!1)}());const u=n.steps.length;let b=0;o>0&&o<u?e.errors.push(function s5(){return new ne(3202,!1)}()):0==o&&(b=1/(u-1));const C=u-1,P=e.currentTime,V=e.currentAnimateTimings,W=V.duration;return d.forEach((ie,Q)=>{const ge=b>0?Q==C?1:b*Q:s[Q],De=ge*W;e.currentTime=P+V.delay+De,V.duration=De,this._validateStyleAst(ie,e),ie.offset=ge,i.styles.push(ie)}),i}visitReference(n,e){return{type:8,animation:ni(this,Tl(n.animation),e),options:So(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:So(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:So(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[o,s]=function z5(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(U5,"")),t=t.replace(/@\*/g,Iu).replace(/@\w+/g,e=>Iu+"-"+e.slice(1)).replace(/:animating/g,Xg),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,ti(e.collectedStyles,e.currentQuerySelector,new Map);const a=ni(this,Tl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:So(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function a5(){return new ne(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Au(n.timings,e.errors,!0);return{type:12,animation:ni(this,Tl(n.animation),e),timings:i,options:null}}}class G5{constructor(n){this.errors=n,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 So(t){return t?(t=Sl(t)).params&&(t.params=function $5(t){return t?Sl(t):null}(t.params)):t={},t}function Jg(t,n,e){return{duration:t,delay:n,easing:e}}function e_(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Ou{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Y5=new RegExp(":enter","g"),Q5=new RegExp(":leave","g");function t_(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new J5).buildKeyframes(t,n,e,i,r,o,s,a,l,c)}class J5{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Ou;const u=new n_(n,e,c,r,o,d,[]);u.options=l;const b=l.delay?xr(l.delay):0;u.currentTimeline.delayNextStep(b),u.currentTimeline.setStyles([s],null,u.errors,l),ni(this,i,u);const C=u.timelines.filter(P=>P.containsAnimation());if(C.length&&a.size){let P;for(let V=C.length-1;V>=0;V--){const W=C[V];if(W.element===e){P=W;break}}P&&!P.allowOnlyTimelineStyles()&&P.setStyles([a],null,u.errors,l)}return C.length?C.map(P=>P.buildKeyframes()):[e_(e,[],[],[],0,b,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:xr(Il(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?xr(i.duration):null,a=null!=i.delay?xr(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),ni(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const o=n.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 s=xr(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ni(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?xr(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);o&&a.delayNextStep(o),ni(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Au(e.params?Il(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?xr(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Pu);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),ni(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;ni(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Pu={};class n_{constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,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=l||new Lu(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=xr(i.duration)),null!=i.delay&&(r.delay=xr(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Il(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,o=new n_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Pu,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new e$(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(Y5,"."+this._enterClassName)).replace(Q5,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function l5(t){return new ne(3014,!1)}()),a}}class Lu{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Lu(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||yr),this._currentKeyframe.set(e,yr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function t$(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)e.set(o,yr)}else Gr(r,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Il(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??yr),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Gr(a,new Map,this._backFill);c.forEach((d,u)=>{d===yg?n.add(u):d===yr&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=n.size?ku(n.values()):[],s=e.size?ku(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return e_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class e$ extends Lu{constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=Gr(n[0]);l.set("offset",0),o.push(l);const c=Gr(n[0]);c.set("offset",fT(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let b=Gr(n[u]);const C=b.get("offset");b.set("offset",fT((e+C*i)/s)),o.push(b)}i=s,e=0,r="",n=o}return e_(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function fT(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class i_{}const n$=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 i$ extends i_{normalizePropertyName(n,e){return Zg(n)}normalizeStyleValue(n,e,i,r){let o="";const s=i.toString().trim();if(n$.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function Z6(t,n){return new ne(3005,!1)}())}return s+o}}function pT(t,n,e,i,r,o,s,a,l,c,d,u,b){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:b}}const r_={};class gT{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function r$(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){const u=[],b=this.ast.options&&this.ast.options.params||r_,P=this.buildStyles(i,a&&a.params||r_,u),V=l&&l.params||r_,W=this.buildStyles(r,V,u),ie=new Set,Q=new Map,ge=new Map,De="void"===r,je={params:o$(V,b),delay:this.ast.options?.delay},Vt=d?[]:t_(n,e,this.ast.animation,o,s,P,W,je,c,u);let fn=0;if(Vt.forEach(Cr=>{fn=Math.max(Cr.duration+Cr.delay,fn)}),u.length)return pT(e,this._triggerName,i,r,De,P,W,[],[],Q,ge,fn,u);Vt.forEach(Cr=>{const Er=Cr.element,kT=ti(Q,Er,new Set);Cr.preStyleProps.forEach(To=>kT.add(To));const kl=ti(ge,Er,new Set);Cr.postStyleProps.forEach(To=>kl.add(To)),Er!==e&&ie.add(Er)});const Dr=ku(ie.values());return pT(e,this._triggerName,i,r,De,P,W,Vt,Dr,Q,ge,fn)}}function o$(t,n){const e=Sl(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class s${constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=Sl(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Il(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class l${constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new s$(r.style,r.options&&r.options.params||{},i))}),_T(this.states,"true","1"),_T(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new gT(n,r,this.states))}),this.fallbackTransition=function c$(t,n,e){return new gT(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function _T(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const d$=new Ou;class u${constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=Qg(this._driver,e,i,[]);if(i.length)throw function p5(t){return new ne(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const r=n.element,o=JS(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=t_(this._driver,e,o,qg,Su,new Map,new Map,i,d$,r),s.forEach(d=>{const u=ti(a,d.element,new Map);d.postStyleProps.forEach(b=>u.set(b,null))})):(r.push(function g5(){return new ne(3300,!1)}()),s=[]),r.length)throw function _5(t){return new ne(3504,!1)}();a.forEach((d,u)=>{d.forEach((b,C)=>{d.set(C,this._driver.computeStyle(u,C,yr))})});const c=$r(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function b5(t){return new ne(3301,!1)}();return e}listen(n,e,i,r){const o=$g(e,"","","");return Hg(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const o=this._getPlayer(n);switch(i){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(n)}}}const bT="ng-animate-queued",o_="ng-animate-disabled",g$=[],yT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ui="__ng_removed";class s_{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function w$(t){return t??null}(i?n.value:n),i){const o=Sl(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Al="void",a_=new s_(Al);class b${constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,hi(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function y5(t,n){return new ne(3302,!1)}();if(null==i||0==i.length)throw function v5(t){return new ne(3303,!1)}();if(!function x$(t){return"start"==t||"done"==t}(i))throw function w5(t,n){return new ne(3400,!1)}();const o=ti(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);const a=ti(this._engine.statesByElement,n,new Map);return a.has(e)||(hi(n,Tu),hi(n,Tu+"-"+e),a.set(e,a_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function x5(t){return new ne(3401,!1)}();return e}trigger(n,e,i,r=!0){const o=this._getTrigger(e),s=new l_(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(hi(n,Tu),hi(n,Tu+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new s_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=a_),c.value!==Al&&l.value===c.value){if(!function E$(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}(l.params,c.params)){const V=[],W=o.matchStyles(l.value,l.params,V),ie=o.matchStyles(c.value,c.params,V);V.length?this._engine.reportError(V):this._engine.afterFlush(()=>{Mo(n,W),Yi(n,ie)})}return}const b=ti(this._engine.playersByElement,n,[]);b.forEach(V=>{V.namespaceId==this.id&&V.triggerName==e&&V.queued&&V.destroy()});let C=o.matchTransition(l.value,c.value,n,c.params),P=!1;if(!C){if(!r)return;C=o.fallbackTransition,P=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:C,fromState:l,toState:c,player:s,isFallbackTransition:P}),P||(hi(n,bT),s.onStart(()=>{zs(n,bT)})),s.onDone(()=>{let V=this.players.indexOf(s);V>=0&&this.players.splice(V,1);const W=this._engine.playersByElement.get(n);if(W){let ie=W.indexOf(s);ie>=0&&W.splice(ie,1)}}),this.players.push(s),b.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Iu,!0);i.forEach(r=>{if(r[ui])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Al,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&$r(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||a_,d=new s_(Al),u=new l_(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[ui];(!o||o===yT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){hi(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=$g(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Hg(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class y${_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new b$(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,r){if(Vu(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Vu(e))return;const o=e[ui];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),hi(n,o_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),zs(n,o_))}removeNode(n,e,i){if(Vu(e)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[ui]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Vu(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Iu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Xg,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $r(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[ui];if(e&&e.setForRemoval){if(n[ui]=yT,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(o_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)hi(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?$r(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function D5(t){return new ne(3402,!1)}()}_flushAnimations(n,e){const i=new Ou,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(Se=>{d.add(Se);const Ie=this.driver.query(Se,".ng-animate-queued",!0);for(let Ne=0;Ne<Ie.length;Ne++)d.add(Ie[Ne])});const u=this.bodyNode,b=Array.from(this.statesByElement.keys()),C=xT(b,this.collectedEnterElements),P=new Map;let V=0;C.forEach((Se,Ie)=>{const Ne=qg+V++;P.set(Ie,Ne),Se.forEach(dt=>hi(dt,Ne))});const W=[],ie=new Set,Q=new Set;for(let Se=0;Se<this.collectedLeaveElements.length;Se++){const Ie=this.collectedLeaveElements[Se],Ne=Ie[ui];Ne&&Ne.setForRemoval&&(W.push(Ie),ie.add(Ie),Ne.hasAnimation?this.driver.query(Ie,".ng-star-inserted",!0).forEach(dt=>ie.add(dt)):Q.add(Ie))}const ge=new Map,De=xT(b,Array.from(ie));De.forEach((Se,Ie)=>{const Ne=Su+V++;ge.set(Ie,Ne),Se.forEach(dt=>hi(dt,Ne))}),n.push(()=>{C.forEach((Se,Ie)=>{const Ne=P.get(Ie);Se.forEach(dt=>zs(dt,Ne))}),De.forEach((Se,Ie)=>{const Ne=ge.get(Ie);Se.forEach(dt=>zs(dt,Ne))}),W.forEach(Se=>{this.processLeaveNode(Se)})});const je=[],Vt=[];for(let Se=this._namespaceList.length-1;Se>=0;Se--)this._namespaceList[Se].drainQueuedTransitions(e).forEach(Ne=>{const dt=Ne.player,pn=Ne.element;if(je.push(dt),this.collectedEnterElements.length){const In=pn[ui];if(In&&In.setForMove){if(In.previousTriggersValues&&In.previousTriggersValues.has(Ne.triggerName)){const Io=In.previousTriggersValues.get(Ne.triggerName),mi=this.statesByElement.get(Ne.element);if(mi&&mi.has(Ne.triggerName)){const Uu=mi.get(Ne.triggerName);Uu.value=Io,mi.set(Ne.triggerName,Uu)}}return void dt.destroy()}}const Zi=!u||!this.driver.containsElement(u,pn),ii=ge.get(pn),Wr=P.get(pn),zt=this._buildInstruction(Ne,i,Wr,ii,Zi);if(zt.errors&&zt.errors.length)return void Vt.push(zt);if(Zi)return dt.onStart(()=>Mo(pn,zt.fromStyles)),dt.onDestroy(()=>Yi(pn,zt.toStyles)),void r.push(dt);if(Ne.isFallbackTransition)return dt.onStart(()=>Mo(pn,zt.fromStyles)),dt.onDestroy(()=>Yi(pn,zt.toStyles)),void r.push(dt);const NT=[];zt.timelines.forEach(In=>{In.stretchStartingKeyframe=!0,this.disabledNodes.has(In.element)||NT.push(In)}),zt.timelines=NT,i.append(pn,zt.timelines),s.push({instruction:zt,player:dt,element:pn}),zt.queriedElements.forEach(In=>ti(a,In,[]).push(dt)),zt.preStyleProps.forEach((In,Io)=>{if(In.size){let mi=l.get(Io);mi||l.set(Io,mi=new Set),In.forEach((Uu,u_)=>mi.add(u_))}}),zt.postStyleProps.forEach((In,Io)=>{let mi=c.get(Io);mi||c.set(Io,mi=new Set),In.forEach((Uu,u_)=>mi.add(u_))})});if(Vt.length){const Se=[];Vt.forEach(Ie=>{Se.push(function C5(t,n){return new ne(3505,!1)}())}),je.forEach(Ie=>Ie.destroy()),this.reportError(Se)}const fn=new Map,Dr=new Map;s.forEach(Se=>{const Ie=Se.element;i.has(Ie)&&(Dr.set(Ie,Ie),this._beforeAnimationBuild(Se.player.namespaceId,Se.instruction,fn))}),r.forEach(Se=>{const Ie=Se.element;this._getPreviousPlayers(Ie,!1,Se.namespaceId,Se.triggerName,null).forEach(dt=>{ti(fn,Ie,[]).push(dt),dt.destroy()})});const Cr=W.filter(Se=>CT(Se,l,c)),Er=new Map;wT(Er,this.driver,Q,c,yr).forEach(Se=>{CT(Se,l,c)&&Cr.push(Se)});const kl=new Map;C.forEach((Se,Ie)=>{wT(kl,this.driver,new Set(Se),l,yg)}),Cr.forEach(Se=>{const Ie=Er.get(Se),Ne=kl.get(Se);Er.set(Se,new Map([...Ie?.entries()??[],...Ne?.entries()??[]]))});const To=[],RT=[],FT={};s.forEach(Se=>{const{element:Ie,player:Ne,instruction:dt}=Se;if(i.has(Ie)){if(d.has(Ie))return Ne.onDestroy(()=>Yi(Ie,dt.toStyles)),Ne.disabled=!0,Ne.overrideTotalTime(dt.totalTime),void r.push(Ne);let pn=FT;if(Dr.size>1){let ii=Ie;const Wr=[];for(;ii=ii.parentNode;){const zt=Dr.get(ii);if(zt){pn=zt;break}Wr.push(ii)}Wr.forEach(zt=>Dr.set(zt,pn))}const Zi=this._buildAnimation(Ne.namespaceId,dt,fn,o,kl,Er);if(Ne.setRealPlayer(Zi),pn===FT)To.push(Ne);else{const ii=this.playersByElement.get(pn);ii&&ii.length&&(Ne.parentPlayer=$r(ii)),r.push(Ne)}}else Mo(Ie,dt.fromStyles),Ne.onDestroy(()=>Yi(Ie,dt.toStyles)),RT.push(Ne),d.has(Ie)&&r.push(Ne)}),RT.forEach(Se=>{const Ie=o.get(Se.element);if(Ie&&Ie.length){const Ne=$r(Ie);Se.setRealPlayer(Ne)}}),r.forEach(Se=>{Se.parentPlayer?Se.syncPlayerEvents(Se.parentPlayer):Se.destroy()});for(let Se=0;Se<W.length;Se++){const Ie=W[Se],Ne=Ie[ui];if(zs(Ie,Su),Ne&&Ne.hasAnimation)continue;let dt=[];if(a.size){let Zi=a.get(Ie);Zi&&Zi.length&&dt.push(...Zi);let ii=this.driver.query(Ie,Xg,!0);for(let Wr=0;Wr<ii.length;Wr++){let zt=a.get(ii[Wr]);zt&&zt.length&&dt.push(...zt)}}const pn=dt.filter(Zi=>!Zi.destroyed);pn.length?D$(this,Ie,pn):this.processLeaveNode(Ie)}return W.length=0,To.forEach(Se=>{this.players.push(Se),Se.onDone(()=>{Se.destroy();const Ie=this.players.indexOf(Se);this.players.splice(Ie,1)}),Se.play()}),To}elementContainsData(n,e){let i=!1;const r=e[ui];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Al;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==o,u=ti(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(C=>{const P=C.getRealPlayer();P.beforeDestroy&&P.beforeDestroy(),C.destroy(),u.push(C)})}Mo(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,b=e.timelines.map(P=>{const V=P.element;d.add(V);const W=V[ui];if(W&&W.removedBeforeQueried)return new vl(P.duration,P.delay);const ie=V!==l,Q=function C$(t){const n=[];return DT(t,n),n}((i.get(V)||g$).map(fn=>fn.getRealPlayer())).filter(fn=>!!fn.element&&fn.element===V),ge=o.get(V),De=s.get(V),je=JS(this._normalizer,P.keyframes,ge,De),Vt=this._buildPlayer(P,je,Q);if(P.subTimeline&&r&&u.add(V),ie){const fn=new l_(n,a,V);fn.setRealPlayer(Vt),c.push(fn)}return Vt});c.forEach(P=>{ti(this.playersByQueriedElement,P.element,[]).push(P),P.onDone(()=>function v$(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,P.element,P))}),d.forEach(P=>hi(P,sT));const C=$r(b);return C.onDestroy(()=>{d.forEach(P=>zs(P,sT)),Yi(l,e.toStyles)}),u.forEach(P=>{ti(r,P,[]).push(C)}),C}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new vl(n.duration,n.delay)}}class l_{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new vl,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Hg(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){ti(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Vu(t){return t&&1===t.nodeType}function vT(t,n){const e=t.style.display;return t.style.display=n??"none",e}function wT(t,n,e,i,r){const o=[];e.forEach(l=>o.push(vT(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const b=n.computeStyle(c,u,r);d.set(u,b),(!b||0==b.length)&&(c[ui]=_$,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>vT(l,o[a++])),s}function xT(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?i:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);l!==i&&e.get(l).push(a)}),e}function hi(t,n){t.classList?.add(n)}function zs(t,n){t.classList?.remove(n)}function D$(t,n,e){$r(e).onDone(()=>t.processLeaveNode(n))}function DT(t,n){for(let e=0;e<t.length;e++){const i=t[e];i instanceof oS?DT(i.players,n):n.push(i)}}function CT(t,n,e){const i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}class Bu{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new y$(n,e,i),this._timelineEngine=new u$(n,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=Qg(this._driver,o,l,[]);if(l.length)throw function m5(t,n){return new ne(3404,!1)}();a=function a$(t,n,e){return new l$(t,n,e)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[o,s]=eT(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=eT(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let S$=(()=>{class t{constructor(e,i,r){this._element=e,this._startStyles=i,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&&Yi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yi(this._element,this._initialStyles),this._endStyles&&(Yi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Mo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mo(this._element,this._endStyles),this._endStyles=null),Yi(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function c_(t){let n=null;return t.forEach((e,i)=>{(function T$(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class ET{constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:dT(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class I${validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return nT(n,e)}getParentElement(n){return Gg(n)}query(n,e,i){return iT(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(C=>C instanceof ET);(function P5(t,n){return 0===t||0===n})(i,r)&&d.forEach(C=>{C.currentSnapshot.forEach((P,V)=>c.set(V,P))});let u=function F5(t){return t.length?t[0]instanceof Map?t:t.map(n=>aT(n)):[]}(e).map(C=>Gr(C));u=function L5(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,dT(t,a)))}}return n}(n,u,c);const b=function M$(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=c_(n[0]),n.length>1&&(i=c_(n[n.length-1]))):n instanceof Map&&(e=c_(n)),e||i?new S$(t,e,i):null}(n,u);return new ET(n,u,l,b)}}let A$=(()=>{class t extends nS{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Vn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?iS(e):e;return MT(this._renderer,null,i,"register",[r]),new k$(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(le(ba),le(vt))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();class k$ extends O8{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new R$(this._id,n,e||{},this._renderer)}}class R${constructor(n,e,i,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return MT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function MT(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const ST="@.disabled";let F$=(()=>{class t{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new TT("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(s,a,e,d.name,d)};return i.data.animation.forEach(l),new N$(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&e<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(le(ba),le(Bu),le(Be))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})();class TT{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==ST?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class N$ extends TT{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==ST?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function O$(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function P$(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}const IT=[{provide:nS,useClass:A$},{provide:i_,useFactory:function V$(){return new i$}},{provide:Bu,useClass:(()=>{class t extends Bu{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(le(vt),le(Wg),le(i_),le(uo))},t.\u0275prov=ve({token:t,factory:t.\u0275fac}),t})()},{provide:ba,useFactory:function B$(t,n,e){return new F$(t,n,e)},deps:[cp,Bu,Be]}],d_=[{provide:Wg,useFactory:()=>new I$},{provide:vi,useValue:"BrowserAnimations"},...IT],AT=[{provide:Wg,useClass:rT},{provide:vi,useValue:"NoopAnimations"},...IT];let j$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?AT:d_}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t}),t.\u0275inj=lt({providers:d_,imports:[UD]}),t})(),U$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=mt({type:t,bootstrap:[G6]}),t.\u0275inj=lt({providers:[fd,ZS,Ug],imports:[UD,X3,$6,DU,yz,V6,FU,CH,F8,N8,iz,wg,j$,Iz,g6]}),t})();zV().bootstrapModule(U$).catch(t=>console.error(t))},5343:(he,oe)=>{"use strict";oe.byteLength=function g(I){var A=O(I),G=A[1];return 3*(A[0]+G)/4-G},oe.toByteArray=function F(I){var A,f,B=O(I),G=B[0],re=B[1],L=new T(function S(I,A,B){return 3*(A+B)/4-B}(0,G,re)),M=0,_=re>0?G-4:G;for(f=0;f<_;f+=4)A=w[I.charCodeAt(f)]<<18|w[I.charCodeAt(f+1)]<<12|w[I.charCodeAt(f+2)]<<6|w[I.charCodeAt(f+3)],L[M++]=A>>16&255,L[M++]=A>>8&255,L[M++]=255&A;return 2===re&&(A=w[I.charCodeAt(f)]<<2|w[I.charCodeAt(f+1)]>>4,L[M++]=255&A),1===re&&(A=w[I.charCodeAt(f)]<<10|w[I.charCodeAt(f+1)]<<4|w[I.charCodeAt(f+2)]>>2,L[M++]=A>>8&255,L[M++]=255&A),L},oe.fromByteArray=function X(I){for(var A,B=I.length,G=B%3,re=[],L=16383,M=0,_=B-G;M<_;M+=L)re.push(Z(I,M,M+L>_?_:M+L));return 1===G?re.push(N[(A=I[B-1])>>2]+N[A<<4&63]+"=="):2===G&&re.push(N[(A=(I[B-2]<<8)+I[B-1])>>10]+N[A>>4&63]+N[A<<2&63]+"="),re.join("")};for(var N=[],w=[],T=typeof Uint8Array<"u"?Uint8Array:Array,k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$=0;$<64;++$)N[$]=k[$],w[k.charCodeAt($)]=$;function O(I){var A=I.length;if(A%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var B=I.indexOf("=");return-1===B&&(B=A),[B,B===A?0:4-B%4]}function z(I){return N[I>>18&63]+N[I>>12&63]+N[I>>6&63]+N[63&I]}function Z(I,A,B){for(var re=[],L=A;L<B;L+=3)re.push(z((I[L]<<16&16711680)+(I[L+1]<<8&65280)+(255&I[L+2])));return re.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},3172:(he,oe,N)=>{"use strict";var w=N(5343),T=N(8461),k="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;oe.Buffer=g,oe.SlowBuffer=function L(E){return+E!=E&&(E=0),g.alloc(+E)},oe.INSPECT_MAX_BYTES=50;var $=2147483647;function O(E){if(E>$)throw new RangeError('The value "'+E+'" is invalid for option "size"');var h=new Uint8Array(E);return Object.setPrototypeOf(h,g.prototype),h}function g(E,h,m){if("number"==typeof E){if("string"==typeof h)throw new TypeError('The "string" argument must be of type string. Received type number');return Z(E)}return S(E,h,m)}function S(E,h,m){if("string"==typeof E)return function X(E,h){if(("string"!=typeof h||""===h)&&(h="utf8"),!g.isEncoding(h))throw new TypeError("Unknown encoding: "+h);var m=0|M(E,h),R=O(m),Y=R.write(E,h);return Y!==m&&(R=R.slice(0,Y)),R}(E,h);if(ArrayBuffer.isView(E))return function A(E){if(ft(E,Uint8Array)){var h=new Uint8Array(E);return B(h.buffer,h.byteOffset,h.byteLength)}return I(E)}(E);if(null==E)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E);if(ft(E,ArrayBuffer)||E&&ft(E.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ft(E,SharedArrayBuffer)||E&&ft(E.buffer,SharedArrayBuffer)))return B(E,h,m);if("number"==typeof E)throw new TypeError('The "value" argument must not be of type number. Received type number');var R=E.valueOf&&E.valueOf();if(null!=R&&R!==E)return g.from(R,h,m);var Y=function G(E){if(g.isBuffer(E)){var h=0|re(E.length),m=O(h);return 0===m.length||E.copy(m,0,0,h),m}return void 0!==E.length?"number"!=typeof E.length||Zt(E.length)?O(0):I(E):"Buffer"===E.type&&Array.isArray(E.data)?I(E.data):void 0}(E);if(Y)return Y;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof E[Symbol.toPrimitive])return g.from(E[Symbol.toPrimitive]("string"),h,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E)}function F(E){if("number"!=typeof E)throw new TypeError('"size" argument must be of type number');if(E<0)throw new RangeError('The value "'+E+'" is invalid for option "size"')}function Z(E){return F(E),O(E<0?0:0|re(E))}function I(E){for(var h=E.length<0?0:0|re(E.length),m=O(h),R=0;R<h;R+=1)m[R]=255&E[R];return m}function B(E,h,m){if(h<0||E.byteLength<h)throw new RangeError('"offset" is outside of buffer bounds');if(E.byteLength<h+(m||0))throw new RangeError('"length" is outside of buffer bounds');var R;return R=void 0===h&&void 0===m?new Uint8Array(E):void 0===m?new Uint8Array(E,h):new Uint8Array(E,h,m),Object.setPrototypeOf(R,g.prototype),R}function re(E){if(E>=$)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$.toString(16)+" bytes");return 0|E}function M(E,h){if(g.isBuffer(E))return E.length;if(ArrayBuffer.isView(E)||ft(E,ArrayBuffer))return E.byteLength;if("string"!=typeof E)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof E);var m=E.length,R=arguments.length>2&&!0===arguments[2];if(!R&&0===m)return 0;for(var Y=!1;;)switch(h){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return y(E).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*m;case"hex":return m>>>1;case"base64":return st(E).length;default:if(Y)return R?-1:y(E).length;h=(""+h).toLowerCase(),Y=!0}}function _(E,h,m){var R=!1;if((void 0===h||h<0)&&(h=0),h>this.length||((void 0===m||m>this.length)&&(m=this.length),m<=0)||(m>>>=0)<=(h>>>=0))return"";for(E||(E="utf8");;)switch(E){case"hex":return et(this,h,m);case"utf8":case"utf-8":return be(this,h,m);case"ascii":return _e(this,h,m);case"latin1":case"binary":return Ot(this,h,m);case"base64":return ue(this,h,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fi(this,h,m);default:if(R)throw new TypeError("Unknown encoding: "+E);E=(E+"").toLowerCase(),R=!0}}function f(E,h,m){var R=E[h];E[h]=E[m],E[m]=R}function p(E,h,m,R,Y){if(0===E.length)return-1;if("string"==typeof m?(R=m,m=0):m>2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),Zt(m=+m)&&(m=Y?0:E.length-1),m<0&&(m=E.length+m),m>=E.length){if(Y)return-1;m=E.length-1}else if(m<0){if(!Y)return-1;m=0}if("string"==typeof h&&(h=g.from(h,R)),g.isBuffer(h))return 0===h.length?-1:D(E,h,m,R,Y);if("number"==typeof h)return h&=255,"function"==typeof Uint8Array.prototype.indexOf?Y?Uint8Array.prototype.indexOf.call(E,h,m):Uint8Array.prototype.lastIndexOf.call(E,h,m):D(E,[h],m,R,Y);throw new TypeError("val must be string, number or Buffer")}function D(E,h,m,R,Y){var St,ce=1,fe=E.length,tt=h.length;if(void 0!==R&&("ucs2"===(R=String(R).toLowerCase())||"ucs-2"===R||"utf16le"===R||"utf-16le"===R)){if(E.length<2||h.length<2)return-1;ce=2,fe/=2,tt/=2,m/=2}function wt(Rl,pi){return 1===ce?Rl[pi]:Rl.readUInt16BE(pi*ce)}if(Y){var rn=-1;for(St=m;St<fe;St++)if(wt(E,St)===wt(h,-1===rn?0:St-rn)){if(-1===rn&&(rn=St),St-rn+1===tt)return rn*ce}else-1!==rn&&(St-=St-rn),rn=-1}else for(m+tt>fe&&(m=fe-tt),St=m;St>=0;St--){for(var Pt=!0,Ao=0;Ao<tt;Ao++)if(wt(E,St+Ao)!==wt(h,Ao)){Pt=!1;break}if(Pt)return St}return-1}function K(E,h,m,R){m=Number(m)||0;var Y=E.length-m;R?(R=Number(R))>Y&&(R=Y):R=Y;var ce=h.length;R>ce/2&&(R=ce/2);for(var fe=0;fe<R;++fe){var tt=parseInt(h.substr(2*fe,2),16);if(Zt(tt))return fe;E[m+fe]=tt}return fe}function v(E,h,m,R){return Mt(y(h,E.length-m),E,m,R)}function te(E,h,m,R){return Mt(function ee(E){for(var h=[],m=0;m<E.length;++m)h.push(255&E.charCodeAt(m));return h}(h),E,m,R)}function U(E,h,m,R){return Mt(st(h),E,m,R)}function J(E,h,m,R){return Mt(function q(E,h){for(var m,R,ce=[],fe=0;fe<E.length&&!((h-=2)<0);++fe)R=(m=E.charCodeAt(fe))>>8,ce.push(m%256),ce.push(R);return ce}(h,E.length-m),E,m,R)}function ue(E,h,m){return w.fromByteArray(0===h&&m===E.length?E:E.slice(h,m))}function be(E,h,m){m=Math.min(E.length,m);for(var R=[],Y=h;Y<m;){var wt,St,rn,Pt,ce=E[Y],fe=null,tt=ce>239?4:ce>223?3:ce>191?2:1;if(Y+tt<=m)switch(tt){case 1:ce<128&&(fe=ce);break;case 2:128==(192&(wt=E[Y+1]))&&(Pt=(31&ce)<<6|63&wt)>127&&(fe=Pt);break;case 3:St=E[Y+2],128==(192&(wt=E[Y+1]))&&128==(192&St)&&(Pt=(15&ce)<<12|(63&wt)<<6|63&St)>2047&&(Pt<55296||Pt>57343)&&(fe=Pt);break;case 4:St=E[Y+2],rn=E[Y+3],128==(192&(wt=E[Y+1]))&&128==(192&St)&&128==(192&rn)&&(Pt=(15&ce)<<18|(63&wt)<<12|(63&St)<<6|63&rn)>65535&&Pt<1114112&&(fe=Pt)}null===fe?(fe=65533,tt=1):fe>65535&&(R.push((fe-=65536)>>>10&1023|55296),fe=56320|1023&fe),R.push(fe),Y+=tt}return function Je(E){var h=E.length;if(h<=Ge)return String.fromCharCode.apply(String,E);for(var m="",R=0;R<h;)m+=String.fromCharCode.apply(String,E.slice(R,R+=Ge));return m}(R)}oe.kMaxLength=$,!(g.TYPED_ARRAY_SUPPORT=function H(){try{var E=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(E,h),42===E.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}}),Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}}),g.poolSize=8192,g.from=function(E,h,m){return S(E,h,m)},Object.setPrototypeOf(g.prototype,Uint8Array.prototype),Object.setPrototypeOf(g,Uint8Array),g.alloc=function(E,h,m){return function z(E,h,m){return F(E),E<=0?O(E):void 0!==h?"string"==typeof m?O(E).fill(h,m):O(E).fill(h):O(E)}(E,h,m)},g.allocUnsafe=function(E){return Z(E)},g.allocUnsafeSlow=function(E){return Z(E)},g.isBuffer=function(h){return null!=h&&!0===h._isBuffer&&h!==g.prototype},g.compare=function(h,m){if(ft(h,Uint8Array)&&(h=g.from(h,h.offset,h.byteLength)),ft(m,Uint8Array)&&(m=g.from(m,m.offset,m.byteLength)),!g.isBuffer(h)||!g.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(h===m)return 0;for(var R=h.length,Y=m.length,ce=0,fe=Math.min(R,Y);ce<fe;++ce)if(h[ce]!==m[ce]){R=h[ce],Y=m[ce];break}return R<Y?-1:Y<R?1:0},g.isEncoding=function(h){switch(String(h).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(h,m){if(!Array.isArray(h))throw new TypeError('"list" argument must be an Array of Buffers');if(0===h.length)return g.alloc(0);var R;if(void 0===m)for(m=0,R=0;R<h.length;++R)m+=h[R].length;var Y=g.allocUnsafe(m),ce=0;for(R=0;R<h.length;++R){var fe=h[R];if(ft(fe,Uint8Array))ce+fe.length>Y.length?g.from(fe).copy(Y,ce):Uint8Array.prototype.set.call(Y,fe,ce);else{if(!g.isBuffer(fe))throw new TypeError('"list" argument must be an Array of Buffers');fe.copy(Y,ce)}ce+=fe.length}return Y},g.byteLength=M,g.prototype._isBuffer=!0,g.prototype.swap16=function(){var h=this.length;if(h%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var m=0;m<h;m+=2)f(this,m,m+1);return this},g.prototype.swap32=function(){var h=this.length;if(h%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var m=0;m<h;m+=4)f(this,m,m+3),f(this,m+1,m+2);return this},g.prototype.swap64=function(){var h=this.length;if(h%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var m=0;m<h;m+=8)f(this,m,m+7),f(this,m+1,m+6),f(this,m+2,m+5),f(this,m+3,m+4);return this},g.prototype.toLocaleString=g.prototype.toString=function(){var h=this.length;return 0===h?"":0===arguments.length?be(this,0,h):_.apply(this,arguments)},g.prototype.equals=function(h){if(!g.isBuffer(h))throw new TypeError("Argument must be a Buffer");return this===h||0===g.compare(this,h)},g.prototype.inspect=function(){var h="",m=oe.INSPECT_MAX_BYTES;return h=this.toString("hex",0,m).replace(/(.{2})/g,"$1 ").trim(),this.length>m&&(h+=" ... "),"<Buffer "+h+">"},k&&(g.prototype[k]=g.prototype.inspect),g.prototype.compare=function(h,m,R,Y,ce){if(ft(h,Uint8Array)&&(h=g.from(h,h.offset,h.byteLength)),!g.isBuffer(h))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof h);if(void 0===m&&(m=0),void 0===R&&(R=h?h.length:0),void 0===Y&&(Y=0),void 0===ce&&(ce=this.length),m<0||R>h.length||Y<0||ce>this.length)throw new RangeError("out of range index");if(Y>=ce&&m>=R)return 0;if(Y>=ce)return-1;if(m>=R)return 1;if(this===h)return 0;for(var fe=(ce>>>=0)-(Y>>>=0),tt=(R>>>=0)-(m>>>=0),wt=Math.min(fe,tt),St=this.slice(Y,ce),rn=h.slice(m,R),Pt=0;Pt<wt;++Pt)if(St[Pt]!==rn[Pt]){fe=St[Pt],tt=rn[Pt];break}return fe<tt?-1:tt<fe?1:0},g.prototype.includes=function(h,m,R){return-1!==this.indexOf(h,m,R)},g.prototype.indexOf=function(h,m,R){return p(this,h,m,R,!0)},g.prototype.lastIndexOf=function(h,m,R){return p(this,h,m,R,!1)},g.prototype.write=function(h,m,R,Y){if(void 0===m)Y="utf8",R=this.length,m=0;else if(void 0===R&&"string"==typeof m)Y=m,R=this.length,m=0;else{if(!isFinite(m))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");m>>>=0,isFinite(R)?(R>>>=0,void 0===Y&&(Y="utf8")):(Y=R,R=void 0)}var ce=this.length-m;if((void 0===R||R>ce)&&(R=ce),h.length>0&&(R<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");Y||(Y="utf8");for(var fe=!1;;)switch(Y){case"hex":return K(this,h,m,R);case"utf8":case"utf-8":return v(this,h,m,R);case"ascii":case"latin1":case"binary":return te(this,h,m,R);case"base64":return U(this,h,m,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,h,m,R);default:if(fe)throw new TypeError("Unknown encoding: "+Y);Y=(""+Y).toLowerCase(),fe=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ge=4096;function _e(E,h,m){var R="";m=Math.min(E.length,m);for(var Y=h;Y<m;++Y)R+=String.fromCharCode(127&E[Y]);return R}function Ot(E,h,m){var R="";m=Math.min(E.length,m);for(var Y=h;Y<m;++Y)R+=String.fromCharCode(E[Y]);return R}function et(E,h,m){var R=E.length;(!h||h<0)&&(h=0),(!m||m<0||m>R)&&(m=R);for(var Y="",ce=h;ce<m;++ce)Y+=On[E[ce]];return Y}function fi(E,h,m){for(var R=E.slice(h,m),Y="",ce=0;ce<R.length-1;ce+=2)Y+=String.fromCharCode(R[ce]+256*R[ce+1]);return Y}function ut(E,h,m){if(E%1!=0||E<0)throw new RangeError("offset is not uint");if(E+h>m)throw new RangeError("Trying to access beyond buffer length")}function He(E,h,m,R,Y,ce){if(!g.isBuffer(E))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>Y||h<ce)throw new RangeError('"value" argument is out of bounds');if(m+R>E.length)throw new RangeError("Index out of range")}function qr(E,h,m,R,Y,ce){if(m+R>E.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function Yt(E,h,m,R,Y){return h=+h,m>>>=0,Y||qr(E,0,m,4),T.write(E,h,m,R,23,4),m+4}function Mr(E,h,m,R,Y){return h=+h,m>>>=0,Y||qr(E,0,m,8),T.write(E,h,m,R,52,8),m+8}g.prototype.slice=function(h,m){var R=this.length;(h=~~h)<0?(h+=R)<0&&(h=0):h>R&&(h=R),(m=void 0===m?R:~~m)<0?(m+=R)<0&&(m=0):m>R&&(m=R),m<h&&(m=h);var Y=this.subarray(h,m);return Object.setPrototypeOf(Y,g.prototype),Y},g.prototype.readUintLE=g.prototype.readUIntLE=function(h,m,R){h>>>=0,m>>>=0,R||ut(h,m,this.length);for(var Y=this[h],ce=1,fe=0;++fe<m&&(ce*=256);)Y+=this[h+fe]*ce;return Y},g.prototype.readUintBE=g.prototype.readUIntBE=function(h,m,R){h>>>=0,m>>>=0,R||ut(h,m,this.length);for(var Y=this[h+--m],ce=1;m>0&&(ce*=256);)Y+=this[h+--m]*ce;return Y},g.prototype.readUint8=g.prototype.readUInt8=function(h,m){return h>>>=0,m||ut(h,1,this.length),this[h]},g.prototype.readUint16LE=g.prototype.readUInt16LE=function(h,m){return h>>>=0,m||ut(h,2,this.length),this[h]|this[h+1]<<8},g.prototype.readUint16BE=g.prototype.readUInt16BE=function(h,m){return h>>>=0,m||ut(h,2,this.length),this[h]<<8|this[h+1]},g.prototype.readUint32LE=g.prototype.readUInt32LE=function(h,m){return h>>>=0,m||ut(h,4,this.length),(this[h]|this[h+1]<<8|this[h+2]<<16)+16777216*this[h+3]},g.prototype.readUint32BE=g.prototype.readUInt32BE=function(h,m){return h>>>=0,m||ut(h,4,this.length),16777216*this[h]+(this[h+1]<<16|this[h+2]<<8|this[h+3])},g.prototype.readIntLE=function(h,m,R){h>>>=0,m>>>=0,R||ut(h,m,this.length);for(var Y=this[h],ce=1,fe=0;++fe<m&&(ce*=256);)Y+=this[h+fe]*ce;return Y>=(ce*=128)&&(Y-=Math.pow(2,8*m)),Y},g.prototype.readIntBE=function(h,m,R){h>>>=0,m>>>=0,R||ut(h,m,this.length);for(var Y=m,ce=1,fe=this[h+--Y];Y>0&&(ce*=256);)fe+=this[h+--Y]*ce;return fe>=(ce*=128)&&(fe-=Math.pow(2,8*m)),fe},g.prototype.readInt8=function(h,m){return h>>>=0,m||ut(h,1,this.length),128&this[h]?-1*(255-this[h]+1):this[h]},g.prototype.readInt16LE=function(h,m){h>>>=0,m||ut(h,2,this.length);var R=this[h]|this[h+1]<<8;return 32768&R?4294901760|R:R},g.prototype.readInt16BE=function(h,m){h>>>=0,m||ut(h,2,this.length);var R=this[h+1]|this[h]<<8;return 32768&R?4294901760|R:R},g.prototype.readInt32LE=function(h,m){return h>>>=0,m||ut(h,4,this.length),this[h]|this[h+1]<<8|this[h+2]<<16|this[h+3]<<24},g.prototype.readInt32BE=function(h,m){return h>>>=0,m||ut(h,4,this.length),this[h]<<24|this[h+1]<<16|this[h+2]<<8|this[h+3]},g.prototype.readFloatLE=function(h,m){return h>>>=0,m||ut(h,4,this.length),T.read(this,h,!0,23,4)},g.prototype.readFloatBE=function(h,m){return h>>>=0,m||ut(h,4,this.length),T.read(this,h,!1,23,4)},g.prototype.readDoubleLE=function(h,m){return h>>>=0,m||ut(h,8,this.length),T.read(this,h,!0,52,8)},g.prototype.readDoubleBE=function(h,m){return h>>>=0,m||ut(h,8,this.length),T.read(this,h,!1,52,8)},g.prototype.writeUintLE=g.prototype.writeUIntLE=function(h,m,R,Y){h=+h,m>>>=0,R>>>=0,Y||He(this,h,m,R,Math.pow(2,8*R)-1,0);var fe=1,tt=0;for(this[m]=255&h;++tt<R&&(fe*=256);)this[m+tt]=h/fe&255;return m+R},g.prototype.writeUintBE=g.prototype.writeUIntBE=function(h,m,R,Y){h=+h,m>>>=0,R>>>=0,Y||He(this,h,m,R,Math.pow(2,8*R)-1,0);var fe=R-1,tt=1;for(this[m+fe]=255&h;--fe>=0&&(tt*=256);)this[m+fe]=h/tt&255;return m+R},g.prototype.writeUint8=g.prototype.writeUInt8=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,1,255,0),this[m]=255&h,m+1},g.prototype.writeUint16LE=g.prototype.writeUInt16LE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,2,65535,0),this[m]=255&h,this[m+1]=h>>>8,m+2},g.prototype.writeUint16BE=g.prototype.writeUInt16BE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,2,65535,0),this[m]=h>>>8,this[m+1]=255&h,m+2},g.prototype.writeUint32LE=g.prototype.writeUInt32LE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,4,4294967295,0),this[m+3]=h>>>24,this[m+2]=h>>>16,this[m+1]=h>>>8,this[m]=255&h,m+4},g.prototype.writeUint32BE=g.prototype.writeUInt32BE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,4,4294967295,0),this[m]=h>>>24,this[m+1]=h>>>16,this[m+2]=h>>>8,this[m+3]=255&h,m+4},g.prototype.writeIntLE=function(h,m,R,Y){if(h=+h,m>>>=0,!Y){var ce=Math.pow(2,8*R-1);He(this,h,m,R,ce-1,-ce)}var fe=0,tt=1,wt=0;for(this[m]=255&h;++fe<R&&(tt*=256);)h<0&&0===wt&&0!==this[m+fe-1]&&(wt=1),this[m+fe]=(h/tt>>0)-wt&255;return m+R},g.prototype.writeIntBE=function(h,m,R,Y){if(h=+h,m>>>=0,!Y){var ce=Math.pow(2,8*R-1);He(this,h,m,R,ce-1,-ce)}var fe=R-1,tt=1,wt=0;for(this[m+fe]=255&h;--fe>=0&&(tt*=256);)h<0&&0===wt&&0!==this[m+fe+1]&&(wt=1),this[m+fe]=(h/tt>>0)-wt&255;return m+R},g.prototype.writeInt8=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,1,127,-128),h<0&&(h=255+h+1),this[m]=255&h,m+1},g.prototype.writeInt16LE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,2,32767,-32768),this[m]=255&h,this[m+1]=h>>>8,m+2},g.prototype.writeInt16BE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,2,32767,-32768),this[m]=h>>>8,this[m+1]=255&h,m+2},g.prototype.writeInt32LE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,4,2147483647,-2147483648),this[m]=255&h,this[m+1]=h>>>8,this[m+2]=h>>>16,this[m+3]=h>>>24,m+4},g.prototype.writeInt32BE=function(h,m,R){return h=+h,m>>>=0,R||He(this,h,m,4,2147483647,-2147483648),h<0&&(h=4294967295+h+1),this[m]=h>>>24,this[m+1]=h>>>16,this[m+2]=h>>>8,this[m+3]=255&h,m+4},g.prototype.writeFloatLE=function(h,m,R){return Yt(this,h,m,!0,R)},g.prototype.writeFloatBE=function(h,m,R){return Yt(this,h,m,!1,R)},g.prototype.writeDoubleLE=function(h,m,R){return Mr(this,h,m,!0,R)},g.prototype.writeDoubleBE=function(h,m,R){return Mr(this,h,m,!1,R)},g.prototype.copy=function(h,m,R,Y){if(!g.isBuffer(h))throw new TypeError("argument should be a Buffer");if(R||(R=0),!Y&&0!==Y&&(Y=this.length),m>=h.length&&(m=h.length),m||(m=0),Y>0&&Y<R&&(Y=R),Y===R||0===h.length||0===this.length)return 0;if(m<0)throw new RangeError("targetStart out of bounds");if(R<0||R>=this.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("sourceEnd out of bounds");Y>this.length&&(Y=this.length),h.length-m<Y-R&&(Y=h.length-m+R);var ce=Y-R;return this===h&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(m,R,Y):Uint8Array.prototype.set.call(h,this.subarray(R,Y),m),ce},g.prototype.fill=function(h,m,R,Y){if("string"==typeof h){if("string"==typeof m?(Y=m,m=0,R=this.length):"string"==typeof R&&(Y=R,R=this.length),void 0!==Y&&"string"!=typeof Y)throw new TypeError("encoding must be a string");if("string"==typeof Y&&!g.isEncoding(Y))throw new TypeError("Unknown encoding: "+Y);if(1===h.length){var ce=h.charCodeAt(0);("utf8"===Y&&ce<128||"latin1"===Y)&&(h=ce)}}else"number"==typeof h?h&=255:"boolean"==typeof h&&(h=Number(h));if(m<0||this.length<m||this.length<R)throw new RangeError("Out of range index");if(R<=m)return this;var fe;if(m>>>=0,R=void 0===R?this.length:R>>>0,h||(h=0),"number"==typeof h)for(fe=m;fe<R;++fe)this[fe]=h;else{var tt=g.isBuffer(h)?h:g.from(h,Y),wt=tt.length;if(0===wt)throw new TypeError('The value "'+h+'" is invalid for argument "value"');for(fe=0;fe<R-m;++fe)this[fe+m]=tt[fe%wt]}return this};var kt=/[^+/0-9A-Za-z-_]/g;function y(E,h){h=h||1/0;for(var m,R=E.length,Y=null,ce=[],fe=0;fe<R;++fe){if((m=E.charCodeAt(fe))>55295&&m<57344){if(!Y){if(m>56319){(h-=3)>-1&&ce.push(239,191,189);continue}if(fe+1===R){(h-=3)>-1&&ce.push(239,191,189);continue}Y=m;continue}if(m<56320){(h-=3)>-1&&ce.push(239,191,189),Y=m;continue}m=65536+(Y-55296<<10|m-56320)}else Y&&(h-=3)>-1&&ce.push(239,191,189);if(Y=null,m<128){if((h-=1)<0)break;ce.push(m)}else if(m<2048){if((h-=2)<0)break;ce.push(m>>6|192,63&m|128)}else if(m<65536){if((h-=3)<0)break;ce.push(m>>12|224,m>>6&63|128,63&m|128)}else{if(!(m<1114112))throw new Error("Invalid code point");if((h-=4)<0)break;ce.push(m>>18|240,m>>12&63|128,m>>6&63|128,63&m|128)}}return ce}function st(E){return w.toByteArray(function x(E){if((E=(E=E.split("=")[0]).trim().replace(kt,"")).length<2)return"";for(;E.length%4!=0;)E+="=";return E}(E))}function Mt(E,h,m,R){for(var Y=0;Y<R&&!(Y+m>=h.length||Y>=E.length);++Y)h[Y+m]=E[Y];return Y}function ft(E,h){return E instanceof h||null!=E&&null!=E.constructor&&null!=E.constructor.name&&E.constructor.name===h.name}function Zt(E){return E!=E}var On=function(){for(var E="0123456789abcdef",h=new Array(256),m=0;m<16;++m)for(var R=16*m,Y=0;Y<16;++Y)h[R+Y]=E[m]+E[Y];return h}()},6570:he=>{function oe(w){if(w)return function N(w){for(var T in oe.prototype)w[T]=oe.prototype[T];return w}(w)}he.exports=oe,oe.prototype.on=oe.prototype.addEventListener=function(w,T){return this._callbacks=this._callbacks||{},(this._callbacks[w]=this._callbacks[w]||[]).push(T),this},oe.prototype.once=function(w,T){var k=this;function $(){k.off(w,$),T.apply(this,arguments)}return this._callbacks=this._callbacks||{},$.fn=T,this.on(w,$),this},oe.prototype.off=oe.prototype.removeListener=oe.prototype.removeAllListeners=oe.prototype.removeEventListener=function(w,T){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var k=this._callbacks[w];if(!k)return this;if(1==arguments.length)return delete this._callbacks[w],this;for(var $,H=0;H<k.length;H++)if(($=k[H])===T||$.fn===T){k.splice(H,1);break}return this},oe.prototype.emit=function(w){this._callbacks=this._callbacks||{};var T=[].slice.call(arguments,1),k=this._callbacks[w];if(k)for(var $=0,H=(k=k.slice(0)).length;$<H;++$)k[$].apply(this,T);return this},oe.prototype.listeners=function(w){return this._callbacks=this._callbacks||{},this._callbacks[w]||[]},oe.prototype.hasListeners=function(w){return!!this.listeners(w).length}},9069:he=>{"use strict";var w,oe="object"==typeof Reflect?Reflect:null,N=oe&&"function"==typeof oe.apply?oe.apply:function(_,f,p){return Function.prototype.apply.call(_,f,p)};w=oe&&"function"==typeof oe.ownKeys?oe.ownKeys:Object.getOwnPropertySymbols?function(_){return Object.getOwnPropertyNames(_).concat(Object.getOwnPropertySymbols(_))}:function(_){return Object.getOwnPropertyNames(_)};var k=Number.isNaN||function(_){return _!=_};function $(){$.init.call(this)}he.exports=$,he.exports.once=function G(M,_){return new Promise(function(f,p){function D(v){M.removeListener(_,K),p(v)}function K(){"function"==typeof M.removeListener&&M.removeListener("error",D),f([].slice.call(arguments))}L(M,_,K,{once:!0}),"error"!==_&&function re(M,_,f){"function"==typeof M.on&&L(M,"error",_,f)}(M,D,{once:!0})})},$.EventEmitter=$,$.prototype._events=void 0,$.prototype._eventsCount=0,$.prototype._maxListeners=void 0;var H=10;function O(M){if("function"!=typeof M)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof M)}function g(M){return void 0===M._maxListeners?$.defaultMaxListeners:M._maxListeners}function S(M,_,f,p){var D,K,v;if(O(f),void 0===(K=M._events)?(K=M._events=Object.create(null),M._eventsCount=0):(void 0!==K.newListener&&(M.emit("newListener",_,f.listener?f.listener:f),K=M._events),v=K[_]),void 0===v)v=K[_]=f,++M._eventsCount;else if("function"==typeof v?v=K[_]=p?[f,v]:[v,f]:p?v.unshift(f):v.push(f),(D=g(M))>0&&v.length>D&&!v.warned){v.warned=!0;var te=new Error("Possible EventEmitter memory leak detected. "+v.length+" "+String(_)+" listeners added. Use emitter.setMaxListeners() to increase limit");te.name="MaxListenersExceededWarning",te.emitter=M,te.type=_,te.count=v.length,function T(M){console&&console.warn&&console.warn(M)}(te)}return M}function F(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function z(M,_,f){var p={fired:!1,wrapFn:void 0,target:M,type:_,listener:f},D=F.bind(p);return D.listener=f,p.wrapFn=D,D}function Z(M,_,f){var p=M._events;if(void 0===p)return[];var D=p[_];return void 0===D?[]:"function"==typeof D?f?[D.listener||D]:[D]:f?function B(M){for(var _=new Array(M.length),f=0;f<_.length;++f)_[f]=M[f].listener||M[f];return _}(D):I(D,D.length)}function X(M){var _=this._events;if(void 0!==_){var f=_[M];if("function"==typeof f)return 1;if(void 0!==f)return f.length}return 0}function I(M,_){for(var f=new Array(_),p=0;p<_;++p)f[p]=M[p];return f}function L(M,_,f,p){if("function"==typeof M.on)p.once?M.once(_,f):M.on(_,f);else{if("function"!=typeof M.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof M);M.addEventListener(_,function D(K){p.once&&M.removeEventListener(_,D),f(K)})}}Object.defineProperty($,"defaultMaxListeners",{enumerable:!0,get:function(){return H},set:function(M){if("number"!=typeof M||M<0||k(M))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+M+".");H=M}}),$.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},$.prototype.setMaxListeners=function(_){if("number"!=typeof _||_<0||k(_))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+_+".");return this._maxListeners=_,this},$.prototype.getMaxListeners=function(){return g(this)},$.prototype.emit=function(_){for(var f=[],p=1;p<arguments.length;p++)f.push(arguments[p]);var D="error"===_,K=this._events;if(void 0!==K)D=D&&void 0===K.error;else if(!D)return!1;if(D){var v;if(f.length>0&&(v=f[0]),v instanceof Error)throw v;var te=new Error("Unhandled error."+(v?" ("+v.message+")":""));throw te.context=v,te}var U=K[_];if(void 0===U)return!1;if("function"==typeof U)N(U,this,f);else{var J=U.length,ue=I(U,J);for(p=0;p<J;++p)N(ue[p],this,f)}return!0},$.prototype.on=$.prototype.addListener=function(_,f){return S(this,_,f,!1)},$.prototype.prependListener=function(_,f){return S(this,_,f,!0)},$.prototype.once=function(_,f){return O(f),this.on(_,z(this,_,f)),this},$.prototype.prependOnceListener=function(_,f){return O(f),this.prependListener(_,z(this,_,f)),this},$.prototype.off=$.prototype.removeListener=function(_,f){var p,D,K,v,te;if(O(f),void 0===(D=this._events))return this;if(void 0===(p=D[_]))return this;if(p===f||p.listener===f)0==--this._eventsCount?this._events=Object.create(null):(delete D[_],D.removeListener&&this.emit("removeListener",_,p.listener||f));else if("function"!=typeof p){for(K=-1,v=p.length-1;v>=0;v--)if(p[v]===f||p[v].listener===f){te=p[v].listener,K=v;break}if(K<0)return this;0===K?p.shift():function A(M,_){for(;_+1<M.length;_++)M[_]=M[_+1];M.pop()}(p,K),1===p.length&&(D[_]=p[0]),void 0!==D.removeListener&&this.emit("removeListener",_,te||f)}return this},$.prototype.removeAllListeners=function(_){var f,p,D;if(void 0===(p=this._events))return this;if(void 0===p.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==p[_]&&(0==--this._eventsCount?this._events=Object.create(null):delete p[_]),this;if(0===arguments.length){var v,K=Object.keys(p);for(D=0;D<K.length;++D)"removeListener"!==(v=K[D])&&this.removeAllListeners(v);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(f=p[_]))this.removeListener(_,f);else if(void 0!==f)for(D=f.length-1;D>=0;D--)this.removeListener(_,f[D]);return this},$.prototype.listeners=function(_){return Z(this,_,!0)},$.prototype.rawListeners=function(_){return Z(this,_,!1)},$.listenerCount=function(M,_){return"function"==typeof M.listenerCount?M.listenerCount(_):X.call(M,_)},$.prototype.listenerCount=X,$.prototype.eventNames=function(){return this._eventsCount>0?w(this._events):[]}},8461:(he,oe)=>{oe.read=function(N,w,T,k,$){var H,O,g=8*$-k-1,S=(1<<g)-1,F=S>>1,z=-7,Z=T?$-1:0,X=T?-1:1,I=N[w+Z];for(Z+=X,H=I&(1<<-z)-1,I>>=-z,z+=g;z>0;H=256*H+N[w+Z],Z+=X,z-=8);for(O=H&(1<<-z)-1,H>>=-z,z+=k;z>0;O=256*O+N[w+Z],Z+=X,z-=8);if(0===H)H=1-F;else{if(H===S)return O?NaN:1/0*(I?-1:1);O+=Math.pow(2,k),H-=F}return(I?-1:1)*O*Math.pow(2,H-k)},oe.write=function(N,w,T,k,$,H){var O,g,S,F=8*H-$-1,z=(1<<F)-1,Z=z>>1,X=23===$?Math.pow(2,-24)-Math.pow(2,-77):0,I=k?0:H-1,A=k?1:-1,B=w<0||0===w&&1/w<0?1:0;for(w=Math.abs(w),isNaN(w)||w===1/0?(g=isNaN(w)?1:0,O=z):(O=Math.floor(Math.log(w)/Math.LN2),w*(S=Math.pow(2,-O))<1&&(O--,S*=2),(w+=O+Z>=1?X/S:X*Math.pow(2,1-Z))*S>=2&&(O++,S/=2),O+Z>=z?(g=0,O=z):O+Z>=1?(g=(w*S-1)*Math.pow(2,$),O+=Z):(g=w*Math.pow(2,Z-1)*Math.pow(2,$),O=0));$>=8;N[T+I]=255&g,I+=A,g/=256,$-=8);for(O=O<<$|g,F+=$;F>0;N[T+I]=255&O,I+=A,O/=256,F-=8);N[T+I-A]|=128*B}},3502:(he,oe,N)=>{var w=N(3172),T=w.Buffer;function k(H,O){for(var g in H)O[g]=H[g]}function $(H,O,g){return T(H,O,g)}T.from&&T.alloc&&T.allocUnsafe&&T.allocUnsafeSlow?he.exports=w:(k(w,oe),oe.Buffer=$),$.prototype=Object.create(T.prototype),k(T,$),$.from=function(H,O,g){if("number"==typeof H)throw new TypeError("Argument must not be a number");return T(H,O,g)},$.alloc=function(H,O,g){if("number"!=typeof H)throw new TypeError("Argument must be a number");var S=T(H);return void 0!==O?"string"==typeof g?S.fill(O,g):S.fill(O):S.fill(0),S},$.allocUnsafe=function(H){if("number"!=typeof H)throw new TypeError("Argument must be a number");return T(H)},$.allocUnsafeSlow=function(H){if("number"!=typeof H)throw new TypeError("Argument must be a number");return w.SlowBuffer(H)}},1503:(he,oe,N)=>{!function(w){w.parser=function(x,y){return new k(x,y)},w.SAXParser=k,w.SAXStream=z,w.createStream=function F(x,y){return new z(x,y)},w.MAX_BUFFER_LENGTH=65536;var g,T=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function k(x,y){if(!(this instanceof k))return new k(x,y);var ee=this;(function H(x){for(var y=0,ee=T.length;y<ee;y++)x[T[y]]=""})(ee),ee.q=ee.c="",ee.bufferCheckPosition=w.MAX_BUFFER_LENGTH,ee.opt=y||{},ee.opt.lowercase=ee.opt.lowercase||ee.opt.lowercasetags,ee.looseCase=ee.opt.lowercase?"toLowerCase":"toUpperCase",ee.tags=[],ee.closed=ee.closedRoot=ee.sawRoot=!1,ee.tag=ee.error=null,ee.strict=!!x,ee.noscript=!(!x&&!ee.opt.noscript),ee.state=v.BEGIN,ee.strictEntities=ee.opt.strictEntities,ee.ENTITIES=Object.create(ee.strictEntities?w.XML_ENTITIES:w.ENTITIES),ee.attribList=[],ee.opt.xmlns&&(ee.ns=Object.create(B)),ee.trackPosition=!1!==ee.opt.position,ee.trackPosition&&(ee.position=ee.line=ee.column=0),U(ee,"onready")}w.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(x){function y(){}return y.prototype=x,new y}),Object.keys||(Object.keys=function(x){var y=[];for(var ee in x)x.hasOwnProperty(ee)&&y.push(ee);return y}),k.prototype={end:function(){Je(this)},write:function kt(x){var y=this;if(this.error)throw this.error;if(y.closed)return Ge(y,"Cannot write after close. Assign an onready handler.");if(null===x)return Je(y);"object"==typeof x&&(x=x.toString());for(var ee=0,q="";q=Mr(x,ee++),y.c=q,q;)switch(y.trackPosition&&(y.position++,"\n"===q?(y.line++,y.column=0):y.column++),y.state){case v.BEGIN:if(y.state=v.BEGIN_WHITESPACE,"\ufeff"===q)continue;Yt(y,q);continue;case v.BEGIN_WHITESPACE:Yt(y,q);continue;case v.TEXT:if(y.sawRoot&&!y.closedRoot){for(var st=ee-1;q&&"<"!==q&&"&"!==q;)(q=Mr(x,ee++))&&y.trackPosition&&(y.position++,"\n"===q?(y.line++,y.column=0):y.column++);y.textNode+=x.substring(st,ee-1)}"<"!==q||y.sawRoot&&y.closedRoot&&!y.strict?(!_(q)&&(!y.sawRoot||y.closedRoot)&&_e(y,"Text data outside of root node."),"&"===q?y.state=v.TEXT_ENTITY:y.textNode+=q):(y.state=v.OPEN_WAKA,y.startTagPosition=y.position);continue;case v.SCRIPT:"<"===q?y.state=v.SCRIPT_ENDING:y.script+=q;continue;case v.SCRIPT_ENDING:"/"===q?y.state=v.CLOSE_TAG:(y.script+="<"+q,y.state=v.SCRIPT);continue;case v.OPEN_WAKA:"!"===q?(y.state=v.SGML_DECL,y.sgmlDecl=""):_(q)||(D(G,q)?(y.state=v.OPEN_TAG,y.tagName=q):"/"===q?(y.state=v.CLOSE_TAG,y.tagName=""):"?"===q?(y.state=v.PROC_INST,y.procInstName=y.procInstBody=""):(_e(y,"Unencoded <"),y.startTagPosition+1<y.position&&(q=new Array(y.position-y.startTagPosition).join(" ")+q),y.textNode+="<"+q,y.state=v.TEXT));continue;case v.SGML_DECL:(y.sgmlDecl+q).toUpperCase()===Z?(J(y,"onopencdata"),y.state=v.CDATA,y.sgmlDecl="",y.cdata=""):y.sgmlDecl+q==="--"?(y.state=v.COMMENT,y.comment="",y.sgmlDecl=""):(y.sgmlDecl+q).toUpperCase()===X?(y.state=v.DOCTYPE,(y.doctype||y.sawRoot)&&_e(y,"Inappropriately located doctype declaration"),y.doctype="",y.sgmlDecl=""):">"===q?(J(y,"onsgmldeclaration",y.sgmlDecl),y.sgmlDecl="",y.state=v.TEXT):(f(q)&&(y.state=v.SGML_DECL_QUOTED),y.sgmlDecl+=q);continue;case v.SGML_DECL_QUOTED:q===y.q&&(y.state=v.SGML_DECL,y.q=""),y.sgmlDecl+=q;continue;case v.DOCTYPE:">"===q?(y.state=v.TEXT,J(y,"ondoctype",y.doctype),y.doctype=!0):(y.doctype+=q,"["===q?y.state=v.DOCTYPE_DTD:f(q)&&(y.state=v.DOCTYPE_QUOTED,y.q=q));continue;case v.DOCTYPE_QUOTED:y.doctype+=q,q===y.q&&(y.q="",y.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:y.doctype+=q,"]"===q?y.state=v.DOCTYPE:f(q)&&(y.state=v.DOCTYPE_DTD_QUOTED,y.q=q);continue;case v.DOCTYPE_DTD_QUOTED:y.doctype+=q,q===y.q&&(y.state=v.DOCTYPE_DTD,y.q="");continue;case v.COMMENT:"-"===q?y.state=v.COMMENT_ENDING:y.comment+=q;continue;case v.COMMENT_ENDING:"-"===q?(y.state=v.COMMENT_ENDED,y.comment=be(y.opt,y.comment),y.comment&&J(y,"oncomment",y.comment),y.comment=""):(y.comment+="-"+q,y.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==q?(_e(y,"Malformed comment"),y.comment+="--"+q,y.state=v.COMMENT):y.state=v.TEXT;continue;case v.CDATA:"]"===q?y.state=v.CDATA_ENDING:y.cdata+=q;continue;case v.CDATA_ENDING:"]"===q?y.state=v.CDATA_ENDING_2:(y.cdata+="]"+q,y.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===q?(y.cdata&&J(y,"oncdata",y.cdata),J(y,"onclosecdata"),y.cdata="",y.state=v.TEXT):"]"===q?y.cdata+="]":(y.cdata+="]]"+q,y.state=v.CDATA);continue;case v.PROC_INST:"?"===q?y.state=v.PROC_INST_ENDING:_(q)?y.state=v.PROC_INST_BODY:y.procInstName+=q;continue;case v.PROC_INST_BODY:if(!y.procInstBody&&_(q))continue;"?"===q?y.state=v.PROC_INST_ENDING:y.procInstBody+=q;continue;case v.PROC_INST_ENDING:">"===q?(J(y,"onprocessinginstruction",{name:y.procInstName,body:y.procInstBody}),y.procInstName=y.procInstBody="",y.state=v.TEXT):(y.procInstBody+="?"+q,y.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:D(re,q)?y.tagName+=q:(Ot(y),">"===q?ut(y):"/"===q?y.state=v.OPEN_TAG_SLASH:(_(q)||_e(y,"Invalid character in tag name"),y.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:">"===q?(ut(y,!0),He(y)):(_e(y,"Forward-slash in opening tag not followed by >"),y.state=v.ATTRIB);continue;case v.ATTRIB:if(_(q))continue;">"===q?ut(y):"/"===q?y.state=v.OPEN_TAG_SLASH:D(G,q)?(y.attribName=q,y.attribValue="",y.state=v.ATTRIB_NAME):_e(y,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===q?y.state=v.ATTRIB_VALUE:">"===q?(_e(y,"Attribute without value"),y.attribValue=y.attribName,fi(y),ut(y)):_(q)?y.state=v.ATTRIB_NAME_SAW_WHITE:D(re,q)?y.attribName+=q:_e(y,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===q)y.state=v.ATTRIB_VALUE;else{if(_(q))continue;_e(y,"Attribute without value"),y.tag.attributes[y.attribName]="",y.attribValue="",J(y,"onattribute",{name:y.attribName,value:""}),y.attribName="",">"===q?ut(y):D(G,q)?(y.attribName=q,y.state=v.ATTRIB_NAME):(_e(y,"Invalid attribute name"),y.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(_(q))continue;f(q)?(y.q=q,y.state=v.ATTRIB_VALUE_QUOTED):(_e(y,"Unquoted attribute value"),y.state=v.ATTRIB_VALUE_UNQUOTED,y.attribValue=q);continue;case v.ATTRIB_VALUE_QUOTED:if(q!==y.q){"&"===q?y.state=v.ATTRIB_VALUE_ENTITY_Q:y.attribValue+=q;continue}fi(y),y.q="",y.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:_(q)?y.state=v.ATTRIB:">"===q?ut(y):"/"===q?y.state=v.OPEN_TAG_SLASH:D(G,q)?(_e(y,"No whitespace between attributes"),y.attribName=q,y.attribValue="",y.state=v.ATTRIB_NAME):_e(y,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!p(q)){"&"===q?y.state=v.ATTRIB_VALUE_ENTITY_U:y.attribValue+=q;continue}fi(y),">"===q?ut(y):y.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(y.tagName)">"===q?He(y):D(re,q)?y.tagName+=q:y.script?(y.script+="</"+y.tagName,y.tagName="",y.state=v.SCRIPT):(_(q)||_e(y,"Invalid tagname in closing tag"),y.state=v.CLOSE_TAG_SAW_WHITE);else{if(_(q))continue;K(G,q)?y.script?(y.script+="</"+q,y.state=v.SCRIPT):_e(y,"Invalid tagname in closing tag."):y.tagName=q}continue;case v.CLOSE_TAG_SAW_WHITE:if(_(q))continue;">"===q?He(y):_e(y,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:var ft,Zt;switch(y.state){case v.TEXT_ENTITY:ft=v.TEXT,Zt="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:ft=v.ATTRIB_VALUE_QUOTED,Zt="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:ft=v.ATTRIB_VALUE_UNQUOTED,Zt="attribValue"}";"===q?(y[Zt]+=qr(y),y.entity="",y.state=ft):D(y.entity.length?M:L,q)?y.entity+=q:(_e(y,"Invalid character in entity name"),y[Zt]+="&"+y.entity+q,y.entity="",y.state=ft);continue;default:throw new Error(y,"Unknown state: "+y.state)}return y.position>=y.bufferCheckPosition&&function $(x){for(var y=Math.max(w.MAX_BUFFER_LENGTH,10),ee=0,q=0,st=T.length;q<st;q++){var Mt=x[T[q]].length;if(Mt>y)switch(T[q]){case"textNode":ue(x);break;case"cdata":J(x,"oncdata",x.cdata),x.cdata="";break;case"script":J(x,"onscript",x.script),x.script="";break;default:Ge(x,"Max buffer length exceeded: "+T[q])}ee=Math.max(ee,Mt)}x.bufferCheckPosition=w.MAX_BUFFER_LENGTH-ee+x.position}(y),y},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function O(x){ue(x),""!==x.cdata&&(J(x,"oncdata",x.cdata),x.cdata=""),""!==x.script&&(J(x,"onscript",x.script),x.script="")}(this)}};try{g=N(5398).Stream}catch{g=function(){}}var S=w.EVENTS.filter(function(x){return"error"!==x&&"end"!==x});function z(x,y){if(!(this instanceof z))return new z(x,y);g.apply(this),this._parser=new k(x,y),this.writable=!0,this.readable=!0;var ee=this;this._parser.onend=function(){ee.emit("end")},this._parser.onerror=function(q){ee.emit("error",q),ee._parser.error=null},this._decoder=null,S.forEach(function(q){Object.defineProperty(ee,"on"+q,{get:function(){return ee._parser["on"+q]},set:function(st){if(!st)return ee.removeAllListeners(q),ee._parser["on"+q]=st,st;ee.on(q,st)},enumerable:!0,configurable:!1})})}(z.prototype=Object.create(g.prototype,{constructor:{value:z}})).write=function(x){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(x)){if(!this._decoder){var y=N(3054).s;this._decoder=new y("utf8")}x=this._decoder.write(x)}return this._parser.write(x.toString()),this.emit("data",x),!0},z.prototype.end=function(x){return x&&x.length&&this.write(x),this._parser.end(),!0},z.prototype.on=function(x,y){var ee=this;return!ee._parser["on"+x]&&-1!==S.indexOf(x)&&(ee._parser["on"+x]=function(){var q=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);q.splice(0,0,x),ee.emit.apply(ee,q)}),g.prototype.on.call(ee,x,y)};var Z="[CDATA[",X="DOCTYPE",I="http://www.w3.org/XML/1998/namespace",A="http://www.w3.org/2000/xmlns/",B={xml:I,xmlns:A},G=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,re=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,L=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,M=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function _(x){return" "===x||"\n"===x||"\r"===x||"\t"===x}function f(x){return'"'===x||"'"===x}function p(x){return">"===x||_(x)}function D(x,y){return x.test(y)}function K(x,y){return!D(x,y)}var x,y,ee,v=0;for(var te in w.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},w.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},w.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(w.ENTITIES).forEach(function(x){var y=w.ENTITIES[x],ee="number"==typeof y?String.fromCharCode(y):y;w.ENTITIES[x]=ee}),w.STATE)w.STATE[w.STATE[te]]=te;function U(x,y,ee){x[y]&&x[y](ee)}function J(x,y,ee){x.textNode&&ue(x),U(x,y,ee)}function ue(x){x.textNode=be(x.opt,x.textNode),x.textNode&&U(x,"ontext",x.textNode),x.textNode=""}function be(x,y){return x.trim&&(y=y.trim()),x.normalize&&(y=y.replace(/\s+/g," ")),y}function Ge(x,y){return ue(x),x.trackPosition&&(y+="\nLine: "+x.line+"\nColumn: "+x.column+"\nChar: "+x.c),y=new Error(y),x.error=y,U(x,"onerror",y),x}function Je(x){return x.sawRoot&&!x.closedRoot&&_e(x,"Unclosed root tag"),x.state!==v.BEGIN&&x.state!==v.BEGIN_WHITESPACE&&x.state!==v.TEXT&&Ge(x,"Unexpected end"),ue(x),x.c="",x.closed=!0,U(x,"onend"),k.call(x,x.strict,x.opt),x}function _e(x,y){if("object"!=typeof x||!(x instanceof k))throw new Error("bad call to strictFail");x.strict&&Ge(x,y)}function Ot(x){x.strict||(x.tagName=x.tagName[x.looseCase]());var y=x.tags[x.tags.length-1]||x,ee=x.tag={name:x.tagName,attributes:{}};x.opt.xmlns&&(ee.ns=y.ns),x.attribList.length=0,J(x,"onopentagstart",ee)}function et(x,y){var q=x.indexOf(":")<0?["",x]:x.split(":"),st=q[0],Mt=q[1];return y&&"xmlns"===x&&(st="xmlns",Mt=""),{prefix:st,local:Mt}}function fi(x){if(x.strict||(x.attribName=x.attribName[x.looseCase]()),-1!==x.attribList.indexOf(x.attribName)||x.tag.attributes.hasOwnProperty(x.attribName))x.attribName=x.attribValue="";else{if(x.opt.xmlns){var y=et(x.attribName,!0),q=y.local;if("xmlns"===y.prefix)if("xml"===q&&x.attribValue!==I)_e(x,"xml: prefix must be bound to "+I+"\nActual: "+x.attribValue);else if("xmlns"===q&&x.attribValue!==A)_e(x,"xmlns: prefix must be bound to "+A+"\nActual: "+x.attribValue);else{var st=x.tag,Mt=x.tags[x.tags.length-1]||x;st.ns===Mt.ns&&(st.ns=Object.create(Mt.ns)),st.ns[q]=x.attribValue}x.attribList.push([x.attribName,x.attribValue])}else x.tag.attributes[x.attribName]=x.attribValue,J(x,"onattribute",{name:x.attribName,value:x.attribValue});x.attribName=x.attribValue=""}}function ut(x,y){if(x.opt.xmlns){var ee=x.tag,q=et(x.tagName);ee.prefix=q.prefix,ee.local=q.local,ee.uri=ee.ns[q.prefix]||"",ee.prefix&&!ee.uri&&(_e(x,"Unbound namespace prefix: "+JSON.stringify(x.tagName)),ee.uri=q.prefix),ee.ns&&(x.tags[x.tags.length-1]||x).ns!==ee.ns&&Object.keys(ee.ns).forEach(function(fe){J(x,"onopennamespace",{prefix:fe,uri:ee.ns[fe]})});for(var Mt=0,ft=x.attribList.length;Mt<ft;Mt++){var Zt=x.attribList[Mt],On=Zt[0],E=Zt[1],h=et(On,!0),m=h.prefix,Y=""===m?"":ee.ns[m]||"",ce={name:On,value:E,prefix:m,local:h.local,uri:Y};m&&"xmlns"!==m&&!Y&&(_e(x,"Unbound namespace prefix: "+JSON.stringify(m)),ce.uri=m),x.tag.attributes[On]=ce,J(x,"onattribute",ce)}x.attribList.length=0}x.tag.isSelfClosing=!!y,x.sawRoot=!0,x.tags.push(x.tag),J(x,"onopentag",x.tag),y||(x.state=x.noscript||"script"!==x.tagName.toLowerCase()?v.TEXT:v.SCRIPT,x.tag=null,x.tagName=""),x.attribName=x.attribValue="",x.attribList.length=0}function He(x){if(!x.tagName)return _e(x,"Weird empty close tag."),x.textNode+="</>",void(x.state=v.TEXT);if(x.script){if("script"!==x.tagName)return x.script+="</"+x.tagName+">",x.tagName="",void(x.state=v.SCRIPT);J(x,"onscript",x.script),x.script=""}var y=x.tags.length,ee=x.tagName;x.strict||(ee=ee[x.looseCase]());for(var q=ee;y--&&x.tags[y].name!==q;)_e(x,"Unexpected close tag");if(y<0)return _e(x,"Unmatched closing tag: "+x.tagName),x.textNode+="</"+x.tagName+">",void(x.state=v.TEXT);x.tagName=ee;for(var Mt=x.tags.length;Mt-- >y;){var ft=x.tag=x.tags.pop();x.tagName=x.tag.name,J(x,"onclosetag",x.tagName);var Zt={};for(var On in ft.ns)Zt[On]=ft.ns[On];x.opt.xmlns&&ft.ns!==(x.tags[x.tags.length-1]||x).ns&&Object.keys(ft.ns).forEach(function(h){J(x,"onclosenamespace",{prefix:h,uri:ft.ns[h]})})}0===y&&(x.closedRoot=!0),x.tagName=x.attribValue=x.attribName="",x.attribList.length=0,x.state=v.TEXT}function qr(x){var q,y=x.entity,ee=y.toLowerCase(),st="";return x.ENTITIES[y]?x.ENTITIES[y]:x.ENTITIES[ee]?x.ENTITIES[ee]:("#"===(y=ee).charAt(0)&&("x"===y.charAt(1)?(y=y.slice(2),st=(q=parseInt(y,16)).toString(16)):(y=y.slice(1),st=(q=parseInt(y,10)).toString(10))),y=y.replace(/^0+/,""),isNaN(q)||st.toLowerCase()!==y?(_e(x,"Invalid character entity"),"&"+x.entity+";"):String.fromCodePoint(q))}function Yt(x,y){"<"===y?(x.state=v.OPEN_WAKA,x.startTagPosition=x.position):_(y)||(_e(x,"Non-whitespace before first tag."),x.textNode=y,x.state=v.TEXT)}function Mr(x,y){var ee="";return y<x.length&&(ee=x.charAt(y)),ee}v=w.STATE,String.fromCodePoint||(x=String.fromCharCode,y=Math.floor,ee=function(){var st=[],Zt=-1,On=arguments.length;if(!On)return"";for(var E="";++Zt<On;){var h=Number(arguments[Zt]);if(!isFinite(h)||h<0||h>1114111||y(h)!==h)throw RangeError("Invalid code point: "+h);h<=65535?st.push(h):st.push(55296+((h-=65536)>>10),h%1024+56320),(Zt+1===On||st.length>16384)&&(E+=x.apply(null,st),st.length=0)}return E},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:ee,configurable:!0,writable:!0}):String.fromCodePoint=ee)}(oe)},5398:(he,oe,N)=>{var w=N(6570);function T(){w.call(this)}T.prototype=new w,he.exports=T,T.Stream=T,T.prototype.pipe=function(k,$){var H=this;function O(I){k.writable&&!1===k.write(I)&&H.pause&&H.pause()}function g(){H.readable&&H.resume&&H.resume()}H.on("data",O),k.on("drain",g),!k._isStdio&&(!$||!1!==$.end)&&(H.on("end",F),H.on("close",z));var S=!1;function F(){S||(S=!0,k.end())}function z(){S||(S=!0,"function"==typeof k.destroy&&k.destroy())}function Z(I){if(X(),!this.hasListeners("error"))throw I}function X(){H.off("data",O),k.off("drain",g),H.off("end",F),H.off("close",z),H.off("error",Z),k.off("error",Z),H.off("end",X),H.off("close",X),k.off("end",X),k.off("close",X)}return H.on("error",Z),k.on("error",Z),H.on("end",X),H.on("close",X),k.on("end",X),k.on("close",X),k.emit("pipe",H),k}},3054:(he,oe,N)=>{"use strict";var w=N(3502).Buffer,T=w.isEncoding||function(L){switch((L=""+L)&&L.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function H(L){var M;switch(this.encoding=function $(L){var M=function k(L){if(!L)return"utf8";for(var M;;)switch(L){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return L;default:if(M)return;L=(""+L).toLowerCase(),M=!0}}(L);if("string"!=typeof M&&(w.isEncoding===T||!T(L)))throw new Error("Unknown encoding: "+L);return M||L}(L),this.encoding){case"utf16le":this.text=X,this.end=I,M=4;break;case"utf8":this.fillLast=F,M=4;break;case"base64":this.text=A,this.end=B,M=3;break;default:return this.write=G,void(this.end=re)}this.lastNeed=0,this.lastTotal=0,this.lastChar=w.allocUnsafe(M)}function O(L){return L<=127?0:L>>5==6?2:L>>4==14?3:L>>3==30?4:L>>6==2?-1:-2}function F(L){var M=this.lastTotal-this.lastNeed,_=function S(L,M,_){if(128!=(192&M[0]))return L.lastNeed=0,"\ufffd";if(L.lastNeed>1&&M.length>1){if(128!=(192&M[1]))return L.lastNeed=1,"\ufffd";if(L.lastNeed>2&&M.length>2&&128!=(192&M[2]))return L.lastNeed=2,"\ufffd"}}(this,L);return void 0!==_?_:this.lastNeed<=L.length?(L.copy(this.lastChar,M,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(L.copy(this.lastChar,M,0,L.length),void(this.lastNeed-=L.length))}function X(L,M){if((L.length-M)%2==0){var _=L.toString("utf16le",M);if(_){var f=_.charCodeAt(_.length-1);if(f>=55296&&f<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=L[L.length-2],this.lastChar[1]=L[L.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=L[L.length-1],L.toString("utf16le",M,L.length-1)}function I(L){var M=L&&L.length?this.write(L):"";return this.lastNeed?M+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):M}function A(L,M){var _=(L.length-M)%3;return 0===_?L.toString("base64",M):(this.lastNeed=3-_,this.lastTotal=3,1===_?this.lastChar[0]=L[L.length-1]:(this.lastChar[0]=L[L.length-2],this.lastChar[1]=L[L.length-1]),L.toString("base64",M,L.length-_))}function B(L){var M=L&&L.length?this.write(L):"";return this.lastNeed?M+this.lastChar.toString("base64",0,3-this.lastNeed):M}function G(L){return L.toString(this.encoding)}function re(L){return L&&L.length?this.write(L):""}oe.s=H,H.prototype.write=function(L){if(0===L.length)return"";var M,_;if(this.lastNeed){if(void 0===(M=this.fillLast(L)))return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<L.length?M?M+this.text(L,_):this.text(L,_):M||""},H.prototype.end=function Z(L){var M=L&&L.length?this.write(L):"";return this.lastNeed?M+"\ufffd":M},H.prototype.text=function z(L,M){var _=function g(L,M,_){var f=M.length-1;if(f<_)return 0;var p=O(M[f]);return p>=0?(p>0&&(L.lastNeed=p-1),p):--f<_||-2===p?0:(p=O(M[f]))>=0?(p>0&&(L.lastNeed=p-2),p):--f<_||-2===p?0:(p=O(M[f]))>=0?(p>0&&(2===p?p=0:L.lastNeed=p-3),p):0}(this,L,M);if(!this.lastNeed)return L.toString("utf8",M);this.lastTotal=_;var f=L.length-(_-this.lastNeed);return L.copy(this.lastChar,0,f),L.toString("utf8",M,f)},H.prototype.fillLast=function(L){if(this.lastNeed<=L.length)return L.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);L.copy(this.lastChar,this.lastTotal-this.lastNeed,0,L.length),this.lastNeed-=L.length}},5489:(he,oe)=>{var w={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};for(var T in w)"millisecond"===T?w.ms=w[T]:w[T.charAt(0)]=w[T],w[T+"s"]=w[T];function k(O){this.count=0;var g=function H(O){var g=O.match($);return g&&w[g[2]]?g.slice(1):null}(O);g&&(this.time=Number(g[0])*w[g[1]],this.type=g[1])}k.prototype.do=function(O){this.time&&(this.interval=setInterval(function S(){g.count++,O.call(g)},this.time));var g=this;return this},k.prototype.stop=function(){return this.interval&&(clearInterval(this.interval),delete this.interval),this};var $=/^\s*(\d+(?:\.\d+)?)\s*([a-z]+)\s*$/},4922:function(he,oe){(function(){"use strict";oe.stripBOM=function(N){return"\ufeff"===N[0]?N.substring(1):N}}).call(this)},4032:function(he,oe,N){(function(){"use strict";var w,T,k,$,H,O={}.hasOwnProperty;w=N(7904),T=N(7067).defaults,$=function(g){return"string"==typeof g&&(g.indexOf("&")>=0||g.indexOf(">")>=0||g.indexOf("<")>=0)},H=function(g){return"<![CDATA["+k(g)+"]]>"},k=function(g){return g.replace("]]>","]]]]><![CDATA[>")},oe.Builder=function(){function g(S){var F,z;for(F in this.options={},z=T[.2])O.call(z,F)&&(this.options[F]=z[F]);for(F in S)O.call(S,F)&&(this.options[F]=S[F])}return g.prototype.buildObject=function(S){var F,z,Z,X,I,A;return F=this.options.attrkey,z=this.options.charkey,1===Object.keys(S).length&&this.options.rootName===T[.2].rootName?S=S[I=Object.keys(S)[0]]:I=this.options.rootName,A=this,Z=function(B,G){var re,L,M,_,f;if("object"!=typeof G)A.options.cdata&&$(G)?B.raw(H(G)):B.txt(G);else if(Array.isArray(G)){for(_ in G)if(O.call(G,_))for(f in L=G[_])M=L[f],B=Z(B.ele(f),M).up()}else for(f in G)if(O.call(G,f))if(L=G[f],f===F){if("object"==typeof L)for(re in L)B=B.att(re,L[re])}else if(f===z)B=A.options.cdata&&$(L)?B.raw(H(L)):B.txt(L);else if(Array.isArray(L))for(_ in L)O.call(L,_)&&(B="string"==typeof(M=L[_])?A.options.cdata&&$(M)?B.ele(f).raw(H(M)).up():B.ele(f,M).up():Z(B.ele(f),M).up());else"object"==typeof L?B=Z(B.ele(f),L).up():"string"==typeof L&&A.options.cdata&&$(L)?B=B.ele(f).raw(H(L)).up():(null==L&&(L=""),B=B.ele(f,L.toString()).up());return B},X=w.create(I,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),Z(X,S).end(this.options.renderOpts)},g}()}).call(this)},7067:function(he,oe){(function(){oe.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},2238:function(he,oe,N){(function(){"use strict";var w,T,k,$,H,O,g,S,F,z=function(I,A){return function(){return I.apply(A,arguments)}},X={}.hasOwnProperty;S=N(1503),k=N(9069),w=N(4922),g=N(3749),F=N(5489).setImmediate,T=N(7067).defaults,$=function(I){return"object"==typeof I&&null!=I&&0===Object.keys(I).length},H=function(I){return"__proto__"!==I&&"constructor"!==I&&"prototype"!==I},O=function(I,A,B){var G,re;for(G=0,re=I.length;G<re;G++)A=(0,I[G])(A,B);return A},oe.Parser=function(I){function A(B){var G,re;if(this.parseStringPromise=z(this.parseStringPromise,this),this.parseString=z(this.parseString,this),this.reset=z(this.reset,this),this.assignOrPush=z(this.assignOrPush,this),this.processAsync=z(this.processAsync,this),!(this instanceof oe.Parser))return new oe.Parser(B);for(G in this.options={},re=T[.2])X.call(re,G)&&(this.options[G]=re[G]);for(G in B)X.call(B,G)&&(this.options[G]=B[G]);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(g.normalize)),this.reset()}return function(I,A){for(var B in A)X.call(A,B)&&(I[B]=A[B]);function G(){this.constructor=I}G.prototype=A.prototype,I.prototype=new G,I.__super__=A.prototype}(A,I),A.prototype.processAsync=function(){var B,G;try{return this.remaining.length<=this.options.chunkSize?(B=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(B),this.saxParser.close()):(B=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(B),F(this.processAsync))}catch(re){if(G=re,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(G)}},A.prototype.assignOrPush=function(B,G,re){if(H(G))return G in B?(B[G]instanceof Array||(B[G]=[B[G]]),B[G].push(re)):B[G]=this.options.explicitArray?[re]:re},A.prototype.reset=function(){var B,G,re,L,M;return this.removeAllListeners(),this.saxParser=S.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(M=this,function(_){if(M.saxParser.resume(),!M.saxParser.errThrown)return M.saxParser.errThrown=!0,M.emit("error",_)}),this.saxParser.onend=function(M){return function(){if(!M.saxParser.ended)return M.saxParser.ended=!0,M.emit("end",M.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,L=[],B=this.options.attrkey,G=this.options.charkey,this.saxParser.onopentag=function(M){return function(_){var f,p,D,K,v;if((D={})[G]="",!M.options.ignoreAttrs)for(f in v=_.attributes)X.call(v,f)&&(!(B in D)&&!M.options.mergeAttrs&&(D[B]={}),p=M.options.attrValueProcessors?O(M.options.attrValueProcessors,_.attributes[f],f):_.attributes[f],K=M.options.attrNameProcessors?O(M.options.attrNameProcessors,f):f,H(K)&&(M.options.mergeAttrs?M.assignOrPush(D,K,p):D[B][K]=p));return D["#name"]=M.options.tagNameProcessors?O(M.options.tagNameProcessors,_.name):_.name,M.options.xmlns&&(D[M.options.xmlnskey]={uri:_.uri,local:_.local}),L.push(D)}}(this),this.saxParser.onclosetag=function(M){return function(){var _,f,p,D,K,v,te,U,J,ue;if(v=L.pop(),K=v["#name"],(!M.options.explicitChildren||!M.options.preserveChildrenOrder)&&delete v["#name"],!0===v.cdata&&(_=v.cdata,delete v.cdata),J=L[L.length-1],v[G].match(/^\s*$/)&&!_?(f=v[G],delete v[G]):(M.options.trim&&(v[G]=v[G].trim()),M.options.normalize&&(v[G]=v[G].replace(/\s{2,}/g," ").trim()),v[G]=M.options.valueProcessors?O(M.options.valueProcessors,v[G],K):v[G],1===Object.keys(v).length&&G in v&&!M.EXPLICIT_CHARKEY&&(v=v[G])),$(v)&&(v="function"==typeof M.options.emptyTag?M.options.emptyTag():""!==M.options.emptyTag?M.options.emptyTag:f),null!=M.options.validator&&(ue="/"+function(){var be,Ge,Je;for(Je=[],be=0,Ge=L.length;be<Ge;be++)Je.push((D=L[be])["#name"]);return Je}().concat(K).join("/"),function(){try{return v=M.options.validator(ue,J&&J[K],v)}catch(Ge){return M.emit("error",Ge)}}()),M.options.explicitChildren&&!M.options.mergeAttrs&&"object"==typeof v)if(M.options.preserveChildrenOrder){if(J){for(p in J[M.options.childkey]=J[M.options.childkey]||[],te={},v)X.call(v,p)&&H(p)&&(te[p]=v[p]);J[M.options.childkey].push(te),delete v["#name"],1===Object.keys(v).length&&G in v&&!M.EXPLICIT_CHARKEY&&(v=v[G])}}else D={},M.options.attrkey in v&&(D[M.options.attrkey]=v[M.options.attrkey],delete v[M.options.attrkey]),!M.options.charsAsChildren&&M.options.charkey in v&&(D[M.options.charkey]=v[M.options.charkey],delete v[M.options.charkey]),Object.getOwnPropertyNames(v).length>0&&(D[M.options.childkey]=v),v=D;return L.length>0?M.assignOrPush(J,K,v):(M.options.explicitRoot&&(U=v,(v={})[K]=U),M.resultObject=v,M.saxParser.ended=!0,M.emit("end",M.resultObject))}}(this),re=function(M){return function(_){var f,p;if(p=L[L.length-1])return p[G]+=_,M.options.explicitChildren&&M.options.preserveChildrenOrder&&M.options.charsAsChildren&&(M.options.includeWhiteChars||""!==_.replace(/\\n/g,"").trim())&&(p[M.options.childkey]=p[M.options.childkey]||[],(f={"#name":"__text__"})[G]=_,M.options.normalize&&(f[G]=f[G].replace(/\s{2,}/g," ").trim()),p[M.options.childkey].push(f)),p}}(this),this.saxParser.ontext=re,this.saxParser.oncdata=function(_){var f;if(f=re(_))return f.cdata=!0}},A.prototype.parseString=function(B,G){var re;null!=G&&"function"==typeof G&&(this.on("end",function(L){return this.reset(),G(null,L)}),this.on("error",function(L){return this.reset(),G(L)}));try{return""===(B=B.toString()).trim()?(this.emit("end",null),!0):(B=w.stripBOM(B),this.options.async?(this.remaining=B,F(this.processAsync),this.saxParser):this.saxParser.write(B).close())}catch(L){if(re=L,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",re),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw re}},A.prototype.parseStringPromise=function(B){return new Promise((G=this,function(re,L){return G.parseString(B,function(M,_){return M?L(M):re(_)})}));var G},A}(k),oe.parseString=function(I,A,B){var G,re;return null!=B?("function"==typeof B&&(G=B),"object"==typeof A&&(re=A)):("function"==typeof A&&(G=A),re={}),new oe.Parser(re).parseString(I,G)},oe.parseStringPromise=function(I,A){var B;return"object"==typeof A&&(B=A),new oe.Parser(B).parseStringPromise(I)}}).call(this)},3749:function(he,oe){(function(){"use strict";var N;N=new RegExp(/(?!xmlns)^.*:/),oe.normalize=function(w){return w.toLowerCase()},oe.firstCharLowerCase=function(w){return w.charAt(0).toLowerCase()+w.slice(1)},oe.stripPrefix=function(w){return w.replace(N,"")},oe.parseNumbers=function(w){return isNaN(w)||(w=w%1==0?parseInt(w,10):parseFloat(w)),w},oe.parseBooleans=function(w){return/^(?:true|false)$/i.test(w)&&(w="true"===w.toLowerCase()),w}}).call(this)},5452:function(he,oe,N){(function(){"use strict";var w,T,k,$,O={}.hasOwnProperty;T=N(7067),w=N(4032),k=N(2238),$=N(3749),oe.defaults=T.defaults,oe.processors=$,oe.ValidationError=function(g){function S(F){this.message=F}return function(g,S){for(var F in S)O.call(S,F)&&(g[F]=S[F]);function z(){this.constructor=g}z.prototype=S.prototype,g.prototype=new z,g.__super__=S.prototype}(S,Error),S}(),oe.Builder=w.Builder,oe.Parser=k.Parser,oe.parseString=k.parseString,oe.parseStringPromise=k.parseStringPromise}).call(this)},599:function(he){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},2269:function(he){(function(){he.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},3452:function(he){(function(){var oe,N,w,T,k,$,H,O=[].slice,g={}.hasOwnProperty;oe=function(){var S,F,z,Z,X,I;if(I=arguments[0],X=2<=arguments.length?O.call(arguments,1):[],k(Object.assign))Object.assign.apply(null,arguments);else for(S=0,z=X.length;S<z;S++)if(null!=(Z=X[S]))for(F in Z)g.call(Z,F)&&(I[F]=Z[F]);return I},k=function(S){return!!S&&"[object Function]"===Object.prototype.toString.call(S)},$=function(S){var F;return!!S&&("function"==(F=typeof S)||"object"===F)},w=function(S){return k(Array.isArray)?Array.isArray(S):"[object Array]"===Object.prototype.toString.call(S)},T=function(S){var F;if(w(S))return!S.length;for(F in S)if(g.call(S,F))return!1;return!0},H=function(S){var F,z;return $(S)&&(z=Object.getPrototypeOf(S))&&(F=z.constructor)&&"function"==typeof F&&F instanceof F&&Function.prototype.toString.call(F)===Function.prototype.toString.call(Object)},N=function(S){return k(S.valueOf)?S.valueOf():S},he.exports.assign=oe,he.exports.isFunction=k,he.exports.isObject=$,he.exports.isArray=w,he.exports.isEmpty=T,he.exports.isPlainObject=H,he.exports.getValue=N}).call(this)},6316:function(he){(function(){he.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},5968:function(he,oe,N){(function(){var w;w=N(2269),N(8563),he.exports=function(){function $(H,O,g){if(this.parent=H,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==O)throw new Error("Missing attribute name. "+this.debugInfo(O));this.name=this.stringify.name(O),this.value=this.stringify.attValue(g),this.type=w.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty($.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty($.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty($.prototype,"textContent",{get:function(){return this.value},set:function(H){return this.value=H||""}}),Object.defineProperty($.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty($.prototype,"prefix",{get:function(){return""}}),Object.defineProperty($.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty($.prototype,"specified",{get:function(){return!0}}),$.prototype.clone=function(){return Object.create(this)},$.prototype.toString=function(H){return this.options.writer.attribute(this,this.options.writer.filterOptions(H))},$.prototype.debugInfo=function(H){return null==(H=H||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+H+"}, parent: <"+this.parent.name+">"},$.prototype.isEqualNode=function(H){return!(H.namespaceURI!==this.namespaceURI||H.prefix!==this.prefix||H.localName!==this.localName||H.value!==this.value)},$}()}).call(this)},1361:function(he,oe,N){(function(){var w,k,H={}.hasOwnProperty;w=N(2269),k=N(2182),he.exports=function(O){function g(S,F){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=w.CData,this.value=this.stringify.cdata(F)}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return this.options.writer.cdata(this,this.options.writer.filterOptions(S))},g}(k)}).call(this)},2182:function(he,oe,N){(function(){var T,$={}.hasOwnProperty;T=N(8563),he.exports=function(H){function O(g){O.__super__.constructor.call(this,g),this.value=""}return function(H,O){for(var g in O)$.call(O,g)&&(H[g]=O[g]);function S(){this.constructor=H}S.prototype=O.prototype,H.prototype=new S,H.__super__=O.prototype}(O,H),Object.defineProperty(O.prototype,"data",{get:function(){return this.value},set:function(g){return this.value=g||""}}),Object.defineProperty(O.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(O.prototype,"textContent",{get:function(){return this.value},set:function(g){return this.value=g||""}}),O.prototype.clone=function(){return Object.create(this)},O.prototype.substringData=function(g,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.appendData=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.insertData=function(g,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.deleteData=function(g,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.replaceData=function(g,S,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.isEqualNode=function(g){return!(!O.__super__.isEqualNode.apply(this,arguments).isEqualNode(g)||g.data!==this.data)},O}(T)}).call(this)},2516:function(he,oe,N){(function(){var w,T,H={}.hasOwnProperty;w=N(2269),T=N(2182),he.exports=function(O){function g(S,F){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=w.Comment,this.value=this.stringify.comment(F)}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return this.options.writer.comment(this,this.options.writer.filterOptions(S))},g}(T)}).call(this)},5806:function(he,oe,N){(function(){var T,k;T=N(9276),k=N(3735),he.exports=function(){function $(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new T,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty($.prototype,"parameterNames",{get:function(){return new k(Object.keys(this.defaultParams))}}),$.prototype.getParameter=function(H){return this.params.hasOwnProperty(H)?this.params[H]:null},$.prototype.canSetParameter=function(H,O){return!0},$.prototype.setParameter=function(H,O){return null!=O?this.params[H]=O:delete this.params[H]},$}()}).call(this)},9276:function(he){(function(){he.exports=function(){function N(){}return N.prototype.handleError=function(w){throw new Error(w)},N}()}).call(this)},9906:function(he){(function(){he.exports=function(){function N(){}return N.prototype.hasFeature=function(w,T){return!0},N.prototype.createDocumentType=function(w,T,k){throw new Error("This DOM method is not implemented.")},N.prototype.createDocument=function(w,T,k){throw new Error("This DOM method is not implemented.")},N.prototype.createHTMLDocument=function(w){throw new Error("This DOM method is not implemented.")},N.prototype.getFeature=function(w,T){throw new Error("This DOM method is not implemented.")},N}()}).call(this)},3735:function(he){(function(){he.exports=function(){function N(w){this.arr=w||[]}return Object.defineProperty(N.prototype,"length",{get:function(){return this.arr.length}}),N.prototype.item=function(w){return this.arr[w]||null},N.prototype.contains=function(w){return-1!==this.arr.indexOf(w)},N}()}).call(this)},7274:function(he,oe,N){(function(){var w,k,H={}.hasOwnProperty;k=N(8563),w=N(2269),he.exports=function(O){function g(S,F,z,Z,X,I){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==z)throw new Error("Missing DTD attribute name. "+this.debugInfo(F));if(!Z)throw new Error("Missing DTD attribute type. "+this.debugInfo(F));if(!X)throw new Error("Missing DTD attribute default. "+this.debugInfo(F));if(0!==X.indexOf("#")&&(X="#"+X),!X.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(F));if(I&&!X.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(F));this.elementName=this.stringify.name(F),this.type=w.AttributeDeclaration,this.attributeName=this.stringify.name(z),this.attributeType=this.stringify.dtdAttType(Z),I&&(this.defaultValue=this.stringify.dtdAttDefault(I)),this.defaultValueType=X}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.toString=function(S){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(S))},g}(k)}).call(this)},2068:function(he,oe,N){(function(){var w,k,H={}.hasOwnProperty;k=N(8563),w=N(2269),he.exports=function(O){function g(S,F,z){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing DTD element name. "+this.debugInfo());z||(z="(#PCDATA)"),Array.isArray(z)&&(z="("+z.join(",")+")"),this.name=this.stringify.name(F),this.type=w.ElementDeclaration,this.value=this.stringify.dtdElementValue(z)}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.toString=function(S){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(S))},g}(k)}).call(this)},8349:function(he,oe,N){(function(){var w,k,$,O={}.hasOwnProperty;$=N(3452).isObject,k=N(8563),w=N(2269),he.exports=function(g){function S(F,z,Z,X){if(S.__super__.constructor.call(this,F),null==Z)throw new Error("Missing DTD entity name. "+this.debugInfo(Z));if(null==X)throw new Error("Missing DTD entity value. "+this.debugInfo(Z));if(this.pe=!!z,this.name=this.stringify.name(Z),this.type=w.EntityDeclaration,$(X)){if(!X.pubID&&!X.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(Z));if(X.pubID&&!X.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(Z));if(this.internal=!1,null!=X.pubID&&(this.pubID=this.stringify.dtdPubID(X.pubID)),null!=X.sysID&&(this.sysID=this.stringify.dtdSysID(X.sysID)),null!=X.nData&&(this.nData=this.stringify.dtdNData(X.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(Z))}else this.value=this.stringify.dtdEntityValue(X),this.internal=!0}return function(g,S){for(var F in S)O.call(S,F)&&(g[F]=S[F]);function z(){this.constructor=g}z.prototype=S.prototype,g.prototype=new z,g.__super__=S.prototype}(S,g),Object.defineProperty(S.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(S.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(S.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(S.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(S.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(S.prototype,"xmlVersion",{get:function(){return null}}),S.prototype.toString=function(F){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(F))},S}(k)}).call(this)},3087:function(he,oe,N){(function(){var w,k,H={}.hasOwnProperty;k=N(8563),w=N(2269),he.exports=function(O){function g(S,F,z){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing DTD notation name. "+this.debugInfo(F));if(!z.pubID&&!z.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(F));this.name=this.stringify.name(F),this.type=w.NotationDeclaration,null!=z.pubID&&(this.pubID=this.stringify.dtdPubID(z.pubID)),null!=z.sysID&&(this.sysID=this.stringify.dtdSysID(z.sysID))}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),Object.defineProperty(g.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(g.prototype,"systemId",{get:function(){return this.sysID}}),g.prototype.toString=function(S){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(S))},g}(k)}).call(this)},4789:function(he,oe,N){(function(){var w,k,$,O={}.hasOwnProperty;$=N(3452).isObject,k=N(8563),w=N(2269),he.exports=function(g){function S(F,z,Z,X){var I;S.__super__.constructor.call(this,F),$(z)&&(z=(I=z).version,Z=I.encoding,X=I.standalone),z||(z="1.0"),this.type=w.Declaration,this.version=this.stringify.xmlVersion(z),null!=Z&&(this.encoding=this.stringify.xmlEncoding(Z)),null!=X&&(this.standalone=this.stringify.xmlStandalone(X))}return function(g,S){for(var F in S)O.call(S,F)&&(g[F]=S[F]);function z(){this.constructor=g}z.prototype=S.prototype,g.prototype=new z,g.__super__=S.prototype}(S,g),S.prototype.toString=function(F){return this.options.writer.declaration(this,this.options.writer.filterOptions(F))},S}(k)}).call(this)},9195:function(he,oe,N){(function(){var w,T,k,$,H,g,S,F,Z={}.hasOwnProperty;F=N(3452).isObject,S=N(8563),w=N(2269),T=N(7274),$=N(8349),k=N(2068),H=N(3087),g=N(5264),he.exports=function(X){function I(A,B,G){var re,L,M,_,f,p;if(I.__super__.constructor.call(this,A),this.type=w.DocType,A.children)for(L=0,M=(_=A.children).length;L<M;L++)if((re=_[L]).type===w.Element){this.name=re.name;break}this.documentObject=A,F(B)&&(B=(f=B).pubID,G=f.sysID),null==G&&(G=(p=[B,G])[0],B=p[1]),null!=B&&(this.pubID=this.stringify.dtdPubID(B)),null!=G&&(this.sysID=this.stringify.dtdSysID(G))}return function(X,I){for(var A in I)Z.call(I,A)&&(X[A]=I[A]);function B(){this.constructor=X}B.prototype=I.prototype,X.prototype=new B,X.__super__=I.prototype}(I,X),Object.defineProperty(I.prototype,"entities",{get:function(){var A,B,G,re,L;for(re={},B=0,G=(L=this.children).length;B<G;B++)(A=L[B]).type===w.EntityDeclaration&&!A.pe&&(re[A.name]=A);return new g(re)}}),Object.defineProperty(I.prototype,"notations",{get:function(){var A,B,G,re,L;for(re={},B=0,G=(L=this.children).length;B<G;B++)(A=L[B]).type===w.NotationDeclaration&&(re[A.name]=A);return new g(re)}}),Object.defineProperty(I.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(I.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(I.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),I.prototype.element=function(A,B){var G;return G=new k(this,A,B),this.children.push(G),this},I.prototype.attList=function(A,B,G,re,L){var M;return M=new T(this,A,B,G,re,L),this.children.push(M),this},I.prototype.entity=function(A,B){var G;return G=new $(this,!1,A,B),this.children.push(G),this},I.prototype.pEntity=function(A,B){var G;return G=new $(this,!0,A,B),this.children.push(G),this},I.prototype.notation=function(A,B){var G;return G=new H(this,A,B),this.children.push(G),this},I.prototype.toString=function(A){return this.options.writer.docType(this,this.options.writer.filterOptions(A))},I.prototype.ele=function(A,B){return this.element(A,B)},I.prototype.att=function(A,B,G,re,L){return this.attList(A,B,G,re,L)},I.prototype.ent=function(A,B){return this.entity(A,B)},I.prototype.pent=function(A,B){return this.pEntity(A,B)},I.prototype.not=function(A,B){return this.notation(A,B)},I.prototype.up=function(){return this.root()||this.documentObject},I.prototype.isEqualNode=function(A){return!(!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(A)||A.name!==this.name||A.publicId!==this.publicId||A.systemId!==this.systemId)},I}(S)}).call(this)},519:function(he,oe,N){(function(){var w,T,k,H,O,g,S,z={}.hasOwnProperty;S=N(3452).isPlainObject,k=N(9906),T=N(5806),H=N(8563),w=N(2269),g=N(5041),O=N(4354),he.exports=function(Z){function X(I){X.__super__.constructor.call(this,null),this.name="#document",this.type=w.Document,this.documentURI=null,this.domConfig=new T,I||(I={}),I.writer||(I.writer=new O),this.options=I,this.stringify=new g(I)}return function(Z,X){for(var I in X)z.call(X,I)&&(Z[I]=X[I]);function A(){this.constructor=Z}A.prototype=X.prototype,Z.prototype=new A,Z.__super__=X.prototype}(X,Z),Object.defineProperty(X.prototype,"implementation",{value:new k}),Object.defineProperty(X.prototype,"doctype",{get:function(){var I,A,B,G;for(A=0,B=(G=this.children).length;A<B;A++)if((I=G[A]).type===w.DocType)return I;return null}}),Object.defineProperty(X.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(X.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(X.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(X.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===w.Declaration?this.children[0].encoding:null}}),Object.defineProperty(X.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===w.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(X.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===w.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(X.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(X.prototype,"origin",{get:function(){return null}}),Object.defineProperty(X.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(X.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(X.prototype,"contentType",{get:function(){return null}}),X.prototype.end=function(I){var A;return A={},I?S(I)&&(A=I,I=this.options.writer):I=this.options.writer,I.document(this,I.filterOptions(A))},X.prototype.toString=function(I){return this.options.writer.document(this,this.options.writer.filterOptions(I))},X.prototype.createElement=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createTextNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createComment=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createCDATASection=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createProcessingInstruction=function(I,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createAttribute=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createEntityReference=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getElementsByTagName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.importNode=function(I,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createElementNS=function(I,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createAttributeNS=function(I,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getElementsByTagNameNS=function(I,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getElementById=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.adoptNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.renameNode=function(I,A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getElementsByClassName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createEvent=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createNodeIterator=function(I,A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.createTreeWalker=function(I,A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},X}(H)}).call(this)},1105:function(he,oe,N){(function(){var w,T,k,$,H,O,g,S,F,z,Z,X,A,B,G,re,L,M,_,f,p,D,K,v={}.hasOwnProperty;K=N(3452),p=K.isObject,f=K.isFunction,D=K.isPlainObject,_=K.getValue,w=N(2269),X=N(519),A=N(3352),$=N(1361),H=N(2516),G=N(9942),M=N(474),B=N(4666),z=N(4789),Z=N(9195),O=N(7274),S=N(8349),g=N(2068),F=N(3087),k=N(5968),L=N(5041),re=N(4354),T=N(6316),he.exports=function(){function te(U,J,ue){var be;this.name="?xml",this.type=w.Document,U||(U={}),be={},U.writer?D(U.writer)&&(be=U.writer,U.writer=new re):U.writer=new re,this.options=U,this.writer=U.writer,this.writerOptions=this.writer.filterOptions(be),this.stringify=new L(U),this.onDataCallback=J||function(){},this.onEndCallback=ue||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return te.prototype.createChildNode=function(U){var ue,be,Ge,Je,_e,Ot,et;switch(U.type){case w.CData:this.cdata(U.value);break;case w.Comment:this.comment(U.value);break;case w.Element:for(ue in be={},Ot=U.attribs)v.call(Ot,ue)&&(be[ue]=Ot[ue].value);this.node(U.name,be);break;case w.Dummy:this.dummy();break;case w.Raw:this.raw(U.value);break;case w.Text:this.text(U.value);break;case w.ProcessingInstruction:this.instruction(U.target,U.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+U.constructor.name)}for(Je=0,_e=(et=U.children).length;Je<_e;Je++)this.createChildNode(Ge=et[Je]),Ge.type===w.Element&&this.up();return this},te.prototype.dummy=function(){return this},te.prototype.node=function(U,J,ue){var be;if(null==U)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(U));return this.openCurrent(),U=_(U),null==J&&(J={}),J=_(J),p(J)||(ue=(be=[J,ue])[0],J=be[1]),this.currentNode=new A(this,U,J),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=ue&&this.text(ue),this},te.prototype.element=function(U,J,ue){var be,Ge,Je,_e,Ot,et;if(this.currentNode&&this.currentNode.type===w.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(U)||p(U)||f(U))for(_e=this.options.noValidation,this.options.noValidation=!0,(et=new X(this.options).element("TEMP_ROOT")).element(U),this.options.noValidation=_e,Ge=0,Je=(Ot=et.children).length;Ge<Je;Ge++)this.createChildNode(be=Ot[Ge]),be.type===w.Element&&this.up();else this.node(U,J,ue);return this},te.prototype.attribute=function(U,J){var ue;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(U));if(null!=U&&(U=_(U)),p(U))for(ue in U)v.call(U,ue)&&this.attribute(ue,U[ue]);else f(J)&&(J=J.apply()),this.options.keepNullAttributes&&null==J?this.currentNode.attribs[U]=new k(this,U,""):null!=J&&(this.currentNode.attribs[U]=new k(this,U,J));return this},te.prototype.text=function(U){var J;return this.openCurrent(),J=new M(this,U),this.onData(this.writer.text(J,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.cdata=function(U){var J;return this.openCurrent(),J=new $(this,U),this.onData(this.writer.cdata(J,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.comment=function(U){var J;return this.openCurrent(),J=new H(this,U),this.onData(this.writer.comment(J,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.raw=function(U){var J;return this.openCurrent(),J=new G(this,U),this.onData(this.writer.raw(J,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.instruction=function(U,J){var ue,be,Je,_e;if(this.openCurrent(),null!=U&&(U=_(U)),null!=J&&(J=_(J)),Array.isArray(U))for(ue=0,Je=U.length;ue<Je;ue++)this.instruction(be=U[ue]);else if(p(U))for(be in U)v.call(U,be)&&this.instruction(be,U[be]);else f(J)&&(J=J.apply()),_e=new B(this,U,J),this.onData(this.writer.processingInstruction(_e,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},te.prototype.declaration=function(U,J,ue){var be;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return be=new z(this,U,J,ue),this.onData(this.writer.declaration(be,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.doctype=function(U,J,ue){if(this.openCurrent(),null==U)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new Z(this,J,ue),this.currentNode.rootNodeName=U,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},te.prototype.dtdElement=function(U,J){var ue;return this.openCurrent(),ue=new g(this,U,J),this.onData(this.writer.dtdElement(ue,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.attList=function(U,J,ue,be,Ge){var Je;return this.openCurrent(),Je=new O(this,U,J,ue,be,Ge),this.onData(this.writer.dtdAttList(Je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.entity=function(U,J){var ue;return this.openCurrent(),ue=new S(this,!1,U,J),this.onData(this.writer.dtdEntity(ue,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.pEntity=function(U,J){var ue;return this.openCurrent(),ue=new S(this,!0,U,J),this.onData(this.writer.dtdEntity(ue,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.notation=function(U,J){var ue;return this.openCurrent(),ue=new F(this,U,J),this.onData(this.writer.dtdNotation(ue,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},te.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},te.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},te.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},te.prototype.openNode=function(U){var ue,be,Ge;if(!U.isOpen){if(!this.root&&0===this.currentLevel&&U.type===w.Element&&(this.root=U),ue="",U.type===w.Element){for(be in this.writerOptions.state=T.OpenTag,ue=this.writer.indent(U,this.writerOptions,this.currentLevel)+"<"+U.name,Ge=U.attribs)v.call(Ge,be)&&(ue+=this.writer.attribute(Ge[be],this.writerOptions,this.currentLevel));ue+=(U.children?">":"/>")+this.writer.endline(U,this.writerOptions,this.currentLevel),this.writerOptions.state=T.InsideTag}else this.writerOptions.state=T.OpenTag,ue=this.writer.indent(U,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+U.rootNodeName,U.pubID&&U.sysID?ue+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"':U.sysID&&(ue+=' SYSTEM "'+U.sysID+'"'),U.children?(ue+=" [",this.writerOptions.state=T.InsideTag):(this.writerOptions.state=T.CloseTag,ue+=">"),ue+=this.writer.endline(U,this.writerOptions,this.currentLevel);return this.onData(ue,this.currentLevel),U.isOpen=!0}},te.prototype.closeNode=function(U){var J;if(!U.isClosed)return"",this.writerOptions.state=T.CloseTag,J=U.type===w.Element?this.writer.indent(U,this.writerOptions,this.currentLevel)+"</"+U.name+">"+this.writer.endline(U,this.writerOptions,this.currentLevel):this.writer.indent(U,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(U,this.writerOptions,this.currentLevel),this.writerOptions.state=T.None,this.onData(J,this.currentLevel),U.isClosed=!0},te.prototype.onData=function(U,J){return this.documentStarted=!0,this.onDataCallback(U,J+1)},te.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},te.prototype.debugInfo=function(U){return null==U?"":"node: <"+U+">"},te.prototype.ele=function(){return this.element.apply(this,arguments)},te.prototype.nod=function(U,J,ue){return this.node(U,J,ue)},te.prototype.txt=function(U){return this.text(U)},te.prototype.dat=function(U){return this.cdata(U)},te.prototype.com=function(U){return this.comment(U)},te.prototype.ins=function(U,J){return this.instruction(U,J)},te.prototype.dec=function(U,J,ue){return this.declaration(U,J,ue)},te.prototype.dtd=function(U,J,ue){return this.doctype(U,J,ue)},te.prototype.e=function(U,J,ue){return this.element(U,J,ue)},te.prototype.n=function(U,J,ue){return this.node(U,J,ue)},te.prototype.t=function(U){return this.text(U)},te.prototype.d=function(U){return this.cdata(U)},te.prototype.c=function(U){return this.comment(U)},te.prototype.r=function(U){return this.raw(U)},te.prototype.i=function(U,J){return this.instruction(U,J)},te.prototype.att=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},te.prototype.a=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},te.prototype.ent=function(U,J){return this.entity(U,J)},te.prototype.pent=function(U,J){return this.pEntity(U,J)},te.prototype.not=function(U,J){return this.notation(U,J)},te}()}).call(this)},4173:function(he,oe,N){(function(){var w,k,H={}.hasOwnProperty;k=N(8563),w=N(2269),he.exports=function(O){function g(S){g.__super__.constructor.call(this,S),this.type=w.Dummy}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return""},g}(k)}).call(this)},3352:function(he,oe,N){(function(){var w,T,$,H,O,g,S,F,Z={}.hasOwnProperty;F=N(3452),S=F.isObject,g=F.isFunction,O=F.getValue,H=N(8563),w=N(2269),T=N(5968),$=N(5264),he.exports=function(X){function I(A,B,G){var re,L,M,_;if(I.__super__.constructor.call(this,A),null==B)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(B),this.type=w.Element,this.attribs={},this.schemaTypeInfo=null,null!=G&&this.attribute(G),A.type===w.Document&&(this.isRoot=!0,this.documentObject=A,A.rootObject=this,A.children))for(L=0,M=(_=A.children).length;L<M;L++)if((re=_[L]).type===w.DocType){re.name=this.name;break}}return function(X,I){for(var A in I)Z.call(I,A)&&(X[A]=I[A]);function B(){this.constructor=X}B.prototype=I.prototype,X.prototype=new B,X.__super__=I.prototype}(I,X),Object.defineProperty(I.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(I.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(I.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new $(this.attribs)),this.attributeMap}}),I.prototype.clone=function(){var B,G,re;for(B in(G=Object.create(this)).isRoot&&(G.documentObject=null),G.attribs={},re=this.attribs)Z.call(re,B)&&(G.attribs[B]=re[B].clone());return G.children=[],this.children.forEach(function(L){var M;return(M=L.clone()).parent=G,G.children.push(M)}),G},I.prototype.attribute=function(A,B){var G;if(null!=A&&(A=O(A)),S(A))for(G in A)Z.call(A,G)&&this.attribute(G,A[G]);else g(B)&&(B=B.apply()),this.options.keepNullAttributes&&null==B?this.attribs[A]=new T(this,A,""):null!=B&&(this.attribs[A]=new T(this,A,B));return this},I.prototype.removeAttribute=function(A){var G,re;if(null==A)throw new Error("Missing attribute name. "+this.debugInfo());if(A=O(A),Array.isArray(A))for(G=0,re=A.length;G<re;G++)delete this.attribs[A[G]];else delete this.attribs[A];return this},I.prototype.toString=function(A){return this.options.writer.element(this,this.options.writer.filterOptions(A))},I.prototype.att=function(A,B){return this.attribute(A,B)},I.prototype.a=function(A,B){return this.attribute(A,B)},I.prototype.getAttribute=function(A){return this.attribs.hasOwnProperty(A)?this.attribs[A].value:null},I.prototype.setAttribute=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNode=function(A){return this.attribs.hasOwnProperty(A)?this.attribs[A]:null},I.prototype.setAttributeNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNS=function(A,B,G){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNodeNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNodeNS=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.hasAttribute=function(A){return this.attribs.hasOwnProperty(A)},I.prototype.hasAttributeNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttribute=function(A,B){return this.attribs.hasOwnProperty(A)?this.attribs[A].isId:B},I.prototype.setIdAttributeNS=function(A,B,G){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttributeNode=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(A,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByClassName=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.isEqualNode=function(A){var B,G,re;if(!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(A)||A.namespaceURI!==this.namespaceURI||A.prefix!==this.prefix||A.localName!==this.localName||A.attribs.length!==this.attribs.length)return!1;for(B=G=0,re=this.attribs.length-1;0<=re?G<=re:G>=re;B=0<=re?++G:--G)if(!this.attribs[B].isEqualNode(A.attribs[B]))return!1;return!0},I}(H)}).call(this)},5264:function(he){(function(){he.exports=function(){function N(w){this.nodes=w}return Object.defineProperty(N.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),N.prototype.clone=function(){return this.nodes=null},N.prototype.getNamedItem=function(w){return this.nodes[w]},N.prototype.setNamedItem=function(w){var T;return T=this.nodes[w.nodeName],this.nodes[w.nodeName]=w,T||null},N.prototype.removeNamedItem=function(w){var T;return T=this.nodes[w],delete this.nodes[w],T||null},N.prototype.item=function(w){return this.nodes[Object.keys(this.nodes)[w]]||null},N.prototype.getNamedItemNS=function(w,T){throw new Error("This DOM method is not implemented.")},N.prototype.setNamedItemNS=function(w){throw new Error("This DOM method is not implemented.")},N.prototype.removeNamedItemNS=function(w,T){throw new Error("This DOM method is not implemented.")},N}()}).call(this)},8563:function(he,oe,N){(function(){var w,T,k,$,H,O,g,S,Z,X,I,A,B,G,re,L,M,_={}.hasOwnProperty;M=N(3452),L=M.isObject,re=M.isFunction,G=M.isEmpty,B=M.getValue,S=null,k=null,$=null,H=null,O=null,I=null,A=null,X=null,g=null,T=null,Z=null,w=null,he.exports=function(){function f(p){this.parent=p,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,S||(S=N(3352),k=N(1361),$=N(2516),H=N(4789),O=N(9195),I=N(9942),A=N(474),X=N(4666),g=N(4173),T=N(2269),Z=N(5112),N(5264),w=N(599))}return Object.defineProperty(f.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(f.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(f.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(f.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(f.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new Z(this.children)),this.childNodeList}}),Object.defineProperty(f.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(f.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(f.prototype,"previousSibling",{get:function(){var p;return p=this.parent.children.indexOf(this),this.parent.children[p-1]||null}}),Object.defineProperty(f.prototype,"nextSibling",{get:function(){var p;return p=this.parent.children.indexOf(this),this.parent.children[p+1]||null}}),Object.defineProperty(f.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(f.prototype,"textContent",{get:function(){var p,D,K,v,te;if(this.nodeType===T.Element||this.nodeType===T.DocumentFragment){for(te="",D=0,K=(v=this.children).length;D<K;D++)(p=v[D]).textContent&&(te+=p.textContent);return te}return null},set:function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),f.prototype.setParent=function(p){var K,v,te,U;for(this.parent=p,p&&(this.options=p.options,this.stringify=p.stringify),U=[],K=0,v=(te=this.children).length;K<v;K++)U.push(te[K].setParent(this));return U},f.prototype.element=function(p,D,K){var v,U,J,ue,be,Ge,Je,_e,Ot,et;if(be=null,null===D&&null==K&&(D=(_e=[{},null])[0],K=_e[1]),null==D&&(D={}),D=B(D),L(D)||(K=(Ot=[D,K])[0],D=Ot[1]),null!=p&&(p=B(p)),Array.isArray(p))for(U=0,Ge=p.length;U<Ge;U++)be=this.element(p[U]);else if(re(p))be=this.element(p.apply());else if(L(p)){for(ue in p)if(_.call(p,ue))if(re(et=p[ue])&&(et=et.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===ue.indexOf(this.stringify.convertAttKey))be=this.attribute(ue.substr(this.stringify.convertAttKey.length),et);else if(!this.options.separateArrayItems&&Array.isArray(et)&&G(et))be=this.dummy();else if(L(et)&&G(et))be=this.element(ue);else if(this.options.keepNullNodes||null!=et)if(!this.options.separateArrayItems&&Array.isArray(et))for(J=0,Je=et.length;J<Je;J++)(v={})[ue]=et[J],be=this.element(v);else L(et)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===ue.indexOf(this.stringify.convertTextKey)?be=this.element(et):(be=this.element(ue)).element(et):be=this.element(ue,et);else be=this.dummy()}else be=this.options.keepNullNodes||null!==K?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===p.indexOf(this.stringify.convertTextKey)?this.text(K):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===p.indexOf(this.stringify.convertCDataKey)?this.cdata(K):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===p.indexOf(this.stringify.convertCommentKey)?this.comment(K):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===p.indexOf(this.stringify.convertRawKey)?this.raw(K):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===p.indexOf(this.stringify.convertPIKey)?this.instruction(p.substr(this.stringify.convertPIKey.length),K):this.node(p,D,K):this.dummy();if(null==be)throw new Error("Could not create any elements with: "+p+". "+this.debugInfo());return be},f.prototype.insertBefore=function(p,D,K){var v,te,U,J,ue;if(p?.type)return J=D,(U=p).setParent(this),J?(te=children.indexOf(J),ue=children.splice(te),children.push(U),Array.prototype.push.apply(children,ue)):children.push(U),U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(p));return te=this.parent.children.indexOf(this),ue=this.parent.children.splice(te),v=this.parent.element(p,D,K),Array.prototype.push.apply(this.parent.children,ue),v},f.prototype.insertAfter=function(p,D,K){var v,te,U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(p));return te=this.parent.children.indexOf(this),U=this.parent.children.splice(te+1),v=this.parent.element(p,D,K),Array.prototype.push.apply(this.parent.children,U),v},f.prototype.remove=function(){var p;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return p=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[p,p-p+1].concat([])),this.parent},f.prototype.node=function(p,D,K){var v,te;return null!=p&&(p=B(p)),D||(D={}),D=B(D),L(D)||(K=(te=[D,K])[0],D=te[1]),v=new S(this,p,D),null!=K&&v.text(K),this.children.push(v),v},f.prototype.text=function(p){var D;return L(p)&&this.element(p),D=new A(this,p),this.children.push(D),this},f.prototype.cdata=function(p){var D;return D=new k(this,p),this.children.push(D),this},f.prototype.comment=function(p){var D;return D=new $(this,p),this.children.push(D),this},f.prototype.commentBefore=function(p){var K,v;return K=this.parent.children.indexOf(this),v=this.parent.children.splice(K),this.parent.comment(p),Array.prototype.push.apply(this.parent.children,v),this},f.prototype.commentAfter=function(p){var K,v;return K=this.parent.children.indexOf(this),v=this.parent.children.splice(K+1),this.parent.comment(p),Array.prototype.push.apply(this.parent.children,v),this},f.prototype.raw=function(p){var D;return D=new I(this,p),this.children.push(D),this},f.prototype.dummy=function(){return new g(this)},f.prototype.instruction=function(p,D){var K,te,U,J;if(null!=p&&(p=B(p)),null!=D&&(D=B(D)),Array.isArray(p))for(U=0,J=p.length;U<J;U++)this.instruction(K=p[U]);else if(L(p))for(K in p)_.call(p,K)&&this.instruction(K,p[K]);else re(D)&&(D=D.apply()),te=new X(this,p,D),this.children.push(te);return this},f.prototype.instructionBefore=function(p,D){var v,te;return v=this.parent.children.indexOf(this),te=this.parent.children.splice(v),this.parent.instruction(p,D),Array.prototype.push.apply(this.parent.children,te),this},f.prototype.instructionAfter=function(p,D){var v,te;return v=this.parent.children.indexOf(this),te=this.parent.children.splice(v+1),this.parent.instruction(p,D),Array.prototype.push.apply(this.parent.children,te),this},f.prototype.declaration=function(p,D,K){var v,te;return v=this.document(),te=new H(v,p,D,K),0===v.children.length?v.children.unshift(te):v.children[0].type===T.Declaration?v.children[0]=te:v.children.unshift(te),v.root()||v},f.prototype.dtd=function(p,D){var v,te,U,J,ue,be,Ge,Je,_e;for(v=this.document(),te=new O(v,p,D),U=J=0,be=(Je=v.children).length;J<be;U=++J)if(Je[U].type===T.DocType)return v.children[U]=te,te;for(U=ue=0,Ge=(_e=v.children).length;ue<Ge;U=++ue)if(_e[U].isRoot)return v.children.splice(U,0,te),te;return v.children.push(te),te},f.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},f.prototype.root=function(){var p;for(p=this;p;){if(p.type===T.Document)return p.rootObject;if(p.isRoot)return p;p=p.parent}},f.prototype.document=function(){var p;for(p=this;p;){if(p.type===T.Document)return p;p=p.parent}},f.prototype.end=function(p){return this.document().end(p)},f.prototype.prev=function(){var p;if((p=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[p-1]},f.prototype.next=function(){var p;if(-1===(p=this.parent.children.indexOf(this))||p===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[p+1]},f.prototype.importDocument=function(p){var D;return(D=p.root().clone()).parent=this,D.isRoot=!1,this.children.push(D),this},f.prototype.debugInfo=function(p){var D,K;return null!=(p=p||this.name)||null!=(D=this.parent)&&D.name?null==p?"parent: <"+this.parent.name+">":null!=(K=this.parent)&&K.name?"node: <"+p+">, parent: <"+this.parent.name+">":"node: <"+p+">":""},f.prototype.ele=function(p,D,K){return this.element(p,D,K)},f.prototype.nod=function(p,D,K){return this.node(p,D,K)},f.prototype.txt=function(p){return this.text(p)},f.prototype.dat=function(p){return this.cdata(p)},f.prototype.com=function(p){return this.comment(p)},f.prototype.ins=function(p,D){return this.instruction(p,D)},f.prototype.doc=function(){return this.document()},f.prototype.dec=function(p,D,K){return this.declaration(p,D,K)},f.prototype.e=function(p,D,K){return this.element(p,D,K)},f.prototype.n=function(p,D,K){return this.node(p,D,K)},f.prototype.t=function(p){return this.text(p)},f.prototype.d=function(p){return this.cdata(p)},f.prototype.c=function(p){return this.comment(p)},f.prototype.r=function(p){return this.raw(p)},f.prototype.i=function(p,D){return this.instruction(p,D)},f.prototype.u=function(){return this.up()},f.prototype.importXMLBuilder=function(p){return this.importDocument(p)},f.prototype.replaceChild=function(p,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.removeChild=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.appendChild=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.hasChildNodes=function(){return 0!==this.children.length},f.prototype.cloneNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.isSupported=function(p,D){return!0},f.prototype.hasAttributes=function(){return 0!==this.attribs.length},f.prototype.compareDocumentPosition=function(p){var D,K;return(D=this)===p?0:this.document()!==p.document()?(K=w.Disconnected|w.ImplementationSpecific,Math.random()<.5?K|=w.Preceding:K|=w.Following,K):D.isAncestor(p)?w.Contains|w.Preceding:D.isDescendant(p)?w.Contains|w.Following:D.isPreceding(p)?w.Preceding:w.Following},f.prototype.isSameNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.lookupPrefix=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.isDefaultNamespace=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.lookupNamespaceURI=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.isEqualNode=function(p){var D,K,v;if(p.nodeType!==this.nodeType||p.children.length!==this.children.length)return!1;for(D=K=0,v=this.children.length-1;0<=v?K<=v:K>=v;D=0<=v?++K:--K)if(!this.children[D].isEqualNode(p.children[D]))return!1;return!0},f.prototype.getFeature=function(p,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.setUserData=function(p,D,K){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getUserData=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.contains=function(p){return!!p&&(p===this||this.isDescendant(p))},f.prototype.isDescendant=function(p){var D,v,te,U;for(v=0,te=(U=this.children).length;v<te;v++)if(p===(D=U[v])||D.isDescendant(p))return!0;return!1},f.prototype.isAncestor=function(p){return p.isDescendant(this)},f.prototype.isPreceding=function(p){var D,K;return D=this.treePosition(p),K=this.treePosition(this),-1!==D&&-1!==K&&D<K},f.prototype.isFollowing=function(p){var D,K;return D=this.treePosition(p),K=this.treePosition(this),-1!==D&&-1!==K&&D>K},f.prototype.treePosition=function(p){var D,K;return K=0,D=!1,this.foreachTreeNode(this.document(),function(v){if(K++,!D&&v===p)return D=!0}),D?K:-1},f.prototype.foreachTreeNode=function(p,D){var K,v,te,U,J;for(p||(p=this.document()),v=0,te=(U=p.children).length;v<te;v++){if(J=D(K=U[v]))return J;if(J=this.foreachTreeNode(K,D))return J}},f}()}).call(this)},5112:function(he){(function(){he.exports=function(){function N(w){this.nodes=w}return Object.defineProperty(N.prototype,"length",{get:function(){return this.nodes.length||0}}),N.prototype.clone=function(){return this.nodes=null},N.prototype.item=function(w){return this.nodes[w]||null},N}()}).call(this)},4666:function(he,oe,N){(function(){var w,T,H={}.hasOwnProperty;w=N(2269),T=N(2182),he.exports=function(O){function g(S,F,z){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing instruction target. "+this.debugInfo());this.type=w.ProcessingInstruction,this.target=this.stringify.insTarget(F),this.name=this.target,z&&(this.value=this.stringify.insValue(z))}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(S))},g.prototype.isEqualNode=function(S){return!(!g.__super__.isEqualNode.apply(this,arguments).isEqualNode(S)||S.target!==this.target)},g}(T)}).call(this)},9942:function(he,oe,N){(function(){var w,T,H={}.hasOwnProperty;w=N(2269),T=N(8563),he.exports=function(O){function g(S,F){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing raw text. "+this.debugInfo());this.type=w.Raw,this.value=this.stringify.raw(F)}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return this.options.writer.raw(this,this.options.writer.filterOptions(S))},g}(T)}).call(this)},7647:function(he,oe,N){(function(){var w,T,$,O={}.hasOwnProperty;w=N(2269),$=N(3576),T=N(6316),he.exports=function(g){function S(F,z){this.stream=F,S.__super__.constructor.call(this,z)}return function(g,S){for(var F in S)O.call(S,F)&&(g[F]=S[F]);function z(){this.constructor=g}z.prototype=S.prototype,g.prototype=new z,g.__super__=S.prototype}(S,g),S.prototype.endline=function(F,z,Z){return F.isLastRootNode&&z.state===T.CloseTag?"":S.__super__.endline.call(this,F,z,Z)},S.prototype.document=function(F,z){var X,I,A,B,G,re,L,M;for(X=I=0,B=(re=F.children).length;I<B;X=++I)re[X].isLastRootNode=X===F.children.length-1;for(z=this.filterOptions(z),M=[],A=0,G=(L=F.children).length;A<G;A++)M.push(this.writeChildNode(L[A],z,0));return M},S.prototype.attribute=function(F,z,Z){return this.stream.write(S.__super__.attribute.call(this,F,z,Z))},S.prototype.cdata=function(F,z,Z){return this.stream.write(S.__super__.cdata.call(this,F,z,Z))},S.prototype.comment=function(F,z,Z){return this.stream.write(S.__super__.comment.call(this,F,z,Z))},S.prototype.declaration=function(F,z,Z){return this.stream.write(S.__super__.declaration.call(this,F,z,Z))},S.prototype.docType=function(F,z,Z){var I,A,B;if(Z||(Z=0),this.openNode(F,z,Z),z.state=T.OpenTag,this.stream.write(this.indent(F,z,Z)),this.stream.write("<!DOCTYPE "+F.root().name),F.pubID&&F.sysID?this.stream.write(' PUBLIC "'+F.pubID+'" "'+F.sysID+'"'):F.sysID&&this.stream.write(' SYSTEM "'+F.sysID+'"'),F.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(F,z,Z)),z.state=T.InsideTag,I=0,A=(B=F.children).length;I<A;I++)this.writeChildNode(B[I],z,Z+1);z.state=T.CloseTag,this.stream.write("]")}return z.state=T.CloseTag,this.stream.write(z.spaceBeforeSlash+">"),this.stream.write(this.endline(F,z,Z)),z.state=T.None,this.closeNode(F,z,Z)},S.prototype.element=function(F,z,Z){var A,B,G,re,L,_,f;for(L in Z||(Z=0),this.openNode(F,z,Z),z.state=T.OpenTag,this.stream.write(this.indent(F,z,Z)+"<"+F.name),_=F.attribs)O.call(_,L)&&this.attribute(_[L],z,Z);if(B=0===(A=F.children.length)?null:F.children[0],0===A||F.children.every(function(p){return(p.type===w.Text||p.type===w.Raw)&&""===p.value}))z.allowEmpty?(this.stream.write(">"),z.state=T.CloseTag,this.stream.write("</"+F.name+">")):(z.state=T.CloseTag,this.stream.write(z.spaceBeforeSlash+"/>"));else if(!z.pretty||1!==A||B.type!==w.Text&&B.type!==w.Raw||null==B.value){for(this.stream.write(">"+this.endline(F,z,Z)),z.state=T.InsideTag,G=0,re=(f=F.children).length;G<re;G++)this.writeChildNode(f[G],z,Z+1);z.state=T.CloseTag,this.stream.write(this.indent(F,z,Z)+"</"+F.name+">")}else this.stream.write(">"),z.state=T.InsideTag,z.suppressPrettyCount++,this.writeChildNode(B,z,Z+1),z.suppressPrettyCount--,z.state=T.CloseTag,this.stream.write("</"+F.name+">");return this.stream.write(this.endline(F,z,Z)),z.state=T.None,this.closeNode(F,z,Z)},S.prototype.processingInstruction=function(F,z,Z){return this.stream.write(S.__super__.processingInstruction.call(this,F,z,Z))},S.prototype.raw=function(F,z,Z){return this.stream.write(S.__super__.raw.call(this,F,z,Z))},S.prototype.text=function(F,z,Z){return this.stream.write(S.__super__.text.call(this,F,z,Z))},S.prototype.dtdAttList=function(F,z,Z){return this.stream.write(S.__super__.dtdAttList.call(this,F,z,Z))},S.prototype.dtdElement=function(F,z,Z){return this.stream.write(S.__super__.dtdElement.call(this,F,z,Z))},S.prototype.dtdEntity=function(F,z,Z){return this.stream.write(S.__super__.dtdEntity.call(this,F,z,Z))},S.prototype.dtdNotation=function(F,z,Z){return this.stream.write(S.__super__.dtdNotation.call(this,F,z,Z))},S}($)}).call(this)},4354:function(he,oe,N){(function(){var T,$={}.hasOwnProperty;T=N(3576),he.exports=function(H){function O(g){O.__super__.constructor.call(this,g)}return function(H,O){for(var g in O)$.call(O,g)&&(H[g]=O[g]);function S(){this.constructor=H}S.prototype=O.prototype,H.prototype=new S,H.__super__=O.prototype}(O,H),O.prototype.document=function(g,S){var z,Z,X,I;for(S=this.filterOptions(S),X="",z=0,Z=(I=g.children).length;z<Z;z++)X+=this.writeChildNode(I[z],S,0);return S.pretty&&X.slice(-S.newline.length)===S.newline&&(X=X.slice(0,-S.newline.length)),X},O}(T)}).call(this)},5041:function(he){(function(){var N=function(T,k){return function(){return T.apply(k,arguments)}},w={}.hasOwnProperty;he.exports=function(){function T(k){var $,H;for($ in this.assertLegalName=N(this.assertLegalName,this),this.assertLegalChar=N(this.assertLegalChar,this),k||(k={}),this.options=k,this.options.version||(this.options.version="1.0"),H=k.stringify||{})w.call(H,$)&&(this[$]=H[$])}return T.prototype.name=function(k){return this.options.noValidation?k:this.assertLegalName(""+k||"")},T.prototype.text=function(k){return this.options.noValidation?k:this.assertLegalChar(this.textEscape(""+k||""))},T.prototype.cdata=function(k){return this.options.noValidation?k:(k=(k=""+k||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(k))},T.prototype.comment=function(k){if(this.options.noValidation)return k;if((k=""+k||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+k);return this.assertLegalChar(k)},T.prototype.raw=function(k){return this.options.noValidation?k:""+k||""},T.prototype.attValue=function(k){return this.options.noValidation?k:this.assertLegalChar(this.attEscape(k=""+k||""))},T.prototype.insTarget=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.insValue=function(k){if(this.options.noValidation)return k;if((k=""+k||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+k);return this.assertLegalChar(k)},T.prototype.xmlVersion=function(k){if(this.options.noValidation)return k;if(!(k=""+k||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+k);return k},T.prototype.xmlEncoding=function(k){if(this.options.noValidation)return k;if(!(k=""+k||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+k);return this.assertLegalChar(k)},T.prototype.xmlStandalone=function(k){return this.options.noValidation?k:k?"yes":"no"},T.prototype.dtdPubID=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdSysID=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdElementValue=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdAttType=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdAttDefault=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdEntityValue=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.dtdNData=function(k){return this.options.noValidation?k:this.assertLegalChar(""+k||"")},T.prototype.convertAttKey="@",T.prototype.convertPIKey="?",T.prototype.convertTextKey="#text",T.prototype.convertCDataKey="#cdata",T.prototype.convertCommentKey="#comment",T.prototype.convertRawKey="#raw",T.prototype.assertLegalChar=function(k){var H;if(this.options.noValidation)return k;if("1.0"===this.options.version){if(H=k.match(/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+k+" at index "+H.index)}else if("1.1"===this.options.version&&(H=k.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/)))throw new Error("Invalid character in string: "+k+" at index "+H.index);return k},T.prototype.assertLegalName=function(k){if(this.options.noValidation)return k;if(this.assertLegalChar(k),!k.match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw new Error("Invalid character in name");return k},T.prototype.textEscape=function(k){return this.options.noValidation?k:k.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},T.prototype.attEscape=function(k){return this.options.noValidation?k:k.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},T}()}).call(this)},474:function(he,oe,N){(function(){var w,T,H={}.hasOwnProperty;w=N(2269),T=N(2182),he.exports=function(O){function g(S,F){if(g.__super__.constructor.call(this,S),null==F)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=w.Text,this.value=this.stringify.text(F)}return function(O,g){for(var S in g)H.call(g,S)&&(O[S]=g[S]);function F(){this.constructor=O}F.prototype=g.prototype,O.prototype=new F,O.__super__=g.prototype}(g,O),Object.defineProperty(g.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(g.prototype,"wholeText",{get:function(){var S,F,z;for(z="",F=this.previousSibling;F;)z=F.data+z,F=F.previousSibling;for(z+=this.data,S=this.nextSibling;S;)z+=S.data,S=S.nextSibling;return z}}),g.prototype.clone=function(){return Object.create(this)},g.prototype.toString=function(S){return this.options.writer.text(this,this.options.writer.filterOptions(S))},g.prototype.splitText=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.replaceWholeText=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},g}(T)}).call(this)},3576:function(he,oe,N){(function(){var w,T,re,L={}.hasOwnProperty;re=N(3452).assign,w=N(2269),N(4789),N(9195),N(1361),N(2516),N(3352),N(9942),N(474),N(4666),N(4173),N(7274),N(2068),N(8349),N(3087),T=N(6316),he.exports=function(){function M(_){var f,p,D;for(f in _||(_={}),this.options=_,p=_.writer||{})L.call(p,f)&&(D=p[f],this["_"+f]=this[f],this[f]=D)}return M.prototype.filterOptions=function(_){var f,p,D,K,v,te,U,J;return _||(_={}),_=re({},this.options,_),(f={writer:this}).pretty=_.pretty||!1,f.allowEmpty=_.allowEmpty||!1,f.indent=null!=(p=_.indent)?p:" ",f.newline=null!=(D=_.newline)?D:"\n",f.offset=null!=(K=_.offset)?K:0,f.dontPrettyTextNodes=null!=(v=null!=(te=_.dontPrettyTextNodes)?te:_.dontprettytextnodes)?v:0,f.spaceBeforeSlash=null!=(U=null!=(J=_.spaceBeforeSlash)?J:_.spacebeforeslash)?U:"",!0===f.spaceBeforeSlash&&(f.spaceBeforeSlash=" "),f.suppressPrettyCount=0,f.user={},f.state=T.None,f},M.prototype.indent=function(_,f,p){var D;return!f.pretty||f.suppressPrettyCount?"":f.pretty&&(D=(p||0)+f.offset+1)>0?new Array(D).join(f.indent):""},M.prototype.endline=function(_,f,p){return!f.pretty||f.suppressPrettyCount?"":f.newline},M.prototype.attribute=function(_,f,p){var D;return this.openAttribute(_,f,p),D=" "+_.name+'="'+_.value+'"',this.closeAttribute(_,f,p),D},M.prototype.cdata=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<![CDATA[",f.state=T.InsideTag,D+=_.value,f.state=T.CloseTag,D+="]]>"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.comment=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"\x3c!-- ",f.state=T.InsideTag,D+=_.value,f.state=T.CloseTag,D+=" --\x3e"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.declaration=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<?xml",f.state=T.InsideTag,D+=' version="'+_.version+'"',null!=_.encoding&&(D+=' encoding="'+_.encoding+'"'),null!=_.standalone&&(D+=' standalone="'+_.standalone+'"'),f.state=T.CloseTag,D+=f.spaceBeforeSlash+"?>",D+=this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.docType=function(_,f,p){var K,v,te,U;if(p||(p=0),this.openNode(_,f,p),f.state=T.OpenTag,te=this.indent(_,f,p),te+="<!DOCTYPE "+_.root().name,_.pubID&&_.sysID?te+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(te+=' SYSTEM "'+_.sysID+'"'),_.children.length>0){for(te+=" [",te+=this.endline(_,f,p),f.state=T.InsideTag,K=0,v=(U=_.children).length;K<v;K++)te+=this.writeChildNode(U[K],f,p+1);f.state=T.CloseTag,te+="]"}return f.state=T.CloseTag,te+=f.spaceBeforeSlash+">",te+=this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),te},M.prototype.element=function(_,f,p){var K,v,te,U,J,ue,be,Ge,Je,_e,Ot,et,fi;for(Ge in p||(p=0),Je=!1,_e="",this.openNode(_,f,p),f.state=T.OpenTag,_e+=this.indent(_,f,p)+"<"+_.name,Ot=_.attribs)L.call(Ot,Ge)&&(_e+=this.attribute(Ot[Ge],f,p));if(te=0===(v=_.children.length)?null:_.children[0],0===v||_.children.every(function(ut){return(ut.type===w.Text||ut.type===w.Raw)&&""===ut.value}))f.allowEmpty?(_e+=">",f.state=T.CloseTag,_e+="</"+_.name+">"+this.endline(_,f,p)):(f.state=T.CloseTag,_e+=f.spaceBeforeSlash+"/>"+this.endline(_,f,p));else if(!f.pretty||1!==v||te.type!==w.Text&&te.type!==w.Raw||null==te.value){if(f.dontPrettyTextNodes)for(U=0,ue=(et=_.children).length;U<ue;U++)if(((K=et[U]).type===w.Text||K.type===w.Raw)&&null!=K.value){f.suppressPrettyCount++,Je=!0;break}for(_e+=">"+this.endline(_,f,p),f.state=T.InsideTag,J=0,be=(fi=_.children).length;J<be;J++)_e+=this.writeChildNode(K=fi[J],f,p+1);f.state=T.CloseTag,_e+=this.indent(_,f,p)+"</"+_.name+">",Je&&f.suppressPrettyCount--,_e+=this.endline(_,f,p),f.state=T.None}else _e+=">",f.state=T.InsideTag,f.suppressPrettyCount++,Je=!0,_e+=this.writeChildNode(te,f,p+1),f.suppressPrettyCount--,Je=!1,f.state=T.CloseTag,_e+="</"+_.name+">"+this.endline(_,f,p);return this.closeNode(_,f,p),_e},M.prototype.writeChildNode=function(_,f,p){switch(_.type){case w.CData:return this.cdata(_,f,p);case w.Comment:return this.comment(_,f,p);case w.Element:return this.element(_,f,p);case w.Raw:return this.raw(_,f,p);case w.Text:return this.text(_,f,p);case w.ProcessingInstruction:return this.processingInstruction(_,f,p);case w.Dummy:return"";case w.Declaration:return this.declaration(_,f,p);case w.DocType:return this.docType(_,f,p);case w.AttributeDeclaration:return this.dtdAttList(_,f,p);case w.ElementDeclaration:return this.dtdElement(_,f,p);case w.EntityDeclaration:return this.dtdEntity(_,f,p);case w.NotationDeclaration:return this.dtdNotation(_,f,p);default:throw new Error("Unknown XML node type: "+_.constructor.name)}},M.prototype.processingInstruction=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<?",f.state=T.InsideTag,D+=_.target,_.value&&(D+=" "+_.value),f.state=T.CloseTag,D+=f.spaceBeforeSlash+"?>",D+=this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.raw=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p),f.state=T.InsideTag,D+=_.value,f.state=T.CloseTag,D+=this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.text=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p),f.state=T.InsideTag,D+=_.value,f.state=T.CloseTag,D+=this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.dtdAttList=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<!ATTLIST",f.state=T.InsideTag,D+=" "+_.elementName+" "+_.attributeName+" "+_.attributeType,"#DEFAULT"!==_.defaultValueType&&(D+=" "+_.defaultValueType),_.defaultValue&&(D+=' "'+_.defaultValue+'"'),f.state=T.CloseTag,D+=f.spaceBeforeSlash+">"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.dtdElement=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<!ELEMENT",f.state=T.InsideTag,D+=" "+_.name+" "+_.value,f.state=T.CloseTag,D+=f.spaceBeforeSlash+">"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.dtdEntity=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<!ENTITY",f.state=T.InsideTag,_.pe&&(D+=" %"),D+=" "+_.name,_.value?D+=' "'+_.value+'"':(_.pubID&&_.sysID?D+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(D+=' SYSTEM "'+_.sysID+'"'),_.nData&&(D+=" NDATA "+_.nData)),f.state=T.CloseTag,D+=f.spaceBeforeSlash+">"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.dtdNotation=function(_,f,p){var D;return this.openNode(_,f,p),f.state=T.OpenTag,D=this.indent(_,f,p)+"<!NOTATION",f.state=T.InsideTag,D+=" "+_.name,_.pubID&&_.sysID?D+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.pubID?D+=' PUBLIC "'+_.pubID+'"':_.sysID&&(D+=' SYSTEM "'+_.sysID+'"'),f.state=T.CloseTag,D+=f.spaceBeforeSlash+">"+this.endline(_,f,p),f.state=T.None,this.closeNode(_,f,p),D},M.prototype.openNode=function(_,f,p){},M.prototype.closeNode=function(_,f,p){},M.prototype.openAttribute=function(_,f,p){},M.prototype.closeAttribute=function(_,f,p){},M}()}).call(this)},7904:function(he,oe,N){(function(){var w,T,k,$,H,O,g,S,F,z;z=N(3452),S=z.assign,F=z.isFunction,k=N(9906),$=N(519),H=N(1105),g=N(4354),O=N(7647),w=N(2269),T=N(6316),he.exports.create=function(Z,X,I,A){var B,G;if(null==Z)throw new Error("Root element needs a name.");return A=S({},X,I,A),G=(B=new $(A)).element(Z),A.headless||(B.declaration(A),(null!=A.pubID||null!=A.sysID)&&B.dtd(A)),G},he.exports.begin=function(Z,X,I){var A;return F(Z)&&(X=(A=[Z,X])[0],I=A[1],Z={}),X?new H(Z,X,I):new $(Z)},he.exports.stringWriter=function(Z){return new g(Z)},he.exports.streamWriter=function(Z,X){return new O(Z,X)},he.exports.implementation=new k,he.exports.nodeType=w,he.exports.writerState=T}).call(this)}},he=>{he(he.s=1738)}]);
|