text: "use strict";(self.webpackChunk_13_ng_form=self.webpackChunk_13_ng_form||[]).push([[179],{354:()=>{function K(e){return"function"==typeof e}function Mo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ao=Mo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Mr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class yt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(K(r))try{r()}catch(i){t=i instanceof Ao?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{uc(i)}catch(s){t=null!=t?t:[],s instanceof Ao?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ao(t)}}add(t){var n;if(t&&t!==this)if(this.closed)uc(t);else{if(t instanceof yt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Mr(n,t)}remove(t){const{_teardowns:n}=this;n&&Mr(n,t),t instanceof yt&&t._removeParent(this)}}yt.EMPTY=(()=>{const e=new yt;return e.closed=!0,e})();const sc=yt.EMPTY;function ac(e){return e instanceof yt||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function uc(e){K(e)?e():e.unsubscribe()}const ln={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Io={setTimeout(...e){const{delegate:t}=Io;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Io;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function lc(e){Io.setTimeout(()=>{const{onUnhandledError:t}=ln;if(!t)throw e;t(e)})}function So(){}const i_=ms("C",void 0,void 0);function ms(e,t,n){return{kind:e,value:t,error:n}}let cn=null;function To(e){if(ln.useDeprecatedSynchronousErrorHandling){const t=!cn;if(t&&(cn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=cn;if(cn=null,n)throw r}}else e()}class ys extends yt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ac(t)&&t.add(this)):this.destination=l_}static create(t,n,r){return new _s(t,n,r)}next(t){this.isStopped?vs(function a_(e){return ms("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?vs(function s_(e){return ms("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vs(i_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class _s extends ys{constructor(t,n,r){let o;if(super(),K(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&ln.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=null==o?void 0:o.bind(i),n=null==n?void 0:n.bind(i),r=null==r?void 0:r.bind(i)}this.destination={next:o?Ds(o):So,error:Ds(null!=n?n:cc),complete:r?Ds(r):So}}}function Ds(e,t){return(...n)=>{try{e(...n)}catch(r){ln.useDeprecatedSynchronousErrorHandling?function u_(e){ln.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}(r):lc(r)}}}function cc(e){throw e}function vs(e,t){const{onStoppedNotification:n}=ln;n&&Io.setTimeout(()=>n(e,t))}const l_={closed:!0,next:So,error:cc,complete:So},Cs="function"==typeof Symbol&&Symbol.observable||"@@observable";function ws(e){return e}let _e=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function d_(e){return e&&e instanceof ys||function c_(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}(e)&&ac(e)}(n)?n:new _s(n,r,o);return To(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=fc(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(u){i(u),null==s||s.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Cs](){return this}pipe(...n){return function dc(e){return 0===e.length?ws:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=fc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function fc(e){var t;return null!==(t=null!=e?e:ln.Promise)&&void 0!==t?t:Promise}const f_=Mo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let In=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new hc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new f_}next(n){To(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){To(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){To(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?sc:(i.push(n),new yt(()=>Mr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new hc(t,n),e})();class hc extends In{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:sc}}function dn(e){return t=>{if(function h_(e){return K(null==e?void 0:e.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class fn extends ys{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function Sn(e,t){return dn((n,r)=>{let o=0;n.subscribe(new fn(r,i=>{r.next(e.call(t,i,o++))}))})}function hn(e){return this instanceof hn?(this.v=e,this):new hn(e)}function m_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof hn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function y_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function mc(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const yc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function _c(e){return K(null==e?void 0:e.then)}function Dc(e){return K(e[Cs])}function vc(e){return Symbol.asyncIterator&&K(null==e?void 0:e[Symbol.asyncIterator])}function Cc(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const wc=function D_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ec(e){return K(null==e?void 0:e[wc])}function bc(e){return m_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield hn(n.read());if(o)return yield hn(void 0);yield yield hn(r)}}finally{n.releaseLock()}})}function Mc(e){return K(null==e?void 0:e.getReader)}function Gt(e){if(e instanceof _e)return e;if(null!=e){if(Dc(e))return function v_(e){return new _e(t=>{const n=e[Cs]();if(K(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(yc(e))return function C_(e){return new _e(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(_c(e))return function w_(e){return new _e(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,lc)})}(e);if(vc(e))return Ac(e);if(Ec(e))return function E_(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Mc(e))return function b_(e){return Ac(bc(e))}(e)}throw Cc(e)}function Ac(e){return new _e(t=>{(function M_(e,t){var n,r,o,i;return function p_(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=y_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function qt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ic(e,t,n=1/0){return K(t)?Ic((r,o)=>Sn((i,s)=>t(r,i,o,s))(Gt(e(r,o))),n):("number"==typeof t&&(n=t),dn((r,o)=>function A_(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{i&&t.next(m),l++;let _=!1;Gt(n(m,c++)).subscribe(new fn(t,D=>{null==o||o(D),i?h(D):t.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;u.length&&l<r;){const D=u.shift();s?qt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(new fn(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}const bs=new _e(e=>e.complete());function Ms(e){return e[e.length-1]}function Sc(e){return function T_(e){return e&&K(e.schedule)}(Ms(e))?e.pop():void 0}function Tc(e,t=0){return dn((n,r)=>{n.subscribe(new fn(r,o=>qt(r,e,()=>r.next(o),t),()=>qt(r,e,()=>r.complete(),t),o=>qt(r,e,()=>r.error(o),t)))})}function Fc(e,t=0){return dn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xc(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{qt(n,t,()=>{const r=e[Symbol.asyncIterator]();qt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Fo(e,t){return t?function k_(e,t){if(null!=e){if(Dc(e))return function N_(e,t){return Gt(e).pipe(Fc(t),Tc(t))}(e,t);if(yc(e))return function O_(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(_c(e))return function P_(e,t){return Gt(e).pipe(Fc(t),Tc(t))}(e,t);if(vc(e))return xc(e,t);if(Ec(e))return function V_(e,t){return new _e(n=>{let r;return qt(n,t,()=>{r=e[wc](),qt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>K(null==r?void 0:r.return)&&r.return()})}(e,t);if(Mc(e))return function R_(e,t){return xc(bc(e),t)}(e,t)}throw Cc(e)}(e,t):Gt(e)}function xo(...e){const t=Sc(e),n=function x_(e,t){return"number"==typeof Ms(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Gt(r[0]):function I_(e=1/0){return Ic(ws,e)}(n)(Fo(r,t)):bs}function As(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function L_(e){return e<=0?()=>bs:dn((t,n)=>{let r=0;t.subscribe(new fn(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function Is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function H(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(H).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ss(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const j_=G({__forward_ref__:G});function $(e){return e.__forward_ref__=$,e.toString=function(){return H(this())},e}function F(e){return Nc(e)?e():e}function Nc(e){return"function"==typeof e&&e.hasOwnProperty(j_)&&e.__forward_ref__===$}class k extends Error{constructor(t,n){super(function Ts(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function I(e){return"string"==typeof e?e:null==e?"":String(e)}function Ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function No(e,t){const n=t?` in ${t}`:"";throw new k(-201,`No provider for ${Ae(e)} found${n}`)}function He(e,t){null==e&&function J(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ee(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _t(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fs(e){return Pc(e,Po)||Pc(e,Vc)}function Pc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Oc(e){return e&&(e.hasOwnProperty(xs)||e.hasOwnProperty(z_))?e[xs]:null}const Po=G({\u0275prov:G}),xs=G({\u0275inj:G}),Vc=G({ngInjectableDef:G}),z_=G({ngInjectorDef:G});var x=(()=>((x=x||{})[x.Default=0]="Default",x[x.Host=1]="Host",x[x.Self=2]="Self",x[x.SkipSelf=4]="SkipSelf",x[x.Optional=8]="Optional",x))();let Ns;function Wt(e){const t=Ns;return Ns=e,t}function Rc(e,t,n){const r=Fs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&x.Optional?null:void 0!==t?t:void No(H(e),"Injector")}function zt(e){return{toString:e}.toString()}var ot=(()=>((ot=ot||{})[ot.OnPush=0]="OnPush",ot[ot.Default=1]="Default",ot))(),Dt=(()=>{return(e=Dt||(Dt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Dt;var e})();const Z_="undefined"!=typeof globalThis&&globalThis,Y_="undefined"!=typeof window&&window,K_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U=Z_||"undefined"!=typeof global&&global||Y_||K_,Tn={},q=[],Oo=G({\u0275cmp:G}),Ps=G({\u0275dir:G}),Os=G({\u0275pipe:G}),kc=G({\u0275mod:G}),Vt=G({\u0275fac:G}),Ar=G({__NG_ELEMENT_ID__:G});let J_=0;function Fn(e){return zt(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ot.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Dt.Emulated,id:"c",styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=J_++,r.inputs=Hc(e.inputs,n),r.outputs=Hc(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Lc):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Bc):null,r})}function Lc(e){return De(e)||function Qt(e){return e[Ps]||null}(e)}function Bc(e){return function pn(e){return e[Os]||null}(e)}const jc={};function Rt(e){return zt(()=>{const t={type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(jc[e.id]=e.type),t})}function Hc(e,t){if(null==e)return Tn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const S=Fn;function De(e){return e[Oo]||null}function Ze(e,t){const n=e[kc]||null;if(!n&&!0===t)throw new Error(`Type ${H(e)} does not have '\u0275mod' property.`);return n}const N=11,z=20;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function st(e){return Array.isArray(e)&&!0===e[1]}function ks(e){return 0!=(8&e.flags)}function Lo(e){return 2==(2&e.flags)}function Bo(e){return 1==(1&e.flags)}function at(e){return null!==e.template}function oD(e){return 0!=(512&e[2])}function _n(e,t){return e.hasOwnProperty(Vt)?e[Vt]:null}class aD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ct(){return Uc}function Uc(e){return e.type.prototype.ngOnChanges&&(e.setInput=lD),uD}function uD(){const e=qc(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lD(e,t,n,r){const o=qc(e)||function cD(e,t){return e[Gc]=t}(e,{previous:Tn,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new aD(u&&u.currentValue,t,s===Tn),e[r]=t}Ct.ngInherit=!0;const Gc="__ngSimpleChanges__";function qc(e){return e[Gc]||null}const Wc="http://www.w3.org/2000/svg";let js;function ne(e){return!!e.listen}const Qc={createRenderer:(e,t)=>function Hs(){return void 0!==js?js:"undefined"!=typeof document?document:void 0}()};function le(e){for(;Array.isArray(e);)e=e[0];return e}function jo(e,t){return le(t[e])}function Je(e,t){return le(t[e.index])}function $s(e,t){return e.data[t]}function Ue(e,t){const n=t[e];return vt(n)?n:n[0]}function Us(e){return 128==(128&e[2])}function Zt(e,t){return null==t?null:e[t]}function Yc(e){e[18]=0}function Gs(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const A={lFrame:id(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kc(){return A.bindingsEnabled}function y(){return A.lFrame.lView}function L(){return A.lFrame.tView}function he(){let e=Xc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xc(){return A.lFrame.currentTNode}function wt(e,t){const n=A.lFrame;n.currentTNode=e,n.isParent=t}function qs(){return A.lFrame.isParent}function Ho(){return A.isInCheckNoChangesMode}function $o(e){A.isInCheckNoChangesMode=e}function Rn(){return A.lFrame.bindingIndex++}function bD(e,t){const n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,zs(t)}function zs(e){A.lFrame.currentDirectiveIndex=e}function Zs(e){A.lFrame.currentQueryIndex=e}function AD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function rd(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&x.Host||(o=AD(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=A.lFrame=od();return r.currentTNode=t,r.lView=e,!0}function Uo(e){const t=od(),n=e[1];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function od(){const e=A.lFrame,t=null===e?null:e.child;return null===t?id(e):t}function id(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function sd(){const e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ad=sd;function Go(){const e=sd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Se(){return A.lFrame.selectedIndex}function Yt(e){A.lFrame.selectedIndex=e}function re(){const e=A.lFrame;return $s(e.tView,e.selectedIndex)}function Ys(){A.lFrame.currentNamespace=Wc}function qo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Wo(e,t,n){ld(e,t,3,n)}function zo(e,t,n,r){(3&e[2])===n&&ld(e,t,n,r)}function Ks(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ld(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(PD(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function PD(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Qo(e,t,n){const r=ne(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],u=n[o++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=i,a=n[++o];Xs(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function cd(e){return 3===e||4===e||6===e}function Xs(e){return 64===e.charCodeAt(0)}function Zo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||dd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function dd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function fd(e){return-1!==e}function kn(e){return 32767&e}function Ln(e,t){let n=function LD(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ea=!0;function Yo(e){const t=ea;return ea=e,t}let BD=0;function Pr(e,t){const n=na(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ta(r.data,e),ta(t,null),ta(r.blueprint,null));const o=Ko(e,t),i=e.injectorIndex;if(fd(o)){const s=kn(o),a=Ln(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ta(e,t){e.push(0,0,0,0,0,0,0,0,t)}function na(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ko(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Jo(e,t,n){!function jD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ar)&&(r=n[Ar]),null==r&&(r=n[Ar]=BD++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function gd(e,t,n){if(n&x.Optional)return e;No(t,"NodeInjector")}function md(e,t,n,r){if(n&x.Optional&&void 0===r&&(r=null),0==(n&(x.Self|x.Host))){const o=e[9],i=Wt(void 0);try{return o?o.get(t,r,n&x.Optional):Rc(t,r,n&x.Optional)}finally{Wt(i)}}return gd(r,t,n)}function yd(e,t,n,r=x.Default,o){if(null!==e){const i=function GD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ar)?e[Ar]:void 0;return"number"==typeof t?t>=0?255&t:$D:t}(n);if("function"==typeof i){if(!rd(t,e,r))return r&x.Host?gd(o,n,r):md(t,n,r,o);try{const s=i(r);if(null!=s||r&x.Optional)return s;No(n)}finally{ad()}}else if("number"==typeof i){let s=null,a=na(e,t),u=-1,l=r&x.Host?t[16][6]:null;for((-1===a||r&x.SkipSelf)&&(u=-1===a?Ko(e,t):t[a+8],-1!==u&&vd(r,!1)?(s=t[1],a=kn(u),t=Ln(u,t)):a=-1);-1!==a;){const c=t[1];if(Dd(i,a,c.data)){const d=UD(a,t,n,s,r,l);if(d!==_d)return d}u=t[a+8],-1!==u&&vd(r,t[1].data[a+8]===l)&&Dd(i,a,t)?(s=c,a=kn(u),t=Ln(u,t)):a=-1}}}return md(t,n,r,o)}const _d={};function $D(){return new Bn(he(),y())}function UD(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function Xo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&at(h)&&h.type===n)return u}return null}(a,s,n,null==r?Lo(a)&&ea:r!=s&&0!=(3&a.type),o&x.Host&&i===a);return null!==c?Or(t,s,c,a):_d}function Or(e,t,n,r){let o=e[n];const i=t.data;if(function OD(e){return e instanceof xr}(o)){const s=o;s.resolving&&function H_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new k(-200,`Circular dependency in DI detected for ${e}${n}`)}(Ae(i[n]));const a=Yo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Wt(s.injectImpl):null;rd(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ND(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Uc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Wt(u),Yo(a),s.resolving=!1,ad()}}return o}function Dd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function vd(e,t){return!(e&x.Self||e&x.Host&&t)}class Bn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yd(this._tNode,this._lView,t,r,n)}}function Le(e){return zt(()=>{const t=e.prototype.constructor,n=t[Vt]||ra(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Vt]||ra(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ra(e){return Nc(e)?()=>{const t=ra(F(e));return t&&t()}:_n(e)}const Hn="__parameters__";function Un(e,t,n){return zt(()=>{const r=function ia(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Hn)?u[Hn]:Object.defineProperty(u,Hn,{value:[]})[Hn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class B{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Et(e,t){e.forEach(n=>Array.isArray(n)?Et(n,t):t(n))}function wd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ei(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ge(e,t,n){let r=Gn(e,t);return r>=0?e[1|r]=n:(r=~r,function QD(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function aa(e,t){const n=Gn(e,t);if(n>=0)return e[1|n]}function Gn(e,t){return function Md(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Lr={},la="__NG_DI_FLAG__",ni="ngTempTokenPath",tv=/\n/gm,Id="__source",rv=G({provide:String,useValue:G});let Br;function Sd(e){const t=Br;return Br=e,t}function ov(e,t=x.Default){if(void 0===Br)throw new k(203,"");return null===Br?Rc(e,void 0,t):Br.get(e,t&x.Optional?null:void 0,t)}function Q(e,t=x.Default){return(function Q_(){return Ns}()||ov)(F(e),t)}function ca(e){const t=[];for(let n=0;n<e.length;n++){const r=F(e[n]);if(Array.isArray(r)){if(0===r.length)throw new k(900,"");let o,i=x.Default;for(let s=0;s<r.length;s++){const a=r[s],u=iv(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(Q(o,i))}else t.push(Q(r))}return t}function jr(e,t){return e[la]=t,e.prototype[la]=t,e}function iv(e){return e[la]}const ri=jr(Un("Inject",e=>({token:e})),-1),qn=jr(Un("Optional"),8),Hr=jr(Un("SkipSelf"),4);const Qd="__ngContext__";function Ce(e,t){e[Qd]=t}function Da(e){const t=function Wr(e){return e[Qd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ca(e){return e.ngOriginalError}function Kv(e,...t){e.error(...t)}class Qn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Yv(e){return e&&e.ngErrorLogger||Kv}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ca(t);for(;n&&Ca(n);)n=Ca(n);return n||null}}const Xd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function Mt(e){return e instanceof Function?e():e}var qe=(()=>((qe=qe||{})[qe.Important=1]="Important",qe[qe.DashCase=2]="DashCase",qe))();function Ea(e,t){return undefined(e,t)}function zr(e){const t=e[3];return st(t)?t[3]:t}function ba(e){return sf(e[13])}function Ma(e){return sf(e[4])}function sf(e){for(;null!==e&&!st(e);)e=e[4];return e}function Yn(e,t,n,r,o){if(null!=r){let i,s=!1;st(r)?i=r:vt(r)&&(s=!0,r=r[0]);const a=le(r);0===e&&null!==n?null==o?ff(t,n,a):Dn(t,n,a,o||null,!0):1===e&&null!==n?Dn(t,n,a,o||null,!0):2===e?function Df(e,t,n){const r=li(e,t);r&&function vC(e,t,n,r){ne(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function EC(e,t,n,r,o){const i=n[7];i!==le(n)&&Yn(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];Qr(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ia(e,t,n){return ne(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function uf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Gs(o,-1)),n.splice(r,1)}function Sa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&uf(o,r),t>0&&(e[n-1][4]=r[4]);const i=ei(e,10+t);!function fC(e,t){Qr(e,t,t[N],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function lf(e,t){if(!(256&t[2])){const n=t[N];ne(n)&&n.destroyNode&&Qr(e,t,n,3,null,null),function gC(e){let t=e[13];if(!t)return Ta(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&Ta(t[1],t),t=t[3];null===t&&(t=e),vt(t)&&Ta(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ta(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function DC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof xr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function _C(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):le(t[s]),u=r[o=n[i+2]],l=n[i+3];"boolean"==typeof l?a.removeEventListener(n[i],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&ne(t[N])&&t[N].destroy();const n=t[17];if(null!==n&&st(t[3])){n!==t[3]&&uf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function cf(e,t,n){return function df(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===Dt.None||o===Dt.Emulated)return null}return Je(r,n)}(e,t.parent,n)}function Dn(e,t,n,r,o){ne(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function ff(e,t,n){ne(e)?e.appendChild(t,n):t.appendChild(n)}function hf(e,t,n,r,o){null!==r?Dn(e,t,n,r,o):ff(e,t,n)}function li(e,t){return ne(e)?e.parentNode(t):t.parentNode}let mf=function gf(e,t,n){return 40&e.type?Je(e,n):null};function ci(e,t,n,r){const o=cf(e,r,t),i=t[N],a=function pf(e,t,n){return mf(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)hf(i,o,n[u],a,!1);else hf(i,o,n,a,!1)}function di(e,t){if(null!==t){const n=t.type;if(3&n)return Je(t,e);if(4&n)return xa(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return di(e,r);{const o=e[t.index];return st(o)?xa(-1,o):le(o)}}if(32&n)return Ea(t,e)()||le(e[t.index]);{const r=_f(e,t);return null!==r?Array.isArray(r)?r[0]:di(zr(e[16]),r):di(e,t.next)}}return null}function _f(e,t){return null!==t?e[16][6].projection[t.projection]:null}function xa(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return di(r,o)}return t[7]}function Na(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ce(le(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Na(e,t,n.child,r,o,i,!1),Yn(t,e,o,a,i);else if(32&u){const l=Ea(n,r);let c;for(;c=l();)Yn(t,e,o,c,i);Yn(t,e,o,a,i)}else 16&u?vf(e,t,r,n,o,i):Yn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Qr(e,t,n,r,o,i){Na(n,r,e.firstChild,t,o,i,!1)}function vf(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Yn(t,e,o,u[l],i);else Na(e,t,u,s[3],o,i,!0)}function Cf(e,t,n){ne(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Pa(e,t,n){ne(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function wf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Ef="ng-template";function MC(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==wf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function bf(e){return 4===e.type&&e.value!==Ef}function AC(e,t,n){return t===(4!==e.type||n?e.value:Ef)}function IC(e,t,n){let r=4;const o=e.attrs||[],i=function FC(e){for(let t=0;t<e.length;t++)if(cd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!AC(e,u,n)||""===u&&1===t.length){if(ut(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!MC(e.attrs,l,n)){if(ut(r))return!1;s=!0}continue}const d=SC(8&r?"class":u,o,bf(e),n);if(-1===d){if(ut(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==wf(h,l,0)||2&r&&l!==f){if(ut(r))return!1;s=!0}}}}else{if(!s&&!ut(r)&&!ut(u))return!1;if(s&&ut(u))continue;s=!1,r=u|1&r}}return ut(r)||s}function ut(e){return 0==(1&e)}function SC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function xC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Mf(e,t,n=!1){for(let r=0;r<t.length;r++)if(IC(e,t[r],n))return!0;return!1}function Af(e,t){return e?":not("+t.trim()+")":t}function PC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ut(s)&&(t+=Af(i,o),o=""),r=s,i=i||!ut(r);n++}return""!==o&&(t+=Af(i,o)),t}const T={};function Fe(e){If(L(),y(),Se()+e,Ho())}function If(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Wo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&zo(t,i,0,n)}Yt(n)}function fi(e,t){return e<<17|t<<2}function lt(e){return e>>17&32767}function Oa(e){return 2|e}function Bt(e){return(131068&e)>>2}function Va(e,t){return-131069&e|t<<2}function Ra(e){return 1|e}function Lf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];Zs(o),s.contentQueries(2,t[i],i)}}}function Zr(e,t,n,r,o,i,s,a,u,l){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,Yc(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[N]=a||e&&e[N],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function Kn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function qa(e,t,n,r,o){const i=Xc(),s=qs(),u=e.data[t]=function KC(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),function ED(){return A.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Fr(){const e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return wt(i,!0),i}function Jn(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Yr(e,t,n){Uo(t);try{const r=e.viewQuery;null!==r&&eu(1,r,n);const o=e.template;null!==o&&Bf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Lf(e,t),e.staticViewQueries&&eu(2,e.viewQuery,n);const i=e.components;null!==i&&function QC(e,t){for(let n=0;n<t.length;n++)gw(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Go()}}function Xn(e,t,n,r){const o=t[2];if(256==(256&o))return;Uo(t);const i=Ho();try{Yc(t),function ed(e){return A.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Bf(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const l=e.preOrderCheckHooks;null!==l&&Wo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&zo(t,l,0,null),Ks(t,0)}if(function hw(e){for(let t=ba(e);null!==t;t=Ma(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&Gs(i,1),o[2]|=1024}}}(t),function fw(e){for(let t=ba(e);null!==t;t=Ma(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Us(r)&&Xn(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Lf(e,t),!i)if(s){const l=e.contentCheckHooks;null!==l&&Wo(t,l)}else{const l=e.contentHooks;null!==l&&zo(t,l,1),Ks(t,1)}!function WC(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Yt(~o);else{const i=o,s=n[++r],a=n[++r];bD(s,i),a(2,t[i])}}}finally{Yt(-1)}}(e,t);const a=e.components;null!==a&&function zC(e,t){for(let n=0;n<t.length;n++)pw(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&eu(2,u,r),!i)if(s){const l=e.viewCheckHooks;null!==l&&Wo(t,l)}else{const l=e.viewHooks;null!==l&&zo(t,l,2),Ks(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Gs(t[3],-1))}finally{Go()}}function ZC(e,t,n,r){const o=t[10],i=!Ho(),s=function Zc(e){return 4==(4&e[2])}(t);try{i&&!s&&o.begin&&o.begin(),s&&Yr(e,t,r),Xn(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function Bf(e,t,n,r,o){const i=Se(),s=2&r;try{Yt(-1),s&&t.length>z&&If(e,t,z,Ho()),n(r,o)}finally{Yt(i)}}function Wa(e,t,n){!Kc()||(function ow(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Pr(n,t),Ce(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=at(u);l&&lw(t,n,u);const c=Or(t,e,a,n);Ce(c,t),null!==s&&cw(0,a-o,c,u,0,s),l&&(Ue(n.index,t)[8]=c)}}(e,t,n,Je(n,t)),128==(128&n.flags)&&function iw(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=function MD(){return A.lFrame.currentDirectiveIndex}();try{Yt(s);for(let u=r;u<o;u++){const l=e.data[u],c=t[u];zs(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Qf(l,c)}}finally{Yt(-1),zs(a)}}(e,t,n))}function za(e,t,n=Je){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Hf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function gi(e,t,n,r,o,i,s,a,u,l){const c=z+r,d=c+o,f=function YC(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:T);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function qf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Qa(e,t,n,r){let o=!1;if(Kc()){const i=function sw(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Mf(n,s.selectors,!1)&&(o||(o=[]),Jo(Pr(n,t),e,s.type),at(s)?(Zf(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Yf(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Jn(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=Zo(n.mergedAttrs,d.hostAttrs),Kf(e,n,t,l,d),uw(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function JC(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===i||bf(t)?null:dw(d,i);s.push(f),a=qf(d,l,a),u=qf(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function aw(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new k(-301,`Export of name '${t[o+1]}' not found!`);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=Zo(n.mergedAttrs,n.attrs),o}function zf(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function rw(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Qf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function uw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;at(t)&&(n[""]=e)}}function Yf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Kf(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=_n(o.type)),s=new xr(i,at(o),null);e.blueprint[r]=s,n[r]=s,zf(e,t,0,r,Jn(e,n,o.hostVars,T),o)}function lw(e,t,n){const r=Je(t,e),o=Hf(n),i=e[10],s=mi(e,Zr(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function At(e,t,n,r,o,i){const s=Je(e,t);!function Za(e,t,n,r,o,i,s){if(null==i)ne(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const a=null==s?I(i):s(i,r||"",o);ne(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}(t[N],s,i,e.value,n,r,o)}function cw(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function dw(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Jf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function pw(e,t){const n=Ue(t,e);if(Us(n)){const r=n[1];80&n[2]?Xn(r,n,r.template,n[8]):n[5]>0&&Ya(n)}}function Ya(e){for(let r=ba(e);null!==r;r=Ma(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];Xn(s,i,s.template,i[8])}else i[5]>0&&Ya(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ue(n[r],e);Us(o)&&o[5]>0&&Ya(o)}}function gw(e,t){const n=Ue(t,e),r=n[1];(function mw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Yr(r,n,n[8])}function mi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ka(e){for(;e;){e[2]|=64;const t=zr(e);if(oD(e)&&!t)return e;e=t}return null}function Xa(e,t,n){const r=t[10];r.begin&&r.begin();try{Xn(e,t,e.template,n)}catch(o){throw rh(t,o),o}finally{r.end&&r.end()}}function Xf(e){!function Ja(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Da(n),o=r[1];ZC(o,r,o.template,n)}}(e[8])}function eu(e,t,n){Zs(0),t(e,n)}const vw=(()=>Promise.resolve(null))();function eh(e){return e[7]||(e[7]=[])}function th(e){return e.cleanup||(e.cleanup=[])}function rh(e,t){const n=e[9],r=n?n.get(Qn,null):null;r&&r.handleError(t)}function oh(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function jt(e,t,n){const r=jo(t,e);!function af(e,t,n){ne(e)?e.setValue(t,n):t.textContent=n}(e[N],r,n)}function yi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Ss(o,a):2==i&&(r=Ss(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const tu=new B("INJECTOR",-1);class ih{get(t,n=Lr){if(n===Lr){const r=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw r.name="NullInjectorError",r}return n}}const nu=new B("Set Injector scope."),Kr={},Ew={};let ru;function sh(){return void 0===ru&&(ru=new ih),ru}function ah(e,t=null,n=null,r){const o=uh(e,t,n,r);return o._resolveInjectorDefTypes(),o}function uh(e,t=null,n=null,r){return new bw(e,n,t||sh(),r)}class bw{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Et(n,a=>this.processProvider(a,t,n)),Et([t],a=>this.processInjectorType(a,[],i)),this.records.set(tu,er(void 0,this));const s=this.records.get(nu);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:H(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Lr,r=x.Default){this.assertNotDestroyed();const o=Sd(this),i=Wt(void 0);try{if(!(r&x.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function Nw(e){return"function"==typeof e||"object"==typeof e&&e instanceof B}(t)&&Fs(t);a=u&&this.injectableDefInScope(u)?er(ou(t),Kr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&x.Self?sh():this.parent).get(t,n=r&x.Optional&&n===Lr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ni]=s[ni]||[]).unshift(H(t)),o)throw s;return function sv(e,t,n,r){const o=e[ni];throw t[Id]&&o.unshift(t[Id]),e.message=function av(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=H(t);if(Array.isArray(t))o=t.map(H).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):H(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(tv,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ni]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Wt(i),Sd(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(H(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new k(205,"")}processInjectorType(t,n,r){if(!(t=F(t)))return!1;let o=Oc(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Oc(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Et(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];Et(h,p=>this.processProvider(p,f,h||q))}}this.injectorDefTypes.add(s);const u=_n(s)||(()=>new s);this.records.set(s,er(u,Kr));const l=o.providers;if(null!=l&&!a){const c=t;Et(l,d=>this.processProvider(d,c,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=tr(t=F(t))?t:F(t&&t.provide);const i=function Aw(e,t,n){return ch(e)?er(void 0,e.useValue):er(lh(e),Kr)}(t);if(tr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=er(void 0,Kr,!0),s.factory=()=>ca(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===Kr&&(n.value=Ew,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ou(e){const t=Fs(e),n=null!==t?t.factory:_n(e);if(null!==n)return n;if(e instanceof B)throw new k(204,"");if(e instanceof Function)return function Mw(e){const t=e.length;if(t>0)throw function kr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new k(204,"");const n=function q_(e){const t=e&&(e[Po]||e[Vc]);if(t){const n=function W_(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new k(204,"")}function lh(e,t,n){let r;if(tr(e)){const o=F(e);return _n(o)||ou(o)}if(ch(e))r=()=>F(e.useValue);else if(function Sw(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ca(e.deps||[]));else if(function Iw(e){return!(!e||!e.useExisting)}(e))r=()=>Q(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function Fw(e){return!!e.deps}(e))return _n(o)||ou(o);r=()=>new o(...ca(e.deps))}return r}function er(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ch(e){return null!==e&&"object"==typeof e&&rv in e}function tr(e){return"function"==typeof e}let ze=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return ah({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return ah({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Lr,e.NULL=new ih,e.\u0275prov=ee({token:e,providedIn:"any",factory:()=>Q(tu)}),e.__NG_ELEMENT_ID__=-1,e})();function jw(e,t){qo(Da(e)[1],he())}function W(e){let t=function wh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(at(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new k(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=au(e.inputs),s.declaredInputs=au(e.declaredInputs),s.outputs=au(e.outputs);const a=o.hostBindings;a&&Gw(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&$w(e,u),l&&Uw(e,l),Is(e.inputs,o.inputs),Is(e.declaredInputs,o.declaredInputs),Is(e.outputs,o.outputs),at(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===W&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Hw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zo(o.hostAttrs,n=Zo(n,o.hostAttrs))}}(r)}function au(e){return e===Tn?{}:e===q?[]:e}function $w(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Uw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function Gw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let _i=null;function nr(){if(!_i){const e=U.Symbol;if(e&&e.iterator)_i=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(_i=r)}}}return _i}function Jr(e){return!!uu(e)&&(Array.isArray(e)||!(e instanceof Map)&&nr()in e)}function uu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function we(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function St(e,t,n,r){const o=y();return we(o,Rn(),t)&&(L(),At(re(),o,e,t,n,r)),St}function tn(e,t,n,r,o,i,s,a){const u=y(),l=L(),c=e+z,d=l.firstCreatePass?function Kw(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Kn(t,e,4,s||null,Zt(l,a));Qa(t,n,c,Zt(l,u)),qo(t,c);const d=c.tViews=gi(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];wt(d,!1);const f=u[N].createComment("");ci(l,u,f,d),Ce(f,u),mi(u,u[c]=Jf(f,u,f,d)),Bo(d)&&Wa(l,u,d),null!=s&&za(u,d,a)}function v(e,t=x.Default){const n=y();return null===n?Q(e,t):yd(he(),n,F(e),t)}function xe(e,t,n){const r=y();return we(r,Rn(),t)&&function We(e,t,n,r,o,i,s,a){const u=Je(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(oh(e,n,c,r,o),Lo(t)&&function ew(e,t){const n=Ue(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function XC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,ne(i)?i.setProperty(u,r,o):Xs(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}(L(),re(),r,e,t,r[N],n,!1),xe}function hu(e,t,n,r,o){const s=o?"class":"style";oh(e,n,t.inputs[s],s,r)}function oe(e,t,n,r){const o=y(),i=L(),s=z+e,a=o[N],u=o[s]=Ia(a,t,function xD(){return A.lFrame.currentNamespace}()),l=i.firstCreatePass?function vE(e,t,n,r,o,i,s){const a=t.consts,l=Kn(t,e,2,o,Zt(a,i));return Qa(t,n,l,Zt(a,s)),null!==l.attrs&&yi(l,l.attrs,!1),null!==l.mergedAttrs&&yi(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];wt(l,!0);const c=l.mergedAttrs;null!==c&&Qo(a,u,c);const d=l.classes;null!==d&&Pa(a,u,d);const f=l.styles;null!==f&&Cf(a,u,f),64!=(64&l.flags)&&ci(i,o,u,l),0===function yD(){return A.lFrame.elementDepthCount}()&&Ce(u,o),function _D(){A.lFrame.elementDepthCount++}(),Bo(l)&&(Wa(i,o,l),function jf(e,t,n){if(ks(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,l,o)),null!==r&&za(o,l)}function ie(){let e=he();qs()?function Ws(){A.lFrame.isParent=!1}():(e=e.parent,wt(e,!1));const t=e;!function DD(){A.lFrame.elementDepthCount--}();const n=L();n.firstCreatePass&&(qo(n,e),ks(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function RD(e){return 0!=(16&e.flags)}(t)&&hu(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function kD(e){return 0!=(32&e.flags)}(t)&&hu(n,t,y(),t.stylesWithoutHost,!1)}function Tt(e,t,n,r){oe(e,t,n,r),ie()}function Ci(e){return!!e&&"function"==typeof e.then}const Wh=function qh(e){return!!e&&"function"==typeof e.subscribe};function Ne(e,t,n,r){const o=y(),i=L(),s=he();return function Qh(e,t,n,r,o,i,s,a){const u=Bo(r),c=e.firstCreatePass&&th(e),d=t[8],f=eh(t);let h=!0;if(3&r.type||a){const _=Je(r,t),D=a?a(_):_,g=f.length,E=a?O=>a(le(O[r.index])):r.index;if(ne(n)){let O=null;if(!a&&u&&(O=function EE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=pu(r,t,d,i,!1);const j=n.listen(D,o,i);f.push(i,j),c&&c.push(o,E,g,g+1)}}else i=pu(r,t,d,i,!0),D.addEventListener(o,i,s),f.push(i),c&&c.push(o,E,g,s)}else i=pu(r,t,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const _=m.length;if(_)for(let D=0;D<_;D+=2){const Qe=t[m[D]][m[D+1]].subscribe(i),An=f.length;f.push(i,Qe),c&&c.push(o,r.index,An,-(An+1))}}}(i,o,o[N],s,e,t,!!n,r),Ne}function Zh(e,t,n,r){try{return!1!==n(r)}catch(o){return rh(e,o),!1}}function pu(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?Ue(e.index,t):t;0==(32&t[2])&&Ka(a);let u=Zh(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Zh(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function hr(e=1){return function ID(e){return(A.lFrame.contextLView=function SD(e,t){for(;e>0;)t=t[15],e--;return t}(e,A.lFrame.contextLView))[8]}(e)}function ip(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?lt(i):Bt(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];TE(e[a],t)&&(u=!0,e[a+1]=r?Ra(c):Oa(c)),a=r?lt(c):Bt(c)}u&&(e[n+1]=r?Oa(i):Ra(i))}function TE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gn(e,t)>=0}function wi(e,t){return function dt(e,t,n,r){const o=y(),i=L(),s=function Lt(e){const t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function pp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Se()],s=function hp(e,t){return t>=e.expandoStartIndex}(e,n);(function _p(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function LE(e,t,n,r){const o=function Qs(e){const t=A.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=eo(n=mu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=mu(o,e,t,n,r),null===i){let u=function BE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Bt(r))return e[lt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=mu(null,e,t,u[1],r),u=eo(u,t.attrs,r),function jE(e,t,n,r){e[lt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function HE(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=eo(r,e[i].hostAttrs,n);return eo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function IE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=lt(s),u=Bt(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Gn(d,c)>0)&&(l=!0)}else c=n;if(o)if(0!==u){const f=lt(e[a+1]);e[r+1]=fi(f,a),0!==f&&(e[f+1]=Va(e[f+1],r)),e[a+1]=function RC(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=fi(a,0),0!==a&&(e[a+1]=Va(e[a+1],r)),a=r;else e[r+1]=fi(u,0),0===a?a=r:e[u+1]=Va(e[u+1],r),u=r;l&&(e[r+1]=Oa(e[r+1])),ip(e,c,r,!0),ip(e,c,r,!1),function SE(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gn(i,t)>=0&&(n[r+1]=Ra(n[r+1]))}(t,c,e,r,i),s=fi(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==T&&we(o,s,t)&&function mp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Ei(function Ff(e){return 1==(1&e)}(l)?yp(u,t,n,o,Bt(l),s):void 0)||(Ei(i)||function Tf(e){return 2==(2&e)}(l)&&(i=yp(u,null,n,o,a,s)),function bC(e,t,n,r,o){const i=ne(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:qe.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=qe.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,jo(Se(),n),o,i))}(i,i.data[Se()],o,o[N],e,o[s+1]=function GE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=H(function Jt(e){return e instanceof class kd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),wi}function mu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=eo(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function eo(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ge(e,s,!!n||t[++i]))}return void 0===e?null:e}function yp(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===T&&(f=d?q:void 0);let h=d?aa(f,r):c===r?f:void 0;if(l&&!Ei(h)&&(h=aa(u,r)),Ei(h)&&(a=h,s))return a;const p=e[o+1];o=s?lt(p):Bt(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=aa(u,r))}return a}function Ei(e){return void 0!==e}function nn(e,t=""){const n=y(),r=L(),o=e+z,i=r.firstCreatePass?Kn(r,o,1,t,null):r.data[o],s=n[o]=function Aa(e,t){return ne(e)?e.createText(t):e.createTextNode(t)}(n[N],t);ci(r,n,s,i),wt(i,!1)}function bi(e,t,n){const r=y(),o=function or(e,t,n,r){return we(e,Rn(),n)?t+I(n)+r:T}(r,e,t,n);return o!==T&&jt(r,Se(),o),bi}const Cn=void 0;var cb=["en",[["a","p"],["AM","PM"],Cn],[["AM","PM"],Cn,Cn],[["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"]],Cn,[["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"]],Cn,[["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}",Cn,"{1} 'at' {0}",Cn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function lb(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let gr={};function jp(e){return e in gr||(gr[e]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[e]),gr[e]}var w=(()=>((w=w||{})[w.LocaleId=0]="LocaleId",w[w.DayPeriodsFormat=1]="DayPeriodsFormat",w[w.DayPeriodsStandalone=2]="DayPeriodsStandalone",w[w.DaysFormat=3]="DaysFormat",w[w.DaysStandalone=4]="DaysStandalone",w[w.MonthsFormat=5]="MonthsFormat",w[w.MonthsStandalone=6]="MonthsStandalone",w[w.Eras=7]="Eras",w[w.FirstDayOfWeek=8]="FirstDayOfWeek",w[w.WeekendRange=9]="WeekendRange",w[w.DateFormat=10]="DateFormat",w[w.TimeFormat=11]="TimeFormat",w[w.DateTimeFormat=12]="DateTimeFormat",w[w.NumberSymbols=13]="NumberSymbols",w[w.NumberFormats=14]="NumberFormats",w[w.CurrencyCode=15]="CurrencyCode",w[w.CurrencySymbol=16]="CurrencySymbol",w[w.CurrencyName=17]="CurrencyName",w[w.Currencies=18]="Currencies",w[w.Directionality=19]="Directionality",w[w.PluralCase=20]="PluralCase",w[w.ExtraData=21]="ExtraData",w))();const Mi="en-US";let Hp=Mi;function Du(e,t,n,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i<e.length;i++)Du(e[i],t,n,r,o);else{const i=L(),s=y();let a=tr(e)?e:F(e.provide),u=lh(e);const l=he(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(tr(e)||!e.multi){const h=new xr(u,o,v),p=Cu(a,t,o?c:c+f,d);-1===p?(Jo(Pr(l,s),i,a),vu(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Cu(a,t,c+f,d),p=Cu(a,t,c,c+f),m=h>=0&&n[h],_=p>=0&&n[p];if(o&&!_||!o&&!m){Jo(Pr(l,s),i,a);const D=function c0(e,t,n,r,o){const i=new xr(e,n,v);return i.multi=[],i.index=t,i.componentProviders=0,dg(i,o,r&&!n),i}(o?l0:u0,n.length,o,r,u);!o&&_&&(n[p].providerFactory=D),vu(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(D),s.push(D)}else vu(i,e,h>-1?h:p,dg(n[o?p:h],u,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function vu(e,t,n,r){const o=tr(t),i=function Tw(e){return!!e.useClass}(t);if(o||i){const u=(i?F(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function dg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Cu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function u0(e,t,n,r){return wu(this.multi,[])}function l0(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Or(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),wu(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],wu(o,i);return i}function wu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Z(e,t=[]){return n=>{n.providersResolver=(r,o)=>function a0(e,t,n){const r=L();if(r.firstCreatePass){const o=at(e);Du(n,r.data,r.blueprint,o,!0),Du(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class fg{}class h0{resolveComponentFactory(t){throw function f0(e){const t=Error(`No component factory found for ${H(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let io=(()=>{class e{}return e.NULL=new h0,e})();function p0(){return yr(he(),y())}function yr(e,t){return new ht(Je(e,t))}let ht=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=p0,e})();class pg{}let wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function y0(){const e=y(),n=Ue(he().index,e);return function m0(e){return e[N]}(vt(n)?n:e)}(),e})(),_0=(()=>{class e{}return e.\u0275prov=ee({token:e,providedIn:"root",factory:()=>null}),e})();class Fi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const D0=new Fi("13.1.3"),Eu={};function xi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(le(i)),st(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&xi(u[1],u,l,r)}const s=n.type;if(8&s)xi(e,t,n.child,r);else if(32&s){const a=Ea(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=_f(t,n);if(Array.isArray(a))r.push(...a);else{const u=zr(t[16]);xi(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class so{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return xi(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(st(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Sa(t,r),ei(n,r))}this._attachedToViewContainer=!1}lf(this._lView[1],this._lView)}onDestroy(t){!function Gf(e,t,n,r){const o=eh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&th(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Ka(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Xa(this._lView[1],this._lView,this.context)}checkNoChanges(){!function _w(e,t,n){$o(!0);try{Xa(e,t,n)}finally{$o(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new k(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pC(e,t){Qr(e,t,t[N],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new k(902,"");this._appRef=t}}class v0 extends so{constructor(t){super(t),this._view=t}detectChanges(){Xf(this._view)}checkNoChanges(){!function Dw(e){$o(!0);try{Xf(e)}finally{$o(!1)}}(this._view)}get context(){return null}}class gg extends io{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=De(t);return new bu(n,this.ngModule)}}function mg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const w0=new B("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xd});class bu extends fg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function OC(e){return e.map(PC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mg(this.componentDef.inputs)}get outputs(){return mg(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function E0(e,t){return{get:(n,r,o)=>{const i=e.get(n,Eu,o);return i!==Eu||r===Eu?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(pg,Qc),a=i.get(_0,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function Uf(e,t,n){if(ne(e))return e.selectRootElement(t,n===Dt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Ia(s.createRenderer(null,this.componentDef),l,function C0(e){const t=e.toLowerCase();return"svg"===t?Wc:"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function Ch(e,t){return{components:[],scheduler:e||Xd,clean:vw,playerHandler:t||null,flags:0}}(),h=gi(0,null,null,1,0,null,null,null,null,null),p=Zr(null,h,f,d,null,null,s,u,a,i);let m,_;Uo(p);try{const D=function Dh(e,t,n,r,o,i){const s=n[1];n[20]=e;const u=Kn(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(yi(u,l,!0),null!==e&&(Qo(o,e,l),null!==u.classes&&Pa(o,e,u.classes),null!==u.styles&&Cf(o,e,u.styles)));const c=r.createRenderer(e,t),d=Zr(n,Hf(t),null,t.onPush?64:16,n[20],u,r,c,i||null,null);return s.firstCreatePass&&(Jo(Pr(u,n),s,t.type),Zf(s,u),Yf(u,n.length,1)),mi(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Qo(u,c,["ng-version",D0.full]);else{const{attrs:g,classes:E}=function VC(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!ut(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Qo(u,c,g),E&&E.length>0&&Pa(u,c,E.join(" "))}if(_=$s(h,z),void 0!==n){const g=_.projection=[];for(let E=0;E<this.ngContentSelectors.length;E++){const O=n[E];g.push(null!=O?Array.from(O):null)}}m=function vh(e,t,n,r,o){const i=n[1],s=function nw(e,t,n){const r=he();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Kf(e,r,t,Jn(e,t,1,null),n));const o=Or(t,e,r.directiveStart,r);Ce(o,t);const i=Je(r,t);return i&&Ce(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(u=>u(s,t)),t.contentQueries){const u=he();t.contentQueries(1,s,u.directiveStart)}const a=he();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Yt(a.index),zf(n[1],a,0,a.directiveStart,a.directiveEnd,t),Qf(t,s)),s}(D,this.componentDef,p,f,[jw]),Yr(h,p,null)}finally{Go()}return new M0(this.componentType,m,yr(_,p),p,_)}}class M0 extends class d0{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new v0(o),this.componentType=t}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class _r{}const Dr=new Map;class Dg extends _r{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gg(this);const r=Ze(t);this._bootstrapComponents=Mt(r.bootstrap),this._r3Injector=uh(t,n,[{provide:_r,useValue:this},{provide:io,useValue:this.componentFactoryResolver}],H(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ze.THROW_IF_NOT_FOUND,r=x.Default){return t===ze||t===_r||t===tu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Mu extends class I0{}{constructor(t){super(),this.moduleType=t,null!==Ze(t)&&function S0(e){const t=new Set;!function n(r){const o=Ze(r,!0),i=o.id;null!==i&&(function yg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${H(t)} vs ${H(t.name)}`)}(i,Dr.get(i),r),Dr.set(i,r));const s=Mt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Dg(this.moduleType,t)}}function Ni(e,t,n,r){return function vg(e,t,n,r,o,i){const s=t+n;return we(e,s,o)?function It(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function ao(e,t){const n=e[t];return n===T?void 0:n}(e,s+1)}(y(),function Ie(){const e=A.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function Au(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class q0 extends In{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(i=d.error)||void 0===i?void 0:i.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=Au(u),a&&(a=Au(a)),l&&(l=Au(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof yt&&t.add(c),c}};Symbol;let Ht=(()=>{class e{}return e.__NG_ELEMENT_ID__=Z0,e})();const z0=Ht,Q0=class extends z0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Zr(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Yr(n,r,t),new so(r)}};function Z0(){return function Pi(e,t){return 4&e.type?new Q0(t,e,yr(e,t)):null}(he(),y())}let Nt=(()=>{class e{}return e.__NG_ELEMENT_ID__=Y0,e})();function Y0(){return function Ig(e,t){let n;const r=t[e.index];if(st(r))n=r;else{let o;if(8&e.type)o=le(r);else{const i=t[N];o=i.createComment("");const s=Je(e,t);Dn(i,li(i,s),o,function CC(e,t){return ne(e)?e.nextSibling(t):t.nextSibling}(i,s),!1)}t[e.index]=n=Jf(r,t,o,e),mi(t,n)}return new Mg(n,e,t)}(he(),y())}const K0=Nt,Mg=class extends K0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yr(this._hostTNode,this._hostLView)}get injector(){return new Bn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ko(this._hostTNode,this._hostLView);if(fd(t)){const n=Ln(t,this._hostLView),r=kn(t);return new Bn(n[1].data[r+8],n)}return new Bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ag(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function Rr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const u=s?t:new bu(De(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule&&l){const d=l.get(_r,null);d&&(i=d)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function mD(e){return st(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Mg(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function mC(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],wd(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function yC(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(o,r,s,i);const a=xa(i,s),u=r[N],l=li(u,s[7]);return null!==l&&function hC(e,t,n,r,o,i){r[0]=o,r[6]=t,Qr(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),wd(Su(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ag(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Sa(this._lContainer,n);r&&(ei(Su(this._lContainer),n),lf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Sa(this._lContainer,n);return r&&null!=ei(Su(this._lContainer),n)?new so(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Ag(e){return e[8]}function Su(e){return e[8]||(e[8]=[])}function Ri(...e){}const Bu=new B("Application Initializer");let Cr=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ri,this.reject=Ri,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Ci(i))n.push(i);else if(Wh(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Q(Bu,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const co=new B("AppId"),SM={provide:co,useFactory:function IM(){return`${ju()}${ju()}${ju()}`},deps:[]};function ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Zg=new B("Platform Initializer"),Hu=new B("Platform ID"),TM=new B("appBootstrapListener");let FM=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const rn=new B("LocaleId"),Yg=new B("DefaultCurrencyCode");class xM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Kg=(()=>{class e{compileModuleSync(n){return new Mu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Mt(Ze(n).declarations).reduce((s,a)=>{const u=De(a);return u&&s.push(new bu(u)),s},[]);return new xM(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const PM=(()=>Promise.resolve(0))();function $u(e){"undefined"==typeof Zone?PM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class be{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function OM(){let e=U.requestAnimationFrame,t=U.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function kM(e){const t=()=>{!function RM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(U,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gu(e),e.isCheckStableRunning=!0,Uu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Jg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Xg(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Jg(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Xg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Gu(e),Uu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!be.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(be.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,VM,Ri,Ri);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VM={};function Uu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xg(e){e._nesting--,Uu(e)}class LM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let qu=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{be.assertNotInAngularZone(),$u(()=>{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())$u(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Q(be))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),em=(()=>{class e{constructor(){this._applications=new Map,Wu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Wu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();class BM{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let pt,Wu=new BM;const tm=new B("AllowMultipleToken");function nm(e,t,n=[]){const r=`Platform: ${t}`,o=new B(r);return(i=[])=>{let s=rm();if(!s||s.injector.get(tm,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:nu,useValue:"platform"});!function UM(e){if(pt&&!pt.destroyed&&!pt.injector.get(tm,!1))throw new k(400,"");pt=e.get(om);const t=e.get(Zg,null);t&&t.forEach(n=>n())}(ze.create({providers:a,name:r}))}return function GM(e){const t=rm();if(!t)throw new k(401,"");return t}()}}function rm(){return pt&&!pt.destroyed?pt:null}let om=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function qM(e,t){let n;return n="noop"===e?new LM:("zone.js"===e?void 0:e)||new be({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:be,useValue:a}];return a.run(()=>{const l=ze.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Qn,null);if(!d)throw new k(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{zu(this._modules,c),f.unsubscribe()})}),function WM(e,t,n){try{const r=n();return Ci(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Cr);return f.runInitializers(),f.donePromise.then(()=>(function gb(e){He(e,"Expected localeId to be defined"),"string"==typeof e&&(Hp=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(rn,Mi)||Mi),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=im({},r);return function HM(e,t,n){const r=new Mu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ki);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new k(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new k(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Q(ze))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();function im(e,t){return Array.isArray(t)?t.reduce(im,e):Object.assign(Object.assign({},e),t)}let ki=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new _e(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new _e(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{be.assertNotInAngularZone(),$u(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{be.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=xo(a,u.pipe(function B_(e={}){const{connector:t=(()=>new In),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return dn((m,_)=>{l++,!d&&!c&&f();const D=u=null!=u?u:t();_.add(()=>{l--,0===l&&!d&&!c&&(a=As(p,o))}),D.subscribe(_),s||(s=new _s({next:g=>D.next(g),error:g=>{d=!0,f(),a=As(h,n,g),D.error(g)},complete:()=>{c=!0,f(),a=As(h,r),D.complete()}}),Fo(m).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new k(405,"");let o;o=n instanceof fg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function $M(e){return e.isBoundToModule}(o)?void 0:this._injector.get(_r),a=o.create(ze.NULL,[],r||o.selector,i),u=a.location.nativeElement,l=a.injector.get(qu,null),c=l&&a.injector.get(em);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),zu(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new k(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;zu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(TM,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Q(be),Q(ze),Q(Qn),Q(io),Q(Cr))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();function zu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let am=!0;class pm{constructor(){}supports(t){return Jr(t)}create(t){return new rA(t)}}const nA=(e,t)=>t;class rA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<mm(r,o,i)?n:r,a=mm(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Jr(t))throw new k(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function Yw(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[nr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new oA(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new gm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class oA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class iA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class gm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new iA,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class ym{constructor(){}supports(t){return t instanceof Map||uu(t)}create(){return new sA}}class sA{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||uu(t)))throw new k(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new aA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class aA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _m(){return new fo([new pm])}let fo=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||_m()),deps:[[e,new Hr,new qn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new k(901,"")}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:_m}),e})();function Dm(){return new wr([new ym])}let wr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dm()),deps:[[e,new Hr,new qn]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new k(901,"")}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:Dm}),e})();const uA=[new ym],cA=new fo([new pm]),dA=new wr(uA),fA=nm(null,"core",[{provide:Hu,useValue:"unknown"},{provide:om,deps:[ze]},{provide:em,deps:[]},{provide:FM,deps:[]}]),yA=[{provide:ki,useClass:ki,deps:[be,ze,Qn,io,Cr]},{provide:w0,deps:[be],useFactory:function _A(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Cr,useClass:Cr,deps:[[new qn,Bu]]},{provide:Kg,useClass:Kg,deps:[]},SM,{provide:fo,useFactory:function hA(){return cA},deps:[]},{provide:wr,useFactory:function pA(){return dA},deps:[]},{provide:rn,useFactory:function gA(e){return e||function mA(){return"undefined"!=typeof $localize&&$localize.locale||Mi}()},deps:[[new ri(rn),new qn,new Hr]]},{provide:Yg,useValue:"USD"}];let DA=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Q(ki))},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({providers:yA}),e})(),Bi=null;function bn(){return Bi}const Pt=new B("DocumentToken");var de=(()=>((de=de||{})[de.Zero=0]="Zero",de[de.One=1]="One",de[de.Two=2]="Two",de[de.Few=3]="Few",de[de.Many=4]="Many",de[de.Other=5]="Other",de))();const NA=function Bp(e){return function Pe(e){const t=function db(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=jp(t);if(n)return n;const r=t.split("-")[0];if(n=jp(r),n)return n;if("en"===r)return cb;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[w.PluralCase]};class Zi{}let aI=(()=>{class e extends Zi{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(NA(r||this.locale)(n)){case de.Zero:return"zero";case de.One:return"one";case de.Two:return"two";case de.Few:return"few";case de.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(Q(rn))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),Yi=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Jr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${H(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(v(fo),v(wr),v(ht),v(wn))},e.\u0275dir=S({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})(),sl=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new fI,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){xm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){xm("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Nt),v(Ht))},e.\u0275dir=S({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class fI{constructor(){this.$implicit=null,this.ngIf=null}}function xm(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${H(t)}'.`)}let BI=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({providers:[{provide:Zi,useClass:aI}]}),e})();class dl extends class qI extends class wA{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function CA(e){Bi||(Bi=e)}(new dl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function WI(){return go=go||document.querySelector("base"),go?go.getAttribute("href"):null}();return null==n?null:function zI(e){Ki=Ki||document.createElement("a"),Ki.setAttribute("href",e);const t=Ki.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){go=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function uI(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ki,go=null;const Rm=new B("TRANSITION_ID"),ZI=[{provide:Bu,useFactory:function QI(e,t,n){return()=>{n.get(Cr).donePromise.then(()=>{const r=bn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Rm,Pt,ze],multi:!0}];class fl{static init(){!function jM(e){Wu=e}(new fl)}addToWindow(t){U.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},U.getAllAngularTestabilities=()=>t.getAllTestabilities(),U.getAllAngularRootElements=()=>t.getAllRootElements(),U.frameworkStabilizers||(U.frameworkStabilizers=[]),U.frameworkStabilizers.push(r=>{const o=U.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?bn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let YI=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const Ji=new B("EventManagerPlugins");let Xi=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(Q(Ji),Q(be))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();class km{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=bn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Lm=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),mo=(()=>{class e extends Lm{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Bm),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Bm))}}return e.\u0275fac=function(n){return new(n||e)(Q(Pt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();function Bm(e){bn().remove(e)}const hl={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/"},pl=/%COMP%/g;function es(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?es(e,o,n):(o=o.replace(pl,e),n.push(o))}return n}function $m(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let gl=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new ml(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Dt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new nS(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Dt.ShadowDom:return new rS(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=es(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(Q(Xi),Q(mo),Q(co))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();class ml{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(hl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=hl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=hl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(qe.DashCase|qe.Important)?t.style.setProperty(n,r,o&qe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&qe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,$m(r)):this.eventManager.addEventListener(t,n,$m(r))}}class nS extends ml{constructor(t,n,r,o){super(t),this.component=r;const i=es(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function XI(e){return"_ngcontent-%COMP%".replace(pl,e)}(o+"-"+r.id),this.hostAttr=function eS(e){return"_nghost-%COMP%".replace(pl,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class rS extends ml{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=es(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let oS=(()=>{class e extends km{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(Q(Pt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const Gm=["alt","control","meta","shift"],sS={"\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"},qm={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},aS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let uS=(()=>{class e extends km{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(Gm.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function lS(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&qm.hasOwnProperty(t)&&(t=qm[t]))}return sS[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Gm.forEach(i=>{i!=o&&aS[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(Q(Pt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})();const hS=nm(fA,"browser",[{provide:Hu,useValue:"browser"},{provide:Zg,useValue:function cS(){dl.makeCurrent(),fl.init()},multi:!0},{provide:Pt,useFactory:function fS(){return function fD(e){js=e}(document),document},deps:[]}]),pS=[{provide:nu,useValue:"root"},{provide:Qn,useFactory:function dS(){return new Qn},deps:[]},{provide:Ji,useClass:oS,multi:!0,deps:[Pt,be,Hu]},{provide:Ji,useClass:uS,multi:!0,deps:[Pt]},{provide:gl,useClass:gl,deps:[Xi,mo,co]},{provide:pg,useExisting:gl},{provide:Lm,useExisting:mo},{provide:mo,useClass:mo,deps:[Pt]},{provide:qu,useClass:qu,deps:[be]},{provide:Xi,useClass:Xi,deps:[Ji,be]},{provide:class GI{},useClass:YI,deps:[]}];let gS=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:co,useValue:n.appId},{provide:Rm,useExisting:co},ZI]}}}return e.\u0275fac=function(n){return new(n||e)(Q(e,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({providers:pS,imports:[BI,DA]}),e})();"undefined"!=typeof window&&window;const{isArray:AS}=Array,{getPrototypeOf:IS,prototype:SS,keys:TS}=Object;const{isArray:NS}=Array;function VS(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function RS(...e){const t=function F_(e){return K(Ms(e))?e.pop():void 0}(e),{args:n,keys:r}=function FS(e){if(1===e.length){const t=e[0];if(AS(t))return{args:t,keys:null};if(function xS(e){return e&&"object"==typeof e&&IS(e)===SS}(t)){const n=TS(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new _e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;Gt(n[c]).subscribe(new fn(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?VS(r,a):a),i.complete())}))}});return t?o.pipe(function OS(e){return Sn(t=>function PS(e,t){return NS(t)?e(...t):e(t)}(e,t))}(t)):o}let Qm=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(wn),v(ht))},e.\u0275dir=S({type:e}),e})(),Mn=(()=>{class e extends Qm{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Le(e)))(r||e)}}(),e.\u0275dir=S({type:e,features:[W]}),e})();const rt=new B("NgValueAccessor"),kS={provide:rt,useExisting:$(()=>_l),multi:!0};let _l=(()=>{class e extends Mn{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Le(e)))(r||e)}}(),e.\u0275dir=S({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&Ne("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[Z([kS]),W]}),e})();const LS={provide:rt,useExisting:$(()=>yo),multi:!0},jS=new B("CompositionEventMode");let yo=(()=>{class e extends Qm{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function BS(){const e=bn()?bn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(wn),v(ht),v(jS,8))},e.\u0275dir=S({type:e,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(n,r){1&n&&Ne("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[Z([LS]),W]}),e})();function sn(e){return null==e||0===e.length}function Zm(e){return null!=e&&"number"==typeof e.length}const Me=new B("NgValidators"),an=new B("NgAsyncValidators"),HS=/^(?=.{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 ts{static min(t){return function Ym(e){return t=>{if(sn(t.value)||sn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function Km(e){return t=>{if(sn(t.value)||sn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function Jm(e){return sn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function Xm(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function ey(e){return sn(e.value)||HS.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function ty(e){return t=>sn(t.value)||!Zm(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function ny(e){return t=>Zm(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function ry(e){if(!e)return _o;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(sn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return ly(t)}static composeAsync(t){return cy(t)}}function _o(e){return null}function oy(e){return null!=e}function iy(e){const t=Ci(e)?Fo(e):e;return Wh(t),t}function sy(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function ay(e,t){return t.map(n=>n(e))}function uy(e){return e.map(t=>function $S(e){return!e.validate}(t)?t:n=>t.validate(n))}function ly(e){if(!e)return null;const t=e.filter(oy);return 0==t.length?null:function(n){return sy(ay(n,t))}}function Dl(e){return null!=e?ly(uy(e)):null}function cy(e){if(!e)return null;const t=e.filter(oy);return 0==t.length?null:function(n){return RS(ay(n,t).map(iy)).pipe(Sn(sy))}}function vl(e){return null!=e?cy(uy(e)):null}function dy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function fy(e){return e._rawValidators}function hy(e){return e._rawAsyncValidators}function Cl(e){return e?Array.isArray(e)?e:[e]:[]}function ns(e,t){return Array.isArray(e)?e.includes(t):e===t}function py(e,t){const n=Cl(t);return Cl(e).forEach(o=>{ns(n,o)||n.push(o)}),n}function gy(e,t){return Cl(t).filter(n=>!ns(e,n))}class my{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(t){this._rawValidators=t||[],this._composedValidatorFn=Dl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=vl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class un extends my{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ve extends my{get formDirective(){return null}get path(){return null}}class yy{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}let rs=(()=>{class e extends yy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(un,2))},e.\u0275dir=S({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&wi("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[W]}),e})(),_y=(()=>{class e extends yy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Ve,10))},e.\u0275dir=S({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&wi("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[W]}),e})();function is(e,t){return[...t.path,e]}function Do(e,t){bl(e,t),t.valueAccessor.writeValue(e.value),function YS(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&vy(e,t)})}(e,t),function JS(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function KS(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&vy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function ZS(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ss(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),us(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function as(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function bl(e,t){const n=fy(e);null!==t.validator?e.setValidators(dy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=hy(e);null!==t.asyncValidator?e.setAsyncValidators(dy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();as(t._rawValidators,o),as(t._rawAsyncValidators,o)}function us(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=fy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=hy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return as(t._rawValidators,r),as(t._rawAsyncValidators,r),n}function vy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ml(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function Al(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===yo?n=i:function tT(e){return Object.getPrototypeOf(e.constructor)===Mn}(i)?r=i:o=i}),o||r||n||null}function ls(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const vo="VALID",cs="INVALID",Er="PENDING",Co="DISABLED";function Sl(e){return(Fl(e)?e.validators:e)||null}function Ey(e){return Array.isArray(e)?Dl(e):e||null}function Tl(e,t){return(Fl(t)?t.asyncValidators:e)||null}function by(e){return Array.isArray(e)?vl(e):e||null}function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const My=e=>e instanceof Pl,xl=e=>e instanceof ds;function Ay(e){return My(e)?e.value:e.getRawValue()}function Iy(e,t){const n=xl(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new k(1e3,"");if(!r[t])throw new k(1001,"")}function Sy(e,t){xl(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new k(1002,"")})}class Nl{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Ey(this._rawValidators),this._composedAsyncValidatorFn=by(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===vo}get invalid(){return this.status===cs}get pending(){return this.status==Er}get disabled(){return this.status===Co}get enabled(){return this.status!==Co}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Ey(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=by(t)}addValidators(t){this.setValidators(py(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(py(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(gy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(gy(t,this._rawAsyncValidators))}hasValidator(t){return ns(this._rawValidators,t)}hasAsyncValidator(t){return ns(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Er,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Co,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=vo,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===vo||this.status===Er)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Co:vo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Er,this._hasOwnPendingAsyncValidator=!0;const n=iy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){return function nT(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=xl(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:(e=>e instanceof oT)(r)&&r.at(o)||null}),r}(this,t,".")}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Co:this.errors?cs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Er)?Er:this._anyControlsHaveStatus(cs)?cs:vo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Fl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Pl extends Nl{constructor(t=null,n,r){super(Sl(n),Tl(r,n)),this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=null,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ls(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ls(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class ds extends Nl{constructor(t,n,r){super(Sl(n),Tl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){Sy(this,t),Object.keys(t).forEach(r=>{Iy(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=Ay(n),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class oT extends Nl{constructor(t,n,r){super(Sl(n),Tl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Sy(this,t),t.forEach((r,o)=>{Iy(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>Ay(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const aT={provide:un,useExisting:$(()=>fs)},xy=(()=>Promise.resolve(null))();let fs=(()=>{class e extends un{constructor(n,r,o,i){super(),this.control=new Pl,this._registered=!1,this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Al(0,i)}ngOnChanges(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),Ml(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?is(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_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(){Do(this.control,this),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(n){xy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1})})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;xy.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(n){return new(n||e)(v(Ve,9),v(Me,10),v(an,10),v(rt,10))},e.\u0275dir=S({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Z([aT]),W,Ct]}),e})(),Ny=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=S({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Oy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({}),e})();const Vl=new B("NgModelWithFormControlWarning"),hT={provide:Ve,useExisting:$(()=>hs)};let hs=(()=>{class e extends Ve{constructor(n,r){super(),this.validators=n,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ee,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(us(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Do(r,n),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ss(n.control||null,n,!1),ls(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function wy(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(ss(r||null,n),My(o)&&(Do(o,n),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Cy(e,t){bl(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function XS(e,t){return us(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bl(this.form,this),this._oldForm&&us(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(v(Me,10),v(an,10))},e.\u0275dir=S({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&Ne("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Z([hT]),W,Ct]}),e})();const mT={provide:un,useExisting:$(()=>Ll)};let Ll=(()=>{class e extends un{constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Ee,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Al(0,i)}set isDisabled(n){}ngOnChanges(n){this._added||this._setUpControl(),Ml(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return is(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(v(Ve,13),v(Me,10),v(an,10),v(rt,10),v(Vl,8))},e.\u0275dir=S({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Z([mT]),W,Ct]}),e})(),Yy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({imports:[[Oy]]}),e})(),xT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({imports:[Yy]}),e})(),NT=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Vl,useValue:n.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=_t({imports:[Yy]}),e})();function $l(e){return new _e(t=>{Gt(e()).subscribe(t)})}function Ul(...e){return Fo(e,Sc(e))}function Ky(e){return!!e&&(e instanceof _e||K(e.lift)&&K(e.subscribe))}function ps(e,t=ws){return e=null!=e?e:PT,dn((n,r)=>{let o,i=!0;n.subscribe(new fn(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function PT(e,t){return e===t}function Ut(e,t){return xo($l(()=>Ul(e[t])),e.statusChanges.pipe(Sn(()=>e[t]),ps()))}function bo(e,t,n){t?e.enable(n):e.disable(n)}function gs(e,t,n){bo(e,!t,n)}function br(e,t,n,r){return t.hasError(n,r&&0!==r.length?r:void 0)&&t[e]}class Yl extends Pl{constructor(t,n,r){super(t,n,r),this.touchChanges=new In,this.dirtyChanges=new In,this.errorsSubject=new In,this.touch$=this.touchChanges.asObservable().pipe(ps()),this.dirty$=this.dirtyChanges.asObservable().pipe(ps()),this.value$=function Gl(e){return xo($l(()=>Ul(e.getRawValue())),e.valueChanges.pipe(Sn(()=>e.getRawValue())))}(this),this.disabled$=Ut(this,"disabled"),this.enabled$=Ut(this,"enabled"),this.status$=Ut(this,"status"),this.errors$=function Zl(e,t){return xo($l(()=>Ul(e.errors)),t,e.valueChanges.pipe(Sn(()=>e.errors),ps((n,r)=>JSON.stringify(n)===JSON.stringify(r))))}(this,this.errorsSubject.asObservable())}setValue(t,n){if(Ky(t))return t.subscribe(r=>super.setValue(r,n));super.setValue(t,n)}patchValue(t,n){if(Ky(t))return t.subscribe(r=>super.patchValue(r,n));super.patchValue(t,n)}getRawValue(){return this.value}markAsTouched(...t){super.markAsTouched(...t),this.touchChanges.next(!0)}markAsUntouched(...t){super.markAsUntouched(...t),this.touchChanges.next(!1)}markAsPristine(...t){super.markAsPristine(...t),this.dirtyChanges.next(!1)}markAsDirty(...t){super.markAsDirty(...t),this.dirtyChanges.next(!0)}setEnable(t=!0,n){bo(this,t,n)}setDisable(t=!0,n){gs(this,t,n)}disabledWhile(t,n){return function ql(e,t,n){return t.subscribe(r=>gs(e,r,n))}(this,t,n)}enabledWhile(t,n){return function Wl(e,t,n){return t.subscribe(r=>bo(e,r,n))}(this,t,n)}reset(t,n){super.reset(t,n)}setValidators(t,n){super.setValidators(t),super.updateValueAndValidity(n)}setAsyncValidators(t,n){super.setAsyncValidators(t),super.updateValueAndValidity(n)}getError(...t){return super.getError(...t)}setErrors(...t){var n;return null===(n=this.errorsSubject)||void 0===n||n.next(t[0]),super.setErrors(...t)}mergeErrors(t,n){this.setErrors(function zl(e,t){return e||t?Object.assign(Object.assign({},e),t):null}(this.errors,t),n)}removeError(t,n){this.setErrors(function Ql(e,t){if(!e)return null;const n=Object.assign({},e);return delete n[t],Object.keys(n).length>0?n:null}(this.errors,t),n)}hasErrorAndTouched(t){return br("touched",this,t)}hasErrorAndDirty(t){return br("dirty",this,t)}}const zT=function(e){return{"input__has-error":e}};let QT=(()=>{class e{constructor(){this.value=""}handleInput(n){this.onChange(n)}writeValue(n){this.value=n}onChange(n){this.value=n}onTouched(){console.log("touch")}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Fn({type:e,selectors:[["app-input-login"]],inputs:{value:"value",validateStyle:"validateStyle"},features:[Z([{provide:rt,useExisting:$(()=>e),multi:!0}])],decls:1,vars:4,consts:[["placeholder","Email","type","text",1,"field-input__input",3,"ngModel","ngClass","ngModelChange","click"]],template:function(n,r){1&n&&(oe(0,"input",0),Ne("ngModelChange",function(i){return r.value=i})("click",function(){return r.onTouched()})("ngModelChange",function(i){return r.handleInput(i)}),ie()),2&n&&xe("ngModel",r.value)("ngClass",Ni(2,zT,r.validateStyle))},directives:[yo,rs,fs,Yi],styles:[".field-input__input[_ngcontent-%COMP%]{height:55px;box-sizing:border-box;width:100%;border-radius:7px;border:1px solid #B1B1B4;margin-bottom:20px;padding-left:15px;font-size:inherit}.input__has-error[_ngcontent-%COMP%]{border:2px solid #FF0303}"]}),e})();function ZT(e,t){if(1&e){const n=function Gh(){return y()}();oe(0,"button",10),Ne("click",function(){return function Jc(e){return A.lFrame.contextLView=e,e[8]}(n),hr().showPassword()}),Ys(),oe(1,"svg",11),Tt(2,"use"),ie(),ie()}if(2&e){const n=hr();Fe(2),St("href","#"+n.inputTypeIcon+"-icon")}}const YT=function(e){return{"input__has-error":e}};let KT=(()=>{class e{constructor(){this.value="",this.inputType="password",this.inputTypeIcon="hide"}showPassword(){this.inputType="password"==this.inputType?"text":"password",this.inputTypeIcon="hide"==this.inputTypeIcon?"show":"hide"}handleInput(n){this.onChange(n)}writeValue(n){this.value=n}onChange(n){this.value=n}onTouched(){console.log("touch")}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Fn({type:e,selectors:[["app-input-password"]],inputs:{value:"value",validateStyle:"validateStyle",validateShowPassword:"validateShowPassword"},features:[Z([{provide:rt,useExisting:$(()=>e),multi:!0}])],decls:10,vars:6,consts:[[2,"visibility","hidden","width","0","height","0"],["id","hide-icon","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16"],["d","m10.79 12.912-1.614-1.615a3.5 3.5 0 0 1-4.474-4.474l-2.06-2.06C.938 6.278 0 8 0 8s3 5.5 8 5.5a7.029 7.029 0 0 0 2.79-.588zM5.21 3.088A7.028 7.028 0 0 1 8 2.5c5 0 8 5.5 8 5.5s-.939 1.721-2.641 3.238l-2.062-2.062a3.5 3.5 0 0 0-4.474-4.474L5.21 3.089z"],["d","M5.525 7.646a2.5 2.5 0 0 0 2.829 2.829l-2.83-2.829zm4.95.708-2.829-2.83a2.5 2.5 0 0 1 2.829 2.829zm3.171 6-12-12 .708-.708 12 12-.708.708z"],["id","show-icon","viewBox","0 0 22 16","xmlns","http://www.w3.org/2000/svg"],["fill","none","fill-rule","evenodd"],["d","M-1-4h24v24H-1z"],["d","M11 .5C6 .5 1.7 3.6 0 8a11.8 11.8 0 0 0 22 0C20.3 3.6 16 .5 11 .5ZM11 13a5 5 0 1 1 0-10 5 5 0 0 1 0 10Zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z","fill","#1D1D1D"],["placeholder","Password",1,"field-input__input",3,"ngModel","type","ngClass","ngModelChange","click"],["class","button button__show-password","type","button",3,"click",4,"ngIf"],["type","button",1,"button","button__show-password",3,"click"],["width","20px","height","20px"]],template:function(n,r){1&n&&(Ys(),oe(0,"svg",0),oe(1,"symbol",1),Tt(2,"path",2),Tt(3,"path",3),ie(),oe(4,"symbol",4),oe(5,"g",5),Tt(6,"path",6),Tt(7,"path",7),ie(),ie(),ie(),function ud(){!function FD(){A.lFrame.currentNamespace=null}()}(),oe(8,"input",8),Ne("ngModelChange",function(i){return r.value=i})("click",function(){return r.onTouched()})("ngModelChange",function(i){return r.handleInput(i)}),ie(),tn(9,ZT,3,1,"button",9)),2&n&&(Fe(8),xe("ngModel",r.value)("type",r.inputType)("ngClass",Ni(4,YT,r.validateStyle)),Fe(1),xe("ngIf",r.validateShowPassword))},directives:[yo,rs,fs,Yi,sl],styles:[".button__show-password[_ngcontent-%COMP%]{position:absolute;top:127px;right:35px;background-color:transparent}.field-input__input[_ngcontent-%COMP%]{height:55px;box-sizing:border-box;width:100%;border-radius:7px;border:1px solid #B1B1B4;margin-bottom:20px;padding-left:15px;font-size:inherit}.input__has-error[_ngcontent-%COMP%]{border:2px solid #FF0303}.button__show-password[_ngcontent-%COMP%]:hover{opacity:.7}"]}),e})();function JT(e,t){1&e&&(oe(0,"li",13),nn(1," Please enter your email address"),ie())}function XT(e,t){1&e&&(oe(0,"li",13),nn(1," Email is not valid"),ie())}function eF(e,t){if(1&e&&(oe(0,"ul",11),tn(1,JT,2,0,"li",12),tn(2,XT,2,0,"li",12),ie()),2&e){const n=hr();Fe(1),xe("ngIf",n.controls.email.hasError("required")),Fe(1),xe("ngIf",n.controls.email.hasError("email"))}}function tF(e,t){1&e&&(oe(0,"li",13),nn(1," Please enter your password"),ie())}function nF(e,t){if(1&e&&(oe(0,"li",13),nn(1),ie()),2&e){const n=hr(2);Fe(1),bi(" Password must be at least ",n.limitPassword," characters long")}}function rF(e,t){if(1&e&&(oe(0,"ul",14),tn(1,tF,2,0,"li",12),tn(2,nF,2,1,"li",12),ie()),2&e){const n=hr();Fe(1),xe("ngIf",n.controls.password.hasError("required")),Fe(1),xe("ngIf",n.controls.password.hasError("minlength"))}}const oF=function(e){return{disabled:e}};let iF=(()=>{class e{constructor(){this.limitPassword=6,this.loginForm=new ds({loginEmail:new Yl("",[ts.required,ts.email]),loginPassword:new Yl("",[ts.required,ts.minLength(this.limitPassword)]),loginCheckbox:new Yl(!1)})}ngOnInit(){const n=localStorage.getItem("qwer"),r=localStorage.getItem("asdf");n&&null!==r&&this.loginForm.patchValue({loginEmail:atob(n),loginPassword:atob(r)})}get controls(){return{email:this.loginForm.get("loginEmail"),password:this.loginForm.get("loginPassword"),passwordIcon:this.loginForm.get("loginPassword")}}onSubmit(){this.loginForm.value.loginCheckbox?(localStorage.setItem("qwer",btoa(this.loginForm.value.loginEmail)),localStorage.setItem("asdf",btoa(this.loginForm.value.loginPassword))):localStorage.clear(),alert(`login: ${this.loginForm.value.loginEmail}   password: ${this.loginForm.value.loginPassword}`),this.loginForm.reset()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Fn({type:e,selectors:[["app-login-page"]],decls:14,vars:10,consts:[[1,"page-wrapper"],[1,"page-form"],[1,"page-form","page-form__title"],[1,"page-form","page-form__login-form",3,"formGroup","ngSubmit"],["formControlName","loginEmail",1,"login-form__field-input",3,"validateStyle"],["class","login-form__error login-form__error--email",4,"ngIf"],["formControlName","loginPassword",1,"login-form__field-input",3,"validateStyle","validateShowPassword"],["class","login-form__error login-form__error--password",4,"ngIf"],["for","checkbox",1,"login-form__checkbox"],["id","checkbox","formControlName","loginCheckbox","type","checkbox",1,"checkbox__input"],["type","submit",1,"button","login-form__button",3,"ngClass","disabled"],[1,"login-form__error","login-form__error--email"],["class","error__item",4,"ngIf"],[1,"error__item"],[1,"login-form__error","login-form__error--password"]],template:function(n,r){1&n&&(oe(0,"div",0),oe(1,"section",1),oe(2,"h2",2),nn(3,"Log In to Your Account"),ie(),oe(4,"form",3),Ne("ngSubmit",function(){return r.onSubmit()}),Tt(5,"app-input-login",4),tn(6,eF,3,2,"ul",5),Tt(7,"app-input-password",6),tn(8,rF,3,2,"ul",7),oe(9,"label",8),nn(10," Remember me: "),Tt(11,"input",9),ie(),oe(12,"button",10),nn(13,"Log In"),ie(),ie(),ie(),ie()),2&n&&(Fe(4),xe("formGroup",r.loginForm),Fe(1),xe("validateStyle",r.controls.email.errors&&r.controls.email.touched),Fe(1),xe("ngIf",r.controls.email.errors&&r.controls.email.touched),Fe(1),xe("validateStyle",r.controls.password.errors&&r.controls.password.touched)("validateShowPassword",r.controls.passwordIcon.value),Fe(1),xe("ngIf",r.controls.password.invalid&&r.controls.password.touched),Fe(4),xe("ngClass",Ni(8,oF,r.loginForm.invalid))("disabled",r.loginForm.invalid))},directives:[Ny,_y,hs,QT,rs,Ll,sl,KT,_l,Yi],styles:[".page-wrapper[_ngcontent-%COMP%]{max-width:450px;min-width:285px;margin:0 auto;width:100%}.page-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin:100px 10px 0}.page-form__title[_ngcontent-%COMP%]{width:100%;margin:0;padding:0;font-size:38px;line-height:45px}.page-form__login-form[_ngcontent-%COMP%]{width:100%;height:320px;padding:15px;position:relative;justify-content:space-around;border-radius:7px;background-color:#fff;box-shadow:0 4px 8px #00000026,0 8px 16px #00000026}.login-form__field-input[_ngcontent-%COMP%]{width:100%}.login-form__error[_ngcontent-%COMP%]{position:absolute}.login-form__error--email[_ngcontent-%COMP%]{top:60px;left:-20px}.login-form__error--password[_ngcontent-%COMP%]{top:148px;left:-20px}.error__item[_ngcontent-%COMP%]{font-size:15px;list-style:none}.login-form__checkbox[_ngcontent-%COMP%]{font-size:25px;margin-bottom:5px;cursor:pointer;display:flex;align-items:center;justify-content:center}.checkbox__input[_ngcontent-%COMP%]{width:20px;height:20px}.login-form__button[_ngcontent-%COMP%]{height:50px;width:100%;box-sizing:content-box;flex-shrink:2;background-color:#1877f2;color:#fff;margin-bottom:15px}.login-form__button[_ngcontent-%COMP%]:hover, .login-form__button[_ngcontent-%COMP%]:focus{background-color:#006fff}.login-form__checkbox[_ngcontent-%COMP%]:hover{opacity:.7}@media (max-width: 390px){.page-form__login-form[_ngcontent-%COMP%]{height:330px}.page-form[_ngcontent-%COMP%]{margin:20px 10px 0}.page-form__title[_ngcontent-%COMP%]{padding-left:30px;font-size:30px;line-height:40px}.login-form__checkbox[_ngcontent-%COMP%]{margin-top:18px}}"]}),e})(),sF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Fn({type:e,selectors:[["app-root"]],decls:1,vars:0,consts:[[1,"login-page"]],template:function(n,r){1&n&&Tt(0,"app-login-page",0)},directives:[iF],styles:[".login-page[_ngcontent-%COMP%]{width:100%}"]}),e})(),aF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e,bootstrap:[sF]}),e.\u0275inj=_t({providers:[],imports:[[gS,NT,xT]]}),e})();(function QM(){am=!1})(),hS().bootstrapModule(aF).catch(e=>console.error(e))}},K=>{K(K.s=354)}]);