forked from georgipeltekov/georgipeltekov.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.3f127573ddb52524.js
1 lines (1 loc) · 133 KB
/
main.3f127573ddb52524.js
1
"use strict";(self.webpackChunkngx_file_drop_demo=self.webpackChunkngx_file_drop_demo||[]).push([[179],{964:()=>{function K(e){return"function"==typeof e}function Kr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Jr=Kr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function rn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ye{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(K(r))try{r()}catch(i){t=i instanceof Jr?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{Wu(i)}catch(s){t=null!=t?t:[],s instanceof Jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Wu(t);else{if(t instanceof Ye){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&rn(n,t)}remove(t){const{_teardowns:n}=this;n&&rn(n,t),t instanceof Ye&&t._removeParent(this)}}Ye.EMPTY=(()=>{const e=new Ye;return e.closed=!0,e})();const zu=Ye.EMPTY;function qu(e){return e instanceof Ye||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function Wu(e){K(e)?e():e.unsubscribe()}const $t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xr={setTimeout(...e){const{delegate:t}=Xr;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Xr;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Qu(e){Xr.setTimeout(()=>{const{onUnhandledError:t}=$t;if(!t)throw e;t(e)})}function eo(){}const Hg=Ii("C",void 0,void 0);function Ii(e,t,n){return{kind:e,value:t,error:n}}let Ut=null;function to(e){if($t.useDeprecatedSynchronousErrorHandling){const t=!Ut;if(t&&(Ut={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Ut;if(Ut=null,n)throw r}}else e()}class Mi extends Ye{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qu(t)&&t.add(this)):this.destination=zg}static create(t,n,r){return new Ti(t,n,r)}next(t){this.isStopped?Ai(Ii("N",t,void 0),this):this._next(t)}error(t){this.isStopped?Ai(Ii("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ai(Hg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ti extends Mi{constructor(t,n,r){let o;if(super(),K(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&$t.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=null==o?void 0:o.bind(i),n=null==n?void 0:n.bind(i),r=null==r?void 0:r.bind(i)}this.destination={next:o?Si(o):eo,error:Si(null!=n?n:Zu),complete:r?Si(r):eo}}}function Si(e,t){return(...n)=>{try{e(...n)}catch(r){$t.useDeprecatedSynchronousErrorHandling?function(e){$t.useDeprecatedSynchronousErrorHandling&&Ut&&(Ut.errorThrown=!0,Ut.error=e)}(r):Qu(r)}}}function Zu(e){throw e}function Ai(e,t){const{onStoppedNotification:n}=$t;n&&Xr.setTimeout(()=>n(e,t))}const zg={closed:!0,next:eo,error:Zu,complete:eo},xi="function"==typeof Symbol&&Symbol.observable||"@@observable";function Yu(e){return e}let De=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function(e){return e&&e instanceof Mi||function(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}(e)&&qu(e)}(n)?n:new Ti(n,r,o);return to(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ju(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(u){i(u),null==s||s.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[xi](){return this}pipe(...n){return function(e){return 0===e.length?Yu:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Ju(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ju(e){var t;return null!==(t=null!=e?e:$t.Promise)&&void 0!==t?t:Promise}const Qg=Kr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Fi=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Xu(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Qg}next(n){to(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){to(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){to(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?zu:(i.push(n),new Ye(()=>rn(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new De;return n.source=this,n}}return e.create=(t,n)=>new Xu(t,n),e})();class Xu extends Fi{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:zu}}function on(e){return t=>{if(function(e){return K(null==e?void 0:e.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class or extends Mi{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function Gt(e){return this instanceof Gt?(this.v=e,this):new Gt(e)}function Xg(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,m){i.push([f,p,h,m])>1||a(f,p)})})}function a(f,p){try{!function(f){f.value instanceof Gt?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](p))}catch(h){d(i[0][3],h)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function em(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const rl=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ol(e){return K(null==e?void 0:e.then)}function il(e){return K(e[xi])}function sl(e){return Symbol.asyncIterator&&K(null==e?void 0:e[Symbol.asyncIterator])}function al(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ul="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ll(e){return K(null==e?void 0:e[ul])}function cl(e){return Xg(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Gt(n.read());if(o)return yield Gt(void 0);yield yield Gt(r)}}finally{n.releaseLock()}})}function dl(e){return K(null==e?void 0:e.getReader)}function sn(e){if(e instanceof De)return e;if(null!=e){if(il(e))return function(e){return new De(t=>{const n=e[xi]();if(K(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(rl(e))return function(e){return new De(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(ol(e))return function(e){return new De(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Qu)})}(e);if(sl(e))return fl(e);if(ll(e))return function(e){return new De(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(dl(e))return function(e){return fl(cl(e))}(e)}throw al(e)}function fl(e){return new De(t=>{(function(e,t){var n,r,o,i;return function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=em(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function xt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function pl(e,t,n=1/0){return K(t)?pl((r,o)=>function(e,t){return on((n,r)=>{let o=0;n.subscribe(new or(r,i=>{r.next(e.call(undefined,i,o++))}))})}((i,s)=>t(r,i,o,s))(sn(e(r,o))),n):("number"==typeof t&&(n=t),on((r,o)=>function(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},p=m=>l<r?h(m):u.push(m),h=m=>{l++;let D=!1;sn(n(m,c++)).subscribe(new or(t,v=>{t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;u.length&&l<r;){const v=u.shift();h(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(new or(t,p,()=>{d=!0,f()})),()=>{}}(r,o,e,n)))}const Pi=new De(e=>e.complete());function hl(e){return e&&K(e.schedule)}function Ri(e){return e[e.length-1]}function gl(e,t=0){return on((n,r)=>{n.subscribe(new or(r,o=>xt(r,e,()=>r.next(o),t),()=>xt(r,e,()=>r.complete(),t),o=>xt(r,e,()=>r.error(o),t)))})}function ml(e,t=0){return on((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yl(e,t){if(!e)throw new Error("Iterable cannot be null");return new De(n=>{xt(n,t,()=>{const r=e[Symbol.asyncIterator]();xt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Dl(e,t){return t?function(e,t){if(null!=e){if(il(e))return function(e,t){return sn(e).pipe(ml(t),gl(t))}(e,t);if(rl(e))return function(e,t){return new De(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ol(e))return function(e,t){return sn(e).pipe(ml(t),gl(t))}(e,t);if(sl(e))return yl(e,t);if(ll(e))return function(e,t){return new De(n=>{let r;return xt(n,t,()=>{r=e[ul](),xt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>K(null==r?void 0:r.return)&&r.return()})}(e,t);if(dl(e))return function(e,t){return yl(cl(e),t)}(e,t)}throw al(e)}(e,t):sn(e)}function _m(...e){const t=function(e){return hl(Ri(e))?e.pop():void 0}(e),n=function(e,t){return"number"==typeof Ri(e)?e.pop():1/0}(e),r=e;return r.length?1===r.length?sn(r[0]):function(e=1/0){return pl(Yu,e)}(n)(Dl(r,t)):Pi}function Oi(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(on((t,n)=>{let r=0;t.subscribe(new or(n,o=>{++r<=1&&(n.next(o),1<=r&&n.complete())}))})).subscribe(()=>e())}function U(e){for(let t in e)if(e[t]===U)return t;throw Error("Could not find renamed property on target object.")}function L(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(L).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ki(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const wm=U({__forward_ref__:U});function Bi(e){return e.__forward_ref__=Bi,e.toString=function(){return L(this())},e}function S(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(wm)&&e.__forward_ref__===Bi}(e)?e():e}class Se extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function M(e){return"string"==typeof e?e:null==e?"":String(e)}function ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():M(e)}function no(e,t){const n=t?` in ${t}`:"";throw new Se("201",`No provider for ${ve(e)} found${n}`)}function xe(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function J(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ji(e){return _l(e,ro)||_l(e,Cl)}function _l(e,t){return e.hasOwnProperty(t)?e[t]:null}function El(e){return e&&(e.hasOwnProperty(Hi)||e.hasOwnProperty(xm))?e[Hi]:null}const ro=U({\u0275prov:U}),Hi=U({\u0275inj:U}),Cl=U({ngInjectableDef:U}),xm=U({ngInjectorDef:U});var A=(()=>((A=A||{})[A.Default=0]="Default",A[A.Host=1]="Host",A[A.Self=2]="Self",A[A.SkipSelf=4]="SkipSelf",A[A.Optional=8]="Optional",A))();let $i;function Ft(e){const t=$i;return $i=e,t}function wl(e,t,n){const r=ji(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&A.Optional?null:void 0!==t?t:void no(L(e),"Injector")}function Nt(e){return{toString:e}.toString()}var Ke=(()=>((Ke=Ke||{})[Ke.OnPush=0]="OnPush",Ke[Ke.Default=1]="Default",Ke))(),dt=(()=>{return(e=dt||(dt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",dt;var e})();const Nm="undefined"!=typeof globalThis&&globalThis,Pm="undefined"!=typeof window&&window,Rm="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,$=Nm||"undefined"!=typeof global&&global||Pm||Rm,an={},G=[],oo=U({\u0275cmp:U}),Ui=U({\u0275dir:U}),Gi=U({\u0275pipe:U}),bl=U({\u0275mod:U}),bt=U({\u0275fac:U}),ir=U({__NG_ELEMENT_ID__:U});let Om=0;function io(e){return Nt(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ke.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,id:"c",styles:e.styles||G,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=Om++,r.inputs=Sl(e.inputs,n),r.outputs=Sl(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Il):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ml):null,r})}function Il(e){return he(e)||function(e){return e[Ui]||null}(e)}function Ml(e){return function(e){return e[Gi]||null}(e)}const Tl={};function un(e){return Nt(()=>{const t={type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Tl[e.id]=e.type),t})}function Sl(e,t){if(null==e)return an;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Fe=io;function he(e){return e[oo]||null}function Be(e,t){const n=e[bl]||null;if(!n&&!0===t)throw new Error(`Type ${L(e)} does not have '\u0275mod' property.`);return n}const x=11,z=20;function ft(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xe(e){return Array.isArray(e)&&!0===e[1]}function Wi(e){return 0!=(8&e.flags)}function lo(e){return 2==(2&e.flags)}function co(e){return 1==(1&e.flags)}function et(e){return null!==e.template}function Hm(e){return 0!=(512&e[2])}function Yt(e,t){return e.hasOwnProperty(bt)?e[bt]:null}class Gm{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fo(){return xl}function xl(e){return e.type.prototype.ngOnChanges&&(e.setInput=qm),zm}function zm(){const e=Nl(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===an)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qm(e,t,n,r){const o=Nl(e)||function(e,t){return e[Fl]=t}(e,{previous:an,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new Gm(u&&u.currentValue,t,s===an),e[r]=t}fo.ngInherit=!0;const Fl="__ngSimpleChanges__";function Nl(e){return e[Fl]||null}let Yi;function X(e){return!!e.listen}const Ol={createRenderer:(e,t)=>void 0!==Yi?Yi:"undefined"!=typeof document?document:void 0};function oe(e){for(;Array.isArray(e);)e=e[0];return e}function po(e,t){return oe(t[e])}function He(e,t){return oe(t[e.index])}function Ji(e,t){return e.data[t]}function Pe(e,t){const n=t[e];return ft(n)?n:n[0]}function Ll(e){return 4==(4&e[2])}function Xi(e){return 128==(128&e[2])}function Rt(e,t){return null==t?null:e[t]}function kl(e){e[18]=0}function es(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const I={lFrame:ql(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bl(){return I.bindingsEnabled}function y(){return I.lFrame.lView}function k(){return I.lFrame.tView}function ue(){let e=jl();for(;null!==e&&64===e.type;)e=e.parent;return e}function jl(){return I.lFrame.currentTNode}function pt(e,t){const n=I.lFrame;n.currentTNode=e,n.isParent=t}function ts(){return I.lFrame.isParent}function ho(){return I.isInCheckNoChangesMode}function go(e){I.isInCheckNoChangesMode=e}function hn(){return I.lFrame.bindingIndex++}function ay(e,t){const n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,rs(t)}function rs(e){I.lFrame.currentDirectiveIndex=e}function Ul(){return I.lFrame.currentQueryIndex}function is(e){I.lFrame.currentQueryIndex=e}function ly(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Gl(e,t,n){if(n&A.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&A.Host||(o=ly(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=I.lFrame=zl();return r.currentTNode=t,r.lView=e,!0}function mo(e){const t=zl(),n=e[1];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zl(){const e=I.lFrame,t=null===e?null:e.child;return null===t?ql(e):t}function ql(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wl(){const e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ql=Wl;function yo(){const e=Wl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ee(){return I.lFrame.selectedIndex}function Ot(e){I.lFrame.selectedIndex=e}function ee(){const e=I.lFrame;return Ji(e.tView,e.selectedIndex)}function Do(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function vo(e,t,n){Zl(e,t,3,n)}function _o(e,t,n,r){(3&e[2])===n&&Zl(e,t,n,r)}function ss(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Zl(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(Dy(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function Dy(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class cr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Eo(e,t,n){const r=X(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],u=n[o++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=i,a=n[++o];us(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function Yl(e){return 3===e||4===e||6===e}function us(e){return 64===e.charCodeAt(0)}function Co(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Kl(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Kl(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Jl(e){return-1!==e}function gn(e){return 32767&e}function mn(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ls=!0;function wo(e){const t=ls;return ls=e,t}let by=0;function fr(e,t){const n=ds(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,cs(r.data,e),cs(t,null),cs(r.blueprint,null));const o=bo(e,t),i=e.injectorIndex;if(Jl(o)){const s=gn(o),a=mn(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function cs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ds(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function bo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Io(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),null==r&&(r=n[ir]=by++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function tc(e,t,n){if(n&A.Optional)return e;no(t,"NodeInjector")}function nc(e,t,n,r){if(n&A.Optional&&void 0===r&&(r=null),0==(n&(A.Self|A.Host))){const o=e[9],i=Ft(void 0);try{return o?o.get(t,r,n&A.Optional):wl(t,r,n&A.Optional)}finally{Ft(i)}}return tc(r,t,n)}function rc(e,t,n,r=A.Default,o){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ir)?e[ir]:void 0;return"number"==typeof t?t>=0?255&t:Ty:t}(n);if("function"==typeof i){if(!Gl(t,e,r))return r&A.Host?tc(o,n,r):nc(t,n,r,o);try{const s=i(r);if(null!=s||r&A.Optional)return s;no(n)}finally{Ql()}}else if("number"==typeof i){let s=null,a=ds(e,t),u=-1,l=r&A.Host?t[16][6]:null;for((-1===a||r&A.SkipSelf)&&(u=-1===a?bo(e,t):t[a+8],-1!==u&&sc(r,!1)?(s=t[1],a=gn(u),t=mn(u,t)):a=-1);-1!==a;){const c=t[1];if(ic(i,a,c.data)){const d=Sy(a,t,n,s,r,l);if(d!==oc)return d}u=t[a+8],-1!==u&&sc(r,t[1].data[a+8]===l)&&ic(i,a,t)?(s=c,a=gn(u),t=mn(u,t)):a=-1}}}return nc(t,n,r,o)}const oc={};function Ty(){return new yn(ue(),y())}function Sy(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Mo(a,s,n,null==r?lo(a)&&ls:r!=s&&0!=(3&a.type),o&A.Host&&i===a);return null!==c?pr(t,s,c,a):oc}function Mo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let p=r?a:a+c;p<f;p++){const h=s[p];if(p<u&&n===h||p>=u&&h.type===n)return p}if(o){const p=s[u];if(p&&et(p)&&p.type===n)return u}return null}function pr(e,t,n,r){let o=e[n];const i=t.data;if(function(e){return e instanceof cr}(o)){const s=o;s.resolving&&function(e,t){throw new Se("200",`Circular dependency in DI detected for ${e}`)}(ve(i[n]));const a=wo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Ft(s.injectImpl):null;Gl(e,r,A.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=xl(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Ft(u),wo(a),s.resolving=!1,Ql()}}return o}function ic(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sc(e,t){return!(e&A.Self||e&A.Host&&t)}class yn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rc(this._tNode,this._lView,t,r,n)}}const vn="__parameters__";function En(e,t,n){return Nt(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(vn)?u[vn]:Object.defineProperty(u,vn,{value:[]})[vn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class H{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=J({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function $e(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),$e(r,t)):t!==e&&t.push(r)}return t}function ht(e,t){e.forEach(n=>Array.isArray(n)?ht(n,t):t(n))}function uc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function To(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Re(e,t,n){let r=Cn(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ms(e,t){const n=Cn(e,t);if(n>=0)return e[1|n]}function Cn(e,t){return function(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const yr={},Ds="__NG_DI_FLAG__",Ao="ngTempTokenPath",Hy=/\n/gm,pc="__source",Uy=U({provide:String,useValue:U});let Dr;function hc(e){const t=Dr;return Dr=e,t}function Gy(e,t=A.Default){if(void 0===Dr)throw new Error("inject() must be called from an injection context");return null===Dr?wl(e,void 0,t):Dr.get(e,t&A.Optional?null:void 0,t)}function q(e,t=A.Default){return($i||Gy)(S(e),t)}function vs(e){const t=[];for(let n=0;n<e.length;n++){const r=S(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let o,i=A.Default;for(let s=0;s<r.length;s++){const a=r[s],u=zy(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(q(o,i))}else t.push(q(r))}return t}function vr(e,t){return e[Ds]=t,e.prototype[Ds]=t,e}function zy(e){return e[Ds]}const xo=vr(En("Inject",e=>({token:e})),-1),wn=vr(En("Optional"),8),_r=vr(En("SkipSelf"),4);const Rc="__ngContext__";function me(e,t){e[Rc]=t}function Ss(e){const t=function(e){return e[Rc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function xs(e){return e.ngOriginalError}function BD(e,...t){e.error(...t)}class Mn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||BD;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&xs(t);for(;n&&xs(n);)n=xs(n);return n||null}}const Vc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind($))();function mt(e){return e instanceof Function?e():e}var Oe=(()=>((Oe=Oe||{})[Oe.Important=1]="Important",Oe[Oe.DashCase=2]="DashCase",Oe))();function Ns(e,t){return undefined(e,t)}function Mr(e){const t=e[3];return Xe(t)?t[3]:t}function Ps(e){return Gc(e[13])}function Rs(e){return Gc(e[4])}function Gc(e){for(;null!==e&&!Xe(e);)e=e[4];return e}function Sn(e,t,n,r,o){if(null!=r){let i,s=!1;Xe(r)?i=r:ft(r)&&(s=!0,r=r[0]);const a=oe(r);0===e&&null!==n?null==o?Yc(t,n,a):Kt(t,n,a,o||null,!0):1===e&&null!==n?Kt(t,n,a,o||null,!0):2===e?function(e,t,n){const r=Lo(e,t);r&&function(e,t,n,r){X(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,o){const i=n[7];i!==oe(n)&&Sn(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];Tr(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ls(e,t,n){return X(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function qc(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,es(o,-1)),n.splice(r,1)}function ks(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&qc(o,r),t>0&&(e[n-1][4]=r[4]);const i=To(e,10+t);!function(e,t){Tr(e,t,t[x],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Wc(e,t){if(!(256&t[2])){const n=t[x];X(n)&&n.destroyNode&&Tr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Bs(e[1],e);for(;t;){let n=null;if(ft(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ft(t)&&Bs(t[1],t),t=t[3];null===t&&(t=e),ft(t)&&Bs(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bs(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof cr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):oe(t[s]),u=r[o=n[i+2]],l=n[i+3];"boolean"==typeof l?a.removeEventListener(n[i],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&X(t[x])&&t[x].destroy();const n=t[17];if(null!==n&&Xe(t[3])){n!==t[3]&&qc(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Qc(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===dt.None||o===dt.Emulated)return null}return He(r,n)}(e,t.parent,n)}function Kt(e,t,n,r,o){X(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function Yc(e,t,n){X(e)?e.appendChild(t,n):t.appendChild(n)}function Kc(e,t,n,r,o){null!==r?Kt(e,t,n,r,o):Yc(e,t,n)}function Lo(e,t){return X(e)?e.parentNode(t):t.parentNode}let ed=function(e,t,n){return 40&e.type?He(e,n):null};function ko(e,t,n,r){const o=Qc(e,r,t),i=t[x],a=function(e,t,n){return ed(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Kc(i,o,n[u],a,!1);else Kc(i,o,n,a,!1)}function Bo(e,t){if(null!==t){const n=t.type;if(3&n)return He(t,e);if(4&n)return js(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Bo(e,r);{const o=e[t.index];return Xe(o)?js(-1,o):oe(o)}}if(32&n)return Ns(t,e)()||oe(e[t.index]);{const r=nd(e,t);return null!==r?Array.isArray(r)?r[0]:Bo(Mr(e[16]),r):Bo(e,t.next)}}return null}function nd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function js(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Bo(r,o)}return t[7]}function Hs(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&me(oe(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Hs(e,t,n.child,r,o,i,!1),Sn(t,e,o,a,i);else if(32&u){const l=Ns(n,r);let c;for(;c=l();)Sn(t,e,o,c,i);Sn(t,e,o,a,i)}else 16&u?od(e,t,r,n,o,i):Sn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Tr(e,t,n,r,o,i){Hs(n,r,e.firstChild,t,o,i,!1)}function od(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Sn(t,e,o,u[l],i);else Hs(e,t,u,s[3],o,i,!0)}function id(e,t,n){X(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function $s(e,t,n){X(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function sd(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const ad="ng-template";function fv(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==sd(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function ud(e){return 4===e.type&&e.value!==ad}function pv(e,t,n){return t===(4!==e.type||n?e.value:ad)}function hv(e,t,n){let r=4;const o=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(Yl(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!pv(e,u,n)||""===u&&1===t.length){if(tt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!fv(e.attrs,l,n)){if(tt(r))return!1;s=!0}continue}const d=gv(8&r?"class":u,o,ud(e),n);if(-1===d){if(tt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==sd(p,l,0)||2&r&&l!==f){if(tt(r))return!1;s=!0}}}}else{if(!s&&!tt(r)&&!tt(u))return!1;if(s&&tt(u))continue;s=!1,r=u|1&r}}return tt(r)||s}function tt(e){return 0==(1&e)}function gv(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ld(e,t,n=!1){for(let r=0;r<t.length;r++)if(hv(e,t[r],n))return!0;return!1}function cd(e,t){return e?":not("+t.trim()+")":t}function _v(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!tt(s)&&(t+=cd(i,o),o=""),r=s,i=i||!tt(r);n++}return""!==o&&(t+=cd(i,o)),t}const T={};function Ue(e){dd(k(),y(),Ee()+e,ho())}function dd(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&vo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&_o(t,i,0,n)}Ot(n)}function Vo(e,t){return e<<17|t<<2}function nt(e){return e>>17&32767}function Us(e){return 2|e}function Tt(e){return(131068&e)>>2}function Gs(e,t){return-131069&e|t<<2}function zs(e){return 1|e}function Cd(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];is(o),s.contentQueries(2,t[i],i)}}}function Sr(e,t,n,r,o,i,s,a,u,l){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,kl(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[x]=a||e&&e[x],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function An(e,t,n,r,o){let i=e.data[t];if(null===i)i=function(e,t,n,r,o){const i=jl(),s=ts(),u=e.data[t]=function(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),I.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function(){const e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return pt(i,!0),i}function xn(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ar(e,t,n){mo(t);try{const r=e.viewQuery;null!==r&&la(1,r,n);const o=e.template;null!==o&&wd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Cd(e,t),e.staticViewQueries&&la(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)n_(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,yo()}}function Fn(e,t,n,r){const o=t[2];if(256==(256&o))return;mo(t);const i=ho();try{kl(t),function(e){I.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&wd(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const l=e.preOrderCheckHooks;null!==l&&vo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&_o(t,l,0,null),ss(t,0)}if(function(e){for(let t=Ps(e);null!==t;t=Rs(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&es(i,1),o[2]|=1024}}}(t),function(e){for(let t=Ps(e);null!==t;t=Rs(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Xi(r)&&Fn(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Cd(e,t),!i)if(s){const l=e.contentCheckHooks;null!==l&&vo(t,l)}else{const l=e.contentHooks;null!==l&&_o(t,l,1),ss(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Ot(~o);else{const i=o,s=n[++r],a=n[++r];ay(s,i),a(2,t[i])}}}finally{Ot(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)t_(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&la(2,u,r),!i)if(s){const l=e.viewCheckHooks;null!==l&&vo(t,l)}else{const l=e.viewHooks;null!==l&&_o(t,l,2),ss(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,es(t[3],-1))}finally{yo()}}function Lv(e,t,n,r){const o=t[10],i=!ho(),s=Ll(t);try{i&&!s&&o.begin&&o.begin(),s&&Ar(e,t,r),Fn(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function wd(e,t,n,r,o){const i=Ee(),s=2&r;try{Ot(-1),s&&t.length>z&&dd(e,t,z,ho()),n(r,o)}finally{Ot(i)}}function ta(e,t,n){!Bl()||(function(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||fr(n,t),me(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=et(u);l&&Yv(t,n,u);const c=pr(t,e,a,n);me(c,t),null!==s&&Kv(0,a-o,c,u,0,s),l&&(Pe(n.index,t)[8]=c)}}(e,t,n,He(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=I.lFrame.currentDirectiveIndex;try{Ot(s);for(let u=r;u<o;u++){const l=e.data[u],c=t[u];rs(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Nd(l,c)}}finally{Ot(-1),rs(a)}}(e,t,n))}function na(e,t,n=He){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Id(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=$o(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function $o(e,t,n,r,o,i,s,a,u,l){const c=z+r,d=c+o,f=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:T);return n}(c,d),p="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1}}function Sd(e,t,n,r){const o=Bd(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Vd(e).push(r,o.length-1))}function Ad(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Le(e,t,n,r,o,i,s,a){const u=He(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?($d(e,n,c,r,o),lo(t)&&function(e,t){const n=Pe(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,X(i)?i.setProperty(u,r,o):us(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}function ra(e,t,n,r){let o=!1;if(Bl()){const i=function(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];ld(n,s.selectors,!1)&&(o||(o=[]),Io(fr(n,t),e,s.type),et(s)?(Pd(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Rd(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=xn(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=Co(n.mergedAttrs,d.hostAttrs),Od(e,n,t,l,d),Zv(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===i||ud(t)?null:Jv(d,i);s.push(f),a=Ad(d,l,a),u=Ad(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new Se("301",`Export of name '${t[o+1]}' not found!`);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=Co(n.mergedAttrs,n.attrs),o}function Fd(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Nd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Zv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;et(t)&&(n[""]=e)}}function Rd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Od(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=Yt(o.type)),s=new cr(i,et(o),null);e.blueprint[r]=s,n[r]=s,Fd(e,t,0,r,xn(e,n,o.hostVars,T),o)}function Yv(e,t,n){const r=He(t,e),o=Id(n),i=e[10],s=Uo(e,Sr(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function yt(e,t,n,r,o,i){const s=He(e,t);!function(e,t,n,r,o,i,s){if(null==i)X(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const a=null==s?M(i):s(i,r||"",o);X(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}(t[x],s,i,e.value,n,r,o)}function Kv(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function Jv(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ld(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function t_(e,t){const n=Pe(t,e);if(Xi(n)){const r=n[1];80&n[2]?Fn(r,n,r.template,n[8]):n[5]>0&&ia(n)}}function ia(e){for(let r=Ps(e);null!==r;r=Rs(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];Fn(s,i,s.template,i[8])}else i[5]>0&&ia(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Pe(n[r],e);Xi(o)&&o[5]>0&&ia(o)}}function n_(e,t){const n=Pe(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ar(r,n,n[8])}function Uo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function sa(e){for(;e;){e[2]|=64;const t=Mr(e);if(Hm(e)&&!t)return e;e=t}return null}function ua(e,t,n){const r=t[10];r.begin&&r.begin();try{Fn(e,t,e.template,n)}catch(o){throw Hd(t,o),o}finally{r.end&&r.end()}}function kd(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ss(n),o=r[1];Lv(o,r,o.template,n)}}(e[8])}function la(e,t,n){is(0),t(e,n)}const a_=(()=>Promise.resolve(null))();function Bd(e){return e[7]||(e[7]=[])}function Vd(e){return e.cleanup||(e.cleanup=[])}function Hd(e,t){const n=e[9],r=n?n.get(Mn,null):null;r&&r.handleError(t)}function $d(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function St(e,t,n){const r=po(t,e);!function(e,t,n){X(e)?e.setValue(t,n):t.textContent=n}(e[x],r,n)}function Go(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=ki(o,a):2==i&&(r=ki(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const ca=new H("INJECTOR",-1);class Ud{get(t,n=yr){if(n===yr){const r=new Error(`NullInjectorError: No provider for ${L(t)}!`);throw r.name="NullInjectorError",r}return n}}const da=new H("Set Injector scope."),xr={},c_={};let fa;function Gd(){return void 0===fa&&(fa=new Ud),fa}function zd(e,t=null,n=null,r){const o=qd(e,t,n,r);return o._resolveInjectorDefTypes(),o}function qd(e,t=null,n=null,r){return new d_(e,n,t||Gd(),r)}class d_{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&ht(n,a=>this.processProvider(a,t,n)),ht([t],a=>this.processInjectorType(a,[],i)),this.records.set(ca,Nn(void 0,this));const s=this.records.get(da);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:L(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=yr,r=A.Default){this.assertNotDestroyed();const o=hc(this),i=Ft(void 0);try{if(!(r&A.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=("function"==typeof(e=t)||"object"==typeof e&&e instanceof H)&&ji(t);a=u&&this.injectableDefInScope(u)?Nn(pa(t),xr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&A.Self?Gd():this.parent).get(t,n=r&A.Optional&&n===yr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ao]=s[Ao]||[]).unshift(L(t)),o)throw s;return function(e,t,n,r){const o=e[Ao];throw t[pc]&&o.unshift(t[pc]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=L(t);if(Array.isArray(t))o=t.map(L).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):L(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Hy,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ao]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Ft(i),hc(o)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(L(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=S(t)))return!1;let o=El(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=El(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{ht(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:p}=c[d];ht(p,h=>this.processProvider(h,f,p||G))}}this.injectorDefTypes.add(s);const u=Yt(s)||(()=>new s);this.records.set(s,Nn(u,xr));const l=o.providers;if(null!=l&&!a){const c=t;ht(l,d=>this.processProvider(d,c,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Pn(t=S(t))?t:S(t&&t.provide);const i=(e=t,Qd(e)?Nn(void 0,e.useValue):Nn(function(e,t,n){let r;if(Pn(e)){const o=S(e);return Yt(o)||pa(o)}if(Qd(e))r=()=>S(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...vs(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>q(S(e.useExisting));else{const o=S(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Yt(o)||pa(o);r=()=>new o(...vs(e.deps))}return r}(e),xr));var e;if(Pn(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Nn(void 0,xr,!0),s.factory=()=>vs(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===xr&&(n.value=c_,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=S(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function pa(e){const t=ji(e),n=null!==t?t.factory:Yt(e);if(null!==n)return n;if(e instanceof H)throw new Error(`Token ${L(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=function(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error(`Can't resolve all parameters for ${L(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[ro]||e[Cl]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qd(e){return null!==e&&"object"==typeof e&&Uy in e}function Pn(e){return"function"==typeof e}let Ge=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return zd({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return zd({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=yr,e.NULL=new Ud,e.\u0275prov=J({token:e,providedIn:"any",factory:()=>q(ca)}),e.__NG_ELEMENT_ID__=-1,e})();function T_(e,t){Do(Ss(e)[1],ue())}let zo=null;function Rn(){if(!zo){const e=$.Symbol;if(e&&e.iterator)zo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(zo=r)}}}return zo}function Fr(e){return!!ya(e)&&(Array.isArray(e)||!(e instanceof Map)&&Rn()in e)}function ya(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ye(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Da(e,t,n,r){const o=y();return ye(o,hn(),t)&&(k(),yt(ee(),o,e,t,n,r)),Da}function Ln(e,t,n,r){return ye(e,hn(),n)?t+M(n)+r:T}function Xt(e,t,n,r,o,i,s,a){const u=y(),l=k(),c=e+z,d=l.firstCreatePass?function(e,t,n,r,o,i,s,a,u){const l=t.consts,c=An(t,e,4,s||null,Rt(l,a));ra(t,n,c,Rt(l,u)),Do(t,c);const d=c.tViews=$o(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];pt(d,!1);const f=u[x].createComment("");ko(l,u,f,d),me(f,u),Uo(u,u[c]=Ld(f,u,f,d)),co(d)&&ta(l,u,d),null!=s&&na(u,d,a)}function P(e,t=A.Default){const n=y();return null===n?q(e,t):rc(ue(),n,S(e),t)}function ot(e,t,n){const r=y();return ye(r,hn(),t)&&Le(k(),ee(),r,e,t,r[x],n,!1),ot}function wa(e,t,n,r,o){const s=o?"class":"style";$d(e,n,t.inputs[s],s,r)}function V(e,t,n,r){const o=y(),i=k(),s=z+e,a=o[x],u=o[s]=Ls(a,t,I.lFrame.currentNamespace),l=i.firstCreatePass?function(e,t,n,r,o,i,s){const a=t.consts,l=An(t,e,2,o,Rt(a,i));return ra(t,n,l,Rt(a,s)),null!==l.attrs&&Go(l,l.attrs,!1),null!==l.mergedAttrs&&Go(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];pt(l,!0);const c=l.mergedAttrs;null!==c&&Eo(a,u,c);const d=l.classes;null!==d&&$s(a,u,d);const f=l.styles;null!==f&&id(a,u,f),64!=(64&l.flags)&&ko(i,o,u,l),0===I.lFrame.elementDepthCount&&me(u,o),I.lFrame.elementDepthCount++,co(l)&&(ta(i,o,l),function(e,t,n){if(Wi(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,l,o)),null!==r&&na(o,l)}function j(){let e=ue();ts()?I.lFrame.isParent=!1:(e=e.parent,pt(e,!1));const t=e;I.lFrame.elementDepthCount--;const n=k();n.firstCreatePass&&(Do(n,e),Wi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&wa(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&wa(n,t,y(),t.stylesWithoutHost,!1)}function Qo(e,t,n,r){V(e,t,n,r),j()}function ba(e){return!!e&&"function"==typeof e.then}const lE=function(e){return!!e&&"function"==typeof e.subscribe};function zn(e,t,n,r){const o=y(),i=k(),s=ue();return function(e,t,n,r,o,i,s,a){const u=co(r),c=e.firstCreatePass&&Vd(e),d=t[8],f=Bd(t);let p=!0;if(3&r.type||a){const D=He(r,t),v=a?a(D):D,g=f.length,C=a?N=>a(oe(N[r.index])):r.index;if(X(n)){let N=null;if(!a&&u&&(N=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,p=!1;else{i=Ia(r,t,d,i,!1);const B=n.listen(v,o,i);f.push(i,B),c&&c.push(o,C,g,g+1)}}else i=Ia(r,t,d,i,!0),v.addEventListener(o,i,s),f.push(i),c&&c.push(o,C,g,s)}else i=Ia(r,t,d,i,!1);const h=r.outputs;let m;if(p&&null!==h&&(m=h[o])){const D=m.length;if(D)for(let v=0;v<D;v+=2){const ke=t[m[v]][m[v+1]].subscribe(i),nn=f.length;f.push(i,ke),c&&c.push(o,r.index,nn,-(nn+1))}}}(i,o,o[x],s,e,t,!!n,r),zn}function Of(e,t,n,r){try{return!1!==n(r)}catch(o){return Hd(e,o),!1}}function Ia(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?Pe(e.index,t):t;0==(32&t[2])&&sa(a);let u=Of(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Of(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function qn(e=1){return function(e){return(I.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,I.lFrame.contextLView))[8]}(e)}function Ma(e,t,n){return Ta(e,"",t,"",n),Ma}function Ta(e,t,n,r,o){const i=y(),s=Ln(i,t,n,r);return s!==T&&Le(k(),ee(),i,e,s,i[x],o,!1),Ta}function Gf(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?nt(i):Tt(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];mE(e[a],t)&&(u=!0,e[a+1]=r?zs(c):Us(c)),a=r?nt(c):Tt(c)}u&&(e[n+1]=r?Us(i):zs(i))}function mE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cn(e,t)>=0}function Sa(e,t){return function(e,t,n,r){const o=y(),i=k(),s=function(e){const t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ee()],s=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){const o=function(e){const t=I.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Pr(n=Aa(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Aa(o,e,t,n,r),null===i){let u=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Tt(r))return e[nt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Aa(null,e,t,u[1],r),u=Pr(u,t.attrs,r),function(e,t,n,r){e[nt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Pr(r,e[i].hostAttrs,n);return Pr(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=nt(s),u=Tt(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Cn(d,c)>0)&&(l=!0)}else c=n;if(o)if(0!==u){const f=nt(e[a+1]);e[r+1]=Vo(f,a),0!==f&&(e[f+1]=Gs(e[f+1],r)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Vo(a,0),0!==a&&(e[a+1]=Gs(e[a+1],r)),a=r;else e[r+1]=Vo(u,0),0===a?a=r:e[u+1]=Gs(e[u+1],r),u=r;l&&(e[r+1]=Us(e[r+1])),Gf(e,c,r,!0),Gf(e,c,r,!1),function(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Cn(i,t)>=0&&(n[r+1]=zs(n[r+1]))}(t,c,e,r,i),s=Vo(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==T&&ye(o,s,t)&&function(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Zo(function(e){return 1==(1&e)}(l)?np(u,t,n,o,Tt(l),s):void 0)||(Zo(i)||function(e){return 2==(2&e)}(l)&&(i=np(u,null,n,o,a,s)),function(e,t,n,r,o){const i=X(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Oe.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=Oe.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,po(Ee(),n),o,i))}(i,i.data[Ee()],o,o[x],e,o[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=L(function(e){return e instanceof class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),Sa}function Aa(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Pr(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Pr(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Re(e,s,!!n||t[++i]))}return void 0===e?null:e}function np(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===T&&(f=d?G:void 0);let p=d?ms(f,r):c===r?f:void 0;if(l&&!Zo(p)&&(p=ms(u,r)),Zo(p)&&(a=p,s))return a;const h=e[o+1];o=s?nt(h):Tt(h)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=ms(u,r))}return a}function Zo(e){return void 0!==e}function qe(e,t=""){const n=y(),r=k(),o=e+z,i=r.firstCreatePass?An(r,o,1,t,null):r.data[o],s=n[o]=function(e,t){return X(e)?e.createText(t):e.createTextNode(t)}(n[x],t);ko(r,n,s,i),pt(i,!1)}function Qn(e){return xa("",e,""),Qn}function xa(e,t,n){const r=y(),o=Ln(r,e,t,n);return o!==T&&St(r,Ee(),o),xa}const en=void 0;var KE=["en",[["a","p"],["AM","PM"],en],[["AM","PM"],en,en],[["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"]],en,[["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"]],en,[["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}",en,"{1} 'at' {0}",en],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Zn={};function bp(e){return e in Zn||(Zn[e]=$.ng&&$.ng.common&&$.ng.common.locales&&$.ng.common.locales[e]),Zn[e]}var E=(()=>((E=E||{})[E.LocaleId=0]="LocaleId",E[E.DayPeriodsFormat=1]="DayPeriodsFormat",E[E.DayPeriodsStandalone=2]="DayPeriodsStandalone",E[E.DaysFormat=3]="DaysFormat",E[E.DaysStandalone=4]="DaysStandalone",E[E.MonthsFormat=5]="MonthsFormat",E[E.MonthsStandalone=6]="MonthsStandalone",E[E.Eras=7]="Eras",E[E.FirstDayOfWeek=8]="FirstDayOfWeek",E[E.WeekendRange=9]="WeekendRange",E[E.DateFormat=10]="DateFormat",E[E.TimeFormat=11]="TimeFormat",E[E.DateTimeFormat=12]="DateTimeFormat",E[E.NumberSymbols=13]="NumberSymbols",E[E.NumberFormats=14]="NumberFormats",E[E.CurrencyCode=15]="CurrencyCode",E[E.CurrencySymbol=16]="CurrencySymbol",E[E.CurrencyName=17]="CurrencyName",E[E.Currencies=18]="Currencies",E[E.Directionality=19]="Directionality",E[E.PluralCase=20]="PluralCase",E[E.ExtraData=21]="ExtraData",E))();const Yo="en-US";let Ip=Yo;class Yp{}class ew{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${L(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Br=(()=>{class e{}return e.NULL=new ew,e})();function tw(){return Kn(ue(),y())}function Kn(e,t){return new Jn(He(e,t))}let Jn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=tw,e})();function nw(e){return e instanceof Jn?e.nativeElement:e}class Jp{}let ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=y(),n=Pe(ue().index,e);return function(e){return e[x]}(ft(n)?n:e)}(),e})(),iw=(()=>{class e{}return e.\u0275prov=J({token:e,providedIn:"root",factory:()=>null}),e})();class Ba{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const sw=new Ba("13.1.1"),Va={};function ti(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(oe(i)),Xe(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&ti(u[1],u,l,r)}const s=n.type;if(8&s)ti(e,t,n.child,r);else if(32&s){const a=Ns(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=nd(t,n);if(Array.isArray(a))r.push(...a);else{const u=Mr(t[16]);ti(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class Vr{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ti(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Xe(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ks(t,r),To(n,r))}this._attachedToViewContainer=!1}Wc(this._lView[1],this._lView)}onDestroy(t){Sd(this._lView[1],this._lView,null,t)}markForCheck(){sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ua(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){go(!0);try{ua(e,t,n)}finally{go(!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,Tr(this._lView[1],t=this._lView,t[x],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class aw extends Vr{constructor(t){super(t),this._view=t}detectChanges(){kd(this._view)}checkNoChanges(){!function(e){go(!0);try{kd(e)}finally{go(!1)}}(this._view)}get context(){return null}}class Xp extends Br{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=he(t);return new ja(n,this.ngModule)}}function eh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const lw=new H("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Vc});class ja extends Yp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(_v).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return eh(this.componentDef.inputs)}get outputs(){return eh(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const i=e.get(n,Va,o);return i!==Va||r===Va?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(Jp,Ol),a=i.get(iw,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,n){if(X(e))return e.selectRootElement(t,n===dt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Ls(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function(e,t){return{components:[],scheduler:e||Vc,clean:a_,playerHandler:t||null,flags:0}}(),p=$o(0,null,null,1,0,null,null,null,null,null),h=Sr(null,p,f,d,null,null,s,u,a,i);let m,D;mo(h);try{const v=function(e,t,n,r,o,i){const s=n[1];n[20]=e;const u=An(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Go(u,l,!0),null!==e&&(Eo(o,e,l),null!==u.classes&&$s(o,e,u.classes),null!==u.styles&&id(o,e,u.styles)));const c=r.createRenderer(e,t),d=Sr(n,Id(t),null,t.onPush?64:16,n[20],u,r,c,i||null,null);return s.firstCreatePass&&(Io(fr(u,n),s,t.type),Pd(s,u),Rd(u,n.length,1)),Uo(n,d),n[20]=d}(c,this.componentDef,h,s,u);if(c)if(r)Eo(u,c,["ng-version",sw.full]);else{const{attrs:g,classes:C}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!tt(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Eo(u,c,g),C&&C.length>0&&$s(u,c,C.join(" "))}if(D=Ji(p,z),void 0!==n){const g=D.projection=[];for(let C=0;C<this.ngContentSelectors.length;C++){const N=n[C];g.push(null!=N?Array.from(N):null)}}m=function(e,t,n,r,o){const i=n[1],s=function(e,t,n){const r=ue();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Od(e,r,t,xn(e,t,1,null),n));const o=pr(t,e,r.directiveStart,r);me(o,t);const i=He(r,t);return i&&me(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(u=>u(s,t)),t.contentQueries){const u=ue();t.contentQueries(1,s,u.directiveStart)}const a=ue();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ot(a.index),Fd(n[1],a,0,a.directiveStart,a.directiveEnd,t),Nd(t,s)),s}(v,this.componentDef,h,f,[T_]),Ar(p,h,null)}finally{yo()}return new fw(this.componentType,m,Kn(D,h),h,D)}}class fw extends class{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new aw(o),this.componentType=t}get injector(){return new yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Xn{}const er=new Map;class rh extends Xn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Xp(this);const r=Be(t);this._bootstrapComponents=mt(r.bootstrap),this._r3Injector=qd(t,n,[{provide:Xn,useValue:this},{provide:Br,useValue:this.componentFactoryResolver}],L(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ge.THROW_IF_NOT_FOUND,r=A.Default){return t===Ge||t===Xn||t===ca?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ha extends class{}{constructor(t){super(),this.moduleType=t,null!==Be(t)&&function(e){const t=new Set;!function n(r){const o=Be(r,!0),i=o.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${L(t)} vs ${L(t.name)}`)}(i,er.get(i),r),er.set(i,r));const s=mt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new rh(this.moduleType,t)}}function oh(e,t,n,r){return function(e,t,n,r,o,i){const s=t+n;return ye(e,s,o)?function(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function(e,t){const n=e[t];return n===T?void 0:n}(e,s+1)}(y(),function(){const e=I.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function $a(e){return t=>{setTimeout(e,void 0,t)}}const We=class extends Fi{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(i=d.error)||void 0===i?void 0:i.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=$a(u),a&&(a=$a(a)),l&&(l=$a(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof Ye&&t.add(c),c}};function Pw(){return this._results[Rn()]()}class Ua{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Rn(),r=Ua.prototype;r[n]||(r[n]=Pw)}get changes(){return this._changes||(this._changes=new We)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=$e(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let at=(()=>{class e{}return e.__NG_ELEMENT_ID__=Lw,e})();const Rw=at,Ow=class extends Rw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Sr(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Ar(n,r,t),new Vr(r)}};function Lw(){return ni(ue(),y())}function ni(e,t){return 4&e.type?new Ow(t,e,Kn(e,t)):null}let Et=(()=>{class e{}return e.__NG_ELEMENT_ID__=kw,e})();function kw(){return fh(ue(),y())}const Bw=Et,ch=class extends Bw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kn(this._hostTNode,this._hostLView)}get injector(){return new yn(this._hostTNode,this._hostLView)}get parentInjector(){const t=bo(this._hostTNode,this._hostLView);if(Jl(t)){const n=mn(t,this._hostLView),r=gn(t);return new yn(n[1].data[r+8],n)}return new yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dh(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!("function"==typeof t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const u=s?t:new ja(he(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule&&l){const d=l.get(Xn,null);d&&(i=d)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(Xe(r[3])){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new ch(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],uc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(o,r,s,i);const a=js(i,s),u=r[x],l=Lo(u,s[7]);return null!==l&&function(e,t,n,r,o,i){r[0]=o,r[6]=t,Tr(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),uc(Ga(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dh(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ks(this._lContainer,n);r&&(To(Ga(this._lContainer),n),Wc(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ks(this._lContainer,n);return r&&null!=To(Ga(this._lContainer),n)?new Vr(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function dh(e){return e[8]}function Ga(e){return e[8]||(e[8]=[])}function fh(e,t){let n;const r=t[e.index];if(Xe(r))n=r;else{let o;if(8&e.type)o=oe(r);else{const i=t[x];o=i.createComment("");const s=He(e,t);Kt(i,Lo(i,s),o,function(e,t){return X(e)?e.nextSibling(t):t.nextSibling}(i,s),!1)}t[e.index]=n=Ld(r,t,o,e),Uo(t,n)}return new ch(n,e,t)}class za{constructor(t){this.queryList=t,this.matches=null}clone(){return new za(this.queryList)}setDirty(){this.queryList.setDirty()}}class qa{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new qa(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==vh(t,n).matches&&this.queries[n].setDirty()}}class ph{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Wa{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Wa(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Qa{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Qa(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,Hw(n,i)),this.matchTNodeWithReadOption(t,n,Mo(n,t,i,!1,!1))}else r===at?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Mo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Jn||o===Et||o===at&&4&n.type)this.addMatch(n.index,-2);else{const i=Mo(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Hw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Uw(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Kn(e,t):4&e.type?ni(e,t):null}(t,e):-2===n?function(e,t,n){return n===Jn?Kn(t,e):n===at?ni(t,e):n===Et?fh(t,e):void 0}(e,t,r):pr(e,e[1],n,t)}function hh(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let u=0;u<s.length;u+=2){const l=s[u];a.push(l<0?null:Uw(t,i[l],s[u+1],n.metadata.read))}o.matches=a}return o.matches}function Za(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=hh(e,t,o,n);for(let a=0;a<i.length;a+=2){const u=i[a];if(u>0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&Za(f[1],f,l,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const p=d[f];Za(p[1],p,l,r)}}}}}return r}function Ya(e){const t=y(),n=k(),r=Ul();is(r+1);const o=vh(n,r);if(e.dirty&&Ll(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?Za(n,t,r,[]):hh(n,t,o,r);e.reset(i,nw),e.notifyOnChanges()}return!0}return!1}function Ka(){return e=y(),t=Ul(),e[19].queries[t].queryList;var e,t}function yh(e,t,n){const r=new Ua(4==(4&n));Sd(e,t,r,r.destroy),null===t[19]&&(t[19]=new qa),t[19].queries.push(new za(r))}function Dh(e,t,n){null===e.queries&&(e.queries=new Wa),e.queries.track(new Qa(t,n))}function vh(e,t){return e.queries.getByIndex(t)}function _h(e,t){return ni(e,t)}function ii(...e){}const ru=new H("Application Initializer");let nr=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ii,this.reject=ii,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(ba(i))n.push(i);else if(lE(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(q(ru,8))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const Ur=new H("AppId"),d0={provide:Ur,useFactory:function(){return`${ou()}${ou()}${ou()}`},deps:[]};function ou(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const kh=new H("Platform Initializer"),iu=new H("Platform ID"),f0=new H("appBootstrapListener");let p0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const jt=new H("LocaleId"),Bh=new H("DefaultCurrencyCode");class h0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Vh=(()=>{class e{compileModuleSync(n){return new Ha(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=mt(Be(n).declarations).reduce((s,a)=>{const u=he(a);return u&&s.push(new ja(u)),s},[]);return new h0(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const m0=(()=>Promise.resolve(0))();function su(e){"undefined"==typeof Zone?m0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class pe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new We(!1),this.onMicrotaskEmpty=new We(!1),this.onStable=new We(!1),this.onError=new We(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let e=$.requestAnimationFrame,t=$.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call($,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,uu(e),e.isCheckStableRunning=!0,au(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return jh(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return jh(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,uu(e),au(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pe.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,D0,ii,ii);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const D0={};function au(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,au(e)}class E0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new We,this.onMicrotaskEmpty=new We,this.onStable=new We,this.onError=new We}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let lu=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pe.assertNotInAngularZone(),su(()=>{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())su(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(q(pe))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})(),$h=(()=>{class e{constructor(){this._applications=new Map,cu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return cu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();class C0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let ut,cu=new C0;const Uh=new H("AllowMultipleToken");function Gh(e,t,n=[]){const r=`Platform: ${t}`,o=new H(r);return(i=[])=>{let s=zh();if(!s||s.injector.get(Uh,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:da,useValue:"platform"});!function(e){if(ut&&!ut.destroyed&&!ut.injector.get(Uh,!1))throw new Se("400","");ut=e.get(qh);const t=e.get(kh,null);t&&t.forEach(n=>n())}(Ge.create({providers:a,name:r}))}return function(e){const t=zh();if(!t)throw new Se("401","");return t}()}}function zh(){return ut&&!ut.destroyed?ut:null}let qh=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new E0:("zone.js"===e?void 0:e)||new pe({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:pe,useValue:a}];return a.run(()=>{const l=Ge.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Mn,null);if(!d)throw new Se("402","");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:p=>{d.handleError(p)}});c.onDestroy(()=>{du(this._modules,c),f.unsubscribe()})}),function(e,t,n){try{const r=n();return ba(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(nr);return f.runInitializers(),f.donePromise.then(()=>(function(e){xe(e,"Expected localeId to be defined"),"string"==typeof e&&(Ip=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(jt,Yo)||Yo),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=Wh({},r);return function(e,t,n){const r=new Ha(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(si);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Se("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Se("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(q(Ge))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();function Wh(e,t){return Array.isArray(t)?t.reduce(Wh,e):Object.assign(Object.assign({},e),t)}let si=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new De(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new De(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),su(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=_m(a,u.pipe(function(e={}){const{connector:t=(()=>new Fi),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},p=()=>{f(),s=u=null,c=d=!1},h=()=>{const m=s;p(),null==m||m.unsubscribe()};return on((m,D)=>{l++,!d&&!c&&f();const v=u=null!=u?u:t();D.add(()=>{l--,0===l&&!d&&!c&&(a=Oi(h,o))}),v.subscribe(D),s||(s=new Ti({next:g=>v.next(g),error:g=>{d=!0,f(),a=Oi(p,n,g),v.error(g)},complete:()=>{c=!0,f(),a=Oi(p,r),v.complete()}}),Dl(m).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Se("405","");let o;o=n instanceof Yp?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Xn),a=o.create(Ge.NULL,[],r||o.selector,i),u=a.location.nativeElement,l=a.injector.get(lu,null),c=l&&a.injector.get($h);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),du(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Se("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;du(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(f0,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(q(pe),q(Ge),q(Mn),q(Br),q(nr))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();function du(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Zh=!0;class ng{constructor(){}supports(t){return Fr(t)}create(t){return new H0(t)}}const j0=(e,t)=>t;class H0{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||j0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<og(r,o,i)?n:r,a=og(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const p=f<i.length?i[f]:i[f]=0,h=p+f;c<=h&&h<l&&(i[f]=p+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Fr(t))throw new Error(`Error trying to diff '${L(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Rn()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new $0(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new rg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $0{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class U0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class rg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new U0,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function og(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class ig{constructor(){}supports(t){return t instanceof Map||ya(t)}create(){return new G0}}class G0{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||ya(t)))throw new Error(`Error trying to diff '${L(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new z0(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class z0{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 sg(){return new Gr([new ng])}let Gr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sg()),deps:[[e,new _r,new wn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=J({token:e,providedIn:"root",factory:sg}),e})();function ag(){return new rr([new ig])}let rr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ag()),deps:[[e,new _r,new wn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=J({token:e,providedIn:"root",factory:ag}),e})();const W0=[new ig],Z0=new Gr([new ng]),Y0=new rr(W0),K0=Gh(null,"core",[{provide:iu,useValue:"unknown"},{provide:qh,deps:[Ge]},{provide:$h,deps:[]},{provide:p0,deps:[]}]),nb=[{provide:si,useClass:si,deps:[pe,Ge,Mn,Br,nr]},{provide:lw,deps:[pe],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:nr,useClass:nr,deps:[[new wn,ru]]},{provide:Vh,useClass:Vh,deps:[]},d0,{provide:Gr,useFactory:function(){return Z0},deps:[]},{provide:rr,useFactory:function(){return Y0},deps:[]},{provide:jt,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Yo},deps:[[new xo(jt),new wn,new _r]]},{provide:Bh,useValue:"USD"}];let ob=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(q(si))},e.\u0275mod=un({type:e}),e.\u0275inj=zt({providers:nb}),e})(),ui=null;function zr(){return ui}const Ct=new H("DocumentToken");var se=(()=>((se=se||{})[se.Zero=0]="Zero",se[se.One=1]="One",se[se.Two=2]="Two",se[se.Few=3]="Few",se[se.Many=4]="Many",se[se.Other=5]="Other",se))();const yb=function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bp(t);if(n)return n;const r=t.split("-")[0];if(n=bp(r),n)return n;if("en"===r)return KE;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[E.PluralCase]};class Di{}let qb=(()=>{class e extends Di{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(yb(r||this.locale)(n)){case se.Zero:return"zero";case se.One:return"one";case se.Two:return"two";case se.Few:return"few";case se.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(q(jt))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();class Yb{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Dg=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new Yb(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),vg(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{vg(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(P(Et),P(at),P(Gr))},e.\u0275dir=Fe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function vg(e,t){e.context.$implicit=t.item}let bu=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Kb,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){_g("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){_g("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(P(Et),P(at))},e.\u0275dir=Fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Kb{constructor(){this.$implicit=null,this.ngIf=null}}function _g(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${L(t)}'.`)}let Cg=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(n){if(n.ngTemplateOutlet){const r=this._viewContainerRef;this._viewRef&&r.remove(r.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?r.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(n){return new(n||e)(P(Et))},e.\u0275dir=Fe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[fo]}),e})(),bg=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=un({type:e}),e.\u0275inj=zt({providers:[{provide:Di,useClass:qb}]}),e})();class Au extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var e;e=new Au,ui||(ui=e)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=(Qr=Qr||document.querySelector("base"),Qr?Qr.getAttribute("href"):null);return null==n?null:function(e){vi=vi||document.createElement("a"),vi.setAttribute("href",e);const t=vi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Qr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let vi,Qr=null;const Tg=new H("TRANSITION_ID"),NI=[{provide:ru,useFactory:function(e,t,n){return()=>{n.get(nr).donePromise.then(()=>{const r=zr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Tg,Ct,Ge],multi:!0}];class xu{static init(){var e;e=new xu,cu=e}addToWindow(t){$.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},$.getAllAngularTestabilities=()=>t.getAllTestabilities(),$.getAllAngularRootElements=()=>t.getAllRootElements(),$.frameworkStabilizers||($.frameworkStabilizers=[]),$.frameworkStabilizers.push(r=>{const o=$.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?zr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let PI=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const _i=new H("EventManagerPlugins");let Ei=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(q(_i),q(pe))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();class Sg{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=zr().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Ag=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})(),Zr=(()=>{class e extends Ag{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(xg),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(xg))}}return e.\u0275fac=function(n){return new(n||e)(q(Ct))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();function xg(e){zr().remove(e)}const Fu={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/"},Nu=/%COMP%/g;function Ci(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?Ci(e,o,n):(o=o.replace(Nu,e),n.push(o))}return n}function Pg(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Pu=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Ru(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case dt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new VI(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case dt.ShadowDom:return new jI(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ci(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(q(Ei),q(Zr),q(Ur))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();class Ru{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Fu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Fu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Fu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Oe.DashCase|Oe.Important)?t.style.setProperty(n,r,o&Oe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Oe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Pg(r)):this.eventManager.addEventListener(t,n,Pg(r))}}class VI extends Ru{constructor(t,n,r,o){super(t),this.component=r;const i=Ci(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Nu,o+"-"+r.id),this.hostAttr="_nghost-%COMP%".replace(Nu,o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class jI extends Ru{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ci(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let HI=(()=>{class e extends Sg{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(q(Ct))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const Og=["alt","control","meta","shift"],UI={"\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"},Lg={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"},GI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let zI=(()=>{class e extends Sg{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>zr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(Og.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Lg.hasOwnProperty(t)&&(t=Lg[t]))}return UI[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Og.forEach(i=>{i!=o&&GI[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(q(Ct))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})();const YI=Gh(K0,"browser",[{provide:iu,useValue:"browser"},{provide:kh,useValue:function(){Au.makeCurrent(),xu.init()},multi:!0},{provide:Ct,useFactory:function(){return e=document,Yi=e,document;var e},deps:[]}]),KI=[{provide:da,useValue:"root"},{provide:Mn,useFactory:function(){return new Mn},deps:[]},{provide:_i,useClass:HI,multi:!0,deps:[Ct,pe,iu]},{provide:_i,useClass:zI,multi:!0,deps:[Ct]},{provide:Pu,useClass:Pu,deps:[Ei,Zr,Ur]},{provide:Jp,useExisting:Pu},{provide:Ag,useExisting:Zr},{provide:Zr,useClass:Zr,deps:[Ct]},{provide:lu,useClass:lu,deps:[pe]},{provide:Ei,useClass:Ei,deps:[_i,pe]},{provide:class{},useClass:PI,deps:[]}];let JI=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ur,useValue:n.appId},{provide:Tg,useExisting:Ur},NI]}}}return e.\u0275fac=function(n){return new(n||e)(q(e,12))},e.\u0275mod=un({type:e}),e.\u0275inj=zt({providers:KI,imports:[bg,ob]}),e})();"undefined"!=typeof window&&window;class lM extends Ye{constructor(t,n){super()}schedule(t,n=0){return this}}const wi={setInterval(...e){const{delegate:t}=wi;return((null==t?void 0:t.setInterval)||setInterval)(...e)},clearInterval(e){const{delegate:t}=wi;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Vg={now:()=>(Vg.delegate||Date).now(),delegate:void 0};class Yr{constructor(t,n=Yr.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Yr.now=Vg.now;const fM=new class extends Yr{constructor(t,n=Yr.now){super(t,n),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class extends lM{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return wi.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;wi.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,rn(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});const gM=["fileSelector"];function mM(e,t){if(1&e&&(V(0,"div",8),qe(1),j()),2&e){const n=qn(2);Ue(1),Qn(n.dropZoneLabel)}}function yM(e,t){if(1&e){const n=y();V(0,"div"),V(1,"input",9),zn("click",function(o){return function(e){I.lFrame.contextLView=e}(n),qn(2).openFileSelector(o)}),j(),j()}if(2&e){const n=qn(2);Ue(1),Ma("value",n.browseBtnLabel),ot("className",n.browseBtnClassName)}}function DM(e,t){if(1&e&&(Xt(0,mM,2,1,"div",6),Xt(1,yM,2,2,"div",7)),2&e){const n=qn();ot("ngIf",n.dropZoneLabel),Ue(1),ot("ngIf",n.showBrowseBtn)}}function vM(e,t){}const _M=function(e){return{openFileSelector:e}};class bi{constructor(t,n){this.relativePath=t,this.fileEntry=n}}let EM=(()=>{class e{constructor(n){this.template=n}}return e.\u0275fac=function(n){return new(n||e)(P(at))},e.\u0275dir=Fe({type:e,selectors:[["","ngx-file-drop-content-tmp",""]]}),e})(),jg=(()=>{class e{constructor(n,r){this.zone=n,this.renderer=r,this.accept="*",this.directory=!1,this.multiple=!0,this.dropZoneLabel="",this.dropZoneClassName="ngx-file-drop__drop-zone",this.useDragEnter=!1,this.contentClassName="ngx-file-drop__content",this.showBrowseBtn=!1,this.browseBtnClassName="btn btn-primary btn-xs ngx-file-drop__browse-btn",this.browseBtnLabel="Browse files",this.onFileDrop=new We,this.onFileOver=new We,this.onFileLeave=new We,this.isDraggingOverDropZone=!1,this.globalDraggingInProgress=!1,this.files=[],this.numOfActiveReadEntries=0,this.helperFormEl=null,this.fileInputPlaceholderEl=null,this.dropEventTimerSubscription=null,this._disabled=!1,this.openFileSelector=o=>{this.fileSelector&&this.fileSelector.nativeElement&&this.fileSelector.nativeElement.click()},this.globalDragStartListener=this.renderer.listen("document","dragstart",o=>{this.globalDraggingInProgress=!0}),this.globalDragEndListener=this.renderer.listen("document","dragend",o=>{this.globalDraggingInProgress=!1})}get disabled(){return this._disabled}set disabled(n){this._disabled=null!=n&&"false"!=`${n}`}ngOnDestroy(){this.dropEventTimerSubscription&&(this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=null),this.globalDragStartListener(),this.globalDragEndListener(),this.files=[],this.helperFormEl=null,this.fileInputPlaceholderEl=null}onDragOver(n){this.useDragEnter?(this.preventAndStop(n),n.dataTransfer&&(n.dataTransfer.dropEffect="copy")):!this.isDropzoneDisabled()&&!this.useDragEnter&&n.dataTransfer&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(n)),this.preventAndStop(n),n.dataTransfer.dropEffect="copy")}onDragEnter(n){!this.isDropzoneDisabled()&&this.useDragEnter&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(n)),this.preventAndStop(n))}onDragLeave(n){this.isDropzoneDisabled()||(this.isDraggingOverDropZone&&(this.isDraggingOverDropZone=!1,this.onFileLeave.emit(n)),this.preventAndStop(n))}dropFiles(n){if(!this.isDropzoneDisabled()&&(this.isDraggingOverDropZone=!1,n.dataTransfer)){let r;r=n.dataTransfer.items?n.dataTransfer.items:n.dataTransfer.files,this.preventAndStop(n),this.checkFiles(r)}}uploadFiles(n){!this.isDropzoneDisabled()&&n.target&&(this.checkFiles(n.target.files||[]),this.resetFileInput())}checkFiles(n){for(let r=0;r<n.length;r++){const o=n[r];let i=null;if(this.canGetAsEntry(o)&&(i=o.webkitGetAsEntry()),i)if(i.isFile){const s=new bi(i.name,i);this.addToQueue(s)}else i.isDirectory&&this.traverseFileTree(i,i.name);else if(o){const s={name:o.name,isDirectory:!1,isFile:!0,file:u=>u(o)},a=new bi(s.name,s);this.addToQueue(a)}}this.dropEventTimerSubscription&&this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=function(e=0,t,n=fM){let r=-1;return null!=t&&(hl(t)?n=t:r=t),new De(o=>{let i=function(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}(200,200).subscribe(()=>{if(this.files.length>0&&0===this.numOfActiveReadEntries){const r=this.files;this.files=[],this.onFileDrop.emit(r)}})}traverseFileTree(n,r){if(n.isFile){const o=new bi(r,n);this.files.push(o)}else{r+="/";const o=n.createReader();let i=[];const s=()=>{this.numOfActiveReadEntries++,o.readEntries(a=>{if(a.length)i=i.concat(a),s();else if(0===i.length){const u=new bi(r,n);this.zone.run(()=>{this.addToQueue(u)})}else for(let u=0;u<i.length;u++)this.zone.run(()=>{this.traverseFileTree(i[u],r+i[u].name)});this.numOfActiveReadEntries--})};s()}}resetFileInput(){if(this.fileSelector&&this.fileSelector.nativeElement){const n=this.fileSelector.nativeElement,r=n.parentElement,o=this.getHelperFormElement(),i=this.getFileInputPlaceholderElement();r!==o&&(this.renderer.insertBefore(r,i,n),this.renderer.appendChild(o,n),o.reset(),this.renderer.insertBefore(r,n,i),this.renderer.removeChild(r,i))}}getHelperFormElement(){return this.helperFormEl||(this.helperFormEl=this.renderer.createElement("form")),this.helperFormEl}getFileInputPlaceholderElement(){return this.fileInputPlaceholderEl||(this.fileInputPlaceholderEl=this.renderer.createElement("div")),this.fileInputPlaceholderEl}canGetAsEntry(n){return!!n.webkitGetAsEntry}isDropzoneDisabled(){return this.globalDraggingInProgress||this.disabled}addToQueue(n){this.files.push(n)}preventAndStop(n){n.stopPropagation(),n.preventDefault()}}return e.\u0275fac=function(n){return new(n||e)(P(pe),P(ka))},e.\u0275cmp=io({type:e,selectors:[["ngx-file-drop"]],contentQueries:function(n,r,o){if(1&n&&function(e,t,n,r){const o=k();if(o.firstCreatePass){const i=ue();Dh(o,new ph(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}yh(o,y(),n)}(o,EM,5,at),2&n){let i;Ya(i=Ka())&&(r.contentTemplate=i.first)}},viewQuery:function(n,r){if(1&n&&function(e,t,n){const r=k();r.firstCreatePass&&(Dh(r,new ph(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),yh(r,y(),t)}(gM,7),2&n){let o;Ya(o=Ka())&&(r.fileSelector=o.first)}},inputs:{accept:"accept",directory:"directory",multiple:"multiple",dropZoneLabel:"dropZoneLabel",dropZoneClassName:"dropZoneClassName",useDragEnter:"useDragEnter",contentClassName:"contentClassName",showBrowseBtn:"showBrowseBtn",browseBtnClassName:"browseBtnClassName",browseBtnLabel:"browseBtnLabel",disabled:"disabled"},outputs:{onFileDrop:"onFileDrop",onFileOver:"onFileOver",onFileLeave:"onFileLeave"},decls:7,vars:15,consts:[[3,"className","drop","dragover","dragenter","dragleave"],[3,"className"],["type","file",1,"ngx-file-drop__file-input",3,"accept","multiple","change"],["fileSelector",""],["defaultContentTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ngx-file-drop__drop-zone-label",4,"ngIf"],[4,"ngIf"],[1,"ngx-file-drop__drop-zone-label"],["type","button",3,"className","value","click"]],template:function(n,r){if(1&n&&(V(0,"div",0),zn("drop",function(i){return r.dropFiles(i)})("dragover",function(i){return r.onDragOver(i)})("dragenter",function(i){return r.onDragEnter(i)})("dragleave",function(i){return r.onDragLeave(i)}),V(1,"div",1),V(2,"input",2,3),zn("change",function(i){return r.uploadFiles(i)}),j(),Xt(4,DM,2,2,"ng-template",null,4,_h),Xt(6,vM,0,0,"ng-template",5),j(),j()),2&n){const o=function(e){return function(e,t){return e[t]}(I.lFrame.contextLView,z+e)}(5);Sa("ngx-file-drop__drop-zone--over",r.isDraggingOverDropZone),ot("className",r.dropZoneClassName),Ue(1),ot("className",r.contentClassName),Ue(1),ot("accept",r.accept)("multiple",r.multiple),Da("directory",r.directory||void 0)("webkitdirectory",r.directory||void 0)("mozdirectory",r.directory||void 0)("msdirectory",r.directory||void 0)("odirectory",r.directory||void 0),Ue(4),ot("ngTemplateOutlet",r.contentTemplate||o)("ngTemplateOutletContext",oh(13,_M,r.openFileSelector))}},directives:[Cg,bu],styles:[".ngx-file-drop__drop-zone[_ngcontent-%COMP%]{border:2px dotted #0782d0;border-radius:30px;height:100px;margin:auto}.ngx-file-drop__drop-zone--over[_ngcontent-%COMP%]{background-color:hsla(0,0%,57.6%,.5)}.ngx-file-drop__content[_ngcontent-%COMP%]{align-items:center;color:#0782d0;display:flex;height:100px;justify-content:center}.ngx-file-drop__drop-zone-label[_ngcontent-%COMP%]{text-align:center}.ngx-file-drop__file-input[_ngcontent-%COMP%]{display:none}"]}),e})(),CM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=un({type:e,bootstrap:function(){return[jg]}}),e.\u0275inj=zt({providers:[],imports:[[bg]]}),e})();function wM(e,t){if(1&e&&(V(0,"tr"),V(1,"td"),qe(2),j(),V(3,"td"),qe(4),j(),V(5,"td"),qe(6),j(),j()),2&e){const n=t.$implicit;Ue(2),Qn(n.name),Ue(2),Qn(n.size),Ue(2),Qn(n.modified)}}function bM(e,t){if(1&e&&(V(0,"div",10),V(1,"table",11),V(2,"thead"),V(3,"tr"),V(4,"td"),qe(5,"Name"),j(),V(6,"td"),qe(7,"Size"),j(),V(8,"td"),qe(9,"Last Modified Date"),j(),j(),j(),V(10,"tbody"),Xt(11,wM,7,3,"tr",12),j(),j(),j()),2&e){const n=qn();Ue(11),ot("ngForOf",n.data)}}let IM=(()=>{class e{constructor(){this.files=[],this.data=[],this.units=["bytes","KB","MB","GB","TB","PB"]}dropped(n){console.log("dropped",n),this.files=n,this.data=[];let r=0;for(const o of n)o.fileEntry.isFile?o.fileEntry.file(s=>{console.log(s);let a=s.lastModified.toLocaleString();this.data.push({name:this.files[r].relativePath,size:this.transform(s.size),modified:a})}):r++}transform(n=0,r=2){if(isNaN(parseFloat(String(n)))||!isFinite(n))return"?";let o=0;for(;n>=1024;)n/=1024,o++;return n.toFixed(+r)+" "+this.units[o]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=io({type:e,selectors:[["app-root"]],decls:18,vars:1,consts:[[1,"container","custom"],["href","https://github.com/georgipeltekov/ngx-file-drop",1,"float-end"],["src","assets/GitHub-Mark-32px.png","alt","GitHub Logo"],[1,"row"],[1,"center"],[1,"text-style"],["href","https://www.npmjs.com/package/ngx-file-drop","target","_blank"],[1,"drop-container"],["dropZoneLabel","Drop files here",3,"onFileDrop"],["class","table-responsive upload-table",4,"ngIf"],[1,"table-responsive","upload-table"],[1,"table"],[4,"ngFor","ngForOf"]],template:function(n,r){1&n&&(V(0,"div",0),V(1,"a",1),Qo(2,"img",2),j(),V(3,"div",3),V(4,"div",4),V(5,"span",5),qe(6,"Example of "),V(7,"a",6),qe(8,"ngx-file-drop"),j(),qe(9," library"),j(),Qo(10,"br"),V(11,"span",5),qe(12,"Drag folder or file and the library will make the traverse for you"),j(),j(),j(),V(13,"div",3),V(14,"div",7),V(15,"ngx-file-drop",8),zn("onFileDrop",function(i){return r.dropped(i)}),Qo(16,"span"),j(),Xt(17,bM,12,1,"div",9),j(),j(),j()),2&n&&(Ue(17),ot("ngIf",r.data.length>0))},directives:[jg,bu,Dg],styles:[".custom[_ngcontent-%COMP%]{margin-top:100px}.center[_ngcontent-%COMP%]{text-align:center}.text-style[_ngcontent-%COMP%]{font-size:28px;padding:15px}.drop-container[_ngcontent-%COMP%], .upload-table[_ngcontent-%COMP%]{padding-top:20px}"]}),e})(),MM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=un({type:e,bootstrap:[IM]}),e.\u0275inj=zt({providers:[],imports:[[JI,CM]]}),e})();Zh=!1,YI().bootstrapModule(MM).catch(e=>console.error(e))}},K=>{K(K.s=964)}]);