(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return d})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return u}));var r=n("8Y7J"),s=n("SVse");let i;try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(f){i=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(s.r)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.ngInjectableDef=Object(r.Mb)({factory:function(){return new t(Object(r.Nb)(r.A,8))},token:t,providedIn:"root"}),t})();class l{}function c(t){return function(){if(null==o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?t:!!t.capture}const u=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let h;function d(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function p(){if("object"!=typeof document||!document)return u.NORMAL;if(!h){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),h=u.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,h=0===t.scrollLeft?u.NEGATED:u.INVERTED),t.parentNode.removeChild(t)}return h}},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("bHdf");function s(){return Object(r.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("l7GE"),s=n("ZUHj");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new a(t),r=Object(s.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class a extends r.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("XNiG"),s=n("9ppp");class i extends r.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"3N8a":function(t,e,n){"use strict";var r=n("quSY");class s extends r.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return i}));class i extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"4I5i":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",(function(){return s})),r.prototype=Object.create(Error.prototype);const s=r},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("ZUHj"),s=n("l7GE"),i=n("51Dv"),o=n("lJxs"),a=n("Cfvw");function l(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(l((n,r)=>Object(a.a)(t(n,r)).pipe(Object(o.a)((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new c(t,n)))}class c{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}class u extends s.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("7o/Q");class s extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5GAg":function(t,e,n){"use strict";n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return b})),n.d(e,"b",(function(){return S})),n.d(e,"d",(function(){return E}));var r=n("SVse"),s=n("8Y7J"),i=n("XNiG"),o=n("quSY"),a=n("LRne"),l=n("dvZr"),c=n("vkgz"),u=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),p=(n("IzEk"),n("/HVE")),f=n("KCVW");class m{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new i.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new i.a,this.change=new i.a,t instanceof s.C&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(u.a)(t),Object(h.a)(()=>this._pressedLetters.length>0),Object(d.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(l.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.m||e>=l.n&&e<=l.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),r=e[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}updateActiveItemIndex(t){this.updateActiveItem(t)}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.C?this._items.toArray():this._items}}class g extends m{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}const _=new s.p("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),y=new s.p("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let b=(()=>{class t{constructor(t,e,n,r){this._ngZone=e,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let r,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[r,s]=e,this.clear(),clearTimeout(this._previousTimeout),r||(r=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,v)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(a.a)(null);const n=Object(f.d)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let r={unlisten:()=>{},checkChildren:e,subject:new i.a};this._elementInfo.set(n,r),this._incrementMonitoredElementCount();let s=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",s,!0),n.addEventListener("blur",o,!0)}),r.unlisten=()=>{n.removeEventListener("focus",s,!0),n.removeEventListener("blur",o,!0)},r.subject.asObservable()}stopMonitoring(t){const e=Object(f.d)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const r=Object(f.d)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,w),document.addEventListener("mousedown",this._documentMousedownListener,w),document.addEventListener("touchstart",this._documentTouchstartListener,w),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,w),document.removeEventListener("mousedown",this._documentMousedownListener,w),document.removeEventListener("touchstart",this._documentTouchstartListener,w),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=Object(s.Mb)({factory:function(){return new t(Object(s.Nb)(s.y),Object(s.Nb)(p.a))},token:t,providedIn:"root"}),t})();function E(t){return 0===t.buttons}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("n6bG"),s=n("gRHU"),i=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends i.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!t){this.destination=s.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const r=new c(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:t,_parents:e}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this}}class u extends c{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let a=this;Object(r.a)(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==s.a&&(a=Object.create(e),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8Y7J":function(t,e,n){"use strict";n.d(e,"kb",(function(){return Ho})),n.d(e,"lb",(function(){return Uo})),n.d(e,"mb",(function(){return Vo})),n.d(e,"nb",(function(){return zo})),n.d(e,"jb",(function(){return Pi})),n.d(e,"ib",(function(){return gi})),n.d(e,"g",(function(){return Co})),n.d(e,"R",(function(){return vo})),n.d(e,"x",(function(){return bo})),n.d(e,"S",(function(){return me})),n.d(e,"W",(function(){return fe})),n.d(e,"c",(function(){return Ii})),n.d(e,"B",(function(){return Ni})),n.d(e,"A",(function(){return Di})),n.d(e,"b",(function(){return Li})),n.d(e,"d",(function(){return Ai})),n.d(e,"e",(function(){return Ri})),n.d(e,"U",(function(){return Mo})),n.d(e,"M",(function(){return co})),n.d(e,"Y",(function(){return po})),n.d(e,"t",(function(){return Fi})),n.d(e,"f",(function(){return $o})),n.d(e,"m",(function(){return ki})),n.d(e,"l",(function(){return he})),n.d(e,"G",(function(){return Be})),n.d(e,"H",(function(){return Fe})),n.d(e,"a",(function(){return xn})),n.d(e,"P",(function(){return Z})),n.d(e,"N",(function(){return ur})),n.d(e,"Mb",(function(){return g})),n.d(e,"T",(function(){return w})),n.d(e,"q",(function(){return gn})),n.d(e,"Nb",(function(){return U})),n.d(e,"V",(function(){return V})),n.d(e,"n",(function(){return A})),n.d(e,"p",(function(){return T})),n.d(e,"o",(function(){return u})),n.d(e,"z",(function(){return h})),n.d(e,"I",(function(){return p})),n.d(e,"y",(function(){return no})),n.d(e,"D",(function(){return lr})),n.d(e,"E",(function(){return or})),n.d(e,"F",(function(){return ar})),n.d(e,"i",(function(){return qi})),n.d(e,"j",(function(){return Jn})),n.d(e,"k",(function(){return rr})),n.d(e,"u",(function(){return W})),n.d(e,"w",(function(){return q})),n.d(e,"v",(function(){return ko})),n.d(e,"C",(function(){return Ti})),n.d(e,"J",(function(){return Io})),n.d(e,"K",(function(){return Ao})),n.d(e,"L",(function(){return Or})),n.d(e,"O",(function(){return Ar})),n.d(e,"h",(function(){return dn})),n.d(e,"r",(function(){return Sr})),n.d(e,"s",(function(){return Er})),n.d(e,"Q",(function(){return In})),n.d(e,"X",(function(){return Bo})),n.d(e,"wb",(function(){return Pn})),n.d(e,"bb",(function(){return Mi})),n.d(e,"Z",(function(){return fn})),n.d(e,"ab",(function(){return tr})),n.d(e,"eb",(function(){return Le})),n.d(e,"fb",(function(){return Ve})),n.d(e,"gb",(function(){return be})),n.d(e,"vb",(function(){return O})),n.d(e,"zb",(function(){return An})),n.d(e,"Gb",(function(){return b})),n.d(e,"xb",(function(){return Wn})),n.d(e,"yb",(function(){return qn})),n.d(e,"ub",(function(){return wi})),n.d(e,"tb",(function(){return Si})),n.d(e,"cb",(function(){return _i})),n.d(e,"db",(function(){return yi})),n.d(e,"Lb",(function(){return ot})),n.d(e,"Jb",(function(){return kn})),n.d(e,"Pb",(function(){return Nn})),n.d(e,"Ob",(function(){return Dn})),n.d(e,"Kb",(function(){return Ln})),n.d(e,"Qb",(function(){return Bn})),n.d(e,"hb",(function(){return qo})),n.d(e,"ob",(function(){return Ps})),n.d(e,"pb",(function(){return pl})),n.d(e,"qb",(function(){return Qr})),n.d(e,"rb",(function(){return ni})),n.d(e,"sb",(function(){return Wo})),n.d(e,"Ab",(function(){return xs})),n.d(e,"Bb",(function(){return Cs})),n.d(e,"Cb",(function(){return na})),n.d(e,"Db",(function(){return zs})),n.d(e,"Eb",(function(){return sa})),n.d(e,"Fb",(function(){return Xo})),n.d(e,"Hb",(function(){return ia})),n.d(e,"Ib",(function(){return la}));var r=n("XNiG"),s=n("quSY"),i=n("HDdC"),o=n("VRyK"),a=n("w1tV");const l="__parameters__";function c(t,e,n){const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(l)?t[l]:Object.defineProperty(t,l,{value:[]})[l];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}const u=c("Inject",t=>({token:t})),h=c("Optional"),d=c("Self"),p=c("SkipSelf");var f=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function m(t){for(let e in t)if(t[e]===m)return e;throw Error("Could not find renamed property on target object.")}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function _(t){const e=t[y];return e&&e.token===t?e:null}const y=m({ngInjectableDef:m});function b(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(b).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const v=m({__forward_ref__:m});function w(t){return t.__forward_ref__=w,t.toString=function(){return b(this())},t}function S(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(v)&&e.__forward_ref__===w?e():t}const E="undefined"!=typeof globalThis&&globalThis,C="undefined"!=typeof window&&window,x="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,k="undefined"!=typeof global&&global,O=E||k||C||x;class T{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const A=new T("INJECTOR",-1),R=new Object,I="ngTempTokenPath",P="ngTokenPath",j=/\n/gm,N="\u0275",D="__source",L=m({provide:String,useValue:m});let M,F=void 0;function B(t){const e=F;return F=t,e}function H(t,e=f.Default){if(void 0===F)throw new Error("inject() must be called from an injection context");return null===F?function(t,e,n){const r=_(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&f.Optional)return null;throw new Error(`Injector: NOT_FOUND [${b(t)}]`)}(t,0,e):F.get(t,e&f.Optional?null:void 0,e)}function U(t,e=f.Default){return(M||H)(t,e)}const V=U;class z{get(t,e=R){if(e===R){const e=new Error(`NullInjectorError: No provider for ${b(t)}!`);throw e.name="NullInjectorError",e}return e}}function $(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==N?t.substr(2):t;let s=b(e);if(e instanceof Array)s=e.map(b).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):b(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(j,"\n ")}`}class q{}class W{}function Q(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function G(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const K=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Z=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),X={},Y=[],J=m({ngComponentDef:m}),tt=m({ngDirectiveDef:m}),et=m({ngPipeDef:m});let nt=0;function rt(t){return function(t){return t[J]||null}(t)||function(t){return t[tt]||null}(t)}function st(t){return function(t){return t[et]||null}(t)}function it(t,e){if(null==t)return X;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const ot=function(t){const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Z.Emulated,id:"c",styles:t.styles||Y,_:null,setInput:null,schemas:t.schemas||null,tView:null};return s._=""+{toString:()=>{const n=t.directives,i=t.features,o=t.pipes;s.id+=nt++,s.inputs=it(t.inputs,r),s.outputs=it(t.outputs),i&&i.forEach(t=>t(s)),s.directiveDefs=n?()=>("function"==typeof n?n():n).map(rt):null,s.pipeDefs=o?()=>("function"==typeof o?o():o).map(st):null,e.hasOwnProperty(y)||(e[y]=g({token:e,factory:t.factory}))}},s},at=0,lt=1,ct=7,ut=12,ht=19;let dt=null;const pt=new Map;let ft=null;const mt=1,gt=0;function _t(t,e){return ft&&t===ft||(ft=t,e&&(dt=pt.get(t)||null),dt=dt||{classesBitMask:gt,classesIndex:mt,stylesBitMask:gt,stylesIndex:mt}),dt}function yt(t,e){return function(t){for(;Array.isArray(t);)t=t[at];return t}(e[t.index])}function bt(t,e){return e[lt].data[t+ht]}let vt=null;function wt(){return Et}let St,Et,Ct,xt=1,kt=0,Ot=0,Tt=-1;function At(){return Tt}function Rt(){return Ct}const It=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(O))(),Pt="--MAP--",jt=0;function Nt(t,e){e===jt?t[2]>jt&&function(t){Lt(t,2|Dt(t))}(t):t[2]=e}function Dt(t){return t[1]}function Lt(t,e){t[1]=e}function Mt(t,e){return t[e+2]}function Ft(t,e){return 1&t[e+0]}function Bt(t,e){return(1&Ft(t,e))>0}function Ht(t,e){return t[e+0]>>1}function Ut(t,e,n){const r=Ft(t,e);t[e+0]=r|n<<1}function Vt(t,e){return t[e+1]}function zt(t,e,n){return t[e+3+n]}function $t(t,e){return!(!t||e!==t[2])}function qt(t){return(1&Dt(t))>0}function Wt(t){return(2&Dt(t))>0}function Qt(t){return 6+t[4]}function Gt(t,e){let n=Array.isArray(t)?t[0]:t,r=Array.isArray(e)?e[0]:e;return n instanceof String&&(n=n.toString()),r instanceof String&&(r=r.toString()),function(t,e){return!(t!=t&&e!=e)&&t!==e}(n,r)}function Kt(t){return null!=t&&""!==t}function Zt(t,e,n=" "){return t+(e.length&&t.length?n:"")+e}function Xt(t){return t.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}function Yt(t){return Jt(t)?t[0]:t}function Jt(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function te(t,e){return t[e+0]}function ee(t,e,n){t[e+1]=n}function ne(t,e){return t[e+1]}const re=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function se(t){return!!t.listen}const ie="ngDebugContext",oe="ngOriginalError",ae="ngErrorLogger";function le(t){return t[ie]}function ce(t){return t[oe]}function ue(t,...e){t.error(...e)}class he{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[ae]||ue}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?le(t)?le(t):this._findContext(ce(t)):null}_findOriginalError(t){let e=ce(t);for(;e&&ce(e);)e=ce(e);return e}}let de=!0,pe=!1;function fe(){return pe=!0,de}function me(){if(pe)throw new Error("Cannot enable prod mode after platform setup.");de=!1}class ge{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=""+t+"";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0be(t.trim())).join(", ")),this.buf.push(" ",e,'="',Ne(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ke.hasOwnProperty(e)&&!Se.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ne(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Pe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,je=/([^\#-~ |!])/g;function Ne(t){return t.replace(/&/g,"&").replace(Pe,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(je,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let De;function Le(t,e){let n=null;try{De=De||new ge(t);let r=e?String(e):"";n=De.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=De.getInertBodyElement(r)}while(r!==i);const o=new Ie,a=o.sanitizeChildren(Me(n)||n);return fe()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Me(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Me(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Fe=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class Be{}const He=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ue=/^url\(([^)]+)\)$/;function Ve(t){if(!(t=String(t).trim()))return"";const e=t.match(Ue);return e&&be(e[1])===e[1]||t.match(He)&&function(t){let e=!0,n=!0;for(let r=0;rgt}(r,i))?(function(t,e,n,r,s,i,o){const a=!0===(l=s)?-1:!1===l?0:l;var l;const c=nn,u=(a&Ht(t,3))>0?1:0;let h=Qt(t);for(;h{const s=e.style;r?(r=r.toString(),t&&se(t)?t.setStyle(e,n,r,re.DashCase):s&&s.setProperty(n,r)):t&&se(t)?t.removeStyle(e,n,re.DashCase):s&&s.removeProperty(n)},sn=(t,e,n,r)=>{if(""!==n){const s=e.classList;r?t&&se(t)?t.addClass(e,n):s&&s.add(n):t&&se(t)?t.removeClass(e,n):s&&s.remove(n)}},on={},an=(t,e,n,r,s,i,o,a,l)=>{let c=!1;if(Vt(t,3)){let u=!0;const h=!a;h&&-2&o&&(u=!1,c=!0),u&&(c=function t(e,n,r,s,i,o,a,l,c,u){let h=!1;if(c=un.length&&un.push(1),un[d]);for(;ml,_=!g&&d===l,y=ne(f,m),b=Kt(y);let v=t(e,n,r,s,i,o,g?a:ln(a,b,_),g?l:d,c+1,u);if(g){h||(h=v);break}if(!v&&cn(a,_)){const t=_&&!b,e=t?u:y,s=t?p:null;i(n,r,d,o?o(d,e,3):e,s),v=!0}h=v&&_,m+=2}if(un[c]=m,1===f.length||!l)return t(e,n,r,s,i,o,a,l,c+1,u)}var d;return h}(t,e,n,r,s,i,o,a||null,0,l||null)),h&&function(){for(let t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const un=[];function hn(t,e,n,r){for(let s=1;s{class t{}return t.__NG_ELEMENT_ID__=()=>pn(),t})();const pn=(...t)=>{},fn=new T("The presence of this token marks an injector as being the root injector."),mn=function(t,e,n){return new Sn(t,e,n)};let gn=(()=>{class t{static create(t,e){return Array.isArray(t)?mn(t,e,""):mn(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=R,t.NULL=new z,t.ngInjectableDef=g({token:t,providedIn:"any",factory:()=>U(A)}),t.__NG_ELEMENT_ID__=-1,t})();const _n=function(t){return t},yn=[],bn=_n,vn=function(){return Array.prototype.slice.call(arguments)},wn="\u0275";class Sn{constructor(t,e=gn.NULL,n=null){this.parent=e,this.source=n;const r=this._records=new Map;r.set(gn,{token:gn,fn:_n,deps:yn,value:this,useNew:!1}),r.set(A,{token:A,fn:_n,deps:yn,value:this,useNew:!1}),function t(e,n){if(n)if((n=S(n))instanceof Array)for(let r=0;rt.push(b(n))),`StaticInjector[${t.join(", ")}]`}}function En(t){return Cn("Cannot mix multi providers and regular providers",t)}function Cn(t,e){return new Error($(t,e,"StaticInjectorError"))}const xn=new T("AnalyzeForEntryComponents");function kn(t){const e=wt(),n=e[lt];n.firstTemplatePass&&(function(t,e,n){const r=t.expandoInstructions,s=r.length;s>=2&&r[s-2]===e.hostBindings?r[s-1]=r[s-1]+n:r.push(e.hostBindings,n)}(n,vt,t),function(t,e,n){for(let r=0;r0&&(r=n?Zt(t,((s=e)&&"string"!=typeof s&&(s=Object.keys(s).join(" ")),s||"")):Zt(t,function(t){let e="";if(t){const n=Object.keys(t);for(let r=0;r0}function qn(t){return!!t&&"function"==typeof t.then}function Wn(t){return!!t&&"function"==typeof t.subscribe}class Qn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class Gn{}class Kn{}function Zn(t){const e=Error(`No component factory found for ${b(t)}. Did you add it to @NgModule.entryComponents?`);return e[Xn]=t,e}const Xn="ngComponent";class Yn{resolveComponentFactory(t){throw Zn(t)}}let Jn=(()=>{class t{}return t.NULL=new Yn,t})();class tr{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let r=0;r{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>sr(t),t})();const sr=nr;class ir{}class or{}const ar=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let lr=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>cr(),t})();const cr=nr;class ur{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const hr=new ur("8.2.14");class dr{constructor(){}supports(t){return Pn(t)}create(t){return new fr(t)}}const pr=(t,e)=>e;class fr{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||pr}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&An(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),An(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;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=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(An(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(An(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new mr(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new _r),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _r),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mr{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gr{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&An(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class _r{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new gr,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function yr(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new wr(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){An(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class wr{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}}let Sr=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new p,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=g({token:t,providedIn:"root",factory:()=>new t([new dr])}),t})(),Er=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new p,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=g({token:t,providedIn:"root",factory:()=>new t([new br])}),t})();const Cr=[new br],xr=new Sr([new dr]),kr=new Er(Cr);let Or=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Tr(t,rr),t})();const Tr=nr;let Ar=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Rr(t,rr),t})();const Rr=nr;function Ir(t,e,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return Pr(n,e),n}(s,t)}function Pr(t,e){t[ie]=e,t[ae]=e.logError.bind(e)}function jr(t){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${t}`)}function Nr(t,e,n){const r=t.state,s=1792&r;return s===e?(t.state=-1793&r|n,t.initIndex=-1,!0):s===n}function Dr(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Lr(t,e){return t.nodes[e]}function Mr(t,e){return t.nodes[e]}function Fr(t,e){return t.nodes[e]}function Br(t,e){return t.nodes[e]}function Hr(t,e){return t.nodes[e]}const Ur={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Vr=()=>{},zr=new Map;function $r(t){let e=zr.get(t);return e||(e=b(t)+"_"+zr.size,zr.set(t,e)),e}const qr="$$undefined",Wr="$$empty";function Qr(t){return{id:qr,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let Gr=0;function Kr(t,e,n,r){return!(!(2&t.state)&&An(t.oldValues[e.bindingIndex+n],r))}function Zr(t,e,n,r){return!!Kr(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Xr(t,e,n,r){const s=t.oldValues[e.bindingIndex+n];if(1&t.state||!Rn(s,r)){const i=e.bindings[n].name;throw Ir(Ur.createDebugContext(t,e.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&t.state))}}function Yr(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Jr(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ts(t,e,n,r){try{return Yr(33554432&t.def.nodes[e].flags?Mr(t,e).componentView:t),Ur.handleEvent(t,e,n,r)}catch(s){t.root.errorHandler.handleError(s)}}function es(t){return t.parent?Mr(t.parent,t.parentNodeDef.nodeIndex):null}function ns(t){return t.parent?t.parentNodeDef.parent:null}function rs(t,e){switch(201347067&e.flags){case 1:return Mr(t,e.nodeIndex).renderElement;case 2:return Lr(t,e.nodeIndex).renderText}}function ss(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function is(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function os(t){return 1<{"number"==typeof t?(e[t]=s,n|=os(t)):r[t]=s}),{matchedQueries:e,references:r,matchedQueryIds:n}}function ls(t,e){return t.map(t=>{let n,r;return Array.isArray(t)?[r,n]=t:(r=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,D,{value:e,configurable:!0}),{flags:r,token:n,tokenKey:$r(n)}})}function cs(t,e,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Z.Native?Mr(t,n.renderParent.nodeIndex).renderElement:void 0:e}const us=new WeakMap;function hs(t){let e=us.get(t);return e||((e=t(()=>Vr)).factory=t,us.set(t,e)),e}function ds(t,e,n,r,s){3===e&&(n=t.renderer.parentNode(rs(t,t.def.lastRenderRootNode))),ps(t,e,0,t.def.nodes.length-1,n,r,s)}function ps(t,e,n,r,s,i,o){for(let a=n;a<=r;a++){const n=t.def.nodes[a];11&n.flags&&ms(t,n,e,s,i,o),a+=n.childCount}}function fs(t,e,n,r,s,i){let o=t;for(;o&&!ss(o);)o=o.parent;const a=o.parent,l=ns(o),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const t=a.def.nodes[u];t.ngContentIndex===e&&ms(a,t,n,r,s,i),u+=t.childCount}if(!a.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e-1}(s,i.providedIn)||"root"===i.providedIn&&s._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:e.token},t._providers[n]=vs,t._providers[n]=Os(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{B(r)}var s,i}function Os(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const r=n.length;switch(r){case 0:return new e;case 1:return new e(ks(t,n[0]));case 2:return new e(ks(t,n[0]),ks(t,n[1]));case 3:return new e(ks(t,n[0]),ks(t,n[1]),ks(t,n[2]));default:const s=new Array(r);for(let e=0;e=n.length)&&(e=n.length-1),e<0)return null;const r=n[e];return r.viewContainerParent=null,G(n,e),Ur.dirtyParentQueries(r),Rs(r),r}function As(t,e,n){const r=e?rs(e,e.def.lastRenderRootNode):t.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);ds(n,2,s,i,void 0)}function Rs(t){ds(t,3,null,null,void 0)}const Is=new Object;function Ps(t,e,n,r,s,i){return new js(t,e,n,r,s,i)}class js extends Kn{constructor(t,e,n,r,s,i){super(),this.selector=t,this.componentType=e,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,r){if(!r)throw new Error("ngModule should be provided");const s=hs(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Ur.createRootView(t,e||[],n,s,r,Is),a=Fr(o,i).instance;return n&&o.renderer.setAttribute(Mr(o,0).renderElement,"ng-version",hr.full),new Ns(o,new Fs(o),a)}}class Ns extends Gn{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new rr(Mr(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Vs(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function Ds(t,e,n){return new Ls(t,e,n)}class Ls{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new rr(this._data.renderElement)}get injector(){return new Vs(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=ns(t),t=t.parent;return t?new Vs(t,e):new Vs(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Ts(this._data,t);Ur.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Fs(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;s||t instanceof er||(s=i.get(q));const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,r){let s=e.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=t,Q(s,n,r),function(t,e){const n=es(e);if(!n||n===t||16&e.state)return;e.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,r),Ur.dirtyParentQueries(r),As(e,n>0?s[n-1]:null,r)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const r=t.viewContainer._embeddedViews,s=r[e];G(r,e),null==n&&(n=r.length),Q(r,n,s),Ur.dirtyParentQueries(s),Rs(s),As(t,n>0?r[n-1]:null,s)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Ts(this._data,t);e&&Ur.destroyView(e)}detach(t){const e=Ts(this._data,t);return e?new Fs(e):null}}function Ms(t){return new Fs(t)}class Fs{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return ds(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Yr(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ur.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){Ur.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ur.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Rs(this._view),Ur.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function Bs(t,e){return new Hs(t,e)}class Hs extends Or{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Fs(Ur.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new rr(Mr(this._parentView,this._def.nodeIndex).renderElement)}}function Us(t,e){return new Vs(t,e)}class Vs{constructor(t,e){this.view=t,this.elDef=e}get(t,e=gn.THROW_IF_NOT_FOUND){return Ur.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:$r(t)},e)}}function zs(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Mr(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Lr(t,n.nodeIndex).renderText;if(20240&n.flags)return Fr(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function $s(t){return new qs(t.renderer)}class qs{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,r]=ys(e),s=this.delegate.createElement(r,n);return t&&this.delegate.appendChild(t,s),s}createViewRoot(t){return t}createTemplateAnchor(t){const e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e}createText(t,e){const n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n}projectNodes(t,e){for(let n=0;nt())}onDestroy(t){this._destroyListeners.push(t)}}const Gs=$r(ir),Ks=$r(lr),Zs=$r(rr),Xs=$r(Ar),Ys=$r(Or),Js=$r(dn),ti=$r(gn),ei=$r(A);function ni(t,e,n,r,s,i,o,a){const l=[];if(o)for(let u in o){const[t,e]=o[u];l[t]={flags:8,name:u,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return function(t,e,n,r,s,i,o,a,l){const{matchedQueries:c,references:u,matchedQueryIds:h}=as(n);l||(l=[]),a||(a=[]),i=S(i);const d=ls(o,b(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:bs(a),outputs:l,element:null,provider:{token:s,value:i,deps:d},text:null,query:null,ngContent:null}}(t,e|=16384,n,r,s,s,i,l,c)}function ri(t,e){return ai(t,e)}function si(t,e){let n=t;for(;n.parent&&!ss(n);)n=n.parent;return li(n.parent,ns(n),!0,e.provider.value,e.provider.deps)}function ii(t,e){const n=li(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let r=0;rts(t,e,n,r)}function ai(t,e){const n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return li(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(ui(t,e,n,s[0]));case 2:return r(ui(t,e,n,s[0]),ui(t,e,n,s[1]));case 3:return r(ui(t,e,n,s[0]),ui(t,e,n,s[1]),ui(t,e,n,s[2]));default:const o=Array(i);for(let r=0;rIt}),_i={},yi=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),bi=void 0;var vi=["en",[["a","p"],["AM","PM"],bi],[["AM","PM"],bi,bi],[["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"]],bi,[["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"]],bi,[["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}",bi,"{1} 'at' {0}",bi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];function wi(t){return Si(t)[yi.PluralCase]}function Si(t){const e=t.toLowerCase().replace(/_/g,"-");let n=_i[e];if(n)return n;const r=e.split("-")[0];if(n=_i[r])return n;if("en"===r)return vi;throw new Error(`Missing locale data for the locale "${t}".`)}const Ei="en-US";let Ci=Ei;function xi(t){var e;e="Expected localeId to be defined",null==t&&function(t){throw new Error(`ASSERTION ERROR: ${t}`)}(e),"string"==typeof t&&(Ci=t.toLowerCase().replace(/_/g,"-"))}class ki extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,i,o);return t instanceof s.a&&t.add(a),a}}function Oi(){return this._results[Tn()]()}class Ti{constructor(){this.dirty=!0,this._results=[],this.changes=new ki,this.length=0;const t=Tn(),e=Ti.prototype;e[t]||(e[t]=Oi)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}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){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}const Ii=new T("AppId");function Pi(){return`${ji()}${ji()}${ji()}`}function ji(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ni=new T("Platform Initializer"),Di=new T("Platform ID"),Li=new T("appBootstrapListener");class Mi{log(t){console.log(t)}warn(t){console.warn(t)}}const Fi=new T("LocaleId"),Bi=!1;function Hi(){throw new Error("Runtime compiler is not loaded")}const Ui=Hi,Vi=Hi,zi=Hi,$i=Hi;class qi{constructor(){this.compileModuleSync=Ui,this.compileModuleAsync=Vi,this.compileModuleAndAllComponentsSync=zi,this.compileModuleAndAllComponentsAsync=$i}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class Wi{}let Qi,Gi;function Ki(){const t=O.wtf;return!(!t||!(Qi=t.trace)||(Gi=Qi.events,0))}const Zi=Ki();function Xi(t,e){return null}const Yi=Zi?function(t,e=null){return Gi.createScope(t,e)}:(t,e)=>Xi,Ji=Zi?function(t,e){return Qi.leaveScope(t,e),e}:(t,e)=>e,to=(()=>Promise.resolve(0))();function eo(t){"undefined"==typeof Zone?to.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class no{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ki(!1),this.onMicrotaskEmpty=new ki(!1),this.onStable=new ki(!1),this.onError=new ki(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,r,s,i,o)=>{try{return oo(e),t.invokeTask(r,s,i,o)}finally{ao(e)}},onInvoke:(t,n,r,s,i,o,a)=>{try{return oo(e),t.invoke(r,s,i,o,a)}finally{ao(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e.hasPendingMicrotasks=s.microTask,io(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!no.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(no.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,so,ro,ro);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function ro(){}const so={};function io(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function oo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ao(t){t._nesting--,io(t)}class lo{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ki,this.onMicrotaskEmpty=new ki,this.onStable=new ki,this.onError=new ki}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class co{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{no.assertNotInAngularZone(),eo(()=>{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())eo(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}class uo{constructor(){this._applications=new Map,mo.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return mo.findTestabilityInTree(this,t,e)}}class ho{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function po(t){mo=t}let fo,mo=new ho,go=function(t,e,n){return t.get(Wi).createCompiler([e]).compileModuleAsync(n)},_o=function(t){return t instanceof er};const yo=new T("AllowMultipleToken");class bo{constructor(t,e){this.name=t,this.token=e}}function vo(t,e,n=[]){const r=`Platform: ${e}`,s=new T(r);return(e=[])=>{let i=wo();if(!i||i.injector.get(yo,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0});!function(t){if(fo&&!fo.destroyed&&!fo.injector.get(yo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fo=t.get(So);const e=t.get(Ni,null);e&&e.forEach(t=>t())}(gn.create({providers:t,name:r}))}return function(t){const e=wo();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function wo(){return fo&&!fo.destroyed?fo:null}class So{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(s=e?e.ngZone:void 0)?new lo:("zone.js"===s?void 0:s)||new no({enableLongStackTrace:fe()}),r=[{provide:no,useValue:n}];var s;return n.run(()=>{const e=gn.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(he,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Bi&&xi(s.injector.get(Fi,Ei)||Ei),s.onDestroy(()=>xo(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return qn(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(Ri);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Eo({},e);return go(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Co);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${b(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}function Eo(t,e){return Array.isArray(e)?e.reduce(Eo,t):Object.assign({},t,e)}let Co=(()=>{class t{constructor(t,e,n,r,s,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=fe(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new i.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new i.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{no.assertNotInAngularZone(),eo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{no.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,u.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Kn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=_o(n)?null:this._injector.get(q),s=n.create(gn.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(co,null);return i&&s.injector.get(uo).registerApplication(s.location.nativeElement,i),this._loadComponent(s),fe()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Ji(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;xo(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Li,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),xo(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=Yi("ApplicationRef#tick()"),t})();function xo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ko{}const Oo="#",To="NgFactory";class Ao{}const Ro={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Io{constructor(t,e){this._compiler=t,this._config=e||Ro}load(t){return!Bi&&this._compiler instanceof qi?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split(Oo);return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Po(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split(Oo),s=To;return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Po(t,e,r))}}function Po(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class jo{constructor(t,e){this.name=t,this.callback=e}}class No{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Do&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Do extends No{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return function t(e,n,r){e.childNodes.forEach(e=>{e instanceof Do&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,r){e instanceof Do&&e.childNodes.forEach(e=>{n(e)&&r.push(e),e instanceof Do&&t(e,n,r)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof Do)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const Lo=new Map,Mo=function(t){return Lo.get(t)||null};function Fo(t){Lo.set(t.nativeNode,t)}const Bo=vo(null,"core",[{provide:Di,useValue:"unknown"},{provide:So,deps:[gn]},{provide:uo,deps:[]},{provide:Mi,deps:[]}]);function Ho(){return xr}function Uo(){return kr}function Vo(t){return t?(Bi&&xi(t),t):Ei}function zo(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class $o{constructor(t){}}function qo(t,e,n,r,s,i){t|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=as(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?hs(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Vr},provider:null,text:null,query:null,ngContent:null}}function Wo(t,e,n,r,s,i,o=[],a,l,c,u,h){c||(c=Vr);const{matchedQueries:d,references:p,matchedQueryIds:f}=as(n);let m=null,g=null;i&&([m,g]=ys(i)),a=a||[];const _=new Array(a.length);for(let v=0;v{const[n,r]=ys(t);return[n,r,e]});return h=function(t){if(t&&t.id===qr){const e=null!=t.encapsulation&&t.encapsulation!==Z.None||t.styles.length||Object.keys(t.data).length;t.id=e?`c${Gr++}`:Wr}return t&&t.id===Wr&&(t=null),t||null}(h),u&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:bs(_),outputs:y,element:{ns:m,name:g,attrs:b,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||Vr},provider:null,text:null,query:null,ngContent:null}}function Qo(t,e,n){const r=n.element,s=t.root.selectorOrNode,i=t.renderer;let o;if(t.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=cs(t,e,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Z.ShadowDom);if(r.attrs)for(let a=0;ats(t,e,n,r)}function Zo(t,e,n,r){if(!Zr(t,e,n,r))return!1;const s=e.bindings[n],i=Mr(t,e.nodeIndex),o=i.renderElement,a=s.name;switch(15&s.flags){case 1:!function(t,e,n,r,s,i){const o=e.securityContext;let a=o?t.root.sanitizer.sanitize(o,i):i;a=null!=a?a.toString():null;const l=t.renderer;null!=i?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(t,s,o,s.ns,a,r);break;case 2:!function(t,e,n,r){const s=t.renderer;r?s.addClass(e,n):s.removeClass(e,n)}(t,o,a,r);break;case 4:!function(t,e,n,r,s){let i=t.root.sanitizer.sanitize(Fe.STYLE,s);if(null!=i){i=i.toString();const t=e.suffix;null!=t&&(i+=t)}else i=null;const o=t.renderer;null!=i?o.setStyle(n,r,i):o.removeStyle(n,r)}(t,s,o,a,r);break;case 8:!function(t,e,n,r,s){const i=e.securityContext;let o=i?t.root.sanitizer.sanitize(i,s):s;t.renderer.setProperty(n,r,o)}(33554432&e.flags&&32&s.flags?i.componentView:t,s,o,a,r)}return!0}function Xo(t,e,n){let r=[];for(let s in n)r.push({propName:s,bindingType:n[s]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:os(e),bindings:r},ngContent:null}}function Yo(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&is(t);){let n=t.parentNodeDef;t=t.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=t.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&e)===r.query.filterId&&Hr(t,s).setDirty(),!(1&r.flags&&s+r.childCount0)c=t,ca(t)||(u=t);else for(;c&&f===c.nodeIndex+c.childCount;){const t=c.parent;t&&(t.childFlags|=c.childFlags,t.childMatchedQueries|=c.childMatchedQueries),u=(c=t)&&ca(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Vr,updateRenderer:r||Vr,handleEvent:(t,n,r,s)=>e[n].element.handleEvent(t,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:p}}function ca(t){return 0!=(1&t.flags)&&null===t.element.name}function ua(t,e,n){const r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function ha(t,e,n,r){const s=fa(t.root,t.renderer,t,e,n);return ma(s,t.component,r),ga(s),s}function da(t,e,n){const r=fa(t,t.renderer,null,null,e);return ma(r,n,n),ga(r),r}function pa(t,e,n,r){const s=e.element.componentRendererType;let i;return i=s?t.root.rendererFactory.createRenderer(r,s):t.root.renderer,fa(t.root,i,t,e.element.componentProvider,n)}function fa(t,e,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function ma(t,e,n){t.component=e,t.context=n}function ga(t){let e;ss(t)&&(e=Mr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,r=t.nodes;for(let s=0;s0&&Zo(t,e,0,n)&&(p=!0),d>1&&Zo(t,e,1,r)&&(p=!0),d>2&&Zo(t,e,2,s)&&(p=!0),d>3&&Zo(t,e,3,i)&&(p=!0),d>4&&Zo(t,e,4,o)&&(p=!0),d>5&&Zo(t,e,5,a)&&(p=!0),d>6&&Zo(t,e,6,l)&&(p=!0),d>7&&Zo(t,e,7,c)&&(p=!0),d>8&&Zo(t,e,8,u)&&(p=!0),d>9&&Zo(t,e,9,h)&&(p=!0),p}(t,e,n,r,s,i,o,a,l,c,u,h);case 2:return function(t,e,n,r,s,i,o,a,l,c,u,h){let d=!1;const p=e.bindings,f=p.length;if(f>0&&Zr(t,e,0,n)&&(d=!0),f>1&&Zr(t,e,1,r)&&(d=!0),f>2&&Zr(t,e,2,s)&&(d=!0),f>3&&Zr(t,e,3,i)&&(d=!0),f>4&&Zr(t,e,4,o)&&(d=!0),f>5&&Zr(t,e,5,a)&&(d=!0),f>6&&Zr(t,e,6,l)&&(d=!0),f>7&&Zr(t,e,7,c)&&(d=!0),f>8&&Zr(t,e,8,u)&&(d=!0),f>9&&Zr(t,e,9,h)&&(d=!0),d){let d=e.text.prefix;f>0&&(d+=aa(n,p[0])),f>1&&(d+=aa(r,p[1])),f>2&&(d+=aa(s,p[2])),f>3&&(d+=aa(i,p[3])),f>4&&(d+=aa(o,p[4])),f>5&&(d+=aa(a,p[5])),f>6&&(d+=aa(l,p[6])),f>7&&(d+=aa(c,p[7])),f>8&&(d+=aa(u,p[8])),f>9&&(d+=aa(h,p[9]));const m=Lr(t,e.nodeIndex).renderText;t.renderer.setValue(m,d)}return d}(t,e,n,r,s,i,o,a,l,c,u,h);case 16384:return function(t,e,n,r,s,i,o,a,l,c,u,h){const d=Fr(t,e.nodeIndex),p=d.instance;let f=!1,m=void 0;const g=e.bindings.length;return g>0&&Kr(t,e,0,n)&&(f=!0,m=di(t,d,e,0,n,m)),g>1&&Kr(t,e,1,r)&&(f=!0,m=di(t,d,e,1,r,m)),g>2&&Kr(t,e,2,s)&&(f=!0,m=di(t,d,e,2,s,m)),g>3&&Kr(t,e,3,i)&&(f=!0,m=di(t,d,e,3,i,m)),g>4&&Kr(t,e,4,o)&&(f=!0,m=di(t,d,e,4,o,m)),g>5&&Kr(t,e,5,a)&&(f=!0,m=di(t,d,e,5,a,m)),g>6&&Kr(t,e,6,l)&&(f=!0,m=di(t,d,e,6,l,m)),g>7&&Kr(t,e,7,c)&&(f=!0,m=di(t,d,e,7,c,m)),g>8&&Kr(t,e,8,u)&&(f=!0,m=di(t,d,e,8,u,m)),g>9&&Kr(t,e,9,h)&&(f=!0,m=di(t,d,e,9,h,m)),m&&p.ngOnChanges(m),65536&e.flags&&Dr(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),f}(t,e,n,r,s,i,o,a,l,c,u,h);case 32:case 64:case 128:return function(t,e,n,r,s,i,o,a,l,c,u,h){const d=e.bindings;let p=!1;const f=d.length;if(f>0&&Zr(t,e,0,n)&&(p=!0),f>1&&Zr(t,e,1,r)&&(p=!0),f>2&&Zr(t,e,2,s)&&(p=!0),f>3&&Zr(t,e,3,i)&&(p=!0),f>4&&Zr(t,e,4,o)&&(p=!0),f>5&&Zr(t,e,5,a)&&(p=!0),f>6&&Zr(t,e,6,l)&&(p=!0),f>7&&Zr(t,e,7,c)&&(p=!0),f>8&&Zr(t,e,8,u)&&(p=!0),f>9&&Zr(t,e,9,h)&&(p=!0),p){const p=Br(t,e.nodeIndex);let m;switch(201347067&e.flags){case 32:m=new Array(d.length),f>0&&(m[0]=n),f>1&&(m[1]=r),f>2&&(m[2]=s),f>3&&(m[3]=i),f>4&&(m[4]=o),f>5&&(m[5]=a),f>6&&(m[6]=l),f>7&&(m[7]=c),f>8&&(m[8]=u),f>9&&(m[9]=h);break;case 64:m={},f>0&&(m[d[0].name]=n),f>1&&(m[d[1].name]=r),f>2&&(m[d[2].name]=s),f>3&&(m[d[3].name]=i),f>4&&(m[d[4].name]=o),f>5&&(m[d[5].name]=a),f>6&&(m[d[6].name]=l),f>7&&(m[d[7].name]=c),f>8&&(m[d[8].name]=u),f>9&&(m[d[9].name]=h);break;case 128:const t=n;switch(f){case 1:m=t.transform(n);break;case 2:m=t.transform(r);break;case 3:m=t.transform(r,s);break;case 4:m=t.transform(r,s,i);break;case 5:m=t.transform(r,s,i,o);break;case 6:m=t.transform(r,s,i,o,a);break;case 7:m=t.transform(r,s,i,o,a,l);break;case 8:m=t.transform(r,s,i,o,a,l,c);break;case 9:m=t.transform(r,s,i,o,a,l,c,u);break;case 10:m=t.transform(r,s,i,o,a,l,c,u,h)}}p.value=m}return p}(t,e,n,r,s,i,o,a,l,c,u,h);default:throw"unreachable"}}(t,e,r,s,i,o,a,l,c,u,h,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let r=!1;for(let s=0;s0&&Xr(t,e,0,n),d>1&&Xr(t,e,1,r),d>2&&Xr(t,e,2,s),d>3&&Xr(t,e,3,i),d>4&&Xr(t,e,4,o),d>5&&Xr(t,e,5,a),d>6&&Xr(t,e,6,l),d>7&&Xr(t,e,7,c),d>8&&Xr(t,e,8,u),d>9&&Xr(t,e,9,h)}(t,e,r,s,i,o,a,l,c,u,h,d):function(t,e,n){for(let r=0;r{const r=Ma.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(t=>{Fa.forEach((r,s)=>{_(s).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t);return e?(function(t){for(let e=0;e0){let e=new Set(t.modules);Fa.forEach((r,s)=>{if(e.has(_(s).providedIn)){let e={token:s,flags:r.flags|(n?4096:0),deps:ls(r.deps),value:r.value,index:t.providers.length};t.providers.push(e),t.providersByKey[$r(s)]=e}})}}(t=t.factory(()=>Vr)),t):t}(r))}const Ma=new Map,Fa=new Map,Ba=new Map;function Ha(t){let e;Ma.set(t.token,t),"function"==typeof t.token&&(e=_(t.token))&&"function"==typeof e.providedIn&&Fa.set(t.token,t)}function Ua(t,e){const n=hs(e.viewDefFactory),r=hs(n.nodes[0].element.componentView);Ba.set(t,r)}function Va(){Ma.clear(),Fa.clear(),Ba.clear()}function za(t){if(0===Ma.size)return t;const e=function(t){const e=[];let n=null;for(let r=0;rVr);for(let r=0;r"-"+t[1].toLowerCase())}`)]=$e(a))}const r=e.parent,a=Mr(t,r.nodeIndex).renderElement;if(r.element.name)for(let e in n){const r=n[e];null!=r?t.renderer.setAttribute(a,e,r):t.renderer.removeAttribute(a,e)}else t.renderer.setValue(a,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function sl(t,e,n,r){wa(t,e,n,...r)}function il(t,e){for(let n=e;n++i===s?t.error.bind(t,...e):Vr),inew al(t,e),handleEvent:tl,updateDirectives:el,updateRenderer:nl}:{setCurrentNode:()=>{},createRootView:Ia,createEmbeddedView:ha,createComponentView:pa,createNgModuleRef:Ws,overrideProvider:Vr,overrideComponentView:Vr,clearOverrides:Vr,checkAndUpdateView:ya,checkNoChangesView:_a,destroyView:Ea,createDebugContext:(t,e)=>new al(t,e),handleEvent:(t,e,n,r)=>t.def.handleEvent(t,e,n,r),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?$a:qa,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?$a:qa,t)};Ur.setCurrentNode=t.setCurrentNode,Ur.createRootView=t.createRootView,Ur.createEmbeddedView=t.createEmbeddedView,Ur.createComponentView=t.createComponentView,Ur.createNgModuleRef=t.createNgModuleRef,Ur.overrideProvider=t.overrideProvider,Ur.overrideComponentView=t.overrideComponentView,Ur.clearOverrides=t.clearOverrides,Ur.checkAndUpdateView=t.checkAndUpdateView,Ur.checkNoChangesView=t.checkNoChangesView,Ur.destroyView=t.destroyView,Ur.resolveDep=ui,Ur.createDebugContext=t.createDebugContext,Ur.handleEvent=t.handleEvent,Ur.updateDirectives=t.updateDirectives,Ur.updateRenderer=t.updateRenderer,Ur.dirtyParentQueries=Yo}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),r={};for(const s in t.providersByKey)r[s]=t.providersByKey[s];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(hs(this._ngModuleDefFactory));return Ur.createNgModuleRef(this.moduleType,t||gn.NULL,this._bootstrapComponents,e)}}},"8bJo":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c}));var r=n("HDdC"),s=n("LRne"),i=n("XNiG");n("8Y7J");class o{}function a(t){return t&&"function"==typeof t.connect}class l extends o{constructor(t){super(),this._data=t}connect(){return this._data instanceof r.a?this._data:Object(s.a)(this._data)}disconnect(){}}class c{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new i.a,this.onChange=this.changed,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}},"9ppp":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",(function(){return s})),r.prototype=Object.create(Error.prototype);const s=r},"9zrn":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));class r{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r={production:!0,baseUrl:"/api"}},CRDf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("kJWO");const s=t=>e=>{const n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),s=n("c2HN"),i=n("I55L"),o=n("kJWO"),a=n("Lhse"),l=n("yCtX"),c=n("quSY"),u=n("a7t3"),h=n("pLzU"),d=n("CRDf"),p=n("SeVD");function f(t,e){if(!e)return t instanceof r.a?t:new r.a(Object(p.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new r.a(e?n=>{const r=new c.a;return r.add(e.schedule(()=>{const s=t[o.a]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r}:Object(d.a)(t))}(t,e);if(Object(s.a)(t))return function(t,e){return new r.a(e?n=>{const r=new c.a;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r}:Object(u.a)(t))}(t,e);if(Object(i.a)(t))return Object(l.a)(t,e);if(function(t){return t&&"function"==typeof t[a.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(e?n=>{const r=new c.a;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[a.a](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r}:Object(h.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}n.d(e,"a",(function(){return f}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("3N8a");const s=new(n("IjjT").a)(r.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=Array.isArray||(t=>t&&"number"==typeof t.length)},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return i}));var r=n("HDdC");const s=new r.a(t=>t.complete());function i(t){return t?function(t){return new r.a(e=>t.schedule(()=>e.complete()))}(t):s}},Fwaw:function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return c}));var r=n("Xd0L");const s="accent",i=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class o{constructor(t){this._elementRef=t}}const a=Object(r.h)(Object(r.j)(Object(r.i)(o)));class l extends a{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const r of i)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color=s)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}class c extends l{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class u{}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return o})),n.d(e,"d",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return m}));class r{}class s{}const i="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class p{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class f{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?d(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const m="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("LRne"),s=n("0EUg");function i(...t){return Object(s.a)()(Object(r.a)(...t))}},HDdC:function(t,e,n){"use strict";var r=n("7o/Q"),s=n("2QA8"),i=n("gRHU"),o=n("kJWO"),a=n("mCNh"),l=n("2fFW");n.d(e,"a",(function(){return c}));let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[s.a])return t[s.a]()}return t||e||n?new r.a(t,e,n):new r.a(i.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IP0z:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n("SVse"),s=n("8Y7J");const i=new s.p("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(s.V)(r.c)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.m,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=Object(s.Mb)({factory:function(){return new t(Object(s.Nb)(i,8))},token:t,providedIn:"root"}),t})();class a{}},IheW:function(t,e,n){"use strict";n.d(e,"m",(function(){return P})),n.d(e,"p",(function(){return M})),n.d(e,"q",(function(){return F})),n.d(e,"n",(function(){return N})),n.d(e,"o",(function(){return D})),n.d(e,"b",(function(){return h})),n.d(e,"f",(function(){return u})),n.d(e,"c",(function(){return k})),n.d(e,"g",(function(){return d})),n.d(e,"a",(function(){return T})),n.d(e,"d",(function(){return U})),n.d(e,"e",(function(){return H})),n.d(e,"l",(function(){return B})),n.d(e,"h",(function(){return m})),n.d(e,"i",(function(){return j})),n.d(e,"k",(function(){return I})),n.d(e,"j",(function(){return L}));var r=n("8Y7J"),s=n("LRne"),i=n("HDdC"),o=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("SVse");class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;0===(t=t.filter(t=>-1===s.indexOf(t))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class b{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new b(e,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}const v=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class S extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new S({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new E({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class k{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof b)r=t;else{let s=void 0;s=n.headers instanceof d?n.headers:new d(n.headers);let i=void 0;n.params&&(i=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new b(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(s.a)(r).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof b||"events"===n.observe)return i;const c=i.pipe(Object(a.a)(t=>t instanceof E));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}class O{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const T=new r.p("HTTP_INTERCEPTORS");class A{intercept(t,e){return e.handle(t)}}const R=/^\)\]\}',?\n/;class I{}class P{constructor(){}build(){return new XMLHttpRequest}}class j{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new S({headers:i,status:e,statusText:r,url:o})},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new E({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new C({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new C({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:v.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:v.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}const N=new r.p("XSRF_COOKIE_NAME"),D=new r.p("XSRF_HEADER_NAME");class L{}class M{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.v)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}class F{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}class B{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(T,[]);this.chain=t.reduceRight((t,e)=>new O(t,e),this.backend)}return this.chain.handle(t)}}class H{static disable(){return{ngModule:H,providers:[{provide:F,useClass:A}]}}static withOptions(t={}){return{ngModule:H,providers:[t.cookieName?{provide:N,useValue:t.cookieName}:[],t.headerName?{provide:D,useValue:t.headerName}:[]]}}}class U{}},IjjT:function(t,e,n){"use strict";let r=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return s}));class s extends r{constructor(t,e=r.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q"),s=n("4I5i"),i=n("EY2u");function o(t){return e=>0===t?Object(i.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends r.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("l7GE"),s=n("51Dv"),i=n("ZUHj");function o(t){return function(e){const n=new a(t),r=e.lift(n);return n.caught=r}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new l(t,this.selector,this.caught))}}class l extends r.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new s.a(this,void 0,void 0);this.add(r),Object(i.a)(this,n,void 0,void 0,r)}}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("yCtX"),s=n("XUOw"),i=n("EY2u"),o=n("GyhO"),a=n("z+Ro");function l(...t){return e=>{let n=t[t.length-1];Object(a.a)(n)?t.pop():n=null;const l=t.length;return 1!==l||n?l>0?Object(o.a)(Object(r.a)(t,n),e):Object(o.a)(Object(i.b)(n),e):Object(o.a)(Object(s.a)(t[0]),e)}}},KCVW:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return l}));var r=n("8Y7J");function s(t){return null!=t&&"false"!==`${t}`}function i(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof r.k?t.nativeElement:t}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q"),s=n("D0XW");function i(t,e=s.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends r.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},KqfI:function(t,e,n){"use strict";function r(){}n.d(e,"a",(function(){return r}))},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("z+Ro"),s=n("yCtX"),i=n("EY2u"),o=n("XUOw");function a(...t){let e=t[t.length-1];switch(Object(r.a)(e)?t.pop():e=void 0,t.length){case 0:return Object(i.b)(e);case 1:return e?Object(s.a)(t,e):Object(o.a)(t[0]);default:return Object(s.a)(t,e)}}},Lhse:function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return s}));const s=r()},N7QX:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("IheW"),s=n("9zrn"),i=n("allT"),o=n("8Y7J"),a=n("cXrj");let l=(()=>{class t{constructor(t,e,n){this.httpClient=t,this.basePath="http://localhost",this.defaultHeaders=new r.g,this.configuration=new i.a,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s.a}addToHttpParams(t,e,n){return"object"==typeof e&&e instanceof Date==0?this.addToHttpParamsRecursive(t,e):this.addToHttpParamsRecursive(t,e,n)}addToHttpParamsRecursive(t,e,n){if(null==e)return t;if("object"==typeof e)if(Array.isArray(e))e.forEach(e=>t=this.addToHttpParamsRecursive(t,e,n));else if(e instanceof Date){if(null==n)throw Error("key may not be null if value is Date");t=t.append(n,e.toISOString().substr(0,10))}else Object.keys(e).forEach(r=>t=this.addToHttpParamsRecursive(t,e[r],null!=n?`${n}.${r}`:r));else{if(null==n)throw Error("key may not be null if value is not object or array");t=t.append(n,e)}return t}mixerOrderIdCocktailIdPost(t,e,n="body",r=!1,s){if(null==t)throw new Error("Required parameter cocktailId was null or undefined when calling mixerOrderIdCocktailIdPost.");if(null==e)throw new Error("Required parameter id was null or undefined when calling mixerOrderIdCocktailIdPost.");let i=this.defaultHeaders,o=s&&s.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept([])),void 0!==o&&(i=i.set("Accept",o));let a="json";return o&&o.startsWith("text")&&(a="text"),this.httpClient.post(`${this.configuration.basePath}/mixer/order/${encodeURIComponent(String(e))}/${encodeURIComponent(String(t))}`,null,{responseType:a,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})}mixerOrderIdDelete(t,e="body",n=!1,r){if(null==t)throw new Error("Required parameter id was null or undefined when calling mixerOrderIdDelete.");let s=this.defaultHeaders,i=r&&r.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept([])),void 0!==i&&(s=s.set("Accept",i));let o="json";return i&&i.startsWith("text")&&(o="text"),this.httpClient.delete(`${this.configuration.basePath}/mixer/order/${encodeURIComponent(String(t))}`,{responseType:o,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:n})}mixerOrderIdGet(t,e="body",n=!1,r){if(null==t)throw new Error("Required parameter id was null or undefined when calling mixerOrderIdGet.");let s=this.defaultHeaders,i=r&&r.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let o="json";return i&&i.startsWith("text")&&(o="text"),this.httpClient.get(`${this.configuration.basePath}/mixer/order/${encodeURIComponent(String(t))}`,{responseType:o,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:n})}mixerOrderIdPlacedPut(t,e="body",n=!1,r){if(null==t)throw new Error("Required parameter id was null or undefined when calling mixerOrderIdPlacedPut.");let s=this.defaultHeaders,i=r&&r.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept([])),void 0!==i&&(s=s.set("Accept",i));let o="json";return i&&i.startsWith("text")&&(o="text"),this.httpClient.put(`${this.configuration.basePath}/mixer/order/${encodeURIComponent(String(t))}/placed`,null,{responseType:o,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:n})}mixerOrderPost(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept([])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.post(`${this.configuration.basePath}/mixer/order`,null,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}}return t.ngInjectableDef=o.Mb({factory:function(){return new t(o.Nb(r.c),o.Nb(a.a,8),o.Nb(i.a,8))},token:t,providedIn:"root"}),t})()},NJ4a:function(t,e,n){"use strict";function r(t){setTimeout(()=>{throw t})}n.d(e,"a",(function(){return r}))},QQfA:function(t,e,n){"use strict";n.d(e,"a",(function(){return B})),n.d(e,"c",(function(){return A})),n.d(e,"d",(function(){return T})),n.d(e,"f",(function(){return M})),n.d(e,"b",(function(){return E})),n.d(e,"g",(function(){return S})),n.d(e,"e",(function(){return V})),n.d(e,"h",(function(){return H})),n.d(e,"i",(function(){return U}));var r=n("KCVW"),s=n("hOhj"),i=n("SVse"),o=n("8Y7J"),a=n("XNiG"),l=n("quSY"),c=n("HDdC"),u=n("VRyK"),h=n("IzEk"),d=n("1G5W"),p=n("/HVE"),f=n("zMNK");n("dvZr");class m{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(r.c)(-this._previousScrollPosition.left),t.style.top=Object(r.c)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,r=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=r,n.scrollBehavior=s}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function g(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class y{enable(){}disable(){}attach(){}}function b(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function v(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class w{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();b(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let S=(()=>{class t{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new y,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new m(this._viewportRuler,this._document),this.reposition=t=>new w(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=r}}return t.ngInjectableDef=Object(o.Mb)({factory:function(){return new t(Object(o.Nb)(s.a),Object(o.Nb)(s.d),Object(o.Nb)(o.y),Object(o.Nb)(i.c))},token:t,providedIn:"root"}),t})();class E{constructor(t){if(this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class C{constructor(t,e,n,r,s){this.offsetX=n,this.offsetY=r,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class x{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function k(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "top", "bottom" or "center".')}function O(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "start", "end" or "center".')}let T=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=Object(o.Mb)({factory:function(){return new t(Object(o.Nb)(i.c))},token:t,providedIn:"root"}),t})(),A=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;nthis._backdropClick.next(t),this._keydownEventsObservable=new c.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new a.a,this._keydownEventSubscriptions=0,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(h.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(r.c)(this._config.width),t.height=Object(r.c)(this._config.height),t.minWidth=Object(r.c)(this._config.minWidth),t.minHeight=Object(r.c)(this._config.minHeight),t.maxWidth=Object(r.c)(this._config.maxWidth),t.maxHeight=Object(r.c)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const s=t.classList;Object(r.a)(e).forEach(t=>{t&&(n?s.add(t):s.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(d.a)(Object(u.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const I="cdk-overlay-connected-position-bounding-box";class P{constructor(t,e,n,r,s){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.a,this._resizeSubscription=l.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add(I),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=[];let s;for(let i of this._preferredPositions){let o=this._getOriginPoint(t,i),a=this._getOverlayPoint(o,e,i),l=this._getOverlayFit(a,e,n,i);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(i,o);this._canFitWithFlexibleDimensions(l,a,n)?r.push({position:i,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,i)}):(!s||s.overlayFit.visibleAreae&&(e=r,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(I),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,r;if("center"==e.originX)n=t.left+t.width/2;else{const r=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?r:s}return{x:n,y:r="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}_getOverlayPoint(t,e,n){let r,s;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+(s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}}_getOverlayFit(t,e,n,r){let{x:s,y:i}=t,o=this._getOffset(r,"x"),a=this._getOffset(r,"y");o&&(s+=o),a&&(i+=a);let l=0-i,c=i+e.height-n.height,u=this._subtractOverflows(e.width,0-s,s+e.width-n.width),h=this._subtractOverflows(e.height,l,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,s=n.right-e.x,i=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=i&&i<=r)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=this._viewportRect,s=Math.max(t.x+e.width-r.right,0),i=Math.max(t.y+e.height-r.bottom,0),o=Math.max(r.top-n.top-t.y,0),a=Math.max(r.left-n.left-t.x,0);let l=0,c=0;return this._previousPushAmount={x:l=e.width<=r.width?a||-s:t.xr&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-r/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),r=this._lastBoundingBoxSize.width;l=t.x-e,(a=2*e)>r&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-r/2)}return{top:i,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right="",s.width=s.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;s.height=Object(r.c)(n.height),s.top=Object(r.c)(n.top),s.bottom=Object(r.c)(n.bottom),s.width=Object(r.c)(n.width),s.left=Object(r.c)(n.left),s.right=Object(r.c)(n.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(s.maxHeight=Object(r.c)(t)),i&&(s.maxWidth=Object(r.c)(i))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,s)}_resetBoundingBoxStyles(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const r=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,r)),j(n,this._getExactOverlayX(e,t,r))}else n.position="static";let r="",s=this._getOffset(e,"x"),i=this._getOffset(e,"y");s&&(r+=`translateX(${s}px) `),i&&(r+=`translateY(${i}px)`),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),j(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:null,bottom:null},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===t.overlayY?s.bottom=`${this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)}px`:s.top=Object(r.c)(i.y),s}_getExactOverlayX(t,e,n){let s,i={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=`${this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)}px`:i.left=Object(r.c)(o.x),i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:v(t,n),isOriginOutsideView:b(t,n),isOverlayClipped:v(e,n),isOverlayOutsideView:b(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{O("originX",t.originX),k("originY",t.originY),O("overlayX",t.overlayX),k("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(r.a)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof o.k)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function j(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class N{constructor(t,e,n,r,s,i,o){this._preferredPositions=[],this._positionStrategy=new P(n,r,s,i,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,r){const s=new C(t,e,n,r);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const D="cdk-global-overlay-wrapper";class L{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(D),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(D),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let M=(()=>{class t{constructor(t,e,n,r){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=r}global(){return new L}connectedTo(t,e,n){return new N(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new P(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=Object(o.Mb)({factory:function(){return new t(Object(o.Nb)(s.d),Object(o.Nb)(i.c),Object(o.Nb)(p.a),Object(o.Nb)(A))},token:t,providedIn:"root"}),t})(),F=0;class B{constructor(t,e,n,r,s,i,o,a,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=i,this._ngZone=o,this._document=a,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),r=this._createPortalOutlet(n),s=new E(t);return s.direction=s.direction||this._directionality.value,new R(r,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id=`cdk-overlay-${F++}`,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(o.g)),new f.d(t,this._componentFactoryResolver,this._appRef,this._injector)}}const H=new o.p("cdk-connected-overlay-scroll-strategy");function U(t){return()=>t.scrollStrategies.reposition()}class V{}},SVse:function(t,e,n){"use strict";n.d(e,"u",(function(){return f})),n.d(e,"j",(function(){return g})),n.d(e,"k",(function(){return m})),n.d(e,"v",(function(){return _})),n.d(e,"b",(function(){return T})),n.d(e,"h",(function(){return b})),n.d(e,"i",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"m",(function(){return k})),n.d(e,"n",(function(){return O})),n.d(e,"c",(function(){return A})),n.d(e,"t",(function(){return R})),n.d(e,"r",(function(){return P})),n.d(e,"s",(function(){return j})),n.d(e,"q",(function(){return N})),n.d(e,"p",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"o",(function(){return h})),n.d(e,"f",(function(){return l}));var r=n("8Y7J");class s{}const i=new r.p("Location Initialized");class o{}const a=new r.p("appBaseHref");class l{constructor(t,e){this._subject=new r.m,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=l.stripTrailingSlash(c(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+l.normalizeQueryParams(e))}normalize(t){return l.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,c(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l.normalizeQueryParams(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}function c(t){return t.replace(/\/index.html$/,"")}class u extends o{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class h extends o{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return l.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const d=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),p=r.ub,f=new r.p("UseV4Plurals");class m{}class g extends m{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):p(e||this.locale)(t)){case d.Zero:return"zero";case d.One:return"one";case d.Two:return"two";case d.Few:return"few";case d.Many:return"many";default:return"other"}}}function _(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}class y{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class b{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(r.W)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new y(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new v(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new v(t,s);e.push(i)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}class v{constructor(t,e){this.record=t,this.view=e}}class w{constructor(t,e){this._viewContainer=t,this._context=new S,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){E("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){E("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class S{constructor(){this.$implicit=null,this.ngIf=null}}function E(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(r.Gb)(e)}'.`)}class C{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class x{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{}return t.ngInjectableDef=Object(r.Mb)({token:t,providedIn:"root",factory:()=>new D(Object(r.Nb)(A),window,Object(r.Nb)(r.l))}),t})();class D{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector(`#${t}`);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},SeVD:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n("HDdC"),s=n("ngJS"),i=n("a7t3"),o=n("pLzU"),a=n("CRDf"),l=n("I55L"),c=n("c2HN"),u=n("XoHu"),h=n("Lhse"),d=n("kJWO");const p=t=>{if(t instanceof r.a)return e=>t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e);if(t&&"function"==typeof t[d.a])return Object(a.a)(t);if(Object(l.a)(t))return Object(s.a)(t);if(Object(c.a)(t))return Object(i.a)(t);if(t&&"function"==typeof t[h.a])return Object(o.a)(t);{const e=Object(u.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}}},SpAZ:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),s=n("z+Ro"),i=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(s.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(e)(Object(o.a)(t,n))}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var r=n("HDdC"),s=n("7o/Q"),i=n("quSY"),o=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends s.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):i.a.EMPTY}}},XUOw:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC");function s(t){const e=new r.a(e=>{e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}},Xd0L:function(t,e,n){"use strict";var r=n("8Y7J");n("cUpR");const s=new r.N("8.2.3");var i=n("KCVW"),o=(n("XNiG"),n("HDdC"),n("/HVE")),a=n("JX91"),l=n("5GAg");n("dvZr"),n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return u})),n.d(e,"j",(function(){return d})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return f})),n.d(e,"k",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"g",(function(){return O})),n.d(e,"b",(function(){return x})),n.d(e,"f",(function(){return k})),n.d(e,"e",(function(){return T}));const c=new r.N("8.2.3"),u=new r.p("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class h{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Object(r.W)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){c.full!==s.full&&console.warn("The Angular Material version ("+c.full+") does not match the Angular CDK version ("+s.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}function d(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.b)(t)}}}function p(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...t){super(...t),this.color=e}}}function f(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(i.b)(t)}}}let m;try{m="undefined"!=typeof Intl}catch(A){m=!1}function g(t,e){t.changes.pipe(Object(a.a)(t)).subscribe(({length:t})=>{_(e,"mat-2-line",!1),_(e,"mat-3-line",!1),_(e,"mat-multi-line",!1),2===t||3===t?_(e,`mat-${t}-line`,!0):t>3&&_(e,"mat-multi-line",!0)})}function _(t,e,n){const r=t.nativeElement.classList;n?r.add(e):r.remove(e)}class y{}const b=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class v{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=b.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const w={enterDuration:450,exitDuration:400},S=800,E=Object(o.e)({passive:!0});class C{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(l.d)(t),n=this._lastTouchStartEvent&&Date.now(){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===b.VISIBLE||t.config.terminateOnPointerUp&&t.state===b.FADING_IN)&&t.fadeOut()}))},r.isBrowser&&(this._containerElement=Object(i.d)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign({},w,n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const i=n.radius||function(t,e,n){const r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+s*s)}(t,e,r),o=t-r.left,a=e-r.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${o-i}px`,c.style.top=`${a-i}px`,c.style.height=`${2*i}px`,c.style.width=`${2*i}px`,c.style.backgroundColor=n.color||null,c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new v(this,c,n);return u.state=b.FADING_IN,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=b.VISIBLE,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,r=Object.assign({},w,t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=b.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=b.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(i.d)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,E)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,E)})}}const x=new r.p("mat-ripple-global-options");class k{constructor(t,e,n,r,s){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new C(this,e,t,n),"NoopAnimations"===s&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}class O{}class T{}},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("quSY");class s extends r.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("51Dv"),s=n("SeVD");function i(t,e,n,i,o=new r.a(t,n,i)){if(!o.closed)return Object(s.a)(e)(o)}},a7t3:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("NJ4a");const s=t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e)},allT:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));class r{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ"),s=n("SpAZ");function i(t=Number.POSITIVE_INFINITY){return Object(r.a)(s.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("5+tZ");function s(t,e){return Object(r.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return St})),n.d(e,"q",(function(){return k})),n.d(e,"a",(function(){return Et})),n.d(e,"h",(function(){return wt})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return T})),n.d(e,"e",(function(){return it})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return at})),n.d(e,"b",(function(){return dt})),n.d(e,"r",(function(){return o})),n.d(e,"j",(function(){return F})),n.d(e,"i",(function(){return rt})),n.d(e,"m",(function(){return lt})),n.d(e,"n",(function(){return ht})),n.d(e,"l",(function(){return I})),n.d(e,"o",(function(){return R})),n.d(e,"k",(function(){return pt}));var r=n("SVse"),s=n("8Y7J");let i=null;function o(){return i}class a{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}class l extends a{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(t,n)&&(this._transitionEnd=e[n])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const c={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},u=3,h={"\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"},d={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"},p=(()=>{if(s.vb.Node)return s.vb.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class f extends l{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new f,i||(i=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return c}contains(t,e){return p.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let r=0;rt.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const r=this.getStyle(t,e)||"";return n?r==n:r.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let r=0;r{n.get(s.e).donePromise.then(()=>{const n=o();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[y,r.c,s.q],multi:!0}];class v{static init(){Object(s.Y)(new v)}addToWindow(t){s.vb.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},s.vb.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.vb.getAllAngularRootElements=()=>t.getAllRootElements(),s.vb.frameworkStabilizers||(s.vb.frameworkStabilizers=[]),s.vb.frameworkStabilizers.push(t=>{const e=s.vb.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,0==--n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?o().isShadowRoot(e)?this.findTestabilityInTree(t,o().getHost(e),!0):this.findTestabilityInTree(t,o().parentElement(e),!0):null}}function w(t,e){"undefined"!=typeof COMPILED&&COMPILED||((s.vb.ng=s.vb.ng||{})[t]=e)}const S=(()=>({ApplicationRef:s.g,NgZone:s.y}))(),E="probe",C="coreTokens";function x(t){return Object(s.U)(t)}function k(t){return w(E,x),w(C,Object.assign({},S,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>x}const O=new s.p("EventManagerPlugins");class T{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class I extends R{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>o().remove(t))}}const P={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/"},j=/%COMP%/g,N="_nghost-%COMP%",D="_ngcontent-%COMP%";function L(t,e,n){for(let r=0;r{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class F{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new B(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.P.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new V(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case s.P.Native:case s.P.ShadowDom:return new z(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=L(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class B{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(P[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=P[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=P[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&s.F.DashCase?t.style.setProperty(e,n,r&s.F.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.F.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){U(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return U(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,M(n)):this.eventManager.addEventListener(t,e,M(n))}}const H=(()=>"@".charCodeAt(0))();function U(t,e){if(t.charCodeAt(0)===H)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class V extends B{constructor(t,e,n,r){super(t),this.component=n;const s=L(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr=D.replace(j,r+"-"+n.id),this.hostAttr=N.replace(j,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class z extends B{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===s.P.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=L(r.id,r.styles,[]);for(let s=0;s"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),q=$("addEventListener"),W=$("removeEventListener"),Q={},G="FALSE",K="ANGULAR",Z="addEventListener",X="removeEventListener",Y="__zone_symbol__propagationStopped",J="__zone_symbol__stopImmediatePropagation",tt=(()=>{const t="undefined"!=typeof Zone&&Zone[$("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),et=function(t){return!!tt&&tt.hasOwnProperty(t)},nt=function(t){const e=Q[t.type];if(!e)return;const n=this[e];if(!n)return;const r=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,r):t.handler.apply(this,r)}{const e=n.slice();for(let n=0;n0;s||(s=t[n]=[]);const o=et(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let t=!1;for(let e=0;ethis.removeEventListener(t,e,r)}removeEventListener(t,e,n){let r=t[W];if(!r)return t[X].apply(t,[e,n,!1]);let s=Q[e],i=s&&t[s];if(!i)return t[X].apply(t,[e,n,!1]);let o=!1;for(let a=0;a{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(t),i=function(t){r.runGuarded((function(){n(t)}))};return s.on(e,i),()=>{s.off(e,i),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const ct=["alt","control","meta","shift"],ut={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class ht extends A{constructor(t){super(t)}supports(t){return null!=ht.parseEventName(t)}addEventListener(t,e,n){const r=ht.parseEventName(e),s=ht.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const r=ht._normalizeKey(e.pop());let s="";if(ct.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),s+=t+".")}),s+=r,0!=e.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static getEventFullKey(t){let e="",n=o().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ct.forEach(r=>{r!=n&&(0,ut[r])(t)&&(e+=r+".")}),e+=n}static eventCallback(t,e,n){return r=>{ht.getEventFullKey(r)===t&&n.runGuarded(()=>e(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}class dt{}class pt extends dt{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.H.NONE:return e;case s.H.HTML:return e instanceof mt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(s.eb)(this._doc,String(e)));case s.H.STYLE:return e instanceof gt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(s.fb)(e));case s.H.SCRIPT:if(e instanceof _t)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case s.H.URL:return e instanceof bt||e instanceof yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(s.gb)(String(e)));case s.H.RESOURCE_URL:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof ft)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(t){return new mt(t)}bypassSecurityTrustStyle(t){return new gt(t)}bypassSecurityTrustScript(t){return new _t(t)}bypassSecurityTrustUrl(t){return new yt(t)}bypassSecurityTrustResourceUrl(t){return new bt(t)}}class ft{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class mt extends ft{getTypeName(){return"HTML"}}class gt extends ft{getTypeName(){return"Style"}}class _t extends ft{getTypeName(){return"Script"}}class yt extends ft{getTypeName(){return"URL"}}class bt extends ft{getTypeName(){return"ResourceURL"}}const vt=[{provide:s.A,useValue:r.t},{provide:s.B,useValue:function(){f.makeCurrent(),v.init()},multi:!0},{provide:r.p,useClass:class extends r.p{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){_()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){_()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[r.c]},{provide:r.c,useFactory:function(){return document},deps:[]}],wt=Object(s.R)(s.X,"browser",vt);function St(){return new s.l}class Et{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:Et,providers:[{provide:s.c,useValue:t.appId},{provide:y,useExisting:s.c},b]}}}"undefined"!=typeof window&&window},cXrj:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=new(n("8Y7J").p)("basePath")},dFDH:function(t,e,n){"use strict";var r=n("XNiG"),s=n("8Y7J"),i=(n("GS7A"),n("zMNK")),o=n("IzEk"),a=n("1G5W"),l=n("QQfA"),c=n("5GAg"),u=n("/HVE"),h=n("itXk"),d=n("GyhO"),p=n("HDdC"),f=n("7o/Q");class m{constructor(t){this.total=t}call(t,e){return e.subscribe(new g(t,this.total))}}class g extends f.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var _=n("Kj3r"),y=n("lJxs"),b=n("JX91"),v=n("KCVW");const w=new Set;let S,E=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!w.has(t))try{S||((S=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(S)),S.sheet&&(S.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),w.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=Object(s.Mb)({factory:function(){return new t(Object(s.Nb)(u.a))},token:t,providedIn:"root"}),t})();function C(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let x=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return k(Object(v.a)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=k(Object(v.a)(t)).map(t=>this._registerQuery(t).observable);let n=Object(h.a)(e);return(n=Object(d.a)(n.pipe(Object(o.a)(1)),n.pipe(t=>t.lift(new m(1)),Object(_.a)(0)))).pipe(Object(y.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new p.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(b.a)(e),Object(y.a)(e=>({query:t,matches:e.matches})),Object(a.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=Object(s.Mb)({factory:function(){return new t(Object(s.Nb)(E),Object(s.Nb)(s.y))},token:t,providedIn:"root"}),t})();function k(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const O={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};n.d(e,"e",(function(){return j})),n.d(e,"b",(function(){return D})),n.d(e,"d",(function(){return P})),n.d(e,"a",(function(){return A})),n.d(e,"c",(function(){return R})),n.d(e,"f",(function(){return T})),n.d(e,"g",(function(){return I}));class T{constructor(t,e){this._overlayRef=e,this._afterDismissed=new r.a,this._afterOpened=new r.a,this._onAction=new r.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),t)}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const A=new s.p("MatSnackBarData");class R{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class I{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}class P extends i.a{constructor(t,e,n,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=s,this._destroyed=!1,this._onExit=new r.a,this._onEnter=new r.a,this._animationState="void",this._role="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(o.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}class j{}const N=new s.p("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new R}});let D=(()=>{class t{constructor(t,e,n,r,s,i){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=s,this._defaultConfig=i,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const r=Object.assign({},this._defaultConfig,n);return r.data={message:t,action:e},r.announcementMessage||(r.announcementMessage=t),this.openFromComponent(I,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new i.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[R,e]])),r=new i.c(P,e.viewContainerRef,n),s=t.attach(r);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign({},new R,this._defaultConfig,e),r=this._createOverlay(n),o=this._attachSnackBarContainer(r,n),l=new T(o,r);if(t instanceof s.L){const e=new i.g(t,null,{$implicit:n.data,snackBarRef:l});l.instance=o.attachTemplatePortal(e)}else{const e=this._createInjector(n,l),r=new i.c(t,void 0,e),s=o.attachComponentPortal(r);l.instance=s.instance}return this._breakpointObserver.observe(O.HandsetPortrait).pipe(Object(a.a)(r.detachments())).subscribe(t=>{const e=r.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")}),this._animateSnackBar(l,n),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new l.b;e.direction=t.direction;let n=this._overlay.position().global();const r="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,i=!s&&"center"!==t.horizontalPosition;return s?n.left("0"):i?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new i.e(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[T,e],[A,t.data]]))}}return t.ngInjectableDef=Object(s.Mb)({factory:function(){return new t(Object(s.Nb)(l.a),Object(s.Nb)(c.c),Object(s.Nb)(s.n),Object(s.Nb)(x),Object(s.Nb)(t,12),Object(s.Nb)(N))},token:t,providedIn:j}),t})()},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"j",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"i",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"n",(function(){return p})),n.d(e,"h",(function(){return f})),n.d(e,"a",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"o",(function(){return _}));const r=9,s=13,i=27,o=32,a=35,l=36,c=37,u=38,h=39,d=40,p=48,f=57,m=65,g=90;function _(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("l7GE"),s=n("51Dv"),i=n("ZUHj"),o=n("lJxs"),a=n("Cfvw");function l(t,e){return"function"==typeof e?n=>n.pipe(l((n,r)=>Object(a.a)(t(n,r)).pipe(Object(o.a)((t,s)=>e(n,t,r,s))))):e=>e.lift(new c(t))}class c{constructor(t){this.project=t}call(t,e){return e.subscribe(new u(t,this.project))}}class u extends r.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const o=new s.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(i.a)(this,t,e,n,o)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,s){this.destination.next(e)}}},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return C})),n.d(e,"c",(function(){return xt})),n.d(e,"g",(function(){return kt})),n.d(e,"e",(function(){return E})),n.d(e,"b",(function(){return ae})),n.d(e,"d",(function(){return Ae})),n.d(e,"f",(function(){return Ie})),n.d(e,"h",(function(){return Pe}));var r=n("GS7A");function s(){return"undefined"!=typeof process}function i(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.k(t)}}function o(t,e,n,s,i={},o={}){const a=[],l=[];let c=-1,u=null;if(s.forEach(t=>{const n=t.offset,s=n==c,h=s&&u||{};Object.keys(t).forEach(n=>{let s=n,l=t[n];if("offset"!==n)switch(s=e.normalizePropertyName(s,a),l){case r.l:l=i[n];break;case r.a:l=o[n];break;default:l=e.normalizeStyleValue(n,s,l,a)}h[s]=l}),s||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function a(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&l(n,"start",t)));break;case"done":t.onDone(()=>r(n&&l(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&l(n,"destroy",t)))}}function l(t,e,n){const r=n.totalTime,s=c(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function c(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function u(t,e,n){let r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function h(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let d=(t,e)=>!1,p=(t,e)=>!1,f=(t,e,n)=>[];const m=s();(m||"undefined"!=typeof Element)&&(d=(t,e)=>t.contains(e),p=(()=>{if(m||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):p}})(),f=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let g=null,_=!1;function y(t){g||(g=("undefined"!=typeof document?document.body:null)||{},_=!!g.style&&"WebkitAppearance"in g.style);let e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in g.style)&&_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}const b=p,v=d,w=f;function S(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}class E{validateStyleProperty(t){return y(t)}matchesElement(t,e){return b(t,e)}containsElement(t,e){return v(t,e)}query(t,e,n){return w(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,s,i,o=[],a){return new r.d(n,s)}}let C=(()=>{class t{}return t.NOOP=new E,t})();const x=1e3,k="{{",O="ng-enter",T="ng-leave",A="ng-trigger",R=".ng-trigger",I="ng-animating",P=".ng-animating";function j(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:N(parseFloat(e[1]),e[2])}function N(t,e){switch(e){case"s":return t*x;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=N(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=N(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function L(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function M(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else L(t,n);return n}function F(t,e,n){return n?e+":"+n+";":""}function B(t){let e="";for(let n=0;n{const s=G(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),s()&&B(t))}function U(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),s()&&B(t))}function V(t){return Array.isArray(t)?1==t.length?t[0]:Object(r.f)(t):t}const z=new RegExp(`${k}\\s*(.+?)\\s*}}`,"g");function $(t){let e=[];if("string"==typeof t){const n=t.toString();let r;for(;r=z.exec(n);)e.push(r[1]);z.lastIndex=0}return e}function q(t,e,n){const r=t.toString(),s=r.replace(z,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()});return s==r?t:s}function W(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Q=/-+([a-z0-9])/g;function G(t){return t.replace(Q,(...t)=>t[1].toUpperCase())}function K(t,e){return 0===t||0===e}function Z(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;s(function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(rt(s,o)),"<"!=i[0]||s==J&&o==J||e.push(rt(o,s))})(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function rt(t,e){const n=et.has(t)||nt.has(t),r=et.has(e)||nt.has(e);return(s,i)=>{let o=t==J||t==s,a=e==J||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?et.has(t):nt.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?et.has(e):nt.has(e)),o&&a}}const st=":self",it=new RegExp(`s*${st}s*,?`,"g");function ot(t,e,n){return new lt(t).build(e,n)}const at="";class lt{constructor(t){this._driver=t}build(t,e){const n=new ct(e);return this._resetContextStyleTimingState(n),X(this,V(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=at,t.collectedStyles={},t.collectedStyles[at]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(ut(t)){const e=t;Object.keys(e).forEach(t=>{$(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=W(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=X(this,V(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ht(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>X(this,t,e)),options:ht(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=X(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:ht(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return dt(D(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=dt(0,0,"");return t.dynamic=!0,t.strValue=r,t}return dt((n=n||D(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);let s;e.currentAnimateTimings=n;let i=t.styles?t.styles:Object(r.h)({});if(5==i.type)s=this.visitKeyframes(i,e);else{let i=t.styles,o=!1;if(!i){o=!0;const t={};n.easing&&(t.easing=n.easing),i=Object(r.h)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,e);a.isEmptyStep=o,s=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let s=!1,i=null;return n.forEach(t=>{if(ut(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!s)for(let t in e)if(e[t].toString().indexOf(k)>=0){s=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=$(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ut(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ut(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&r{const i=u>0?r==h?1:u*r:s[r],o=i*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:X(this,V(t.animation),e),options:ht(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ht(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ht(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>t==st);return e&&(t=t.replace(it,"")),[t=t.replace(/@\*/g,R).replace(/@\w+/g,t=>R+"-"+t.substr(1)).replace(/:animating/g,P),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,u(e.collectedStyles,e.currentQuerySelector,{});const o=X(this,V(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:ht(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:D(t.timings,e.errors,!0);return{type:12,animation:X(this,V(t.animation),e),timings:n,options:null}}}class ct{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ut(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=L(t)).params&&(t.params=(e=t.params)?L(e):null):t={},t}function dt(t,e,n){return{duration:t,delay:e,easing:n}}function pt(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class ft{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const mt=1,gt=new RegExp(":enter","g"),_t=new RegExp(":leave","g");function yt(t,e,n,r,s,i={},o={},a,l,c=[]){return(new bt).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class bt{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new ft;const u=new wt(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),X(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[pt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?j(n.duration):null,i=null!=n.delay?j(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&((r=e.createSubContext(s)).transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=vt);const t=j(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>X(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?j(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),X(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return D(e.params?q(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?j(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),X(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;X(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const vt={};class wt{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new St(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=j(n.duration)),null!=n.delay&&(r.delay=j(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=q(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new wt(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new Et(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(gt,"."+this._enterClassName)).replace(_t,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class St{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new St(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=mt,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.a,this._currentKeyframe[t]=r.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,s){e&&(this._previousKeyframe.easing=e);const i=s&&s.params||{},o=function(t,e){const n={};let s;return t.forEach(t=>{"*"===t?(s=s||Object.keys(e)).forEach(t=>{n[t]=r.a}):M(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=q(o[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((i,o)=>{const a=M(i,!0);Object.keys(a).forEach(n=>{const s=a[n];s==r.l?t.add(n):s==r.a&&e.add(n)}),n||(a.offset=o/this.duration),s.push(a)});const i=t.size?W(t.values()):[],o=e.size?W(e.values()):[];if(n){const t=s[0],e=L(t);t.offset=0,e.offset=1,s=[t,e]}return pt(this.element,s,i,o,this.duration,this.startTime,this.easing,!1)}}class Et extends St{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=M(t[0],!1);a.offset=0,s.push(a);const l=M(t[0],!1);l.offset=Ct(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=M(t[r],!1);o.offset=Ct((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return pt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class xt{}class kt extends xt{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const Ot=(()=>(function(t){const e={};return t.forEach(t=>e[t]=!0),e})("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Tt(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const At={};class Rt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const h=[],d=this.ast.options&&this.ast.options.params||At,p=this.buildStyles(n,o&&o.params||At,h),f=a&&a.params||At,m=this.buildStyles(r,f,h),g=new Set,_=new Map,y=new Map,b="void"===r,v={params:Object.assign({},d,f)},w=c?[]:yt(t,e,this.ast.animation,s,i,p,m,v,l,h);let S=0;if(w.forEach(t=>{S=Math.max(t.duration+t.delay,S)}),h.length)return Tt(e,this._triggerName,n,r,b,p,m,[],[],_,y,S,h);w.forEach(t=>{const n=t.element,r=u(_,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=u(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const E=W(g.values());return Tt(e,this._triggerName,n,r,b,p,m,w,E,_,y,S)}}class It{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=L(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=q(i,r,e)),n[t]=i})}}),n}}class Pt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new It(t.style,t.options&&t.options.params||{})}),jt(this.states,"true","1"),jt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Rt(t,e,this.states))}),this.fallbackTransition=new Rt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function jt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Nt=new ft;class Dt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const s=[],o=this._animations[t];let a;const l=new Map;if(o?(a=yt(this._driver,e,o,O,T,{},{},n,Nt,s)).forEach(t=>{const e=u(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)}):(s.push("The requested animation doesn't exist or has already been destroyed"),a=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.a)})});const c=i(a.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,r){const s=c(e,"","","");return a(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Lt="ng-animate-queued",Mt=".ng-animate-queued",Ft="ng-animate-disabled",Bt=".ng-animate-disabled",Ht="ng-star-inserted",Ut=".ng-star-inserted",Vt=[],zt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$t={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qt="__ng_removed";class Wt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=L(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Qt="void",Gt=new Wt(Qt);class Kt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,re(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=u(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=u(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(re(t,A),re(t,A+"-"+e),a[e]=Gt),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new Xt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(re(t,A),re(t,A+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Wt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Gt),l.value!==Qt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s{U(t,n),H(t,r)})}return}const c=u(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=s.matchTransition(a.value,l.value,t,l.params),d=!1;if(!h){if(!r)return;h=s.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:a,toState:l,player:i,isFallbackTransition:d}),d||(re(t,Lt),i.onStart(()=>{se(t,Lt)})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e,n=!1){this._engine.driver.query(t,R,!0).forEach(t=>{if(t[qt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const o=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Qt,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&i(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const s=this._triggers[r].fallbackTransition,i=this._engine.statesByElement.get(t)[r]||Gt,o=new Wt(Qt),a=new Xt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:i,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}this.prepareLeaveAnimationListeners(t),r?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){re(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);i&&i.forEach(e=>{if(e.name==n.triggerName){const r=c(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,a(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(e=>e.element===t)||e}}class Zt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Kt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),re(t,Ft)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),se(t,Ft))}removeNode(t,e,n,r){if(Yt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e[qt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return Yt(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,R,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,P,!0)).forEach(t=>this.finishActiveQueriedAnimationOnElement(t))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return i(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[qt];if(e&&e.setForRemoval){if(t[qt]=zt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Bt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Bt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?i(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new ft,s=[],o=new Map,a=[],l=new Map,c=new Map,h=new Map,d=new Set;this.disabledNodes.forEach(t=>{d.add(t);const e=this.driver.query(t,Mt,!0);for(let n=0;n{const n=O+_++;g.set(e,n),t.forEach(t=>re(t,n))});const y=[],b=new Set,v=new Set;for(let r=0;rb.add(t)):v.add(t))}const w=new Map,S=ee(f,Array.from(b));S.forEach((t,e)=>{const n=T+_++;w.set(e,n),t.forEach(t=>re(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>se(t,n))}),S.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>se(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const E=[],C=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(E.push(e),this.collectedEnterElements.length){const t=r[qt];if(t&&t.setForMove)return void e.destroy()}const i=!p||!this.driver.containsElement(p,r),o=w.get(r),d=g.get(r),f=this._buildInstruction(t,n,d,o,i);if(!f.errors||!f.errors.length)return i?(e.onStart(()=>U(r,f.fromStyles)),e.onDestroy(()=>H(r,f.toStyles)),void s.push(e)):t.isFallbackTransition?(e.onStart(()=>U(r,f.fromStyles)),e.onDestroy(()=>H(r,f.toStyles)),void s.push(e)):(f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,f.timelines),a.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>u(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=h.get(e);r||h.set(e,r=new Set),n.forEach(t=>r.add(t))}));C.push(f)});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),E.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,k=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),s.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{u(x,e,[]).push(t),t.destroy()})});const A=y.filter(t=>oe(t,c,h)),R=new Map;te(R,this.driver,v,h,r.a).forEach(t=>{oe(t,c,h)&&A.push(t)});const I=new Map;m.forEach((t,e)=>{te(I,this.driver,new Set(t),c,r.l)}),A.forEach(t=>{const e=R.get(t),n=I.get(t);R.set(t,Object.assign({},e,n))});const j=[],N=[],D={};a.forEach(t=>{const{element:e,player:r,instruction:a}=t;if(n.has(e)){if(d.has(e))return r.onDestroy(()=>H(e,a.toStyles)),r.disabled=!0,r.overrideTotalTime(a.totalTime),void s.push(r);let t=D;if(k.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,a,x,o,I,R);if(r.setRealPlayer(n),t===D)j.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=i(e)),s.push(r)}}else U(e,a.fromStyles),r.onDestroy(()=>H(e,a.toStyles)),N.push(r),d.has(e)&&s.push(r)}),N.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=i(e);t.setRealPlayer(n)}}),s.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r!t.destroyed);s.length?ie(this,t,s):this.processLeaveNode(t)}return y.length=0,j.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),j}elementContainsData(t,e){let n=!1;const r=e[qt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==Qt;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=u(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}U(r,e.fromStyles)}_buildAnimation(t,e,n,s,a,l){const c=e.triggerName,h=e.element,d=[],p=new Set,f=new Set,m=e.timelines.map(e=>{const i=e.element;p.add(i);const u=i[qt];if(u&&u.removedBeforeQueried)return new r.d(e.duration,e.delay);const m=i!==h,g=function(t){const e=[];return function t(e,n){for(let s=0;st.getRealPlayer())).filter(t=>!!t.element&&t.element===i),_=a.get(i),y=l.get(i),b=o(0,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&s&&f.add(i),m){const e=new Xt(t,c,i);e.setRealPlayer(v),d.push(e)}return v});d.forEach(t=>{u(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>(function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e)){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e]){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r})(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>re(t,I));const g=i(m);return g.onDestroy(()=>{p.forEach(t=>se(t,I)),H(h,e.toStyles)}),f.forEach(t=>{u(s,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)}}class Xt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>a(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){u(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Yt(t){return t&&1===t.nodeType}function Jt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function te(t,e,n,r,s){const i=[];n.forEach(t=>i.push(Jt(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r[qt]=$t,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>Jt(t,i[a++])),o}function ee(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let i=s.get(e);if(i)return i;const o=e.parentNode;return i=n.has(o)?o:r.has(o)?1:t(o),s.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}const ne="$$classes";function re(t,e){if(t.classList)t.classList.add(e);else{let n=t[ne];n||(n=t[ne]={}),n[e]=!0}}function se(t,e){if(t.classList)t.classList.remove(e);else{let n=t[ne];n&&delete n[e]}}function ie(t,e,n){i(n).onDone(()=>t.processLeaveNode(e))}function oe(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class ae{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Zt(t,e,n),this._timelineEngine=new Dt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=ot(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Pt(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=h(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=h(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function le(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=ue(e[0]),e.length>1&&(r=ue(e[e.length-1]))):e&&(n=ue(e)),n||r?new ce(t,n,r):null}let ce=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&H(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(H(this._element,this._initialStyles),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),H(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ue(t){let e=null;const n=Object.keys(t);for(let r=0;rthis._handleCallback(t)}apply(){!function(t,e){const n=Se(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ve(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Se(t,"").split(","),r=be(n,e);r>=0&&(n.splice(r,1),we(t,"",n.join(",")))}(this._element,this._name))}}function _e(t,e,n){we(t,"PlayState",n,ye(t,e))}function ye(t,e){const n=Se(t,"");return n.indexOf(",")>0?be(n.split(","),e):be([n],e)}function be(t,e){for(let n=0;n=0)return n;return-1}function ve(t,e,n){n?t.removeEventListener(fe,e):t.addEventListener(fe,e)}function we(t,e,n,r){const s=pe+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function Se(t,e){return t.style[pe+e]}const Ee="forwards",Ce="linear";class xe{constructor(t,e,n,r,s,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||Ce,this.totalTime=r+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ge(this.element,this.animationName,this._duration,this._delay,this.easing,Ee,()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Y(this.element,n))})}this.currentSnapshot=t}}class ke extends r.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}const Oe="gen_css_kf_",Te=" ";class Ae{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return y(t)}matchesElement(t,e){return b(t,e)}containsElement(t,e){return v(t,e)}query(t,e,n){return w(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=Te;const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=Te,Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=`${s}}\n`}),r+="}\n";const i=document.createElement("style");return i.innerHTML=r,i}animate(t,e,n,r,s,i=[],o){o&&this._notifyFaultyScrubber();const a=i.filter(t=>t instanceof xe),l={};K(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Z(t,e,l));if(0==n)return new ke(t,c);const u=`${Oe}${this._count++}`,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=le(t,e),p=new xe(t,e,u,n,r,s,c,d);return p.onDestroy(()=>(function(t){t.parentNode.removeChild(t)})(h)),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Re{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Y(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Ie{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(je().toString()),this._cssKeyframesDriver=new Ae}validateStyleProperty(t){return y(t)}matchesElement(t,e){return b(t,e)}containsElement(t,e){return v(t,e)}query(t,e,n){return w(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(t=>t instanceof Re);K(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=le(t,e=Z(t,e=e.map(t=>M(t,!1)),l));return new Re(t,e,a,u)}}function Pe(){return"function"==typeof je()}function je(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("2fFW"),s=n("NJ4a");const i={closed:!0,next(t){},error(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)},complete(){}}},hOhj:function(t,e,n){"use strict";var r=n("8Y7J"),s=(n("KCVW"),n("XNiG")),i=n("LRne"),o=n("HDdC"),a=n("DH7j"),l=n("n6bG"),c=n("lJxs");function u(t,e,n,r){return Object(l.a)(n)&&(r=n,n=void 0),r?u(t,e,n).pipe(Object(c.a)(t=>Object(a.a)(t)?r(...t):r(t))):new o.a(r=>{!function t(e,n,r,s,i){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,i),o=()=>t.removeEventListener(n,r,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),o=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),o=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o1?Array.prototype.slice.call(arguments):t)}),r,n)})}n("3N8a"),n("IjjT");var h=n("VRyK");n("7o/Q");var d=n("D0XW"),p=n("l7GE"),f=n("ZUHj");class m{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new g(t,this.durationSelector))}}class g extends p.a{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const r=Object(f.a)(this,n);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function _(t){return!Object(a.a)(t)&&t-parseFloat(t)+1>=0}var y=n("z+Ro");function b(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function v(t,e=d.a){return n=()=>(function(t=0,e,n){let r=-1;return _(e)?r=Number(e)<1?1:Number(e):Object(y.a)(e)&&(n=e),Object(y.a)(n)||(n=d.a),new o.a(e=>{const s=_(t)?t:+t-n.now();return n.schedule(b,s,{index:0,period:r,subscriber:e})})})(t,e),function(t){return t.lift(new m(n))};var n}var w=n("pLZG");n("1G5W"),n("JX91"),n("eIep"),n("quSY"),n("EY2u"),n("z6cu"),n("9ppp"),n("Ylt2");var S=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return x})),n.d(e,"d",(function(){return O})),n.d(e,"c",(function(){return T}));const E=20;let C=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=E){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(v(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(i.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(w.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>u(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(r.Mb)({factory:function(){return new t(Object(r.Nb)(r.y),Object(r.Nb)(S.a))},token:t,providedIn:"root"}),t})();class x{}const k=20;let O=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(h.a)(u(window,"resize"),u(window,"orientationchange")):Object(i.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=k){return t>0?this._change.pipe(v(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(r.Mb)({factory:function(){return new t(Object(r.Nb)(S.a),Object(r.Nb)(r.y))},token:t,providedIn:"root"}),t})();const T={provide:O,deps:[[new r.z,new r.I,O],S.a,r.y],useFactory:function(t,e,n){return t||new O(e,n)}}},iInd:function(t,e,n){"use strict";var r=n("SVse"),s=n("8Y7J"),i=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),l=n("HDdC");function c(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}c.prototype=Object.create(Error.prototype);const u=c;var h=n("itXk"),d=n("EY2u");function p(t){return new l.a(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(o.a)(n):Object(d.b)()).subscribe(e)})}var f=n("XNiG"),m=n("lJxs"),g=n("0EUg"),_=n("pLZG"),y=n("7o/Q"),b=n("4I5i");function v(t){return function(e){return 0===t?Object(d.b)():e.lift(new w(t))}}class w{constructor(t){if(this.total=t,this.total<0)throw new b.a}call(t,e){return e.subscribe(new S(t,this.total))}}class S extends y.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;sObject(E.a)({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw t()}});function x(){return new u}function k(t=null){return e=>e.lift(new O(t))}class O{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new T(t,this.defaultValue))}}class T extends y.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var A=n("SpAZ");function R(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(_.a)((e,n)=>t(e,n,r)):A.a,v(1),n?k(e):C(()=>new u))}var I=n("JIr8"),P=n("IzEk");function j(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(_.a)((e,n)=>t(e,n,r)):A.a,Object(P.a)(1),n?k(e):C(()=>new u))}var N=n("5+tZ");class D{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new L(t,this.predicate,this.thisArg,this.source))}}class L extends y.a{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var M=n("eIep"),F=n("JX91");function B(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new H(t,e,n))}}class H{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new U(t,this.accumulator,this.seed,this.hasSeed))}}class U extends y.a{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var V=n("bOdf"),z=n("mCNh"),$=n("nYR2"),q=n("bHdf"),W=n("cUpR");n.d(e,"D",(function(){return ut})),n.d(e,"t",(function(){return Tn})),n.d(e,"A",(function(){return Fn})),n.d(e,"v",(function(){return Pn})),n.d(e,"B",(function(){return Bn})),n.d(e,"C",(function(){return Hn})),n.d(e,"x",(function(){return Nn})),n.d(e,"w",(function(){return jn})),n.d(e,"z",(function(){return Mn})),n.d(e,"u",(function(){return Rn})),n.d(e,"y",(function(){return Ln})),n.d(e,"E",(function(){return kn})),n.d(e,"l",(function(){return fn})),n.d(e,"n",(function(){return mn})),n.d(e,"m",(function(){return _n})),n.d(e,"p",(function(){return vn})),n.d(e,"j",(function(){return rn})),n.d(e,"k",(function(){return pn})),n.d(e,"i",(function(){return on})),n.d(e,"g",(function(){return On})),n.d(e,"h",(function(){return Un})),n.d(e,"o",(function(){return In})),n.d(e,"b",(function(){return bn})),n.d(e,"d",(function(){return Cn})),n.d(e,"e",(function(){return En})),n.d(e,"f",(function(){return Sn})),n.d(e,"q",(function(){return xn})),n.d(e,"a",(function(){return ee})),n.d(e,"r",(function(){return ln})),n.d(e,"c",(function(){return Nt})),n.d(e,"s",(function(){return jt}));class Q{constructor(t,e){this.id=t,this.url=e}}class G extends Q{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class K extends Q{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Z extends Q{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class X extends Q{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Y extends Q{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends Q{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends Q{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class et extends Q{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Q{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class st{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class it{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ot{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ut{}const ht="primary";class dt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function pt(t){return new dt(t)}const ft="ngNavigationCancelingError";function mt(t){const e=Error("NavigationCancelingError: "+t);return e[ft]=!0,e}function gt(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function xt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function kt(t){return Object(s.xb)(t)?t:Object(s.yb)(t)?Object(o.a)(Promise.resolve(t)):Object(i.a)(t)}function Ot(t,e,n){return n?function(t,e){return St(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!It(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!It(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!It(n.segments,s))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!It(n.segments,t)&&!!n.children[ht]&&e(n.children[ht],r,i)}}(e,n,n.segments)}(t.root,e.root)}class Tt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pt(this.queryParams)),this._queryParamMap}toString(){return Dt.serialize(this)}}class At{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}}class Rt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=pt(this.parameters)),this._parameterMap}toString(){return Vt(this)}}function It(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Pt(t,e){let n=[];return xt(t.children,(t,r)=>{r===ht&&(n=n.concat(e(t,r)))}),xt(t.children,(t,r)=>{r!==ht&&(n=n.concat(e(t,r)))}),n}class jt{}class Nt{parse(t){const e=new Qt(t);return new Tt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return Lt(e);if(n){const n=e.children[ht]?t(e.children[ht],!1):"",r=[];return xt(e.children,(e,n)=>{n!==ht&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Pt(e,(n,r)=>r===ht?[t(e.children[ht],!1)]:[`${r}:${t(n,!1)}`]);return`${Lt(e)}/(${n.join("//")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ft(e)}=${Ft(t)}`).join("&"):`${Ft(e)}=${Ft(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Dt=new Nt;function Lt(t){return t.segments.map(t=>Vt(t)).join("/")}function Mt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ft(t){return Mt(t).replace(/%3B/gi,";")}function Bt(t){return Mt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ht(t){return decodeURIComponent(t)}function Ut(t){return Ht(t.replace(/\+/g,"%20"))}function Vt(t){return`${Bt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Bt(t)}=${Bt(e[t])}`).join("")}`;var e}const zt=/^[^\/()?;=#]+/;function $t(t){const e=t.match(zt);return e?e[0]:""}const qt=/^[^=?&#]+/,Wt=/^[^?&#]+/;class Qt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new At(t,e)),n}parseSegment(){const t=$t(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Rt(Ht(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=$t(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=$t(this.remaining);t&&this.capture(n=t)}t[Ht(e)]=Ht(n)}parseQueryParam(t){const e=function(t){const e=t.match(qt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Wt);return e?e[0]:""}(this.remaining);t&&this.capture(n=t)}const r=Ut(e),s=Ut(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(t[r]=e=[e]),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=$t(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ht);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i[ht]:new At([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Gt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Kt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Kt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Zt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Zt(t,this._root).map(t=>t.value)}}function Kt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Kt(t,n);if(e)return e}return null}function Zt(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Zt(t,n);if(r.length)return r.unshift(e),r}return[]}class Xt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Yt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Jt extends Gt{constructor(t,e){super(t),this.snapshot=e,ie(this,t)}toString(){return this.snapshot.toString()}}function te(t,e){const n=function(t,e){const n=new re([],{},{},"",{},ht,e,null,t.root,-1,{});return new se("",new Xt(n,[]))}(t,e),r=new a.a([new Rt("",{})]),s=new a.a({}),i=new a.a({}),o=new a.a({}),l=new a.a(""),c=new ee(r,s,o,l,i,ht,e,n.root);return c.snapshot=n.root,new Jt(new Xt(c,[]),n)}class ee{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(t=>pt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(t=>pt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ne(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class re{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=pt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class se extends Gt{constructor(t,e){super(e),this.url=t,ie(this,e)}toString(){return oe(this._root)}}function ie(t,e){e.value._routerState=t,e.children.forEach(e=>ie(t,e))}function oe(t){const e=t.children.length>0?` { ${t.children.map(oe).join(", ")} } `:"";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,St(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),St(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nSt(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||le(t.parent,e.parent))}function ce(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ue(t,e,n,r,s){let i={};return r&&xt(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Tt(n.root===t?e:function t(e,n,r){const s={};return xt(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new At(e.segments,s)}(n.root,t,e),i,s)}class he{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ce(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Ct(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class de{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function pe(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ht]:`${t}`}function fe(t,e,n){if(t||(t=new At([],{})),0===t.segments.length&&t.hasChildren())return me(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=pe(n[r]),a=r0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!be(o,a,e))return i;r+=2}else{if(!be(o,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(s[r]=fe(t.children[r],e,n))}),xt(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new At(t.segments,s)}}function ge(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{null!==t&&(e[n]=ge(new At([],{}),0,t))}),e}function ye(t){const e={};return xt(t,(t,n)=>e[n]=`${t}`),e}function be(t,e,n){return t==n.path&&St(e,n.parameters)}const ve=(t,e,n)=>Object(m.a)(r=>(new we(e,r.targetRouterState,r.currentRouterState,n).activate(t),r));class we{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Yt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),xt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=Yt(t),s=t.value.component?n.children:e;xt(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=Yt(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new lt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ot(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(ae(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Se(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Se(t){ae(t.value),t.children.forEach(Se)}function Ee(t){return"function"==typeof t}function Ce(t){return t instanceof Tt}class xe{constructor(t){this.segmentGroup=t||null}}class ke{constructor(t){this.urlTree=t}}function Oe(t){return new l.a(e=>e.error(new xe(t)))}function Te(t){return new l.a(e=>e.error(new ke(t)))}function Ae(t){return new l.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Re{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(s.w)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ht).pipe(Object(m.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(I.a)(t=>{if(t instanceof ke)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof xe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe(Object(m.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(I.a)(t=>{if(t instanceof xe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new At([],{[ht]:t}):t;return new Tt(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)(t=>new At([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(i.a)({});const n=[],r=[],s={};return xt(t,(t,i)=>{const o=e(i,t).pipe(Object(m.a)(t=>s[i]=t));i===ht?n.push(o):r.push(o)}),i.a.apply(null,n.concat(r)).pipe(Object(g.a)(),R(),Object(m.a)(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,o){return Object(i.a)(...n).pipe(Object(m.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,r,s,o).pipe(Object(I.a)(t=>{if(t instanceof xe)return Object(i.a)(null);throw t}))),Object(g.a)(),j(t=>!!t),Object(I.a)((t,n)=>{if(t instanceof u||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return Object(i.a)(new At([],{}));throw new xe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Ne(r)!==i?Oe(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Oe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Te(s):this.lineralizeSegments(n,s).pipe(Object(N.a)(n=>{const s=new At(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ie(e,r,s);if(!o)return Oe(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Te(u):this.lineralizeSegments(r,u).pipe(Object(N.a)(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)(t=>(n._loadedConfig=t,new At(r,{})))):Object(i.a)(new At(r,{}));const{matched:s,consumedSegments:o,lastChild:a}=Ie(e,n,r);if(!s)return Oe(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(Object(N.a)(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:a}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>je(t,e,n)&&Ne(n)!==ht)}(t,n,r)?{segmentGroup:Pe(new At(e,function(t,e){const n={};n[ht]=e;for(const r of t)""===r.path&&Ne(r)!==ht&&(n[Ne(r)]=new At([],{}));return n}(r,new At(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>je(t,e,n))}(t,n,r)?{segmentGroup:Pe(new At(t.segments,function(t,e,n,r){const s={};for(const i of n)je(t,e,i)&&!r[Ne(i)]&&(s[Ne(i)]=new At([],{}));return Object.assign({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,r);return 0===a.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(Object(m.a)(t=>new At(o,t))):0===r.length&&0===a.length?Object(i.a)(new At(o,{})):this.expandSegment(n,s,r,a,ht,!0).pipe(Object(m.a)(t=>new At(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(i.a)(new _t(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(i.a)(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?Object(o.a)(r).pipe(Object(m.a)(r=>{const s=t.get(r);let i;if(function(t){return t&&Ee(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Ee(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return kt(i)})).pipe(Object(g.a)(),(s=t=>!0===t,t=>t.lift(new D(s,void 0,t)))):Object(i.a)(!0);var s}(t.injector,e,n).pipe(Object(N.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(m.a)(t=>(e._loadedConfig=t,t))):function(t){return new l.a(e=>e.error(mt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(i.a)(new _t([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[ht])return Ae(t.redirectTo);r=r.children[ht]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Tt(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return xt(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new At(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Ie(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||gt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Pe(t){if(1===t.numberOfChildren&&t.children[ht]){const e=t.children[ht];return new At(t.segments.concat(e.segments),e.children)}return t}function je(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ne(t){return t.outlet||ht}class De{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Le{constructor(t,e){this.component=t,this.route=e}}function Me(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Yt(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!It(t.url,e.url);case"pathParamsOrQueryParamsChange":return!It(t.url,e.url)||!St(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!le(t,e)||!St(t.queryParams,e.queryParams);case"paramsChange":default:return!le(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new De(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new Le(l&&l.outlet&&l.outlet.component||null,a))}else a&&Be(n,l,i),i.canActivateChecks.push(new De(s)),t(e,null,o.component?l?l.children:null:r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),xt(o,(t,e)=>Be(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function Fe(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Be(t,e,n){const r=Yt(t),s=t.value;xt(r,(t,r)=>{Be(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Le(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}const He=Symbol("INITIAL_VALUE");function Ue(){return Object(M.a)(t=>Object(h.a)(...t.map(t=>t.pipe(Object(P.a)(1),Object(F.a)(He)))).pipe(B((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==He)return t;if(r===He&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||Ce(r))return r}return t},t)},He),Object(_.a)(t=>t!==He),Object(m.a)(t=>Ce(t)?t:!0===t),Object(P.a)(1)))}function Ve(t,e){return null!==t&&e&&e(new at(t)),Object(i.a)(!0)}function ze(t,e){return null!==t&&e&&e(new it(t)),Object(i.a)(!0)}function $e(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(i.a)(!0);const s=r.map(r=>p(()=>{const s=Fe(r,e,n);let i;if(function(t){return t&&Ee(t.canActivate)}(s))i=kt(s.canActivate(e,t));else{if(!Ee(s))throw new Error("Invalid CanActivate guard");i=kt(s(e,t))}return i.pipe(j())}));return Object(i.a)(s).pipe(Ue())}function qe(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>(function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null})(t)).filter(t=>null!==t).map(e=>p(()=>{const s=e.guards.map(s=>{const i=Fe(s,e.node,n);let o;if(function(t){return t&&Ee(t.canActivateChild)}(i))o=kt(i.canActivateChild(r,t));else{if(!Ee(i))throw new Error("Invalid CanActivateChild guard");o=kt(i(r,t))}return o.pipe(j())});return Object(i.a)(s).pipe(Ue())}));return Object(i.a)(s).pipe(Ue())}class We{}class Qe{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=Ze(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht),n=new re([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Xt(n,e),s=new se(this.url,r);return this.inheritParamsAndData(s._root),Object(i.a)(s)}catch(t){return new l.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ne(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Pt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===ht?-1:e.value.outlet===ht?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof We))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new We}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new We;if((t.outlet||ht)!==r)throw new We;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Ct(n).parameters:{};s=new re(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Je(t),r,t.component,t,Ge(e),Ke(e)+n.length,tn(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new We;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||gt)(n,t,e);if(!r)throw new We;const s={};xt(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new re(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Je(t),r,t.component,t,Ge(e),Ke(e)+i.length,tn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ze(e,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new Xt(s,t)]}if(0===a.length&&0===c.length)return[new Xt(s,[])];const u=this.processSegment(a,l,c,ht);return[new Xt(s,u)]}}function Ge(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ke(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Ze(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>Xe(t,e,n)&&Ye(n)!==ht)}(t,n,r)){const s=new At(e,function(t,e,n,r){const s={};s[ht]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&Ye(i)!==ht){const n=new At([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Ye(i)]=n}return s}(t,e,r,new At(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Xe(t,e,n))}(t,n,r)){const i=new At(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Xe(t,n,a)&&!s[Ye(a)]){const n=new At([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[Ye(a)]=n}return Object.assign({},s,o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new At(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Xe(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ye(t){return t.outlet||ht}function Je(t){return t.data||{}}function tn(t){return t.resolve||{}}function en(t,e,n,r){const s=Fe(t,e,r);return kt(s.resolve?s.resolve(e,n):s(e,n))}function nn(t){return function(e){return e.pipe(Object(M.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(m.a)(()=>e)):Object(o.a)([e])}))}}class rn{}class sn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const on=new s.p("ROUTES");class an{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new _t(Et(r.injector.get(on)).map(wt),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):kt(t()).pipe(Object(N.a)(t=>t instanceof s.u?Object(i.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class ln{}class cn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function un(t){throw t}function hn(t,e,n){return e.parse("/")}function dn(t,e){return Object(i.a)(null)}class pn{constructor(t,e,n,r,i,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=un,this.malformedUriErrorHandler=hn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dn,afterPreactivation:dn},this.urlHandlingStrategy=new cn,this.routeReuseStrategy=new sn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(s.w),this.console=i.get(s.bb);const u=i.get(s.y);this.isNgZoneEnabled=u instanceof s.y,this.resetConfig(c),this.currentUrlTree=new Tt(new At([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new an(o,l,t=>this.triggerEvent(new rt(t)),t=>this.triggerEvent(new st(t))),this.routerState=te(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(_.a)(t=>0!==t.id),Object(m.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(M.a)(t=>{let n=!1,r=!1;return Object(i.a)(t).pipe(Object(E.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(M.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(i.a)(t).pipe(Object(M.a)(t=>{const n=this.transitions.getValue();return e.next(new G(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?d.a:[t]}),Object(M.a)(t=>Promise.resolve(t)),function(t,e,n,r){return function(s){return s.pipe(Object(M.a)(s=>(function(t,e,n,r,s){return new Re(t,e,n,r,s).apply()})(t,e,n,s.extractedUrl,r).pipe(Object(m.a)(t=>Object.assign({},s,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(E.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(Object(N.a)(i=>(function(t,e,n,r,s="emptyOnly",i="legacy"){return new Qe(t,e,n,r,s,i).recognize()})(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(Object(m.a)(t=>Object.assign({},i,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(E.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(E.a)(t=>{const n=new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:o,extras:a}=t,l=new G(n,this.serializeUrl(r),s,o);e.next(l);const c=te(r,this.rootComponentType).snapshot;return Object(i.a)(Object.assign({},t,{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),d.a}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Object(E.a)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(m.a)(t=>Object.assign({},t,{guards:Me(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(N.a)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(i.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,r){return Object(o.a)(t).pipe(Object(N.a)(t=>(function(t,e,n,r,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(i.a)(!0);const a=o.map(i=>{const o=Fe(i,e,s);let a;if(function(t){return t&&Ee(t.canDeactivate)}(o))a=kt(o.canDeactivate(t,e,n,r));else{if(!Ee(o))throw new Error("Invalid CanDeactivate guard");a=kt(o(t,e,n,r))}return a.pipe(j())});return Object(i.a)(a).pipe(Ue())})(t.component,t.route,n,e,r)),j(t=>!0!==t,!0))}(l,r,s,t).pipe(Object(N.a)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return Object(o.a)(e).pipe(Object(V.a)(e=>Object(o.a)([ze(e.route.parent,r),Ve(e.route,r),qe(t,e.path,n),$e(t,e.route,n)]).pipe(Object(g.a)(),j(t=>!0!==t,!0))),j(t=>!0!==t,!0))}(r,a,t,e):Object(i.a)(n)),Object(m.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(E.a)(t=>{if(Ce(t.guardsResult)){const e=mt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(E.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(_.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Z(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),nn(t=>{if(t.guards.canActivateChecks.length)return Object(i.a)(t).pipe(Object(E.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),function(t,e){return function(n){return n.pipe(Object(N.a)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?Object(o.a)(s).pipe(Object(V.a)(n=>(function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Object(i.a)({});if(1===s.length){const i=s[0];return en(t[i],e,n,r).pipe(Object(m.a)(t=>({[i]:t})))}const a={};return Object(o.a)(s).pipe(Object(N.a)(s=>en(t[s],e,n,r).pipe(Object(m.a)(t=>(a[s]=t,t))))).pipe(R(),Object(m.a)(()=>a))}(t._resolve,t,e,r).pipe(Object(m.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,ne(t,n).resolve),null)))})(n.route,r,t,e)),function(t,e){return arguments.length>=2?function(n){return Object(z.a)(B(t,e),v(1),k(e))(n)}:function(e){return Object(z.a)(B((e,n,r)=>t(e,n,r+1)),v(1))(e)}}((t,e)=>t),Object(m.a)(t=>n)):Object(i.a)(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Object(E.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Object(m.a)(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,r);return new Xt(s,i)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;rt(e,n));return new Xt(r,i)}}var s}(t,e._root,n?n._root:void 0);return new Jt(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(E.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),ve(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),Object(E.a)({next(){n=!0},complete(){n=!0}}),Object($.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Z(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(I.a)(n=>{if(r=!0,function(t){return t&&t[ft]}(n)){const r=Ce(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Z(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),t.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new X(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return d.a}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){yt(t),this.config=t.map(wt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:l}=e;Object(s.W)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:i;let h=null;if(a)switch(a){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=o?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,s){if(0===n.length)return ue(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new he(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return xt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new he(n,e,r)}(n);if(i.toRoot())return ue(e.root,new At([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new de(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new de(n.snapshot._urlSegment,!0,0);const r=ce(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,!(r=r.parent))throw new Error("Invalid number of '../'");s=r.segments.length}return new de(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?me(o.segmentGroup,o.index,i.commands):fe(o.segmentGroup,o.index,i.commands);return ue(o.segmentGroup,a,e,r,s)}(c,this.currentUrlTree,t,h,u)}navigateByUrl(t,e={skipLocationChange:!1}){Object(s.W)()&&this.isNgZoneEnabled&&!s.y.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Ce(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r){const s=this.getTransition();if(s&&"imperative"!==e&&"imperative"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"hashchange"==e&&"popstate"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"popstate"==e&&"hashchange"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let i=null,o=null;const a=new Promise((t,e)=>{i=t,o=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign({},r,{navigationId:n})):this.location.go(s,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class fn{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:gn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}class mn{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof K&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:gn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}function gn(t){return""===t||!!t}class _n{constructor(t,e,n,r,s){this.router=t,this.element=e,this.renderer=n,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof K&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}class yn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new bn,this.attachRef=null}}class bn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new yn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class vn{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.m,this.deactivateEvents=new s.m,this.name=r||ht,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new wn(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class wn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ee?this.route:t===bn?this.childContexts:this.parent.get(t,e)}}class Sn{}class En{preload(t,e){return e().pipe(Object(I.a)(()=>Object(i.a)(null)))}}class Cn{preload(t,e){return Object(i.a)(null)}}class xn{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new an(e,n,e=>t.triggerEvent(new rt(e)),e=>t.triggerEvent(new st(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(_.a)(t=>t instanceof K),Object(V.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.w);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(o.a)(n).pipe(Object(q.a)(),Object(m.a)(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(N.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class kn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof G?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof K&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const On=new s.p("ROUTER_CONFIGURATION"),Tn=new s.p("ROUTER_FORROOT_GUARD"),An=[r.f,{provide:jt,useClass:Nt},{provide:pn,useFactory:Ln,deps:[s.g,jt,bn,r.f,s.q,s.v,s.i,on,On,[ln,new s.z],[rn,new s.z]]},bn,{provide:ee,useFactory:Mn,deps:[pn]},{provide:s.v,useClass:s.J},xn,Cn,En,{provide:On,useValue:{enableTracing:!1}}];function Rn(){return new s.x("Router",pn)}class In{constructor(t,e){}static forRoot(t,e){return{ngModule:In,providers:[An,Dn(t),{provide:Tn,useFactory:Nn,deps:[[pn,new s.z,new s.I]]},{provide:On,useValue:e||{}},{provide:r.g,useFactory:jn,deps:[r.p,[new s.o(r.a),new s.z],On]},{provide:kn,useFactory:Pn,deps:[pn,r.q,On]},{provide:Sn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:Cn},{provide:s.x,multi:!0,useFactory:Rn},[Fn,{provide:s.d,multi:!0,useFactory:Bn,deps:[Fn]},{provide:Un,useFactory:Hn,deps:[Fn]},{provide:s.b,multi:!0,useExisting:Un}]]}}static forChild(t){return{ngModule:In,providers:[Dn(t)]}}}function Pn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new kn(t,e,n)}function jn(t,e,n={}){return n.useHash?new r.d(t,e):new r.o(t,e)}function Nn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Dn(t){return[{provide:s.a,multi:!0,useValue:t},{provide:on,multi:!0,useValue:t}]}function Ln(t,e,n,r,s,i,o,a,l={},c,u){const h=new pn(null,e,n,r,s,i,o,Et(a));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(W.r)();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function Mn(t){return t.routerState.root}class Fn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(pn),r=this.injector.get(On);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(i.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(On),n=this.injector.get(xn),r=this.injector.get(kn),i=this.injector.get(pn),o=this.injector.get(s.g);t===o.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Bn(t){return t.appInitializer.bind(t)}function Hn(t){return t.bootstrapListener.bind(t)}const Un=new s.p("Router Initializer")},itXk:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("z+Ro"),s=n("DH7j"),i=n("l7GE"),o=n("ZUHj"),a=n("yCtX");const l={};function c(...t){let e=null,n=null;return Object(r.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(s.a)(t[0])&&(t=t[0]),Object(a.a)(t,n).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends i.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;ne(t),e)}:r.a}},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q"),s=n("quSY");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends r.a{constructor(t,e){super(t),this.add(new s.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>e=>{for(let n=0,r=t.length;n{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new p("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(s,t),e.data.animation.forEach(e=>this.engine.registerTrigger(r,s,t,e.name,e)),new f(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class p{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==u&&e==h?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class f extends p{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==u?"."==e.charAt(1)&&e==h?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==u){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return s.charAt(0)!=u&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class m extends i.b{constructor(t,e,n){super(t.body,e,n)}}function g(){return Object(i.h)()?new i.f:new i.d}function _(){return new i.g}function y(t,e,n){return new d(t,e,n)}const b=new r.p("AnimationModuleType");class v{}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("7o/Q");function s(t,e){return function(n){return n.lift(new i(t,e))}}class i{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends r.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pLzU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("Lhse");const s=t=>e=>{const n=t[r.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e}},pMnS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("8Y7J"),s=n("iInd"),i=r.qb({encapsulation:2,styles:[],data:{}});function o(t){return r.Ib(0,[(t()(),r.sb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.rb(1,212992,null,0,s.p,[s.b,r.O,r.j,[8,null],r.h],null,null)],(function(t,e){t(e,1,0)}),null)}function a(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,1,"ng-component",[],null,null,null,o,i)),r.rb(1,49152,null,0,s.D,[],null,null)],null,null)}var l=r.ob("ng-component",s.D,a,{},{},[])},quSY:function(t,e,n){"use strict";var r=n("DH7j"),s=n("XoHu"),i=n("n6bG");function o(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}o.prototype=Object.create(Error.prototype);const a=o;n.d(e,"a",(function(){return l}));let l=(()=>{class t{constructor(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let t,e=!1;if(this.closed)return;let{_parent:n,_parents:o,_unsubscribe:l,_subscriptions:u}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let h=-1,d=o?o.length:0;for(;n;)n.remove(this),n=++ht.concat(e instanceof a?e.errors:e),[])}},u9Qi:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("IheW"),s=n("9zrn"),i=n("allT"),o=n("8Y7J"),a=n("cXrj");let l=(()=>{class t{constructor(t,e,n){this.httpClient=t,this.basePath="http://localhost",this.defaultHeaders=new r.g,this.configuration=new i.a,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s.a}addToHttpParams(t,e,n){return"object"==typeof e&&e instanceof Date==0?this.addToHttpParamsRecursive(t,e):this.addToHttpParamsRecursive(t,e,n)}addToHttpParamsRecursive(t,e,n){if(null==e)return t;if("object"==typeof e)if(Array.isArray(e))e.forEach(e=>t=this.addToHttpParamsRecursive(t,e,n));else if(e instanceof Date){if(null==n)throw Error("key may not be null if value is Date");t=t.append(n,e.toISOString().substr(0,10))}else Object.keys(e).forEach(r=>t=this.addToHttpParamsRecursive(t,e[r],null!=n?`${n}.${r}`:r));else{if(null==n)throw Error("key may not be null if value is not object or array");t=t.append(n,e)}return t}barAlcGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/alc`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barAlcShortGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/alc/short`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barCocktailsGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/cocktails`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barCocktailsShortGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/cocktails/short`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barNameGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/name`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barNonalcGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/nonalc`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}barNonalcShortGet(t="body",e=!1,n){let r=this.defaultHeaders,s=n&&n.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(r=r.set("Accept",s));let i="json";return s&&s.startsWith("text")&&(i="text"),this.httpClient.get(`${this.configuration.basePath}/bar/nonalc/short`,{responseType:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:e})}}return t.ngInjectableDef=o.Mb({factory:function(){return new t(o.Nb(r.c),o.Nb(a.a,8),o.Nb(i.a,8))},token:t,providedIn:"root"}),t})()},uvlW:function(t,e,n){"use strict";var r=n("u9Qi"),s=n("IheW"),i=(n("9zrn"),n("allT")),o=n("8Y7J"),a=n("cXrj");n("N7QX");var l=n("lJxs");n.d(e,"a",(function(){return c}));let c=(()=>{class t extends r.a{constructor(t,e,n){super(t,e,n),this.httpClient=t}barNameGet(t="body",e=!1,n){return super.barNameGet("response").pipe(Object(l.a)(t=>t.body))}}return t.ngInjectableDef=o.Mb({factory:function(){return new t(o.Nb(s.c),o.Nb(a.a,8),o.Nb(i.a,8))},token:t,providedIn:"root"}),t})()},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q"),s=n("KqfI"),i=n("n6bG");function o(t,e,n){return function(r){return r.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(t,e,n,r){super(t),this._tapNext=s.a,this._tapError=s.a,this._tapComplete=s.a,this._tapError=n||s.a,this._tapComplete=r||s.a,Object(i.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s.a,this._tapError=e.error||s.a,this._tapComplete=e.complete||s.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},w1tV:function(t,e,n){"use strict";var r=n("XNiG"),s=n("HDdC"),i=n("7o/Q"),o=n("quSY");function a(){return function(t){return t.lift(new l(t))}}class l{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new c(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class c extends i.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const u=class extends s.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed?(this._connection=null,t=o.a.EMPTY):this._connection=t),t}refCount(){return a()(this)}}.prototype,h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}};class d extends r.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new r.a}function f(){return t=>a()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,h);return r.source=e,r.subjectFactory=n,r}}(p)(t))}n.d(e,"a",(function(){return f}))},xYTU:function(t,e,n){"use strict";var r=n("8Y7J"),s=n("dFDH"),i=(n("QQfA"),n("SVse")),o=(n("IP0z"),n("zMNK")),a=n("/HVE"),l=(n("hOhj"),n("Xd0L")),c=(n("cUpR"),n("Fwaw")),u=n("omvX"),h=n("5GAg"),d=r.qb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function p(t){return r.Ib(2,[r.Fb(671088640,1,{ripple:0}),(t()(),r.sb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.sb(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.rb(4,212992,[[1,4]],0,l.f,[r.k,r.y,a.a,[2,l.b],[2,u.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.sb(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,r.Db(e,4).unbounded)}))}n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return E}));var f=r.qb({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function m(t){return r.Ib(0,[(t()(),r.hb(0,null,null,0))],null,null)}function g(t){return r.Ib(0,[r.Fb(402653184,1,{_portalOutlet:0}),(t()(),r.hb(16777216,null,null,1,null,m)),r.rb(2,212992,[[1,4]],0,o.b,[r.j,r.O],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function _(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(t,e,n){var s=!0;return"component:@state.done"===e&&(s=!1!==r.Db(t,1).onAnimationEnd(n)&&s),s}),g,f)),r.rb(1,180224,null,0,s.d,[r.y,r.k,r.h,s.c],null,null)],null,(function(t,e){t(e,0,0,r.Db(e,1)._role,r.Db(e,1)._animationState)}))}var y=r.ob("snack-bar-container",s.d,_,{},{},[]),b=r.qb({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function v(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),r.sb(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.action()&&r),r}),p,d)),r.rb(2,180224,null,0,c.b,[r.k,h.b,[2,u.a]],null,null),(t()(),r.Hb(3,0,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,r.Db(e,2).disabled||null,"NoopAnimations"===r.Db(e,2)._animationMode),t(e,3,0,n.data.action)}))}function w(t){return r.Ib(2,[(t()(),r.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Hb(1,null,["",""])),(t()(),r.hb(16777216,null,null,1,null,v)),r.rb(3,16384,null,0,i.i,[r.O,r.L],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,e.component.hasAction)}),(function(t,e){t(e,1,0,e.component.data.message)}))}function S(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,w,b)),r.rb(1,49152,null,0,s.g,[s.f,s.a],null,null)],null,null)}var E=r.ob("simple-snack-bar",s.g,S,{},{},[])},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("HDdC"),s=n("quSY"),i=n("ngJS");function o(t,e){return new r.a(e?n=>{const r=new s.a;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:Object(i.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC");function s(t,e){return new r.a(e?n=>e.schedule(i,0,{error:t,subscriber:n}):e=>e.error(t))}function i({error:t,subscriber:e}){e.error(t)}},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return d}));var r=n("8Y7J");function s(){throw Error("Host already has a portal attached")}class i{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&s(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends i{constructor(t,e,n,r){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r}}class a extends i{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&s(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class c extends l{constructor(t,e,n,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class u extends l{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new r.m}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}class h{}class d{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),s=n("AytR");const i=s.a.baseUrl;class o{}class a{constructor(t){this.loadingIndicatorService=t}}var l=n("pMnS"),c=n("xYTU"),u=n("KCVW"),h=n("Xd0L");const d=100,p=10;class f{constructor(t){this._elementRef=t}}const m=Object(h.h)(f,"primary"),g=new r.p("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:d}}}),_="\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n";let y=(()=>{class t extends m{constructor(e,n,r,s,i){super(e),this._elementRef=e,this._document=r,this._diameter=d,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(r.head)||o.set(r.head,new Set([d])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!i&&!i._forceAnimations,i&&(i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(u.e)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(u.e)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(u.e)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-p)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,r=t._diameters;let s=r.get(e);if(!s||!s.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",n+""),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,r.set(e,s)),s.add(n)}}_getAnimationText(){return _.replace(/START_VALUE/g,`${.95*this._strokeCircumference}`).replace(/END_VALUE/g,`${.2*this._strokeCircumference}`).replace(/DIAMETER/g,`${this.diameter}`)}}return t._diameters=new WeakMap,t})();class b extends y{constructor(t,e,n,r,s){super(t,e,n,r,s),this.mode="indeterminate"}}class v{}var w=n("SVse"),S=n("IP0z"),E=n("cUpR"),C=n("/HVE"),x=n("omvX"),k=r.qb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function O(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function T(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function A(t){return r.Ib(2,[(t()(),r.sb(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),r.rb(1,16384,null,0,w.l,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.hb(16777216,null,null,1,null,O)),r.rb(3,278528,null,0,w.m,[r.O,r.L,w.l],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.hb(16777216,null,null,1,null,T)),r.rb(5,278528,null,0,w.m,[r.O,r.L,w.l],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var R=n("iInd"),I=n("nYR2");let P=(()=>{class t{constructor(){this.show=!1}intercept(t,e){return this.show=!0,e.handle(t).pipe(Object(I.a)(()=>this.show=!1))}}return t.ngInjectableDef=r.Mb({factory:function(){return new t},token:t,providedIn:"root"}),t})();var j=r.qb({encapsulation:0,styles:[["mat-spinner[_ngcontent-%COMP%]{position:absolute;top:2em;right:2em}button[_ngcontent-%COMP%]{position:fixed;top:0;right:.5em;font-size:2em;background-color:#3f51b5;color:#fff;border-radius:50%;outline:0}button[_ngcontent-%COMP%] *[_ngcontent-%COMP%], button[_ngcontent-%COMP%] [_ngcontent-%COMP%]:focus{outline:0}"]],data:{}});function N(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","60"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,A,k)),r.rb(1,114688,null,0,b,[r.k,C.a,[2,w.c],[2,x.a],g],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"60")}),(function(t,e){t(e,0,0,r.Db(e,1)._noopAnimations,r.Db(e,1).diameter,r.Db(e,1).diameter)}))}function D(t){return r.Ib(0,[(t()(),r.sb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.rb(1,212992,null,0,R.p,[R.b,r.O,r.j,[8,null],r.h],null,null),(t()(),r.hb(16777216,null,null,1,null,N)),r.rb(3,16384,null,0,w.i,[r.O,r.L],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,3,0,n.loadingIndicatorService.show)}),null)}function L(t){return r.Ib(0,[(t()(),r.sb(0,0,null,null,1,"ged-root",[],null,null,null,D,j)),r.rb(1,49152,null,0,a,[P],null,null)],null,null)}var M=r.ob("ged-root",a,L,{},{},[]),F=n("fDlF"),B=n("IheW"),H=n("vkgz");let U=(()=>{class t{constructor(){}intercept(t,e){let n=t;if(this.cid){let e=t.params;e=e.append("cid",this.cid),n=t.clone({params:e})}return e.handle(n).pipe(Object(H.a)(t=>{if(t.headers&&t.headers.get("cid")){const e=t.headers.get("cid");this.cid=-1==e?null:e}}))}}return t.ngInjectableDef=r.Mb({factory:function(){return new t},token:t,providedIn:"root"}),t})();var V=n("z6cu"),z=n("JIr8"),$=n("dFDH");let q=(()=>{class t{constructor(t){this.matSnackBar=t,this.errorActive=!1}intercept(t,e){return e.handle(t).pipe(Object(z.a)(t=>(this.errorActive||this.matSnackBar.open(t.error.startsWith("<")?t.message:t.error,"okay",{duration:5e3}),this.errorActive=!0,setTimeout(()=>this.errorActive=!1,4e3),Object(V.a)(t))))}}return t.ngInjectableDef=r.Mb({factory:function(){return new t(r.Nb($.b))},token:t,providedIn:"root"}),t})();var W=n("GS7A"),Q=n("QQfA"),G=n("u9Qi"),K=n("uvlW"),Z=n("cXrj"),X=n("allT");const Y=()=>n.e(5).then(n.bind(null,"Risn")).then(t=>t.ExerciseModuleNgFactory);class J{}var tt=n("zMNK"),et=n("hOhj"),nt=n("Fwaw");class rt{}class st{}n("XNiG"),n("1G5W"),n("5GAg"),n("8bJo"),n("dvZr"),n("HDdC"),n("DH7j"),n("EY2u"),n("ZUHj"),n("l7GE"),n("lJxs"),n("Cfvw");class it{}n("LRne"),n("w1tV"),n("IzEk");class ot{}var at=r.pb(o,[a],(function(t){return r.Ab([r.Bb(512,r.j,r.ab,[[8,[l.a,c.a,c.b,M]],[3,r.j],r.w]),r.Bb(5120,r.t,r.mb,[[3,r.t]]),r.Bb(4608,w.k,w.j,[r.t,[2,w.u]]),r.Bb(5120,r.ib,r.nb,[r.y]),r.Bb(5120,r.c,r.jb,[]),r.Bb(5120,r.r,r.kb,[]),r.Bb(5120,r.s,r.lb,[]),r.Bb(4608,E.b,E.k,[w.c]),r.Bb(6144,r.G,null,[E.b]),r.Bb(4608,E.e,E.g,[]),r.Bb(5120,E.c,(function(t,e,n,r,s,i,o,a){return[new E.i(t,e,n),new E.n(r),new E.m(s,i,o,a)]}),[w.c,r.y,r.A,w.c,w.c,E.e,r.bb,[2,E.f]]),r.Bb(4608,E.d,E.d,[E.c,r.y]),r.Bb(135680,E.l,E.l,[w.c]),r.Bb(4608,E.j,E.j,[E.d,E.l,r.c]),r.Bb(5120,F.a,x.e,[]),r.Bb(5120,F.c,x.f,[]),r.Bb(4608,F.b,x.d,[w.c,F.a,F.c]),r.Bb(5120,r.E,x.g,[E.j,F.b,r.y]),r.Bb(6144,E.o,null,[E.l]),r.Bb(4608,r.M,r.M,[r.y]),r.Bb(5120,R.a,R.z,[R.k]),r.Bb(4608,R.d,R.d,[]),r.Bb(6144,R.f,null,[R.d]),r.Bb(135680,R.q,R.q,[R.k,r.v,r.i,r.q,R.f]),r.Bb(4608,R.e,R.e,[]),r.Bb(5120,R.E,R.v,[R.k,w.q,R.g]),r.Bb(5120,R.h,R.C,[R.A]),r.Bb(5120,r.b,(function(t){return[t]}),[R.h]),r.Bb(4608,B.j,B.p,[w.c,r.A,B.n]),r.Bb(4608,B.q,B.q,[B.j,B.o]),r.Bb(4608,P,P,[]),r.Bb(5120,B.a,(function(t,e,n){return[t,e,new U,new q(n)]}),[B.q,P,$.b]),r.Bb(4608,B.m,B.m,[]),r.Bb(6144,B.k,null,[B.m]),r.Bb(4608,B.i,B.i,[B.k]),r.Bb(6144,B.b,null,[B.i]),r.Bb(4608,B.f,B.l,[B.b,r.q]),r.Bb(4608,B.c,B.c,[B.f]),r.Bb(4608,W.b,x.c,[r.E,w.c]),r.Bb(4608,Q.a,Q.a,[Q.g,Q.c,r.j,Q.f,Q.d,r.q,r.y,w.c,S.b,[2,w.f]]),r.Bb(5120,Q.h,Q.i,[Q.a]),r.Bb(4608,G.a,K.a,[B.c,[2,Z.a],[2,X.a]]),r.Bb(1073742336,w.b,w.b,[]),r.Bb(1024,r.l,E.p,[]),r.Bb(1024,r.x,(function(){return[R.u()]}),[]),r.Bb(512,R.A,R.A,[r.q]),r.Bb(1024,r.d,(function(t,e){return[E.q(t),R.B(e)]}),[[2,r.x],R.A]),r.Bb(512,r.e,r.e,[[2,r.d]]),r.Bb(131584,r.g,r.g,[r.y,r.bb,r.q,r.l,r.j,r.e]),r.Bb(1073742336,r.f,r.f,[r.g]),r.Bb(1073742336,E.a,E.a,[[3,E.a]]),r.Bb(1024,R.t,R.x,[[3,R.k]]),r.Bb(512,R.s,R.c,[]),r.Bb(512,R.b,R.b,[]),r.Bb(256,R.g,{useHash:!0},[]),r.Bb(1024,w.g,R.w,[w.p,[2,w.a],R.g]),r.Bb(512,w.f,w.f,[w.g,w.p]),r.Bb(512,r.i,r.i,[]),r.Bb(512,r.v,r.J,[r.i,[2,r.K]]),r.Bb(1024,R.i,(function(){return[[{path:"",redirectTo:"exercise",pathMatch:"full"},{path:"exercise",loadChildren:Y}]]}),[]),r.Bb(1024,R.k,R.y,[r.g,R.s,R.b,w.f,r.q,r.v,r.i,R.i,R.g,[2,R.r],[2,R.j]]),r.Bb(1073742336,R.o,R.o,[[2,R.t],[2,R.k]]),r.Bb(1073742336,J,J,[]),r.Bb(1073742336,B.e,B.e,[]),r.Bb(1073742336,B.d,B.d,[]),r.Bb(1073742336,x.b,x.b,[]),r.Bb(1073742336,S.a,S.a,[]),r.Bb(1073742336,tt.f,tt.f,[]),r.Bb(1073742336,C.b,C.b,[]),r.Bb(1073742336,et.b,et.b,[]),r.Bb(1073742336,Q.e,Q.e,[]),r.Bb(1073742336,h.c,h.c,[[2,h.a],[2,E.f]]),r.Bb(1073742336,h.g,h.g,[]),r.Bb(1073742336,nt.c,nt.c,[]),r.Bb(1073742336,$.e,$.e,[]),r.Bb(1073742336,rt,rt,[]),r.Bb(1073742336,h.d,h.d,[]),r.Bb(1073742336,h.e,h.e,[]),r.Bb(1073742336,st,st,[]),r.Bb(1073742336,it,it,[]),r.Bb(1073742336,ot,ot,[]),r.Bb(1073742336,v,v,[]),r.Bb(1073742336,o,o,[]),r.Bb(256,r.Z,!0,[]),r.Bb(256,B.n,"XSRF-TOKEN",[]),r.Bb(256,B.o,"X-XSRF-TOKEN",[]),r.Bb(256,x.a,"BrowserAnimations",[]),r.Bb(256,Z.a,i,[])])}));s.a.production&&Object(r.S)(),E.h().bootstrapModuleFactory(at).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);