MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/barra_do_choca/public_html/formulario/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
3rdpartylicenses.txt 13.132 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
favicon.ico 233.061 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
index.html 0.61 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
main.7d991116c50ac68d34bc.js 398.481 KB -rw-rw-r-- 2021-05-25 19:56 R E G D
main.a6d37d41ba0e578f1c45.js 378.103 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
polyfills.00096ed7d93ed26ee6df.js 35.982 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
polyfills.94daefd414b8355106ab.js 35.982 KB -rw-rw-r-- 2021-05-25 19:56 R E G D
runtime.26d884ffb3e235a0cfbc.js 1.462 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
styles.3c13d05acc199962074e.css 145.202 KB -rw-rw-r-- 2021-08-06 15:19 R E G D
REQUEST EXIT
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new E(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew E(t,e),t})();class E extends S{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function x(t){return t&&"function"==typeof t.schedule}function T(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new A(t,e))}}class A{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new O(t,this.project,this.thisArg))}}class O extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const k=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const D=t=>{if(t&&"function"==typeof t[g])return r=t,t=>{const e=r[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return k(t);if(N(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[R])return e=t,t=>{const n=e[R]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function j(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function M(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[g]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(N(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(I(t))return j(t,e);if(function(t){return t&&"function"==typeof t[R]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[R](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(D(t))}class F extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class V extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function L(t,e){if(!e.closed)return t instanceof _?t.subscribe(e):D(t)(e)}function U(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(U((n,r)=>M(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new H(t,n)))}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new z(t,this.project,this.concurrent))}}class z extends V{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function q(t=Number.POSITIVE_INFINITY){return U(y,t)}function $(t,e){return e?j(t,e):new _(k(t))}function B(){return function(t){return t.lift(new G(t))}}class G{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new W(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class W extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Q extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new K(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Z=(()=>{const t=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class K extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function J(){return new S}function X(t){for(let e in t)if(t[e]===X)return e;throw Error("Could not find renamed property on target object.")}function Y(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function tt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(tt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function et(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const nt=X({__forward_ref__:X});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return tt(this())},t}function st(t){return it(t)?t():t}function it(t){return"function"==typeof t&&t.hasOwnProperty(nt)&&t.__forward_ref__===rt}class ot extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function at(t){return"string"==typeof t?t:null==t?"":String(t)}function lt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():at(t)}function ct(t,e){const n=e?` in ${e}`:"";throw new ot("201",`No provider for ${lt(t)} found${n}`)}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function dt(t){return pt(t,mt)||pt(t,yt)}function pt(t,e){return t.hasOwnProperty(e)?t[e]:null}function ft(t){return t&&(t.hasOwnProperty(gt)||t.hasOwnProperty(_t))?t[gt]:null}const mt=X({"\u0275prov":X}),gt=X({"\u0275inj":X}),yt=X({ngInjectableDef:X}),_t=X({ngInjectorDef:X});var vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let bt;function wt(t){const e=bt;return bt=t,e}function Ct(t,e,n){const r=dt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&vt.Optional?null:void 0!==e?e:void ct(tt(t),"Injector")}function St(t){return{toString:t}.toString()}var Et=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),xt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Tt="undefined"!=typeof globalThis&&globalThis,At="undefined"!=typeof window&&window,Ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,kt="undefined"!=typeof global&&global,Pt=Tt||kt||At||Ot,Rt={},It=[],Nt=X({"\u0275cmp":X}),Dt=X({"\u0275dir":X}),jt=X({"\u0275pipe":X}),Mt=X({"\u0275mod":X}),Ft=X({"\u0275loc":X}),Vt=X({"\u0275fac":X}),Lt=X({__NG_ELEMENT_ID__:X});let Ut=0;function Ht(t){return St(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||It,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,id:"c",styles:t.styles||It,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Ut++,n.inputs=Gt(t.inputs,e),n.outputs=Gt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(zt):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(qt):null,n})}function zt(t){return Qt(t)||function(t){return t[Dt]||null}(t)}function qt(t){return function(t){return t[jt]||null}(t)}const $t={};function Bt(t){const e={type:t.type,bootstrap:t.bootstrap||It,declarations:t.declarations||It,imports:t.imports||It,exports:t.exports||It,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&St(()=>{$t[t.id]=t.type}),e}function Gt(t,e){if(null==t)return Rt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const Wt=Ht;function Qt(t){return t[Nt]||null}function Zt(t,e){const n=t[Mt]||null;if(!n&&!0===e)throw new Error(`Type ${tt(t)} does not have '\u0275mod' property.`);return n}const Kt=20,Jt=10;function Xt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Yt(t){return Array.isArray(t)&&!0===t[1]}function te(t){return 0!=(8&t.flags)}function ee(t){return 2==(2&t.flags)}function ne(t){return 1==(1&t.flags)}function re(t){return null!==t.template}function se(t,e){return t.hasOwnProperty(Vt)?t[Vt]:null}class ie{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function oe(){return ae}function ae(t){return t.type.prototype.ngOnChanges&&(t.setInput=ce),le}function le(){const t=ue(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ce(t,e,n,r){const s=ue(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Rt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new ie(l&&l.currentValue,e,o===Rt),t[r]=e}function ue(t){return t.__ngSimpleChanges__||null}let he;function de(){return void 0!==he?he:"undefined"!=typeof document?document:void 0}function pe(t){return!!t.listen}oe.ngInherit=!0;const fe={createRenderer:(t,e)=>de()};function me(t){for(;Array.isArray(t);)t=t[0];return t}function ge(t,e){return me(e[t])}function ye(t,e){return me(e[t.index])}function _e(t,e){return t.data[e]}function ve(t,e){const n=e[t];return Xt(n)?n:n[0]}function be(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function we(t){return 128==(128&t[2])}function Ce(t,e){return null==e?null:t[e]}function Se(t){t[18]=0}function Ee(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const xe={lFrame:We(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Te(){return xe.bindingsEnabled}function Ae(){return xe.lFrame.lView}function Oe(){return xe.lFrame.tView}function ke(t){xe.lFrame.contextLView=t}function Pe(){let t=Re();for(;null!==t&&64===t.type;)t=t.parent;return t}function Re(){return xe.lFrame.currentTNode}function Ie(t,e){const n=xe.lFrame;n.currentTNode=t,n.isParent=e}function Ne(){return xe.lFrame.isParent}function De(){xe.lFrame.isParent=!1}function je(){return xe.isInCheckNoChangesMode}function Me(t){xe.isInCheckNoChangesMode=t}function Fe(){return xe.lFrame.bindingIndex++}function Ve(t){const e=xe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Le(t,e){const n=xe.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ue(e)}function Ue(t){xe.lFrame.currentDirectiveIndex=t}function He(t){const e=xe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ze(t){xe.lFrame.currentQueryIndex=t}function qe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function $e(t,e,n){if(n&vt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&vt.Host||(r=qe(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=xe.lFrame=Ge();return r.currentTNode=e,r.lView=t,!0}function Be(t){const e=Ge(),n=t[1];xe.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ge(){const t=xe.lFrame,e=null===t?null:t.child;return null===e?We(t):e}function We(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Qe(){const t=xe.lFrame;return xe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ze=Qe;function Ke(){const t=Qe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Je(){return xe.lFrame.selectedIndex}function Xe(t){xe.lFrame.selectedIndex=t}function Ye(){const t=xe.lFrame;return _e(t.tView,t.selectedIndex)}function tn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}const an=-1;class ln{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function cn(t,e,n){const r=pe(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}let yn=!0;function _n(t){const e=yn;return yn=t,e}let vn=0;function bn(t,e){const n=Cn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,wn(r.data,t),wn(e,null),wn(r.blueprint,null));const s=Sn(t,e),i=t.injectorIndex;if(fn(s)){const t=mn(s),n=gn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function wn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Cn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Sn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return an;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return an}function En(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lt)&&(r=n[Lt]),null==r&&(r=n[Lt]=vn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:kn:e}(n);if("function"==typeof i){if(!$e(e,t,r))return r&vt.Host?xn(s,n,r):Tn(e,n,r,s);try{const t=i();if(null!=t||r&vt.Optional)return t;ct(n)}finally{Ze()}}else if("number"==typeof i){let s=null,o=Cn(t,e),a=an,l=r&vt.Host?e[16][6]:null;for((-1===o||r&vt.SkipSelf)&&(a=-1===o?Sn(t,e):e[o+8],a!==an&&Nn(r,!1)?(s=e[1],o=mn(a),e=gn(a,e)):o=-1);-1!==o;){const t=e[1];if(In(i,o,t.data)){const t=Pn(o,e,n,s,r,l);if(t!==On)return t}a=e[o+8],a!==an&&Nn(r,e[1].data[o+8]===l)&&In(i,o,e)?(s=t,o=mn(a),e=gn(a,e)):o=-1}}}return Tn(e,n,r,s)}const On={};function kn(){return new Dn(Pe(),Ae())}function Pn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=function(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&re(t)&&t.type===n)return l}return null}(a,o,n,null==r?ee(a)&&yn:r!=o&&0!=(3&a.type),s&vt.Host&&i===a);return null!==l?Rn(e,o,l,a):On}function Rn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof ln){const o=s;o.resolving&&function(t,e){throw new ot("200",`Circular dependency in DI detected for ${t}`)}(lt(i[n]));const a=_n(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?wt(o.injectImpl):null;$e(t,r,vt.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=ae(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&wt(l),_n(a),o.resolving=!1,Ze()}}return s}function In(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[Vt]||Mn(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[Vt]||Mn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Mn(t){return it(t)?()=>{const e=Mn(st(t));return e&&e()}:se(t)}const Fn="__parameters__";function Vn(t,e,n){return St(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(Fn)?t[Fn]:Object.defineProperty(t,Fn,{value:[]})[Fn];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Ln{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Un=new Ln("AnalyzeForEntryComponents"),Hn=Function;function zn(t,e){t.forEach(t=>Array.isArray(t)?zn(t,e):e(t))}function qn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function $n(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Bn(t,e,n){let r=Wn(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Gn(t,e){const n=Wn(t,e);if(n>=0)return t[1|n]}function Wn(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const Qn={},Zn=/\n/gm,Kn="__source",Jn=X({provide:String,useValue:X});let Xn;function Yn(t){const e=Xn;return Xn=t,e}function tr(t,e=vt.Default){if(void 0===Xn)throw new Error("inject() must be called from an injection context");return null===Xn?Ct(t,void 0,e):Xn.get(t,e&vt.Optional?null:void 0,e)}function er(t,e=vt.Default){return(bt||tr)(st(t),e)}function nr(t){const e=[];for(let n=0;n({token:t})),-1),ir=rr(Vn("Optional"),8),or=rr(Vn("SkipSelf"),4);let ar,lr;function cr(t){var e;return(null===(e=function(){if(void 0===ar&&(ar=null,Pt.trustedTypes))try{ar=Pt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return ar}())||void 0===e?void 0:e.createHTML(t))||t}function ur(t){var e;return(null===(e=function(){if(void 0===lr&&(lr=null,Pt.trustedTypes))try{lr=Pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return lr}())||void 0===e?void 0:e.createHTML(t))||t}class hr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class dr extends hr{getTypeName(){return"HTML"}}class pr extends hr{getTypeName(){return"Style"}}class fr extends hr{getTypeName(){return"Script"}}class mr extends hr{getTypeName(){return"URL"}}class gr extends hr{getTypeName(){return"ResourceURL"}}function yr(t){return t instanceof hr?t.changingThisBreaksApplicationSecurity:t}function _r(t,e){const n=vr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function vr(t){return t instanceof hr&&t.getTypeName()||null}class br{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(cr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class wr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=cr(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=cr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Er(t.trim())).join(", ")),this.buf.push(" ",e,'="',Lr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Rr.hasOwnProperty(e)&&!Ar.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Lr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Fr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vr=/([^\#-~ |!])/g;function Lr(t){return t.replace(/&/g,"&").replace(Fr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Vr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ur;function Hr(t,e){let n=null;try{Ur=Ur||function(t){const e=new wr(t);return function(){try{return!!(new window.DOMParser).parseFromString(cr(""),"text/html")}catch(t){return!1}}()?new br(e):e}(t);let r=e?String(e):"";n=Ur.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Ur.getInertBodyElement(r)}while(r!==i);return cr((new Mr).sanitizeChildren(zr(n)||n))}finally{if(n){const t=zr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function zr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var qr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function $r(t){const e=function(){const t=Ae();return t&&t[12]}();return e?ur(e.sanitize(qr.HTML,t)||""):_r(t,"HTML")?ur(yr(t)):Hr(de(),at(t))}function Br(t){return t.ngDebugContext}function Gr(t){return t.ngOriginalError}function Wr(t,...e){t.error(...e)}class Qr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Wr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Br(t)?Br(t):this._findContext(Gr(t)):null}_findOriginalError(t){let e=Gr(t);for(;e&&Gr(e);)e=Gr(e);return e}}function Zr(t,e){t.__ngContext__=e}const Kr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function Jr(t){return t instanceof Function?t():t}var Xr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Yr(t,e){return(void 0)(t,e)}function ts(t){const e=t[3];return Yt(e)?e[3]:e}function es(t){return rs(t[13])}function ns(t){return rs(t[4])}function rs(t){for(;null!==t&&!Yt(t);)t=t[4];return t}function ss(t,e,n,r,s){if(null!=r){let i,o=!1;Yt(r)?i=r:Xt(r)&&(o=!0,r=r[0]);const a=me(r);0===t&&null!==n?null==s?hs(e,n,a):us(e,n,a,s||null,!0):1===t&&null!==n?us(e,n,a,s||null,!0):2===t?function(t,e,n){const r=ps(t,e);r&&function(t,e,n,r){pe(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==me(n)&&ss(e,t,r,i,s);for(let o=Jt;o0&&(t[n-1][4]=r[4]);const o=$n(t,Jt+e);vs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function ls(t,e){if(!(256&e[2])){const n=e[11];pe(n)&&n.destroyNode&&vs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return cs(t[1],t);for(;e;){let n=null;if(Xt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Xt(e)&&cs(e[1],e),e=e[3];null===e&&(e=t),Xt(e)&&cs(e[1],e),n=e&&e[4]}e=n}}(e)}}function cs(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;ti?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Ss(e,c,0)||2&r&&c!==t){if(ks(r))return!1;o=!0}}}}else{if(!o&&!ks(r)&&!ks(l))return!1;if(o&&ks(l))continue;o=!1,r=l|1&r}}return ks(r)||o}function ks(t){return 0==(1&t)}function Ps(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||ks(o)||(e+=Is(i,s),s=""),r=o,i=i||!ks(r);n++}return""!==s&&(e+=Is(i,s)),e}const Ds={};function js(t){Ms(Oe(),Ae(),Je()+t,je())}function Ms(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&en(e,r,n)}else{const r=t.preOrderHooks;null!==r&&nn(e,r,0,n)}Xe(n)}function Fs(t,e){return t<<17|e<<2}function Vs(t){return t>>17&32767}function Ls(t){return 2|t}function Us(t){return(131068&t)>>2}function Hs(t,e){return-131069&t|e<<2}function zs(t){return 1|t}function qs(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rKt&&Ms(t,e,Kt,je()),n(r,s)}finally{Xe(i)}}function Js(t,e,n){if(te(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function oi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ai(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function li(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&gi(n)}}function gi(t){for(let n=es(t);null!==n;n=ns(n))for(let t=Jt;t0&&gi(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&gi(r)}}function yi(t,e){const n=ve(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Ei(t){return t[7]||(t[7]=[])}function xi(t){return t.cleanup||(t.cleanup=[])}function Ti(t,e){const n=t[9],r=n?n.get(Qr,null):null;r&&r.handleError(e)}function Ai(t,e,n,r,s){for(let i=0;ithis.processProvider(n,t,e)),zn([t],t=>this.processInjectorType(t,[],s)),this.records.set(ki,Hi(void 0,this));const i=this.records.get(Ri);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:tt(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,e=Qn,n=vt.Default){this.assertNotDestroyed();const r=Yn(this);try{if(!(n&vt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Ln)&&dt(t);e=n&&this.injectableDefInScope(n)?Hi(Li(t),Ii):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&vt.Self?Mi():this.parent).get(t,e=n&vt.Optional&&e===Qn?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(tt(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[Kn]&&s.unshift(e[Kn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=tt(e);if(Array.isArray(e))s=e.map(tt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):tt(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Zn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Yn(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(tt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=st(t)))return!1;let r=ft(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=ft(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{zn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Di))}}this.injectorDefTypes.add(i);const a=se(i)||(()=>new i);this.records.set(i,Hi(a,Ii));const l=r.providers;if(null!=l&&!o){const e=t;zn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=qi(t=st(t))?t:st(t&&t.provide);const s=function(t,e,n){return zi(t)?Hi(void 0,t.useValue):Hi(Ui(t),Ii)}(t);if(qi(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Hi(void 0,Ii,!0),e.factory=()=>nr(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Ii&&(e.value=Ni,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Li(t){const e=dt(t),n=null!==e?e.factory:se(t);if(null!==n)return n;if(t instanceof Ln)throw new Error(`Token ${tt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;rn.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ui(t,e,n){let r;if(qi(t)){const e=st(t);return se(e)||Li(e)}if(zi(t))r=()=>st(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...nr(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>er(st(t.useExisting));else{const e=st(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return se(e)||Li(e);r=()=>new e(...nr(t.deps))}var s;return r}function Hi(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zi(t){return null!==t&&"object"==typeof t&&Jn in t}function qi(t){return"function"==typeof t}const $i=function(t,e,n){return function(t,e=null,n=null,r){const s=Fi(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Bi=(()=>{class t{static create(t,e){return Array.isArray(t)?$i(t,e,""):$i(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Qn,t.NULL=new Pi,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>er(ki)}),t.__NG_ELEMENT_ID__=-1,t})();function Gi(t,e){tn(be(t)[1],Pe())}function Wi(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s;if(re(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=Qi(t.inputs),e.declaredInputs=Qi(t.declaredInputs),e.outputs=Qi(t.outputs);const n=s.hostBindings;n&&Ji(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Zi(t,i),o&&Ki(t,o),Y(t.inputs,s.inputs),Y(t.declaredInputs,s.declaredInputs),Y(t.outputs,s.outputs),re(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let r=0;r=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=dn(s.hostAttrs,n=dn(n,s.hostAttrs))}}(r)}function Qi(t){return t===Rt?{}:t===It?[]:t}function Zi(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ki(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Ji(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let Xi=null;function Yi(){if(!Xi){const t=Pt.Symbol;if(t&&t.iterator)Xi=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(me(t[r.index])).target:r.index;if(pe(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=vo(r,e,i,!1);const t=n.listen(p.name||f,s,i);u.push(i,t),c&&c.push(s,g,m,m+1)}}else i=vo(r,e,i,!0),f.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,m,o)}else i=vo(r,e,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,xe.lFrame.contextLView))[8]}(t)}const wo=[];function Co(t,e,n,r,s){const i=t[n+1],o=null===e;let a=r?Vs(i):Us(i),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];So(t[a],e)&&(l=!0,t[a+1]=r?zs(n):Ls(n)),a=r?Vs(n):Us(n)}l&&(t[n+1]=r?Ls(i):zs(i))}function So(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Wn(t,e)>=0}const Eo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xo(t){return t.substring(Eo.key,Eo.keyEnd)}function To(t,e){const n=Eo.textEnd;return n===e?-1:(e=Eo.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Eo.key=e,n),Ao(t,e,n))}function Ao(t,e,n){for(;e=0;n=To(e,n))Bn(t,xo(e),!0)}function Io(t,e,n,r){const s=Ae(),i=Oe(),o=Ve(2);i.firstUpdatePass&&Do(i,t,o,r),e!==Ds&&no(s,o,e)&&Fo(i,i.data[Je()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=tt(yr(t)))),t}(e,n),r,o)}function No(t,e){return e>=t.expandoStartIndex}function Do(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[Je()],o=No(t,n);Uo(i,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=He(t);let i=r?e.residualClasses:e.residualStyles;if(null===s)0===(r?e.classBindings:e.styleBindings)&&(n=Mo(n=jo(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=jo(s,t,e,n,r),null===i){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Us(r))return t[Vs(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=jo(null,t,e,n[1],r),n=Mo(n,e.attrs,r),function(t,e,n,r){t[Vs(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else i=function(t,e,n){let r;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=Vs(t[a+1]);t[r+1]=Fs(e,a),0!==e&&(t[e+1]=Hs(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Fs(a,0),0!==a&&(t[a+1]=Hs(t[a+1],r)),a=r;else t[r+1]=Fs(l,0),0===a?a=r:t[l+1]=Hs(t[l+1],r),l=r;u&&(t[r+1]=Ls(t[r+1])),Co(t,c,r,!0),Co(t,c,r,!1),function(t,e,n,r,s){const i=s?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&Wn(i,e)>=0&&(n[r+1]=zs(n[r+1]))}(e,c,t,r,i),o=Fs(a,l),i?e.classBindings=o:e.styleBindings=o}(s,i,e,n,o,r)}}function jo(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===Ds&&(u=c?wo:void 0);let h=c?Gn(u,r):l===r?u:void 0;if(i&&!Lo(h)&&(h=Gn(e,r)),Lo(h)&&(a=h,o))return a;const d=t[s+1];s=o?Vs(d):Us(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=Gn(t,r))}return a}function Lo(t){return void 0!==t}function Uo(t,e){return 0!=(t.flags&(e?16:32))}function Ho(t,e=""){const n=Ae(),r=Oe(),s=t+Kt,i=r.firstCreatePass?Bs(r,s,1,e,null):r.data[s],o=n[s]=function(t,e){return pe(t)?t.createText(e):t.createTextNode(e)}(n[11],e);fs(r,n,o,i),Ie(i,!1)}function zo(t,e,n){const r=Ae(),s=function(t,e,n,r){return no(t,Fe(),n)?e+at(n)+r:Ds}(r,t,e,n);return s!==Ds&&function(t,e,n){const r=ge(e,t);!function(t,e,n){pe(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,Je(),s),zo}function qo(t,e,n){const r=Ae();if(no(r,Fe(),e)){const s=Oe(),i=Ye();ri(s,i,r,t,e,function(t,e,n){return(null===t||re(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(He(s.data),i,r),n,!0)}return qo}const $o=void 0;var Bo=["en",[["a","p"],["AM","PM"],$o],[["AM","PM"],$o,$o],[["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"]],$o,[["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"]],$o,[["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}",$o,"{1} 'at' {0}",$o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Go={};function Wo(t){return t in Go||(Go[t]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[t]),Go[t]}var Qo=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Zo="en-US";let Ko=Zo;function Jo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Ko=t.toLowerCase().replace(/_/g,"-"))}function Xo(t,e,n,r,s){if(t=st(t),Array.isArray(t))for(let i=0;i>20;if(qi(t)||!t.multi){const r=new ln(l,s,io),p=ea(a,e,s?u:u+d,h);-1===p?(En(bn(c,o),i,a),Yo(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=ea(a,e,u+d,h),f=ea(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){En(bn(c,o),i,a);const u=function(t,e,n,r,s){const i=new ln(t,n,io);return i.multi=[],i.index=e,i.componentProviders=0,ta(i,s,r&&!n),i}(s?ra:na,n.length,s,r,l);!s&&g&&(n[f].providerFactory=u),Yo(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Yo(i,t,p>-1?p:f,ta(n[s?f:p],l,!s&&r));!s&&r&&g&&n[f].componentProviders++}}}function Yo(t,e,n,r){const s=qi(e);if(s||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,i]):o[t+1].push(r,i)}else o.push(n,i)}}}function ta(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ea(t,e,n,r){for(let s=n;s{n.providersResolver=(n,r)=>function(t,e,n){const r=Oe();if(r.firstCreatePass){const s=re(t);Xo(n,r.data,r.blueprint,s,!0),Xo(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}class oa{}class aa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${tt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let la=(()=>{class t{}return t.NULL=new aa,t})();function ca(...t){}function ua(t,e){return new da(ye(t,e))}const ha=function(){return ua(Pe(),Ae())};let da=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ha,t})();class pa{}let fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ma(),t})();const ma=function(){const t=Ae(),e=ve(Pe().index,t);return function(t){return t[11]}(Xt(e)?e:t)};let ga=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class ya{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _a=new ya("11.2.5");class va{constructor(){}supports(t){return to(t)}create(t){return new wa(t)}}const ba=(t,e)=>e;class wa{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||ba}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new Ca(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ea),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ea),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ca{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Sa{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ea{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Sa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function xa(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Oa(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Oa{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 ka(){return new Pa([new va])}let Pa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||ka()),deps:[[t,new or,new ir]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:ka}),t})();function Ra(){return new Ia([new Ta])}let Ia=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ra()),deps:[[t,new or,new ir]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:Ra}),t})();function Na(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(me(i)),Yt(i))for(let t=Jt;t-1&&(as(t,n),$n(e,n))}this._attachedToViewContainer=!1}ls(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=Ei(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){vi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){bi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Me(!0);try{bi(t,e,n)}finally{Me(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,vs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class ja extends Da{constructor(t){super(t),this._view=t}detectChanges(){wi(this._view)}checkNoChanges(){!function(t){Me(!0);try{wi(t)}finally{Me(!1)}}(this._view)}get context(){return null}}const Ma=function(t=!1){return function(t,e,n){if(!n&&ee(t)){const n=ve(t.index,e);return new Da(n,n)}return 47&t.type?new Da(e[16],e):null}(Pe(),Ae(),t)};let Fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ma,t.__ChangeDetectorRef__=!0,t})();const Va=[new Ta],La=new Pa([new va]),Ua=new Ia(Va),Ha=function(){return t=Pe(),e=Ae(),4&t.type?new $a(e,t,ua(t,e)):null;var t,e};let za=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ha,t})();const qa=za,$a=class extends qa{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=$s(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Ws(e,n,t),new Da(n)}};class Ba{}class Ga{}const Wa=function(){return function(t,e){let n;const r=e[t.index];if(Yt(r))n=r;else{let s;if(8&t.type)s=me(r);else{const n=e[11];s=n.createComment("");const r=ye(t,e);us(n,ps(n,r),s,function(t,e){return pe(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=fi(r,e,s,t),_i(e,n)}return new Ka(n,t,e)}(Pe(),Ae())};let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Wa,t})();const Za=Qa,Ka=class extends Za{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ua(this._hostTNode,this._hostLView)}get injector(){return new Dn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sn(this._hostTNode,this._hostLView);if(fn(t)){const e=gn(t,this._hostLView),n=mn(t);return new Dn(e[1].data[n+8],e)}return new Dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ja(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(Ba,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(Yt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Ka(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Jt+r,i=n.length;r>0&&(n[s-1][4]=e),rKr});class rl extends oa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ns).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return el(this.componentDef.inputs)}get outputs(){return el(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,Ya,s);return i!==Ya||r===Ya?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(pa,fe),o=s.get(ga,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(pe(t))return t.selectRootElement(e,n===xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):is(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Kr,clean:Si,playerHandler:null,flags:0},d=ei(0,null,null,1,0,null,null,null,null,null),p=$s(null,d,h,u,null,null,i,a,o,s);let f,m;Be(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Bs(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Oi(a,l,!0),null!==t&&(cn(s,t,l),null!==a.classes&&Cs(s,t,a.classes),null!==a.styles&&ws(s,t,a.styles)));const c=r.createRenderer(t,e),u=$s(n,ti(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(En(bn(a,n),o,e.type),ai(o,a),ci(a,n.length,1)),_i(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)cn(a,c,["ng-version",_a.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&Cs(a,c,e.join(" "))}if(m=_e(d,Kt),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Pe();e.contentQueries(1,o,t.directiveStart)}const a=Pe();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Xe(a.index),ii(n[1],a,0,a.directiveStart,a.directiveEnd,e),oi(e,o)),o}(t,this.componentDef,p,h,[Gi]),Ws(d,p,null)}finally{Ke()}return new sl(this.componentType,f,ua(m,p),p,m)}}class sl extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new ja(r),this.componentType=t}get injector(){return new Dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const il=new Map;class ol extends Ba{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new tl(this);const n=Zt(t),r=t[Ft]||null;r&&Jo(r),this._bootstrapComponents=Jr(n.bootstrap),this._r3Injector=Fi(t,e,[{provide:Ba,useValue:this},{provide:la,useValue:this.componentFactoryResolver}],tt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Bi.THROW_IF_NOT_FOUND,n=vt.Default){return t===Bi||t===Ba||t===ki?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class al extends Ga{constructor(t){super(),this.moduleType=t,null!==Zt(t)&&function(t){const e=new Set;!function t(n){const r=Zt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${tt(e)} vs ${tt(e.name)}`)}(s,il.get(s),n),il.set(s,n));const i=Jr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ol(this.moduleType,t)}}const ll=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return t instanceof h&&t.add(o),o}},cl=new Ln("Application Initializer");let ul=(()=>{class t{constructor(t){this.appInits=t,this.resolve=ca,this.reject=ca,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(er(cl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const hl=new Ln("AppId"),dl={provide:hl,useFactory:function(){return`${pl()}${pl()}${pl()}`},deps:[]};function pl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const fl=new Ln("Platform Initializer"),ml=new Ln("Platform ID"),gl=new Ln("appBootstrapListener");let yl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const _l=new Ln("LocaleId"),vl=new Ln("DefaultCurrencyCode");class bl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const wl=function(t){return new al(t)},Cl=wl,Sl=function(t){return Promise.resolve(wl(t))},El=function(t){const e=wl(t),n=Jr(Zt(t).declarations).reduce((t,e)=>{const n=Qt(e);return n&&t.push(new rl(n)),t},[]);return new bl(e,n)},xl=El,Tl=function(t){return Promise.resolve(El(t))};let Al=(()=>{class t{constructor(){this.compileModuleSync=Cl,this.compileModuleAsync=Sl,this.compileModuleAndAllComponentsSync=xl,this.compileModuleAndAllComponentsAsync=Tl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Ol=(()=>Promise.resolve(0))();function kl(t){"undefined"==typeof Zone?Ol.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Pl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ll(!1),this.onMicrotaskEmpty=new ll(!1),this.onStable=new ll(!1),this.onError=new ll(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=Pt.requestAnimationFrame,e=Pt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Pt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Nl(t),Il(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Nl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Dl(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),jl(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return Dl(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),jl(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Nl(t),Il(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Pl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Rl,ca,ca);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Rl={};function Il(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Nl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Dl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function jl(t){t._nesting--,Il(t)}class Ml{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ll,this.onMicrotaskEmpty=new ll,this.onStable=new ll,this.onError=new ll}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Fl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Pl.assertNotInAngularZone(),kl(()=>{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())kl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(er(Pl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Vl=(()=>{class t{constructor(){this._applications=new Map,Hl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Hl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Ll{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Ul,Hl=new Ll,zl=!0,ql=!1;const $l=new Ln("AllowMultipleToken");class Bl{constructor(t,e){this.name=t,this.token=e}}function Gl(t,e,n=[]){const r=`Platform: ${e}`,s=new Ln(r);return(e=[])=>{let i=Wl();if(!i||i.injector.get($l,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Ri,useValue:"platform"});!function(t){if(Ul&&!Ul.destroyed&&!Ul.injector.get($l,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ul=t.get(Ql);const e=t.get(fl,null);e&&e.forEach(t=>t())}(Bi.create({providers:t,name:r}))}return function(t){const e=Wl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Wl(){return Ul&&!Ul.destroyed?Ul:null}let Ql=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Ml:("zone.js"===t?void 0:t)||new Pl({enableLongStackTrace:(ql=!0,zl),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:Pl,useValue:n}];return n.run(()=>{const e=Bi.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(Qr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});s.onDestroy(()=>{Jl(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return mo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(ul);return t.runInitializers(),t.donePromise.then(()=>(Jo(s.injector.get(_l,Zo)||Zo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Zl({},e);return function(t,e,n){const r=new al(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Kl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${tt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(er(Bi))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Zl(t,e){return Array.isArray(e)?e.reduce(Zl,t):Object.assign(Object.assign({},t),e)}let Kl=(()=>{class t{constructor(t,e,n,r,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,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 i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Pl.assertNotInAngularZone(),kl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Pl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return x(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:q(e)($(t,n))}(i,o.pipe(t=>{return B()((e=J,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Z);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof oa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ba),s=n.create(Bi.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Fl,null),a=o&&s.injector.get(Vl);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),Jl(this.components,s),a&&a.unregisterApplication(i)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Jl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(gl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(er(Pl),er(Bi),er(Qr),er(la),er(ul))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Jl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Xl{}class Yl{}const tc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ec=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||tc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>nc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>nc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(er(Al),er(Yl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function nc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const rc=Gl(null,"core",[{provide:ml,useValue:"unknown"},{provide:Ql,deps:[Bi]},{provide:Vl,deps:[]},{provide:yl,deps:[]}]),sc=[{provide:Kl,useClass:Kl,deps:[Pl,Bi,Qr,la,ul]},{provide:nl,deps:[Pl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ul,useClass:ul,deps:[[new ir,cl]]},{provide:Al,useClass:Al,deps:[]},dl,{provide:Pa,useFactory:function(){return La},deps:[]},{provide:Ia,useFactory:function(){return Ua},deps:[]},{provide:_l,useFactory:function(t){return Jo(t=t||"undefined"!=typeof $localize&&$localize.locale||Zo),t},deps:[[new sr(_l),new ir,new or]]},{provide:vl,useValue:"USD"}];let ic=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(er(Kl))},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:sc}),t})(),oc=null;function ac(){return oc}const lc=new Ln("DocumentToken");let cc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:uc,token:t,providedIn:"platform"}),t})();function uc(){return er(dc)}const hc=new Ln("Location Initialized");let dc=(()=>{class t extends cc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=ac().getLocation(),this._history=ac().getHistory()}getBaseHrefFromDOM(){return ac().getBaseHref(this._doc)}onPopState(t){ac().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){ac().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){pc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){pc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({factory:fc,token:t,providedIn:"platform"}),t})();function pc(){return!!window.history.pushState}function fc(){return new dc(er(lc))}function mc(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function gc(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function yc(t){return t&&"?"!==t[0]?"?"+t:t}let _c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:vc,token:t,providedIn:"root"}),t})();function vc(t){const e=er(lc).location;return new wc(er(cc),e&&e.origin||"")}const bc=new Ln("appBaseHref");let wc=(()=>{class t extends _c{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return mc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+yc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(er(cc),er(bc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Cc=(()=>{class t extends _c{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=mc(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+yc(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+yc(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(er(cc),er(bc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Sc=(()=>{class t{constructor(t,e){this._subject=new ll,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=gc(xc(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+yc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,xc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(er(_c),er(cc))},t.normalizeQueryParams=yc,t.joinWithSlash=mc,t.stripTrailingSlash=gc,t.\u0275prov=ut({factory:Ec,token:t,providedIn:"root"}),t})();function Ec(){return new Sc(er(_c),er(cc))}function xc(t){return t.replace(/\/index.html$/,"")}var Tc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Ac{}let Oc=(()=>{class t extends Ac{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Wo(e);if(n)return n;const r=e.split("-")[0];if(n=Wo(r),n)return n;if("en"===r)return Bo;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Qo.PluralCase]}(e||this.locale)(t)){case Tc.Zero:return"zero";case Tc.One:return"one";case Tc.Two:return"two";case Tc.Few:return"few";case Tc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(er(_l))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function kc(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}let Pc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Rc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ic("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ic("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(io(Qa),io(za))},t.\u0275dir=Wt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Rc{constructor(){this.$implicit=null,this.ngIf=null}}function Ic(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${tt(e)}'.`)}let Nc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:[{provide:Ac,useClass:Oc}]}),t})(),Dc=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new jc(er(lc),window)}),t})();class jc{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Mc(this.window.history)||Mc(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Mc(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Fc extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Fc,oc||(oc=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Lc||(Lc=document.querySelector("base"),Lc)?Lc.getAttribute("href"):null;return null==e?null:(n=e,Vc||(Vc=document.createElement("a")),Vc.setAttribute("href",n),"/"===Vc.pathname.charAt(0)?Vc.pathname:"/"+Vc.pathname);var n}resetBaseElement(){Lc=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return kc(document.cookie,t)}}let Vc,Lc=null;const Uc=new Ln("TRANSITION_ID"),Hc=[{provide:cl,useFactory:function(t,e,n){return()=>{n.get(ul).donePromise.then(()=>{const n=ac();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Uc,lc,Bi],multi:!0}];class zc{static init(){var t;t=new zc,Hl=t}addToWindow(t){Pt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Pt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pt.getAllAngularRootElements=()=>t.getAllRootElements(),Pt.frameworkStabilizers||(Pt.frameworkStabilizers=[]),Pt.frameworkStabilizers.push(t=>{const e=Pt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?ac().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const qc=new Ln("EventManagerPlugins");let $c=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Wc=(()=>{class t extends Gc{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>ac().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Qc={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/"},Zc=/%COMP%/g;function Kc(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Xc=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Yc(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new tu(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case xt.ShadowDom:return new eu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Kc(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(er($c),er(Wc),er(hl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Yc{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Qc[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Qc[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Qc[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(Xr.DashCase|Xr.Important)?t.style.setProperty(e,n,r&Xr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Xr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Jc(n)):this.eventManager.addEventListener(t,e,Jc(n))}}class tu extends Yc{constructor(t,e,n,r){super(t),this.component=n;const s=Kc(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Zc,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Zc,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class eu extends Yc{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Kc(r.id,r.styles,[]);for(let i=0;i{class t extends Bc{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ru=["alt","control","meta","shift"],su={"\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"},iu={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"},ou={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let au=(()=>{class t extends Bc{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ac().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(ru.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&iu.hasOwnProperty(e)&&(e=iu[e]))}return su[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),ru.forEach(r=>{r!=n&&(0,ou[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),lu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return er(cu)},token:t,providedIn:"root"}),t})(),cu=(()=>{class t extends lu{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case qr.NONE:return e;case qr.HTML:return _r(e,"HTML")?yr(e):Hr(this._doc,String(e)).toString();case qr.STYLE:return _r(e,"Style")?yr(e):e;case qr.SCRIPT:if(_r(e,"Script"))return yr(e);throw new Error("unsafe value used in a script context");case qr.URL:return vr(e),_r(e,"URL")?yr(e):Er(String(e));case qr.RESOURCE_URL:if(_r(e,"ResourceURL"))return yr(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new dr(t)}bypassSecurityTrustStyle(t){return new pr(t)}bypassSecurityTrustScript(t){return new fr(t)}bypassSecurityTrustUrl(t){return new mr(t)}bypassSecurityTrustResourceUrl(t){return new gr(t)}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({factory:function(){return t=er(ki),new cu(t.get(lc));var t},token:t,providedIn:"root"}),t})();const uu=Gl(rc,"browser",[{provide:ml,useValue:"browser"},{provide:fl,useValue:function(){Fc.makeCurrent(),zc.init()},multi:!0},{provide:lc,useFactory:function(){return function(t){he=t}(document),document},deps:[]}]),hu=[[],{provide:Ri,useValue:"root"},{provide:Qr,useFactory:function(){return new Qr},deps:[]},{provide:qc,useClass:nu,multi:!0,deps:[lc,Pl,ml]},{provide:qc,useClass:au,multi:!0,deps:[lc]},[],{provide:Xc,useClass:Xc,deps:[$c,Wc,hl]},{provide:pa,useExisting:Xc},{provide:Gc,useExisting:Wc},{provide:Wc,useClass:Wc,deps:[lc]},{provide:Fl,useClass:Fl,deps:[Pl]},{provide:$c,useClass:$c,deps:[qc,Pl]},[]];let du=(()=>{class t{constructor(t){if(t)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(e){return{ngModule:t,providers:[{provide:hl,useValue:e.appId},{provide:Uc,useExisting:hl},Hc]}}}return t.\u0275fac=function(e){return new(e||t)(er(t,12))},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:hu,imports:[Nc,ic]}),t})();function pu(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const s=new Array(r);let i=0,o=0;for(let a=0;a{c||(c=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{i++,i!==r&&c||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}"undefined"!=typeof window&&window;const fu=new Ln("NgValueAccessor"),mu={provide:fu,useExisting:rt(()=>gu),multi:!0};let gu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da))},t.\u0275dir=Wt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&yo("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[ia([mu])]}),t})();const yu={provide:fu,useExisting:rt(()=>vu),multi:!0},_u=new Ln("CompositionEventMode");let vu=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=ac()?ac().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da),io(_u,8))},t.\u0275dir=Wt({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&yo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[ia([yu])]}),t})();function bu(t){return null==t||0===t.length}function wu(t){return null!=t&&"number"==typeof t.length}const Cu=new Ln("NgValidators"),Su=new Ln("NgAsyncValidators"),Eu=/^(?=.{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 xu{static min(t){return e=>{if(bu(e.value)||bu(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(bu(e.value)||bu(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return bu(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return bu(t.value)||Eu.test(t.value)?null:{email:!0}}static minLength(t){return e=>bu(e.value)||!wu(e.value)?null:e.value.lengthwu(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return xu.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(bu(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Tu);return 0==e.length?null:function(t){return Ou(ku(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Tu);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return pu(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return pu(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return pu(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(T(t=>e(...t)))}return pu(t,null)}(ku(t,e).map(Au)).pipe(T(Ou))}}}function Tu(t){return null!=t}function Au(t){const e=mo(t)?M(t):t;return go(e),e}function Ou(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function ku(t,e){return e.map(e=>e(t))}function Pu(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Ru(t){return null!=t?xu.compose(Pu(t)):null}function Iu(t){return null!=t?xu.composeAsync(Pu(t)):null}function Nu(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Du(t){return t._rawValidators}function ju(t){return t._rawAsyncValidators}let Mu=(()=>{class t{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=Ru(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Iu(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,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Wt({type:t}),t})(),Fu=(()=>{class t extends Mu{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Vu(e||t)},t.\u0275dir=Wt({type:t,features:[Wi]}),t})();const Vu=jn(Fu);class Lu extends Mu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Uu{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}let Hu=(()=>{class t extends Uu{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(io(Lu,2))},t.\u0275dir=Wt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&ko("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Wi]}),t})(),zu=(()=>{class t extends Uu{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(io(Fu,10))},t.\u0275dir=Wt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&ko("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Wi]}),t})();const qu={provide:fu,useExisting:rt(()=>$u),multi:!0};let $u=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da))},t.\u0275dir=Wt({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&yo("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[ia([qu])]}),t})();const Bu={provide:fu,useExisting:rt(()=>Wu),multi:!0};let Gu=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Wu=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Lu),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da),io(Gu),io(Bi))},t.\u0275dir=Wt({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&yo("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[ia([Bu])]}),t})();const Qu={provide:fu,useExisting:rt(()=>Zu),multi:!0};let Zu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da))},t.\u0275dir=Wt({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&yo("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[ia([Qu])]}),t})();const Ku={provide:fu,useExisting:rt(()=>Ju),multi:!0};let Ju=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(io(fa),io(da))},t.\u0275dir=Wt({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&yo("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[ia([Ku])]}),t})();const Xu={provide:fu,useExisting:rt(()=>Yu),multi:!0};let Yu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&ih(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&ih(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function eh(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),sh(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function nh(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function rh(t,e,n){const r=Du(t);null!==e.validator?t.setValidators(Nu(r,e.validator)):"function"==typeof r&&t.setValidators([r]);const s=ju(t);if(null!==e.asyncValidator?t.setAsyncValidators(Nu(s,e.asyncValidator)):"function"==typeof s&&t.setAsyncValidators([s]),n){const n=()=>t.updateValueAndValidity();nh(e._rawValidators,n),nh(e._rawAsyncValidators,n)}}function sh(t,e,n){let r=!1;if(null!==t){if(null!==e.validator){const n=Du(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(r=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=ju(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(r=!0,t.setAsyncValidators(s))}}}if(n){const t=()=>{};nh(e._rawValidators,t),nh(e._rawAsyncValidators,t)}return r}function ih(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const oh=[gu,Zu,$u,Ju,Yu,Wu];function ah(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const lh="VALID",ch="INVALID",uh="PENDING",hh="DISABLED";function dh(t){return(gh(t)?t.validators:t)||null}function ph(t){return Array.isArray(t)?Ru(t):t||null}function fh(t,e){return(gh(e)?e.asyncValidators:t)||null}function mh(t){return Array.isArray(t)?Iu(t):t||null}function gh(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class yh{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=ph(this._rawValidators),this._composedAsyncValidatorFn=mh(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===lh}get invalid(){return this.status===ch}get pending(){return this.status==uh}get disabled(){return this.status===hh}get enabled(){return this.status!==hh}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=ph(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=mh(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(t=>{t.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(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=uh,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=hh,this.errors=null,this._forEachChild(e=>{e.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:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=lh,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!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!==lh&&this.status!==uh||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(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hh:lh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=uh,this._hasOwnPendingAsyncValidator=!0;const e=Au(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof vh?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof bh&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}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 ll,this.statusChanges=new ll}_calculateStatus(){return this._allControlsDisabled()?hh:this.errors?ch:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(uh)?uh:this._anyControlsHaveStatus(ch)?ch:lh}_anyControlsHaveStatus(t){return this._anyControls(e=>e.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){gh(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class _h extends yh{constructor(t=null,e,n){super(dh(e),fh(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ah(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ah(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 vh extends yh{constructor(t,e,n){super(dh(e),fh(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof _h?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_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}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class bh extends yh{constructor(t,e,n){super(dh(e),fh(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof _h?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_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)}}let wh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Wt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Ch=new Ln("NgModelWithFormControlWarning"),Sh={provide:Fu,useExisting:rt(()=>Eh)};let Eh=(()=>{class t extends Fu{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ll,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sh(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return th(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){eh(t.control||null,t,!1),ah(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(eh(t.control||null,t),e&&th(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){rh(t,e,!1)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return sh(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){rh(this.form,this,!1),this._oldForm&&sh(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(io(Cu,10),io(Su,10))},t.\u0275dir=Wt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&yo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ia([Sh]),Wi,oe]}),t})();const xh={provide:Lu,useExisting:rt(()=>Th)};let Th=(()=>{class t extends Lu{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new ll,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,r,s;return Array.isArray(e),e.forEach(t=>{var e;t.constructor===vu?n=t:(e=t,oh.some(t=>e.constructor===t)?r=t:s=t)}),s||r||n||null}(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return t=null==this.name?this.name:this.name.toString(),[...this._parent.path,t];var t}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 t.\u0275fac=function(e){return new(e||t)(io(Fu,13),io(Cu,10),io(Su,10),io(fu,10),io(Ch,8))},t.\u0275dir=Wt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ia([xh]),Wi,oe]}),t._ngModelWarningSentOnce=!1,t})();const Ah={provide:Cu,useExisting:rt(()=>Oh),multi:!0};let Oh=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?xu.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Wt({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&ro("required",e.required?"":null)},inputs:{required:"required"},features:[ia([Ah])]}),t})(),kh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({}),t})(),Ph=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r,s=null,i=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new vh(n,{asyncValidators:i,updateOn:r,validators:s})}control(t,e,n){return new _h(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new bh(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof _h||t instanceof vh||t instanceof bh?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Rh=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ch,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:[Ph,Gu],imports:[kh]}),t})(),Ih=(()=>{class t{constructor(){let t=localStorage.getItem("form"),e=JSON.parse(t);this.form=e}ngOnInit(){this.exibir()}exibir(){"OUTRO \xd3RG\xc3O"===this.form.label3&&(document.getElementById("oo").classList.remove("displayNone"),document.getElementById("cEf").classList.remove("displayNone"),document.getElementById("cHs").classList.remove("displayNone"))}print(){window.print(),localStorage.removeItem("form")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["app-imp"]],decls:351,vars:60,consts:[["id","content",1,"container"],["id","dados",1,"title"],[1,"page-header"],["name","cadastro","id","form","action","/send","method","POST"],[1,"row"],[1,"mb-1","col-sm-4"],["for","mat",1,"form-label"],["type","text","id","mat","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-8"],["for","nome",1,"form-label"],["type","text","id","nome","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-12"],["for","nomeM",1,"form-label"],["type","text","id","nomeM","disabled","",1,"form-control","text-capitalize",3,"value"],["for","nomeP",1,"form-label"],["type","text","id","nomeP","disabled","",1,"form-control","text-capitalize",3,"value"],["for","dataN",1,"form-label"],["type","text","id","date","disabled","",1,"form-control","text-capitalize",3,"value"],["for","naturalidade",1,"form-label"],["type","text","id","naturalidade","disabled","",1,"form-control","text-capitalize",3,"value"],["for","ufn",1,"form-label"],["type","text","id","ufn","disabled","",1,"form-control","text-capitalize",3,"value"],["for","naoAcumuloionalidade",1,"form-label"],["type","text","id","naoAcumuloionalidade","disabled","",1,"form-control","text-capitalize",3,"value"],["for","estadoC",1,"form-label"],["type","text","id","estadoC","disabled","",1,"form-control","text-capitalize",3,"value"],["for","sexo",1,"form-select"],["type","text","id","sexo","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-6"],["for","pd",1,"form-label"],["type","text","id","pd","disabled","",1,"form-control","text-capitalize",3,"value"],["for","td",1,"form-label"],["type","text","id","td","disabled","",1,"form-control","text-capitalize",3,"value"],["id","doc",1,"title","mt-4"],["for","cpf",1,"form-label"],["type","text","id","cpf","disabled","",1,"form-control","text-capitalize",3,"value"],["for","ppn",1,"form-label"],["type","text","id","ppn","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-3"],["for","rg",1,"form-label"],["type","text","id","rg","disabled","",1,"form-control","text-capitalize",3,"value"],["for","oe",1,"form-label"],["type","text","id","oe","disabled","",1,"form-control","text-capitalize",3,"value"],["for","ufrg",1,"form-label"],["type","text","id","ufrg","disabled","",1,"form-control","text-capitalize",3,"value"],["for","dataE",1,"form-label"],["type","text","id","dataE","disabled","",1,"form-control","text-capitalize",3,"value"],["for","te",1,"form-label"],["type","text","id","te","disabled","",1,"form-control","text-capitalize",3,"value"],["for","zona",1,"form-label"],["type","text","id","zona","disabled","",1,"form-control","text-capitalize",3,"value"],["for","secao",1,"form-label"],["type","text","id","secao","disabled","",1,"form-control","text-capitalize",3,"value"],["for","uft",1,"form-label"],["type","text","id","uft","disabled","",1,"form-control","text-capitalize",3,"value"],["id","end",1,"title","mt-4"],[1,"mb-1","col-sm-10"],["for","logradouro",1,"form-label"],["type","text","id","logradouro","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-2"],["for","numero",1,"form-label"],["type","text","id","numero","disabled","",1,"form-control","text-capitalize",3,"value"],["for","cpomlemento",1,"form-label"],["type","text","id","complemento","disabled","",1,"form-control","text-capitalize",3,"value"],["for","bairro",1,"form-label"],["type","text","id","bairro","disabled","",1,"form-control","text-capitalize",3,"value"],["for","cep",1,"form-label"],["type","text","id","cep","placeholder","00000-000","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-5"],["for","cidade",1,"form-label"],["type","text","id","cidade","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"mb-1","col-sm-1"],["for","uf",1,"form-label"],["type","text","id","uf","disabled","",1,"form-control","text-capitalize",3,"value"],["for","telefone",1,"form-label"],["type","text","id","telefone","disabled","",1,"form-control","text-capitalize",3,"value"],["for","celular",1,"form-label"],["type","text","id","celular","placeholder","(00) 00000-0000","disabled","",1,"form-control","text-capitalize",3,"value"],["for","email",1,"form-label"],["type","text","id","email","disabled","",1,"form-control",3,"value"],["for","dataA",1,"form-label"],["type","text","id","dataA","disabled","",1,"form-control","text-capitalize",3,"value"],["for","ts",1,"form-label"],["type","text","id","ts","disabled","",1,"form-control","text-capitalize",3,"value"],[1,"row","mb-5"],["for","oc",1,"form-label"],["type","text","id","oc","disabled","",1,"form-control","text-capitalize",3,"value"],["id","end",1,"title","pt-5"],[1,"mt-3"],["type","text","id","pd","disabled","",1,"text-capitalize","border-none","bold","bold",3,"value"],["type","text","id","ts","disabled","",1,"border-none","bold","text-capitalize","bold",3,"value"],["id","dcl1"],[1,"row","ml-2","mb-3"],[1,"form-label","dcl"],["type","text","id","dcl1","disabled","",1,"form-control","bg-transparent",3,"value"],["type","text","id","dcl2","disabled","",1,"form-control","bg-transparent",3,"value"],[1,"form-label","mr-5"],["id","inputs",1,"row","col"],["type","text","id","dcl3",1,"form-control","col-sm-7","bg-transparent",3,"value"],["type","text","id","oo","disabled","",1,"form-control","text-capitalize","displayNone",3,"value"],["type","text","id","cEf","disabled","",1,"form-control","text-capitalize","displayNone",3,"value"],["type","text","id","cHs","disabled","",1,"form-control","text-capitalize","displayNone",3,"value"],["type","text","id","dcl4","disabled","",1,"form-control","bg-transparent",3,"value"],[1,"row","ml-2","mb-3","col-sm-7"],["type","text","id","dcl5","disabled","",1,"form-control","bg-transparent",2,"height","10%",3,"value"],[1,"mb-5"],[2,"text-align","center"],[1,"mt-5"],["size","10","width","50%","color","black"],["id","ass"],[1,"mt-3","transcritos"],[1,"mb-4"],[1,"principal"],[1,"coluna-1"],["width","85%","color","black"],[1,"coluna-2"],[1,"mt-4","mb-5"],["type","text","id","nome","disabled","",1,"form-control","text-capitalize","bg-transparent",3,"value"],["type","text","id","mat","disabled","",1,"form-control","text-capitalize","bg-transparent",3,"value"],[1,"row","mb-4"],["type","text","id","cpf","disabled","",1,"form-control","text-capitalize","bg-transparent",3,"value"],["type","text","id","dcl3",1,"form-control",3,"value"],["type","text","id","pd","disabled","",1,"text-capitalize","border-none","bold",3,"value"],[1,"mt-3",2,"text-align","center"],[1,"mt-2","mb-5"],[2,"font-size","medium"],["type","text","id","rg","disabled","",1,"border-none","bold","text-capitalize",2,"width","12%",3,"value"],["type","text","id","cpf","disabled","",1,"border-none","bold","text-capitalize",2,"width","12%",3,"value"],["type","text","id","logradouro","disabled","",1,"border-none","bold","text-capitalize",2,"width","40%",3,"value"],["type","text","id","numero","disabled","",1,"border-none","bold","text-capitalize",2,"width","3%",3,"value"],["type","text","id","bairro","disabled","",1,"border-none","bold","text-capitalize",3,"value"],["type","text","id","cidade","disabled","",1,"border-none","bold","text-capitalize",3,"value"],["color","black",2,"margin-bottom","30px"],["color","black"],[1,"mt-5",2,"text-align","center"],[1,"row","mt-4","offset-sm-4"],["type","text","id","nomeA","disabled","",1,"col-sm-10","font-weight-bold","ml-3","mr-2",3,"value"],["width","50%","color","black"],[1,"offset-5"],["type","button","value","IMPRIMIR",1,"btn","btn-primary","btn-md","mb-1","displayNone1","pl-sm-5","pr-sm-5",3,"click"]],template:function(t,e){1&t&&(lo(0,"div",0),lo(1,"div",1),lo(2,"h3",2),Ho(3,"DADOS PESSOAIS"),co(),co(),lo(4,"form",3),lo(5,"section"),lo(6,"div",4),lo(7,"div",5),lo(8,"label",6),Ho(9,"Matr\xedcula:"),co(),uo(10,"input",7),co(),lo(11,"div",8),lo(12,"label",9),Ho(13,"Nome:"),co(),uo(14,"input",10),co(),co(),lo(15,"div",4),lo(16,"div",11),lo(17,"label",12),Ho(18,"Nome da m\xe3e:"),co(),uo(19,"input",13),co(),co(),lo(20,"div",4),lo(21,"div",11),lo(22,"label",14),Ho(23,"Nome do pai:"),co(),uo(24,"input",15),co(),co(),lo(25,"div",4),lo(26,"div",5),lo(27,"label",16),Ho(28,"Data de nascimento:"),co(),uo(29,"input",17),co(),lo(30,"div",5),lo(31,"label",18),Ho(32,"Naturalidade:"),co(),uo(33,"input",19),co(),lo(34,"div",5),lo(35,"label",20),Ho(36,"UF de nascimento:"),co(),uo(37,"input",21),co(),co(),lo(38,"div",4),lo(39,"div",5),lo(40,"label",22),Ho(41,"Nacionalidade:"),co(),uo(42,"input",23),co(),lo(43,"div",5),lo(44,"label",24),Ho(45,"Estado Civil:"),co(),uo(46,"input",25),co(),lo(47,"div",5),lo(48,"label",26),Ho(49,"Sexo:"),co(),uo(50,"input",27),co(),co(),lo(51,"div",4),lo(52,"div",28),lo(53,"label",29),Ho(54,"Possui defici\xeancia:"),co(),uo(55,"input",30),co(),lo(56,"div",28),lo(57,"label",31),Ho(58,"Tipo de defici\xeancia:"),co(),uo(59,"input",32),co(),co(),co(),lo(60,"div",33),lo(61,"h3",2),Ho(62,"DOCUMENTOS"),co(),co(),lo(63,"section"),lo(64,"div",4),lo(65,"div",28),lo(66,"label",34),Ho(67,"CPF:"),co(),uo(68,"input",35),co(),lo(69,"div",28),lo(70,"label",36),Ho(71,"PIS/PASEP/NIT.:"),co(),uo(72,"input",37),co(),co(),lo(73,"div",4),lo(74,"div",38),lo(75,"label",39),Ho(76,"RG n\xba:"),co(),uo(77,"input",40),co(),lo(78,"div",38),lo(79,"label",41),Ho(80,"\xd3rg\xe3o Emissor:"),co(),uo(81,"input",42),co(),lo(82,"div",38),lo(83,"label",43),Ho(84,"UF RG:"),co(),uo(85,"input",44),co(),lo(86,"div",38),lo(87,"label",45),Ho(88,"Data de Emiss\xe3o RG:"),co(),uo(89,"input",46),co(),co(),lo(90,"div",4),lo(91,"div",38),lo(92,"label",47),Ho(93,"T\xedtulo de Eleitor n\xba:"),co(),uo(94,"input",48),co(),lo(95,"div",38),lo(96,"label",49),Ho(97,"Zona n\xba:"),co(),uo(98,"input",50),co(),lo(99,"div",38),lo(100,"label",51),Ho(101,"Se\xe7\xe3o n\xba:"),co(),uo(102,"input",52),co(),lo(103,"div",38),lo(104,"label",53),Ho(105,"UF t\xedtulo:"),co(),uo(106,"input",54),co(),co(),co(),lo(107,"div",55),lo(108,"h3",2),Ho(109,"ENDERE\xc7O"),co(),co(),lo(110,"section"),lo(111,"div",4),lo(112,"div",56),lo(113,"label",57),Ho(114,"Logradouro:"),co(),uo(115,"input",58),co(),lo(116,"div",59),lo(117,"label",60),Ho(118,"N\xfamero:"),co(),uo(119,"input",61),co(),co(),lo(120,"div",4),lo(121,"div",5),lo(122,"label",62),Ho(123,"Complemento:"),co(),uo(124,"input",63),co(),lo(125,"div",28),lo(126,"label",64),Ho(127,"Bairro:"),co(),uo(128,"input",65),co(),lo(129,"div",59),lo(130,"label",66),Ho(131,"CEP:"),co(),uo(132,"input",67),co(),co(),lo(133,"div",4),lo(134,"div",68),lo(135,"label",69),Ho(136,"Cidade:"),co(),uo(137,"input",70),co(),lo(138,"div",71),lo(139,"label",72),Ho(140,"UF:"),co(),uo(141,"input",73),co(),lo(142,"div",38),lo(143,"label",74),Ho(144,"Telefone:"),co(),uo(145,"input",75),co(),lo(146,"div",38),lo(147,"label",76),Ho(148,"Celular:"),co(),uo(149,"input",77),co(),co(),lo(150,"div",4),lo(151,"div",11),lo(152,"label",78),Ho(153,"Email:"),co(),uo(154,"input",79),co(),co(),co(),lo(155,"div",55),lo(156,"h3",2),Ho(157,"DADOS FUNCIONAIS"),co(),co(),lo(158,"section"),lo(159,"div",4),lo(160,"div",5),lo(161,"label",80),Ho(162,"Data de Admiss\xe3o:"),co(),uo(163,"input",81),co(),lo(164,"div",8),lo(165,"label",82),Ho(166,"Tipo de Servidor:"),co(),uo(167,"input",83),co(),co(),lo(168,"div",84),lo(169,"div",11),lo(170,"label",85),Ho(171,"\xd3rg\xe3o de Cess\xe3o:"),co(),uo(172,"input",86),co(),co(),lo(173,"div",87),lo(174,"h3",2),Ho(175,"DECLARA\xc7\xc3O DE ACUMULA\xc7\xc3O OU N\xc3O ACUMULA\xc7\xc3O DE CARGO/EMPREGO E/OU PROVENTOS"),co(),co(),lo(176,"section",88),lo(177,"p"),Ho(178," Eu "),uo(179,"input",89),Ho(180,", servidor p\xfablico do Munic\xedpio de Barra do Cho\xe7a, Estado da Bahia, com v\xednculo "),uo(181,"input",90),Ho(182," DECLARO, na forma do art. 37, incisos XVI e XVII e \xa710 da Constitui\xe7\xe3o Federal; no art. 40, \xa76\xba, da Constitui\xe7\xe3o Federal; no art. 84, XV da Lei Org\xe2nica do Munic\xedpio de Barra do Cho\xe7a \u2013 BA; nos arts. 183 a 191 do Estatuto dos Servidores P\xfablicos Municipais, Lei 192/11; na S\xfamula do TCU n\xba 246/2002, publicada no DOU de 5/4/2002, e no AC\xd3RD\xc3O do TCU n\xba 54/2007, publicado no DOU de 8/2/2007; abaixo transcritos (*), que: "),co(),lo(183,"div",91),lo(184,"div",92),lo(185,"label",93),Ho(186,"DECLARA\xc7\xc3O 1:"),co(),uo(187,"textarea",94),co(),co(),lo(188,"div",91),lo(189,"div",92),lo(190,"label",93),Ho(191,"DECLARA\xc7\xc3O 2:"),co(),uo(192,"textarea",95),co(),co(),lo(193,"div",91),lo(194,"div",92),lo(195,"div"),lo(196,"label",96),Ho(197,"DECLARA\xc7\xc3O 3:"),co(),co(),uo(198,"br"),lo(199,"div",97),uo(200,"textarea",98),lo(201,"div",4),uo(202,"input",99),uo(203,"input",100),uo(204,"input",101),co(),co(),co(),co(),lo(205,"div",91),lo(206,"div",92),lo(207,"label",93),Ho(208,"DECLARA\xc7\xc3O 4:"),co(),uo(209,"textarea",102),co(),co(),lo(210,"div",91),lo(211,"div",103),lo(212,"label",93),Ho(213,"DECLARA\xc7\xc3O 5:"),co(),uo(214,"textarea",104),co(),co(),co(),co(),lo(215,"section",105),lo(216,"p"),Ho(217," Declaro, sob as penas da lei, serem verdadeiras as informa\xe7\xf5es prestadas no presente documento. "),uo(218,"br"),uo(219,"br"),Ho(220," DECLARO, ainda, estar ciente de que prestar declara\xe7\xe3o falsa caracteriza o crime previsto no art. 299 do C\xf3digo Penal Brasileiro, e que por tal crime serei responsabilizado, independente das san\xe7\xf5es c\xedveis e administrativas, caso se comprove a inveracidade do declarado neste documento. "),co(),lo(221,"p",106),Ho(222," Barra do Cho\xe7a \u2013 BA, ______ de _______________ de 2021. "),co(),lo(223,"div",107),uo(224,"hr",108),lo(225,"span",109),Ho(226,"Assinatura do Servidor"),co(),uo(227,"br"),co(),lo(228,"div",110),lo(229,"p"),Ho(230," (*) "),uo(231,"br"),Ho(232," Constitui\xe7\xe3o Federal, art. 37. A administra\xe7\xe3o p\xfablica direta e indireta de qualquer dos Poderes da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios obedecer\xe1 aos princ\xedpios de legalidade, impessoalidade, moralidade, publicidade e efici\xeancia e, tamb\xe9m, ao seguinte: (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 19, de 1998) "),uo(233,"br"),Ho(234," XVI - \xe9 vedada a acumula\xe7\xe3o remunerada de cargos p\xfablicos, exceto, quando houver compatibilidade de hor\xe1rios, observado em qualquer caso o disposto no inciso XI. (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 19, de 1998) "),uo(235,"br"),Ho(236," a) a de dois cargos de professor; (Inclu\xedda pela Emenda Constitucional n\xba 19, de 1998) "),uo(237,"br"),Ho(238," b) a de um cargo de professor com outro t\xe9cnico ou cient\xedfico; (Inclu\xedda pela Emenda Constitucional n\xba 19, de 1998) "),uo(239,"br"),Ho(240," c) a de dois cargos ou empregos privativos de profissionais de sa\xfade, com profiss\xf5es regulamentadas; (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 34, de 2001) "),uo(241,"br"),Ho(242," XVII - a proibi\xe7\xe3o de acumular estende-se a empregos e fun\xe7\xf5es e abrange autarquias, funda\xe7\xf5es, empresas p\xfablicas, sociedades de economia mista, suas subsidi\xe1rias, e sociedades controladas, direta ou indiretamente, pelo poder p\xfablico; (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 19, de 1998) \xa7 10. \xc9 vedada a percep\xe7\xe3o simult\xe2nea de proventos de aposentadoria decorrentes do art. 40 ou dos arts. 42 e 142 com a remunera\xe7\xe3o de cargo, emprego ou fun\xe7\xe3o p\xfablica, ressalvados os cargos acumul\xe1veis na forma desta Constitui\xe7\xe3o, os cargos eletivos e os cargos em comiss\xe3o declarados em lei de livre nomea\xe7\xe3o e exonera\xe7\xe3o. (Inclu\xeddo pela Emenda Constitucional n\xba 20, de 1998) (Vide Emenda Constitucional n\xba 20, de 1998) Art. 40. Aos servidores titulares de cargos efetivos da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios, inclu\xeddas suas autarquias e funda\xe7\xf5es, \xe9 assegurado regime de previd\xeancia de car\xe1ter contributivo e solid\xe1rio, mediante contribui\xe7\xe3o do respectivo ente p\xfablico, dos servidores ativos e inativos e dos pensionistas, observados crit\xe9rios que preservem o equil\xedbrio financeiro e atuarial e o disposto neste artigo. (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 41, 19.12.2003) \xa7 6\xba Ressalvadas as aposentadorias decorrentes dos cargos acumul\xe1veis na forma desta Constitui\xe7\xe3o, \xe9 vedada a percep\xe7\xe3o de mais de uma aposentadoria \xe0 conta do regime de previd\xeancia previsto neste artigo. (Reda\xe7\xe3o dada pela Emenda Constitucional n\xba 20, de 15/12/98) "),uo(243,"br"),uo(244,"br"),Ho(245," Lei Org\xe2nica do Munic\xedpio de Barra do Cho\xe7a \u2013 BA, art. 84, XV. n\xe3o ser\xe1 permitida a acumula\xe7\xe3o remunerada de cargos p\xfablicos, excetuando-se a hip\xf3tese de compatibilidade de hor\xe1rios e nos seguintes casos: a) dois cargos de professor; b) um cargo de professor com outro, t\xe9cnico ou cient\xedfico; c) dois cargos ou empregos privativos de profissionais de sa\xfade, com profiss\xf5es regulamentadas; "),uo(246,"br"),uo(247,"br"),Ho(248," Estatuto dos Servidores P\xfablicos Municipais, Lei 192/11, art. 183. E vedada a acumula\xe7\xe3o remunerada de cargos e fun\xe7\xf5es p\xfablicas, exceto: I. A de 02 (dois} cargos de professor; II. A de 01 (um) cargo de professor com outro t\xe9cnico ou cientifico; Ill. A de 02 (dois} cargos ou empregos privativos de profissionais de sa\xfade, com profiss\xf5es regulamentadas. \xa7 1\xb0. Em qualquer dos casos, a acumula\xe7\xe3o somente ser\xe1 permitida quando houver compatibilidade de hor\xe1rios. \xa7 2\xb0. A compatibilidade de hor\xe1rios ser\xe1 reconhecida quando houver possibilidade do exerc\xedcio dos 02 (dais) cargos, em hor\xe1rios diversos, sem preju\xedzo do n\xfamero regulamentar de horas de trabalho determinado para cada um S\xdaMULA do TCU n\xba 246 (publicada no DOU de 5/4/2002) \u201cO fato de o servidor licenciar-se, sem vencimentos, do cargo p\xfablico ou emprego que exer\xe7a em \xf3rg\xe3o ou entidade da administra\xe7\xe3o direta ou indireta n\xe3o o habilita a tomar posse em outro cargo ou emprego p\xfablico, sem incidir no exerc\xedcio cumulativo vedado pelo artigo 37 da Constitui\xe7\xe3o Federal, pois que o instituto da acumula\xe7\xe3o de cargos se dirige \xe0 titularidade de cargos, empregos e fun\xe7\xf5es p\xfablicas, e n\xe3o apenas \xe0 percep\xe7\xe3o de vantagens pecuni\xe1rias.\u201d "),uo(249,"br"),Ho(250," AC\xd3RD\xc3O do TCU n\xba 54/2007 - Segunda C\xe2mara (publicada no DOU de 8/2/2007) PESSOAL. ADMISS\xc3O. ACUMULA\xc7\xc3O DE CARGOS. PROFISSIONAIS DE SA\xdaDE. INCOMPATIBILIDADE DE HOR\xc1RIOS. ILEGALIDADE. LIMITE M\xc1XIMO ADMITIDO PARA ACUMULA\xc7\xc3O DE CARGOS OU EMPREGOS P\xdaBLICOS. N\xc3O DESCARACTERIZA\xc7\xc3O DO V\xcdNCULO DO SERVIDOR COM A ADMINISTRA\xc7\xc3O NO CASO DA LICEN\xc7A DO CARGO. "),uo(251,"br"),Ho(252," 1. \xc9 ilegal a acumula\xe7\xe3o de cargo e emprego p\xfablicos privativos de profissionais de sa\xfade quando n\xe3o observada a compatibilidade de hor\xe1rios."),uo(253,"br"),Ho(254," 2. A jurisprud\xeancia do TCU tem admitido como limite m\xe1ximo em casos de acumula\xe7\xe3o de cargos ou empregos p\xfablicos a jornada de trabalho de 60 (sessenta) horas semanais."),uo(255,"br"),Ho(256," 3. A licen\xe7a do cargo n\xe3o descaracteriza o v\xednculo jur\xeddico do servidor com a administra\xe7\xe3o, podendo, inclusive, ser interrompida, a qualquer tempo, no interesse do servi\xe7o ou a pedido do servidor. (grifo nosso)"),uo(257,"br"),Ho(258," ATO.DILEP.CIF.SEGPES.GDGSET.GP N\xba 89, de 23/2/2016 Art. 3\xba O aux\xedlio alimenta\xe7\xe3o, de car\xe1ter indenizat\xf3rio, n\xe3o poder\xe1 ser: I - percebido cumulativamente com outros de esp\xe9cie semelhante. "),uo(259,"br"),uo(260,"br"),Ho(261," CP, art. 299. Omitir, em documento p\xfablico ou particular, declara\xe7\xe3o que dele devia constar, ou nele inserir ou fazer inserir declara\xe7\xe3o falsa ou diversa da que devia ser escrita, com o fim de prejudicar direito, criar obriga\xe7\xe3o ou alterar a verdade sobre fato juridicamente relevante. Pena - reclus\xe3o, de um a cinco anos, e multa, se o documento \xe9 p\xfablico, e reclus\xe3o de um a tr\xeas anos, e multa, se o documento \xe9 particular. Par\xe1grafo \xfanico. Se o agente \xe9 funcion\xe1rio p\xfablico, e comete o crime prevalecendo-se do cargo, ou se a falsifica\xe7\xe3o ou altera\xe7\xe3o \xe9 de assentamento de registro civil, aumenta-se a pena de sexta parte. "),co(),co(),co(),lo(262,"section",111),lo(263,"div",112),lo(264,"div",113),uo(265,"hr",114),Ho(266," Servidor respons\xe1vel pela an\xe1lise dos dados "),co(),lo(267,"div",115),Ho(268,"Visto do Departamento de Recursos Humanos"),co(),co(),co(),lo(269,"div",1),lo(270,"h3",2),Ho(271,"DECLARA\xc7\xc3O DE LOTA\xc7\xc3O E CUMPRIMENTO DE CARGA HOR\xc1RIA"),co(),co(),lo(272,"section",116),lo(273,"div",4),lo(274,"div",5),lo(275,"label",22),Ho(276,"Servidor(a):"),co(),uo(277,"input",117),co(),lo(278,"div",5),lo(279,"label",24),Ho(280,"Matr\xedcula:"),co(),uo(281,"input",118),co(),co(),lo(282,"div",119),lo(283,"div",5),lo(284,"label",22),Ho(285,"CPF:"),co(),uo(286,"input",120),co(),lo(287,"div",28),lo(288,"label",24),Ho(289,"Cargo:"),co(),uo(290,"br"),uo(291,"input",121),co(),co(),lo(292,"p",111),Ho(293," Eu, "),uo(294,"input",122),Ho(295,", no desempenho do cargo-fun\xe7\xe3o de "),uo(296,"input",122),Ho(297,", no \xf3rg\xe3o "),uo(298,"input",122),Ho(299,", declaro para fins espec\xedficos do procedimento de recadastramento dos servidores p\xfablicos do Munic\xedpio de Barra do Cho\xe7a \u2013 BA, que o (a) servidor (a) acima identificado (a) cumpre expediente regular na seguinte unidade de lota\xe7\xe3o: ________________________________________,carga hor\xe1ria:__________, no hor\xe1rio:_____________________. DECLARO, ainda, estar ciente de que prestar declara\xe7\xe3o falsa caracteriza o crime previsto no art. 299 do C\xf3digo Penal Brasileiro, e que por tal crime serei responsabilizado, independente das san\xe7\xf5es administrativas, caso se comprove a inveracidade do declarado neste documento. "),co(),lo(300,"p",106),Ho(301," _____________,_____de __________________ de 2021. "),co(),uo(302,"br"),uo(303,"br"),lo(304,"div",123),uo(305,"hr",108),lo(306,"span"),Ho(307,"Nome e Assinatura do chefe imediato"),co(),uo(308,"br"),co(),co(),lo(309,"div",1),lo(310,"h3",2),Ho(311,"SOLICITA\xc7\xc3O DE VISITA DOMICILIAR PARA RECADASTRAMENTO"),co(),co(),lo(312,"section",124),lo(313,"p",125),Ho(314," Eu "),uo(315,"input",122),Ho(316,". portador (a) do RG n\xba."),uo(317,"input",126),Ho(318,", inscrito no CPF sob n\xba "),uo(319,"input",127),Ho(320," , solicito visita domiciliar de servidor designado pelo Departamento de Recursos Humanos, no seguinte endere\xe7o: "),uo(321,"input",128),Ho(322,", n\xba. "),uo(323,"input",129),Ho(324,", Bairro "),uo(325,"input",130),Ho(326,", na cidade de "),uo(327,"input",131),Ho(328,", ponto de refer\xeancia _______________________________________________________________ para realiza\xe7\xe3o de recadastramento. "),co(),lo(329,"div"),Ho(330," Justificativa para visita domiciliar: "),uo(331,"br"),uo(332,"hr",132),uo(333,"hr",132),uo(334,"hr",132),uo(335,"hr",132),uo(336,"hr",133),co(),lo(337,"p",106),Ho(338," ________________,_____de __________________ de 2021. "),co(),co(),lo(339,"div",134),uo(340,"hr",108),lo(341,"span"),Ho(342,"Nome e Assinatura do Servidor"),co(),uo(343,"br"),co(),lo(344,"div",135),uo(345,"input",136),co(),lo(346,"div"),uo(347,"hr",137),co(),lo(348,"div",4),lo(349,"form",138),lo(350,"input",139),yo("click",function(){return e.print()}),co(),co(),co(),co(),co()),2&t&&(js(10),oo("value",e.form.matricula),js(4),oo("value",e.form.nome),js(5),oo("value",e.form.nomeM),js(5),oo("value",e.form.nomeP),js(5),oo("value",e.form.dataN),js(4),oo("value",e.form.naturalidade),js(4),oo("value",e.form.ufN),js(5),oo("value",e.form.naoAcumuloionalidade),js(4),oo("value",e.form.estadoC),js(4),oo("value",e.form.sexo),js(5),oo("value",e.form.pd),js(4),oo("value",e.form.td),js(9),oo("value",e.form.cpf),js(4),oo("value",e.form.ppn),js(5),oo("value",e.form.rg),js(4),oo("value",e.form.oe),js(4),oo("value",e.form.ufrg),js(4),oo("value",e.form.dataE),js(5),oo("value",e.form.te),js(4),oo("value",e.form.zona),js(4),oo("value",e.form.secao),js(4),oo("value",e.form.uftitulo),js(9),oo("value",e.form.logradouro),js(4),oo("value",e.form.numero),js(5),oo("value",e.form.complemento),js(4),oo("value",e.form.bairro),js(4),oo("value",e.form.cep),js(5),oo("value",e.form.cidade),js(4),oo("value",e.form.uf),js(4),oo("value",e.form.telefone),js(4),oo("value",e.form.celular),js(5),oo("value",e.form.email),js(9),oo("value",e.form.dataA),js(4),oo("value",e.form.ts),js(5),oo("value",e.form.oc),js(7),oo("value",e.form.nome),js(2),oo("value",e.form.ts),js(6),oo("value",e.form.label1),js(5),oo("value",e.form.label2),js(8),oo("value",e.form.label3),js(2),oo("value",e.form.oo),js(1),oo("value",e.form.cEf),js(1),oo("value",e.form.cHs),js(5),oo("value",e.form.label4),js(5),oo("value",e.form.label5),js(63),oo("value",e.form.nome),js(4),oo("value",e.form.matricula),js(5),oo("value",e.form.cpf),js(5),oo("value",e.form.label3),js(3),oo("value",e.form.nome),js(2),oo("value",e.form.label3),js(2),oo("value",e.form.oc),js(17),oo("value",e.form.nome),js(2),oo("value",e.form.rg),js(2),oo("value",e.form.cpf),js(2),oo("value",e.form.logradouro),js(2),oo("value",e.form.numero),js(2),oo("value",e.form.bairro),js(2),oo("value",e.form.cidade),js(18),oo("value",e.form.nome))},directives:[wh,zu],styles:["body[_ngcontent-%COMP%]{font-size:3px}#content[_ngcontent-%COMP%]{width:auto;height:auto;border:1px solid grey;margin:5px auto}.displayNone[_ngcontent-%COMP%]{display:none}input#nomeA[_ngcontent-%COMP%]{border:none;background:transparent;padding-left:27px;font-size:22px}textarea[_ngcontent-%COMP%]{height:95px;resize:none}textarea#dcl3[_ngcontent-%COMP%]{width:100%;height:60px}span#date[_ngcontent-%COMP%]{position:absolute;right:12%}span#ass[_ngcontent-%COMP%]{position:absolute;left:45%}.principal[_ngcontent-%COMP%]{text-align:center;display:table;margin:0 auto;width:100%}.transparent[_ngcontent-%COMP%]{background:transparent!important}.coluna-1[_ngcontent-%COMP%]{vertical-align:bottom}.coluna-1[_ngcontent-%COMP%], .coluna-2[_ngcontent-%COMP%]{width:50%;display:table-cell;border:1px solid #000;height:155px}.coluna-2[_ngcontent-%COMP%]{vertical-align:auto}.border-none[_ngcontent-%COMP%]{border:none;background-color:initial;color:#000}.transcritos[_ngcontent-%COMP%]{font-size:9px;text-align:justify;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bold[_ngcontent-%COMP%]{font-weight:700}@media print{.displayNone1[_ngcontent-%COMP%]{display:none}}@page{size[_ngcontent-%COMP%]:auto;margin:0}"]}),t})();function Nh(...t){let e=t[t.length-1];return x(e)?(t.pop(),j(t,e)):$(t)}class Dh extends S{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}class jh extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Mh extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Fh(t,e,n,r,s=new Mh(t,n,r)){if(!s.closed)return e instanceof _?e.subscribe(s):D(e)(s)}const Vh={};class Lh{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Uh(t,this.resultSelector))}}class Uh extends jh{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Vh),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function zh(...t){return q(1)(Nh(...t))}const qh=new _(t=>t.complete());function $h(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):qh}function Bh(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?M(n):$h()).subscribe(e)})}function Gh(t,e){return"function"==typeof e?n=>n.pipe(Gh((n,r)=>M(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))))):e=>e.lift(new Wh(t))}class Wh{constructor(t){this.project=t}call(t,e){return e.subscribe(new Qh(t,this.project))}}class Qh extends V{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new F(this),r=this.destination;r.add(n),this.innerSubscription=L(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Zh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Kh(t){return e=>0===t?$h():e.lift(new Jh(t))}class Jh{constructor(t){if(this.total=t,this.total<0)throw new Zh}call(t,e){return e.subscribe(new Xh(t,this.total))}}class Xh extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Yh(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new td(t,e,n))}}class td{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new ed(t,this.accumulator,this.seed,this.hasSeed))}}class ed extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function nd(t,e){return function(n){return n.lift(new rd(t,e))}}class rd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new sd(t,this.predicate,this.thisArg))}}class sd extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}function id(t){return function(e){const n=new od(t),r=e.lift(n);return n.caught=r}}class od{constructor(t){this.selector=t}call(t,e){return e.subscribe(new ad(t,this.selector,this.caught))}}class ad extends V{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new F(this);this.add(r);const s=L(n,r);s!==r&&this.add(s)}}}function ld(t,e){return U(t,e,1)}function cd(t){return function(e){return 0===t?$h():e.lift(new ud(t))}}class ud{constructor(t){if(this.total=t,this.total<0)throw new Zh}call(t,e){return e.subscribe(new hd(t,this.total))}}class hd extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;se.lift(new pd(t))}class pd{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new fd(t,this.errorFactory))}}class fd extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function md(){return new Hh}function gd(t=null){return e=>e.lift(new yd(t))}class yd{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new _d(t,this.defaultValue))}}class _d extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function vd(t,e){const n=arguments.length>=2;return r=>r.pipe(t?nd((e,n)=>t(e,n,r)):y,Kh(1),n?gd(e):dd(()=>new Hh))}function bd(){}function wd(t,e,n){return function(r){return r.lift(new Cd(t,e,n))}}class Cd{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Sd(t,this.nextOrObserver,this.error,this.complete))}}class Sd extends f{constructor(t,e,n,s){super(t),this._tapNext=bd,this._tapError=bd,this._tapComplete=bd,this._tapError=n||bd,this._tapComplete=s||bd,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||bd,this._tapError=e.error||bd,this._tapComplete=e.complete||bd)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class Ed{constructor(t){this.callback=t}call(t,e){return e.subscribe(new xd(t,this.callback))}}class xd extends f{constructor(t,e){super(t),this.add(new h(e))}}class Td{constructor(t,e){this.id=t,this.url=e}}class Ad extends Td{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Od extends Td{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class kd extends Td{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Pd extends Td{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Rd extends Td{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Id extends Td{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nd extends Td{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Dd extends Td{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jd extends Td{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Md{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fd{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Vd{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ld{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ud{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hd{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zd{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const qd="primary";class $d{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Bd(t){return new $d(t)}function Gd(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Wd(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function Kd(t){return Array.prototype.concat.apply([],t)}function Jd(t){return t.length>0?t[t.length-1]:null}function Xd(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Yd(t){return go(t)?t:mo(t)?M(Promise.resolve(t)):Nh(t)}function tp(t,e,n){return n?function(t,e){return Qd(t,e)}(t.queryParams,e.queryParams)&&ep(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Zd(t[n],e[n]))}(t.queryParams,e.queryParams)&&np(t.root,e.root)}function ep(t,e){if(!ap(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!ep(t.children[n],e.children[n]))return!1}return!0}function np(t,e){return rp(t,e,e.segments)}function rp(t,e,n){if(t.segments.length>n.length)return!!ap(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!ap(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!np(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!ap(t.segments,r)&&!!t.children.primary&&rp(t.children.primary,e,s)}}class sp{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bd(this.queryParams)),this._queryParamMap}toString(){return up.serialize(this)}}class ip{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Xd(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hp(this)}}class op{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Bd(this.parameters)),this._parameterMap}toString(){return _p(this)}}function ap(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class lp{}class cp{parse(t){const e=new Sp(t);return new sp(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${dp(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${fp(e)}=${fp(t)}`).join("&"):`${fp(e)}=${fp(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const up=new cp;function hp(t){return t.segments.map(t=>_p(t)).join("/")}function dp(t,e){if(!t.hasChildren())return hp(t);if(e){const e=t.children.primary?dp(t.children.primary,!1):"",n=[];return Xd(t.children,(t,e)=>{e!==qd&&n.push(`${e}:${dp(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Xd(t.children,(t,r)=>{r===qd&&(n=n.concat(e(t,r)))}),Xd(t.children,(t,r)=>{r!==qd&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===qd?[dp(t.children.primary,!1)]:[`${n}:${dp(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${hp(t)}/${e[0]}`:`${hp(t)}/(${e.join("//")})`}}function pp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fp(t){return pp(t).replace(/%3B/gi,";")}function mp(t){return pp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gp(t){return decodeURIComponent(t)}function yp(t){return gp(t.replace(/\+/g,"%20"))}function _p(t){return`${mp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${mp(t)}=${mp(e[t])}`).join("")}`;var e}const vp=/^[^\/()?;=#]+/;function bp(t){const e=t.match(vp);return e?e[0]:""}const wp=/^[^=?&#]+/,Cp=/^[^?&#]+/;class Sp{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ip([],{}):new ip([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new ip(t,e)),n}parseSegment(){const t=bp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new op(gp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=bp(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=bp(this.remaining);t&&(n=t,this.capture(n))}t[gp(e)]=gp(n)}parseQueryParam(t){const e=function(t){const e=t.match(wp);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Cp);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=yp(e),s=yp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=bp(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=qd);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new ip([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Ep{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=xp(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=xp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Tp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Tp(t,this._root).map(t=>t.value)}}function xp(t,e){if(t===e.value)return e;for(const n of e.children){const e=xp(t,n);if(e)return e}return null}function Tp(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Tp(t,n);if(r.length)return r.unshift(e),r}return[]}class Ap{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Op(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class kp extends Ep{constructor(t,e){super(t),this.snapshot=e,jp(this,t)}toString(){return this.snapshot.toString()}}function Pp(t,e){const n=function(t,e){const n=new Np([],{},{},"",{},qd,e,null,t.root,-1,{});return new Dp("",new Ap(n,[]))}(t,e),r=new Dh([new op("",{})]),s=new Dh({}),i=new Dh({}),o=new Dh({}),a=new Dh(""),l=new Rp(r,s,o,a,i,qd,e,n.root);return l.snapshot=n.root,new kp(new Ap(l,[]),n)}class Rp{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(T(t=>Bd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>Bd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ip(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Np{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Bd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dp extends Ep{constructor(t,e){super(e),this.url=t,jp(this,e)}toString(){return Mp(this._root)}}function jp(t,e){e.value._routerState=t,e.children.forEach(e=>jp(t,e))}function Mp(t){const e=t.children.length>0?` { ${t.children.map(Mp).join(", ")} } `:"";return`${t.value}${e}`}function Fp(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Qd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Qd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nQd(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Vp(t.parent,e.parent))}function Lp(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Lp(t,e,r);return Lp(t,e)})}(t,e,n);return new Ap(r,s)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Up(e,t),t}{const n=new Rp(new Dh((r=e.value).url),new Dh(r.params),new Dh(r.queryParams),new Dh(r.fragment),new Dh(r.data),r.outlet,r.component,r),s=e.children.map(e=>Lp(t,e));return new Ap(n,s)}}var r}function Up(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new sp(n.root===t?e:$p(n.root,t,e),i,s)}function $p(t,e,n){const r={};return Xd(t.children,(t,s)=>{r[s]=t===e?n:$p(t,e,n)}),new ip(t.segments,r)}class Bp{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Hp(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(zp);if(r&&r!==Jd(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Gp{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Wp(t,e,n){if(t||(t=new ip([],{})),0===t.segments.length&&t.hasChildren())return Qp(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=n[r];if(zp(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Xp(a,l,e))return i;r+=2}else{if(!Xp(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=Wp(t.children[r],e,n))}),Xd(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new ip(t.segments,s)}}function Zp(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Zp(new ip([],{}),0,t))}),e}function Jp(t){const e={};return Xd(t,(t,n)=>e[n]=`${t}`),e}function Xp(t,e,n){return t==n.path&&Qd(e,n.parameters)}class Yp{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Fp(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Op(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Xd(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=Op(t);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const r=Op(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Hd(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Ld(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Fp(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),tf(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function tf(t){Fp(t.value),t.children.forEach(tf)}class ef{constructor(t,e){this.routes=t,this.module=e}}function nf(t){return"function"==typeof t}function rf(t){return t instanceof sp}const sf=Symbol("INITIAL_VALUE");function of(){return Gh(t=>function(...t){let e,n;return x(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),$(t,n).lift(new Lh(e))}(t.map(t=>t.pipe(Kh(1),function(...t){const e=t[t.length-1];return x(e)?(t.pop(),n=>zh(t,n,e)):e=>zh(t,e)}(sf)))).pipe(Yh((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==sf)return t;if(r===sf&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||rf(r))return r}return t},t)},sf),nd(t=>t!==sf),T(t=>rf(t)?t:!0===t),Kh(1)))}let af=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&uo(0,"router-outlet")},directives:function(){return[Xf]},encapsulation:2}),t})();function lf(t,e=""){for(let n=0;ndf(t)===e);return n.push(...t.filter(t=>df(t)!==e)),n}const ff={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function mf(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},ff):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||Wd)(n,t,e);if(!s)return Object.assign({},ff);const i={};Xd(s.posParams,(t,e)=>{i[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function gf(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>yf(t,e,n)&&df(n)!==qd)}(t,n,r)){const s=new ip(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&df(i)!==qd){const n=new ip([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[df(i)]=n}return s}(t,e,r,new ip(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>yf(t,e,n))}(t,n,r)){const i=new ip(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(yf(t,n,a)&&!s[df(a)]){const n=new ip([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[df(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new ip(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function yf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function _f(t,e,n,r){return!!(df(t)===r||r!==qd&&yf(e,n,t))&&("**"===t.path||mf(e,t,n).matched)}function vf(t,e,n){return 0===e.length&&!t.children[n]}class bf{constructor(t){this.segmentGroup=t||null}}class wf{constructor(t){this.urlTree=t}}function Cf(t){return new _(e=>e.error(new bf(t)))}function Sf(t){return new _(e=>e.error(new wf(t)))}function Ef(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class xf{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Ba)}apply(){const t=gf(this.urlTree.root,[],[],this.config).segmentGroup,e=new ip(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,qd).pipe(T(t=>this.createUrlTree(Tf(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(id(t=>{if(t instanceof wf)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof bf)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,qd).pipe(T(e=>this.createUrlTree(Tf(e),t.queryParams,t.fragment))).pipe(id(t=>{if(t instanceof bf)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new ip([],{[qd]:t}):t;return new sp(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new ip([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return M(r).pipe(ld(r=>{const s=n.children[r],i=pf(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(T(t=>({segment:t,outlet:r})))}),Yh((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?nd((e,n)=>t(e,n,r)):y,cd(1),n?gd(e):dd(()=>new Hh))}())}expandSegment(t,e,n,r,s,i){return M(n).pipe(ld(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(id(t=>{if(t instanceof bf)return Nh(null);throw t}))),vd(t=>!!t),id((t,n)=>{if(t instanceof Hh||"EmptyError"===t.name){if(vf(e,r,s))return Nh(new ip([],{}));throw new bf(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return _f(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Cf(e):Cf(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Sf(s):this.lineralizeSegments(n,s).pipe(U(n=>{const s=new ip(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=mf(e,r,s);if(!o)return Cf(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Sf(u):this.lineralizeSegments(r,u).pipe(U(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Nh(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(T(t=>(n._loadedConfig=t,new ip(r,{})))):Nh(new ip(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=mf(e,n,r);if(!i)return Cf(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(U(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:c}=gf(e,o,l,i),u=new ip(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,i,u).pipe(T(t=>new ip(o,t)));if(0===i.length&&0===c.length)return Nh(new ip(o,{}));const h=df(n)===s;return this.expandSegment(r,u,i,c,h?qd:s,!0).pipe(T(t=>new ip(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Nh(new ef(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Nh(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(U(n=>n?this.configLoader.load(t.injector,e).pipe(T(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error(Gd(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Nh(new ef([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Nh(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&nf(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!nf(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Yd(i)})).pipe(of(),wd(t=>{if(!rf(t))return;const e=Gd(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Nh(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Nh(n);if(r.numberOfChildren>1||!r.children.primary)return Ef(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new sp(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Xd(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Xd(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new ip(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Tf(t){const e={};for(const n of Object.keys(t.children)){const r=Tf(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new ip(t.segments.concat(e.segments),e.children)}return t}(new ip(t.segments,e))}class Af{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Of{constructor(t,e){this.component=t,this.route=e}}function kf(t,e,n){const r=t._root;return Rf(r,e?e._root:null,n,[r.value])}function Pf(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Rf(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Op(e);return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!ap(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ap(t.url,e.url)||!Qd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vp(t,e)||!Qd(t.queryParams,e.queryParams);case"paramsChange":default:return!Vp(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Af(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Rf(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Of(a.outlet.component,o))}else o&&If(e,a,s),s.canActivateChecks.push(new Af(r)),Rf(t,null,i.component?a?a.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),Xd(i,(t,e)=>If(t,n.getContext(e),s)),s}function If(t,e,n){const r=Op(t),s=t.value;Xd(r,(t,r)=>{If(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Of(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Nf{}function Df(t){return new _(e=>e.error(t))}class jf{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const t=gf(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,qd);if(null===e)return null;const n=new Np([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},qd,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ap(n,e),s=new Dp(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Ip(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const r=e.children[s],i=pf(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=function(t){const e=[];for(const n of t){if(!Mf(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return r.sort((t,e)=>t.value.outlet===qd?-1:e.value.outlet===qd?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,r);if(null!==t)return t}return vf(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!_f(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?Jd(n).parameters:{};s=new Np(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Lf(t),df(t),t.component,t,Ff(e),Vf(e)+n.length,Uf(t))}else{const r=mf(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Np(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Lf(t),df(t),t.component,t,Ff(e),Vf(e)+i.length,Uf(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=gf(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Ap(s,t)]}if(0===a.length&&0===c.length)return[new Ap(s,[])];const u=df(t)===r,h=this.processSegment(a,l,c,u?qd:r);return null===h?null:[new Ap(s,h)]}}function Mf(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ff(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Vf(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Lf(t){return t.data||{}}function Uf(t){return t.resolve||{}}function Hf(t){return Gh(e=>{const n=t(e);return n?M(n).pipe(T(()=>e)):Nh(e)})}class zf extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const qf=new Ln("ROUTES");class $f{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(T(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new ef(Kd(r.injector.get(qf,void 0,vt.Self|vt.Optional)).map(hf),r)}),id(t=>{throw e._loader$=void 0,t}));return e._loader$=new Q(n,()=>new S).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?M(this.loader.load(t)):Yd(t()).pipe(U(t=>t instanceof Ga?Nh(t):M(this.compiler.compileModuleAsync(t))))}}class Bf{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Gf,this.attachRef=null}}class Gf{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Bf,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Wf{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Qf(t){throw t}function Zf(t,e,n){return e.parse("/")}function Kf(t,e){return Nh(null)}let Jf=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=Qf,this.malformedUriErrorHandler=Zf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kf,afterPreactivation:Kf},this.urlHandlingStrategy=new Wf,this.routeReuseStrategy=new zf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(Ba),this.console=s.get(yl);const l=s.get(Pl);this.isNgZoneEnabled=l instanceof Pl&&Pl.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new sp(new ip([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new $f(i,o,t=>this.triggerEvent(new Md(t)),t=>this.triggerEvent(new Fd(t))),this.routerState=Pp(this.currentUrlTree,this.rootComponentType),this.transitions=new Dh({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(nd(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Gh(t=>{let n=!1,r=!1;return Nh(t).pipe(wd(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Gh(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Nh(t).pipe(Gh(t=>{const n=this.transitions.getValue();return e.next(new Ad(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?qh:Promise.resolve(t)}),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,Gh(t=>function(t,e,n,r,s){return new xf(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(T(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),wd(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return U(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const o=new jf(t,e,n,r,s,i).recognize();return null===o?Df(new Nf):Nh(o)}catch(o){return Df(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(T(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),wd(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new Rd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Ad(n,this.serializeUrl(r),s,i);e.next(a);const l=Pp(r,this.rootComponentType).snapshot;return Nh(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),qh}),Hf(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),wd(t=>{const e=new Id(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:kf(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return U(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Nh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return M(t).pipe(U(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Nh(i.map(i=>{const o=Pf(i,e,s);let a;if(function(t){return t&&nf(t.canDeactivate)}(o))a=Yd(o.canDeactivate(t,e,n,r));else{if(!nf(o))throw new Error("Invalid CanDeactivate guard");a=Yd(o(t,e,n,r))}return a.pipe(vd())})).pipe(of()):Nh(!0)}(t.component,t.route,n,e,r)),vd(t=>!0!==t,!0))}(o,r,s,t).pipe(U(n=>n&&"boolean"==typeof n?function(t,e,n,r){return M(e).pipe(ld(e=>zh(function(t,e){return null!==t&&e&&e(new Vd(t)),Nh(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Ud(t)),Nh(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Bh(()=>Nh(e.guards.map(s=>{const i=Pf(s,e.node,n);let o;if(function(t){return t&&nf(t.canActivateChild)}(i))o=Yd(i.canActivateChild(r,t));else{if(!nf(i))throw new Error("Invalid CanActivateChild guard");o=Yd(i(r,t))}return o.pipe(vd())})).pipe(of())));return Nh(s).pipe(of())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Nh(r.map(r=>Bh(()=>{const s=Pf(r,e,n);let i;if(function(t){return t&&nf(t.canActivate)}(s))i=Yd(s.canActivate(e,t));else{if(!nf(s))throw new Error("Invalid CanActivate guard");i=Yd(s(e,t))}return i.pipe(vd())}))).pipe(of()):Nh(!0)}(t,e.route,n))),vd(t=>!0!==t,!0))}(r,i,t,e):Nh(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),wd(t=>{if(rf(t.guardsResult)){const e=Gd(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Nd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),nd(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new kd(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Hf(t=>{if(t.guards.canActivateChecks.length)return Nh(t).pipe(wd(t=>{const e=new Dd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Gh(t=>{let n=!1;return Nh(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,U(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Nh(t);let i=0;return M(n).pipe(ld(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Nh({});const i={};return M(s).pipe(U(s=>function(t,e,n,r){const s=Pf(t,e,r);return Yd(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(wd(t=>{i[s]=t}))),cd(1),U(()=>Object.keys(i).length===s.length?Nh(i):qh))}(t._resolve,t,e,r).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Ip(t,n).resolve),null)))}(t.route,e,r,s)),wd(()=>i++),cd(1),U(e=>i===n.length?Nh(t):qh))})),wd({next:()=>n=!0,complete:()=>{if(!n){const n=new kd(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),wd(t=>{const e=new jd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Hf(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),T(t=>{const e=function(t,e,n){const r=Lp(t,e._root,n?n._root:void 0);return new kp(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),wd(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),T(t=>(new Yp(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),wd({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new kd(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new Ed(s))),id(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=rf(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new kd(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Pd(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return qh}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){lf(t),this.config=t.map(hf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return qp(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Bp(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Xd(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Bp(n,e,r)}(n);if(i.toRoot())return qp(e.root,new ip([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Gp(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Gp(t,t===e.root,0)}const r=Hp(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Gp(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?Qp(o.segmentGroup,o.index,i.commands):Wp(o.segmentGroup,o.index,i.commands);return qp(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=rf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new Od(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(er(Hn),er(lp),er(Gf),er(Sc),er(Bi),er(Xl),er(Al),er(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Xf=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ll,this.deactivateEvents=new ll,this.name=r||qd,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Yf(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(io(Gf),io(Qa),io(la),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new $f(e,n,e=>t.triggerEvent(new Md(e)),e=>t.triggerEvent(new Fd(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(nd(t=>t instanceof Od),ld(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Ba);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return M(n).pipe(q(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Nh(e._loadedConfig):this.loader.load(t.injector,e)).pipe(U(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(er(Jf),er(Xl),er(Al),er(Bi),er(tm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),rm=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ad?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Od&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof zd&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new zd(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(er(Jf),er(Dc),er(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const sm=new Ln("ROUTER_CONFIGURATION"),im=new Ln("ROUTER_FORROOT_GUARD"),om=[Sc,{provide:lp,useClass:cp},{provide:Jf,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new Jf(null,t,e,n,r,s,i,Kd(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing){const t=ac();u.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[lp,Gf,Sc,Bi,Xl,Al,qf,sm,[class{},new ir],[class{},new ir]]},Gf,{provide:Rp,useFactory:function(t){return t.routerState.root},deps:[Jf]},{provide:Xl,useClass:ec},nm,em,class{preload(t,e){return e().pipe(id(()=>Nh(null)))}},{provide:sm,useValue:{enableTracing:!1}}];function am(){return new Bl("Router",Jf)}let lm=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[om,dm(e),{provide:im,useFactory:hm,deps:[[Jf,new ir,new or]]},{provide:sm,useValue:n||{}},{provide:_c,useFactory:um,deps:[cc,[new sr(bc),new ir],sm]},{provide:rm,useFactory:cm,deps:[Jf,Dc,sm]},{provide:tm,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:em},{provide:Bl,multi:!0,useFactory:am},[pm,{provide:cl,multi:!0,useFactory:fm,deps:[pm]},{provide:gm,useFactory:mm,deps:[pm]},{provide:gl,multi:!0,useExisting:gm}]]}}static forChild(e){return{ngModule:t,providers:[dm(e)]}}}return t.\u0275fac=function(e){return new(e||t)(er(im,8),er(Jf,8))},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({}),t})();function cm(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new rm(t,e,n)}function um(t,e,n={}){return n.useHash?new Cc(t,e):new wc(t,e)}function hm(t){return"guarded"}function dm(t){return[{provide:Un,multi:!0,useValue:t},{provide:qf,multi:!0,useValue:t}]}let pm=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(hc,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Jf),r=this.injector.get(sm);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Nh(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(sm),n=this.injector.get(nm),r=this.injector.get(rm),s=this.injector.get(Jf),i=this.injector.get(Kl);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(er(Bi))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function fm(t){return t.appInitializer.bind(t)}function mm(t){return t.bootstrapListener.bind(t)}const gm=new Ln("Router Initializer");let ym=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}redirect(){this.router.navigate(["imp"])}}return t.\u0275fac=function(e){return new(e||t)(io(Jf))},t.\u0275cmp=Ht({type:t,selectors:[["app-mail"]],decls:7,vars:0,consts:[["id","content"],["id","dados",1,"container"],[1,"title"],[1,"page-header"],[1,"mb-1","col-sm-12"],["type","button","value","IMPRIMIR",1,"btn","btn-primary","btn-lg","ml-5","mt-2",3,"click"]],template:function(t,e){1&t&&(lo(0,"div",0),lo(1,"div",1),lo(2,"div",2),lo(3,"h3",3),Ho(4,"Seu formul\xe1rio foi enviado com sucesso!"),co(),lo(5,"div",4),lo(6,"input",5),yo("click",function(){return e.redirect()}),co(),co(),co(),co(),co())},styles:["#content[_ngcontent-%COMP%]{font-size:2rem;border:1px solid grey;margin:100px auto;width:75%;height:100%}#dados[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}@media (max-width:600px){#content[_ngcontent-%COMP%]{font-size:.2rem}}"]}),t})();class _m{constructor(){this.matricula="",this.nome="",this.nomeM="",this.nomeP="",this.dataN=null,this.naturalidade="",this.ufN="",this.naoAcumuloionalidade="",this.estadoC="",this.sexo="",this.pd="",this.td="",this.cpf="",this.ppn="",this.rg="",this.oe="",this.ufrg="",this.dataE=null,this.te="",this.zona="",this.secao="",this.uftitulo="",this.logradouro="",this.numero="",this.complemento="",this.bairro="",this.cep="",this.cidade="",this.uf="",this.telefone="",this.celular="",this.email="",this.dataA=null,this.ts="",this.oc="",this.ac=null,this.label1="",this.label2="",this.label3="",this.oo="",this.cEf="",this.cHs="",this.label4="",this.label5=""}}class vm{}class bm{}class wm{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof wm?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new wm;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof wm?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Cm{encodeKey(t){return Sm(t)}encodeValue(t){return Sm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Sm(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Em{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Cm,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Em({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function xm(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Tm(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Am(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Om{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new wm),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Om(e,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}var km=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Pm{constructor(t,e=200,n="OK"){this.headers=t.headers||new wm,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Rm extends Pm{constructor(t={}){super(t),this.type=km.ResponseHeader}clone(t={}){return new Rm({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Im extends Pm{constructor(t={}){super(t),this.type=km.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Im({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Nm extends Pm{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Dm(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let jm=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Om)r=t;else{let s,i;s=n.headers instanceof wm?n.headers:new wm(n.headers),n.params&&(i=n.params instanceof Em?n.params:new Em({fromObject:n.params})),r=new Om(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Nh(r).pipe(ld(t=>this.handler.handle(t)));if(t instanceof Om||"events"===n.observe)return s;const i=s.pipe(nd(t=>t instanceof Im));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(T(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(T(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Em).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Dm(n,e))}post(t,e,n={}){return this.request("POST",t,Dm(n,e))}put(t,e,n={}){return this.request("PUT",t,Dm(n,e))}}return t.\u0275fac=function(e){return new(e||t)(er(vm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Mm{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Fm=new Ln("HTTP_INTERCEPTORS");let Vm=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Lm=/^\)\]\}',?\n/;class Um{}let Hm=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),zm=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new wm(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new Rm({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Lm,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Im({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new Nm({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new Nm({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:km.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:km.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:km.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(er(Um))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const qm=new Ln("XSRF_COOKIE_NAME"),$m=new Ln("XSRF_HEADER_NAME");class Bm{}let Gm=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=kc(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(er(lc),er(ml),er(qm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Wm=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(er(Bm),er($m))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Qm=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(Fm,[]);this.chain=t.reduceRight((t,e)=>new Mm(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(er(bm),er(Bi))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Zm=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Wm,useClass:Vm}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:qm,useValue:e.cookieName}:[],e.headerName?{provide:$m,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:[Wm,{provide:Fm,useExisting:Wm,multi:!0},{provide:Bm,useClass:Gm},{provide:qm,useValue:"XSRF-TOKEN"},{provide:$m,useValue:"X-XSRF-TOKEN"}]}),t})(),Km=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({providers:[jm,{provide:vm,useClass:Qm},zm,{provide:bm,useExisting:zm},Hm,{provide:Um,useExisting:Hm}],imports:[[Zm.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),Jm=(()=>{class t{constructor(t,e){this.http=t,this.router=e,this.api="https://apidigital.me:4002/",this.httpOptions={headers:new wm({"Content-Type":"application/json"})}}setRecadastramento(t){return new Promise((e,n)=>{this.http.post(this.api+"site/setRecadastramento",JSON.stringify(t),this.httpOptions).subscribe(t=>{e(t)},t=>{n(t)})})}}return t.\u0275fac=function(e){return new(e||t)(er(jm),er(Jf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Xm{}const Ym="*";function tg(t,e=null){return{type:4,styles:e,timings:t}}function eg(t,e=null){return{type:2,steps:t,options:e}}function ng(t){return{type:6,styles:t,offset:null}}function rg(t,e,n){return{type:0,name:t,styles:e,options:n}}function sg(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function ig(t){Promise.resolve(null).then(t)}class og{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ig(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ag{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?ig(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const lg=["toast-component",""];function cg(t,e){if(1&t){const t=fo();lo(0,"button",5),yo("click",function(){return ke(t),bo().remove()}),lo(1,"span",6),Ho(2,"\xd7"),co(),co()}}function ug(t,e){if(1&t&&(ho(0),Ho(1),po()),2&t){const t=bo(2);js(1),zo("[",t.duplicatesCount+1,"]")}}function hg(t,e){if(1&t&&(lo(0,"div"),Ho(1),so(2,ug,2,1,"ng-container",4),co()),2&t){const t=bo();Po(t.options.titleClass),ro("aria-label",t.title),js(1),zo(" ",t.title," "),js(1),oo("ngIf",t.duplicatesCount)}}function dg(t,e){if(1&t&&uo(0,"div",7),2&t){const t=bo();Po(t.options.messageClass),oo("innerHTML",t.message,$r)}}function pg(t,e){if(1&t&&(lo(0,"div",8),Ho(1),co()),2&t){const t=bo();Po(t.options.messageClass),ro("aria-label",t.message),js(1),zo(" ",t.message," ")}}function fg(t,e){if(1&t&&(lo(0,"div"),uo(1,"div",9),co()),2&t){const t=bo();js(1),Oo("width",t.width+"%")}}function mg(t,e){if(1&t){const t=fo();lo(0,"button",5),yo("click",function(){return ke(t),bo().remove()}),lo(1,"span",6),Ho(2,"\xd7"),co(),co()}}function gg(t,e){if(1&t&&(ho(0),Ho(1),po()),2&t){const t=bo(2);js(1),zo("[",t.duplicatesCount+1,"]")}}function yg(t,e){if(1&t&&(lo(0,"div"),Ho(1),so(2,gg,2,1,"ng-container",4),co()),2&t){const t=bo();Po(t.options.titleClass),ro("aria-label",t.title),js(1),zo(" ",t.title," "),js(1),oo("ngIf",t.duplicatesCount)}}function _g(t,e){if(1&t&&uo(0,"div",7),2&t){const t=bo();Po(t.options.messageClass),oo("innerHTML",t.message,$r)}}function vg(t,e){if(1&t&&(lo(0,"div",8),Ho(1),co()),2&t){const t=bo();Po(t.options.messageClass),ro("aria-label",t.message),js(1),zo(" ",t.message," ")}}function bg(t,e){if(1&t&&(lo(0,"div"),uo(1,"div",9),co()),2&t){const t=bo();js(1),Oo("width",t.width+"%")}}class wg{constructor(t,e,n,r,s,i){this.toastId=t,this.config=e,this.message=n,this.title=r,this.toastType=s,this.toastRef=i,this._onTap=new S,this._onAction=new S,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}}const Cg={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Sg=new Ln("ToastConfig");class Eg{constructor(t,e){this.component=t,this.injector=e}attach(t,e){return this._attachedHost=t,t.attach(this,e)}detach(){const t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class xg extends class{attach(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}}{constructor(t,e,n){super(),this._hostDomElement=t,this._componentFactoryResolver=e,this._appRef=n}attachComponentPortal(t,e){const n=this._componentFactoryResolver.resolveComponentFactory(t.component);let r;return r=n.create(t.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Tg=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(er(lc))},t.\u0275prov=ut({factory:function(){return new t(er(lc))},token:t,providedIn:"root"}),t})();class Ag{constructor(t){this._portalHost=t}attach(t,e=!0){return this._portalHost.attach(t,e)}detach(){return this._portalHost.detach()}}let Og=(()=>{class t{constructor(t,e,n,r){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=r,this._paneElements=new Map}create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(t){return new xg(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new Ag(this._createPortalHost(t))}}return t.\u0275fac=function(e){return new(e||t)(er(Tg),er(la),er(Kl),er(lc))},t.\u0275prov=ut({factory:function(){return new t(er(Tg),er(la),er(Kl),er(lc))},token:t,providedIn:"root"}),t})();class kg{constructor(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new S,this._activate=new S,this._manualClose=new S,this._resetTimeout=new S,this._countDuplicate=new S}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class Pg{constructor(t,e){this._toastPackage=t,this._parentInjector=e}get(t,e,n){return t===wg?this._toastPackage:this._parentInjector.get(t,e,n)}}let Rg=(()=>{class t{constructor(t,e,n,r,s){this.overlay=e,this._injector=n,this.sanitizer=r,this.ngZone=s,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},t.default.iconClasses),t.config.iconClasses))}show(t,e,n={},r=""){return this._preBuildNotification(r,t,e,this.applyConfig(n))}success(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))}error(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))}info(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))}warning(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))}clear(t){for(const e of this.toasts)if(void 0!==t){if(e.toastId===t)return void e.toastRef.manualClose()}else e.toastRef.manualClose()}remove(t){const e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActivethis._buildNotification(t,e,n,r)):this._buildNotification(t,e,n,r)}_buildNotification(t,e,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(n,e,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||e)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=e;let i=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(i=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const o=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let a=e;e&&r.enableHtml&&(a=this.sanitizer.sanitize(qr.HTML,e));const l=new kg(o),c=new wg(this.index,r,a,n,t,l),u=new Pg(c,this._injector),h=new Eg(r.toastComponent,u),d=o.attach(h,this.toastrConfig.newestOnTop);l.componentInstance=d.instance;const p={toastId:this.index,title:n||"",message:e||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:c.onTap(),onAction:c.onAction(),portal:d};return i||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{p.toastRef.activate()})),this.toasts.push(p),p}}return t.\u0275fac=function(e){return new(e||t)(er(Sg),er(Og),er(Bi),er(lu),er(Pl))},t.\u0275prov=ut({factory:function(){return new t(er(Sg),er(Og),er(ki),er(lu),er(Pl))},token:t,providedIn:"root"}),t})(),Ig=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}}var e;return t.\u0275fac=function(e){return new(e||t)(io(Rg),io(wg),io(Pl))},t.\u0275cmp=Ht({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,e){1&t&&yo("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(qo("@flyInOut",e.state),Po(e.toastClasses),Oo("display",e.displayStyle))},attrs:lg,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(so(0,cg,3,0,"button",0),so(1,hg,3,5,"div",1),so(2,dg,1,3,"div",2),so(3,pg,2,4,"div",3),so(4,fg,2,2,"div",4)),2&t&&(oo("ngIf",e.options.closeButton),js(1),oo("ngIf",e.title),js(1),oo("ngIf",e.message&&e.options.enableHtml),js(1),oo("ngIf",e.message&&!e.options.enableHtml),js(1),oo("ngIf",e.options.progressBar))},directives:[Pc],encapsulation:2,data:{animation:[(e=[rg("inactive",ng({opacity:0})),rg("active",ng({opacity:1})),rg("removed",ng({opacity:0})),sg("inactive => active",tg("{{ easeTime }}ms {{ easing }}")),sg("active => removed",tg("{{ easeTime }}ms {{ easing }}"))],{type:7,name:"flyInOut",definitions:e,options:{}})]}}),t})();const Ng=Object.assign(Object.assign({},Cg),{toastComponent:Ig});let Dg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:Sg,useValue:{default:Ng,config:e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({imports:[[Nc]]}),t})(),jg=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return t.\u0275fac=function(e){return new(e||t)(io(Rg),io(wg),io(Kl))},t.\u0275cmp=Ht({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,e){1&t&&yo("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(Po(e.toastClasses),Oo("display",e.displayStyle))},attrs:lg,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(so(0,mg,3,0,"button",0),so(1,yg,3,5,"div",1),so(2,_g,1,3,"div",2),so(3,vg,2,4,"div",3),so(4,bg,2,2,"div",4)),2&t&&(oo("ngIf",e.options.closeButton),js(1),oo("ngIf",e.title),js(1),oo("ngIf",e.message&&e.options.enableHtml),js(1),oo("ngIf",e.message&&!e.options.enableHtml),js(1),oo("ngIf",e.options.progressBar))},directives:[Pc],encapsulation:2}),t})();Object.assign(Object.assign({},Cg),{toastComponent:jg});const Mg=[{path:"",component:(()=>{class t{constructor(t,e,n,r){this.formBuilder=t,this.router=e,this.service=n,this.toastr=r}ngOnInit(){this.createCadastro(new _m)}createCadastro(t){this.formCadastro=this.formBuilder.group({matricula:[t.matricula,xu.required],nome:[t.nome,xu.required],nomeM:[t.nomeM,xu.required],nomeP:[t.nomeP,xu.required],dataN:[t.dataN,xu.required],naturalidade:[t.naturalidade,xu.required],ufN:[t.ufN,xu.required],naoAcumuloionalidade:[t.naoAcumuloionalidade,xu.required],estadoC:[t.estadoC,xu.required],sexo:[t.sexo,xu.required],pd:[t.pd,xu.required],td:[t.td,xu.required],cpf:[t.cpf,xu.required],ppn:[t.ppn,xu.required],rg:[t.rg,xu.required],oe:[t.oe,xu.required],ufrg:[t.ufrg,xu.required],dataE:[t.dataE,xu.required],te:[t.te,xu.required],zona:[t.zona,xu.required],secao:[t.secao,xu.required],uftitulo:[t.uftitulo,xu.required],logradouro:[t.logradouro,xu.required],numero:[t.numero,xu.required],complemento:[t.complemento,xu.required],bairro:[t.bairro,xu.required],cep:[t.cep,xu.required],cidade:[t.cidade,xu.required],uf:[t.uf,xu.required],telefone:[t.telefone,xu.required],celular:[t.celular,xu.required],email:[t.email,xu.required],dataA:[t.dataA,xu.required],ts:[t.ts,xu.required],oc:[t.oc,xu.required],ac:[t.ac],label1:[t.label1],label2:[t.label2],label3:[t.label3],oo:[t.oo],cEf:[t.cEf],cHs:[t.cHs],label4:[t.label4],label5:[t.label5]})}onSubmit(){this.formCadastro.reset(new _m)}getDcl(){let t=document.getElementById("ac"),e=document.getElementById("naoAcumulo"),n=document.getElementById("dcl3"),r=document.getElementById("dcl4"),s=document.getElementById("dcl5");e.checked&&(n.setAttribute("hidden","hidden"),r.setAttribute("hidden","hidden"),s.setAttribute("hidden","hidden")),t.checked&&(n.removeAttribute("hidden"),r.removeAttribute("hidden"),s.removeAttribute("hidden"))}successmsg(){this.toastr.success("Formul\xe1rio enviado com sucesso!","Success")}errorsmsg(){this.toastr.error("Erro ao enviar formul\xe1rio!","Erro")}infomsg(t){this.toastr.info(t,"Preenchimento",{positionClass:"toast-top-right",closeButton:!0,timeOut:3e3})}redirect(){var t=this.formCadastro.value;let e=document.getElementById("naoRecebo"),n=document.getElementById("recebo"),r=document.getElementById("naoAcumulo"),s=document.getElementById("ac"),i=document.getElementById("dcProfessor"),o=document.getElementById("uP"),a=document.getElementById("dc"),l=document.getElementById("oo"),c=document.getElementById("cha"),u=document.getElementById("chNa"),h=document.getElementById("npAuxilio"),d=document.getElementById("pAuxilio"),p=document.getElementById("label1"),f=document.getElementById("label2"),m=document.getElementById("label3"),g=document.getElementById("label4"),y=document.getElementById("label5"),_=document.getElementById("label6"),v=document.getElementById("label7"),b=(document.getElementById("label8"),document.getElementById("label9")),w=document.getElementById("label10"),C=document.getElementById("label11"),S=document.getElementById("label12");if(e.checked&&(t.label1=p.innerHTML),n.checked&&(t.label1=f.innerHTML),r.checked&&(t.label2=m.innerHTML),s.checked&&(t.label2=g.innerHTML),i.checked&&(t.label3=y.innerHTML),o.checked&&(t.label3=_.innerHTML),a.checked&&(t.label3=v.innerHTML),l.checked&&(t.label3="OUTRO \xd3RG\xc3O"),c.checked&&(t.label4=b.innerHTML),u.checked&&(t.label4=w.innerHTML),h.checked&&(t.label5=C.innerHTML),d.checked&&(t.label5=S.innerHTML),!this.formCadastro.valid){if(!(t=this.formCadastro.value).matricula)return void this.infomsg("Preencha a matr\xedcula");if(!t.nome)return void this.infomsg("Preencha o nome");if(!t.nomeM)return void this.infomsg("Preencha o nome da m\xe3e");if(!t.nomeP)return void this.infomsg("Preencha o nome do pai");if(!t.dataN)return void this.infomsg("Preencha a data de nascimento");if(!t.naturalidade)return void this.infomsg("Preencha a naturalidade");if(!t.ufN)return void this.infomsg("Preencha o UF de nascimento");if(!t.naoAcumuloionalidade)return void this.infomsg("Preencha a naoAcumuloionalidade");if(!t.estadoC)return void this.infomsg("Preencha o estado civil");if(!t.sexo)return void this.infomsg("Preencha o sexo");if(!t.pd)return void this.infomsg("Preencha se possui defici\xeancia");if(!t.td)return void this.infomsg('Se n\xe3o possuir defici\xeancia, digite "N\xe3o possui" no campo Tipo de defici\xeancia');if(!t.cpf)return void this.infomsg("Preencha o cpf");if(!t.ppn)return void this.infomsg("Preencha PIS/PASEP/NIT.");if(!t.rg)return void this.infomsg("Preencha o RG");if(!t.oe)return void this.infomsg("Preencha o \xd3rg\xe3o emissor");if(!t.ufrg)return void this.infomsg("Preencha o UF RG");if(!t.dataE)return void this.infomsg("Preencha a Data de Emiss\xe3o");if(!t.te)return void this.infomsg("Preencha o T\xedtulo de Eleitor");if(!t.zona)return void this.infomsg("Preencha o n\xfamero da Zona");if(!t.secao)return void this.infomsg("Preencha o n\xfamero da Se\xe7\xe3o");if(!t.uftitulo)return void this.infomsg("Preencha o UF do T\xedtulo");if(!t.logradouro)return void this.infomsg("Preencha o Logradouro");if(!t.numero)return void this.infomsg("Preencha o n\xfamero");if(!t.complemento)return void this.infomsg("Preencha o Complemento");if(!t.bairro)return void this.infomsg("Preencha o Bairro");if(!t.cep)return void this.infomsg("Preencha o CEP");if(!t.ppn)return void this.infomsg("Preencha PIS/PASEP/NIT.");if(!t.cidade)return void this.infomsg("Preencha a Cidade");if(!t.uf)return void this.infomsg("Preencha o UF");if(!t.telefone)return void this.infomsg("Preencha o Telefone");if(!t.celular)return void this.infomsg("Preencha o Celular");if(!t.email)return void this.infomsg("Preencha o Email");if(!t.dataA)return void this.infomsg("Preencha a Data de Admiss\xe3o");if(!t.ts)return void this.infomsg("Preencha o Tipo de Servidor");if(!t.oc)return void this.infomsg("Preencha o \xd3rg\xe3o de Cess\xe3o")}this.service.setRecadastramento(this.formCadastro.value).then(t=>{if(1==t.dados){let t=JSON.stringify(this.formCadastro.value);localStorage.setItem("form",t),this.router.navigate(["imp"]),this.successmsg()}else this.errorsmsg()})}}return t.\u0275fac=function(e){return new(e||t)(io(Ph),io(Jf),io(Jm),io(Rg))},t.\u0275cmp=Ht({type:t,selectors:[["app-send"]],decls:284,vars:1,consts:[["id","content",1,"container"],["id","dados",1,"title"],[1,"page-header"],["name","cadastro","id","form","action","/send","method","POST",3,"formGroup","change","ngSubmit"],[1,"row"],[1,"mb-1","col-sm-4"],["for","mat",1,"form-label"],["type","text","id","mat","formControlName","matricula","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-8"],["for","nome",1,"form-label"],["type","text","id","nome","formControlName","nome","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-12"],["for","nomeM",1,"form-label"],["type","text","id","nomeM","formControlName","nomeM","required","",1,"form-control","text-capitalize"],["for","nomeP",1,"form-label"],["type","text","id","nomeP","formControlName","nomeP","required","",1,"form-control","text-capitalize"],["for","dataN",1,"form-label"],["type","date","id","date","formControlName","dataN","required","",1,"form-control","text-lowercase"],["for","naturalidade",1,"form-label"],["type","text","id","naturalidade","formControlName","naturalidade","required","",1,"form-control","text-capitalize"],["for","ufn",1,"form-label"],["type","text","id","ufn","formControlName","ufN","required","",1,"form-control","text-capitalize"],["for","naoAcumuloionalidade",1,"form-label"],["type","text","id","naoAcumuloionalidade","formControlName","naoAcumuloionalidade","required","",1,"form-control","text-capitalize"],["for","estadoC",1,"form-label"],["type","text","id","estadoC","formControlName","estadoC","required","",1,"form-control","text-capitalize"],["for","sexo",1,"form-select"],["type","text","id","sexo","formControlName","sexo","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-6"],["for","pd",1,"form-label"],["type","text","id","pd","formControlName","pd","required","",1,"form-control","text-capitalize"],["for","td",1,"form-label"],["type","text","id","td","formControlName","td","required","",1,"form-control","text-capitalize"],["id","doc",1,"title"],["for","cpf",1,"form-label"],["type","text","id","cpf","formControlName","cpf","required","",1,"form-control","text-capitalize"],["for","ppn",1,"form-label"],["type","text","id","ppn","formControlName","ppn","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-3"],["for","rg",1,"form-label"],["type","text","id","rg","formControlName","rg","required","",1,"form-control","text-capitalize"],["for","oe",1,"form-label"],["type","text","id","oe","formControlName","oe","required","",1,"form-control","text-capitalize"],["for","ufrg",1,"form-label"],["type","text","id","ufrg","formControlName","ufrg","required","",1,"form-control","text-capitalize"],["for","dataE",1,"form-label"],["type","date","id","dataE","formControlName","dataE","required","",1,"form-control","text-lowercase"],["for","te",1,"form-label"],["type","text","id","te","formControlName","te","required","",1,"form-control","text-capitalize"],["for","zona",1,"form-label"],["type","text","id","zona","formControlName","zona","required","",1,"form-control","text-capitalize"],["for","secao",1,"form-label"],["type","text","id","secao","formControlName","secao","required","",1,"form-control","text-capitalize"],["for","uft",1,"form-label"],["type","text","id","uft","formControlName","uftitulo","required","",1,"form-control","text-capitalize"],["id","end",1,"title"],[1,"mb-1","col-sm-10"],["for","logradouro",1,"form-label"],["type","text","id","logradouro","formControlName","logradouro","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-2"],["for","numero",1,"form-label"],["type","text","id","numero","formControlName","numero","required","",1,"form-control","text-capitalize"],["for","complemento",1,"form-label"],["type","text","id","complemento","formControlName","complemento","required","",1,"form-control","text-capitalize"],["for","bairro",1,"form-label"],["type","text","id","bairro","formControlName","bairro","required","",1,"form-control","text-capitalize"],["for","cep",1,"form-label"],["type","text","id","cep","placeholder","00000-000","formControlName","cep","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-5"],["for","cidade",1,"form-label"],["type","text","id","cidade","formControlName","cidade","required","",1,"form-control","text-capitalize"],[1,"mb-1","col-sm-1"],["for","uf",1,"form-label"],["type","text","id","uf","formControlName","uf","required","",1,"form-control","text-capitalize"],["for","telefone",1,"form-label"],["type","text","id","telefone","formControlName","telefone","required","",1,"form-control","text-capitalize"],["for","celular",1,"form-label"],["type","text","id","celular","placeholder","(00) 00000-0000","formControlName","celular","required","",1,"form-control","text-capitalize"],["for","email",1,"form-label"],["type","text","id","email","formControlName","email","required","",1,"form-control","text-lowercase"],["for","dataA",1,"form-label"],["type","date","id","dataA","formControlName","dataA","required","",1,"form-control","text-lowercase"],["for","ts",1,"form-label"],["type","text","id","ts","formControlName","ts","required","",1,"form-control","text-capitalize"],[1,"mb-5","col-sm-12"],["for","oc",1,"form-label"],["type","text","id","oc","formControlName","oc","required","",1,"form-control","text-capitalize"],["id","dcl1"],[1,"row","ml-2","mb-3"],[1,"form-label","dcl"],[1,"form-check"],["type","radio","value","naoRecebo","id","naoRecebo","name","dc1",1,"form-check-input"],["for","naoRecebo","id","label1",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],[1,"row","ml-2"],["type","radio","value","recebo","id","recebo","name","dc1",1,"form-check-input"],["for","recebo","id","label2",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],["color","black","size","4"],["id","dcl2"],["type","radio","value","naoAcumulo","id","naoAcumulo","name","dc2",1,"form-check-input"],["for","naoAcumulo","id","label3",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],["type","radio","value","ac","id","ac","name","dc2",1,"form-check-input"],["for","ac","id","label4",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],["id","dcl3","hidden",""],[1,"form-check","ml-3"],["type","radio","value","dcProfessor","id","dcProfessor","name","dc3",1,"form-check-input"],["for","dcProfessor","id","label5",1,"form-check-label","ml-4",2,"text-align","justify","max-width","100%"],[1,"row","mb-3",2,"margin-left","-7px"],["type","radio","value","uP","id","uP","name","dc3",1,"form-check-input"],["for","uP","id","label6",1,"form-check-label","ml-4",2,"text-align","justify"],["type","radio","value","dc","id","dc","name","dc3",1,"form-check-input"],["for","dc","id","label7",1,"form-check-label","ml-4",2,"text-align","justify"],[1,"row",2,"margin-left","-7px"],["type","radio","value","oo","id","oo","name","dc3",1,"form-check-input"],[1,"col","ml-4"],["id","label8","for","oo"],["type","text","id","oo","formControlName","oo",1,"form-control",2,"width","320px"],[1,"mr-5"],["for","cEf"],["type","text","id","cEf","formControlName","cEf",1,"form-control",2,"width","700px"],[1,"ml-4"],["for","cHs"],["type","text","id","cHs","formControlName","cHs",1,"form-control",2,"width","450px"],["id","dcl4","hidden",""],["type","radio","value","cha","id","cha","name","dc4",1,"form-check-input"],["for","cha","id","label9",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],["type","radio","value","chNa","id","chNa","name","dc4",1,"form-check-input"],["for","chNa","id","label10",1,"form-check-label","ml-4",2,"text-align","justify","max-width","75%"],["id","dcl5","hidden",""],[2,"width","100%"],[2,"text-decoration","underline"],["type","radio","value","npAuxilio","id","npAuxilio","name","dc5",1,"form-check-input"],["for","npAuxilio","id","label11",1,"form-check-label","ml-4",2,"text-align","justify","max-width","100%"],[1,"row","mb-5",2,"margin-left","9px"],["type","radio","value","pAuxilio","id","pAuxilio","name","dc5",1,"form-check-input"],["for","pAuxilio","id","label12",1,"form-check-label","ml-4",2,"text-align","justify","max-width","100%"],[1,"offset-5","mt-3","mb-2","ml-3col-sm-6"],["type","button","value","ENVIAR",1,"btn","btn-primary","btn-lg",3,"click"]],template:function(t,e){1&t&&(lo(0,"div",0),lo(1,"div",1),lo(2,"h3",2),Ho(3,"DADOS PESSOAIS"),co(),co(),lo(4,"form",3),yo("change",function(){return e.getDcl()})("ngSubmit",function(){return e.onSubmit()}),lo(5,"section"),lo(6,"div",4),lo(7,"div",5),lo(8,"label",6),Ho(9,"Matr\xedcula:"),co(),uo(10,"input",7),co(),lo(11,"div",8),lo(12,"label",9),Ho(13,"Nome:"),co(),uo(14,"input",10),co(),co(),lo(15,"div",4),lo(16,"div",11),lo(17,"label",12),Ho(18,"Nome da m\xe3e:"),co(),uo(19,"input",13),co(),co(),lo(20,"div",4),lo(21,"div",11),lo(22,"label",14),Ho(23,"Nome do pai:"),co(),uo(24,"input",15),co(),co(),lo(25,"div",4),lo(26,"div",5),lo(27,"label",16),Ho(28,"Data de nascimento:"),co(),uo(29,"input",17),co(),lo(30,"div",5),lo(31,"label",18),Ho(32,"Naturalidade:"),co(),uo(33,"input",19),co(),lo(34,"div",5),lo(35,"label",20),Ho(36,"UF de nascimento:"),co(),uo(37,"input",21),co(),co(),lo(38,"div",4),lo(39,"div",5),lo(40,"label",22),Ho(41,"Nacionalidade:"),co(),uo(42,"input",23),co(),lo(43,"div",5),lo(44,"label",24),Ho(45,"Estado Civil:"),co(),uo(46,"input",25),co(),lo(47,"div",5),lo(48,"label",26),Ho(49,"Sexo:"),co(),uo(50,"input",27),co(),co(),lo(51,"div",4),lo(52,"div",28),lo(53,"label",29),Ho(54,"Possui defici\xeancia:"),co(),uo(55,"input",30),co(),lo(56,"div",28),lo(57,"label",31),Ho(58,"Tipo de defici\xeancia:"),co(),uo(59,"input",32),co(),co(),co(),lo(60,"div",33),lo(61,"h3",2),Ho(62,"DOCUMENTOS"),co(),co(),lo(63,"section"),lo(64,"div",4),lo(65,"div",28),lo(66,"label",34),Ho(67,"CPF:"),co(),uo(68,"input",35),co(),lo(69,"div",28),lo(70,"label",36),Ho(71,"PIS/PASEP/NIT.:"),co(),uo(72,"input",37),co(),co(),lo(73,"div",4),lo(74,"div",38),lo(75,"label",39),Ho(76,"RG n\xba:"),co(),uo(77,"input",40),co(),lo(78,"div",38),lo(79,"label",41),Ho(80,"\xd3rg\xe3o Emissor:"),co(),uo(81,"input",42),co(),lo(82,"div",38),lo(83,"label",43),Ho(84,"UF RG:"),co(),uo(85,"input",44),co(),lo(86,"div",38),lo(87,"label",45),Ho(88,"Data de Emiss\xe3o RG:"),co(),uo(89,"input",46),co(),co(),lo(90,"div",4),lo(91,"div",38),lo(92,"label",47),Ho(93,"T\xedtulo de Eleitor n\xba:"),co(),uo(94,"input",48),co(),lo(95,"div",38),lo(96,"label",49),Ho(97,"Zona n\xba:"),co(),uo(98,"input",50),co(),lo(99,"div",38),lo(100,"label",51),Ho(101,"Se\xe7\xe3o n\xba:"),co(),uo(102,"input",52),co(),lo(103,"div",38),lo(104,"label",53),Ho(105,"UF t\xedtulo:"),co(),uo(106,"input",54),co(),co(),co(),lo(107,"div",55),lo(108,"h3",2),Ho(109,"ENDERE\xc7O"),co(),co(),lo(110,"section"),lo(111,"div",4),lo(112,"div",56),lo(113,"label",57),Ho(114,"Logradouro:"),co(),uo(115,"input",58),co(),lo(116,"div",59),lo(117,"label",60),Ho(118,"N\xfamero:"),co(),uo(119,"input",61),co(),co(),lo(120,"div",4),lo(121,"div",5),lo(122,"label",62),Ho(123,"Complemento:"),co(),uo(124,"input",63),co(),lo(125,"div",28),lo(126,"label",64),Ho(127,"Bairro:"),co(),uo(128,"input",65),co(),lo(129,"div",59),lo(130,"label",66),Ho(131,"CEP:"),co(),uo(132,"input",67),co(),co(),lo(133,"div",4),lo(134,"div",68),lo(135,"label",69),Ho(136,"Cidade:"),co(),uo(137,"input",70),co(),lo(138,"div",71),lo(139,"label",72),Ho(140,"UF:"),co(),uo(141,"input",73),co(),lo(142,"div",38),lo(143,"label",74),Ho(144,"Telefone:"),co(),uo(145,"input",75),co(),lo(146,"div",38),lo(147,"label",76),Ho(148,"Celular:"),co(),uo(149,"input",77),co(),co(),lo(150,"div",4),lo(151,"div",11),lo(152,"label",78),Ho(153,"Email:"),co(),uo(154,"input",79),co(),co(),co(),lo(155,"div",55),lo(156,"h3",2),Ho(157,"DADOS FUNCIONAIS"),co(),co(),lo(158,"section"),lo(159,"div",4),lo(160,"div",5),lo(161,"label",80),Ho(162,"Data de Admiss\xe3o:"),co(),uo(163,"input",81),co(),lo(164,"div",8),lo(165,"label",82),Ho(166,"Tipo de Servidor:"),co(),uo(167,"input",83),co(),co(),lo(168,"div",4),lo(169,"div",84),lo(170,"label",85),Ho(171,"\xd3rg\xe3o de Cess\xe3o:"),co(),uo(172,"input",86),co(),co(),lo(173,"div",87),lo(174,"div",88),lo(175,"label",89),Ho(176,"DECLARA\xc7\xc3O 1:"),co(),lo(177,"div",90),uo(178,"input",91),lo(179,"label",92),Ho(180," N\xc3O RECEBO proventos de aposentadoria decorrentes de cargo(s), emprego(s) e/ou fun\xe7\xe3o(\xf5es) p\xfablica(s), inclu\xeddas as autarquias, empresas p\xfablicas, sociedades de economia mista da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios e Funda\xe7\xf5es mantidas pelo Poder P\xfablico. "),co(),co(),co(),lo(181,"div",93),lo(182,"div",90),uo(183,"input",94),lo(184,"label",95),Ho(185," Recebo proventos de aposentadoria decorrentes de cargo(s), emprego(s) e/ou fun\xe7\xe3o(\xf5es) p\xfablica(s), inclu\xeddas as autarquias, empresas p\xfablicas, sociedades de economia mista da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios e Funda\xe7\xf5es mantidas pelo Poder P\xfablico, conforme c\xf3pia do contracheque em anexo. "),co(),co(),co(),co(),uo(186,"hr",96),lo(187,"div",97),lo(188,"div",88),lo(189,"label",89),Ho(190,"DECLARA\xc7\xc3O 2:"),co(),lo(191,"div",90),uo(192,"input",98),lo(193,"label",99),Ho(194," N\xe3o acumulo cargo(s), emprego(s) e/ou fun\xe7\xe3o(\xf5es) p\xfablica(s), inclu\xeddas as autarquias, empresas p\xfablicas, sociedades de economia mista da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios e Funda\xe7\xf5es mantidas pelo Poder P\xfablico. "),co(),co(),co(),lo(195,"div",93),lo(196,"div",90),uo(197,"input",100),lo(198,"label",101),Ho(199," Acumulo cargo(s), emprego(s) e/ou fun\xe7\xe3o(\xf5es) p\xfablica(s), inclu\xeddas as autarquias, empresas p\xfablicas, sociedades de economia mista da Uni\xe3o, dos Estados, do Distrito Federal e dos Munic\xedpios e Funda\xe7\xf5es mantidas pelo Poder P\xfablico, conforme c\xf3pia do contracheque em anexo. "),co(),co(),co(),co(),uo(200,"hr",96),lo(201,"div",102),lo(202,"div",88),lo(203,"div"),lo(204,"label",89),Ho(205,"DECLARA\xc7\xc3O 3:"),co(),lo(206,"label",89),Ho(207,"SOMENTE PREENCHA ESTA DECLARA\xc7\xc3O EM CASO DE ACUMULA\xc7\xc3O DE CARGOS NA DECLARA\xc7\xc3O 02."),co(),lo(208,"label"),Ho(209,"Declaro que acumulo os seguintes cargos:"),co(),co(),uo(210,"br"),lo(211,"div",4),lo(212,"div",103),uo(213,"input",104),lo(214,"label",105),Ho(215," Dois cargos de professor "),co(),co(),co(),co(),lo(216,"div",106),lo(217,"div",103),uo(218,"input",107),lo(219,"label",108),Ho(220," Um cargo de professor com outro t\xe9cnico ou cient\xedfico "),co(),co(),co(),lo(221,"div",106),lo(222,"div",103),uo(223,"input",109),lo(224,"label",110),Ho(225," Dois cargos ou empregos privativos de profissionais de sa\xfade "),co(),co(),co(),lo(226,"div",111),lo(227,"div",103),uo(228,"input",112),lo(229,"form"),lo(230,"div",4),lo(231,"div",113),lo(232,"label",114),Ho(233,"OUTRO \xd3RG\xc3O:"),co(),uo(234,"input",115),co(),lo(235,"div",116),lo(236,"label",117),Ho(237,"CARGO/EMPREGO/FUN\xc7\xc3O:"),co(),uo(238,"input",118),co(),co(),lo(239,"div",119),lo(240,"label",120),Ho(241,"CARGA HOR\xc1RIA SEMANAL:"),co(),uo(242,"input",121),co(),co(),co(),co(),uo(243,"hr",96),co(),lo(244,"div",122),lo(245,"div",88),lo(246,"label",89),Ho(247,"DECLARA\xc7\xc3O 4:"),co(),lo(248,"label",89),Ho(249,"SOMENTE PREENCHA ESTA DECLARA\xc7\xc3O EM CASO DE ACUMULA\xc7\xc3O DE CARGOS NA DECLARA\xc7\xc3O 02."),co(),lo(250,"div",90),uo(251,"input",123),lo(252,"label",124),Ho(253," A carga hor\xe1ria dos cargos acumulados, respeita a jornada semanal m\xe1xima de 60 (sessenta) horas de trabalho, em observ\xe2ncia ao entendimento consolidado pelo Tribunal de Contas da Uni\xe3o no Ac\xf3rd\xe3o no 54/2007, publicado no DOU de 8/2/2007, conforme anexa Declara\xe7\xe3o do \xf3rg\xe3o informado. "),co(),co(),co(),lo(254,"div",93),lo(255,"div",90),uo(256,"input",125),lo(257,"label",126),Ho(258," A carga hor\xe1ria dos cargos acumulados, N\xc3O respeita a jornada semanal m\xe1xima de 60 (sessenta) horas de trabalho, em observ\xe2ncia ao entendimento consolidado pelo Tribunal de Contas da Uni\xe3o no Ac\xf3rd\xe3o no 54/2007, publicado no DOU de 8/2/2007, conforme anexa Declara\xe7\xe3o do \xf3rg\xe3o informado. "),co(),co(),co(),uo(259,"hr",96),co(),lo(260,"div",127),lo(261,"div",88),lo(262,"div"),lo(263,"label",89),Ho(264,"DECLARA\xc7\xc3O 5:"),co(),lo(265,"label",89),Ho(266,"SOMENTE PREENCHA ESTA DECLARA\xc7\xc3O EM CASO DE ACUMULA\xc7\xc3O DE CARGOS NA DECLARA\xc7\xc3O 02."),co(),co(),uo(267,"br"),lo(268,"div",128),lo(269,"label",129),Ho(270,"Declaro que:"),co(),co(),lo(271,"div",4),lo(272,"div",103),uo(273,"input",130),lo(274,"label",131),Ho(275," N\xe3o percebo aux\xedlio-alimenta\xe7\xe3o no \xf3rg\xe3o/empresa em que acumulo cargo "),co(),co(),co(),co(),lo(276,"div",132),lo(277,"div",90),uo(278,"input",133),lo(279,"label",134),Ho(280," Percebo aux\xedlio-alimenta\xe7\xe3o no \xf3rg\xe3o/empresa em que acumulo cargo. "),co(),co(),co(),co(),co(),lo(281,"div",4),lo(282,"div",135),lo(283,"input",136),yo("click",function(){return e.redirect()}),co(),co(),co(),co(),co()),2&t&&(js(4),oo("formGroup",e.formCadastro))},directives:[wh,zu,Eh,vu,Hu,Th,Oh],styles:["#content[_ngcontent-%COMP%]{width:auto;height:auto;border:1px solid grey;margin:5px auto}input[type=radio][_ngcontent-%COMP%]{position:absolute;width:35px;height:35px;border:2px solid}.title[_ngcontent-%COMP%]{text-align:center;height:60px;width:100%;background-color:grey;border:2px solid #000;margin-bottom:2px;margin-top:2px;padding:10px}a[_ngcontent-%COMP%]{border:1px solid #000}input[type=checkbox][_ngcontent-%COMP%]{width:35px;height:35px}.dcl[_ngcontent-%COMP%]{font-size:20px;text-decoration:underline}"]}),t})()},{path:"mail",component:ym},{path:"imp",component:Ih}];let Fg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt({type:t}),t.\u0275inj=ht({imports:[[lm.forRoot(Mg),Nc,du],lm]}),t})(),Vg=(()=>{class t{constructor(){this.title="cadastro-app"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(t,e){1&t&&(lo(0,"body"),uo(1,"router-outlet"),co())},directives:[Xf],styles:["body[_ngcontent-%COMP%]{margin:0;padding:0;box-sizing:border-box;font-size:1.04em}"]}),t})();function Lg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ug(t){switch(t.length){case 0:return new og;case 1:return t[0];default:return new ag(t)}}function Hg(t,e,n,r,s={},i={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=s[n];break;case Ym:a=i[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function zg(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&qg(n,"start",t)));break;case"done":t.onDone(()=>r(n&&qg(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&qg(n,"destroy",t)))}}function qg(t,e,n){const r=n.totalTime,s=$g(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function $g(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function Bg(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function Gg(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Wg=(t,e)=>!1,Qg=(t,e)=>!1,Zg=(t,e,n)=>[];const Kg=Lg();(Kg||"undefined"!=typeof Element)&&(Wg=(t,e)=>t.contains(e),Qg=(()=>{if(Kg||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Qg}})(),Zg=(t,e,n)=>{let r=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let sy=(()=>{class t{validateStyleProperty(t){return Yg(t)}matchesElement(t,e){return ty(t,e)}containsElement(t,e){return ey(t,e)}query(t,e,n){return ny(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,i=[],o){return new og(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),iy=(()=>{class t{}return t.NOOP=new sy,t})();const oy="ng-enter",ay="ng-leave",ly="ng-trigger",cy=".ng-trigger",uy="ng-animating",hy=".ng-animating";function dy(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:py(parseFloat(e[1]),e[2])}function py(t,e){switch(e){case"s":return 1e3*t;default:return t}}function fy(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=py(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=py(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function my(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function gy(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else my(t,n);return n}function yy(t,e,n){return n?e+":"+n+";":""}function _y(t){let e="";for(let n=0;n{const s=Ay(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),Lg()&&_y(t))}function by(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Ay(e);t.style[n]=""}),Lg()&&_y(t))}function wy(t){return Array.isArray(t)?1==t.length?t[0]:eg(t):t}const Cy=new RegExp("{{\\s*(.+?)\\s*}}","g");function Sy(t){let e=[];if("string"==typeof t){let n;for(;n=Cy.exec(t);)e.push(n[1]);Cy.lastIndex=0}return e}function Ey(t,e,n){const r=t.toString(),s=r.replace(Cy,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()});return s==r?t:s}function xy(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Ty=/-+([a-z0-9])/g;function Ay(t){return t.replace(Ty,(...t)=>t[1].toUpperCase())}function Oy(t,e){return 0===t||0===e}function ky(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;sfunction(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(My(s,o)),"<"!=i[0]||s==Iy&&o==Iy||e.push(My(o,s))}(t,n,e)):n.push(t),n}const Dy=new Set(["true","1"]),jy=new Set(["false","0"]);function My(t,e){const n=Dy.has(t)||jy.has(t),r=Dy.has(e)||jy.has(e);return(s,i)=>{let o=t==Iy||t==s,a=e==Iy||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?Dy.has(t):jy.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?Dy.has(e):jy.has(e)),o&&a}}const Fy=new RegExp("s*:selfs*,?","g");function Vy(t,e,n){return new Ly(t).build(e,n)}class Ly{constructor(t){this._driver=t}build(t,e){const n=new Uy(e);return this._resetContextStyleTimingState(n),Py(this,wy(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(Hy(t)){const e=t;Object.keys(e).forEach(t=>{Sy(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=xy(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Py(this,wy(t.animation),e);return{type:1,matchers:Ny(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:zy(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Py(this,t,e)),options:zy(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Py(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:zy(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return qy(fy(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=qy(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||fy(r,e),qy(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:ng({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,i=!1;if(!s){i=!0;const t={};n.easing&&(t.easing=n.easing),s=ng(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=i,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Ym?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(Hy(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=Sy(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Hy(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Hy(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&r{const i=u>0?r==h?1:u*r:s[r],o=i*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Py(this,wy(t.animation),e),options:zy(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:zy(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:zy(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Fy,"")),[t=t.replace(/@\*/g,cy).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,hy),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,Bg(e.collectedStyles,e.currentQuerySelector,{});const o=Py(this,wy(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:zy(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:fy(t.timings,e.errors,!0);return{type:12,animation:Py(this,wy(t.animation),e),timings:n,options:null}}}class Uy{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Hy(t){return!Array.isArray(t)&&"object"==typeof t}function zy(t){var e;return t?(t=my(t)).params&&(t.params=(e=t.params)?my(e):null):t={},t}function qy(t,e,n){return{duration:t,delay:e,easing:n}}function $y(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class By{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Gy=new RegExp(":enter","g"),Wy=new RegExp(":leave","g");function Qy(t,e,n,r,s,i={},o={},a,l,c=[]){return(new Zy).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class Zy{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new By;const u=new Jy(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),Py(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[$y(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?dy(n.duration):null,i=null!=n.delay?dy(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Py(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ky);const t=dy(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Py(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?dy(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Py(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return fy(e.params?Ey(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?dy(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Ky);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Py(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Py(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const Ky={};class Jy{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ky,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Xy(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=dy(n.duration)),null!=n.delay&&(r.delay=dy(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Ey(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new Jy(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=Ky,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new Yy(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(Gy,"."+this._enterClassName)).replace(Wy,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Xy{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Xy(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Ym,this._currentKeyframe[t]=Ym}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=Ym})):gy(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(i).forEach(t=>{const e=Ey(i[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Ym),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,i)=>{const o=gy(s,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):r==Ym&&e.add(n)}),n||(o.offset=i/this.duration),r.push(o)});const s=t.size?xy(t.values()):[],i=e.size?xy(e.values()):[];if(n){const t=r[0],e=my(t);t.offset=0,e.offset=1,r=[t,e]}return $y(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class Yy extends Xy{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=gy(t[0],!1);a.offset=0,s.push(a);const l=gy(t[0],!1);l.offset=t_(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=gy(t[r],!1);o.offset=t_((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return $y(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function t_(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class e_{}class n_ extends e_{normalizePropertyName(t,e){return Ay(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(r_[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const r_=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function s_(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const i_={};class o_{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||i_,d=this.buildStyles(n,o&&o.params||i_,u),p=a&&a.params||i_,f=this.buildStyles(r,p,u),m=new Set,g=new Map,y=new Map,_="void"===r,v={params:Object.assign(Object.assign({},h),p)},b=c?[]:Qy(t,e,this.ast.animation,s,i,d,f,v,l,u);let w=0;if(b.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return s_(e,this._triggerName,n,r,_,d,f,[],[],g,y,w,u);b.forEach(t=>{const n=t.element,r=Bg(g,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=Bg(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&m.add(n)});const C=xy(m.values());return s_(e,this._triggerName,n,r,_,d,f,b,C,g,y,w)}}class a_{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=my(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=Ey(i,r,e)),n[t]=i})}}),n}}class l_{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new a_(t.style,t.options&&t.options.params||{})}),c_(this.states,"true","1"),c_(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new o_(t,e,this.states))}),this.fallbackTransition=new o_(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function c_(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const u_=new By;class h_{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=Vy(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=Hg(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let i;const o=new Map;if(s?(i=Qy(this._driver,e,s,oy,ay,{},{},n,u_,r),i.forEach(t=>{const e=Bg(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Ym)})});const a=Ug(i.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,r){const s=$g(e,"","","");return zg(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const d_="ng-animate-queued",p_="ng-animate-disabled",f_=".ng-animate-disabled",m_=[],g_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},y_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class __{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=my(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const v_="void",b_=new __(v_);class w_{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,O_(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=Bg(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=Bg(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(O_(t,ly),O_(t,"ng-trigger-"+e),a[e]=b_),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new S_(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(O_(t,ly),O_(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new __(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=b_),l.value!==v_&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s{by(t,n),vy(t,r)})}return}const c=Bg(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(O_(t,d_),i.onStart(()=>{k_(t,d_)})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,cy,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,v_,r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Ug(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(e=>{const s=e.name;if(r.has(s))return;r.add(s);const i=this._triggers[s].fallbackTransition,o=n[s]||b_,a=new __(v_),l=new S_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:i,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==g_||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){O_(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);i&&i.forEach(e=>{if(e.name==n.triggerName){const r=$g(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,zg(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class C_{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new w_(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),O_(t,p_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),k_(t,p_))}removeNode(t,e,n,r){if(E_(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return E_(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,cy,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,hy,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ug(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=g_,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,f_)&&this.markElementAsDisabled(t,!1),this.driver.query(t,f_,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Ug(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new By,r=[],s=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=oy+f++;p.set(e,n),t.forEach(t=>O_(t,n))});const m=[],g=new Set,y=new Set;for(let P=0;Pg.add(t)):y.add(t))}const _=new Map,v=A_(h,Array.from(g));v.forEach((t,e)=>{const n=ay+f++;_.set(e,n),t.forEach(t=>O_(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>k_(t,n))}),v.forEach((t,e)=>{const n=_.get(e);t.forEach(t=>k_(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const b=[],w=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(b.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=_.get(s),d=p.get(s),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>by(s,f.fromStyles)),e.onDestroy(()=>vy(s,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>by(s,f.fromStyles)),e.onDestroy(()=>vy(s,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),i.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>Bg(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),b.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,S=new Map;i.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Bg(C,e,[]).push(t),t.destroy()})});const E=m.filter(t=>I_(t,a,l)),x=new Map;T_(x,this.driver,y,l,Ym).forEach(t=>{I_(t,a,l)&&E.push(t)});const T=new Map;d.forEach((t,e)=>{T_(T,this.driver,new Set(t),a,"!")}),E.forEach(t=>{const e=x.get(t),n=T.get(t);x.set(t,Object.assign(Object.assign({},e),n))});const A=[],O=[],k={};i.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(c.has(e))return i.onDestroy(()=>vy(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=k;if(S.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>S.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,C,s,T,x);if(i.setRealPlayer(n),t===k)A.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=Ug(e)),r.push(i)}}else by(e,o.fromStyles),i.onDestroy(()=>vy(e,o.toStyles)),O.push(i),c.has(e)&&r.push(i)}),O.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=Ug(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let P=0;P!t.destroyed);r.length?P_(this,t,r):this.processLeaveNode(t)}return m.length=0,A.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),A}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==v_;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=Bg(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}by(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,i){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new og(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return R_(t,e),e}((n.get(h)||m_).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=s.get(h),g=i.get(h),y=Hg(0,this._normalizer,0,e.keyframes,m,g),_=this._buildPlayer(e,y,f);if(e.subTimeline&&r&&u.add(h),p){const e=new S_(t,o,h);e.setRealPlayer(_),l.push(e)}return _});l.forEach(t=>{Bg(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>O_(t,uy));const d=Ug(h);return d.onDestroy(()=>{c.forEach(t=>k_(t,uy)),vy(a,e.toStyles)}),u.forEach(t=>{Bg(r,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new og(t.duration,t.delay)}}class S_{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new og,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>zg(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Bg(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function E_(t){return t&&1===t.nodeType}function x_(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function T_(t,e,n,r,s){const i=[];n.forEach(t=>i.push(x_(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=y_,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>x_(t,i[a++])),o}function A_(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;function i(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:r.has(o)?1:i(o),s.set(t,e),e}return e.forEach(t=>{const e=i(t);1!==e&&n.get(e).push(t)}),n}function O_(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function k_(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function P_(t,e,n){Ug(n).onDone(()=>t.processLeaveNode(e))}function R_(t,e){for(let n=0;ns.add(t)):e.set(t,r),n.delete(t),!0}class N_{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new C_(t,e,n),this._timelineEngine=new h_(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=Vy(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new l_(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=Gg(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=Gg(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function D_(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=M_(e[0]),e.length>1&&(r=M_(e[e.length-1]))):e&&(n=M_(e)),n||r?new j_(t,n,r):null}let j_=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&vy(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vy(this._element,this._initialStyles),this._endStyles&&(vy(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(by(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(by(this._element,this._endStyles),this._endStyles=null),vy(this._el