From 12f39853e418db5226b245f8a0402d37677e1cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?=
Date: Tue, 17 Dec 2019 06:20:08 +0100
Subject: [PATCH] upgraded angular user gui version
---
server/src/uds/static/modern/main-es2015.js | 2 +-
server/src/uds/static/modern/main-es5.js | 2 +-
server/src/uds/static/modern/polyfills-es5.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/src/uds/static/modern/main-es2015.js b/server/src/uds/static/modern/main-es2015.js
index 9a24acd7..f6dcb133 100644
--- a/server/src/uds/static/modern/main-es2015.js
+++ b/server/src/uds/static/modern/main-es2015.js
@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return p}));var i=n("8Y7J"),r=n("SVse");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){s=!1}let o,l=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.t)(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&&!s)&&"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(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.z,8))},token:t,providedIn:"root"}),t})();class a{}const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(u);let t=document.createElement("input");return o=new Set(u.filter(e=>(t.setAttribute("type",e),t.type===e)))}let h;function d(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}const p=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let m;function f(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function g(){if("object"!=typeof document||!document)return p.NORMAL;if(!m){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"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),m=p.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,m=0===t.scrollLeft?p.NEGATED:p.INVERTED),t.parentNode.removeChild(t)}return m}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("l7GE"),r=n("ZUHj");function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new l(t),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class l extends i.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"3N8a":function(t,e,n){"use strict";var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return s}));class s extends r{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";var i=n("D0XW"),r=n("l7GE"),s=n("ZUHj");class o{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new l(t,this.durationSelector))}}class l extends r.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 i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}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,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("HDdC"),u=n("Y7HM"),c=n("z+Ro");function h(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function d(t,e=i.a){return n=()=>(function(t=0,e,n){let r=-1;return Object(u.a)(e)?r=Number(e)<1?1:Number(e):Object(c.a)(e)&&(n=e),Object(c.a)(n)||(n=i.a),new a.a(e=>{const i=Object(u.a)(t)?t:+t-n.now();return n.schedule(h,i,{index:0,period:r,subscriber:e})})})(t,e),function(t){return t.lift(new o(n))};var n}n.d(e,"a",(function(){return d}))},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("ZUHj"),r=n("l7GE"),s=n("51Dv"),o=n("lJxs"),l=n("Cfvw");function a(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(a((n,i)=>Object(l.a)(t(n,i)).pipe(Object(o.a)((t,r)=>e(n,t,i,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new u(t,n)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}class c extends r.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 r}));var i=n("7o/Q");class r extends i.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,"c",(function(){return S})),n.d(e,"b",(function(){return k})),n.d(e,"d",(function(){return O})),n.d(e,"f",(function(){return R})),n.d(e,"g",(function(){return M})),n.d(e,"e",(function(){return F})),n.d(e,"h",(function(){return V})),n.d(e,"a",(function(){return B}));var i=n("SVse"),r=n("8Y7J"),s=n("XNiG"),o=n("quSY"),l=n("LRne"),a=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),p=n("IzEk"),m=n("/HVE"),f=n("KCVW");const g=" ";function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const _="cdk-describedby-message-container",y="cdk-describedby-message",v="cdk-describedby-host";let w=0;const C=new Map;let x=null,S=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),C.set(e,{messageElement:e,referenceCount:0})):C.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=C.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll(`[${v}]`);for(let e=0;e0!=t.indexOf(y));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=C.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(g)))}(t,"aria-describedby",n.messageElement.id),t.setAttribute(v,""),n.referenceCount++}_removeMessageReference(t,e){const n=C.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(g)):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(v)}_isElementDescribedByMessage(t,e){const n=b(t,"aria-describedby"),i=C.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(i.d))},token:t,providedIn:"root"}),t})();class E{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,t instanceof r.B&&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(u.a)(t=>this._pressedLetters.push(t)),Object(c.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 a.k:return void this.tabOut.next();case a.b:if(this._vertical&&n){this.setNextItemActive();break}return;case a.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case a.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case a.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(a.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=a.a&&e<=a.m||e>=a.n&&e<=a.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),i=e[n];this._activeItem=null==i?null:i,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 i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_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 r.B?this._items.toArray():this._items}}class k extends E{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class O extends E{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)}}let D=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===T(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=T(t);if(t.hasAttribute("contenteditable"))return-1!==r;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||I(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(m.a))},token:t,providedIn:"root"}),t})();function I(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function T(t){if(!I(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class A{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let R=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new A(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(D),Object(r.Rb)(r.x),Object(r.Rb)(i.d))},token:t,providedIn:"root"}),t})();const P=new r.o("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),j=new r.o("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let M=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},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,N)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(l.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 i={unlisten:()=>{},checkChildren:e,subject:new s.a};this._elementInfo.set(n,i),this._incrementMonitoredElementCount();let r=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",r,!0),n.addEventListener("blur",o,!0)}),i.unlisten=()=>{n.removeEventListener("focus",r,!0),n.removeEventListener("blur",o,!0)},i.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 i=Object(f.d)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.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 i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_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,L),document.addEventListener("mousedown",this._documentMousedownListener,L),document.addEventListener("touchstart",this._documentTouchstartListener,L),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,L),document.removeEventListener("mousedown",this._documentMousedownListener,L),document.removeEventListener("touchstart",this._documentTouchstartListener,L),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(r.x),Object(r.Rb)(m.a))},token:t,providedIn:"root"}),t})();function V(t){return 0===t.buttons}class B{}},"7Hc7":function(t,e,n){"use strict";let i=1;const r={},s={setImmediate(t){const e=i++;return r[e]=t,Promise.resolve().then(()=>(function(t){const e=r[t];e&&e()})(e)),e},clearImmediate(t){delete r[t]}};var o=n("3N8a");class l extends o.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=s.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(s.clearImmediate(e),t.scheduled=void 0)}}var a=n("IjjT");class u extends a.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++ithis._complete.call(this._context);l.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(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(a.a)(n)}}__tryOrSetError(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(a.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8Y7J":function(t,e,n){"use strict";var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),l=n("7o/Q");function a(){return function(t){return t.lift(new u(t))}}class u{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends l.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,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h 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 r.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.a.EMPTY)),t}refCount(){return a()(this)}}const d=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class p extends i.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 m(){return new i.a}n.d(e,"jb",(function(){return Jo})),n.d(e,"kb",(function(){return tl})),n.d(e,"lb",(function(){return el})),n.d(e,"mb",(function(){return nl})),n.d(e,"ib",(function(){return $s})),n.d(e,"hb",(function(){return Is})),n.d(e,"g",(function(){return Lo})),n.d(e,"Q",(function(){return Po})),n.d(e,"w",(function(){return Ro})),n.d(e,"R",(function(){return Ce})),n.d(e,"V",(function(){return we})),n.d(e,"c",(function(){return Us})),n.d(e,"A",(function(){return Ws})),n.d(e,"z",(function(){return Gs})),n.d(e,"b",(function(){return Ys})),n.d(e,"d",(function(){return Hs})),n.d(e,"e",(function(){return qs})),n.d(e,"T",(function(){return Qo})),n.d(e,"L",(function(){return xo})),n.d(e,"X",(function(){return ko})),n.d(e,"s",(function(){return Zs})),n.d(e,"f",(function(){return il})),n.d(e,"m",(function(){return Vs})),n.d(e,"l",(function(){return _e})),n.d(e,"F",(function(){return Ke})),n.d(e,"G",(function(){return $e})),n.d(e,"a",(function(){return Rn})),n.d(e,"O",(function(){return it})),n.d(e,"M",(function(){return bi})),n.d(e,"Qb",(function(){return x})),n.d(e,"S",(function(){return D})),n.d(e,"p",(function(){return xn})),n.d(e,"Rb",(function(){return G})),n.d(e,"U",(function(){return Y})),n.d(e,"o",(function(){return M})),n.d(e,"n",(function(){return b})),n.d(e,"y",(function(){return _})),n.d(e,"H",(function(){return v})),n.d(e,"x",(function(){return go})),n.d(e,"C",(function(){return fi})),n.d(e,"D",(function(){return pi})),n.d(e,"E",(function(){return mi})),n.d(e,"i",(function(){return ro})),n.d(e,"j",(function(){return oi})),n.d(e,"k",(function(){return ci})),n.d(e,"t",(function(){return J})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return Vo})),n.d(e,"B",(function(){return zs})),n.d(e,"I",(function(){return Uo})),n.d(e,"J",(function(){return Ho})),n.d(e,"K",(function(){return ji})),n.d(e,"N",(function(){return Ni})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return Ii})),n.d(e,"r",(function(){return Ti})),n.d(e,"P",(function(){return Fn})),n.d(e,"W",(function(){return Xo})),n.d(e,"wb",(function(){return Vn})),n.d(e,"ab",(function(){return Qs})),n.d(e,"Y",(function(){return wn})),n.d(e,"Z",(function(){return li})),n.d(e,"db",(function(){return qe})),n.d(e,"eb",(function(){return Ye})),n.d(e,"fb",(function(){return ke})),n.d(e,"ub",(function(){return j})),n.d(e,"zb",(function(){return Nn})),n.d(e,"Jb",(function(){return k})),n.d(e,"xb",(function(){return Jn})),n.d(e,"yb",(function(){return Xn})),n.d(e,"tb",(function(){return js})),n.d(e,"sb",(function(){return Ms})),n.d(e,"bb",(function(){return Ts})),n.d(e,"cb",(function(){return As})),n.d(e,"Pb",(function(){return pt})),n.d(e,"Nb",(function(){return Pn})),n.d(e,"Tb",(function(){return zn})),n.d(e,"Sb",(function(){return Hn})),n.d(e,"Ob",(function(){return qn})),n.d(e,"Ub",(function(){return Kn})),n.d(e,"gb",(function(){return rl})),n.d(e,"nb",(function(){return Hr})),n.d(e,"ob",(function(){return Da})),n.d(e,"pb",(function(){return er})),n.d(e,"qb",(function(){return ds})),n.d(e,"rb",(function(){return sl})),n.d(e,"vb",(function(){return Dr})),n.d(e,"Ab",(function(){return Mr})),n.d(e,"Bb",(function(){return jr})),n.d(e,"Cb",(function(){return fl})),n.d(e,"Db",(function(){return Jr})),n.d(e,"Eb",(function(){return ps})),n.d(e,"Hb",(function(){return ms})),n.d(e,"Fb",(function(){return _l})),n.d(e,"Gb",(function(){return bl})),n.d(e,"Ib",(function(){return cl})),n.d(e,"Kb",(function(){return vl})),n.d(e,"Lb",(function(){return Xi})),n.d(e,"Mb",(function(){return xl}));const f="__parameters__";function g(t,e,n){const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(f)?t[f]:Object.defineProperty(t,f,{value:[]})[f];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const b=g("Inject",t=>({token:t})),_=g("Optional"),y=g("Self"),v=g("SkipSelf");var w=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 C(t){for(let e in t)if(t[e]===C)return e;throw Error("Could not find renamed property on target object.")}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function S(t){const e=t[E];return e&&e.token===t?e:null}const E=C({ngInjectableDef:C});function k(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(k).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 O=C({__forward_ref__:C});function D(t){return t.__forward_ref__=D,t.toString=function(){return k(this())},t}function I(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(O)&&e.__forward_ref__===D?e():t}const T="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,P="undefined"!=typeof global&&global,j=T||P||A||R;class M{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=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const N=new M("INJECTOR",-1),L=new Object,F="ngTempTokenPath",V="ngTokenPath",B=/\n/gm,z="\u0275",H="__source",q=C({provide:String,useValue:C});let U,$=void 0;function K(t){const e=$;return $=t,e}function W(t,e=w.Default){if(void 0===$)throw new Error("inject() must be called from an injection context");return null===$?function(t,e,n){const i=S(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&w.Optional)return null;throw new Error(`Injector: NOT_FOUND [${k(t)}]`)}(t,0,e):$.get(t,e&w.Optional?null:void 0,e)}function G(t,e=w.Default){return(U||W)(t,e)}const Y=G;class Q{get(t,e=L){if(e===L){const e=new Error(`NullInjectorError: No provider for ${k(t)}!`);throw e.name="NullInjectorError",e}return e}}function Z(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==z?t.substr(2):t;let r=k(e);if(e instanceof Array)r=e.map(k).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):k(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(B,"\n ")}`}class X{}class J{}function tt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function et(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const nt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),it=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}(),rt={},st=[],ot=C({ngComponentDef:C}),lt=C({ngDirectiveDef:C}),at=C({ngPipeDef:C});let ut=0;function ct(t){return function(t){return t[ot]||null}(t)||function(t){return t[lt]||null}(t)}function ht(t){return function(t){return t[at]||null}(t)}function dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const pt=function(t){const e=t.type,n=e.prototype,i={},r={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:i,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===nt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,id:"c",styles:t.styles||st,_:null,setInput:null,schemas:t.schemas||null,tView:null};return r._=""+{toString:()=>{const n=t.directives,s=t.features,o=t.pipes;r.id+=ut++,r.inputs=dt(t.inputs,i),r.outputs=dt(t.outputs),s&&s.forEach(t=>t(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(ct):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(ht):null,e.hasOwnProperty(E)||(e[E]=x({token:e,factory:t.factory}))}},r},mt=0,ft=1,gt=7,bt=12,_t=19;let yt=null;const vt=new Map;let wt=null;const Ct=1,xt=0;function St(t,e){return wt&&t===wt||(wt=t,e&&(yt=vt.get(t)||null),yt=yt||{classesBitMask:xt,classesIndex:Ct,stylesBitMask:xt,stylesIndex:Ct}),yt}function Et(t,e){return function(t){for(;Array.isArray(t);)t=t[mt];return t}(e[t.index])}function kt(t,e){return e[ft].data[t+_t]}let Ot=null;function Dt(){return Tt}let It,Tt,At,Rt=1,Pt=0,jt=0,Mt=-1;function Nt(){return Mt}function Lt(){return At}const Ft=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))(),Vt="--MAP--",Bt=0;function zt(t,e){e===Bt?t[2]>Bt&&function(t){qt(t,2|Ht(t))}(t):t[2]=e}function Ht(t){return t[1]}function qt(t,e){t[1]=e}function Ut(t,e){return t[e+2]}function $t(t,e){return 1&t[e+0]}function Kt(t,e){return(1&$t(t,e))>0}function Wt(t,e){return t[e+0]>>1}function Gt(t,e,n){const i=$t(t,e);t[e+0]=i|n<<1}function Yt(t,e){return t[e+1]}function Qt(t,e,n){return t[e+3+n]}function Zt(t,e){return!(!t||e!==t[2])}function Xt(t){return(1&Ht(t))>0}function Jt(t){return(2&Ht(t))>0}function te(t){return 6+t[4]}function ee(t,e){let n=Array.isArray(t)?t[0]:t,i=Array.isArray(e)?e[0]:e;return n instanceof String&&(n=n.toString()),i instanceof String&&(i=i.toString()),function(t,e){return!(t!=t&&e!=e)&&t!==e}(n,i)}function ne(t){return null!=t&&""!==t}function ie(t,e,n=" "){return t+(e.length&&t.length?n:"")+e}function re(t){return t.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}function se(t){return oe(t)?t[0]:t}function oe(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function le(t,e){return t[e+0]}function ae(t,e,n){t[e+1]=n}function ue(t,e){return t[e+1]}const ce=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function he(t){return!!t.listen}const de="ngDebugContext",pe="ngOriginalError",me="ngErrorLogger";function fe(t){return t[de]}function ge(t){return t[pe]}function be(t,...e){t.error(...e)}class _e{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t[me]||be}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?fe(t)?fe(t):this._findContext(ge(t)):null}_findOriginalError(t){let e=ge(t);for(;e&&ge(e);)e=ge(e);return e}}let ye=!0,ve=!1;function we(){return ve=!0,ye}function Ce(){if(ve)throw new Error("Cannot enable prod mode after platform setup.");ye=!1}class xe{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(i){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 i=e.length-1;0ke(t.trim())).join(", ")),this.buf.push(" ",e,'="',ze(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Pe.hasOwnProperty(e)&&!Ie.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(ze(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 Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(Ve,(function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Be,(function(t){return""+t.charCodeAt(0)+";"})).replace(//g,">")}let He;function qe(t,e){let n=null;try{He=He||new xe(t);let i=e?String(e):"";n=He.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=He.getInertBodyElement(i)}while(i!==s);const o=new Fe,l=o.sanitizeChildren(Ue(n)||n);return we()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const t=Ue(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Ue(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const $e=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 Ke{}const We=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"),Ge=/^url\(([^)]+)\)$/;function Ye(t){if(!(t=String(t).trim()))return"";const e=t.match(Ge);return e&&ke(e[1])===e[1]||t.match(We)&&function(t){let e=!0,n=!0;for(let i=0;ixt}(i,s))?(function(t,e,n,i,r,s,o){const l=!0===(a=r)?-1:!1===a?0:a;var a;const u=cn,c=(l&Wt(t,3))>0?1:0;let h=te(t);for(;h{const r=e.style;i?(i=i.toString(),t&&he(t)?t.setStyle(e,n,i,ce.DashCase):r&&r.setProperty(n,i)):t&&he(t)?t.removeStyle(e,n,ce.DashCase):r&&r.removeProperty(n)},dn=(t,e,n,i)=>{if(""!==n){const r=e.classList;i?t&&he(t)?t.addClass(e,n):r&&r.add(n):t&&he(t)?t.removeClass(e,n):r&&r.remove(n)}},pn={},mn=(t,e,n,i,r,s,o,l,a)=>{let u=!1;if(Yt(t,3)){let c=!0;const h=!l;h&&-2&o&&(c=!1,u=!0),c&&(u=function t(e,n,i,r,s,o,l,a,u,c){let h=!1;if(u=bn.length&&bn.push(1),bn[t]}(u);for(;ma,b=!g&&f===a,_=ue(p,m),y=ne(_);let v=t(e,n,i,r,s,o,g?l:fn(l,y,b),g?a:f,u+1,c);if(g){h||(h=v);break}if(!v&&gn(l,b)){const t=b&&!y,e=t?c:_,r=t?d:null;s(n,i,f,o?o(f,e,3):e,r),v=!0}h=v&&b,m+=2}if(bn[u]=m,1===p.length||!a)return t(e,n,i,r,s,o,l,a,u+1,c)}return h}(t,e,n,i,r,s,o,l||null,0,a||null)),h&&function(){for(let t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const bn=[];function _n(t,e,n,i){for(let r=1;r{class t{}return t.__NG_ELEMENT_ID__=()=>vn(),t})();const vn=(...t)=>{},wn=new M("The presence of this token marks an injector as being the root injector."),Cn=function(t,e,n){return new In(t,e,n)};let xn=(()=>{class t{static create(t,e){return Array.isArray(t)?Cn(t,e,""):Cn(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=L,t.NULL=new Q,t.ngInjectableDef=x({token:t,providedIn:"any",factory:()=>G(N)}),t.__NG_ELEMENT_ID__=-1,t})();const Sn=function(t){return t},En=[],kn=Sn,On=function(){return Array.prototype.slice.call(arguments)},Dn="\u0275";class In{constructor(t,e=xn.NULL,n=null){this.parent=e,this.source=n;const i=this._records=new Map;i.set(xn,{token:xn,fn:Sn,deps:En,value:this,useNew:!1}),i.set(N,{token:N,fn:Sn,deps:En,value:this,useNew:!1}),function t(e,n){if(n)if((n=I(n))instanceof Array)for(let i=0;it.push(k(n))),`StaticInjector[${t.join(", ")}]`}}function Tn(t){return An("Cannot mix multi providers and regular providers",t)}function An(t,e){return new Error(Z(t,e,"StaticInjectorError"))}const Rn=new M("AnalyzeForEntryComponents");function Pn(t){const e=Dt(),n=e[ft];n.firstTemplatePass&&(function(t,e,n){const i=t.expandoInstructions,r=i.length;r>=2&&i[r-2]===e.hostBindings?i[r-1]=i[r-1]+n:i.push(e.hostBindings,n)}(n,Ot,t),function(t,e,n){for(let i=0;i0&&(i=n?ie(t,((r=e)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):ie(t,function(t){let e="";if(t){const n=Object.keys(t);for(let i=0;i0}function Xn(t){return!!t&&"function"==typeof t.then}function Jn(t){return!!t&&"function"==typeof t.subscribe}class ti{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class ei{}class ni{}function ii(t){const e=Error(`No component factory found for ${k(t)}. Did you add it to @NgModule.entryComponents?`);return e[ri]=t,e}const ri="ngComponent";class si{resolveComponentFactory(t){throw ii(t)}}let oi=(()=>{class t{}return t.NULL=new si,t})();class li{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let i=0;i{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>hi(t),t})();const hi=ui;class di{}class pi{}const mi=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let fi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>gi(),t})();const gi=ui;class bi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _i=new bi("8.2.10");class yi{constructor(){}supports(t){return Vn(t)}create(t){return new wi(t)}}const vi=(t,e)=>e;class wi{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||vi}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Nn(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Nn(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Nn(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Nn(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Ci(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Si),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 Si),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 Ci{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 xi{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)&&Nn(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 Si{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new xi,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 Ei(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Di(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){Nn(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 Di{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 Ii=(()=>{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 v,new _]]}}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=x({token:t,providedIn:"root",factory:()=>new t([new yi])}),t})(),Ti=(()=>{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 v,new _]]}}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=x({token:t,providedIn:"root",factory:()=>new t([new ki])}),t})();const Ai=[new ki],Ri=new Ii([new yi]),Pi=new Ti(Ai);let ji=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Mi(t,ci),t})();const Mi=ui;let Ni=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Li(t,ci),t})();const Li=ui;function Fi(t,e,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return i&&(r+=" 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 Vi(n,e),n}(r,t)}function Vi(t,e){t[de]=e,t[me]=e.logError.bind(e)}function Bi(t){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${t}`)}function zi(t,e,n){const i=t.state,r=1792&i;return r===e?(t.state=-1793&i|n,t.initIndex=-1,!0):r===n}function Hi(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function qi(t,e){return t.nodes[e]}function Ui(t,e){return t.nodes[e]}function $i(t,e){return t.nodes[e]}function Ki(t,e){return t.nodes[e]}function Wi(t,e){return t.nodes[e]}const Gi={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},Yi=()=>{},Qi=new Map;function Zi(t){let e=Qi.get(t);return e||(e=k(t)+"_"+Qi.size,Qi.set(t,e)),e}function Xi(t,e,n,i){if(Fn.isWrapped(i)){i=Fn.unwrap(i);const r=t.def.nodes[e].bindingIndex+n,s=Fn.unwrap(t.oldValues[r]);t.oldValues[r]=new Fn(s)}return i}const Ji="$$undefined",tr="$$empty";function er(t){return{id:Ji,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let nr=0;function ir(t,e,n,i){return!(!(2&t.state)&&Nn(t.oldValues[e.bindingIndex+n],i))}function rr(t,e,n,i){return!!ir(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function sr(t,e,n,i){const r=t.oldValues[e.bindingIndex+n];if(1&t.state||!Ln(r,i)){const s=e.bindings[n].name;throw Fi(Gi.createDebugContext(t,e.nodeIndex),`${s}: ${r}`,`${s}: ${i}`,0!=(1&t.state))}}function or(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function lr(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ar(t,e,n,i){try{return or(33554432&t.def.nodes[e].flags?Ui(t,e).componentView:t),Gi.handleEvent(t,e,n,i)}catch(r){t.root.errorHandler.handleError(r)}}function ur(t){return t.parent?Ui(t.parent,t.parentNodeDef.nodeIndex):null}function cr(t){return t.parent?t.parentNodeDef.parent:null}function hr(t,e){switch(201347067&e.flags){case 1:return Ui(t,e.nodeIndex).renderElement;case 2:return qi(t,e.nodeIndex).renderText}}function dr(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function pr(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function mr(t){return 1<{"number"==typeof t?(e[t]=r,n|=mr(t)):i[t]=r}),{matchedQueries:e,references:i,matchedQueryIds:n}}function gr(t,e){return t.map(t=>{let n,i;return Array.isArray(t)?[i,n]=t:(i=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,H,{value:e,configurable:!0}),{flags:i,token:n,tokenKey:Zi(n)}})}function br(t,e,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===it.Native?Ui(t,n.renderParent.nodeIndex).renderElement:void 0:e}const _r=new WeakMap;function yr(t){let e=_r.get(t);return e||((e=t(()=>Yi)).factory=t,_r.set(t,e)),e}function vr(t,e,n,i,r){3===e&&(n=t.renderer.parentNode(hr(t,t.def.lastRenderRootNode))),wr(t,e,0,t.def.nodes.length-1,n,i,r)}function wr(t,e,n,i,r,s,o){for(let l=n;l<=i;l++){const n=t.def.nodes[l];11&n.flags&&xr(t,n,e,r,s,o),l+=n.childCount}}function Cr(t,e,n,i,r,s){let o=t;for(;o&&!dr(o);)o=o.parent;const l=o.parent,a=cr(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const t=l.def.nodes[c];t.ngContentIndex===e&&xr(l,t,n,i,r,s),c+=t.childCount}if(!l.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e-1}(r,s.providedIn)||"root"===s.providedIn&&r._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:e.token},t._providers[n]=Tr,t._providers[n]=Lr(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{K(i)}var r,s}function Lr(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const i=n.length;switch(i){case 0:return new e;case 1:return new e(Nr(t,n[0]));case 2:return new e(Nr(t,n[0]),Nr(t,n[1]));case 3:return new e(Nr(t,n[0]),Nr(t,n[1]),Nr(t,n[2]));default:const r=new Array(i);for(let e=0;e=n.length)&&(e=n.length-1),e<0)return null;const i=n[e];return i.viewContainerParent=null,et(n,e),Gi.dirtyParentQueries(i),Br(i),i}function Vr(t,e,n){const i=e?hr(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),s=n.renderer.nextSibling(i);vr(n,2,r,s,void 0)}function Br(t){vr(t,3,null,null,void 0)}const zr=new Object;function Hr(t,e,n,i,r,s){return new qr(t,e,n,i,r,s)}class qr extends ni{constructor(t,e,n,i,r,s){super(),this.selector=t,this.componentType=e,this._inputs=i,this._outputs=r,this.ngContentSelectors=s,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,i){if(!i)throw new Error("ngModule should be provided");const r=yr(this.viewDefFactory),s=r.nodes[0].element.componentProvider.nodeIndex,o=Gi.createRootView(t,e||[],n,r,i,zr),l=$i(o,s).instance;return n&&o.renderer.setAttribute(Ui(o,0).renderElement,"ng-version",_i.full),new Ur(o,new Gr(o),l)}}class Ur extends ei{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 ci(Ui(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Xr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function $r(t,e,n){return new Kr(t,e,n)}class Kr{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new ci(this._data.renderElement)}get injector(){return new Xr(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=cr(t),t=t.parent;return t?new Xr(t,e):new Xr(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Fr(this._data,t);Gi.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Gr(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;r||t instanceof ai||(r=s.get(X));const o=t.create(s,i,void 0,r);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,i){let r=e.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=t,tt(r,n,i),function(t,e){const n=ur(e);if(!n||n===t||16&e.state)return;e.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.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,i),Gi.dirtyParentQueries(i),Vr(e,n>0?r[n-1]:null,i)}(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 i=t.viewContainer._embeddedViews,r=i[e];et(i,e),null==n&&(n=i.length),tt(i,n,r),Gi.dirtyParentQueries(r),Br(r),Vr(t,n>0?i[n-1]:null,r)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Fr(this._data,t);e&&Gi.destroyView(e)}detach(t){const e=Fr(this._data,t);return e?new Gr(e):null}}function Wr(t){return new Gr(t)}class Gr{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return vr(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(){or(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{Gi.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){Gi.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)),Gi.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Br(this._view),Gi.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 Yr(t,e){return new Qr(t,e)}class Qr extends ji{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Gr(Gi.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new ci(Ui(this._parentView,this._def.nodeIndex).renderElement)}}function Zr(t,e){return new Xr(t,e)}class Xr{constructor(t,e){this.view=t,this.elDef=e}get(t,e=xn.THROW_IF_NOT_FOUND){return Gi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Zi(t)},e)}}function Jr(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Ui(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return qi(t,n.nodeIndex).renderText;if(20240&n.flags)return $i(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function ts(t){return new es(t.renderer)}class es{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,i]=kr(e),r=this.delegate.createElement(i,n);return t&&this.delegate.appendChild(t,r),r}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 rs=Zi(di),ss=Zi(fi),os=Zi(ci),ls=Zi(Ni),as=Zi(ji),us=Zi(yn),cs=Zi(xn),hs=Zi(N);function ds(t,e,n,i,r,s,o,l){const a=[];if(o)for(let c in o){const[t,e]=o[c];a[t]={flags:8,name:c,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return fs(t,e|=16384,n,i,r,r,s,a,u)}function ps(t,e,n){return fs(-1,t|=16,null,0,e,e,n)}function ms(t,e,n,i,r){return fs(-1,t,e,0,n,i,r)}function fs(t,e,n,i,r,s,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:h}=fr(n);a||(a=[]),l||(l=[]),s=I(s);const d=gr(o,k(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:c,ngContentIndex:-1,childCount:i,bindings:l,bindingFlags:Or(l),outputs:a,element:null,provider:{token:r,value:s,deps:d},text:null,query:null,ngContent:null}}function gs(t,e){return vs(t,e)}function bs(t,e){let n=t;for(;n.parent&&!dr(n);)n=n.parent;return ws(n.parent,cr(n),!0,e.provider.value,e.provider.deps)}function _s(t,e){const n=ws(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let i=0;iar(t,e,n,i)}function vs(t,e){const n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return ws(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){const s=r.length;switch(s){case 0:return i();case 1:return i(xs(t,e,n,r[0]));case 2:return i(xs(t,e,n,r[0]),xs(t,e,n,r[1]));case 3:return i(xs(t,e,n,r[0]),xs(t,e,n,r[1]),xs(t,e,n,r[2]));default:const o=Array(s);for(let i=0;iFt}),Ts={},As=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}(),Rs=void 0;var Ps=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["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"]],Rs,[["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"]],Rs,[["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}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","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 js(t){return Ms(t)[As.PluralCase]}function Ms(t){const e=t.toLowerCase().replace(/_/g,"-");let n=Ts[e];if(n)return n;const i=e.split("-")[0];if(n=Ts[i])return n;if("en"===i)return Ps;throw new Error(`Missing locale data for the locale "${t}".`)}const Ns="en-US";let Ls=Ns;function Fs(t){var e;e="Expected localeId to be defined",null==t&&function(t){throw new Error(`ASSERTION ERROR: ${t}`)}(e),"string"==typeof t&&(Ls=t.toLowerCase().replace(/_/g,"-"))}class Vs extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const l=super.subscribe(i,s,o);return t instanceof r.a&&t.add(l),l}}function Bs(){return this._results[Mn()]()}class zs{constructor(){this.dirty=!0,this._results=[],this.changes=new Vs,this.length=0;const t=Mn(),e=zs.prototype;e[t]||(e[t]=Bs)}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 i=0;i{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 Us=new M("AppId");function $s(){return`${Ks()}${Ks()}${Ks()}`}function Ks(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ws=new M("Platform Initializer"),Gs=new M("Platform ID"),Ys=new M("appBootstrapListener");class Qs{log(t){console.log(t)}warn(t){console.warn(t)}}const Zs=new M("LocaleId"),Xs=!1;function Js(){throw new Error("Runtime compiler is not loaded")}const to=Js,eo=Js,no=Js,io=Js;class ro{constructor(){this.compileModuleSync=to,this.compileModuleAsync=eo,this.compileModuleAndAllComponentsSync=no,this.compileModuleAndAllComponentsAsync=io}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class so{}let oo,lo;function ao(){const t=j.wtf;return!(!t||!(oo=t.trace)||(lo=oo.events,0))}const uo=ao();function co(t,e){return null}const ho=uo?function(t,e=null){return lo.createScope(t,e)}:(t,e)=>co,po=uo?function(t,e){return oo.leaveScope(t,e),e}:(t,e)=>e,mo=(()=>Promise.resolve(0))();function fo(t){"undefined"==typeof Zone?mo.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class go{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vs(!1),this.onMicrotaskEmpty=new Vs(!1),this.onStable=new Vs(!1),this.onError=new Vs(!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,i,r,s,o)=>{try{return vo(e),t.invokeTask(i,r,s,o)}finally{wo(e)}},onInvoke:(t,n,i,r,s,o,l)=>{try{return vo(e),t.invoke(i,r,s,o,l)}finally{wo(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e.hasPendingMicrotasks=r.microTask,yo(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!go.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(go.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,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,_o,bo,bo);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function bo(){}const _o={};function yo(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 vo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wo(t){t._nesting--,yo(t)}class Co{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vs,this.onMicrotaskEmpty=new Vs,this.onStable=new Vs,this.onError=new Vs}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class xo{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:()=>{go.assertNotInAngularZone(),fo(()=>{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())fo(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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 So{constructor(){this._applications=new Map,Do.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 Do.findTestabilityInTree(this,t,e)}}class Eo{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function ko(t){Do=t}let Oo,Do=new Eo,Io=function(t,e,n){return t.get(so).createCompiler([e]).compileModuleAsync(n)},To=function(t){return t instanceof ai};const Ao=new M("AllowMultipleToken");class Ro{constructor(t,e){this.name=t,this.token=e}}function Po(t,e,n=[]){const i=`Platform: ${e}`,r=new M(i);return(e=[])=>{let s=jo();if(!s||s.injector.get(Ao,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(Oo&&!Oo.destroyed&&!Oo.injector.get(Ao,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oo=t.get(Mo);const e=t.get(Ws,null);e&&e.forEach(t=>t())}(xn.create({providers:t,name:i}))}return function(t){const e=jo();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}(r)}}function jo(){return Oo&&!Oo.destroyed?Oo:null}class Mo{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(r=e?e.ngZone:void 0)?new Co:("zone.js"===r?void 0:r)||new go({enableLongStackTrace:we()}),i=[{provide:go,useValue:n}];var r;return n.run(()=>{const e=xn.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(_e,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Xs&&Fs(r.injector.get(Zs,Ns)||Ns),r.onDestroy(()=>Fo(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const i=n();return Xn(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(qs);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=No({},e);return Io(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Lo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${k(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 No(t,e){return Array.isArray(e)?e.reduce(No,t):Object.assign({},t,e)}let Lo=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=we(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{go.assertNotInAngularZone(),fo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{go.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(t=>a()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,d);return i.source=e,i.subjectFactory=n,i}}(m)(t))))}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 ni?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=To(n)?null:this._injector.get(X),r=n.create(xn.NULL,[],e||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(xo,null);return s&&r.injector.get(So).registerApplication(r.location.nativeElement,s),this._loadComponent(r),we()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}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,po(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fo(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ys,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Fo(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=ho("ApplicationRef#tick()"),t})();function Fo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Vo{}const Bo="#",zo="NgFactory";class Ho{}const qo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Uo{constructor(t,e){this._compiler=t,this._config=e||qo}load(t){return!Xs&&this._compiler instanceof ro?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split(Bo);return void 0===i&&(i="default"),n("crnd")(e).then(t=>t[i]).then(t=>$o(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split(Bo),r=zo;return void 0===i&&(i="default",r=""),n("crnd")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>$o(t,e,i))}}function $o(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Ko{constructor(t,e){this.name=t,this.callback=e}}class Wo{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Go&&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 Go extends Wo{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,i){e.childNodes.forEach(e=>{e instanceof Go&&(n(e)&&i.push(e),t(e,n,i))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,i){e instanceof Go&&e.childNodes.forEach(e=>{n(e)&&i.push(e),e instanceof Go&&t(e,n,i)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof Go)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const Yo=new Map,Qo=function(t){return Yo.get(t)||null};function Zo(t){Yo.set(t.nativeNode,t)}const Xo=Po(null,"core",[{provide:Gs,useValue:"unknown"},{provide:Mo,deps:[xn]},{provide:So,deps:[]},{provide:Qs,deps:[]}]);function Jo(){return Ri}function tl(){return Pi}function el(t){return t?(Xs&&Fs(t),t):Ns}function nl(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class il{constructor(t){}}function rl(t,e,n,i,r,s){t|=1;const{matchedQueries:o,references:l,matchedQueryIds:a}=fr(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:a,references:l,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?yr(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Yi},provider:null,text:null,query:null,ngContent:null}}function sl(t,e,n,i,r,s,o=[],l,a,u,c,h){u||(u=Yi);const{matchedQueries:d,references:p,matchedQueryIds:m}=fr(n);let f=null,g=null;s&&([f,g]=kr(s)),l=l||[];const b=new Array(l.length);for(let v=0;v{const[n,i]=kr(t);return[n,i,e]});return h=function(t){if(t&&t.id===Ji){const e=null!=t.encapsulation&&t.encapsulation!==it.None||t.styles.length||Object.keys(t.data).length;t.id=e?`c${nr++}`:tr}return t&&t.id===tr&&(t=null),t||null}(h),c&&(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:m,references:p,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:Or(b),outputs:_,element:{ns:f,name:g,attrs:y,template:null,componentProvider:null,componentView:c||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:u||Yi},provider:null,text:null,query:null,ngContent:null}}function ol(t,e,n){const i=n.element,r=t.root.selectorOrNode,s=t.renderer;let o;if(t.parent||!r){o=i.name?s.createElement(i.name,i.ns):s.createComment("");const r=br(t,e,n);r&&s.appendChild(r,o)}else o=s.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===it.ShadowDom);if(i.attrs)for(let l=0;lar(t,e,n,i)}function ul(t,e,n,i){if(!rr(t,e,n,i))return!1;const r=e.bindings[n],s=Ui(t,e.nodeIndex),o=s.renderElement,l=r.name;switch(15&r.flags){case 1:!function(t,e,n,i,r,s){const o=e.securityContext;let l=o?t.root.sanitizer.sanitize(o,s):s;l=null!=l?l.toString():null;const a=t.renderer;null!=s?a.setAttribute(n,r,l,i):a.removeAttribute(n,r,i)}(t,r,o,r.ns,l,i);break;case 2:!function(t,e,n,i){const r=t.renderer;i?r.addClass(e,n):r.removeClass(e,n)}(t,o,l,i);break;case 4:!function(t,e,n,i,r){let s=t.root.sanitizer.sanitize($e.STYLE,r);if(null!=s){s=s.toString();const t=e.suffix;null!=t&&(s+=t)}else s=null;const o=t.renderer;null!=s?o.setStyle(n,i,s):o.removeStyle(n,i)}(t,r,o,l,i);break;case 8:!function(t,e,n,i,r){const s=e.securityContext;let o=s?t.root.sanitizer.sanitize(s,r):r;t.renderer.setProperty(n,i,o)}(33554432&e.flags&&32&r.flags?s.componentView:t,r,o,l,i)}return!0}function cl(t,e,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});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:mr(e),bindings:i},ngContent:null}}function hl(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&pr(t);){let n=t.parentNodeDef;t=t.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=t.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Wi(t,r).setDirty(),!(1&i.flags&&r+i.childCount0)u=t,Sl(t)||(c=t);else for(;u&&m===u.nodeIndex+u.childCount;){const t=u.parent;t&&(t.childFlags|=u.childFlags,t.childMatchedQueries|=u.childMatchedQueries),c=(u=t)&&Sl(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:t,nodes:e,updateDirectives:n||Yi,updateRenderer:i||Yi,handleEvent:(t,n,i,r)=>e[n].element.handleEvent(t,i,r),bindingCount:r,outputCount:s,lastRenderRootNode:p}}function Sl(t){return 0!=(1&t.flags)&&null===t.element.name}function El(t,e,n){const i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.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 i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function kl(t,e,n,i){const r=Il(t.root,t.renderer,t,e,n);return Tl(r,t.component,i),Al(r),r}function Ol(t,e,n){const i=Il(t,t.renderer,null,null,e);return Tl(i,n,n),Al(i),i}function Dl(t,e,n,i){const r=e.element.componentRendererType;let s;return s=r?t.root.rendererFactory.createRenderer(i,r):t.root.renderer,Il(t.root,s,t,e.element.componentProvider,n)}function Il(t,e,n,i,r){const s=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:s,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function Tl(t,e,n){t.component=e,t.context=n}function Al(t){let e;dr(t)&&(e=Ui(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,i=t.nodes;for(let r=0;r0&&ul(t,e,0,n)&&(p=!0),d>1&&ul(t,e,1,i)&&(p=!0),d>2&&ul(t,e,2,r)&&(p=!0),d>3&&ul(t,e,3,s)&&(p=!0),d>4&&ul(t,e,4,o)&&(p=!0),d>5&&ul(t,e,5,l)&&(p=!0),d>6&&ul(t,e,6,a)&&(p=!0),d>7&&ul(t,e,7,u)&&(p=!0),d>8&&ul(t,e,8,c)&&(p=!0),d>9&&ul(t,e,9,h)&&(p=!0),p}(t,e,n,i,r,s,o,l,a,u,c,h);case 2:return function(t,e,n,i,r,s,o,l,a,u,c,h){let d=!1;const p=e.bindings,m=p.length;if(m>0&&rr(t,e,0,n)&&(d=!0),m>1&&rr(t,e,1,i)&&(d=!0),m>2&&rr(t,e,2,r)&&(d=!0),m>3&&rr(t,e,3,s)&&(d=!0),m>4&&rr(t,e,4,o)&&(d=!0),m>5&&rr(t,e,5,l)&&(d=!0),m>6&&rr(t,e,6,a)&&(d=!0),m>7&&rr(t,e,7,u)&&(d=!0),m>8&&rr(t,e,8,c)&&(d=!0),m>9&&rr(t,e,9,h)&&(d=!0),d){let d=e.text.prefix;m>0&&(d+=Cl(n,p[0])),m>1&&(d+=Cl(i,p[1])),m>2&&(d+=Cl(r,p[2])),m>3&&(d+=Cl(s,p[3])),m>4&&(d+=Cl(o,p[4])),m>5&&(d+=Cl(l,p[5])),m>6&&(d+=Cl(a,p[6])),m>7&&(d+=Cl(u,p[7])),m>8&&(d+=Cl(c,p[8])),m>9&&(d+=Cl(h,p[9]));const f=qi(t,e.nodeIndex).renderText;t.renderer.setValue(f,d)}return d}(t,e,n,i,r,s,o,l,a,u,c,h);case 16384:return function(t,e,n,i,r,s,o,l,a,u,c,h){const d=$i(t,e.nodeIndex),p=d.instance;let m=!1,f=void 0;const g=e.bindings.length;return g>0&&ir(t,e,0,n)&&(m=!0,f=Es(t,d,e,0,n,f)),g>1&&ir(t,e,1,i)&&(m=!0,f=Es(t,d,e,1,i,f)),g>2&&ir(t,e,2,r)&&(m=!0,f=Es(t,d,e,2,r,f)),g>3&&ir(t,e,3,s)&&(m=!0,f=Es(t,d,e,3,s,f)),g>4&&ir(t,e,4,o)&&(m=!0,f=Es(t,d,e,4,o,f)),g>5&&ir(t,e,5,l)&&(m=!0,f=Es(t,d,e,5,l,f)),g>6&&ir(t,e,6,a)&&(m=!0,f=Es(t,d,e,6,a,f)),g>7&&ir(t,e,7,u)&&(m=!0,f=Es(t,d,e,7,u,f)),g>8&&ir(t,e,8,c)&&(m=!0,f=Es(t,d,e,8,c,f)),g>9&&ir(t,e,9,h)&&(m=!0,f=Es(t,d,e,9,h,f)),f&&p.ngOnChanges(f),65536&e.flags&&Hi(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),m}(t,e,n,i,r,s,o,l,a,u,c,h);case 32:case 64:case 128:return function(t,e,n,i,r,s,o,l,a,u,c,h){const d=e.bindings;let p=!1;const m=d.length;if(m>0&&rr(t,e,0,n)&&(p=!0),m>1&&rr(t,e,1,i)&&(p=!0),m>2&&rr(t,e,2,r)&&(p=!0),m>3&&rr(t,e,3,s)&&(p=!0),m>4&&rr(t,e,4,o)&&(p=!0),m>5&&rr(t,e,5,l)&&(p=!0),m>6&&rr(t,e,6,a)&&(p=!0),m>7&&rr(t,e,7,u)&&(p=!0),m>8&&rr(t,e,8,c)&&(p=!0),m>9&&rr(t,e,9,h)&&(p=!0),p){const p=Ki(t,e.nodeIndex);let f;switch(201347067&e.flags){case 32:f=new Array(d.length),m>0&&(f[0]=n),m>1&&(f[1]=i),m>2&&(f[2]=r),m>3&&(f[3]=s),m>4&&(f[4]=o),m>5&&(f[5]=l),m>6&&(f[6]=a),m>7&&(f[7]=u),m>8&&(f[8]=c),m>9&&(f[9]=h);break;case 64:f={},m>0&&(f[d[0].name]=n),m>1&&(f[d[1].name]=i),m>2&&(f[d[2].name]=r),m>3&&(f[d[3].name]=s),m>4&&(f[d[4].name]=o),m>5&&(f[d[5].name]=l),m>6&&(f[d[6].name]=a),m>7&&(f[d[7].name]=u),m>8&&(f[d[8].name]=c),m>9&&(f[d[9].name]=h);break;case 128:const t=n;switch(m){case 1:f=t.transform(n);break;case 2:f=t.transform(i);break;case 3:f=t.transform(i,r);break;case 4:f=t.transform(i,r,s);break;case 5:f=t.transform(i,r,s,o);break;case 6:f=t.transform(i,r,s,o,l);break;case 7:f=t.transform(i,r,s,o,l,a);break;case 8:f=t.transform(i,r,s,o,l,a,u);break;case 9:f=t.transform(i,r,s,o,l,a,u,c);break;case 10:f=t.transform(i,r,s,o,l,a,u,c,h)}}p.value=f}return p}(t,e,n,i,r,s,o,l,a,u,c,h);default:throw"unreachable"}}(t,e,i,r,s,o,l,a,u,c,h,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let i=!1;for(let r=0;r0&&sr(t,e,0,n),d>1&&sr(t,e,1,i),d>2&&sr(t,e,2,r),d>3&&sr(t,e,3,s),d>4&&sr(t,e,4,o),d>5&&sr(t,e,5,l),d>6&&sr(t,e,6,a),d>7&&sr(t,e,7,u),d>8&&sr(t,e,8,c),d>9&&sr(t,e,9,h)}(t,e,i,r,s,o,l,a,u,c,h,d):function(t,e,n){for(let i=0;i{const i=Xl.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(t=>{Jl.forEach((i,r)=>{S(r).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t);return e?(function(t){for(let e=0;e0){let e=new Set(t.modules);Jl.forEach((i,r)=>{if(e.has(S(r).providedIn)){let e={token:r,flags:i.flags|(n?4096:0),deps:gr(i.deps),value:i.value,index:t.providers.length};t.providers.push(e),t.providersByKey[Zi(r)]=e}})}}(t=t.factory(()=>Yi)),t):t}(i))}const Xl=new Map,Jl=new Map,ta=new Map;function ea(t){let e;Xl.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&Jl.set(t.token,t)}function na(t,e){const n=yr(e.viewDefFactory),i=yr(n.nodes[0].element.componentView);ta.set(t,i)}function ia(){Xl.clear(),Jl.clear(),ta.clear()}function ra(t){if(0===Xl.size)return t;const e=function(t){const e=[];let n=null;for(let i=0;iYi);for(let i=0;i"-"+t[1].toLowerCase())}`)]=Ze(l))}const i=e.parent,l=Ui(t,i.nodeIndex).renderElement;if(i.element.name)for(let e in n){const i=n[e];null!=i?t.renderer.setAttribute(l,e,i):t.renderer.removeAttribute(l,e)}else t.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var r,s}function ya(t,e,n,i){Nl(t,e,n,...i)}function va(t,e){for(let n=e;n++s===r?t.error.bind(t,...e):Yi),snew Ca(t,e),handleEvent:fa,updateDirectives:ga,updateRenderer:ba}:{setCurrentNode:()=>{},createRootView:Kl,createEmbeddedView:kl,createComponentView:Dl,createNgModuleRef:ns,overrideProvider:Yi,overrideComponentView:Yi,clearOverrides:Yi,checkAndUpdateView:Pl,checkNoChangesView:Rl,destroyView:Fl,createDebugContext:(t,e)=>new Ca(t,e),handleEvent:(t,e,n,i)=>t.def.handleEvent(t,e,n,i),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?sa:oa,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?sa:oa,t)};Gi.setCurrentNode=t.setCurrentNode,Gi.createRootView=t.createRootView,Gi.createEmbeddedView=t.createEmbeddedView,Gi.createComponentView=t.createComponentView,Gi.createNgModuleRef=t.createNgModuleRef,Gi.overrideProvider=t.overrideProvider,Gi.overrideComponentView=t.overrideComponentView,Gi.clearOverrides=t.clearOverrides,Gi.checkAndUpdateView=t.checkAndUpdateView,Gi.checkNoChangesView=t.checkNoChangesView,Gi.destroyView=t.destroyView,Gi.resolveDep=xs,Gi.createDebugContext=t.createDebugContext,Gi.handleEvent=t.handleEvent,Gi.updateDirectives=t.updateDirectives,Gi.updateRenderer=t.updateRenderer,Gi.dirtyParentQueries=hl}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),i={};for(const r in t.providersByKey)i[r]=t.providersByKey[r];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:i}}(yr(this._ngModuleDefFactory));return Gi.createNgModuleRef(this.moduleType,t||xn.NULL,this._bootstrapComponents,e)}}},"8bJo":function(t,e,n){"use strict";n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return c}));var i=n("HDdC"),r=n("LRne"),s=n("XNiG"),o=n("8Y7J");class l{}function a(t){return t&&"function"==typeof t.connect}class u extends l{constructor(t){super(),this._data=t}connect(){return this._data instanceof i.a?this._data:Object(r.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 s.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.")}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.ngInjectableDef=Object(o.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i={production:!0}},Cfvw:function(t,e,n){"use strict";var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),o=n("kJWO"),l=n("jZKg"),a=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[o.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(u.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(c.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 i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[a.a](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}n.d(e,"a",(function(){return h}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},D8EZ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return LoginComponent}));var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("KIbp");class LoginComponent{constructor(t){this.api=t,this.title="UDS Enterprise",this.auths=t.config.authenticators.slice(0),this.auths.sort((t,e)=>t.priority-e.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id)}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const t of this.auths)t.id===auth&&t.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(t.id).subscribe(t=>doCustomAuth(t)))}}},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var i=n("HDdC");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return o})),n.d(e,"d",(function(){return b})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return y}));class i{}class r{}const s="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function l(t,e=null){return{type:4,styles:e,timings:t}}function a(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function m(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}class b{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(){g(()=>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 _{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,i=0;const r=this.players.length;0==r?g(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&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 y="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("LRne"),r=n("0EUg");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){"use strict";var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),o=n("kJWO"),l=n("mCNh"),a=n("2fFW");n.d(e,"a",(function(){return u}));let u=(()=>{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,l=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(l.add(o?o.call(l,this.source):this.source||a.a.useDeprecatedSynchronousErrorHandling&&!l.syncErrorThrowable?this._subscribe(l):this._trySubscribe(l)),a.a.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable&&(l.syncErrorThrowable=!1,l.syncErrorThrown))throw l.syncErrorValue;return l}_trySubscribe(t){try{return this._subscribe(t)}catch(e){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.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(l.b)(t)(this)}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=a.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 i}));const i=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 l}));var i=n("SVse"),r=n("8Y7J");const s=new r.o("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.U)(i.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new r.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(r.Qb)({factory:function(){return new t(Object(r.Rb)(s,8))},token:t,providedIn:"root"}),t})();class l{}},IheW:function(t,e,n){"use strict";n.d(e,"k",(function(){return R})),n.d(e,"n",(function(){return L})),n.d(e,"o",(function(){return F})),n.d(e,"l",(function(){return j})),n.d(e,"m",(function(){return M})),n.d(e,"b",(function(){return h})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return k})),n.d(e,"a",(function(){return D})),n.d(e,"d",(function(){return z})),n.d(e,"e",(function(){return B})),n.d(e,"j",(function(){return V})),n.d(e,"g",(function(){return P})),n.d(e,"i",(function(){return A})),n.d(e,"h",(function(){return N}));var i=n("8Y7J"),r=n("LRne"),s=n("HDdC"),o=n("bOdf"),l=n("pLZG"),a=n("lJxs"),u=n("SVse");class c{}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),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}: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 i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;0===(t=t.filter(t=>-1===r.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 m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function m(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 f{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 i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,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 f({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 b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let r;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)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.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]),l)),t.setParams&&(a=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),a)),new y(e,n,r,{params:a,headers:l,reportProgress:o,responseType:i,withCredentials:s})}}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 C extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new C({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 x extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({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 S 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 E(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 i;if(t instanceof y)i=t;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let s=void 0;n.params&&(s=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return s;const u=s.pipe(Object(l.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return u.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(a.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 u.pipe(Object(a.a)(t=>t.body))}case"response":return u;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 f).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,E(n,e))}post(t,e,n={}){return this.request("POST",t,E(n,e))}put(t,e,n={}){return this.request("PUT",t,E(n,e))}}class O{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const D=new i.o("HTTP_INTERCEPTORS");class I{intercept(t,e){return e.handle(t)}}const T=/^\)\]\}',?\n/;class A{}class R{constructor(){}build(){return new XMLHttpRequest}}class P{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new s.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 i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=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 r=new C({headers:s,status:e,statusText:i,url:o})},o=()=>{let{headers:i,status:r,statusText:o,url:l}=s(),a=null;204!==r&&(a=void 0===n.response?n.responseText:n.response),0===r&&(r=a?200:0);let u=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof a){const t=a;a=a.replace(T,"");try{a=""!==a?JSON.parse(a):null}catch(c){a=t,u&&(u=!1,a={error:c,text:a})}}u?(e.next(new x({body:a,headers:i,status:r,statusText:o,url:l||void 0})),e.complete()):e.error(new S({error:a,headers:i,status:r,statusText:o,url:l||void 0}))},l=t=>{const{url:i}=s(),r=new S({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let a=!1;const u=i=>{a||(e.next(s()),a=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},c=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",l),t.reportProgress&&(n.addEventListener("progress",u),null!==i&&n.upload&&n.upload.addEventListener("progress",c)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==i&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const j=new i.o("XSRF_COOKIE_NAME"),M=new i.o("XSRF_HEADER_NAME");class N{}class L{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(u.z)(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 i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}class V{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(D,[]);this.chain=t.reduceRight((t,e)=>new O(t,e),this.backend)}return this.chain.handle(t)}}class B{static disable(){return{ngModule:B,providers:[{provide:F,useClass:I}]}}static withOptions(t={}){return{ngModule:B,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:M,useValue:t.headerName}:[]]}}}class z{}},IjjT:function(t,e,n){"use strict";let i=(()=>{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 r}));class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.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 i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(t){return e=>0===t?Object(s.b)():e.lift(new l(t))}class l{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new a(t,this.total))}}class a extends i.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()))}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("GyhO"),r=n("z+Ro");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},KCVW:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return a}));var i=n("8Y7J");function r(t){return null!=t&&"false"!==`${t}`}function s(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 l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function a(t){return t instanceof i.k?t.nativeElement:t}},KIbp:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return UDSApiService}));var _types_config__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("wlNb"),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("OPAf"),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ePv7"),_environments_environment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("AytR");class UDSApiService{constructor(t,e,n){this.http=t,this.gui=e,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_0__.a(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.a(this)}get config(){return udsData.config}get plugins(){return udsData.plugins}get actors(){return udsData.actors}enabler(t,e){const n=this.config.urls.enabler.replace("param1",t).replace("param2",e);return this.http.get(n)}action(t,e){const n=this.config.urls.action.replace("param1",e).replace("param2",t);return this.http.get(n)}galleryImageURL(t){return this.config.urls.galleryImage.replace("param1",t)}transportIconURL(t){return this.config.urls.transportIcon.replace("param1",t)}staticURL(t){return _environments_environment__WEBPACK_IMPORTED_MODULE_3__.a.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(t){this.plugin.launchURL(t)}getAuthCustomHtml(t){return this.http.get(this.config.urls.customAuth+t,{responseType:"text"})}}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q"),r=n("D0XW");function s(t,e=r.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 l(t,this.dueTime,this.scheduler))}}class l extends i.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(a,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 a(t){t.debouncedNext()}},KqfI:function(t,e,n){"use strict";function i(){}n.d(e,"a",(function(){return i}))},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return r}));const r=i()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return i}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("Cfvw"),s=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},OPAf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("YY/e");class r{constructor(t){this.dialog=t}alert(t,e,n=0){const r=window.innerWidth<800?"80%":"40%";this.dialog.open(i.b,{width:r,data:{title:t,body:e,autoclose:n,type:i.a.alert},disableClose:!0})}yesno(t,e){const n=window.innerWidth<800?"80%":"40%";return this.dialog.open(i.b,{width:n,data:{title:t,body:e,type:i.a.yesno},disableClose:!0}).componentInstance.yesno}}},POq0:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return h}));var i=n("KCVW"),r=n("8Y7J"),s=n("HDdC"),o=n("XNiG"),l=n("Kj3r");let a=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.d)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(a))},token:t,providedIn:"root"}),t})();class c{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.m,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.b)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.e)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(l.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}class h{}},QQfA:function(t,e,n){"use strict";n.d(e,"c",(function(){return B})),n.d(e,"e",(function(){return T})),n.d(e,"b",(function(){return q})),n.d(e,"a",(function(){return U})),n.d(e,"f",(function(){return I})),n.d(e,"h",(function(){return F})),n.d(e,"d",(function(){return S})),n.d(e,"i",(function(){return x})),n.d(e,"g",(function(){return K})),n.d(e,"j",(function(){return H})),n.d(e,"k",(function(){return $}));var i=n("KCVW"),r=n("hOhj"),s=n("SVse"),o=n("8Y7J"),l=n("XNiG"),a=n("quSY"),u=n("HDdC"),c=n("VRyK"),h=n("IzEk"),d=n("1G5W"),p=n("/HVE"),m=n("zMNK"),f=n("dvZr");class g{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(i.c)(-this._previousScrollPosition.left),t.style.top=Object(i.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,i=e.scrollBehavior||"",r=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=i,n.scrollBehavior=r}}_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 b(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw b();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 v(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function w(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw b();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();v(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 x=(()=>{class t{constructor(t,e,n,i){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 g(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.ngInjectableDef=Object(o.Qb)({factory:function(){return new t(Object(o.Rb)(r.a),Object(o.Rb)(r.d),Object(o.Rb)(o.x),Object(o.Rb)(s.d))},token:t,providedIn:"root"}),t})();class S{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 E{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class k{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function O(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "top", "bottom" or "center".')}function D(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "start", "end" or "center".')}let I=(()=>{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.Qb)({factory:function(){return new t(Object(o.Rb)(s.d))},token:t,providedIn:"root"}),t})(),T=(()=>{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 u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new l.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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(i.c)(this._config.width),t.height=Object(i.c)(this._config.height),t.minWidth=Object(i.c)(this._config.minWidth),t.minHeight=Object(i.c)(this._config.minHeight),t.maxWidth=Object(i.c)(this._config.maxWidth),t.maxHeight=Object(i.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 r=t.classList;Object(i.a)(e).forEach(t=>{t&&(n?r.add(t):r.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(d.a)(Object(c.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 R="cdk-overlay-connected-position-bounding-box";class P{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,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 l.a,this._resizeSubscription=a.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(R),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,i=[];let r;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),l=this._getOverlayPoint(o,e,s),a=this._getOverlayFit(l,e,n,s);if(a.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(a,l,n)?i.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.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(R),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,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+(r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,o=this._getOffset(i,"x"),l=this._getOffset(i,"y");o&&(r+=o),l&&(s+=l);let a=0-s,u=s+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,a,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,l=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&l}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 i=this._viewportRect,r=Math.max(t.x+e.width-i.right,0),s=Math.max(t.y+e.height-i.bottom,0),o=Math.max(i.top-n.top-t.y,0),l=Math.max(i.left-n.left-t.x,0);let a=0,u=0;return this._previousPushAmount={x:a=e.width<=i.width?l||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)u=n.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)a=t.x,l=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=t.x-e,(l=2*e)>i&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-i/2)}return{top:s,left:a,bottom:o,right:u,width:l,height:r}}_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 r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Object(i.c)(n.height),r.top=Object(i.c)(n.top),r.bottom=Object(i.c)(n.bottom),r.width=Object(i.c)(n.width),r.left=Object(i.c)(n.left),r.right=Object(i.c)(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(r.maxHeight=Object(i.c)(t)),s&&(r.maxWidth=Object(i.c)(s))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,r)}_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 i=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,i)),j(n,this._getExactOverlayX(e,t,i))}else n.position="static";let i="",r=this._getOffset(e,"x"),s=this._getOffset(e,"y");r&&(i+=`translateX(${r}px) `),s&&(i+=`translateY(${s}px)`),n.transform=i.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 r={top:null,bottom:null},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?r.bottom=`${this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)}px`:r.top=Object(i.c)(s.y),r}_getExactOverlayX(t,e,n){let r,s={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(r=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?s.right=`${this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)}px`:s.left=Object(i.c)(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w(t,n),isOriginOutsideView:v(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:v(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=>{D("originX",t.originX),O("originY",t.originY),D("overlayX",t.overlayX),O("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(i.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 M{constructor(t,e,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new P(n,i,r,s,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,i){const r=new E(t,e,n,i);return this._preferredPositions.push(r),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 N="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(N),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(N),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let F=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new L}connectedTo(t,e,n){return new M(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.Qb)({factory:function(){return new t(Object(o.Rb)(r.d),Object(o.Rb)(s.d),Object(o.Rb)(p.a),Object(o.Rb)(T))},token:t,providedIn:"root"}),t})(),V=0;class B{constructor(t,e,n,i,r,s,o,l,a,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=l,this._directionality=a,this._location=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new S(t);return r.direction=r.direction||this._directionality.value,new A(i,e,n,r,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-${V++}`,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 m.d(t,this._componentFactoryResolver,this._appRef,this._injector)}}const z=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],H=new o.o("cdk-connected-overlay-scroll-strategy");class q{constructor(t){this.elementRef=t}}class U{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=a.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.m,this.positionChange=new o.m,this.attach=new o.m,this.detach=new o.m,this.overlayKeydown=new o.m,this._templatePortal=new m.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(i.b)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(i.b)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(i.b)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(i.b)(t)}get push(){return this._push}set push(t){this._push=Object(i.b)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=z),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==f.e||Object(f.o)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this._createPositionStrategy(),e=new S({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}function $(t){return()=>t.scrollStrategies.reposition()}class K{}},SVse:function(t,e,n){"use strict";n.d(e,"y",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return f})),n.d(e,"z",(function(){return b})),n.d(e,"c",(function(){return L})),n.d(e,"i",(function(){return w})),n.d(e,"j",(function(){return x})),n.d(e,"k",(function(){return E})),n.d(e,"n",(function(){return I})),n.d(e,"o",(function(){return T})),n.d(e,"p",(function(){return A})),n.d(e,"d",(function(){return F})),n.d(e,"b",(function(){return N})),n.d(e,"x",(function(){return V})),n.d(e,"t",(function(){return z})),n.d(e,"u",(function(){return H})),n.d(e,"s",(function(){return q})),n.d(e,"w",(function(){return y})),n.d(e,"v",(function(){return _})),n.d(e,"r",(function(){return r})),n.d(e,"f",(function(){return s})),n.d(e,"h",(function(){return o})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"q",(function(){return h})),n.d(e,"g",(function(){return a}));var i=n("8Y7J");class r{}const s=new i.o("Location Initialized");class o{}const l=new i.o("appBaseHref");class a{constructor(t,e){this._subject=new i.m,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=a.stripTrailingSlash(u(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+a.normalizeQueryParams(e))}normalize(t){return a.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(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+a.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+a.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 u(t){return t.replace(/\/index.html$/,"")}class c 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=a.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}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 a.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+a.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)}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=i.tb,m=new i.o("UseV4Plurals");class f{}class g extends f{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 b(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}class _{}class y{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.wb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.Jb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let v=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class w extends v{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class C{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 x{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(i.V)()&&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,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new C(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new S(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new S(t,r);e.push(s)}});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 S{constructor(t,e){this.record=t,this.view=e}}class E{constructor(t,e){this._viewContainer=t,this._context=new k,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){O("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){O("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 k{constructor(){this.$implicit=null,this.ngIf=null}}function O(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.Jb)(e)}'.`)}class D{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 I{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{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class P{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const j=new P,M=new R;class N{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(i.zb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.P.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(Object(i.yb)(t))return j;if(Object(i.xb)(t))return M;throw e=N,Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.Jb)(e)}'`);var e}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class L{}const F=new i.o("DocumentToken"),V="browser",B="server";function z(t){return t===V}function H(t){return t===B}let q=(()=>{class t{}return t.ngInjectableDef=Object(i.Qb)({token:t,providedIn:"root",factory:()=>new U(Object(i.Rb)(F),window,Object(i.Rb)(i.l))}),t})();class U{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,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},SeVD:function(t,e,n){"use strict";var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),l=n("I55L"),a=n("c2HN"),u=n("XoHu");n.d(e,"a",(function(){return c}));const c=t=>{if(t&&"function"==typeof t[o.a])return(t=>e=>{const n=t[o.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Object(l.a)(t))return Object(i.a)(t);if(Object(a.a)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e))(t);if(t&&"function"==typeof t[s.a])return(t=>e=>{const n=t[s.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})(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 i(t){return t}n.d(e,"a",(function(){return i}))},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function l(...t){let e=Number.POSITIVE_INFINITY,n=null,l=t[t.length-1];return Object(r.a)(l)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof l&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";var i=n("EY2u"),r=n("LRne"),s=n("HDdC");n.d(e,"a",(function(){return o}));let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return t=this.error,new s.a(e=>e.error(t));case"C":return Object(i.b)()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),o=n("9ppp"),l=n("Ylt2"),a=n("2QA8");class u extends r.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[a.a](){return new u(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,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends c{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):s.a.EMPTY}}},Xd0L:function(t,e,n){"use strict";var i=n("8Y7J"),r=n("cUpR");const s=new i.M("8.2.3");var o=n("KCVW"),l=n("XNiG"),a=(n("HDdC"),n("/HVE")),u=(n("JX91"),n("5GAg")),c=n("dvZr");n.d(e,"l",(function(){return p})),n.d(e,"d",(function(){return d})),n.d(e,"B",(function(){return m})),n.d(e,"z",(function(){return f})),n.d(e,"A",(function(){return g})),n.d(e,"D",(function(){return b})),n.d(e,"C",(function(){return _})),n.d(e,"w",(function(){return T})),n.d(e,"n",(function(){return A})),n.d(e,"f",(function(){return y})),n.d(e,"a",(function(){return v})),n.d(e,"e",(function(){return w})),n.d(e,"v",(function(){return D})),n.d(e,"i",(function(){return I})),n.d(e,"b",(function(){return R})),n.d(e,"g",(function(){return P})),n.d(e,"c",(function(){return N})),n.d(e,"m",(function(){return L})),n.d(e,"q",(function(){return st})),n.d(e,"x",(function(){return it})),n.d(e,"y",(function(){return rt})),n.d(e,"j",(function(){return et})),n.d(e,"p",(function(){return nt})),n.d(e,"o",(function(){return X})),n.d(e,"h",(function(){return ot})),n.d(e,"u",(function(){return K})),n.d(e,"k",(function(){return U})),n.d(e,"t",(function(){return $})),n.d(e,"s",(function(){return G})),n.d(e,"r",(function(){return W}));const h=new i.M("8.2.3"),d=new i.o("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class p{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(i.V)()&&!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(){h.full!==s.full&&console.warn("The Angular Material version ("+h.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 m(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.b)(t)}}}function f(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 g(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.b)(t)}}}function b(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function _(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}const y=new i.o("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.U)(i.s)}});class v{constructor(){this._localeChanges=new l.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const w=new i.o("mat-date-formats");let C;try{C="undefined"!=typeof Intl}catch(lt){C=!1}const x={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},S=O(31,t=>String(t+1)),E={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},k=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function O(t,e){const n=Array(t);for(let i=0;ithis._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return x[t]}getDateNames(){if(C){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return O(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return S}getDayOfWeekNames(t){if(C){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return O(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return E[t]}getYearName(t){if(C){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(C){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(k.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}const I={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class T{}class A{}let R=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const P=new i.o("MAT_HAMMER_OPTIONS"),j=["longpress","slide","slidestart","slideend","slideright","slideleft"],M={on:()=>{},off:()=>{}};class N extends r.g{constructor(t,e){super(),this._hammerOptions=t,this.events=j,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return M;const n=new e(t,this._hammerOptions||void 0),i=new e.Pan,r=new e.Swipe,s=new e.Press,o=this._createRecognizer(i,{event:"slide",threshold:0},r),l=this._createRecognizer(s,{event:"longpress",time:500});return i.recognizeWith(r),l.recognizeWith(o),n.add([r,s,i,o,l]),n}_createRecognizer(t,e,...n){let i=new t.constructor(e);return n.push(t),n.forEach(t=>i.recognizeWith(t)),i}}class L{}const F=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=F.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const B={enterDuration:450,exitDuration:400},z=800,H=Object(a.f)({passive:!0});class q{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(u.h)(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===F.VISIBLE||t.config.terminateOnPointerUp&&t.state===F.FADING_IN)&&t.fadeOut()}))},i.isBrowser&&(this._containerElement=Object(o.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 i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign({},B,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,l=e-i.top,a=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${o-s}px`,u.style.top=`${l-s}px`,u.style.height=`${2*s}px`,u.style.width=`${2*s}px`,u.style.backgroundColor=n.color||null,u.style.transitionDuration=`${a}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const c=new V(this,u,n);return c.state=F.FADING_IN,this._activeRipples.add(c),n.persistent||(this._mostRecentTransientRipple=c),this._runTimeoutOutsideZone(()=>{const t=c===this._mostRecentTransientRipple;c.state=F.VISIBLE,n.persistent||t&&this._isPointerDown||c.fadeOut()},a),c}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,i=Object.assign({},B,t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=F.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=F.HIDDEN,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.d)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,H)})}),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,H)})}}const U=new i.o("mat-ripple-global-options");class ${constructor(t,e,n,i,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new q(this,e,t,n),"NoopAnimations"===r&&(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 K{}class W{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}class G{}class Y{}const Q=m(Y);let Z=0;class X extends Q{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${Z++}`}}let J=0;class tt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const et=new i.o("MAT_OPTION_PARENT_COMPONENT");class nt{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${J++}`,this.onSelectionChange=new i.m,this._stateChanges=new l.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.b)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==c.d&&t.keyCode!==c.j||Object(c.o)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new tt(this,t))}}function it(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;en+i?Math.max(0,r-i+e):n}class st{}const ot=new i.o("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return i}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},"YY/e":function(t,e,n){"use strict";var i=n("HDdC"),r=n("D0XW"),s=n("Y7HM");function o(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return a}));var l=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t}({});class a{constructor(t,e){this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new i.a(t=>{this.yes=()=>{t.next(!0),t.complete()},this.no=()=>{t.next(!1),t.complete()},this.close=()=>{this.doClose(),t.next(!1),t.complete()};const e=this;return{unsubscribe(){e.resetCallbacks()}}})}resetCallbacks(){this.yes=this.no=()=>{this.close()},this.close=()=>{this.doClose()}}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(t=0,e=r.a){return(!Object(s.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.a),new i.a(n=>(n.add(e.schedule(o,t,{subscriber:n,counter:0,period:t})),n))}(1e3).subscribe(t=>{const e=this.data.autoclose-1e3*(t+1);this.setExtra(e),e<=0&&this.close()}))}initYesNo(){}ngOnInit(){this.data.type===l.yesno?this.initYesNo():this.initAlert()}}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("quSY");class r extends i.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 o}));var i=n("51Dv"),r=n("SeVD"),s=n("HDdC");function o(t,e,n,o,l=new i.a(t,n,o)){if(!l.closed)return e instanceof s.a?e.subscribe(l):Object(r.a)(e)(l)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("5+tZ"),r=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("5+tZ");function r(t,e){return Object(i.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return i}))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return Ct})),n.d(e,"q",(function(){return k})),n.d(e,"a",(function(){return xt})),n.d(e,"h",(function(){return wt})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return D})),n.d(e,"e",(function(){return st})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return lt})),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 it})),n.d(e,"m",(function(){return at})),n.d(e,"n",(function(){return ht})),n.d(e,"l",(function(){return A})),n.d(e,"o",(function(){return T})),n.d(e,"k",(function(){return pt}));var i=n("SVse"),r=n("8Y7J");let s=null;function o(){return s}class l{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}class a extends l{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 u={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},c=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(r.ub.Node)return r.ub.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class m extends a{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new m,s||(s=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 u}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 i=0;it.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 i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(t,e),i}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 i=this.getStyle(t,e)||"";return n?i==n:i.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let i=0;i{n.get(r.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:[_,i.d,r.p],multi:!0}];class v{static init(){Object(r.X)(new v)}addToWindow(t){r.ub.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.ub.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.ub.getAllAngularRootElements=()=>t.getAllRootElements(),r.ub.frameworkStabilizers||(r.ub.frameworkStabilizers=[]),r.ub.frameworkStabilizers.push(t=>{const e=r.ub.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,0==--n&&t(i)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i: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||((r.ub.ng=r.ub.ng||{})[t]=e)}const C=(()=>({ApplicationRef:r.g,NgZone:r.x}))(),x="probe",S="coreTokens";function E(t){return Object(r.T)(t)}function k(t){return w(x,E),w(S,Object.assign({},C,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>E}const O=new r.o("EventManagerPlugins");class D{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 i=0;i{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class A extends T{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 R={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/"},P=/%COMP%/g,j="_nghost-%COMP%",M="_ngcontent-%COMP%";function N(t,e,n){for(let i=0;i{!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 V(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.O.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new H(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.O.Native:case r.O.ShadowDom:return new q(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=N(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class V{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(R[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,i){if(i){e=i+":"+e;const r=R[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=R[n];i?t.removeAttributeNS(i,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,i){i&r.E.DashCase?t.style.setProperty(e,n,i&r.E.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.E.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){z(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return z(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,L(n)):this.eventManager.addEventListener(t,e,L(n))}}const B=(()=>"@".charCodeAt(0))();function z(t,e){if(t.charCodeAt(0)===B)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class H extends V{constructor(t,e,n,i){super(t),this.component=n;const r=N(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr=M.replace(P,i+"-"+n.id),this.hostAttr=function(t){return j.replace(P,t)}(i+"-"+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 q extends V{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=N(i.id,i.styles,[]);for(let r=0;r"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),$=U("addEventListener"),K=U("removeEventListener"),W={},G="FALSE",Y="ANGULAR",Q="addEventListener",Z="removeEventListener",X="__zone_symbol__propagationStopped",J="__zone_symbol__stopImmediatePropagation",tt=(()=>{const t="undefined"!=typeof Zone&&Zone[U("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=W[t.type];if(!e)return;const n=this[e];if(!n)return;const i=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,i):t.handler.apply(this,i)}{const e=n.slice();for(let n=0;n0;r||(r=t[n]=[]);const o=et(e)?Zone.root:Zone.current;if(0===r.length)r.push({zone:o,handler:i});else{let t=!1;for(let e=0;ethis.removeEventListener(t,e,i)}removeEventListener(t,e,n){let i=t[K];if(!i)return t[Z].apply(t,[e,n,!1]);let r=W[e],s=r&&t[r];if(!s)return t[Z].apply(t,[e,n,!1]);let o=!1;for(let l=0;l{i=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(r=()=>{});i||(r=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom `+"Hammer.JS loader failed."),r=()=>{}}),()=>{r()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(t),s=function(t){i.runGuarded((function(){n(t)}))};return r.on(e,s),()=>{r.off(e,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const ut=["alt","control","meta","shift"],ct={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class ht extends I{constructor(t){super(t)}supports(t){return null!=ht.parseEventName(t)}addEventListener(t,e,n){const i=ht.parseEventName(e),r=ht.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,i.domEventName,r))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const i=ht._normalizeKey(e.pop());let r="";if(ut.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r+=t+".")}),r+=i,0!=e.length||0===i.length)return null;const s={};return s.domEventName=n,s.fullKey=r,s}static getEventFullKey(t){let e="",n=o().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ut.forEach(i=>{i!=n&&(0,ct[i])(t)&&(e+=i+".")}),e+=n}static eventCallback(t,e,n){return i=>{ht.getEventFullKey(i)===t&&n.runGuarded(()=>e(i))}}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 r.G.NONE:return e;case r.G.HTML:return e instanceof ft?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(r.db)(this._doc,String(e)));case r.G.STYLE:return e instanceof gt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(r.eb)(e));case r.G.SCRIPT:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case r.G.URL:return e instanceof yt||e instanceof _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(r.fb)(String(e)));case r.G.RESOURCE_URL:if(e instanceof yt)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 mt)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(t){return new ft(t)}bypassSecurityTrustStyle(t){return new gt(t)}bypassSecurityTrustScript(t){return new bt(t)}bypassSecurityTrustUrl(t){return new _t(t)}bypassSecurityTrustResourceUrl(t){return new yt(t)}}class mt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class ft extends mt{getTypeName(){return"HTML"}}class gt extends mt{getTypeName(){return"Style"}}class bt extends mt{getTypeName(){return"Script"}}class _t extends mt{getTypeName(){return"URL"}}class yt extends mt{getTypeName(){return"ResourceURL"}}const vt=[{provide:r.z,useValue:i.x},{provide:r.A,useValue:function(){m.makeCurrent(),v.init()},multi:!0},{provide:i.r,useClass:class extends i.r{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){b()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){b()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[i.d]},{provide:i.d,useFactory:function(){return document},deps:[]}],wt=Object(r.Q)(r.W,"browser",vt);function Ct(){return new r.l}class xt{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:xt,providers:[{provide:r.c,useValue:t.appId},{provide:_,useExisting:r.c},y]}}}"undefined"!=typeof window&&window},crnd: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="crnd"},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return s})),n.d(e,"j",(function(){return o})),n.d(e,"c",(function(){return l})),n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"l",(function(){return c})),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 m})),n.d(e,"a",(function(){return f})),n.d(e,"m",(function(){return g})),n.d(e,"o",(function(){return b}));const i=9,r=13,s=27,o=32,l=35,a=36,u=37,c=38,h=39,d=40,p=48,m=57,f=65,g=90;function b(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 a}));var i=n("l7GE"),r=n("51Dv"),s=n("ZUHj"),o=n("lJxs"),l=n("Cfvw");function a(t,e){return"function"==typeof e?n=>n.pipe(a((n,i)=>Object(l.a)(t(n,i)).pipe(Object(o.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new u(t))}class u{constructor(t){this.project=t}call(t,e){return e.subscribe(new c(t,this.project))}}class c extends i.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(i){return void this.destination.error(i)}this._innerSub(e,t,n)}_innerSub(t,e,n){const i=this.innerSubscription;i&&i.unsubscribe();const o=new r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(s.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,i,r){this.destination.next(e)}}},ePv7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let i=(()=>{class t{constructor(t){this.api=t}doLaunch(t){this.api.gui.alert(django.gettext("Launching service"),''+django.gettext("Please wait")+'
'+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);let e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){const t=document.createElement("div");t.id="testID",t.innerHTML='',document.body.appendChild(t),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t}launchURL(e){if("udsa://"===e.substring(0,7)){const t=e.split("//")[1].split("/");this.api.enabler(t[0],t[1]).subscribe(t=>{void 0!==t.error&&""!==t.error?this.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),this.doLaunch(t.url))})}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")}}return t.transportsWindow=null,t})()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"c",(function(){return Et})),n.d(e,"g",(function(){return kt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return le})),n.d(e,"d",(function(){return Ie})),n.d(e,"f",(function(){return Ae})),n.d(e,"h",(function(){return Re}));var i=n("GS7A");function r(){return"undefined"!=typeof process}function s(t){switch(t.length){case 0:return new i.d;case 1:return t[0];default:return new i.o(t)}}function o(t,e,n,r,s={},o={}){const l=[],a=[];let u=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==u,h=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,l),a){case i.p:a=s[n];break;case i.a:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,l)}h[r]=a}),r||a.push(h),c=h,u=n}),l.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${l.join(t)}`)}return a}function l(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&a(n,"start",t)));break;case"done":t.onDone(()=>i(n&&a(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&a(n,"destroy",t)))}}function a(t,e,n){const i=n.totalTime,r=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function u(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function c(t,e,n){let i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}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,m=(t,e,n)=>[];const f=r();(f||"undefined"!=typeof Element)&&(d=(t,e)=>t.contains(e),p=(()=>{if(f||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}})(),m=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let g=null,b=!1;function _(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!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)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}const y=p,v=d,w=m;function C(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}class x{validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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,r,s,o=[],l){return new i.d(n,r)}}let S=(()=>{class t{}return t.NOOP=new x,t})();const E=1e3,k="{{",O="ng-enter",D="ng-leave",I="ng-trigger",T=".ng-trigger",A="ng-animating",R=".ng-animating";function P(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:j(parseFloat(e[1]),e[2])}function j(t,e){switch(e){case"s":return t*E;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";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:""};i=j(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=j(parseFloat(o),n[4]));const l=n[5];l&&(s=l)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function N(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function L(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else N(t,n);return n}function F(t,e,n){return n?e+":"+n+";":""}function V(t){let e="";for(let n=0;n{const r=G(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),r()&&V(t))}function z(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),r()&&V(t))}function H(t){return Array.isArray(t)?1==t.length?t[0]:Object(i.j)(t):t}const q=new RegExp(`${k}\\s*(.+?)\\s*}}`,"g");function U(t){let e=[];if("string"==typeof t){const n=t.toString();let i;for(;i=q.exec(n);)e.push(i[1]);q.lastIndex=0}return e}function $(t,e,n){const i=t.toString(),r=i.replace(q,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function K(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const W=/-+([a-z0-9])/g;function G(t){return t.replace(W,(...t)=>t[1].toUpperCase())}function Y(t,e){return 0===t||0===e}function Q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r(function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(it(r,o)),"<"!=s[0]||r==J&&o==J||e.push(it(o,r))})(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,s)=>{let o=t==J||t==r,l=e==J||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?et.has(t):nt.has(t)),!l&&i&&"boolean"==typeof s&&(l=s?et.has(e):nt.has(e)),o&&l}}const rt=":self",st=new RegExp(`s*${rt}s*,?`,"g");function ot(t,e,n){return new at(t).build(e,n)}const lt="";class at{constructor(t){this._driver=t}build(t,e){const n=new ut(e);return this._resetContextStyleTimingState(n),Z(this,H(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=lt,t.collectedStyles={},t.collectedStyles[lt]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];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,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{U(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=K(r.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:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Z(this,H(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=>Z(this,t,e)),options:ht(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Z(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,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(M(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=dt(0,0,"");return t.dynamic=!0,t.strValue=i,t}return dt((n=n||M(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Object(i.l)({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=Object(i.l)(t)}e.currentTime+=n.duration+n.delay;const l=this.visitStyle(s,e);l.isEmptyStep=o,r=l}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf(k)>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=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 s=e.collectedStyles[e.currentQuerySelector],o=s[n];let l=!0;o&&(r!=i&&r>=o.startTime&&i<=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 "${r}ms" and "${i}ms"`),l=!1),r=o.startTime),l&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=U(t);r.length&&r.forEach(t=>{i.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 i=0;const r=[];let s=!1,o=!1,l=0;const a=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let a=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=a&&(i++,u=n.offset=a),o=o||u<0||u>1,s=s||u0&&i{const s=c>0?i==h?1:c*i:r[i],o=s*m;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Z(this,H(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,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>t==rt);return e&&(t=t.replace(st,"")),[t=t.replace(/@\*/g,T).replace(/@\w+/g,t=>T+"-"+t.substr(1)).replace(/:animating/g,R),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,c(e.collectedStyles,e.currentQuerySelector,{});const o=Z(this,H(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,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"}:M(t.timings,e.errors,!0);return{type:12,animation:Z(this,H(t.animation),e),timings:n,options:null}}}class ut{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 ct(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=N(t)).params&&(t.params=(e=t.params)?N(e):null):t={},t}function dt(t,e,n){return{duration:t,delay:e,easing:n}}function pt(t,e,n,i,r,s,o=null,l=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:l}}class mt{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 ft=1,gt=new RegExp(":enter","g"),bt=new RegExp(":leave","g");function _t(t,e,n,i,r,s={},o={},l,a,u=[]){return(new yt).buildKeyframes(t,e,n,i,r,s,o,l,a,u)}class yt{buildKeyframes(t,e,n,i,r,s,o,l,a,u=[]){a=a||new mt;const c=new wt(t,e,a,i,r,u,[]);c.options=l,c.currentTimeline.setStyles([s],null,c.errors,l),Z(this,n,c);const h=c.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,l)}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 i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}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 i=e.currentTimeline.currentTime;const r=null!=n.duration?P(n.duration):null,s=null!=n.delay?P(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&((i=e.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vt);const t=P(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Z(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?P(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Z(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return M(e.params?$(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?P(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let l=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(l=o.currentTimeline),Z(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=n.currentStaggerTime}const a=e.currentTimeline;l&&a.delayNextStep(l);const u=a.currentTime;Z(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}const vt={};class wt{constructor(t,e,n,i,r,s,o,l){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,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=l||new Ct(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=P(n.duration)),null!=n.delay&&(i.delay=P(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=$(r[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 i=e||this.element,r=new wt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}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 i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new xt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(gt,"."+this._enterClassName)).replace(bt,"."+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 r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Ct{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,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 Ct(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+=ft,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]||i.a,this._currentKeyframe[t]=i.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e)).forEach(t=>{n[t]=i.a}):L(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=$(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.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],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const l=L(s,!0);Object.keys(l).forEach(n=>{const r=l[n];r==i.p?t.add(n):r==i.a&&e.add(n)}),n||(l.offset=o/this.duration),r.push(l)});const s=t.size?K(t.values()):[],o=e.size?K(e.values()):[];if(n){const t=r[0],e=N(t);t.offset=0,e.offset=1,r=[t,e]}return pt(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class xt extends Ct{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,l=L(t[0],!1);l.offset=0,r.push(l);const a=L(t[0],!1);a.offset=St(o),r.push(a);const u=t.length-1;for(let i=1;i<=u;i++){let o=L(t[i],!1);o.offset=St((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return pt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function St(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Et{}class kt extends Et{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}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 Dt(t,e,n,i,r,s,o,l,a,u,c,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:l,queriedElements:a,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}const It={};class Tt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,l,a,u){const h=[],d=this.ast.options&&this.ast.options.params||It,p=this.buildStyles(n,o&&o.params||It,h),m=l&&l.params||It,f=this.buildStyles(i,m,h),g=new Set,b=new Map,_=new Map,y="void"===i,v={params:Object.assign({},d,m)},w=u?[]:_t(t,e,this.ast.animation,r,s,p,f,v,a,h);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),h.length)return Dt(e,this._triggerName,n,i,y,p,f,[],[],b,_,C,h);w.forEach(t=>{const n=t.element,i=c(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=c(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const x=K(g.values());return Dt(e,this._triggerName,n,i,y,p,f,w,x,b,_,C)}}class At{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=N(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=$(s,i,e)),n[t]=s})}}),n}}class Rt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new At(t.style,t.options&&t.options.params||{})}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Tt(t,e,this.states))}),this.fallbackTransition=new Tt(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,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Pt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const jt=new mt;class Mt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=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]=i}_buildPlayer(t,e,n){const i=t.element,r=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],o=this._animations[t];let l;const a=new Map;if(o?(l=_t(this._driver,e,o,O,D,{},{},n,jt,r)).forEach(t=>{const e=c(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)}):(r.push("The requested animation doesn't exist or has already been destroyed"),l=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.a)})});const u=s(l.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}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,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Nt="ng-animate-queued",Lt=".ng-animate-queued",Ft="ng-animate-disabled",Vt=".ng-animate-disabled",Bt="ng-star-inserted",zt=".ng-star-inserted",Ht=[],qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ut={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$t="__ng_removed";class Kt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=N(t);delete e.value,this.options=e}else this.options={};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 Wt="void",Gt=new Kt(Wt);class Yt{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,ie(e,this._hostClassName)}listen(t,e,n,i){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"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=c(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(ie(t,I),ie(t,I+"-"+e),l[e]=Gt),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete l[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,i=!0){const r=this._getTrigger(e),s=new Zt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(ie(t,I),ie(t,I+"-"+e),this._engine.statesByElement.set(t,o={}));let l=o[e];const a=new Kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&a.absorbOptions(l.options),o[e]=a,l||(l=Gt),a.value!==Wt&&l.value===a.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{z(t,n),B(t,i)})}return}const u=c(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=r.matchTransition(l.value,a.value,t,a.params),d=!1;if(!h){if(!i)return;h=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:a,player:s,isFallbackTransition:d}),d||(ie(t,Nt),s.onStart(()=>{re(t,Nt)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),u.push(s),s}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,T,!0).forEach(t=>{if(t[$t])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,i){const r=this._engine.statesByElement.get(t);if(r){const o=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Wt,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(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 i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||Gt,o=new Kt(Wt),l=new Zt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:o,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}this.prepareLeaveAnimationListeners(t),i?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){ie(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i: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 Qt{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 Yt(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 i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||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 i=this._namespaceLookup[t];i&&i.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 i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ie(t,Ft)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),re(t,Ft))}removeNode(t,e,n,i){if(Xt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[$t]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Xt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,T,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,R,!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 s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[$t];if(e&&e.setForRemoval){if(t[$t]=qt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Vt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Vt,!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?s(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 mt,r=[],o=new Map,l=[],a=new Map,u=new Map,h=new Map,d=new Set;this.disabledNodes.forEach(t=>{d.add(t);const e=this.driver.query(t,Lt,!0);for(let n=0;n{const n=O+b++;g.set(e,n),t.forEach(t=>ie(t,n))});const _=[],y=new Set,v=new Set;for(let i=0;iy.add(t)):v.add(t))}const w=new Map,C=ee(m,Array.from(y));C.forEach((t,e)=>{const n=D+b++;w.set(e,n),t.forEach(t=>ie(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>re(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>re(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],S=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(x.push(e),this.collectedEnterElements.length){const t=i[$t];if(t&&t.setForMove)return void e.destroy()}const s=!p||!this.driver.containsElement(p,i),o=w.get(i),d=g.get(i),m=this._buildInstruction(t,n,d,o,s);if(!m.errors||!m.errors.length)return s?(e.onStart(()=>z(i,m.fromStyles)),e.onDestroy(()=>B(i,m.toStyles)),void r.push(e)):t.isFallbackTransition?(e.onStart(()=>z(i,m.fromStyles)),e.onDestroy(()=>B(i,m.toStyles)),void r.push(e)):(m.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,m.timelines),l.push({instruction:m,player:e,element:i}),m.queriedElements.forEach(t=>c(a,t,[]).push(e)),m.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void m.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))}));S.push(m)});if(S.length){const t=[];S.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const E=new Map,k=new Map;l.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{c(E,e,[]).push(t),t.destroy()})});const I=_.filter(t=>oe(t,u,h)),T=new Map;te(T,this.driver,v,h,i.a).forEach(t=>{oe(t,u,h)&&I.push(t)});const A=new Map;f.forEach((t,e)=>{te(A,this.driver,new Set(t),u,i.p)}),I.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign({},e,n))});const P=[],j=[],M={};l.forEach(t=>{const{element:e,player:i,instruction:l}=t;if(n.has(e)){if(d.has(e))return i.onDestroy(()=>B(e,l.toStyles)),i.disabled=!0,i.overrideTotalTime(l.totalTime),void r.push(i);let t=M;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(i.namespaceId,l,E,o,A,T);if(i.setRealPlayer(n),t===M)P.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),r.push(i)}}else z(e,l.fromStyles),i.onDestroy(()=>B(e,l.toStyles)),j.push(i),d.has(e)&&r.push(i)}),j.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<_.length;i++){const t=_[i],e=t[$t];if(re(t,D),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,R,!0);for(let t=0;t!t.destroyed);r.length?se(this,t,r):this.processLeaveNode(t)}return _.length=0,P.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),P}elementContainsData(t,e){let n=!1;const i=e[$t];return i&&i.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,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Wt;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,l=t!==i,a=c(n,t,[]);this._getPreviousPlayers(t,l,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)})}z(i,e.fromStyles)}_buildAnimation(t,e,n,r,l,a){const u=e.triggerName,h=e.element,d=[],p=new Set,m=new Set,f=e.timelines.map(e=>{const s=e.element;p.add(s);const c=s[$t];if(c&&c.removedBeforeQueried)return new i.d(e.duration,e.delay);const f=s!==h,g=function(t){const e=[];return function t(e,n){for(let r=0;rt.getRealPlayer())).filter(t=>!!t.element&&t.element===s),b=l.get(s),_=a.get(s),y=o(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&r&&m.add(s),f){const e=new Zt(t,u,s);e.setRealPlayer(v),d.push(e)}return v});d.forEach(t=>{c(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>(function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e)){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i})(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>ie(t,A));const g=s(f);return g.onDestroy(()=>{p.forEach(t=>re(t,A)),B(h,e.toStyles)}),m.forEach(t=>{c(r,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 i.d(t.duration,t.delay)}}class Zt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.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=>l(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){c(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 Xt(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,i,r){const s=[];n.forEach(t=>s.push(Jt(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[$t]=Ut,o.push(i))}),t.set(i,s)});let l=0;return n.forEach(t=>Jt(t,s[l++])),o}function ee(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=r.get(e);if(s)return s;const o=e.parentNode;return s=n.has(o)?o:i.has(o)?1:t(o),r.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}const ne="$$classes";function ie(t,e){if(t.classList)t.classList.add(e);else{let n=t[ne];n||(n=t[ne]={}),n[e]=!0}}function re(t,e){if(t.classList)t.classList.remove(e);else{let n=t[ne];n&&delete n[e]}}function se(t,e,n){s(n).onDone(()=>t.processLeaveNode(e))}function oe(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class le{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Qt(t,e,n),this._timelineEngine=new Mt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=ot(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Rt(t,e)}(i,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=h(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=h(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ae(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=ce(e[0]),e.length>1&&(i=ce(e[e.length-1]))):e&&(n=ce(e)),n||i?new ue(t,n,i):null}let ue=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(z(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ce(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=Ce(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=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=Ce(t,"").split(","),i=ye(n,e);i>=0&&(n.splice(i,1),we(t,"",n.join(",")))}(this._element,this._name))}}function be(t,e,n){we(t,"PlayState",n,_e(t,e))}function _e(t,e){const n=Ce(t,"");return n.indexOf(",")>0?ye(n.split(","),e):ye([n],e)}function ye(t,e){for(let n=0;n=0)return n;return-1}function ve(t,e,n){n?t.removeEventListener(me,e):t.addEventListener(me,e)}function we(t,e,n,i){const r=pe+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function Ce(t,e){return t.style[pe+e]}const xe="forwards",Se="linear";class Ee{constructor(t,e,n,i,r,s,o,l){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||Se,this.totalTime=i+r,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,xe,()=>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]:X(this.element,n))})}this.currentSnapshot=t}}class ke extends i.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(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_",De=" ";class Ie{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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=>C(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=De;const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=De,Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.innerHTML=i,s}animate(t,e,n,i,r,s=[],o){o&&this._notifyFaultyScrubber();const l=s.filter(t=>t instanceof Ee),a={};Y(n,i)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const u=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=Q(t,e,a));if(0==n)return new ke(t,u);const c=`${Oe}${this._count++}`,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);const d=ae(t,e),p=new Ee(t,e,c,n,i,r,u,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 Te{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,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]:X(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Ae{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Pe().toString()),this._cssKeyframesDriver=new Ie}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const l={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(l.easing=r);const a={},u=s.filter(t=>t instanceof Te);Y(n,i)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const c=ae(t,e=Q(t,e=e.map(t=>L(t,!1)),a));return new Te(t,e,l,c)}}function Re(){return"function"==typeof Pe()}function Pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},hOhj:function(t,e,n){"use strict";var i=n("8Y7J"),r=(n("KCVW"),n("XNiG")),s=n("LRne"),o=n("HDdC"),l=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var a=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));const d=20;let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new r.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=d){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(u.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.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(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(l.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.x),Object(i.Rb)(h.a))},token:t,providedIn:"root"}),t})();class m{}const f=20;let g=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(a.a)(Object(l.a)(window,"resize"),Object(l.a)(window,"orientationchange")):Object(s.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=f){return t>0?this._change.pipe(Object(u.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(h.a),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();const b={provide:g,deps:[[new i.y,new i.H,g],h.a,i.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var i=n("SVse"),r=n("8Y7J"),s=n("LRne"),o=n("Cfvw"),l=n("XNiG"),a=n("9ppp");class u extends l.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 a.a;return this._value}next(t){super.next(this._value=t)}}var c=n("HDdC");const h=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var d=n("itXk"),p=n("NXyV"),m=n("EY2u"),f=n("lJxs"),g=n("0EUg"),b=n("pLZG"),_=n("7o/Q"),y=n("4I5i");function v(t){return function(e){return 0===t?Object(m.b)():e.lift(new w(t))}}class w{constructor(t){if(this.total=t,this.total<0)throw new y.a}call(t,e){return e.subscribe(new C(t,this.total))}}class C extends _.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,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.lift(new S(t))}class S{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new E(t,this.errorFactory))}}class E extends _.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function k(){return new h}function O(t=null){return e=>e.lift(new D(t))}class D{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new I(t,this.defaultValue))}}class I extends _.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 T=n("SpAZ");function A(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(b.a)((e,n)=>t(e,n,i)):T.a,v(1),n?O(e):x(()=>new h))}var R=n("l7GE"),P=n("51Dv"),j=n("ZUHj");function M(t){return function(e){const n=new N(t),i=e.lift(n);return n.caught=i}}class N{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 i=new P.a(this,void 0,void 0);this.add(i),Object(j.a)(this,n,void 0,void 0,i)}}}var F=n("IzEk");function V(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(b.a)((e,n)=>t(e,n,i)):T.a,Object(F.a)(1),n?O(e):x(()=>new h))}var B=n("5+tZ");class z{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))}}class H extends _.a{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,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 q=n("eIep"),U=n("JX91");function $(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new K(t,e,n))}}class K{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new W(t,this.accumulator,this.seed,this.hasSeed))}}class W extends _.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,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(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var G=n("bOdf"),Y=n("mCNh"),Q=n("vkgz"),Z=n("quSY");class X{constructor(t){this.callback=t}call(t,e){return e.subscribe(new J(t,this.callback))}}class J extends _.a{constructor(t,e){super(t),this.add(new Z.a(e))}}var tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return yt})),n.d(e,"s",(function(){return Nn})),n.d(e,"z",(function(){return Kn})),n.d(e,"u",(function(){return Bn})),n.d(e,"A",(function(){return Wn})),n.d(e,"B",(function(){return Gn})),n.d(e,"w",(function(){return Hn})),n.d(e,"v",(function(){return zn})),n.d(e,"y",(function(){return $n})),n.d(e,"t",(function(){return Fn})),n.d(e,"x",(function(){return Un})),n.d(e,"D",(function(){return jn})),n.d(e,"l",(function(){return xn})),n.d(e,"m",(function(){return Sn})),n.d(e,"o",(function(){return Dn})),n.d(e,"j",(function(){return pn})),n.d(e,"k",(function(){return Cn})),n.d(e,"i",(function(){return fn})),n.d(e,"g",(function(){return Mn})),n.d(e,"h",(function(){return Yn})),n.d(e,"n",(function(){return Vn})),n.d(e,"b",(function(){return On})),n.d(e,"d",(function(){return Rn})),n.d(e,"e",(function(){return An})),n.d(e,"f",(function(){return Tn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return bn})),n.d(e,"c",(function(){return qt})),n.d(e,"r",(function(){return Ht}));class nt{constructor(t,e){this.id=t,this.url=e}}class it extends nt{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rt extends nt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class st extends nt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ot extends nt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lt extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class at extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ut extends nt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ct extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ht extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ft{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{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 yt{}const vt="primary";class wt{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 Ct(t){return new wt(t)}const xt="ngNavigationCancelingError";function St(t){const e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function Et(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length0?t[t.length-1]:null}function jt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(r.xb)(t)?t:Object(r.yb)(t)?Object(o.a)(Promise.resolve(t)):Object(s.a)(t)}function Nt(t,e,n){return n?function(t,e){return At(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))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,i,r){if(n.segments.length>r.length)return!!Bt(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Bt(n.segments,r))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Bt(n.segments,t)&&!!n.children[vt]&&e(n.children[vt],i,s)}}(e,n,n.segments)}(t.root,e.root)}class Lt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Ut.serialize(this)}}class Ft{constructor(t,e){this.segments=t,this.children=e,this.parent=null,jt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class Vt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Zt(this)}}function Bt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function zt(t,e){let n=[];return jt(t.children,(t,i)=>{i===vt&&(n=n.concat(e(t,i)))}),jt(t.children,(t,i)=>{i!==vt&&(n=n.concat(e(t,i)))}),n}class Ht{}class qt{parse(t){const e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return $t(e);if(n){const n=e.children[vt]?t(e.children[vt],!1):"",i=[];return jt(e.children,(e,n)=>{n!==vt&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=zt(e,(n,i)=>i===vt?[t(e.children[vt],!1)]:[`${i}:${t(n,!1)}`]);return`${$t(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=>`${Wt(e)}=${Wt(t)}`).join("&"):`${Wt(e)}=${Wt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Ut=new qt;function $t(t){return t.segments.map(t=>Zt(t)).join("/")}function Kt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wt(t){return Kt(t).replace(/%3B/gi,";")}function Gt(t){return Kt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yt(t){return decodeURIComponent(t)}function Qt(t){return Yt(t.replace(/\+/g,"%20"))}function Zt(t){return`${Gt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Gt(t)}=${Gt(e[t])}`).join("")}`;var e}const Xt=/^[^\/()?;=#]+/;function Jt(t){const e=t.match(Xt);return e?e[0]:""}const te=/^[^=?]+/,ee=/^[^?]+/;class ne{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],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[vt]=new Ft(t,e)),n}parseSegment(){const t=Jt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Vt(Yt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Jt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Jt(this.remaining);t&&this.capture(n=t)}t[Yt(e)]=Yt(n)}parseQueryParam(t){const e=function(t){const e=t.match(te);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(ee);return e?e[0]:""}(this.remaining);t&&this.capture(n=t)}const i=Qt(e),r=Qt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(t[i]=e=[e]),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Jt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=vt);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[vt]:new Ft([],s),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 ie{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=re(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=re(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=se(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return se(t,this._root).map(t=>t.value)}}function re(t,e){if(t===e.value)return e;for(const n of e.children){const e=re(t,n);if(e)return e}return null}function se(t,e){if(t===e.value)return[e];for(const n of e.children){const i=se(t,n);if(i.length)return i.unshift(e),i}return[]}class oe{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function le(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ae extends ie{constructor(t,e){super(t),this.snapshot=e,me(this,t)}toString(){return this.snapshot.toString()}}function ue(t,e){const n=function(t,e){const n=new de([],{},{},"",{},vt,e,null,t.root,-1,{});return new pe("",new oe(n,[]))}(t,e),i=new u([new Vt("",{})]),r=new u({}),s=new u({}),o=new u({}),l=new u(""),a=new ce(i,r,o,l,s,vt,e,n.root);return a.snapshot=n.root,new ae(new oe(a,[]),n)}class ce{constructor(t,e,n,i,r,s,o,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=l}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(f.a)(t=>Ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>Ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function he(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}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(i))}class de{constructor(t,e,n,i,r,s,o,l,a,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=l,this._urlSegment=a,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pe extends ie{constructor(t,e){super(e),this.url=t,me(this,e)}toString(){return fe(this._root)}}function me(t,e){e.value._routerState=t,e.children.forEach(e=>me(t,e))}function fe(t){const e=t.children.length>0?` { ${t.children.map(fe).join(", ")} } `:"";return`${t.value}${e}`}function ge(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,At(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),At(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nAt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||be(t.parent,e.parent))}function _e(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ye(t,e,n,i,r){let s={};return i&&jt(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Lt(n.root===t?e:function t(e,n,i){const r={};return jt(e.children,(e,s)=>{r[s]=e===n?i:t(e,n,i)}),new Ft(e.segments,r)}(n.root,t,e),s,r)}class ve{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&_e(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(i&&i!==Pt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class we{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[vt]:`${t}`}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Se(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const e=t.segments[r],o=Ce(n[i]),l=i0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(o,l,e))return s;i+=2}else{if(!De(o,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{null!==n&&(r[i]=xe(t.children[i],e,n))}),jt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Ft(t.segments,r)}}function Ee(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{null!==t&&(e[n]=Ee(new Ft([],{}),0,t))}),e}function Oe(t){const e={};return jt(t,(t,n)=>e[n]=`${t}`),e}function De(t,e,n){return t==n.path&&At(e,n.parameters)}const Ie=(t,e,n)=>Object(f.a)(i=>(new Te(e,i.targetRouterState,i.currentRouterState,n).activate(t),i));class Te{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ge(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=le(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),jt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&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(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=le(t),r=t.value.component?n.children:e;jt(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=le(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new bt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ft(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(ge(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Ae(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}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Ae(t){ge(t.value),t.children.forEach(Ae)}function Re(t){return"function"==typeof t}function Pe(t){return t instanceof Lt}class je{constructor(t){this.segmentGroup=t||null}}class Me{constructor(t){this.urlTree=t}}function Ne(t){return new c.a(e=>e.error(new je(t)))}function Le(t){return new c.a(e=>e.error(new Me(t)))}function Fe(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.v)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vt).pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(M(t=>{if(t instanceof Me)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof je)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,vt).pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(M(t=>{if(t instanceof je)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ft([],{[vt]:t}):t;return new Lt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ft([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],i=[],r={};return jt(t,(t,s)=>{const o=e(s,t).pipe(Object(f.a)(t=>r[s]=t));s===vt?n.push(o):i.push(o)}),s.a.apply(null,n.concat(i)).pipe(Object(g.a)(),A(),Object(f.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,o){return Object(s.a)(...n).pipe(Object(f.a)(l=>this.expandSegmentAgainstRoute(t,e,n,l,i,r,o).pipe(M(t=>{if(t instanceof je)return Object(s.a)(null);throw t}))),Object(g.a)(),V(t=>!!t),M((t,n)=>{if(t instanceof h||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(s.a)(new Ft([],{}));throw new je(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return qe(i)!==s?Ne(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Ne(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Le(r):this.lineralizeSegments(n,r).pipe(Object(B.a)(n=>{const r=new Ft(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:l,lastChild:a,positionalParamSegments:u}=Be(e,i,r);if(!o)return Ne(e);const c=this.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?Le(c):this.lineralizeSegments(i,c).pipe(Object(B.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(a)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ft(i,{})))):Object(s.a)(new Ft(i,{}));const{matched:r,consumedSegments:o,lastChild:l}=Be(e,n,i);if(!r)return Ne(e);const a=i.slice(l);return this.getChildConfig(t,n,i).pipe(Object(B.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:l}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>He(t,e,n)&&qe(n)!==vt)}(t,n,i)?{segmentGroup:ze(new Ft(e,function(t,e){const n={};n[vt]=e;for(const i of t)""===i.path&&qe(i)!==vt&&(n[qe(i)]=new Ft([],{}));return n}(i,new Ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>He(t,e,n))}(t,n,i)?{segmentGroup:ze(new Ft(t.segments,function(t,e,n,i){const r={};for(const s of n)He(t,e,s)&&!i[qe(s)]&&(r[qe(s)]=new Ft([],{}));return Object.assign({},i,r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,a,i);return 0===l.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(f.a)(t=>new Ft(o,t))):0===i.length&&0===l.length?Object(s.a)(new Ft(o,{})):this.expandSegment(n,r,i,l,vt,!0).pipe(Object(f.a)(t=>new Ft(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new kt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):function(t,e,n){const i=e.canLoad;return i&&0!==i.length?Object(o.a)(i).pipe(Object(f.a)(i=>{const r=t.get(i);let s;if(function(t){return t&&Re(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!Re(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return Mt(s)})).pipe(Object(g.a)(),(r=t=>!0===t,t=>t.lift(new z(r,void 0,t)))):Object(s.a)(!0);var r}(t.injector,e,n).pipe(Object(B.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(St(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(s.a)(new kt([],t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children[vt])return Fe(t.redirectTo);i=i.children[vt]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Lt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return jt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return jt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Ft(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Be(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 i=(e.matcher||Et)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ze(t){if(1===t.numberOfChildren&&t.children[vt]){const e=t.children[vt];return new Ft(t.segments.concat(e.segments),e.children)}return t}function He(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function qe(t){return t.outlet||vt}class Ue{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class $e{constructor(t,e){this.component=t,this.route=e}}function Ke(t,e,n){const i=t._root;return function t(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=le(n);return e.children.forEach(e=>{!function(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,l=n?n.value:null,a=i?i.getContext(e.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!At(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!At(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(l,o,o.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new Ue(r)):(o.data=l.data,o._resolvedData=l._resolvedData),t(e,n,o.component?a?a.children:null:i,r,s),u&&s.canDeactivateChecks.push(new $e(a&&a.outlet&&a.outlet.component||null,l))}else l&&Ge(n,a,s),s.canActivateChecks.push(new Ue(r)),t(e,null,o.component?a?a.children:null:i,r,s)}(e,o[e.value.outlet],i,r.concat([e.value]),s),delete o[e.value.outlet]}),jt(o,(t,e)=>Ge(t,i.getContext(e),s)),s}(i,e?e._root:null,n,[i.value])}function We(t,e,n){const i=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(i?i.module.injector:n).get(t)}function Ge(t,e,n){const i=le(t),r=t.value;jt(i,(t,i)=>{Ge(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new $e(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}const Ye=Symbol("INITIAL_VALUE");function Qe(){return Object(q.a)(t=>Object(d.a)(...t.map(t=>t.pipe(Object(F.a)(1),Object(U.a)(Ye)))).pipe($((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==Ye)return t;if(i===Ye&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||Pe(i))return i}return t},t)},Ye),Object(b.a)(t=>t!==Ye),Object(f.a)(t=>Pe(t)?t:!0===t),Object(F.a)(1)))}function Ze(t,e){return null!==t&&e&&e(new gt(t)),Object(s.a)(!0)}function Xe(t,e){return null!==t&&e&&e(new mt(t)),Object(s.a)(!0)}function Je(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(p.a)(()=>{const r=We(i,e,n);let s;if(function(t){return t&&Re(t.canActivate)}(r))s=Mt(r.canActivate(e,t));else{if(!Re(r))throw new Error("Invalid CanActivate guard");s=Mt(r(e,t))}return s.pipe(V())}));return Object(s.a)(r).pipe(Qe())}function tn(t,e,n){const i=e[e.length-1],r=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=>Object(p.a)(()=>{const r=e.guards.map(r=>{const s=We(r,e.node,n);let o;if(function(t){return t&&Re(t.canActivateChild)}(s))o=Mt(s.canActivateChild(i,t));else{if(!Re(s))throw new Error("Invalid CanActivateChild guard");o=Mt(s(i,t))}return o.pipe(V())});return Object(s.a)(r).pipe(Qe())}));return Object(s.a)(r).pipe(Qe())}class en{}class nn{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=on(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,vt),n=new de([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new oe(n,e),r=new pe(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(t){return new c.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=he(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=zt(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("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===vt?-1:e.value.outlet===vt?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,i)}catch(r){if(!(r instanceof en))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new en}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new en;if((t.outlet||vt)!==i)throw new en;let r,s=[],o=[];if("**"===t.path){const s=n.length>0?Pt(n).parameters:{};r=new de(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,rn(e),sn(e)+n.length,cn(t))}else{const l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new en;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||Et)(n,t,e);if(!i)throw new en;const r={};jt(i.posParams,(t,e)=>{r[e]=t.path});const s=i.consumed.length>0?Object.assign({},r,i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=l.consumedSegments,o=n.slice(l.lastChild),r=new de(s,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,rn(e),sn(e)+s.length,cn(t))}const l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:a,slicedSegments:u}=on(e,s,o,l,this.relativeLinkResolution);if(0===u.length&&a.hasChildren()){const t=this.processChildren(l,a);return[new oe(r,t)]}if(0===l.length&&0===u.length)return[new oe(r,[])];const c=this.processSegment(l,a,u,vt);return[new oe(r,c)]}}function rn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function sn(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 on(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>ln(t,e,n)&&an(n)!==vt)}(t,n,i)){const r=new Ft(e,function(t,e,n,i){const r={};r[vt]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&an(s)!==vt){const n=new Ft([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[an(s)]=n}return r}(t,e,i,new Ft(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>ln(t,e,n))}(t,n,i)){const s=new Ft(t.segments,function(t,e,n,i,r,s){const o={};for(const l of i)if(ln(t,n,l)&&!r[an(l)]){const n=new Ft([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[an(l)]=n}return Object.assign({},r,o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Ft(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function ln(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||vt}function un(t){return t.data||{}}function cn(t){return t.resolve||{}}function hn(t,e,n,i){const r=We(t,e,i);return Mt(r.resolve?r.resolve(e,n):r(e,n))}function dn(t){return function(e){return e.pipe(Object(q.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class pn{}class mn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const fn=new r.o("ROUTES");class gn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new kt(Rt(i.injector.get(fn)).map(Tt),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)(t=>t instanceof r.t?Object(s.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class bn{}class _n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function yn(t){throw t}function vn(t,e,n){return e.parse("/")}function wn(t,e){return Object(s.a)(null)}class Cn{constructor(t,e,n,i,s,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new l.a,this.errorHandler=yn,this.malformedUriErrorHandler=vn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wn,afterPreactivation:wn},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new mn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(r.v),this.console=s.get(r.ab);const h=s.get(r.x);this.isNgZoneEnabled=h instanceof r.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(o,a,t=>this.triggerEvent(new dt(t)),t=>this.triggerEvent(new pt(t))),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({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(b.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(q.a)(t=>{let n=!1,i=!1;return Object(s.a)(t).pipe(Object(Q.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(q.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(s.a)(t).pipe(Object(q.a)(t=>{const n=this.transitions.getValue();return e.next(new it(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?m.a:[t]}),Object(q.a)(t=>Promise.resolve(t)),function(t,e,n,i){return function(r){return r.pipe(Object(q.a)(r=>(function(t,e,n,i,r){return new Ve(t,e,n,i,r).apply()})(t,e,n,r.extractedUrl,i).pipe(Object(f.a)(t=>Object.assign({},r,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(Q.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(B.a)(s=>(function(t,e,n,i,r="emptyOnly",s="legacy"){return new nn(t,e,n,i,r,s).recognize()})(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(f.a)(t=>Object.assign({},s,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(Q.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(Q.a)(t=>{const n=new lt(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:i,source:r,restoredState:o,extras:l}=t,a=new it(n,this.serializeUrl(i),r,o);e.next(a);const u=ue(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign({},t,{targetSnapshot:u,urlAfterRedirects:i,extras:Object.assign({},l,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),m.a}),dn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(Q.a)(t=>{const e=new at(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign({},t,{guards:Ke(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(B.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:l,canDeactivateChecks:a}}=n;return 0===a.length&&0===l.length?Object(s.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(B.a)(t=>(function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const l=o.map(s=>{const o=We(s,e,r);let l;if(function(t){return t&&Re(t.canDeactivate)}(o))l=Mt(o.canDeactivate(t,e,n,i));else{if(!Re(o))throw new Error("Invalid CanDeactivate guard");l=Mt(o(t,e,n,i))}return l.pipe(V())});return Object(s.a)(l).pipe(Qe())})(t.component,t.route,n,e,i)),V(t=>!0!==t,!0))}(a,i,r,t).pipe(Object(B.a)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return Object(o.a)(e).pipe(Object(G.a)(e=>Object(o.a)([Xe(e.route.parent,i),Ze(e.route,i),tn(t,e.path,n),Je(t,e.route,n)]).pipe(Object(g.a)(),V(t=>!0!==t,!0))),V(t=>!0!==t,!0))}(i,l,t,e):Object(s.a)(n)),Object(f.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(Q.a)(t=>{if(Pe(t.guardsResult)){const e=St(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(Q.a)(t=>{const e=new ut(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(b.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new st(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),dn(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(Q.a)(t=>{const e=new ct(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(B.a)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=n;return r.length?Object(o.a)(r).pipe(Object(G.a)(n=>(function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return hn(t[s],e,n,i).pipe(Object(f.a)(t=>({[s]:t})))}const l={};return Object(o.a)(r).pipe(Object(B.a)(r=>hn(t[r],e,n,i).pipe(Object(f.a)(t=>(l[r]=t,t))))).pipe(A(),Object(f.a)(()=>l))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null)))})(n.route,i,t,e)),function(t,e){return arguments.length>=2?function(n){return Object(Y.a)($(t,e),v(1),O(e))(n)}:function(e){return Object(Y.a)($((e,n,i)=>t(e,n,i+1)),v(1))(e)}}((t,e)=>t),Object(f.a)(t=>n)):Object(s.a)(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Object(Q.a)(t=>{const e=new ht(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),dn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const s=function(e,n,i){return n.children.map(n=>{for(const r of i.children)if(e.shouldReuseRoute(r.value.snapshot,n.value))return t(e,n,r);return t(e,n)})}(e,n,i);return new oe(r,s)}{const i=e.retrieve(n.value);if(i){const t=i.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 i=0;it(e,n));return new oe(i,s)}}var r}(t,e._root,n?n._root:void 0);return new ae(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(Q.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)}),Ie(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),Object(Q.a)({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new X(t))}(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new st(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}),M(n=>{if(i=!0,function(t){return t&&t[xt]}(n)){const i=Pe(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new st(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),t.resolve(!1),i&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new ot(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}return m.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",i=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ot(t),this.config=t.map(Tt),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:i,fragment:s,preserveQueryParams:o,queryParamsHandling:l,preserveFragment:a}=e;Object(r.V)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let h=null;if(l)switch(l){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=o?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,i,r){if(0===n.length)return ye(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ve(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return jt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ve(n,e,i)}(n);if(s.toRoot())return ye(e.root,new Ft([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new we(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new we(n.snapshot._urlSegment,!0,0);const i=_e(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new we(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),l=o.processChildren?Se(o.segmentGroup,o.index,s.commands):xe(o.segmentGroup,o.index,s.commands);return ye(o.segmentGroup,l,e,i,r)}(u,this.currentUrlTree,t,h,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(r.V)()&&this.isNgZoneEnabled&&!r.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Pe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new rt(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,i){const r=this.getTransition();if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"popstate"==e&&"hashchange"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);let s=null,o=null;const l=new Promise((t,e)=>{s=t,o=e}),a=++this.navigationId;return this.setTransition({id:a,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:s,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign({},i,{navigationId:n})):this.location.go(r,"",Object.assign({},i,{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 xn{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.V)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(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:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}class Sn{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof rt&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.V)()&&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,i){if(0!==t||e||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!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:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}function En(t){return""===t||!!t}class kn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new On,this.attachRef=null}}class On{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 kn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Dn{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.m,this.deactivateEvents=new r.m,this.name=i||vt,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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new In(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class In{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ce?this.route:t===On?this.childContexts:this.parent.get(t,e)}}class Tn{}class An{preload(t,e){return e().pipe(M(()=>Object(s.a)(null)))}}class Rn{preload(t,e){return Object(s.a)(null)}}class Pn{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new gn(e,n,e=>t.triggerEvent(new dt(e)),e=>t.triggerEvent(new pt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(b.a)(t=>t instanceof rt),Object(G.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.v);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(o.a)(n).pipe(Object(tt.a)(),Object(f.a)(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(B.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class jn{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 it?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof rt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof _t&&(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 _t(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Mn=new r.o("ROUTER_CONFIGURATION"),Nn=new r.o("ROUTER_FORROOT_GUARD"),Ln=[i.g,{provide:Ht,useClass:qt},{provide:Cn,useFactory:Un,deps:[r.g,Ht,On,i.g,r.p,r.u,r.i,fn,Mn,[bn,new r.y],[pn,new r.y]]},On,{provide:ce,useFactory:$n,deps:[Cn]},{provide:r.u,useClass:r.I},Pn,Rn,An,{provide:Mn,useValue:{enableTracing:!1}}];function Fn(){return new r.w("Router",Cn)}class Vn{constructor(t,e){}static forRoot(t,e){return{ngModule:Vn,providers:[Ln,qn(t),{provide:Nn,useFactory:Hn,deps:[[Cn,new r.y,new r.H]]},{provide:Mn,useValue:e||{}},{provide:i.h,useFactory:zn,deps:[i.r,[new r.n(i.a),new r.y],Mn]},{provide:jn,useFactory:Bn,deps:[Cn,i.s,Mn]},{provide:Tn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:Rn},{provide:r.w,multi:!0,useFactory:Fn},[Kn,{provide:r.d,multi:!0,useFactory:Wn,deps:[Kn]},{provide:Yn,useFactory:Gn,deps:[Kn]},{provide:r.b,multi:!0,useExisting:Yn}]]}}static forChild(t){return{ngModule:Vn,providers:[qn(t)]}}}function Bn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new jn(t,e,n)}function zn(t,e,n={}){return n.useHash?new i.e(t,e):new i.q(t,e)}function Hn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function qn(t){return[{provide:r.a,multi:!0,useValue:t},{provide:fn,multi:!0,useValue:t}]}function Un(t,e,n,i,r,s,o,l,a={},u,c){const h=new Cn(null,e,n,i,r,s,o,Rt(l));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),a.errorHandler&&(h.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(h.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=Object(et.r)();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(h.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(h.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(h.relativeLinkResolution=a.relativeLinkResolution),h}function $n(t){return t.routerState.root}class Kn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new l.a}appInitializer(){return this.injector.get(i.f,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Cn),i=this.injector.get(Mn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Mn),n=this.injector.get(Pn),i=this.injector.get(jn),s=this.injector.get(Cn),o=this.injector.get(r.g);t===o.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),s.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 Wn(t){return t.appInitializer.bind(t)}function Gn(t){return t.bootstrapListener.bind(t)}const Yn=new r.o("Router Initializer")},itXk:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("z+Ro"),r=n("DH7j"),s=n("l7GE"),o=n("ZUHj"),l=n("yCtX");const a={};function u(...t){let e=null,n=null;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(l.a)(t,n).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends s.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(a),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{const i=new r.a;let s=0;return i.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var i=n("KqfI");function r(...t){return s(t)}function s(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:i.a}},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",(function(){return i}))},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=t=>e=>{for(let n=0,i=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 i=e.id,r=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(r,t),e.data.animation.forEach(e=>this.engine.registerTrigger(i,r,t,e.name,e)),new m(this,r,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,i){this.delegate.setAttribute(t,e,n,i)}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,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==c&&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 m extends p{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==c?"."==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)==c){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=c&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class f extends s.b{constructor(t,e,n){super(t.body,e,n)}}function g(){return Object(s.h)()?new s.f:new s.d}function b(){return new s.g}function _(t,e,n){return new d(t,e,n)}const y=new i.o("AnimationModuleType");class v{}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{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 i.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)}}},quSY:function(t,e,n){"use strict";var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return l}));let l=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof o?e.errors:e),[])}},s6ns:function(t,e,n){"use strict";n.d(e,"k",(function(){return T})),n.d(e,"d",(function(){return C})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return w})),n.d(e,"e",(function(){return x})),n.d(e,"i",(function(){return g})),n.d(e,"g",(function(){return E})),n.d(e,"m",(function(){return k})),n.d(e,"j",(function(){return O})),n.d(e,"f",(function(){return D})),n.d(e,"h",(function(){return m})),n.d(e,"l",(function(){return _})),n("GS7A");var i=n("8Y7J"),r=n("zMNK"),s=n("dvZr"),o=n("XNiG"),l=n("NXyV"),a=n("LRne"),u=n("pLZG"),c=n("IzEk"),h=n("JX91"),d=n("IP0z"),p=n("QQfA");class m{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function f(){throw Error("Attempting to attach dialog content after content is already attached")}class g extends r.a{constructor(t,e,n,r,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=r,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new i.m,this._ariaLabelledBy=s.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}let b=0;class _{constructor(t,e,n,i=`mat-dialog-${b++}`){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new o.a,this._afterClosed=new o.a,this._beforeClosed=new o.a,this._state=0,e._id=i,e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(c.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(c.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===s.e&&!this.disableClose&&!Object(s.o)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>"start"===t.phaseName),Object(c.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const y=new i.o("MatDialogData"),v=new i.o("mat-dialog-default-options"),w=new i.o("mat-dialog-scroll-strategy");function C(t){return()=>t.scrollStrategies.block()}class x{constructor(t,e,n,i,r,s,a){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new o.a,this._afterOpenedAtThisLevel=new o.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(l.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(h.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new m)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new p.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[m,e]])),i=new r.c(g,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,s){const o=new _(n,e,this._location,s.id);if(s.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof i.K)e.attachTemplatePortal(new r.g(t,null,{$implicit:s.data,dialogRef:o}));else{const n=this._createInjector(s,o,e),i=e.attachComponentPortal(new r.c(t,void 0,n));o.componentInstance=i.instance}return o.updateSize(s.width,s.height).updatePosition(s.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=new WeakMap([[g,n],[y,t.data],[_,e]]);return!t.direction||i&&i.get(d.b,null)||s.set(d.b,{value:t.direction,change:Object(a.a)()}),new r.e(i||this._injector,s)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}let S=0;class E{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}class k{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id=`mat-dialog-title-${S++}`}ngOnInit(){this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}class O{}class D{}function I(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}class T{}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),r=n("KqfI"),s=n("n6bG");function o(t,e,n){return function(i){return i.lift(new l(t,e,n))}}class l{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))}}class a extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.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()}}},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));class i{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.admin}get isStaff(){return"staff"===this.role}get isAdmin(){return this.isStaff&&this.admin}get isLogged(){return null!=this.user}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("DH7j"),s=n("n6bG"),o=n("lJxs");function l(t,e,n,a){return Object(s.a)(n)&&(a=n,n=void 0),a?l(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?a(...t):a(t))):new i.a(i=>{!function t(e,n,i,r,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,s),o=()=>t.removeEventListener(n,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,i),o=()=>t.off(n,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),o=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,l=e.length;o1?Array.prototype.slice.call(arguments):t)}),i,n)})}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),s=n("jZKg");function o(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return i}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return l})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return d}));var i=n("8Y7J");function r(){throw Error("Host already has a portal attached")}class s{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&r(),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 s{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class l extends s{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 a{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&r(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(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 u extends a{constructor(t,e,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i}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 c extends a{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.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),i=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}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 i=n("8Y7J"),r=n("AytR");class s{}class o{constructor(){this.title="uds"}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}var l=n("iInd"),a=i.pb({encapsulation:2,styles:[],data:{}});function u(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i.qb(1,212992,null,0,l.o,[l.b,i.N,i.j,[8,null],i.h],null,null)],(function(t,e){t(e,1,0)}),null)}function c(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,a)),i.qb(1,49152,null,0,l.C,[],null,null)],null,null)}var h=i.nb("ng-component",l.C,c,{},{},[]),d=n("GS7A"),p=n("zMNK"),m=n("XNiG"),f=n("quSY"),g=n("VRyK"),b=n("LRne"),_=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),w=n("KCVW"),C=n("dvZr"),x=n("JX91"),S=n("eIep"),E=n("IzEk"),k=n("pLZG"),O=n("1G5W"),D=n("D0XW"),I=n("7o/Q"),T=n("WMd4");function A(t,e=D.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new R(i,e))}class R{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new P(t,this.delay,this.scheduler))}}class P extends I.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(P.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(T.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(T.a.createComplete()),this.unsubscribe()}}class j{constructor(t,e){this.time=t,this.notification=e}}var M=n("QQfA"),N=n("/HVE");const L=new i.o("MAT_MENU_PANEL");class F{}const V=Object(v.A)(Object(v.B)(F));class B extends V{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new m.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),i&&i.addItem&&i.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const i=t.childNodes.length;for(let r=0;r')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(w.b)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(w.b)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(x.a)(this._directDescendantItems),Object(S.a)(t=>Object(g.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case C.e:Object(C.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case C.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case C.f:case C.c:Object(C.o)(t)||(e===C.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==C.l&&e!==C.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){const e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(E.a)(1)).subscribe(()=>e.setFocusOrigin(t).setFirstItemActive()):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${H+t}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(x.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}class U extends q{}class $ extends U{constructor(t,e,n){super(t,e,n)}}const K=new i.o("mat-menu-scroll-strategy");function W(t){return()=>t.scrollStrategies.reposition()}const G=8,Y=Object(N.f)({passive:!0});class Q{constructor(t,e,n,r,s,o,l,a){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=s,this._menuItemInstance=o,this._dir=l,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Y),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Y),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof U&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof U?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(k.a)(t=>"void"===t.toState),Object(E.a)(1),Object(O.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new M.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[i,r],[l,a]=[e,n],u=0;this.triggersSubmenu()?(a=e="before"===this.menu.xPosition?"start":"end",n=l="end"===e?"start":"end",u="bottom"===i?G:-G):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:l,overlayY:i,offsetY:u},{originX:n,originY:s,overlayX:a,overlayY:i,offsetY:u},{originX:e,originY:o,overlayX:l,overlayY:r,offsetY:-u},{originX:n,originY:o,overlayX:a,overlayY:r,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(b.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(k.a)(t=>t!==this._menuItemInstance),Object(k.a)(()=>this._menuOpen)):Object(b.a)();return Object(g.a)(t,n,i,e)}_handleMousedown(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===C.i&&"ltr"===this.dir||e===C.g&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(k.a)(t=>t===this._menuItemInstance&&!t.disabled),A(0,_.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof U&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(E.a)(1),A(0,_.a),Object(O.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}class Z{}class X{}var J=n("IP0z"),tt=n("cUpR"),et=n("SVse"),nt=n("hOhj"),it=n("omvX"),rt=i.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-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;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function st(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=!1!==r._onAnimationStart(n)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(2,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),i.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function ot(t){return i.Mb(2,[i.Ib(671088640,1,{templateRef:0}),(t()(),i.gb(0,[[1,2]],null,0,null,st))],null,null)}var lt=i.pb({encapsulation:2,styles:[],data:{}});function at(t){return i.Mb(2,[i.Cb(null,0),(t()(),i.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.qb(2,212992,null,0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,i.Db(e,2).unbounded)}))}class ut{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}const ct="accent",ht=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class dt{constructor(t){this._elementRef=t}}const pt=Object(v.z)(Object(v.B)(Object(v.A)(dt)));class mt extends pt{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 i of ht)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color=ct)}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 ft extends mt{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class gt{}var bt=i.pb({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 _t(t){return i.Mb(2,[i.Ib(671088640,1,{ripple:0}),(t()(),i.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(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)),i.qb(4,212992,[[1,4]],0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),i.rb(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,i.Db(e,4).unbounded)}))}var yt=i.pb({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 vt(t){return i.Mb(2,[i.Ib(671088640,1,{ripple:0}),(t()(),i.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(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)),i.qb(4,212992,[[1,4]],0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),i.rb(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,i.Db(e,4).unbounded)}))}var wt=n("itXk"),Ct=n("GyhO"),xt=n("HDdC");class St{constructor(t){this.total=t}call(t,e){return e.subscribe(new Et(t,this.total))}}class Et extends I.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var kt=n("Kj3r"),Ot=n("lJxs");class Dt{}const It=new Set;let Tt,At=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rt}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!It.has(t))try{Tt||((Tt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Tt)),Tt.sheet&&(Tt.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),It.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(N.a))},token:t,providedIn:"root"}),t})();function Rt(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Pt=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new m.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return jt(Object(w.a)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=jt(Object(w.a)(t)).map(t=>this._registerQuery(t).observable);let n=Object(wt.a)(e);return(n=Object(Ct.a)(n.pipe(Object(E.a)(1)),n.pipe(t=>t.lift(new St(1)),Object(kt.a)(0)))).pipe(Object(Ot.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 xt.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(x.a)(e),Object(Ot.a)(e=>({query:t,matches:e.matches})),Object(O.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(At),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();function jt(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Mt={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)"},Nt=20,Lt="mat-tooltip-panel";function Ft(t){return Error(`Tooltip position "${t}" is invalid.`)}const Vt=new i.o("mat-tooltip-scroll-strategy");function Bt(t){return()=>t.scrollStrategies.reposition({scrollThrottle:Nt})}const zt=new i.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});class Ht{constructor(t,e,n,i,r,s,o,l,a,u,c,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._ariaDescriber=o,this._focusMonitor=l,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new m.a,this._scrollStrategy=a;const d=e.nativeElement,p="undefined"==typeof window||window.Hammer||h;s.IOS||s.ANDROID?p||this._manualListeners.set("touchstart",()=>this.show()):this._manualListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide()),this._manualListeners.forEach((t,e)=>d.addEventListener(e,t)),l.monitor(e).pipe(Object(O.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),c&&c.position&&(this.position=c.position)}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(w.b)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){const t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((t,e)=>{this._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(qt,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(t){this._isTooltipVisible()&&t.keyCode===C.e&&!Object(C.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions.touchendHideDelay)}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(O.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:Lt,scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ft(e);n={originX:"end",originY:"center"}}const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ft(e);n={overlayX:"start",overlayY:"center"}}const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(E.a)(1),Object(O.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}}class qt{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new m.a,this._isHandset=this._breakpointObserver.observe(Mt.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class Ut{}var $t=n("KIbp");const Kt=56;class Wt{constructor(t){this.api=t}ngOnInit(){}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>Kt&&(t=t.substring(0,Kt-3)+"..."),t}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""}get serviceClass(){const t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert(' '+django.gettext("Launcher")+"
",t)}launch(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching(''+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
'+this.api.config.messages.calendarDenied+'
'):(null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link))}action(t){const e="release"===t?django.gettext("Release service: "):django.gettext("Reset service: ")+this.serviceName,n="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(e,django.gettext("Are you sure?")).subscribe(i=>{i&&this.api.action(t,this.service.id).subscribe(t=>{t&&this.api.gui.alert(e,n)})})}}var Gt=i.pb({encapsulation:0,styles:[[".service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.2em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;height:1.5em;padding:0 .5em}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgb(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]::before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-family:'Material Icons';font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]::before{color:#fc0000;content:'update'}.maintenance[_ngcontent-%COMP%]::before{color:#fcb900;content:'build'}.tobereplaced[_ngcontent-%COMP%]::before{color:#fc0000;content:'delete_forever'}"]],data:{}});function Yt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.launch(t.context.$implicit)&&r),r}),at,lt)),i.qb(1,180224,[[1,4],[2,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,2,"div",[["class","transport-item"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.Kb(4,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null),t(e,3,0,n.getTransportIcon(e.context.$implicit.id)),t(e,4,0,e.context.$implicit.name)}))}function Qt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.action("release")&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["delete"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,[" Release service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function Zt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.action("reset")&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["refresh"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,[" Reset service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function Xt(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Connections"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,4)),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null)}))}function Jt(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Actions"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,13)),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null)}))}function te(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["menu"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,24))}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).menuOpen||null)}))}function ee(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,8,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(4,1294336,[["transports",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,1,{_allItems:1}),i.Ib(603979776,2,{items:1}),i.Ib(603979776,3,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Yt)),i.qb(9,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(10,0,null,null,10,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(13,1294336,[["actions",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,4,{_allItems:1}),i.Ib(603979776,5,{items:1}),i.Ib(603979776,6,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Qt)),i.qb(18,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,Zt)),i.qb(20,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(21,0,null,null,10,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(24,1294336,[["menu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,7,{_allItems:1}),i.Ib(603979776,8,{items:1}),i.Ib(603979776,9,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Xt)),i.qb(29,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,Jt)),i.qb(31,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(32,16777216,null,null,10,"div",[["matTooltipPosition","above"],["matTooltipShowDelay","1000"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var r=!0;return"longpress"===e&&(r=!1!==i.Db(t,35).show()&&r),"keydown"===e&&(r=!1!==i.Db(t,35)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==i.Db(t,35)._handleTouchend()&&r),r}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(34,278528,null,0,et.i,[et.v],{ngClass:[0,"ngClass"]},null),i.qb(35,212992,null,0,Ht,[M.c,i.k,nt.a,i.N,i.x,N.a,y.c,y.e,Vt,[2,J.b],[2,zt],[2,tt.f]],{position:[0,"position"],disabled:[1,"disabled"],showDelay:[2,"showDelay"],message:[3,"message"]},null),(t()(),i.rb(36,0,null,null,1,"div",[["class","icon"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.launch(null)&&i),i}),null,null)),(t()(),i.rb(37,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(38,0,null,null,1,"div",[["class","name"]],null,null,null,null,null)),(t()(),i.Kb(39,null,[" "," "])),(t()(),i.rb(40,0,null,null,2,"div",[["class","menu"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,te)),i.qb(42,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0),t(e,9,0,n.service.transports),t(e,13,0),t(e,18,0,n.service.allow_users_remove),t(e,20,0,n.service.allow_users_reset),t(e,24,0),t(e,29,0,n.showTransportsMenu()),t(e,31,0,n.hasActions()),t(e,34,0,n.serviceClass),t(e,35,0,"above",""===n.serviceTooltip,"1000",n.serviceTooltip),t(e,42,0,n.hasMenu())}),(function(t,e){var n=e.component;t(e,37,0,n.serviceImage),t(e,39,0,n.serviceName)}))}function ne(t){return i.Mb(0,[(t()(),i.gb(16777216,null,null,1,null,ee)),i.qb(1,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.service.transports.length>0)}),null)}let ie=0;class re{constructor(){this._stateChanges=new m.a,this._openCloseAllActions=new m.a,this.id=`cdk-accordion-${ie++}`,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(w.b)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}let se=0;class oe{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new i.m,this.opened=new i.m,this.destroyed=new i.m,this.expandedChange=new i.m,this.id=`cdk-accordion-child-${se++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(w.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(w.b)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}class le{}var ae=n("EY2u"),ue=n("/uUt");const ce=new i.o("MAT_ACCORDION");let he=0;const de=new i.o("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class pe extends oe{constructor(t,e,n,r,s,o,l){super(t,e,n),this._viewContainerRef=r,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new i.m,this.afterCollapse=new i.m,this._inputChanges=new m.a,this._headerId=`mat-expansion-panel-header-${he++}`,this._bodyAnimationDone=new m.a,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(Object(ue.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(w.b)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(x.a)(null),Object(k.a)(()=>this.expanded&&!this._portal),Object(E.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}class me{constructor(t,e,n,i,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;const s=t.accordion?t.accordion._stateChanges.pipe(Object(k.a)(t=>!(!t.hideToggle&&!t.togglePosition))):ae.a;this._parentChangeSubscription=Object(g.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(k.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(k.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case C.j:case C.d:Object(C.o)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}class fe{}class ge{}class be extends re{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(w.b)(t)}ngAfterContentInit(){this._keyManager=new y.d(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===C.f?Object(C.o)(t)||(n.setFirstItemActive(),t.preventDefault()):e===C.c?Object(C.o)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}class _e{}var ye=n("8bJo"),ve=i.pb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function we(t){return i.Mb(0,[(t()(),i.gb(0,null,null,0))],null,null)}function Ce(t){return i.Mb(2,[i.Ib(671088640,1,{_body:0}),i.Cb(null,0),(t()(),i.rb(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var i=!0;return"@bodyExpansion.done"===e&&(i=!1!==t.component._bodyAnimationDone.next(n)&&i),i}),null,null)),(t()(),i.rb(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),i.Cb(null,1),(t()(),i.gb(16777216,null,null,1,null,we)),i.qb(6,212992,null,0,p.b,[i.j,i.N],{portal:[0,"portal"]},null),i.Cb(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var xe=i.pb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function Se(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function Ee(t){return i.Mb(2,[(t()(),i.rb(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),i.Cb(null,0),i.Cb(null,1),i.Cb(null,2),(t()(),i.gb(16777216,null,null,1,null,Se)),i.qb(5,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}class ke{constructor(t){this.api=t,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,e)=>t.name>e.name?1:t.name{this.servicesInformation=t,console.log(t),this.group=[],this.autorun();let e=null;this.servicesInformation.services.sort((t,e)=>t.group.priority!==e.group.priority?t.group.priority-e.group.priority:t.group.id>e.group.id?1:t.group.id{null!==e&&t.group.id===e.group.id||(null!==e&&this.group.push(e),e=new Ae(t.group)),e.services.push(t)}),null!==e&&this.group.push(e),console.log(this.group)})}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}}var Pe=i.pb({encapsulation:0,styles:[[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]],data:{}});function je(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-services-group",[],null,null,null,Te,Oe)),i.qb(1,114688,null,0,ke,[$t.a],{services:[0,"services"],group:[1,"group"],expanded:[2,"expanded"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.services,e.context.$implicit.group,0==e.context.index)}),null)}function Me(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"div",[["class","services-groups"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),i.Hb(6144,null,ce,null,[be]),i.qb(3,1720320,null,1,be,[],null,null),i.Ib(603979776,1,{_headers:1}),(t()(),i.gb(16777216,null,null,1,null,je)),i.qb(6,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,6,0,e.component.group)}),null)}function Ne(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-services-page",[],null,null,null,Me,Pe)),i.qb(1,114688,null,0,Re,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Le=i.nb("uds-services-page",Re,Ne,{},{},[]),Fe=i.pb({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function Ve(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,He,ze)),i.qb(1,49152,null,0,v.r,[[2,it.a]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===i.Db(e,1).state,"checked"===i.Db(e,1).state,i.Db(e,1).disabled,"NoopAnimations"===i.Db(e,1)._animationMode)}))}function Be(t){return i.Mb(2,[(t()(),i.gb(16777216,null,null,1,null,Ve)),i.qb(1,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.qb(5,212992,null,0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,i.Db(e,5).unbounded)}))}var ze=i.pb({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function He(t){return i.Mb(2,[],null,null)}var qe=n("xgIS");class Ue{}function $e(t){return Error(`A hint was already declared for 'align="${t}"'.`)}class Ke{}let We=0;const Ge=.75,Ye=5;class Qe{constructor(t){this._elementRef=t}}const Ze=Object(v.z)(Qe,"primary"),Xe=new i.o("MAT_FORM_FIELD_DEFAULT_OPTIONS");class Je extends Ze{constructor(t,e,n,i,r,s,o,l){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new m.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${We++}`,this._labelId=`mat-form-field-label-${We++}`,this._previousDirection="ltr",this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==l,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(w.b)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(x.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(O.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(g.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(x.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(x.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(O.a)(this._destroyed)).subscribe(()=>{this.updateOutlineGap(),this._previousDirection=this._dir.value})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(qe.a)(this._label.nativeElement,"transitionend").pipe(Object(E.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw $e("start");t=n}else if("end"===n.align){if(e)throw $e("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=this._getStartEnd(t.children[0].getBoundingClientRect());let l=0;for(const e of t.children)l+=e.offsetWidth;e=o-s-Ye,n=l>0?l*Ge+2*Ye:0}for(let o=0;o enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function rn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),i.rb(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),i.rb(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function sn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),i.Cb(null,0)],null,null)}function on(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,3,null,null,null,null,null,null,null)),i.Cb(null,2),(t()(),i.rb(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i.Kb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function ln(t){return i.Mb(0,[i.Cb(null,3),(t()(),i.gb(0,null,null,0))],null,null)}function an(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" *"]))],null,null)}function un(t){return i.Mb(0,[(t()(),i.rb(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component.updateOutlineGap()&&i),i}),null,null)),i.qb(1,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),i.qb(2,1196032,null,0,en.a,[en.b,i.k,i.x],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),i.gb(16777216,null,null,1,null,on)),i.qb(4,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,ln)),i.qb(6,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,an)),i.qb(8,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function cn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),i.Cb(null,4)],null,null)}function hn(t){return i.Mb(0,[(t()(),i.rb(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function dn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),i.Cb(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function pn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function mn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,pn)),i.qb(2,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),i.Cb(null,6),(t()(),i.rb(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),i.Cb(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function fn(t){return i.Mb(2,[i.Ib(671088640,1,{underlineRef:0}),i.Ib(402653184,2,{_connectionContainerRef:0}),i.Ib(671088640,3,{_inputContainerRef:0}),i.Ib(671088640,4,{_label:0}),(t()(),i.rb(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),i.rb(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i}),null,null)),(t()(),i.gb(16777216,null,null,1,null,rn)),i.qb(7,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,sn)),i.qb(9,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),i.Cb(null,1),(t()(),i.rb(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,un)),i.qb(14,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,cn)),i.qb(16,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,hn)),i.qb(18,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),i.qb(20,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,dn)),i.qb(22,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,mn)),i.qb(24,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var gn=n("NXyV");let bn=0;const _n=256,yn=16,vn=2*yn,wn=3,Cn=1.5*yn+16,xn=8,Sn=new i.o("mat-select-scroll-strategy");function En(t){return()=>t.scrollStrategies.reposition()}class kn{constructor(t,e){this.source=t,this.value=e}}class On{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const Dn=Object(v.A)(Object(v.D)(Object(v.B)(Object(v.C)(On))));class In extends Dn{constructor(t,e,n,r,s,o,l,a,u,c,h,d,p){super(s,r,l,a,c),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=u,this.ngControl=c,this._liveAnnouncer=p,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid=`mat-select-${bn++}`,this._destroy=new m.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new m.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(gn.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(x.a)(t),Object(S.a)(()=>Object(g.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(E.a)(1),Object(S.a)(()=>this.optionSelectionChanges))}),this.openedChange=new i.m,this._openedStream=this.openedChange.pipe(Object(k.a)(t=>t),Object(Ot.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(k.a)(t=>!t),Object(Ot.a)(()=>{})),this.selectionChange=new i.m,this.valueChange=new i.m,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}set focused(t){this._focused=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(w.b)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(w.b)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(w.b)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ye.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(ue.a)(),Object(O.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(O.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.onChange.pipe(Object(O.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(x.a)(null),Object(O.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(E.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===C.b||e===C.l||e===C.g||e===C.i,i=this._keyManager;if((e===C.d||e===C.j)&&!Object(C.o)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===C.f||e===C.c?(e===C.f?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault()):i.onKeydown(t);const r=this.selected;this._liveAnnouncer&&r&&n!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(t){const e=t.keyCode,n=e===C.b||e===C.l,i=this._keyManager;if(e===C.f||e===C.c)t.preventDefault(),e===C.f?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==C.d&&e!==C.j||!i.activeItem||Object(C.o)(t))if(this._multiple&&e===C.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const e=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==e&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(E.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(i.V)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new y.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(O.a)(this._destroy)).subscribe(()=>{this.focus(),this.close()}),this._keyManager.change.pipe(Object(O.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(g.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(O.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(g.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(O.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new kn(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(v.x)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(v.y)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,_n)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,i)=>void 0===e?t===n?i:void 0:e,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,_n),i=e*t-n;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(v.x)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?Cn+yn:2*yn;let r;if(this.multiple)r=Cn;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?vn:yn}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),o=t.right+r-e.width+(n?0:i);s>0?r+=s+xn:o>0&&(r-=o+xn),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(_n/i);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-_n)%i):e-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-xn,r=n.height-this._triggerRect.bottom-xn,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,_n)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return this._triggerFontSize*wn}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}class Tn{}var An=n("DH7j"),Rn=n("XoHu"),Pn=n("Cfvw");function jn(t,e){return new xt.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l{u||(u=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{++s!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}class Mn{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Nn extends Mn{get formDirective(){return null}get path(){return null}}function Ln(t){return null==t||0===t.length}const Fn=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Vn{static min(t){return e=>{if(Ln(e.value)||Ln(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Ln(e.value)||Ln(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Ln(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Ln(t.value)?null:Fn.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Ln(e.value))return null;const n=e.value?e.value.length:0;return n{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return Vn.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Ln(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Bn);return 0==e.length?null:function(t){return Hn(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Bn);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(Object(An.a)(e))return jn(e,null);if(Object(Rn.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return jn(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return jn(t=1===t.length&&Object(An.a)(t[0])?t[0]:t,null).pipe(Object(Ot.a)(t=>e(...t)))}return jn(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(zn)).pipe(Object(Ot.a)(Hn))}}}function Bn(t){return null!=t}function zn(t){const e=Object(i.yb)(t)?Object(Pn.a)(t):t;if(!Object(i.xb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Hn(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function qn(t){return t.validate?e=>t.validate(e):t}function Un(t){return t.validate?e=>t.validate(e):t}const $n={formControlName:'\n \n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n ',ngModelWithFormGroup:'\n \n \n \n
\n '};class Kn{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formControlName}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${$n.formGroupName}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${$n.ngModelGroup}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${$n.formControlName}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formGroupName}`)}static arrayParentException(){throw new Error(`formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formArrayName}`)}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function Wn(t,e){t||Zn(e,"Cannot find control with"),e.valueAccessor||Zn(e,"No value accessor for form control with"),t.validator=Vn.compose([t.validator,e.validator]),t.asyncValidator=Vn.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Gn(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Gn(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Gn(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Yn(t,e){null==t&&Zn(e,"Cannot find control with"),t.validator=Vn.compose([t.validator,e.validator]),t.asyncValidator=Vn.composeAsync([t.asyncValidator,e.asyncValidator])}function Qn(t){return Zn(t,"There is no FormControl instance attached to form control element with")}function Zn(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function Xn(t){return null!=t?Vn.compose(t.map(qn)):null}function Jn(t){return null!=t?Vn.composeAsync(t.map(Un)):null}function ti(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ei(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ni="VALID",ii="INVALID",ri="PENDING",si="DISABLED";function oi(t){const e=ai(t)?t.validators:t;return Array.isArray(e)?Xn(e):e||null}function li(t,e){const n=ai(e)?e.asyncValidators:t;return Array.isArray(n)?Jn(n):n||null}function ai(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ui{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return this.status===ni}get invalid(){return this.status===ii}get pending(){return this.status==ri}get disabled(){return this.status===si}get enabled(){return this.status!==si}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=oi(t)}setAsyncValidators(t){this.asyncValidator=li(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ri,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=si,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ni,this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ni&&this.status!==ri||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?si:ni}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ri;const e=zn(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof hi?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof di&&t.at(e)||null,t))}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.m,this.statusChanges=new i.m}_calculateStatus(){return this._allControlsDisabled()?si:this.errors?ii:this._anyControlsHaveStatus(ri)?ri:this._anyControlsHaveStatus(ii)?ii:ni}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ai(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ci extends ui{constructor(t=null,e,n){super(oi(e),li(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class hi extends ui{constructor(t,e,n){super(oi(e),li(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ci?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,i)=>{e=e||this.contains(i)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class di extends ui{constructor(t,e,n){super(oi(e),li(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ci?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const pi=(()=>Promise.resolve(null))();class mi extends Nn{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.m,this.form=new hi({},Xn(t),Jn(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){pi.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Wn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){pi.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ei(this._directives,t)})}addFormGroup(t){pi.then(()=>{const e=this._findContainer(t.path),n=new hi({});Yn(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){pi.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){pi.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ti(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}class fi extends Nn{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.m}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Wn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ei(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Yn(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Yn(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,ti(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Qn(e)),e.valueAccessor.registerOnTouched(()=>Qn(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Wn(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=Xn(this._validators);this.form.validator=Vn.compose([this.form.validator,t]);const e=Jn(this._asyncValidators);this.form.asyncValidator=Vn.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||Kn.missingFormException()}}var gi=i.pb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function bi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function _i(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function yi(t){return i.Mb(0,[i.Cb(null,0),(t()(),i.gb(0,null,null,0))],null,null)}function vi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),i.qb(1,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,_i)),i.qb(3,16384,null,0,et.p,[i.N,i.K,et.n],null,null),(t()(),i.gb(16777216,null,null,1,null,yi)),i.qb(5,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function wi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),i.rb(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"@transformPanel.done"===e&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(3,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Cb(null,1)],(function(t,e){var n=e.component;t(e,3,0,i.vb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function Ci(t){return i.Mb(2,[i.Ib(671088640,1,{trigger:0}),i.Ib(671088640,2,{panel:0}),i.Ib(671088640,3,{overlayDir:0}),(t()(),i.rb(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle()&&i),i}),null,null)),i.qb(4,16384,[["origin",4]],0,M.b,[i.k],null,null),(t()(),i.rb(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),i.qb(6,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,bi)),i.qb(8,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,vi)),i.qb(10,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.rb(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),i.rb(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,(function(t,e,n){var i=!0,r=t.component;return"backdropClick"===e&&(i=!1!==r.close()&&i),"attach"===e&&(i=!1!==r._onAttached()&&i),"detach"===e&&(i=!1!==r.close()&&i),i}),wi)),i.qb(14,671744,[[3,4]],0,M.a,[M.c,i.K,i.N,M.j,[2,J.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,i.Db(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}n("3UWI");const xi=Object(N.f)({passive:!0});let Si=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return ae.a;const e=Object(w.d)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const i=new m.a,r="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,xi),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",s,xi)}}),i.asObservable()}stopMonitoring(t){const e=Object(w.d)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(N.a),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();class Ei{}const ki=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Oi=0;class Di{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const Ii=Object(v.C)(Di);class Ti extends Ii{constructor(t,e,n,i,r,s,o,l,a){super(s,i,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=l,this._uid=`mat-input-${Oi++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new m.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(N.e)().has(t));const u=this._elementRef.nativeElement;this._inputValueAccessor=o||u,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&a.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===u.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=u.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(w.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(w.b)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(N.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(w.b)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(ki.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}class Ai{}var Ri=n("D8EZ"),Pi=i.pb({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]],data:{}});function ji(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==i.Db(t,1)._handleKeydown(n)&&r),r}),Be,Fe)),i.qb(1,8568832,[[28,4]],0,v.p,[i.k,i.h,[2,v.j],[2,v.o]],{value:[0,"value"]},null),(t()(),i.Kb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.id)}),(function(t,e){t(e,0,0,i.Db(e,1)._getTabIndex(),i.Db(e,1).selected,i.Db(e,1).multiple,i.Db(e,1).active,i.Db(e,1).id,i.Db(e,1)._getAriaSelected(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function Mi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,25,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,24,"mat-form-field",[["appaerance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(2,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],null,null),i.Ib(603979776,19,{_controlNonStatic:0}),i.Ib(335544320,20,{_controlStatic:0}),i.Ib(603979776,21,{_labelChildNonStatic:0}),i.Ib(335544320,22,{_labelChildStatic:0}),i.Ib(603979776,23,{_placeholderChild:0}),i.Ib(603979776,24,{_errorChildren:1}),i.Ib(603979776,25,{_hintChildren:1}),i.Ib(603979776,26,{_prefixChildren:1}),i.Ib(603979776,27,{_suffixChildren:1}),(t()(),i.rb(12,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(13,16384,[[21,4],[22,4]],0,Ke,[],null,null),(t()(),i.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(15,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Authenticator"])),(t()(),i.rb(17,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var r=!0,s=t.component;return"keydown"===e&&(r=!1!==i.Db(t,19)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==i.Db(t,19)._onFocus()&&r),"blur"===e&&(r=!1!==i.Db(t,19)._onBlur()&&r),"selectionChange"===e&&(r=!1!==s.changeAuth(n.value)&&r),r}),Ci,gi)),i.Hb(6144,null,v.j,null,[In]),i.qb(19,2080768,null,3,In,[nt.d,i.h,i.x,v.b,i.k,[2,J.b],[2,mi],[2,fi],[2,Je],[8,null],[8,null],Sn,y.g],{value:[0,"value"]},{selectionChange:"selectionChange"}),i.Ib(603979776,28,{options:1}),i.Ib(603979776,29,{optionGroups:1}),i.Ib(603979776,30,{customTrigger:0}),i.Hb(2048,[[19,4],[20,4]],Ue,null,[In]),(t()(),i.gb(16777216,null,1,1,null,ji)),i.qb(25,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,15,0),t(e,19,0,n.auths[0].id),t(e,25,0,n.auths)}),(function(t,e){t(e,1,1,["standard"==i.Db(e,2).appearance,"fill"==i.Db(e,2).appearance,"outline"==i.Db(e,2).appearance,"legacy"==i.Db(e,2).appearance,i.Db(e,2)._control.errorState,i.Db(e,2)._canLabelFloat,i.Db(e,2)._shouldLabelFloat(),i.Db(e,2)._hasFloatingLabel(),i.Db(e,2)._hideControlPlaceholder(),i.Db(e,2)._control.disabled,i.Db(e,2)._control.autofilled,i.Db(e,2)._control.focused,"accent"==i.Db(e,2).color,"warn"==i.Db(e,2).color,i.Db(e,2)._shouldForward("untouched"),i.Db(e,2)._shouldForward("touched"),i.Db(e,2)._shouldForward("pristine"),i.Db(e,2)._shouldForward("dirty"),i.Db(e,2)._shouldForward("valid"),i.Db(e,2)._shouldForward("invalid"),i.Db(e,2)._shouldForward("pending"),!i.Db(e,2)._animationsEnabled]),t(e,17,1,[i.Db(e,19).id,i.Db(e,19).tabIndex,i.Db(e,19)._getAriaLabel(),i.Db(e,19)._getAriaLabelledby(),i.Db(e,19).required.toString(),i.Db(e,19).disabled.toString(),i.Db(e,19).errorState,i.Db(e,19).panelOpen?i.Db(e,19)._optionIds:null,i.Db(e,19).multiple,i.Db(e,19)._ariaDescribedby||null,i.Db(e,19)._getAriaActiveDescendant(),i.Db(e,19).disabled,i.Db(e,19).errorState,i.Db(e,19).required,i.Db(e,19).empty])}))}function Ni(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,57,"form",[["id","loginform"],["method","post"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"input",[["id","token"],["name",""],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"input",[["id","id_logouturl"],["name","logouturl"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"input",[["id","authenticator"],["name","authenticator"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,53,"div",[["class","login-container"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,1,"div",[["class","login-brand"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(7,0,null,null,1,"div",[["class","login-info"]],null,null,null,null,null)),(t()(),i.Kb(8,null,[" "," "])),(t()(),i.rb(9,0,null,null,48,"div",[["class","login-form"]],null,null,null,null,null)),(t()(),i.rb(10,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(12,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],{appearance:[0,"appearance"]},null),i.Ib(603979776,1,{_controlNonStatic:0}),i.Ib(335544320,2,{_controlStatic:0}),i.Ib(603979776,3,{_labelChildNonStatic:0}),i.Ib(335544320,4,{_labelChildStatic:0}),i.Ib(603979776,5,{_placeholderChild:0}),i.Ib(603979776,6,{_errorChildren:1}),i.Ib(603979776,7,{_hintChildren:1}),i.Ib(603979776,8,{_prefixChildren:1}),i.Ib(603979776,9,{_suffixChildren:1}),(t()(),i.rb(22,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(23,16384,[[3,4],[4,4]],0,Ke,[],null,null),(t()(),i.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(25,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Username"])),(t()(),i.rb(27,0,null,1,2,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["id","id_user"],["matInput",""],["name","user"],["required",""],["value",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var r=!0;return"blur"===e&&(r=!1!==i.Db(t,28)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==i.Db(t,28)._focusChanged(!0)&&r),"input"===e&&(r=!1!==i.Db(t,28)._onInput()&&r),r}),null,null)),i.qb(28,999424,null,0,Ti,[i.k,N.a,[8,null],[2,mi],[2,fi],v.b,[8,null],Si,i.x],{id:[0,"id"],required:[1,"required"],value:[2,"value"]},null),i.Hb(2048,[[1,4],[2,4]],Ue,null,[Ti]),(t()(),i.rb(30,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(31,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(32,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],{appearance:[0,"appearance"]},null),i.Ib(603979776,10,{_controlNonStatic:0}),i.Ib(335544320,11,{_controlStatic:0}),i.Ib(603979776,12,{_labelChildNonStatic:0}),i.Ib(335544320,13,{_labelChildStatic:0}),i.Ib(603979776,14,{_placeholderChild:0}),i.Ib(603979776,15,{_errorChildren:1}),i.Ib(603979776,16,{_hintChildren:1}),i.Ib(603979776,17,{_prefixChildren:1}),i.Ib(603979776,18,{_suffixChildren:1}),(t()(),i.rb(42,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(43,16384,[[12,4],[13,4]],0,Ke,[],null,null),(t()(),i.rb(44,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(45,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Password"])),(t()(),i.rb(47,0,null,1,2,"input",[["class","form-control mat-input-element mat-form-field-autofill-control"],["data-eye",""],["id","id_password"],["matInput",""],["name","password"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var r=!0;return"blur"===e&&(r=!1!==i.Db(t,48)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==i.Db(t,48)._focusChanged(!0)&&r),"input"===e&&(r=!1!==i.Db(t,48)._onInput()&&r),r}),null,null)),i.qb(48,999424,null,0,Ti,[i.k,N.a,[8,null],[2,mi],[2,fi],v.b,[8,null],Si,i.x],{id:[0,"id"],type:[1,"type"]},null),i.Hb(2048,[[10,4],[11,4]],Ue,null,[Ti]),(t()(),i.gb(16777216,null,null,1,null,Mi)),i.qb(51,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(52,0,null,null,5,"div",[["class","login-button"]],null,null,null,null,null)),(t()(),i.rb(53,0,null,null,4,"button",[["color","primary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,_t,bt)),i.qb(54,180224,null,0,mt,[i.k,y.e,[2,it.a]],{color:[0,"color"]},null),(t()(),i.rb(55,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(56,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Login"]))],(function(t,e){var n=e.component;t(e,12,0,"standard"),t(e,25,0),t(e,28,0,"id_user","",""),t(e,32,0,"standard"),t(e,45,0),t(e,48,0,"id_password","password"),t(e,51,0,n.auths.length>1),t(e,54,0,"primary"),t(e,56,0)}),(function(t,e){var n=e.component;t(e,6,0,n.api.staticURL("modern/img/login-img.png")),t(e,8,0,n.title),t(e,11,1,["standard"==i.Db(e,12).appearance,"fill"==i.Db(e,12).appearance,"outline"==i.Db(e,12).appearance,"legacy"==i.Db(e,12).appearance,i.Db(e,12)._control.errorState,i.Db(e,12)._canLabelFloat,i.Db(e,12)._shouldLabelFloat(),i.Db(e,12)._hasFloatingLabel(),i.Db(e,12)._hideControlPlaceholder(),i.Db(e,12)._control.disabled,i.Db(e,12)._control.autofilled,i.Db(e,12)._control.focused,"accent"==i.Db(e,12).color,"warn"==i.Db(e,12).color,i.Db(e,12)._shouldForward("untouched"),i.Db(e,12)._shouldForward("touched"),i.Db(e,12)._shouldForward("pristine"),i.Db(e,12)._shouldForward("dirty"),i.Db(e,12)._shouldForward("valid"),i.Db(e,12)._shouldForward("invalid"),i.Db(e,12)._shouldForward("pending"),!i.Db(e,12)._animationsEnabled]),t(e,27,0,i.Db(e,28)._isServer,i.Db(e,28).id,i.Db(e,28).placeholder,i.Db(e,28).disabled,i.Db(e,28).required,i.Db(e,28).readonly&&!i.Db(e,28)._isNativeSelect||null,i.Db(e,28)._ariaDescribedby||null,i.Db(e,28).errorState,i.Db(e,28).required.toString()),t(e,31,1,["standard"==i.Db(e,32).appearance,"fill"==i.Db(e,32).appearance,"outline"==i.Db(e,32).appearance,"legacy"==i.Db(e,32).appearance,i.Db(e,32)._control.errorState,i.Db(e,32)._canLabelFloat,i.Db(e,32)._shouldLabelFloat(),i.Db(e,32)._hasFloatingLabel(),i.Db(e,32)._hideControlPlaceholder(),i.Db(e,32)._control.disabled,i.Db(e,32)._control.autofilled,i.Db(e,32)._control.focused,"accent"==i.Db(e,32).color,"warn"==i.Db(e,32).color,i.Db(e,32)._shouldForward("untouched"),i.Db(e,32)._shouldForward("touched"),i.Db(e,32)._shouldForward("pristine"),i.Db(e,32)._shouldForward("dirty"),i.Db(e,32)._shouldForward("valid"),i.Db(e,32)._shouldForward("invalid"),i.Db(e,32)._shouldForward("pending"),!i.Db(e,32)._animationsEnabled]),t(e,47,0,i.Db(e,48)._isServer,i.Db(e,48).id,i.Db(e,48).placeholder,i.Db(e,48).disabled,i.Db(e,48).required,i.Db(e,48).readonly&&!i.Db(e,48)._isNativeSelect||null,i.Db(e,48)._ariaDescribedby||null,i.Db(e,48).errorState,i.Db(e,48).required.toString()),t(e,53,0,i.Db(e,54).disabled||null,"NoopAnimations"===i.Db(e,54)._animationMode)}))}function Li(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-login",[],null,null,null,Ni,Pi)),i.qb(1,114688,null,0,Ri.a,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Fi=i.nb("uds-login",Ri.a,Li,{},{},[]);class Vi{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}}var Bi=i.pb({encapsulation:0,styles:[[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 21%}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:justify}"]],data:{}});function zi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"div",[["class","plugin"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.download(t.context.$implicit.url)&&i),i}),null,null)),(t()(),i.rb(1,0,null,null,1,"div",[["class","image"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(3,0,null,null,1,"div",[["class","platform"]],null,null,null,null,null)),(t()(),i.Kb(4,null,[" "," "])),(t()(),i.rb(5,0,null,null,1,"div",[["class","description"]],null,null,null,null,null)),(t()(),i.Kb(6,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.img(e.context.$implicit.name)),t(e,4,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.description)}))}function Hi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,13,"div",[["class","plugins-container"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Client"])),(t()(),i.rb(7,0,null,null,2,"div",[["class","plugins"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,zi)),i.qb(9,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(10,0,null,null,3,"div",[["class","info"]],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(12,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Download UDS client for your platform"]))],(function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.api.plugins),t(e,12,0)}),null)}function qi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-client-download",[],null,null,null,Hi,Bi)),i.qb(1,114688,null,0,Vi,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Ui=i.nb("uds-client-download",Vi,qi,{},{},[]);class $i{constructor(t){this.sanitizer=t}transform(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)}}class Ki{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}}var Wi=i.pb({encapsulation:0,styles:[[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700}"]],data:{}});function Gi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","actor"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.download(t.context.$implicit.url)&&i),i}),null,null)),(t()(),i.rb(1,0,null,null,1,"div",[["class","name"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(2,1),(t()(),i.rb(3,0,null,null,1,"div",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(4,1)],null,(function(t,e){var n=i.Lb(e,1,0,t(e,2,0,i.Db(e.parent,0),e.context.$implicit.name));t(e,1,0,n);var r=i.Lb(e,3,0,t(e,4,0,i.Db(e.parent,0),e.context.$implicit.description));t(e,3,0,r)}))}function Yi(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,9,"div",[["class","actors-container"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(6,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Downloads"])),(t()(),i.rb(8,0,null,null,2,"div",[["class","actors"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,Gi)),i.qb(10,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,6,0),t(e,10,0,n.api.actors)}),null)}function Qi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-downloads",[],null,null,null,Yi,Wi)),i.qb(1,114688,null,0,Ki,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Zi=i.nb("uds-downloads",Ki,Qi,{},{},[]);class Xi{constructor(t){this.route=t,this.error=""}ngOnInit(){this.getError()}getError(){const t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),t=>t.charCodeAt(t))).replace("\n"," "),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}}}var Ji=i.pb({encapsulation:0,styles:[[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:5s infinite CogAnimation;animation:5s infinite CogAnimation}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]],data:{}});function tr(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,17,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,4,"div",[["class","graph"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,1,":svg:svg",[["class","bird"],["viewBox","0 0 55 41"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,0,":svg:path",[["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,1,":svg:svg",[["class","gears"],["viewBox","0 0 32 32"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,":svg:path",[["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,3,"h1",[["class","title"]],null,null,null,null,null)),(t()(),i.rb(8,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(9,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["An error has occurred"])),(t()(),i.rb(11,0,null,null,1,"p",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(12,1),(t()(),i.rb(13,0,null,null,5,"a",[["color","warn"],["mat-raised-button",""],["routerLink","/"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),"click"===e&&(r=!1!==i.Db(t,15)._haltDisabledEvents(n)&&r),r}),vt,yt)),i.qb(14,671744,null,0,l.m,[l.k,l.a,et.h],{routerLink:[0,"routerLink"]},null),i.qb(15,180224,null,0,ft,[y.e,i.k,[2,it.a]],{color:[0,"color"]},null),(t()(),i.rb(16,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(17,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Return"]))],(function(t,e){t(e,9,0),t(e,14,0,"/"),t(e,15,0,"warn"),t(e,17,0)}),(function(t,e){var n=e.component,r=i.Lb(e,11,0,t(e,12,0,i.Db(e,0),n.error));t(e,11,0,r),t(e,13,0,i.Db(e,14).target,i.Db(e,14).href,i.Db(e,15).disabled?-1:i.Db(e,15).tabIndex||0,i.Db(e,15).disabled||null,i.Db(e,15).disabled.toString(),"NoopAnimations"===i.Db(e,15)._animationMode)}))}function er(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-error",[],null,null,null,tr,Ji)),i.qb(1,114688,null,0,Xi,[l.a],null,null)],(function(t,e){t(e,1,0)}),null)}var nr=i.nb("uds-error",Xi,er,{},{},[]);class ir{constructor(t){this.api=t}ngOnInit(){}}var rr=i.pb({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;padding-left:10px;cursor:pointer;border-bottom:1px solid #ccc}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function sr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,47,"div",[["class","about"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),i.Kb(2,null,["Universal Desktop Services "," build ",""])),(t()(),i.rb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,1,"a",[["href","http://www.udsenterprise.com"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" \xa9 2012-2018 Virtual Cable S.L.U."])),(t()(),i.rb(6,0,null,null,5,"h4",[],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(8,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["You can access UDS Open Source code at"])),(t()(),i.rb(10,0,null,null,1,"a",[["href","https://github.com/dkmstr/openuds"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" OpenUDS github repository"])),(t()(),i.rb(12,0,null,null,35,"div",[["class","components"]],null,null,null,null,null)),(t()(),i.rb(13,0,null,null,3,"h2",[],null,null,null,null,null)),(t()(),i.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(15,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS has been developed using these components:"])),(t()(),i.rb(17,0,null,null,24,"ul",[],null,null,null,null,null)),(t()(),i.rb(18,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(19,0,null,null,1,"a",[["href","https://www.python.org/"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Python"])),(t()(),i.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(22,0,null,null,1,"a",[["href","https://www.typescriptlang.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["TypeScript"])),(t()(),i.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(25,0,null,null,1,"a",[["href","https://www.djangoproject.com/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Django"])),(t()(),i.rb(27,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(28,0,null,null,1,"a",[["href","https://angular.io"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Angular"])),(t()(),i.rb(30,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(31,0,null,null,1,"a",[["href","https://guac-dev.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Guacamole"])),(t()(),i.rb(33,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(34,0,null,null,1,"a",[["href","https://weasyprint.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["weasyprint"])),(t()(),i.rb(36,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(37,0,null,null,1,"a",[["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Crystal project icons"])),(t()(),i.rb(39,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(40,0,null,null,1,"a",[["href","https://github.com/NitruxSA/flattr-icons"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Flattr Icons"])),(t()(),i.rb(42,0,null,null,5,"p",[],null,null,null,null,null)),(t()(),i.rb(43,0,null,null,4,"small",[],null,null,null,null,null)),(t()(),i.Kb(-1,null,["* "])),(t()(),i.rb(45,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(46,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["If you find that we missed any component, please let us know"]))],(function(t,e){t(e,8,0),t(e,15,0),t(e,46,0)}),(function(t,e){var n=e.component;t(e,2,0,n.api.config.version,n.api.config.version_stamp)}))}function or(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-about",[],null,null,null,sr,rr)),i.qb(1,114688,null,0,ir,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var lr=i.nb("uds-about",ir,or,{},{},[]);class ar{constructor(t){this.api=t}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}var ur=i.pb({encapsulation:0,styles:[[""]],data:{}});function cr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,31,"div",[],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(3,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Service launcher"])),(t()(),i.rb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(8,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["The service you have requested is being launched."])),(t()(),i.rb(10,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(12,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Please, note that reloading this page will not work."])),(t()(),i.rb(14,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),i.rb(15,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(16,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["To relaunch service, you will have to do it from origin."])),(t()(),i.rb(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i.rb(19,0,null,null,3,"h6",[],null,null,null,null,null)),(t()(),i.rb(20,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(21,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["If the service does not launchs automatically, probably you dont have the UDS plugin installed"])),(t()(),i.rb(23,0,null,null,8,"h6",[],null,null,null,null,null)),(t()(),i.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(25,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["You can obtain it from the"])),(t()(),i.rb(27,0,null,null,4,"a",[["routerLink","/client-download"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,28).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r}),null,null)),i.qb(28,671744,null,0,l.m,[l.k,l.a,et.h],{routerLink:[0,"routerLink"]},null),(t()(),i.rb(29,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(30,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Plugin download page"]))],(function(t,e){t(e,3,0),t(e,8,0),t(e,12,0),t(e,16,0),t(e,21,0),t(e,25,0),t(e,28,0,"/client-download"),t(e,30,0)}),(function(t,e){t(e,27,0,i.Db(e,28).target,i.Db(e,28).href)}))}function hr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-launcher",[],null,null,null,cr,ur)),i.qb(1,114688,null,0,ar,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var dr=i.nb("uds-launcher",ar,hr,{},{},[]),pr=i.pb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function mr(t){return i.Mb(2,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var i=!0,r=t.component;return"@state.start"===e&&(i=!1!==r._animationStart()&&i),"@state.done"===e&&(i=!1!==r._animationDone(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(2,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Eb(131072,et.b,[i.h]),(t()(),i.Kb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,r=e.component;t(e,0,0,null==(n=i.Lb(e,0,0,i.Db(e,3).transform(r._isHandset)))?null:n.matches,r._visibility),t(e,4,0,r.message)}))}function fr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var r=!0;return"body:click"===e&&(r=!1!==i.Db(t,1)._handleBodyInteraction()&&r),r}),mr,pr)),i.qb(1,180224,null,0,qt,[i.h,Pt],null,null)],null,(function(t,e){t(e,0,0,"visible"===i.Db(e,1)._visibility?1:null)}))}var gr=i.nb("mat-tooltip-component",qt,fr,{},{},[]),br=n("s6ns"),_r=i.pb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function yr(t){return i.Mb(0,[(t()(),i.gb(0,null,null,0))],null,null)}function vr(t){return i.Mb(0,[i.Ib(402653184,1,{_portalOutlet:0}),(t()(),i.gb(16777216,null,null,1,null,yr)),i.qb(2,212992,[[1,4]],0,p.b,[i.j,i.N],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function wr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var r=!0;return"component:@dialogContainer.start"===e&&(r=!1!==i.Db(t,1)._onAnimationStart(n)&&r),"component:@dialogContainer.done"===e&&(r=!1!==i.Db(t,1)._onAnimationDone(n)&&r),r}),vr,_r)),i.qb(1,49152,null,0,br.i,[i.k,y.f,i.h,[2,et.d],br.h],null,null)],null,(function(t,e){t(e,0,0,i.Db(e,1)._id,i.Db(e,1)._config.role,i.Db(e,1)._config.ariaLabel?null:i.Db(e,1)._ariaLabelledBy,i.Db(e,1)._config.ariaLabel,i.Db(e,1)._config.ariaDescribedBy||null,i.Db(e,1)._state)}))}var Cr=i.nb("mat-dialog-container",br.i,wr,{},{},[]),xr=n("YY/e"),Sr=i.pb({encapsulation:0,styles:[[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]],data:{}});function Er(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.close()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Close"])),(t()(),i.Kb(6,0,["",""]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type),t(e,6,0,n.extra)}))}function kr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.yes()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Yes"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type)}))}function Or(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.no()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["No"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type)}))}function Dr(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,2,"h4",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"innerHTML",1],[8,"id",0]],null,null,null,null)),i.qb(2,81920,null,0,br.m,[[2,br.l],i.k,br.e],null,null),i.Gb(3,1),(t()(),i.rb(4,0,null,null,2,"mat-dialog-content",[["class","mat-dialog-content"]],[[8,"innerHTML",1]],null,null,null,null)),i.qb(5,16384,null,0,br.j,[],null,null),i.Gb(6,1),(t()(),i.rb(7,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),i.qb(8,16384,null,0,br.f,[],null,null),(t()(),i.gb(16777216,null,null,1,null,Er)),i.qb(10,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,kr)),i.qb(12,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,Or)),i.qb(14,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0),t(e,10,0,0==n.data.type),t(e,12,0,1==n.data.type),t(e,14,0,1==n.data.type)}),(function(t,e){var n=e.component,r=i.Lb(e,1,0,t(e,3,0,i.Db(e,0),n.data.title));t(e,1,0,r,i.Db(e,2).id);var s=i.Lb(e,4,0,t(e,6,0,i.Db(e,0),n.data.body));t(e,4,0,s)}))}function Ir(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-modal",[],null,null,null,Dr,Sr)),i.qb(1,114688,null,0,xr.b,[br.l,br.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Tr=i.nb("uds-modal",xr.b,Ir,{},{},[]);class Ar{constructor(t){this._elementRef=t}}const Rr=Object(v.z)(Ar);class Pr extends Rr{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Object(i.V)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}class jr{}var Mr=i.pb({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function Nr(t){return i.Mb(2,[i.Cb(null,0),i.Cb(null,1)],null,null)}class Lr{constructor(t){this.api=t,this.style="";const e=t.config.language;this.langs=[];for(const n of t.config.available_languages)n.id===e?this.lang=n:this.langs.push(n)}ngOnInit(){}changeLang(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}var Fr=i.pb({encapsulation:0,styles:[[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]],data:{}});function Vr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.changeLang(t.context.$implicit)&&r),r}),at,lt)),i.qb(1,180224,[[1,4],[2,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.Kb(2,0,["",""]))],null,(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)}))}function Br(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.admin()&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["dashboard"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Dashboard"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function zr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/downloads"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,2)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,2)._handleMouseEnter()&&r),r}),at,lt)),i.qb(1,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(2,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["file_download"])),(t()(),i.rb(5,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(6,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Downloads"]))],(function(t,e){t(e,1,0,"/downloads"),t(e,6,0)}),(function(t,e){t(e,0,0,i.Db(e,2).role,i.Db(e,2)._highlighted,i.Db(e,2)._triggersSubmenu,i.Db(e,2)._getTabIndex(),i.Db(e,2).disabled.toString(),i.Db(e,2).disabled||null)}))}function Hr(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(3,0,["",""])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function qr(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(3,0,[""," "])),(t()(),i.rb(4,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function Ur(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"form",[["id","form_language"],["method","post"]],[[8,"action",4]],null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"input",[["type","hidden"]],[[8,"name",0],[8,"value",0]],null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"input",[["id","id_language"],["name","language"],["type","hidden"]],[[8,"value",0]],null,null,null,null)),(t()(),i.rb(3,0,null,null,8,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(6,1294336,[["appMenu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,1,{_allItems:1}),i.Ib(603979776,2,{items:1}),i.Ib(603979776,3,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Vr)),i.qb(11,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(12,0,null,null,17,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(15,1294336,[["userMenu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,4,{_allItems:1}),i.Ib(603979776,5,{items:1}),i.Ib(603979776,6,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Br)),i.qb(20,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,zr)),i.qb(22,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(23,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,24)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,24)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.logout()&&r),r}),at,lt)),i.qb(24,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(25,0,null,0,1,"i",[["class","material-icons highlight"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["exit_to_app"])),(t()(),i.rb(27,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(28,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Logout"])),(t()(),i.rb(30,0,null,null,24,"mat-menu",[["x-position","before"]],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(33,1294336,[["shrink",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,7,{_allItems:1}),i.Ib(603979776,8,{items:1}),i.Ib(603979776,9,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Hr)),i.qb(38,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(39,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,40)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,40)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,41)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,41)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,41)._handleClick(n)&&r),r}),at,lt)),i.qb(40,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(41,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(42,0,[""," "])),(t()(),i.rb(43,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.rb(45,0,null,0,3,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/client-download"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,46).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,47)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,47)._handleMouseEnter()&&r),r}),at,lt)),i.qb(46,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(47,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.Kb(-1,0,["UDS Client"])),(t()(),i.rb(49,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/about"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,50).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,51)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,51)._handleMouseEnter()&&r),r}),at,lt)),i.qb(50,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(51,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(52,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(53,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["About"])),(t()(),i.rb(55,0,null,null,37,"mat-toolbar",[["class","uds-nav mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Nr,Mr)),i.qb(56,4243456,null,1,Pr,[i.k,N.a,et.d],{color:[0,"color"]},null),i.Ib(603979776,10,{_toolbarRows:1}),(t()(),i.rb(58,0,null,0,4,"button",[["mat-button",""],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,59).onClick()&&r),r}),_t,bt)),i.qb(59,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(60,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(61,0,null,0,0,"img",[["alt","Universal Desktop Services"],["class","udsicon"]],[[8,"src",4]],null,null,null,null)),(t()(),i.Kb(-1,0,[" UDS "])),(t()(),i.rb(63,0,null,0,0,"span",[["class","fill-remaining-space"]],null,null,null,null,null)),(t()(),i.rb(64,0,null,0,22,"div",[["class","expanded"]],null,null,null,null,null)),(t()(),i.rb(65,0,null,null,5,"button",[["mat-button",""],["routerLink","/client-download"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,66).onClick()&&r),r}),_t,bt)),i.qb(66,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(67,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(68,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["file_download"])),(t()(),i.Kb(-1,0,["UDS Client"])),(t()(),i.rb(71,0,null,null,7,"button",[["mat-button",""],["routerLink","/about"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,72).onClick()&&r),r}),_t,bt)),i.qb(72,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(73,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(74,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["info"])),(t()(),i.rb(76,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(77,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["About"])),(t()(),i.rb(79,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,81)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,81)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,81)._handleClick(n)&&r),r}),_t,bt)),i.qb(80,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(81,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(82,0,[""," "])),(t()(),i.rb(83,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.gb(16777216,null,null,1,null,qr)),i.qb(86,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(87,0,null,0,5,"div",[["class","shrinked"]],null,null,null,null,null)),(t()(),i.rb(88,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,90)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,90)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,90)._handleClick(n)&&r),r}),_t,bt)),i.qb(89,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(90,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(91,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["menu"]))],(function(t,e){var n=e.component;t(e,6,0),t(e,11,0,n.langs),t(e,15,0),t(e,20,0,n.api.user.isStaff),t(e,22,0,n.api.user.isStaff),t(e,28,0),t(e,33,0),t(e,38,0,n.api.user.isLogged),t(e,41,0,i.Db(e,6)),t(e,46,0,"/client-download"),t(e,50,0,"/about"),t(e,53,0),t(e,56,0,"primary"),t(e,59,0,"/"),t(e,66,0,"/client-download"),t(e,72,0,"/about"),t(e,77,0),t(e,81,0,i.Db(e,6)),t(e,86,0,n.api.user.isLogged),t(e,90,0,i.Db(e,33))}),(function(t,e){var n=e.component;t(e,0,0,i.vb(1,"",n.api.config.urls.changeLang,"")),t(e,1,0,i.vb(1,"",n.api.config.csrf_field,""),i.vb(1,"",n.api.config.csrf,"")),t(e,2,0,i.vb(1,"",n.lang.id,"")),t(e,23,0,i.Db(e,24).role,i.Db(e,24)._highlighted,i.Db(e,24)._triggersSubmenu,i.Db(e,24)._getTabIndex(),i.Db(e,24).disabled.toString(),i.Db(e,24).disabled||null),t(e,39,0,i.Db(e,40).role,i.Db(e,40)._highlighted,i.Db(e,40)._triggersSubmenu,i.Db(e,40)._getTabIndex(),i.Db(e,40).disabled.toString(),i.Db(e,40).disabled||null,i.Db(e,41).menuOpen||null),t(e,42,0,n.lang.name),t(e,45,0,i.Db(e,47).role,i.Db(e,47)._highlighted,i.Db(e,47)._triggersSubmenu,i.Db(e,47)._getTabIndex(),i.Db(e,47).disabled.toString(),i.Db(e,47).disabled||null),t(e,49,0,i.Db(e,51).role,i.Db(e,51)._highlighted,i.Db(e,51)._triggersSubmenu,i.Db(e,51)._getTabIndex(),i.Db(e,51).disabled.toString(),i.Db(e,51).disabled||null),t(e,55,0,i.Db(e,56)._toolbarRows.length>0,0===i.Db(e,56)._toolbarRows.length),t(e,58,0,i.Db(e,60).disabled||null,"NoopAnimations"===i.Db(e,60)._animationMode),t(e,61,0,n.api.staticURL("modern/img/udsicon.png")),t(e,65,0,i.Db(e,67).disabled||null,"NoopAnimations"===i.Db(e,67)._animationMode),t(e,71,0,i.Db(e,73).disabled||null,"NoopAnimations"===i.Db(e,73)._animationMode),t(e,79,0,i.Db(e,80).disabled||null,"NoopAnimations"===i.Db(e,80)._animationMode,i.Db(e,81).menuOpen||null),t(e,82,0,n.lang.name),t(e,88,0,i.Db(e,89).disabled||null,"NoopAnimations"===i.Db(e,89)._animationMode,i.Db(e,90).menuOpen||null)}))}class $r{constructor(){}ngOnInit(){}}var Kr=i.pb({encapsulation:0,styles:[[""]],data:{}});function Wr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),i.Kb(-1,null,["\xa9 2012-2018 "])),(t()(),i.rb(2,0,null,null,1,"a",[["href","https://www.udsenterprise.com"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Virtual Cable S.L.U."]))],null,null)}var Gr=i.pb({encapsulation:0,styles:[[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:4rem auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]],data:{}});function Yr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-navbar",[],null,null,null,Ur,Fr)),i.qb(1,114688,null,0,Lr,[$t.a],null,null),(t()(),i.rb(2,0,null,null,6,"div",[["class","page"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(t()(),i.rb(4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i.qb(5,212992,null,0,l.o,[l.b,i.N,i.j,[8,null],i.h],null,null),(t()(),i.rb(6,0,null,null,2,"div",[["class","footer"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,1,"uds-footer",[],null,null,null,Wr,Kr)),i.qb(8,114688,null,0,$r,[],null,null)],(function(t,e){t(e,1,0),t(e,5,0),t(e,8,0)}),null)}function Qr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-root",[],null,null,null,Yr,Gr)),i.qb(1,114688,null,0,o,[],null,null)],(function(t,e){t(e,1,0)}),null)}var Zr=i.nb("uds-root",o,Qr,{},{},[]),Xr=n("fDlF"),Jr=n("IheW"),ts=n("OPAf");let es=(()=>{class t{constructor(t){this.api=t}canActivate(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return t.ngInjectableDef=i.Qb({factory:function(){return new t(i.Rb($t.a))},token:t,providedIn:"root"}),t})();class ns{}class is{}class rs{}const ss={float:"always"};class os{}var ls=i.ob(s,[o],(function(t){return i.Ab([i.Bb(512,i.j,i.Z,[[8,[h,Le,Fi,Ui,Zi,nr,lr,dr,gr,Cr,Tr,Zr]],[3,i.j],i.v]),i.Bb(5120,i.s,i.lb,[[3,i.s]]),i.Bb(4608,et.m,et.l,[i.s,[2,et.y]]),i.Bb(5120,i.hb,i.mb,[i.x]),i.Bb(5120,i.c,i.ib,[]),i.Bb(5120,i.q,i.jb,[]),i.Bb(5120,i.r,i.kb,[]),i.Bb(4608,tt.b,tt.k,[et.d]),i.Bb(6144,i.F,null,[tt.b]),i.Bb(4608,tt.e,v.c,[[2,v.g],[2,v.l]]),i.Bb(5120,tt.c,(function(t,e,n,i,r,s,o,l){return[new tt.i(t,e,n),new tt.n(i),new tt.m(r,s,o,l)]}),[et.d,i.x,i.z,et.d,et.d,tt.e,i.ab,[2,tt.f]]),i.Bb(4608,tt.d,tt.d,[tt.c,i.x]),i.Bb(135680,tt.l,tt.l,[et.d]),i.Bb(4608,tt.j,tt.j,[tt.d,tt.l,i.c]),i.Bb(5120,Xr.a,it.e,[]),i.Bb(5120,Xr.c,it.f,[]),i.Bb(4608,Xr.b,it.d,[et.d,Xr.a,Xr.c]),i.Bb(5120,i.D,it.g,[tt.j,Xr.b,i.x]),i.Bb(6144,tt.o,null,[tt.l]),i.Bb(4608,i.L,i.L,[i.x]),i.Bb(4608,Jr.h,Jr.n,[et.d,i.z,Jr.l]),i.Bb(4608,Jr.o,Jr.o,[Jr.h,Jr.m]),i.Bb(5120,Jr.a,(function(t){return[t]}),[Jr.o]),i.Bb(4608,Jr.k,Jr.k,[]),i.Bb(6144,Jr.i,null,[Jr.k]),i.Bb(4608,Jr.g,Jr.g,[Jr.i]),i.Bb(6144,Jr.b,null,[Jr.g]),i.Bb(4608,Jr.f,Jr.j,[Jr.b,i.p]),i.Bb(4608,Jr.c,Jr.c,[Jr.f]),i.Bb(5120,l.a,l.y,[l.k]),i.Bb(4608,l.d,l.d,[]),i.Bb(6144,l.f,null,[l.d]),i.Bb(135680,l.p,l.p,[l.k,i.u,i.i,i.p,l.f]),i.Bb(4608,l.e,l.e,[]),i.Bb(5120,l.D,l.u,[l.k,et.s,l.g]),i.Bb(5120,l.h,l.B,[l.z]),i.Bb(5120,i.b,(function(t){return[t]}),[l.h]),i.Bb(4608,d.b,it.c,[i.D,et.d]),i.Bb(4608,M.c,M.c,[M.i,M.e,i.j,M.h,M.f,i.p,i.x,et.d,J.b,[2,et.g]]),i.Bb(5120,M.j,M.k,[M.c]),i.Bb(5120,K,W,[M.c]),i.Bb(4608,en.c,en.c,[]),i.Bb(5120,Vt,Bt,[M.c]),i.Bb(5120,br.c,br.d,[M.c]),i.Bb(135680,br.e,br.e,[M.c,i.p,[2,et.g],[2,br.b],br.c,[3,br.e],M.e]),i.Bb(4608,v.b,v.b,[]),i.Bb(5120,Sn,En,[M.c]),i.Bb(4608,ts.a,ts.a,[br.e]),i.Bb(4608,$t.a,$t.a,[Jr.c,ts.a,l.k]),i.Bb(1073742336,et.c,et.c,[]),i.Bb(1024,i.l,tt.p,[]),i.Bb(1024,i.w,(function(){return[l.t()]}),[]),i.Bb(512,l.z,l.z,[i.p]),i.Bb(1024,i.d,(function(t,e){return[tt.q(t),l.A(e)]}),[[2,i.w],l.z]),i.Bb(512,i.e,i.e,[[2,i.d]]),i.Bb(131584,i.g,i.g,[i.x,i.ab,i.p,i.l,i.j,i.e]),i.Bb(1073742336,i.f,i.f,[i.g]),i.Bb(1073742336,tt.a,tt.a,[[3,tt.a]]),i.Bb(1073742336,Dt,Dt,[]),i.Bb(1073742336,Jr.e,Jr.e,[]),i.Bb(1073742336,Jr.d,Jr.d,[]),i.Bb(1024,l.s,l.w,[[3,l.k]]),i.Bb(512,l.r,l.c,[]),i.Bb(512,l.b,l.b,[]),i.Bb(256,l.g,{},[]),i.Bb(1024,et.h,l.v,[et.r,[2,et.a],l.g]),i.Bb(512,et.g,et.g,[et.h,et.r]),i.Bb(512,i.i,i.i,[]),i.Bb(512,i.u,i.I,[i.i,[2,i.J]]),i.Bb(1024,l.i,(function(){return[[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Re,canActivate:[es]},{path:"login",component:Ri.a},{path:"login/:id",component:Ri.a},{path:"client-download",component:Vi},{path:"downloads",component:Ki,canActivate:[es]},{path:"error/:id",component:Xi},{path:"about",component:ir},{path:"ticket/launcher",component:ar},{path:"**",redirectTo:"services"}]]}),[]),i.Bb(1024,l.k,l.x,[i.g,l.r,l.b,et.g,i.p,i.u,i.i,l.i,l.g,[2,l.q],[2,l.j]]),i.Bb(1073742336,l.n,l.n,[[2,l.s],[2,l.k]]),i.Bb(1073742336,ns,ns,[]),i.Bb(1073742336,it.b,it.b,[]),i.Bb(1073742336,J.a,J.a,[]),i.Bb(1073742336,v.l,v.l,[[2,v.d],[2,tt.f]]),i.Bb(1073742336,jr,jr,[]),i.Bb(1073742336,N.b,N.b,[]),i.Bb(1073742336,v.u,v.u,[]),i.Bb(1073742336,gt,gt,[]),i.Bb(1073742336,p.f,p.f,[]),i.Bb(1073742336,nt.b,nt.b,[]),i.Bb(1073742336,M.g,M.g,[]),i.Bb(1073742336,Z,Z,[]),i.Bb(1073742336,X,X,[]),i.Bb(1073742336,en.d,en.d,[]),i.Bb(1073742336,y.a,y.a,[]),i.Bb(1073742336,Ut,Ut,[]),i.Bb(1073742336,le,le,[]),i.Bb(1073742336,_e,_e,[]),i.Bb(1073742336,br.k,br.k,[]),i.Bb(1073742336,tn,tn,[]),i.Bb(1073742336,Ei,Ei,[]),i.Bb(1073742336,Ai,Ai,[]),i.Bb(1073742336,v.s,v.s,[]),i.Bb(1073742336,v.q,v.q,[]),i.Bb(1073742336,Tn,Tn,[]),i.Bb(1073742336,is,is,[]),i.Bb(1073742336,rs,rs,[]),i.Bb(1073742336,os,os,[]),i.Bb(1073742336,s,s,[]),i.Bb(256,i.Y,!0,[]),i.Bb(256,Jr.l,"XSRF-TOKEN",[]),i.Bb(256,Jr.m,"X-XSRF-TOKEN",[]),i.Bb(256,it.a,"BrowserAnimations",[]),i.Bb(256,v.h,ss,[])])}));r.a.production&&Object(i.R)(),tt.h().bootstrapModuleFactory(ls).catch(t=>console.log(t))}},[[0,0]]]);
\ No newline at end of file
+(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return p}));var i=n("8Y7J"),r=n("SVse");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){s=!1}let o,l=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.t)(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&&!s)&&"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(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.z,8))},token:t,providedIn:"root"}),t})();class a{}const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(u);let t=document.createElement("input");return o=new Set(u.filter(e=>(t.setAttribute("type",e),t.type===e)))}let h;function d(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}const p=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let m;function f(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function g(){if("object"!=typeof document||!document)return p.NORMAL;if(!m){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"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),m=p.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,m=0===t.scrollLeft?p.NEGATED:p.INVERTED),t.parentNode.removeChild(t)}return m}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("l7GE"),r=n("ZUHj");function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new l(t),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class l extends i.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"3N8a":function(t,e,n){"use strict";var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return s}));class s extends r{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";var i=n("D0XW"),r=n("l7GE"),s=n("ZUHj");class o{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new l(t,this.durationSelector))}}class l extends r.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 i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}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,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("HDdC"),u=n("Y7HM"),c=n("z+Ro");function h(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function d(t,e=i.a){return n=()=>(function(t=0,e,n){let r=-1;return Object(u.a)(e)?r=Number(e)<1?1:Number(e):Object(c.a)(e)&&(n=e),Object(c.a)(n)||(n=i.a),new a.a(e=>{const i=Object(u.a)(t)?t:+t-n.now();return n.schedule(h,i,{index:0,period:r,subscriber:e})})})(t,e),function(t){return t.lift(new o(n))};var n}n.d(e,"a",(function(){return d}))},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("ZUHj"),r=n("l7GE"),s=n("51Dv"),o=n("lJxs"),l=n("Cfvw");function a(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(a((n,i)=>Object(l.a)(t(n,i)).pipe(Object(o.a)((t,r)=>e(n,t,i,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new u(t,n)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}class c extends r.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 r}));var i=n("7o/Q");class r extends i.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,"c",(function(){return S})),n.d(e,"b",(function(){return k})),n.d(e,"d",(function(){return O})),n.d(e,"f",(function(){return R})),n.d(e,"g",(function(){return M})),n.d(e,"e",(function(){return F})),n.d(e,"h",(function(){return V})),n.d(e,"a",(function(){return B}));var i=n("SVse"),r=n("8Y7J"),s=n("XNiG"),o=n("quSY"),l=n("LRne"),a=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),p=n("IzEk"),m=n("/HVE"),f=n("KCVW");const g=" ";function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const _="cdk-describedby-message-container",y="cdk-describedby-message",v="cdk-describedby-host";let w=0;const C=new Map;let x=null,S=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),C.set(e,{messageElement:e,referenceCount:0})):C.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=C.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll(`[${v}]`);for(let e=0;e0!=t.indexOf(y));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=C.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(g)))}(t,"aria-describedby",n.messageElement.id),t.setAttribute(v,""),n.referenceCount++}_removeMessageReference(t,e){const n=C.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(g)):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(v)}_isElementDescribedByMessage(t,e){const n=b(t,"aria-describedby"),i=C.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(i.d))},token:t,providedIn:"root"}),t})();class E{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,t instanceof r.B&&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(u.a)(t=>this._pressedLetters.push(t)),Object(c.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 a.k:return void this.tabOut.next();case a.b:if(this._vertical&&n){this.setNextItemActive();break}return;case a.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case a.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case a.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(a.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=a.a&&e<=a.m||e>=a.n&&e<=a.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),i=e[n];this._activeItem=null==i?null:i,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 i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_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 r.B?this._items.toArray():this._items}}class k extends E{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class O extends E{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)}}let D=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===T(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=T(t);if(t.hasAttribute("contenteditable"))return-1!==r;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||I(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(m.a))},token:t,providedIn:"root"}),t})();function I(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function T(t){if(!I(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class A{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let R=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new A(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(D),Object(r.Rb)(r.x),Object(r.Rb)(i.d))},token:t,providedIn:"root"}),t})();const P=new r.o("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),j=new r.o("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let M=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},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,N)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(l.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 i={unlisten:()=>{},checkChildren:e,subject:new s.a};this._elementInfo.set(n,i),this._incrementMonitoredElementCount();let r=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",r,!0),n.addEventListener("blur",o,!0)}),i.unlisten=()=>{n.removeEventListener("focus",r,!0),n.removeEventListener("blur",o,!0)},i.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 i=Object(f.d)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.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 i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_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,L),document.addEventListener("mousedown",this._documentMousedownListener,L),document.addEventListener("touchstart",this._documentTouchstartListener,L),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,L),document.removeEventListener("mousedown",this._documentMousedownListener,L),document.removeEventListener("touchstart",this._documentTouchstartListener,L),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(r.x),Object(r.Rb)(m.a))},token:t,providedIn:"root"}),t})();function V(t){return 0===t.buttons}class B{}},"7Hc7":function(t,e,n){"use strict";let i=1;const r={},s={setImmediate(t){const e=i++;return r[e]=t,Promise.resolve().then(()=>(function(t){const e=r[t];e&&e()})(e)),e},clearImmediate(t){delete r[t]}};var o=n("3N8a");class l extends o.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=s.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(s.clearImmediate(e),t.scheduled=void 0)}}var a=n("IjjT");class u extends a.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++ithis._complete.call(this._context);l.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(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(a.a)(n)}}__tryOrSetError(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(a.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8Y7J":function(t,e,n){"use strict";var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),l=n("7o/Q");function a(){return function(t){return t.lift(new u(t))}}class u{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends l.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,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h 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 r.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.a.EMPTY)),t}refCount(){return a()(this)}}const d=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class p extends i.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 m(){return new i.a}n.d(e,"jb",(function(){return Jo})),n.d(e,"kb",(function(){return tl})),n.d(e,"lb",(function(){return el})),n.d(e,"mb",(function(){return nl})),n.d(e,"ib",(function(){return $s})),n.d(e,"hb",(function(){return Is})),n.d(e,"g",(function(){return Lo})),n.d(e,"Q",(function(){return Po})),n.d(e,"w",(function(){return Ro})),n.d(e,"R",(function(){return Ce})),n.d(e,"V",(function(){return we})),n.d(e,"c",(function(){return Us})),n.d(e,"A",(function(){return Ws})),n.d(e,"z",(function(){return Gs})),n.d(e,"b",(function(){return Ys})),n.d(e,"d",(function(){return Hs})),n.d(e,"e",(function(){return qs})),n.d(e,"T",(function(){return Qo})),n.d(e,"L",(function(){return xo})),n.d(e,"X",(function(){return ko})),n.d(e,"s",(function(){return Zs})),n.d(e,"f",(function(){return il})),n.d(e,"m",(function(){return Vs})),n.d(e,"l",(function(){return _e})),n.d(e,"F",(function(){return Ke})),n.d(e,"G",(function(){return $e})),n.d(e,"a",(function(){return Rn})),n.d(e,"O",(function(){return it})),n.d(e,"M",(function(){return bi})),n.d(e,"Qb",(function(){return x})),n.d(e,"S",(function(){return D})),n.d(e,"p",(function(){return xn})),n.d(e,"Rb",(function(){return G})),n.d(e,"U",(function(){return Y})),n.d(e,"o",(function(){return M})),n.d(e,"n",(function(){return b})),n.d(e,"y",(function(){return _})),n.d(e,"H",(function(){return v})),n.d(e,"x",(function(){return go})),n.d(e,"C",(function(){return fi})),n.d(e,"D",(function(){return pi})),n.d(e,"E",(function(){return mi})),n.d(e,"i",(function(){return ro})),n.d(e,"j",(function(){return oi})),n.d(e,"k",(function(){return ci})),n.d(e,"t",(function(){return J})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return Vo})),n.d(e,"B",(function(){return zs})),n.d(e,"I",(function(){return Uo})),n.d(e,"J",(function(){return Ho})),n.d(e,"K",(function(){return ji})),n.d(e,"N",(function(){return Ni})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return Ii})),n.d(e,"r",(function(){return Ti})),n.d(e,"P",(function(){return Fn})),n.d(e,"W",(function(){return Xo})),n.d(e,"wb",(function(){return Vn})),n.d(e,"ab",(function(){return Qs})),n.d(e,"Y",(function(){return wn})),n.d(e,"Z",(function(){return li})),n.d(e,"db",(function(){return qe})),n.d(e,"eb",(function(){return Ye})),n.d(e,"fb",(function(){return ke})),n.d(e,"ub",(function(){return j})),n.d(e,"zb",(function(){return Nn})),n.d(e,"Jb",(function(){return k})),n.d(e,"xb",(function(){return Jn})),n.d(e,"yb",(function(){return Xn})),n.d(e,"tb",(function(){return js})),n.d(e,"sb",(function(){return Ms})),n.d(e,"bb",(function(){return Ts})),n.d(e,"cb",(function(){return As})),n.d(e,"Pb",(function(){return pt})),n.d(e,"Nb",(function(){return Pn})),n.d(e,"Tb",(function(){return zn})),n.d(e,"Sb",(function(){return Hn})),n.d(e,"Ob",(function(){return qn})),n.d(e,"Ub",(function(){return Kn})),n.d(e,"gb",(function(){return rl})),n.d(e,"nb",(function(){return Hr})),n.d(e,"ob",(function(){return Da})),n.d(e,"pb",(function(){return er})),n.d(e,"qb",(function(){return ds})),n.d(e,"rb",(function(){return sl})),n.d(e,"vb",(function(){return Dr})),n.d(e,"Ab",(function(){return Mr})),n.d(e,"Bb",(function(){return jr})),n.d(e,"Cb",(function(){return fl})),n.d(e,"Db",(function(){return Jr})),n.d(e,"Eb",(function(){return ps})),n.d(e,"Hb",(function(){return ms})),n.d(e,"Fb",(function(){return _l})),n.d(e,"Gb",(function(){return bl})),n.d(e,"Ib",(function(){return cl})),n.d(e,"Kb",(function(){return vl})),n.d(e,"Lb",(function(){return Xi})),n.d(e,"Mb",(function(){return xl}));const f="__parameters__";function g(t,e,n){const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(f)?t[f]:Object.defineProperty(t,f,{value:[]})[f];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const b=g("Inject",t=>({token:t})),_=g("Optional"),y=g("Self"),v=g("SkipSelf");var w=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 C(t){for(let e in t)if(t[e]===C)return e;throw Error("Could not find renamed property on target object.")}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function S(t){const e=t[E];return e&&e.token===t?e:null}const E=C({ngInjectableDef:C});function k(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(k).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 O=C({__forward_ref__:C});function D(t){return t.__forward_ref__=D,t.toString=function(){return k(this())},t}function I(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(O)&&e.__forward_ref__===D?e():t}const T="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,P="undefined"!=typeof global&&global,j=T||P||A||R;class M{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=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const N=new M("INJECTOR",-1),L=new Object,F="ngTempTokenPath",V="ngTokenPath",B=/\n/gm,z="\u0275",H="__source",q=C({provide:String,useValue:C});let U,$=void 0;function K(t){const e=$;return $=t,e}function W(t,e=w.Default){if(void 0===$)throw new Error("inject() must be called from an injection context");return null===$?function(t,e,n){const i=S(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&w.Optional)return null;throw new Error(`Injector: NOT_FOUND [${k(t)}]`)}(t,0,e):$.get(t,e&w.Optional?null:void 0,e)}function G(t,e=w.Default){return(U||W)(t,e)}const Y=G;class Q{get(t,e=L){if(e===L){const e=new Error(`NullInjectorError: No provider for ${k(t)}!`);throw e.name="NullInjectorError",e}return e}}function Z(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==z?t.substr(2):t;let r=k(e);if(e instanceof Array)r=e.map(k).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):k(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(B,"\n ")}`}class X{}class J{}function tt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function et(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const nt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),it=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}(),rt={},st=[],ot=C({ngComponentDef:C}),lt=C({ngDirectiveDef:C}),at=C({ngPipeDef:C});let ut=0;function ct(t){return function(t){return t[ot]||null}(t)||function(t){return t[lt]||null}(t)}function ht(t){return function(t){return t[at]||null}(t)}function dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const pt=function(t){const e=t.type,n=e.prototype,i={},r={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:i,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===nt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,id:"c",styles:t.styles||st,_:null,setInput:null,schemas:t.schemas||null,tView:null};return r._=""+{toString:()=>{const n=t.directives,s=t.features,o=t.pipes;r.id+=ut++,r.inputs=dt(t.inputs,i),r.outputs=dt(t.outputs),s&&s.forEach(t=>t(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(ct):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(ht):null,e.hasOwnProperty(E)||(e[E]=x({token:e,factory:t.factory}))}},r},mt=0,ft=1,gt=7,bt=12,_t=19;let yt=null;const vt=new Map;let wt=null;const Ct=1,xt=0;function St(t,e){return wt&&t===wt||(wt=t,e&&(yt=vt.get(t)||null),yt=yt||{classesBitMask:xt,classesIndex:Ct,stylesBitMask:xt,stylesIndex:Ct}),yt}function Et(t,e){return function(t){for(;Array.isArray(t);)t=t[mt];return t}(e[t.index])}function kt(t,e){return e[ft].data[t+_t]}let Ot=null;function Dt(){return Tt}let It,Tt,At,Rt=1,Pt=0,jt=0,Mt=-1;function Nt(){return Mt}function Lt(){return At}const Ft=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))(),Vt="--MAP--",Bt=0;function zt(t,e){e===Bt?t[2]>Bt&&function(t){qt(t,2|Ht(t))}(t):t[2]=e}function Ht(t){return t[1]}function qt(t,e){t[1]=e}function Ut(t,e){return t[e+2]}function $t(t,e){return 1&t[e+0]}function Kt(t,e){return(1&$t(t,e))>0}function Wt(t,e){return t[e+0]>>1}function Gt(t,e,n){const i=$t(t,e);t[e+0]=i|n<<1}function Yt(t,e){return t[e+1]}function Qt(t,e,n){return t[e+3+n]}function Zt(t,e){return!(!t||e!==t[2])}function Xt(t){return(1&Ht(t))>0}function Jt(t){return(2&Ht(t))>0}function te(t){return 6+t[4]}function ee(t,e){let n=Array.isArray(t)?t[0]:t,i=Array.isArray(e)?e[0]:e;return n instanceof String&&(n=n.toString()),i instanceof String&&(i=i.toString()),function(t,e){return!(t!=t&&e!=e)&&t!==e}(n,i)}function ne(t){return null!=t&&""!==t}function ie(t,e,n=" "){return t+(e.length&&t.length?n:"")+e}function re(t){return t.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}function se(t){return oe(t)?t[0]:t}function oe(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function le(t,e){return t[e+0]}function ae(t,e,n){t[e+1]=n}function ue(t,e){return t[e+1]}const ce=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function he(t){return!!t.listen}const de="ngDebugContext",pe="ngOriginalError",me="ngErrorLogger";function fe(t){return t[de]}function ge(t){return t[pe]}function be(t,...e){t.error(...e)}class _e{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t[me]||be}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?fe(t)?fe(t):this._findContext(ge(t)):null}_findOriginalError(t){let e=ge(t);for(;e&&ge(e);)e=ge(e);return e}}let ye=!0,ve=!1;function we(){return ve=!0,ye}function Ce(){if(ve)throw new Error("Cannot enable prod mode after platform setup.");ye=!1}class xe{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(i){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 i=e.length-1;0ke(t.trim())).join(", ")),this.buf.push(" ",e,'="',ze(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Pe.hasOwnProperty(e)&&!Ie.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(ze(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 Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(Ve,(function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Be,(function(t){return""+t.charCodeAt(0)+";"})).replace(//g,">")}let He;function qe(t,e){let n=null;try{He=He||new xe(t);let i=e?String(e):"";n=He.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=He.getInertBodyElement(i)}while(i!==s);const o=new Fe,l=o.sanitizeChildren(Ue(n)||n);return we()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const t=Ue(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Ue(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const $e=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 Ke{}const We=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"),Ge=/^url\(([^)]+)\)$/;function Ye(t){if(!(t=String(t).trim()))return"";const e=t.match(Ge);return e&&ke(e[1])===e[1]||t.match(We)&&function(t){let e=!0,n=!0;for(let i=0;ixt}(i,s))?(function(t,e,n,i,r,s,o){const l=!0===(a=r)?-1:!1===a?0:a;var a;const u=cn,c=(l&Wt(t,3))>0?1:0;let h=te(t);for(;h{const r=e.style;i?(i=i.toString(),t&&he(t)?t.setStyle(e,n,i,ce.DashCase):r&&r.setProperty(n,i)):t&&he(t)?t.removeStyle(e,n,ce.DashCase):r&&r.removeProperty(n)},dn=(t,e,n,i)=>{if(""!==n){const r=e.classList;i?t&&he(t)?t.addClass(e,n):r&&r.add(n):t&&he(t)?t.removeClass(e,n):r&&r.remove(n)}},pn={},mn=(t,e,n,i,r,s,o,l,a)=>{let u=!1;if(Yt(t,3)){let c=!0;const h=!l;h&&-2&o&&(c=!1,u=!0),c&&(u=function t(e,n,i,r,s,o,l,a,u,c){let h=!1;if(u=bn.length&&bn.push(1),bn[t]}(u);for(;ma,b=!g&&f===a,_=ue(p,m),y=ne(_);let v=t(e,n,i,r,s,o,g?l:fn(l,y,b),g?a:f,u+1,c);if(g){h||(h=v);break}if(!v&&gn(l,b)){const t=b&&!y,e=t?c:_,r=t?d:null;s(n,i,f,o?o(f,e,3):e,r),v=!0}h=v&&b,m+=2}if(bn[u]=m,1===p.length||!a)return t(e,n,i,r,s,o,l,a,u+1,c)}return h}(t,e,n,i,r,s,o,l||null,0,a||null)),h&&function(){for(let t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const bn=[];function _n(t,e,n,i){for(let r=1;r{class t{}return t.__NG_ELEMENT_ID__=()=>vn(),t})();const vn=(...t)=>{},wn=new M("The presence of this token marks an injector as being the root injector."),Cn=function(t,e,n){return new In(t,e,n)};let xn=(()=>{class t{static create(t,e){return Array.isArray(t)?Cn(t,e,""):Cn(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=L,t.NULL=new Q,t.ngInjectableDef=x({token:t,providedIn:"any",factory:()=>G(N)}),t.__NG_ELEMENT_ID__=-1,t})();const Sn=function(t){return t},En=[],kn=Sn,On=function(){return Array.prototype.slice.call(arguments)},Dn="\u0275";class In{constructor(t,e=xn.NULL,n=null){this.parent=e,this.source=n;const i=this._records=new Map;i.set(xn,{token:xn,fn:Sn,deps:En,value:this,useNew:!1}),i.set(N,{token:N,fn:Sn,deps:En,value:this,useNew:!1}),function t(e,n){if(n)if((n=I(n))instanceof Array)for(let i=0;it.push(k(n))),`StaticInjector[${t.join(", ")}]`}}function Tn(t){return An("Cannot mix multi providers and regular providers",t)}function An(t,e){return new Error(Z(t,e,"StaticInjectorError"))}const Rn=new M("AnalyzeForEntryComponents");function Pn(t){const e=Dt(),n=e[ft];n.firstTemplatePass&&(function(t,e,n){const i=t.expandoInstructions,r=i.length;r>=2&&i[r-2]===e.hostBindings?i[r-1]=i[r-1]+n:i.push(e.hostBindings,n)}(n,Ot,t),function(t,e,n){for(let i=0;i0&&(i=n?ie(t,((r=e)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):ie(t,function(t){let e="";if(t){const n=Object.keys(t);for(let i=0;i0}function Xn(t){return!!t&&"function"==typeof t.then}function Jn(t){return!!t&&"function"==typeof t.subscribe}class ti{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class ei{}class ni{}function ii(t){const e=Error(`No component factory found for ${k(t)}. Did you add it to @NgModule.entryComponents?`);return e[ri]=t,e}const ri="ngComponent";class si{resolveComponentFactory(t){throw ii(t)}}let oi=(()=>{class t{}return t.NULL=new si,t})();class li{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let i=0;i{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>hi(t),t})();const hi=ui;class di{}class pi{}const mi=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let fi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>gi(),t})();const gi=ui;class bi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _i=new bi("8.2.14");class yi{constructor(){}supports(t){return Vn(t)}create(t){return new wi(t)}}const vi=(t,e)=>e;class wi{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||vi}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Nn(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Nn(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Nn(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Nn(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Ci(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Si),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 Si),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 Ci{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 xi{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)&&Nn(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 Si{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new xi,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 Ei(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Di(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){Nn(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 Di{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 Ii=(()=>{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 v,new _]]}}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=x({token:t,providedIn:"root",factory:()=>new t([new yi])}),t})(),Ti=(()=>{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 v,new _]]}}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=x({token:t,providedIn:"root",factory:()=>new t([new ki])}),t})();const Ai=[new ki],Ri=new Ii([new yi]),Pi=new Ti(Ai);let ji=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Mi(t,ci),t})();const Mi=ui;let Ni=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Li(t,ci),t})();const Li=ui;function Fi(t,e,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return i&&(r+=" 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 Vi(n,e),n}(r,t)}function Vi(t,e){t[de]=e,t[me]=e.logError.bind(e)}function Bi(t){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${t}`)}function zi(t,e,n){const i=t.state,r=1792&i;return r===e?(t.state=-1793&i|n,t.initIndex=-1,!0):r===n}function Hi(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function qi(t,e){return t.nodes[e]}function Ui(t,e){return t.nodes[e]}function $i(t,e){return t.nodes[e]}function Ki(t,e){return t.nodes[e]}function Wi(t,e){return t.nodes[e]}const Gi={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},Yi=()=>{},Qi=new Map;function Zi(t){let e=Qi.get(t);return e||(e=k(t)+"_"+Qi.size,Qi.set(t,e)),e}function Xi(t,e,n,i){if(Fn.isWrapped(i)){i=Fn.unwrap(i);const r=t.def.nodes[e].bindingIndex+n,s=Fn.unwrap(t.oldValues[r]);t.oldValues[r]=new Fn(s)}return i}const Ji="$$undefined",tr="$$empty";function er(t){return{id:Ji,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let nr=0;function ir(t,e,n,i){return!(!(2&t.state)&&Nn(t.oldValues[e.bindingIndex+n],i))}function rr(t,e,n,i){return!!ir(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function sr(t,e,n,i){const r=t.oldValues[e.bindingIndex+n];if(1&t.state||!Ln(r,i)){const s=e.bindings[n].name;throw Fi(Gi.createDebugContext(t,e.nodeIndex),`${s}: ${r}`,`${s}: ${i}`,0!=(1&t.state))}}function or(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function lr(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ar(t,e,n,i){try{return or(33554432&t.def.nodes[e].flags?Ui(t,e).componentView:t),Gi.handleEvent(t,e,n,i)}catch(r){t.root.errorHandler.handleError(r)}}function ur(t){return t.parent?Ui(t.parent,t.parentNodeDef.nodeIndex):null}function cr(t){return t.parent?t.parentNodeDef.parent:null}function hr(t,e){switch(201347067&e.flags){case 1:return Ui(t,e.nodeIndex).renderElement;case 2:return qi(t,e.nodeIndex).renderText}}function dr(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function pr(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function mr(t){return 1<{"number"==typeof t?(e[t]=r,n|=mr(t)):i[t]=r}),{matchedQueries:e,references:i,matchedQueryIds:n}}function gr(t,e){return t.map(t=>{let n,i;return Array.isArray(t)?[i,n]=t:(i=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,H,{value:e,configurable:!0}),{flags:i,token:n,tokenKey:Zi(n)}})}function br(t,e,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===it.Native?Ui(t,n.renderParent.nodeIndex).renderElement:void 0:e}const _r=new WeakMap;function yr(t){let e=_r.get(t);return e||((e=t(()=>Yi)).factory=t,_r.set(t,e)),e}function vr(t,e,n,i,r){3===e&&(n=t.renderer.parentNode(hr(t,t.def.lastRenderRootNode))),wr(t,e,0,t.def.nodes.length-1,n,i,r)}function wr(t,e,n,i,r,s,o){for(let l=n;l<=i;l++){const n=t.def.nodes[l];11&n.flags&&xr(t,n,e,r,s,o),l+=n.childCount}}function Cr(t,e,n,i,r,s){let o=t;for(;o&&!dr(o);)o=o.parent;const l=o.parent,a=cr(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const t=l.def.nodes[c];t.ngContentIndex===e&&xr(l,t,n,i,r,s),c+=t.childCount}if(!l.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e-1}(r,s.providedIn)||"root"===s.providedIn&&r._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:e.token},t._providers[n]=Tr,t._providers[n]=Lr(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{K(i)}var r,s}function Lr(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const i=n.length;switch(i){case 0:return new e;case 1:return new e(Nr(t,n[0]));case 2:return new e(Nr(t,n[0]),Nr(t,n[1]));case 3:return new e(Nr(t,n[0]),Nr(t,n[1]),Nr(t,n[2]));default:const r=new Array(i);for(let e=0;e=n.length)&&(e=n.length-1),e<0)return null;const i=n[e];return i.viewContainerParent=null,et(n,e),Gi.dirtyParentQueries(i),Br(i),i}function Vr(t,e,n){const i=e?hr(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),s=n.renderer.nextSibling(i);vr(n,2,r,s,void 0)}function Br(t){vr(t,3,null,null,void 0)}const zr=new Object;function Hr(t,e,n,i,r,s){return new qr(t,e,n,i,r,s)}class qr extends ni{constructor(t,e,n,i,r,s){super(),this.selector=t,this.componentType=e,this._inputs=i,this._outputs=r,this.ngContentSelectors=s,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,i){if(!i)throw new Error("ngModule should be provided");const r=yr(this.viewDefFactory),s=r.nodes[0].element.componentProvider.nodeIndex,o=Gi.createRootView(t,e||[],n,r,i,zr),l=$i(o,s).instance;return n&&o.renderer.setAttribute(Ui(o,0).renderElement,"ng-version",_i.full),new Ur(o,new Gr(o),l)}}class Ur extends ei{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 ci(Ui(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Xr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function $r(t,e,n){return new Kr(t,e,n)}class Kr{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new ci(this._data.renderElement)}get injector(){return new Xr(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=cr(t),t=t.parent;return t?new Xr(t,e):new Xr(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Fr(this._data,t);Gi.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Gr(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;r||t instanceof ai||(r=s.get(X));const o=t.create(s,i,void 0,r);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,i){let r=e.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=t,tt(r,n,i),function(t,e){const n=ur(e);if(!n||n===t||16&e.state)return;e.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.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,i),Gi.dirtyParentQueries(i),Vr(e,n>0?r[n-1]:null,i)}(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 i=t.viewContainer._embeddedViews,r=i[e];et(i,e),null==n&&(n=i.length),tt(i,n,r),Gi.dirtyParentQueries(r),Br(r),Vr(t,n>0?i[n-1]:null,r)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Fr(this._data,t);e&&Gi.destroyView(e)}detach(t){const e=Fr(this._data,t);return e?new Gr(e):null}}function Wr(t){return new Gr(t)}class Gr{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return vr(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(){or(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{Gi.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){Gi.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)),Gi.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Br(this._view),Gi.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 Yr(t,e){return new Qr(t,e)}class Qr extends ji{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Gr(Gi.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new ci(Ui(this._parentView,this._def.nodeIndex).renderElement)}}function Zr(t,e){return new Xr(t,e)}class Xr{constructor(t,e){this.view=t,this.elDef=e}get(t,e=xn.THROW_IF_NOT_FOUND){return Gi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Zi(t)},e)}}function Jr(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Ui(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return qi(t,n.nodeIndex).renderText;if(20240&n.flags)return $i(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function ts(t){return new es(t.renderer)}class es{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,i]=kr(e),r=this.delegate.createElement(i,n);return t&&this.delegate.appendChild(t,r),r}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 rs=Zi(di),ss=Zi(fi),os=Zi(ci),ls=Zi(Ni),as=Zi(ji),us=Zi(yn),cs=Zi(xn),hs=Zi(N);function ds(t,e,n,i,r,s,o,l){const a=[];if(o)for(let c in o){const[t,e]=o[c];a[t]={flags:8,name:c,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return fs(t,e|=16384,n,i,r,r,s,a,u)}function ps(t,e,n){return fs(-1,t|=16,null,0,e,e,n)}function ms(t,e,n,i,r){return fs(-1,t,e,0,n,i,r)}function fs(t,e,n,i,r,s,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:h}=fr(n);a||(a=[]),l||(l=[]),s=I(s);const d=gr(o,k(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:c,ngContentIndex:-1,childCount:i,bindings:l,bindingFlags:Or(l),outputs:a,element:null,provider:{token:r,value:s,deps:d},text:null,query:null,ngContent:null}}function gs(t,e){return vs(t,e)}function bs(t,e){let n=t;for(;n.parent&&!dr(n);)n=n.parent;return ws(n.parent,cr(n),!0,e.provider.value,e.provider.deps)}function _s(t,e){const n=ws(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let i=0;iar(t,e,n,i)}function vs(t,e){const n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return ws(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){const s=r.length;switch(s){case 0:return i();case 1:return i(xs(t,e,n,r[0]));case 2:return i(xs(t,e,n,r[0]),xs(t,e,n,r[1]));case 3:return i(xs(t,e,n,r[0]),xs(t,e,n,r[1]),xs(t,e,n,r[2]));default:const o=Array(s);for(let i=0;iFt}),Ts={},As=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}(),Rs=void 0;var Ps=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["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"]],Rs,[["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"]],Rs,[["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}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","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 js(t){return Ms(t)[As.PluralCase]}function Ms(t){const e=t.toLowerCase().replace(/_/g,"-");let n=Ts[e];if(n)return n;const i=e.split("-")[0];if(n=Ts[i])return n;if("en"===i)return Ps;throw new Error(`Missing locale data for the locale "${t}".`)}const Ns="en-US";let Ls=Ns;function Fs(t){var e;e="Expected localeId to be defined",null==t&&function(t){throw new Error(`ASSERTION ERROR: ${t}`)}(e),"string"==typeof t&&(Ls=t.toLowerCase().replace(/_/g,"-"))}class Vs extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const l=super.subscribe(i,s,o);return t instanceof r.a&&t.add(l),l}}function Bs(){return this._results[Mn()]()}class zs{constructor(){this.dirty=!0,this._results=[],this.changes=new Vs,this.length=0;const t=Mn(),e=zs.prototype;e[t]||(e[t]=Bs)}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 i=0;i{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 Us=new M("AppId");function $s(){return`${Ks()}${Ks()}${Ks()}`}function Ks(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ws=new M("Platform Initializer"),Gs=new M("Platform ID"),Ys=new M("appBootstrapListener");class Qs{log(t){console.log(t)}warn(t){console.warn(t)}}const Zs=new M("LocaleId"),Xs=!1;function Js(){throw new Error("Runtime compiler is not loaded")}const to=Js,eo=Js,no=Js,io=Js;class ro{constructor(){this.compileModuleSync=to,this.compileModuleAsync=eo,this.compileModuleAndAllComponentsSync=no,this.compileModuleAndAllComponentsAsync=io}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class so{}let oo,lo;function ao(){const t=j.wtf;return!(!t||!(oo=t.trace)||(lo=oo.events,0))}const uo=ao();function co(t,e){return null}const ho=uo?function(t,e=null){return lo.createScope(t,e)}:(t,e)=>co,po=uo?function(t,e){return oo.leaveScope(t,e),e}:(t,e)=>e,mo=(()=>Promise.resolve(0))();function fo(t){"undefined"==typeof Zone?mo.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class go{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vs(!1),this.onMicrotaskEmpty=new Vs(!1),this.onStable=new Vs(!1),this.onError=new Vs(!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,i,r,s,o)=>{try{return vo(e),t.invokeTask(i,r,s,o)}finally{wo(e)}},onInvoke:(t,n,i,r,s,o,l)=>{try{return vo(e),t.invoke(i,r,s,o,l)}finally{wo(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e.hasPendingMicrotasks=r.microTask,yo(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!go.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(go.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,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,_o,bo,bo);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function bo(){}const _o={};function yo(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 vo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wo(t){t._nesting--,yo(t)}class Co{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vs,this.onMicrotaskEmpty=new Vs,this.onStable=new Vs,this.onError=new Vs}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class xo{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:()=>{go.assertNotInAngularZone(),fo(()=>{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())fo(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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 So{constructor(){this._applications=new Map,Do.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 Do.findTestabilityInTree(this,t,e)}}class Eo{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function ko(t){Do=t}let Oo,Do=new Eo,Io=function(t,e,n){return t.get(so).createCompiler([e]).compileModuleAsync(n)},To=function(t){return t instanceof ai};const Ao=new M("AllowMultipleToken");class Ro{constructor(t,e){this.name=t,this.token=e}}function Po(t,e,n=[]){const i=`Platform: ${e}`,r=new M(i);return(e=[])=>{let s=jo();if(!s||s.injector.get(Ao,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(Oo&&!Oo.destroyed&&!Oo.injector.get(Ao,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oo=t.get(Mo);const e=t.get(Ws,null);e&&e.forEach(t=>t())}(xn.create({providers:t,name:i}))}return function(t){const e=jo();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}(r)}}function jo(){return Oo&&!Oo.destroyed?Oo:null}class Mo{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(r=e?e.ngZone:void 0)?new Co:("zone.js"===r?void 0:r)||new go({enableLongStackTrace:we()}),i=[{provide:go,useValue:n}];var r;return n.run(()=>{const e=xn.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(_e,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Xs&&Fs(r.injector.get(Zs,Ns)||Ns),r.onDestroy(()=>Fo(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const i=n();return Xn(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(qs);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=No({},e);return Io(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Lo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${k(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 No(t,e){return Array.isArray(e)?e.reduce(No,t):Object.assign({},t,e)}let Lo=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=we(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{go.assertNotInAngularZone(),fo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{go.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(t=>a()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,d);return i.source=e,i.subjectFactory=n,i}}(m)(t))))}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 ni?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=To(n)?null:this._injector.get(X),r=n.create(xn.NULL,[],e||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(xo,null);return s&&r.injector.get(So).registerApplication(r.location.nativeElement,s),this._loadComponent(r),we()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}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,po(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fo(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ys,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Fo(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=ho("ApplicationRef#tick()"),t})();function Fo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Vo{}const Bo="#",zo="NgFactory";class Ho{}const qo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Uo{constructor(t,e){this._compiler=t,this._config=e||qo}load(t){return!Xs&&this._compiler instanceof ro?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split(Bo);return void 0===i&&(i="default"),n("crnd")(e).then(t=>t[i]).then(t=>$o(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split(Bo),r=zo;return void 0===i&&(i="default",r=""),n("crnd")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>$o(t,e,i))}}function $o(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Ko{constructor(t,e){this.name=t,this.callback=e}}class Wo{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Go&&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 Go extends Wo{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,i){e.childNodes.forEach(e=>{e instanceof Go&&(n(e)&&i.push(e),t(e,n,i))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,i){e instanceof Go&&e.childNodes.forEach(e=>{n(e)&&i.push(e),e instanceof Go&&t(e,n,i)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof Go)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const Yo=new Map,Qo=function(t){return Yo.get(t)||null};function Zo(t){Yo.set(t.nativeNode,t)}const Xo=Po(null,"core",[{provide:Gs,useValue:"unknown"},{provide:Mo,deps:[xn]},{provide:So,deps:[]},{provide:Qs,deps:[]}]);function Jo(){return Ri}function tl(){return Pi}function el(t){return t?(Xs&&Fs(t),t):Ns}function nl(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class il{constructor(t){}}function rl(t,e,n,i,r,s){t|=1;const{matchedQueries:o,references:l,matchedQueryIds:a}=fr(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:a,references:l,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?yr(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Yi},provider:null,text:null,query:null,ngContent:null}}function sl(t,e,n,i,r,s,o=[],l,a,u,c,h){u||(u=Yi);const{matchedQueries:d,references:p,matchedQueryIds:m}=fr(n);let f=null,g=null;s&&([f,g]=kr(s)),l=l||[];const b=new Array(l.length);for(let v=0;v{const[n,i]=kr(t);return[n,i,e]});return h=function(t){if(t&&t.id===Ji){const e=null!=t.encapsulation&&t.encapsulation!==it.None||t.styles.length||Object.keys(t.data).length;t.id=e?`c${nr++}`:tr}return t&&t.id===tr&&(t=null),t||null}(h),c&&(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:m,references:p,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:Or(b),outputs:_,element:{ns:f,name:g,attrs:y,template:null,componentProvider:null,componentView:c||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:u||Yi},provider:null,text:null,query:null,ngContent:null}}function ol(t,e,n){const i=n.element,r=t.root.selectorOrNode,s=t.renderer;let o;if(t.parent||!r){o=i.name?s.createElement(i.name,i.ns):s.createComment("");const r=br(t,e,n);r&&s.appendChild(r,o)}else o=s.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===it.ShadowDom);if(i.attrs)for(let l=0;lar(t,e,n,i)}function ul(t,e,n,i){if(!rr(t,e,n,i))return!1;const r=e.bindings[n],s=Ui(t,e.nodeIndex),o=s.renderElement,l=r.name;switch(15&r.flags){case 1:!function(t,e,n,i,r,s){const o=e.securityContext;let l=o?t.root.sanitizer.sanitize(o,s):s;l=null!=l?l.toString():null;const a=t.renderer;null!=s?a.setAttribute(n,r,l,i):a.removeAttribute(n,r,i)}(t,r,o,r.ns,l,i);break;case 2:!function(t,e,n,i){const r=t.renderer;i?r.addClass(e,n):r.removeClass(e,n)}(t,o,l,i);break;case 4:!function(t,e,n,i,r){let s=t.root.sanitizer.sanitize($e.STYLE,r);if(null!=s){s=s.toString();const t=e.suffix;null!=t&&(s+=t)}else s=null;const o=t.renderer;null!=s?o.setStyle(n,i,s):o.removeStyle(n,i)}(t,r,o,l,i);break;case 8:!function(t,e,n,i,r){const s=e.securityContext;let o=s?t.root.sanitizer.sanitize(s,r):r;t.renderer.setProperty(n,i,o)}(33554432&e.flags&&32&r.flags?s.componentView:t,r,o,l,i)}return!0}function cl(t,e,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});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:mr(e),bindings:i},ngContent:null}}function hl(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&pr(t);){let n=t.parentNodeDef;t=t.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=t.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Wi(t,r).setDirty(),!(1&i.flags&&r+i.childCount0)u=t,Sl(t)||(c=t);else for(;u&&m===u.nodeIndex+u.childCount;){const t=u.parent;t&&(t.childFlags|=u.childFlags,t.childMatchedQueries|=u.childMatchedQueries),c=(u=t)&&Sl(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:t,nodes:e,updateDirectives:n||Yi,updateRenderer:i||Yi,handleEvent:(t,n,i,r)=>e[n].element.handleEvent(t,i,r),bindingCount:r,outputCount:s,lastRenderRootNode:p}}function Sl(t){return 0!=(1&t.flags)&&null===t.element.name}function El(t,e,n){const i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.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 i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function kl(t,e,n,i){const r=Il(t.root,t.renderer,t,e,n);return Tl(r,t.component,i),Al(r),r}function Ol(t,e,n){const i=Il(t,t.renderer,null,null,e);return Tl(i,n,n),Al(i),i}function Dl(t,e,n,i){const r=e.element.componentRendererType;let s;return s=r?t.root.rendererFactory.createRenderer(i,r):t.root.renderer,Il(t.root,s,t,e.element.componentProvider,n)}function Il(t,e,n,i,r){const s=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:s,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function Tl(t,e,n){t.component=e,t.context=n}function Al(t){let e;dr(t)&&(e=Ui(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,i=t.nodes;for(let r=0;r0&&ul(t,e,0,n)&&(p=!0),d>1&&ul(t,e,1,i)&&(p=!0),d>2&&ul(t,e,2,r)&&(p=!0),d>3&&ul(t,e,3,s)&&(p=!0),d>4&&ul(t,e,4,o)&&(p=!0),d>5&&ul(t,e,5,l)&&(p=!0),d>6&&ul(t,e,6,a)&&(p=!0),d>7&&ul(t,e,7,u)&&(p=!0),d>8&&ul(t,e,8,c)&&(p=!0),d>9&&ul(t,e,9,h)&&(p=!0),p}(t,e,n,i,r,s,o,l,a,u,c,h);case 2:return function(t,e,n,i,r,s,o,l,a,u,c,h){let d=!1;const p=e.bindings,m=p.length;if(m>0&&rr(t,e,0,n)&&(d=!0),m>1&&rr(t,e,1,i)&&(d=!0),m>2&&rr(t,e,2,r)&&(d=!0),m>3&&rr(t,e,3,s)&&(d=!0),m>4&&rr(t,e,4,o)&&(d=!0),m>5&&rr(t,e,5,l)&&(d=!0),m>6&&rr(t,e,6,a)&&(d=!0),m>7&&rr(t,e,7,u)&&(d=!0),m>8&&rr(t,e,8,c)&&(d=!0),m>9&&rr(t,e,9,h)&&(d=!0),d){let d=e.text.prefix;m>0&&(d+=Cl(n,p[0])),m>1&&(d+=Cl(i,p[1])),m>2&&(d+=Cl(r,p[2])),m>3&&(d+=Cl(s,p[3])),m>4&&(d+=Cl(o,p[4])),m>5&&(d+=Cl(l,p[5])),m>6&&(d+=Cl(a,p[6])),m>7&&(d+=Cl(u,p[7])),m>8&&(d+=Cl(c,p[8])),m>9&&(d+=Cl(h,p[9]));const f=qi(t,e.nodeIndex).renderText;t.renderer.setValue(f,d)}return d}(t,e,n,i,r,s,o,l,a,u,c,h);case 16384:return function(t,e,n,i,r,s,o,l,a,u,c,h){const d=$i(t,e.nodeIndex),p=d.instance;let m=!1,f=void 0;const g=e.bindings.length;return g>0&&ir(t,e,0,n)&&(m=!0,f=Es(t,d,e,0,n,f)),g>1&&ir(t,e,1,i)&&(m=!0,f=Es(t,d,e,1,i,f)),g>2&&ir(t,e,2,r)&&(m=!0,f=Es(t,d,e,2,r,f)),g>3&&ir(t,e,3,s)&&(m=!0,f=Es(t,d,e,3,s,f)),g>4&&ir(t,e,4,o)&&(m=!0,f=Es(t,d,e,4,o,f)),g>5&&ir(t,e,5,l)&&(m=!0,f=Es(t,d,e,5,l,f)),g>6&&ir(t,e,6,a)&&(m=!0,f=Es(t,d,e,6,a,f)),g>7&&ir(t,e,7,u)&&(m=!0,f=Es(t,d,e,7,u,f)),g>8&&ir(t,e,8,c)&&(m=!0,f=Es(t,d,e,8,c,f)),g>9&&ir(t,e,9,h)&&(m=!0,f=Es(t,d,e,9,h,f)),f&&p.ngOnChanges(f),65536&e.flags&&Hi(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),m}(t,e,n,i,r,s,o,l,a,u,c,h);case 32:case 64:case 128:return function(t,e,n,i,r,s,o,l,a,u,c,h){const d=e.bindings;let p=!1;const m=d.length;if(m>0&&rr(t,e,0,n)&&(p=!0),m>1&&rr(t,e,1,i)&&(p=!0),m>2&&rr(t,e,2,r)&&(p=!0),m>3&&rr(t,e,3,s)&&(p=!0),m>4&&rr(t,e,4,o)&&(p=!0),m>5&&rr(t,e,5,l)&&(p=!0),m>6&&rr(t,e,6,a)&&(p=!0),m>7&&rr(t,e,7,u)&&(p=!0),m>8&&rr(t,e,8,c)&&(p=!0),m>9&&rr(t,e,9,h)&&(p=!0),p){const p=Ki(t,e.nodeIndex);let f;switch(201347067&e.flags){case 32:f=new Array(d.length),m>0&&(f[0]=n),m>1&&(f[1]=i),m>2&&(f[2]=r),m>3&&(f[3]=s),m>4&&(f[4]=o),m>5&&(f[5]=l),m>6&&(f[6]=a),m>7&&(f[7]=u),m>8&&(f[8]=c),m>9&&(f[9]=h);break;case 64:f={},m>0&&(f[d[0].name]=n),m>1&&(f[d[1].name]=i),m>2&&(f[d[2].name]=r),m>3&&(f[d[3].name]=s),m>4&&(f[d[4].name]=o),m>5&&(f[d[5].name]=l),m>6&&(f[d[6].name]=a),m>7&&(f[d[7].name]=u),m>8&&(f[d[8].name]=c),m>9&&(f[d[9].name]=h);break;case 128:const t=n;switch(m){case 1:f=t.transform(n);break;case 2:f=t.transform(i);break;case 3:f=t.transform(i,r);break;case 4:f=t.transform(i,r,s);break;case 5:f=t.transform(i,r,s,o);break;case 6:f=t.transform(i,r,s,o,l);break;case 7:f=t.transform(i,r,s,o,l,a);break;case 8:f=t.transform(i,r,s,o,l,a,u);break;case 9:f=t.transform(i,r,s,o,l,a,u,c);break;case 10:f=t.transform(i,r,s,o,l,a,u,c,h)}}p.value=f}return p}(t,e,n,i,r,s,o,l,a,u,c,h);default:throw"unreachable"}}(t,e,i,r,s,o,l,a,u,c,h,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let i=!1;for(let r=0;r0&&sr(t,e,0,n),d>1&&sr(t,e,1,i),d>2&&sr(t,e,2,r),d>3&&sr(t,e,3,s),d>4&&sr(t,e,4,o),d>5&&sr(t,e,5,l),d>6&&sr(t,e,6,a),d>7&&sr(t,e,7,u),d>8&&sr(t,e,8,c),d>9&&sr(t,e,9,h)}(t,e,i,r,s,o,l,a,u,c,h,d):function(t,e,n){for(let i=0;i{const i=Xl.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(t=>{Jl.forEach((i,r)=>{S(r).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t);return e?(function(t){for(let e=0;e0){let e=new Set(t.modules);Jl.forEach((i,r)=>{if(e.has(S(r).providedIn)){let e={token:r,flags:i.flags|(n?4096:0),deps:gr(i.deps),value:i.value,index:t.providers.length};t.providers.push(e),t.providersByKey[Zi(r)]=e}})}}(t=t.factory(()=>Yi)),t):t}(i))}const Xl=new Map,Jl=new Map,ta=new Map;function ea(t){let e;Xl.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&Jl.set(t.token,t)}function na(t,e){const n=yr(e.viewDefFactory),i=yr(n.nodes[0].element.componentView);ta.set(t,i)}function ia(){Xl.clear(),Jl.clear(),ta.clear()}function ra(t){if(0===Xl.size)return t;const e=function(t){const e=[];let n=null;for(let i=0;iYi);for(let i=0;i"-"+t[1].toLowerCase())}`)]=Ze(l))}const i=e.parent,l=Ui(t,i.nodeIndex).renderElement;if(i.element.name)for(let e in n){const i=n[e];null!=i?t.renderer.setAttribute(l,e,i):t.renderer.removeAttribute(l,e)}else t.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var r,s}function ya(t,e,n,i){Nl(t,e,n,...i)}function va(t,e){for(let n=e;n++s===r?t.error.bind(t,...e):Yi),snew Ca(t,e),handleEvent:fa,updateDirectives:ga,updateRenderer:ba}:{setCurrentNode:()=>{},createRootView:Kl,createEmbeddedView:kl,createComponentView:Dl,createNgModuleRef:ns,overrideProvider:Yi,overrideComponentView:Yi,clearOverrides:Yi,checkAndUpdateView:Pl,checkNoChangesView:Rl,destroyView:Fl,createDebugContext:(t,e)=>new Ca(t,e),handleEvent:(t,e,n,i)=>t.def.handleEvent(t,e,n,i),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?sa:oa,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?sa:oa,t)};Gi.setCurrentNode=t.setCurrentNode,Gi.createRootView=t.createRootView,Gi.createEmbeddedView=t.createEmbeddedView,Gi.createComponentView=t.createComponentView,Gi.createNgModuleRef=t.createNgModuleRef,Gi.overrideProvider=t.overrideProvider,Gi.overrideComponentView=t.overrideComponentView,Gi.clearOverrides=t.clearOverrides,Gi.checkAndUpdateView=t.checkAndUpdateView,Gi.checkNoChangesView=t.checkNoChangesView,Gi.destroyView=t.destroyView,Gi.resolveDep=xs,Gi.createDebugContext=t.createDebugContext,Gi.handleEvent=t.handleEvent,Gi.updateDirectives=t.updateDirectives,Gi.updateRenderer=t.updateRenderer,Gi.dirtyParentQueries=hl}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),i={};for(const r in t.providersByKey)i[r]=t.providersByKey[r];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:i}}(yr(this._ngModuleDefFactory));return Gi.createNgModuleRef(this.moduleType,t||xn.NULL,this._bootstrapComponents,e)}}},"8bJo":function(t,e,n){"use strict";n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return c}));var i=n("HDdC"),r=n("LRne"),s=n("XNiG"),o=n("8Y7J");class l{}function a(t){return t&&"function"==typeof t.connect}class u extends l{constructor(t){super(),this._data=t}connect(){return this._data instanceof i.a?this._data:Object(r.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 s.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.")}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.ngInjectableDef=Object(o.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i={production:!0}},Cfvw:function(t,e,n){"use strict";var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),o=n("kJWO"),l=n("jZKg"),a=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[o.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(u.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(c.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 i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[a.a](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}n.d(e,"a",(function(){return h}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},D8EZ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return LoginComponent}));var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("KIbp");class LoginComponent{constructor(t){this.api=t,this.title="UDS Enterprise",this.auths=t.config.authenticators.slice(0),this.auths.sort((t,e)=>t.priority-e.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id)}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const t of this.auths)t.id===auth&&t.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(t.id).subscribe(t=>doCustomAuth(t)))}}},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var i=n("HDdC");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return o})),n.d(e,"d",(function(){return b})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return y}));class i{}class r{}const s="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function l(t,e=null){return{type:4,styles:e,timings:t}}function a(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function m(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}class b{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(){g(()=>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 _{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,i=0;const r=this.players.length;0==r?g(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&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 y="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("LRne"),r=n("0EUg");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){"use strict";var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),o=n("kJWO"),l=n("mCNh"),a=n("2fFW");n.d(e,"a",(function(){return u}));let u=(()=>{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,l=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(l.add(o?o.call(l,this.source):this.source||a.a.useDeprecatedSynchronousErrorHandling&&!l.syncErrorThrowable?this._subscribe(l):this._trySubscribe(l)),a.a.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable&&(l.syncErrorThrowable=!1,l.syncErrorThrown))throw l.syncErrorValue;return l}_trySubscribe(t){try{return this._subscribe(t)}catch(e){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.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(l.b)(t)(this)}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=a.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 i}));const i=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 l}));var i=n("SVse"),r=n("8Y7J");const s=new r.o("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.U)(i.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new r.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(r.Qb)({factory:function(){return new t(Object(r.Rb)(s,8))},token:t,providedIn:"root"}),t})();class l{}},IheW:function(t,e,n){"use strict";n.d(e,"k",(function(){return R})),n.d(e,"n",(function(){return L})),n.d(e,"o",(function(){return F})),n.d(e,"l",(function(){return j})),n.d(e,"m",(function(){return M})),n.d(e,"b",(function(){return h})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return k})),n.d(e,"a",(function(){return D})),n.d(e,"d",(function(){return z})),n.d(e,"e",(function(){return B})),n.d(e,"j",(function(){return V})),n.d(e,"g",(function(){return P})),n.d(e,"i",(function(){return A})),n.d(e,"h",(function(){return N}));var i=n("8Y7J"),r=n("LRne"),s=n("HDdC"),o=n("bOdf"),l=n("pLZG"),a=n("lJxs"),u=n("SVse");class c{}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),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}: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 i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;0===(t=t.filter(t=>-1===r.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 m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function m(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 f{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 i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,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 f({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 b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let r;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)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.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]),l)),t.setParams&&(a=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),a)),new y(e,n,r,{params:a,headers:l,reportProgress:o,responseType:i,withCredentials:s})}}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 C extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new C({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 x extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({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 S 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 E(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 i;if(t instanceof y)i=t;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let s=void 0;n.params&&(s=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return s;const u=s.pipe(Object(l.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return u.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(a.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 u.pipe(Object(a.a)(t=>t.body))}case"response":return u;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 f).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,E(n,e))}post(t,e,n={}){return this.request("POST",t,E(n,e))}put(t,e,n={}){return this.request("PUT",t,E(n,e))}}class O{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const D=new i.o("HTTP_INTERCEPTORS");class I{intercept(t,e){return e.handle(t)}}const T=/^\)\]\}',?\n/;class A{}class R{constructor(){}build(){return new XMLHttpRequest}}class P{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new s.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 i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=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 r=new C({headers:s,status:e,statusText:i,url:o})},o=()=>{let{headers:i,status:r,statusText:o,url:l}=s(),a=null;204!==r&&(a=void 0===n.response?n.responseText:n.response),0===r&&(r=a?200:0);let u=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof a){const t=a;a=a.replace(T,"");try{a=""!==a?JSON.parse(a):null}catch(c){a=t,u&&(u=!1,a={error:c,text:a})}}u?(e.next(new x({body:a,headers:i,status:r,statusText:o,url:l||void 0})),e.complete()):e.error(new S({error:a,headers:i,status:r,statusText:o,url:l||void 0}))},l=t=>{const{url:i}=s(),r=new S({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let a=!1;const u=i=>{a||(e.next(s()),a=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},c=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",l),t.reportProgress&&(n.addEventListener("progress",u),null!==i&&n.upload&&n.upload.addEventListener("progress",c)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==i&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const j=new i.o("XSRF_COOKIE_NAME"),M=new i.o("XSRF_HEADER_NAME");class N{}class L{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(u.z)(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 i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}class V{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(D,[]);this.chain=t.reduceRight((t,e)=>new O(t,e),this.backend)}return this.chain.handle(t)}}class B{static disable(){return{ngModule:B,providers:[{provide:F,useClass:I}]}}static withOptions(t={}){return{ngModule:B,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:M,useValue:t.headerName}:[]]}}}class z{}},IjjT:function(t,e,n){"use strict";let i=(()=>{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 r}));class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.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 i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(t){return e=>0===t?Object(s.b)():e.lift(new l(t))}class l{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new a(t,this.total))}}class a extends i.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()))}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("GyhO"),r=n("z+Ro");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},KCVW:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return a}));var i=n("8Y7J");function r(t){return null!=t&&"false"!==`${t}`}function s(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 l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function a(t){return t instanceof i.k?t.nativeElement:t}},KIbp:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return UDSApiService}));var _types_config__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("wlNb"),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("OPAf"),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ePv7"),_environments_environment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("AytR");class UDSApiService{constructor(t,e,n){this.http=t,this.gui=e,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_0__.a(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.a(this)}get config(){return udsData.config}get plugins(){return udsData.plugins}get actors(){return udsData.actors}enabler(t,e){const n=this.config.urls.enabler.replace("param1",t).replace("param2",e);return this.http.get(n)}action(t,e){const n=this.config.urls.action.replace("param1",e).replace("param2",t);return this.http.get(n)}galleryImageURL(t){return this.config.urls.galleryImage.replace("param1",t)}transportIconURL(t){return this.config.urls.transportIcon.replace("param1",t)}staticURL(t){return _environments_environment__WEBPACK_IMPORTED_MODULE_3__.a.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(t){this.plugin.launchURL(t)}getAuthCustomHtml(t){return this.http.get(this.config.urls.customAuth+t,{responseType:"text"})}}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q"),r=n("D0XW");function s(t,e=r.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 l(t,this.dueTime,this.scheduler))}}class l extends i.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(a,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 a(t){t.debouncedNext()}},KqfI:function(t,e,n){"use strict";function i(){}n.d(e,"a",(function(){return i}))},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return r}));const r=i()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return i}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("Cfvw"),s=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},OPAf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("YY/e");class r{constructor(t){this.dialog=t}alert(t,e,n=0){const r=window.innerWidth<800?"80%":"40%";this.dialog.open(i.b,{width:r,data:{title:t,body:e,autoclose:n,type:i.a.alert},disableClose:!0})}yesno(t,e){const n=window.innerWidth<800?"80%":"40%";return this.dialog.open(i.b,{width:n,data:{title:t,body:e,type:i.a.yesno},disableClose:!0}).componentInstance.yesno}}},POq0:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return h}));var i=n("KCVW"),r=n("8Y7J"),s=n("HDdC"),o=n("XNiG"),l=n("Kj3r");let a=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.d)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=Object(r.Qb)({factory:function(){return new t(Object(r.Rb)(a))},token:t,providedIn:"root"}),t})();class c{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.m,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.b)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.e)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(l.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}class h{}},QQfA:function(t,e,n){"use strict";n.d(e,"c",(function(){return B})),n.d(e,"e",(function(){return T})),n.d(e,"b",(function(){return q})),n.d(e,"a",(function(){return U})),n.d(e,"f",(function(){return I})),n.d(e,"h",(function(){return F})),n.d(e,"d",(function(){return S})),n.d(e,"i",(function(){return x})),n.d(e,"g",(function(){return K})),n.d(e,"j",(function(){return H})),n.d(e,"k",(function(){return $}));var i=n("KCVW"),r=n("hOhj"),s=n("SVse"),o=n("8Y7J"),l=n("XNiG"),a=n("quSY"),u=n("HDdC"),c=n("VRyK"),h=n("IzEk"),d=n("1G5W"),p=n("/HVE"),m=n("zMNK"),f=n("dvZr");class g{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(i.c)(-this._previousScrollPosition.left),t.style.top=Object(i.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,i=e.scrollBehavior||"",r=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=i,n.scrollBehavior=r}}_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 b(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw b();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 v(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function w(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw b();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();v(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 x=(()=>{class t{constructor(t,e,n,i){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 g(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.ngInjectableDef=Object(o.Qb)({factory:function(){return new t(Object(o.Rb)(r.a),Object(o.Rb)(r.d),Object(o.Rb)(o.x),Object(o.Rb)(s.d))},token:t,providedIn:"root"}),t})();class S{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 E{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class k{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function O(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "top", "bottom" or "center".')}function D(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "start", "end" or "center".')}let I=(()=>{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.Qb)({factory:function(){return new t(Object(o.Rb)(s.d))},token:t,providedIn:"root"}),t})(),T=(()=>{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 u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new l.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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(i.c)(this._config.width),t.height=Object(i.c)(this._config.height),t.minWidth=Object(i.c)(this._config.minWidth),t.minHeight=Object(i.c)(this._config.minHeight),t.maxWidth=Object(i.c)(this._config.maxWidth),t.maxHeight=Object(i.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 r=t.classList;Object(i.a)(e).forEach(t=>{t&&(n?r.add(t):r.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(d.a)(Object(c.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 R="cdk-overlay-connected-position-bounding-box";class P{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,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 l.a,this._resizeSubscription=a.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(R),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,i=[];let r;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),l=this._getOverlayPoint(o,e,s),a=this._getOverlayFit(l,e,n,s);if(a.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(a,l,n)?i.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.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(R),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,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+(r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,o=this._getOffset(i,"x"),l=this._getOffset(i,"y");o&&(r+=o),l&&(s+=l);let a=0-s,u=s+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,a,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,l=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&l}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 i=this._viewportRect,r=Math.max(t.x+e.width-i.right,0),s=Math.max(t.y+e.height-i.bottom,0),o=Math.max(i.top-n.top-t.y,0),l=Math.max(i.left-n.left-t.x,0);let a=0,u=0;return this._previousPushAmount={x:a=e.width<=i.width?l||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)u=n.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)a=t.x,l=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=t.x-e,(l=2*e)>i&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-i/2)}return{top:s,left:a,bottom:o,right:u,width:l,height:r}}_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 r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Object(i.c)(n.height),r.top=Object(i.c)(n.top),r.bottom=Object(i.c)(n.bottom),r.width=Object(i.c)(n.width),r.left=Object(i.c)(n.left),r.right=Object(i.c)(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(r.maxHeight=Object(i.c)(t)),s&&(r.maxWidth=Object(i.c)(s))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,r)}_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 i=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,i)),j(n,this._getExactOverlayX(e,t,i))}else n.position="static";let i="",r=this._getOffset(e,"x"),s=this._getOffset(e,"y");r&&(i+=`translateX(${r}px) `),s&&(i+=`translateY(${s}px)`),n.transform=i.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 r={top:null,bottom:null},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?r.bottom=`${this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)}px`:r.top=Object(i.c)(s.y),r}_getExactOverlayX(t,e,n){let r,s={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(r=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?s.right=`${this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)}px`:s.left=Object(i.c)(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w(t,n),isOriginOutsideView:v(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:v(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=>{D("originX",t.originX),O("originY",t.originY),D("overlayX",t.overlayX),O("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(i.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 M{constructor(t,e,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new P(n,i,r,s,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,i){const r=new E(t,e,n,i);return this._preferredPositions.push(r),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 N="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(N),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(N),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let F=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new L}connectedTo(t,e,n){return new M(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.Qb)({factory:function(){return new t(Object(o.Rb)(r.d),Object(o.Rb)(s.d),Object(o.Rb)(p.a),Object(o.Rb)(T))},token:t,providedIn:"root"}),t})(),V=0;class B{constructor(t,e,n,i,r,s,o,l,a,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=l,this._directionality=a,this._location=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new S(t);return r.direction=r.direction||this._directionality.value,new A(i,e,n,r,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-${V++}`,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 m.d(t,this._componentFactoryResolver,this._appRef,this._injector)}}const z=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],H=new o.o("cdk-connected-overlay-scroll-strategy");class q{constructor(t){this.elementRef=t}}class U{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=a.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.m,this.positionChange=new o.m,this.attach=new o.m,this.detach=new o.m,this.overlayKeydown=new o.m,this._templatePortal=new m.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(i.b)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(i.b)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(i.b)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(i.b)(t)}get push(){return this._push}set push(t){this._push=Object(i.b)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=z),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==f.e||Object(f.o)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this._createPositionStrategy(),e=new S({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}function $(t){return()=>t.scrollStrategies.reposition()}class K{}},SVse:function(t,e,n){"use strict";n.d(e,"y",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return f})),n.d(e,"z",(function(){return b})),n.d(e,"c",(function(){return L})),n.d(e,"i",(function(){return w})),n.d(e,"j",(function(){return x})),n.d(e,"k",(function(){return E})),n.d(e,"n",(function(){return I})),n.d(e,"o",(function(){return T})),n.d(e,"p",(function(){return A})),n.d(e,"d",(function(){return F})),n.d(e,"b",(function(){return N})),n.d(e,"x",(function(){return V})),n.d(e,"t",(function(){return z})),n.d(e,"u",(function(){return H})),n.d(e,"s",(function(){return q})),n.d(e,"w",(function(){return y})),n.d(e,"v",(function(){return _})),n.d(e,"r",(function(){return r})),n.d(e,"f",(function(){return s})),n.d(e,"h",(function(){return o})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"q",(function(){return h})),n.d(e,"g",(function(){return a}));var i=n("8Y7J");class r{}const s=new i.o("Location Initialized");class o{}const l=new i.o("appBaseHref");class a{constructor(t,e){this._subject=new i.m,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=a.stripTrailingSlash(u(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+a.normalizeQueryParams(e))}normalize(t){return a.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(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+a.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+a.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 u(t){return t.replace(/\/index.html$/,"")}class c 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=a.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}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 a.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+a.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)}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=i.tb,m=new i.o("UseV4Plurals");class f{}class g extends f{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 b(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}class _{}class y{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.wb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.Jb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let v=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class w extends v{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class C{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 x{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(i.V)()&&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,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new C(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new S(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new S(t,r);e.push(s)}});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 S{constructor(t,e){this.record=t,this.view=e}}class E{constructor(t,e){this._viewContainer=t,this._context=new k,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){O("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){O("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 k{constructor(){this.$implicit=null,this.ngIf=null}}function O(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.Jb)(e)}'.`)}class D{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 I{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{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class P{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const j=new P,M=new R;class N{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(i.zb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.P.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(Object(i.yb)(t))return j;if(Object(i.xb)(t))return M;throw e=N,Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.Jb)(e)}'`);var e}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class L{}const F=new i.o("DocumentToken"),V="browser",B="server";function z(t){return t===V}function H(t){return t===B}let q=(()=>{class t{}return t.ngInjectableDef=Object(i.Qb)({token:t,providedIn:"root",factory:()=>new U(Object(i.Rb)(F),window,Object(i.Rb)(i.l))}),t})();class U{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,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},SeVD:function(t,e,n){"use strict";var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),l=n("I55L"),a=n("c2HN"),u=n("XoHu");n.d(e,"a",(function(){return c}));const c=t=>{if(t&&"function"==typeof t[o.a])return(t=>e=>{const n=t[o.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Object(l.a)(t))return Object(i.a)(t);if(Object(a.a)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e))(t);if(t&&"function"==typeof t[s.a])return(t=>e=>{const n=t[s.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})(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 i(t){return t}n.d(e,"a",(function(){return i}))},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function l(...t){let e=Number.POSITIVE_INFINITY,n=null,l=t[t.length-1];return Object(r.a)(l)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof l&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";var i=n("EY2u"),r=n("LRne"),s=n("HDdC");n.d(e,"a",(function(){return o}));let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return t=this.error,new s.a(e=>e.error(t));case"C":return Object(i.b)()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),o=n("9ppp"),l=n("Ylt2"),a=n("2QA8");class u extends r.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[a.a](){return new u(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,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends c{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):s.a.EMPTY}}},Xd0L:function(t,e,n){"use strict";var i=n("8Y7J"),r=n("cUpR");const s=new i.M("8.2.3");var o=n("KCVW"),l=n("XNiG"),a=(n("HDdC"),n("/HVE")),u=(n("JX91"),n("5GAg")),c=n("dvZr");n.d(e,"l",(function(){return p})),n.d(e,"d",(function(){return d})),n.d(e,"B",(function(){return m})),n.d(e,"z",(function(){return f})),n.d(e,"A",(function(){return g})),n.d(e,"D",(function(){return b})),n.d(e,"C",(function(){return _})),n.d(e,"w",(function(){return T})),n.d(e,"n",(function(){return A})),n.d(e,"f",(function(){return y})),n.d(e,"a",(function(){return v})),n.d(e,"e",(function(){return w})),n.d(e,"v",(function(){return D})),n.d(e,"i",(function(){return I})),n.d(e,"b",(function(){return R})),n.d(e,"g",(function(){return P})),n.d(e,"c",(function(){return N})),n.d(e,"m",(function(){return L})),n.d(e,"q",(function(){return st})),n.d(e,"x",(function(){return it})),n.d(e,"y",(function(){return rt})),n.d(e,"j",(function(){return et})),n.d(e,"p",(function(){return nt})),n.d(e,"o",(function(){return X})),n.d(e,"h",(function(){return ot})),n.d(e,"u",(function(){return K})),n.d(e,"k",(function(){return U})),n.d(e,"t",(function(){return $})),n.d(e,"s",(function(){return G})),n.d(e,"r",(function(){return W}));const h=new i.M("8.2.3"),d=new i.o("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class p{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(i.V)()&&!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(){h.full!==s.full&&console.warn("The Angular Material version ("+h.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 m(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.b)(t)}}}function f(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 g(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.b)(t)}}}function b(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function _(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}const y=new i.o("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.U)(i.s)}});class v{constructor(){this._localeChanges=new l.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const w=new i.o("mat-date-formats");let C;try{C="undefined"!=typeof Intl}catch(lt){C=!1}const x={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},S=O(31,t=>String(t+1)),E={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},k=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function O(t,e){const n=Array(t);for(let i=0;ithis._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return x[t]}getDateNames(){if(C){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return O(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return S}getDayOfWeekNames(t){if(C){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return O(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return E[t]}getYearName(t){if(C){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(C){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(k.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}const I={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class T{}class A{}let R=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const P=new i.o("MAT_HAMMER_OPTIONS"),j=["longpress","slide","slidestart","slideend","slideright","slideleft"],M={on:()=>{},off:()=>{}};class N extends r.g{constructor(t,e){super(),this._hammerOptions=t,this.events=j,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return M;const n=new e(t,this._hammerOptions||void 0),i=new e.Pan,r=new e.Swipe,s=new e.Press,o=this._createRecognizer(i,{event:"slide",threshold:0},r),l=this._createRecognizer(s,{event:"longpress",time:500});return i.recognizeWith(r),l.recognizeWith(o),n.add([r,s,i,o,l]),n}_createRecognizer(t,e,...n){let i=new t.constructor(e);return n.push(t),n.forEach(t=>i.recognizeWith(t)),i}}class L{}const F=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=F.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const B={enterDuration:450,exitDuration:400},z=800,H=Object(a.f)({passive:!0});class q{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(u.h)(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===F.VISIBLE||t.config.terminateOnPointerUp&&t.state===F.FADING_IN)&&t.fadeOut()}))},i.isBrowser&&(this._containerElement=Object(o.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 i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign({},B,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,l=e-i.top,a=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${o-s}px`,u.style.top=`${l-s}px`,u.style.height=`${2*s}px`,u.style.width=`${2*s}px`,u.style.backgroundColor=n.color||null,u.style.transitionDuration=`${a}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const c=new V(this,u,n);return c.state=F.FADING_IN,this._activeRipples.add(c),n.persistent||(this._mostRecentTransientRipple=c),this._runTimeoutOutsideZone(()=>{const t=c===this._mostRecentTransientRipple;c.state=F.VISIBLE,n.persistent||t&&this._isPointerDown||c.fadeOut()},a),c}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,i=Object.assign({},B,t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=F.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=F.HIDDEN,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.d)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,H)})}),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,H)})}}const U=new i.o("mat-ripple-global-options");class ${constructor(t,e,n,i,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new q(this,e,t,n),"NoopAnimations"===r&&(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 K{}class W{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}class G{}class Y{}const Q=m(Y);let Z=0;class X extends Q{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${Z++}`}}let J=0;class tt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const et=new i.o("MAT_OPTION_PARENT_COMPONENT");class nt{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${J++}`,this.onSelectionChange=new i.m,this._stateChanges=new l.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.b)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==c.d&&t.keyCode!==c.j||Object(c.o)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new tt(this,t))}}function it(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;en+i?Math.max(0,r-i+e):n}class st{}const ot=new i.o("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return i}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},"YY/e":function(t,e,n){"use strict";var i=n("HDdC"),r=n("D0XW"),s=n("Y7HM");function o(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return a}));var l=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t}({});class a{constructor(t,e){this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new i.a(t=>{this.yes=()=>{t.next(!0),t.complete()},this.no=()=>{t.next(!1),t.complete()},this.close=()=>{this.doClose(),t.next(!1),t.complete()};const e=this;return{unsubscribe(){e.resetCallbacks()}}})}resetCallbacks(){this.yes=this.no=()=>{this.close()},this.close=()=>{this.doClose()}}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(t=0,e=r.a){return(!Object(s.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.a),new i.a(n=>(n.add(e.schedule(o,t,{subscriber:n,counter:0,period:t})),n))}(1e3).subscribe(t=>{const e=this.data.autoclose-1e3*(t+1);this.setExtra(e),e<=0&&this.close()}))}initYesNo(){}ngOnInit(){this.data.type===l.yesno?this.initYesNo():this.initAlert()}}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("quSY");class r extends i.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 o}));var i=n("51Dv"),r=n("SeVD"),s=n("HDdC");function o(t,e,n,o,l=new i.a(t,n,o)){if(!l.closed)return e instanceof s.a?e.subscribe(l):Object(r.a)(e)(l)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("5+tZ"),r=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("5+tZ");function r(t,e){return Object(i.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return i}))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return Ct})),n.d(e,"q",(function(){return k})),n.d(e,"a",(function(){return xt})),n.d(e,"h",(function(){return wt})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return D})),n.d(e,"e",(function(){return st})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return lt})),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 it})),n.d(e,"m",(function(){return at})),n.d(e,"n",(function(){return ht})),n.d(e,"l",(function(){return A})),n.d(e,"o",(function(){return T})),n.d(e,"k",(function(){return pt}));var i=n("SVse"),r=n("8Y7J");let s=null;function o(){return s}class l{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}class a extends l{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 u={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},c=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(r.ub.Node)return r.ub.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class m extends a{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new m,s||(s=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 u}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 i=0;it.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 i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(t,e),i}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 i=this.getStyle(t,e)||"";return n?i==n:i.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let i=0;i{n.get(r.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:[_,i.d,r.p],multi:!0}];class v{static init(){Object(r.X)(new v)}addToWindow(t){r.ub.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.ub.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.ub.getAllAngularRootElements=()=>t.getAllRootElements(),r.ub.frameworkStabilizers||(r.ub.frameworkStabilizers=[]),r.ub.frameworkStabilizers.push(t=>{const e=r.ub.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,0==--n&&t(i)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i: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||((r.ub.ng=r.ub.ng||{})[t]=e)}const C=(()=>({ApplicationRef:r.g,NgZone:r.x}))(),x="probe",S="coreTokens";function E(t){return Object(r.T)(t)}function k(t){return w(x,E),w(S,Object.assign({},C,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>E}const O=new r.o("EventManagerPlugins");class D{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 i=0;i{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class A extends T{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 R={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/"},P=/%COMP%/g,j="_nghost-%COMP%",M="_ngcontent-%COMP%";function N(t,e,n){for(let i=0;i{!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 V(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.O.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new H(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.O.Native:case r.O.ShadowDom:return new q(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=N(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class V{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(R[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,i){if(i){e=i+":"+e;const r=R[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=R[n];i?t.removeAttributeNS(i,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,i){i&r.E.DashCase?t.style.setProperty(e,n,i&r.E.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.E.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){z(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return z(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,L(n)):this.eventManager.addEventListener(t,e,L(n))}}const B=(()=>"@".charCodeAt(0))();function z(t,e){if(t.charCodeAt(0)===B)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class H extends V{constructor(t,e,n,i){super(t),this.component=n;const r=N(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr=M.replace(P,i+"-"+n.id),this.hostAttr=function(t){return j.replace(P,t)}(i+"-"+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 q extends V{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=N(i.id,i.styles,[]);for(let r=0;r"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),$=U("addEventListener"),K=U("removeEventListener"),W={},G="FALSE",Y="ANGULAR",Q="addEventListener",Z="removeEventListener",X="__zone_symbol__propagationStopped",J="__zone_symbol__stopImmediatePropagation",tt=(()=>{const t="undefined"!=typeof Zone&&Zone[U("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=W[t.type];if(!e)return;const n=this[e];if(!n)return;const i=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,i):t.handler.apply(this,i)}{const e=n.slice();for(let n=0;n0;r||(r=t[n]=[]);const o=et(e)?Zone.root:Zone.current;if(0===r.length)r.push({zone:o,handler:i});else{let t=!1;for(let e=0;ethis.removeEventListener(t,e,i)}removeEventListener(t,e,n){let i=t[K];if(!i)return t[Z].apply(t,[e,n,!1]);let r=W[e],s=r&&t[r];if(!s)return t[Z].apply(t,[e,n,!1]);let o=!1;for(let l=0;l{i=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(r=()=>{});i||(r=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom `+"Hammer.JS loader failed."),r=()=>{}}),()=>{r()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(t),s=function(t){i.runGuarded((function(){n(t)}))};return r.on(e,s),()=>{r.off(e,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const ut=["alt","control","meta","shift"],ct={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class ht extends I{constructor(t){super(t)}supports(t){return null!=ht.parseEventName(t)}addEventListener(t,e,n){const i=ht.parseEventName(e),r=ht.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,i.domEventName,r))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const i=ht._normalizeKey(e.pop());let r="";if(ut.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r+=t+".")}),r+=i,0!=e.length||0===i.length)return null;const s={};return s.domEventName=n,s.fullKey=r,s}static getEventFullKey(t){let e="",n=o().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ut.forEach(i=>{i!=n&&(0,ct[i])(t)&&(e+=i+".")}),e+=n}static eventCallback(t,e,n){return i=>{ht.getEventFullKey(i)===t&&n.runGuarded(()=>e(i))}}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 r.G.NONE:return e;case r.G.HTML:return e instanceof ft?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(r.db)(this._doc,String(e)));case r.G.STYLE:return e instanceof gt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(r.eb)(e));case r.G.SCRIPT:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case r.G.URL:return e instanceof yt||e instanceof _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(r.fb)(String(e)));case r.G.RESOURCE_URL:if(e instanceof yt)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 mt)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(t){return new ft(t)}bypassSecurityTrustStyle(t){return new gt(t)}bypassSecurityTrustScript(t){return new bt(t)}bypassSecurityTrustUrl(t){return new _t(t)}bypassSecurityTrustResourceUrl(t){return new yt(t)}}class mt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class ft extends mt{getTypeName(){return"HTML"}}class gt extends mt{getTypeName(){return"Style"}}class bt extends mt{getTypeName(){return"Script"}}class _t extends mt{getTypeName(){return"URL"}}class yt extends mt{getTypeName(){return"ResourceURL"}}const vt=[{provide:r.z,useValue:i.x},{provide:r.A,useValue:function(){m.makeCurrent(),v.init()},multi:!0},{provide:i.r,useClass:class extends i.r{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){b()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){b()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[i.d]},{provide:i.d,useFactory:function(){return document},deps:[]}],wt=Object(r.Q)(r.W,"browser",vt);function Ct(){return new r.l}class xt{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:xt,providers:[{provide:r.c,useValue:t.appId},{provide:_,useExisting:r.c},y]}}}"undefined"!=typeof window&&window},crnd: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="crnd"},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return s})),n.d(e,"j",(function(){return o})),n.d(e,"c",(function(){return l})),n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"l",(function(){return c})),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 m})),n.d(e,"a",(function(){return f})),n.d(e,"m",(function(){return g})),n.d(e,"o",(function(){return b}));const i=9,r=13,s=27,o=32,l=35,a=36,u=37,c=38,h=39,d=40,p=48,m=57,f=65,g=90;function b(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 a}));var i=n("l7GE"),r=n("51Dv"),s=n("ZUHj"),o=n("lJxs"),l=n("Cfvw");function a(t,e){return"function"==typeof e?n=>n.pipe(a((n,i)=>Object(l.a)(t(n,i)).pipe(Object(o.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new u(t))}class u{constructor(t){this.project=t}call(t,e){return e.subscribe(new c(t,this.project))}}class c extends i.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(i){return void this.destination.error(i)}this._innerSub(e,t,n)}_innerSub(t,e,n){const i=this.innerSubscription;i&&i.unsubscribe();const o=new r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(s.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,i,r){this.destination.next(e)}}},ePv7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let i=(()=>{class t{constructor(t){this.api=t}doLaunch(t){this.api.gui.alert(django.gettext("Launching service"),''+django.gettext("Please wait")+'
'+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);let e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){const t=document.createElement("div");t.id="testID",t.innerHTML='',document.body.appendChild(t),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t}launchURL(e){if("udsa://"===e.substring(0,7)){const t=e.split("//")[1].split("/");this.api.enabler(t[0],t[1]).subscribe(t=>{void 0!==t.error&&""!==t.error?this.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),this.doLaunch(t.url))})}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")}}return t.transportsWindow=null,t})()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"c",(function(){return Et})),n.d(e,"g",(function(){return kt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return le})),n.d(e,"d",(function(){return Ie})),n.d(e,"f",(function(){return Ae})),n.d(e,"h",(function(){return Re}));var i=n("GS7A");function r(){return"undefined"!=typeof process}function s(t){switch(t.length){case 0:return new i.d;case 1:return t[0];default:return new i.o(t)}}function o(t,e,n,r,s={},o={}){const l=[],a=[];let u=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==u,h=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,l),a){case i.p:a=s[n];break;case i.a:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,l)}h[r]=a}),r||a.push(h),c=h,u=n}),l.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${l.join(t)}`)}return a}function l(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&a(n,"start",t)));break;case"done":t.onDone(()=>i(n&&a(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&a(n,"destroy",t)))}}function a(t,e,n){const i=n.totalTime,r=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function u(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function c(t,e,n){let i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}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,m=(t,e,n)=>[];const f=r();(f||"undefined"!=typeof Element)&&(d=(t,e)=>t.contains(e),p=(()=>{if(f||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}})(),m=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let g=null,b=!1;function _(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!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)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}const y=p,v=d,w=m;function C(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}class x{validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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,r,s,o=[],l){return new i.d(n,r)}}let S=(()=>{class t{}return t.NOOP=new x,t})();const E=1e3,k="{{",O="ng-enter",D="ng-leave",I="ng-trigger",T=".ng-trigger",A="ng-animating",R=".ng-animating";function P(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:j(parseFloat(e[1]),e[2])}function j(t,e){switch(e){case"s":return t*E;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";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:""};i=j(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=j(parseFloat(o),n[4]));const l=n[5];l&&(s=l)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function N(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function L(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else N(t,n);return n}function F(t,e,n){return n?e+":"+n+";":""}function V(t){let e="";for(let n=0;n{const r=G(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),r()&&V(t))}function z(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),r()&&V(t))}function H(t){return Array.isArray(t)?1==t.length?t[0]:Object(i.j)(t):t}const q=new RegExp(`${k}\\s*(.+?)\\s*}}`,"g");function U(t){let e=[];if("string"==typeof t){const n=t.toString();let i;for(;i=q.exec(n);)e.push(i[1]);q.lastIndex=0}return e}function $(t,e,n){const i=t.toString(),r=i.replace(q,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function K(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const W=/-+([a-z0-9])/g;function G(t){return t.replace(W,(...t)=>t[1].toUpperCase())}function Y(t,e){return 0===t||0===e}function Q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r(function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(it(r,o)),"<"!=s[0]||r==J&&o==J||e.push(it(o,r))})(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,s)=>{let o=t==J||t==r,l=e==J||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?et.has(t):nt.has(t)),!l&&i&&"boolean"==typeof s&&(l=s?et.has(e):nt.has(e)),o&&l}}const rt=":self",st=new RegExp(`s*${rt}s*,?`,"g");function ot(t,e,n){return new at(t).build(e,n)}const lt="";class at{constructor(t){this._driver=t}build(t,e){const n=new ut(e);return this._resetContextStyleTimingState(n),Z(this,H(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=lt,t.collectedStyles={},t.collectedStyles[lt]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];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,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{U(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=K(r.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:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Z(this,H(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=>Z(this,t,e)),options:ht(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Z(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,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(M(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=dt(0,0,"");return t.dynamic=!0,t.strValue=i,t}return dt((n=n||M(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Object(i.l)({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=Object(i.l)(t)}e.currentTime+=n.duration+n.delay;const l=this.visitStyle(s,e);l.isEmptyStep=o,r=l}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf(k)>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=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 s=e.collectedStyles[e.currentQuerySelector],o=s[n];let l=!0;o&&(r!=i&&r>=o.startTime&&i<=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 "${r}ms" and "${i}ms"`),l=!1),r=o.startTime),l&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=U(t);r.length&&r.forEach(t=>{i.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 i=0;const r=[];let s=!1,o=!1,l=0;const a=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let a=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=a&&(i++,u=n.offset=a),o=o||u<0||u>1,s=s||u0&&i{const s=c>0?i==h?1:c*i:r[i],o=s*m;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Z(this,H(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,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>t==rt);return e&&(t=t.replace(st,"")),[t=t.replace(/@\*/g,T).replace(/@\w+/g,t=>T+"-"+t.substr(1)).replace(/:animating/g,R),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,c(e.collectedStyles,e.currentQuerySelector,{});const o=Z(this,H(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,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"}:M(t.timings,e.errors,!0);return{type:12,animation:Z(this,H(t.animation),e),timings:n,options:null}}}class ut{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 ct(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=N(t)).params&&(t.params=(e=t.params)?N(e):null):t={},t}function dt(t,e,n){return{duration:t,delay:e,easing:n}}function pt(t,e,n,i,r,s,o=null,l=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:l}}class mt{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 ft=1,gt=new RegExp(":enter","g"),bt=new RegExp(":leave","g");function _t(t,e,n,i,r,s={},o={},l,a,u=[]){return(new yt).buildKeyframes(t,e,n,i,r,s,o,l,a,u)}class yt{buildKeyframes(t,e,n,i,r,s,o,l,a,u=[]){a=a||new mt;const c=new wt(t,e,a,i,r,u,[]);c.options=l,c.currentTimeline.setStyles([s],null,c.errors,l),Z(this,n,c);const h=c.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,l)}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 i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}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 i=e.currentTimeline.currentTime;const r=null!=n.duration?P(n.duration):null,s=null!=n.delay?P(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&((i=e.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vt);const t=P(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Z(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?P(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Z(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return M(e.params?$(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?P(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let l=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(l=o.currentTimeline),Z(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=n.currentStaggerTime}const a=e.currentTimeline;l&&a.delayNextStep(l);const u=a.currentTime;Z(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}const vt={};class wt{constructor(t,e,n,i,r,s,o,l){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,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=l||new Ct(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=P(n.duration)),null!=n.delay&&(i.delay=P(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=$(r[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 i=e||this.element,r=new wt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}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 i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new xt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(gt,"."+this._enterClassName)).replace(bt,"."+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 r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Ct{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,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 Ct(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+=ft,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]||i.a,this._currentKeyframe[t]=i.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e)).forEach(t=>{n[t]=i.a}):L(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=$(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.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],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const l=L(s,!0);Object.keys(l).forEach(n=>{const r=l[n];r==i.p?t.add(n):r==i.a&&e.add(n)}),n||(l.offset=o/this.duration),r.push(l)});const s=t.size?K(t.values()):[],o=e.size?K(e.values()):[];if(n){const t=r[0],e=N(t);t.offset=0,e.offset=1,r=[t,e]}return pt(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class xt extends Ct{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,l=L(t[0],!1);l.offset=0,r.push(l);const a=L(t[0],!1);a.offset=St(o),r.push(a);const u=t.length-1;for(let i=1;i<=u;i++){let o=L(t[i],!1);o.offset=St((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return pt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function St(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Et{}class kt extends Et{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}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 Dt(t,e,n,i,r,s,o,l,a,u,c,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:l,queriedElements:a,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}const It={};class Tt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,l,a,u){const h=[],d=this.ast.options&&this.ast.options.params||It,p=this.buildStyles(n,o&&o.params||It,h),m=l&&l.params||It,f=this.buildStyles(i,m,h),g=new Set,b=new Map,_=new Map,y="void"===i,v={params:Object.assign({},d,m)},w=u?[]:_t(t,e,this.ast.animation,r,s,p,f,v,a,h);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),h.length)return Dt(e,this._triggerName,n,i,y,p,f,[],[],b,_,C,h);w.forEach(t=>{const n=t.element,i=c(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=c(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const x=K(g.values());return Dt(e,this._triggerName,n,i,y,p,f,w,x,b,_,C)}}class At{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=N(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=$(s,i,e)),n[t]=s})}}),n}}class Rt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new At(t.style,t.options&&t.options.params||{})}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Tt(t,e,this.states))}),this.fallbackTransition=new Tt(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,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Pt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const jt=new mt;class Mt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=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]=i}_buildPlayer(t,e,n){const i=t.element,r=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],o=this._animations[t];let l;const a=new Map;if(o?(l=_t(this._driver,e,o,O,D,{},{},n,jt,r)).forEach(t=>{const e=c(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)}):(r.push("The requested animation doesn't exist or has already been destroyed"),l=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.a)})});const u=s(l.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}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,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Nt="ng-animate-queued",Lt=".ng-animate-queued",Ft="ng-animate-disabled",Vt=".ng-animate-disabled",Bt="ng-star-inserted",zt=".ng-star-inserted",Ht=[],qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ut={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$t="__ng_removed";class Kt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=N(t);delete e.value,this.options=e}else this.options={};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 Wt="void",Gt=new Kt(Wt);class Yt{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,ie(e,this._hostClassName)}listen(t,e,n,i){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"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=c(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(ie(t,I),ie(t,I+"-"+e),l[e]=Gt),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete l[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,i=!0){const r=this._getTrigger(e),s=new Zt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(ie(t,I),ie(t,I+"-"+e),this._engine.statesByElement.set(t,o={}));let l=o[e];const a=new Kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&a.absorbOptions(l.options),o[e]=a,l||(l=Gt),a.value!==Wt&&l.value===a.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{z(t,n),B(t,i)})}return}const u=c(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=r.matchTransition(l.value,a.value,t,a.params),d=!1;if(!h){if(!i)return;h=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:a,player:s,isFallbackTransition:d}),d||(ie(t,Nt),s.onStart(()=>{re(t,Nt)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),u.push(s),s}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,T,!0).forEach(t=>{if(t[$t])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,i){const r=this._engine.statesByElement.get(t);if(r){const o=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Wt,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(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 i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||Gt,o=new Kt(Wt),l=new Zt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:o,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}this.prepareLeaveAnimationListeners(t),i?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){ie(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i: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 Qt{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 Yt(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 i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||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 i=this._namespaceLookup[t];i&&i.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 i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ie(t,Ft)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),re(t,Ft))}removeNode(t,e,n,i){if(Xt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[$t]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Xt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,T,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,R,!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 s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[$t];if(e&&e.setForRemoval){if(t[$t]=qt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Vt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Vt,!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?s(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 mt,r=[],o=new Map,l=[],a=new Map,u=new Map,h=new Map,d=new Set;this.disabledNodes.forEach(t=>{d.add(t);const e=this.driver.query(t,Lt,!0);for(let n=0;n{const n=O+b++;g.set(e,n),t.forEach(t=>ie(t,n))});const _=[],y=new Set,v=new Set;for(let i=0;iy.add(t)):v.add(t))}const w=new Map,C=ee(m,Array.from(y));C.forEach((t,e)=>{const n=D+b++;w.set(e,n),t.forEach(t=>ie(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>re(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>re(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],S=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(x.push(e),this.collectedEnterElements.length){const t=i[$t];if(t&&t.setForMove)return void e.destroy()}const s=!p||!this.driver.containsElement(p,i),o=w.get(i),d=g.get(i),m=this._buildInstruction(t,n,d,o,s);if(!m.errors||!m.errors.length)return s?(e.onStart(()=>z(i,m.fromStyles)),e.onDestroy(()=>B(i,m.toStyles)),void r.push(e)):t.isFallbackTransition?(e.onStart(()=>z(i,m.fromStyles)),e.onDestroy(()=>B(i,m.toStyles)),void r.push(e)):(m.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,m.timelines),l.push({instruction:m,player:e,element:i}),m.queriedElements.forEach(t=>c(a,t,[]).push(e)),m.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void m.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))}));S.push(m)});if(S.length){const t=[];S.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const E=new Map,k=new Map;l.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{c(E,e,[]).push(t),t.destroy()})});const I=_.filter(t=>oe(t,u,h)),T=new Map;te(T,this.driver,v,h,i.a).forEach(t=>{oe(t,u,h)&&I.push(t)});const A=new Map;f.forEach((t,e)=>{te(A,this.driver,new Set(t),u,i.p)}),I.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign({},e,n))});const P=[],j=[],M={};l.forEach(t=>{const{element:e,player:i,instruction:l}=t;if(n.has(e)){if(d.has(e))return i.onDestroy(()=>B(e,l.toStyles)),i.disabled=!0,i.overrideTotalTime(l.totalTime),void r.push(i);let t=M;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(i.namespaceId,l,E,o,A,T);if(i.setRealPlayer(n),t===M)P.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),r.push(i)}}else z(e,l.fromStyles),i.onDestroy(()=>B(e,l.toStyles)),j.push(i),d.has(e)&&r.push(i)}),j.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<_.length;i++){const t=_[i],e=t[$t];if(re(t,D),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,R,!0);for(let t=0;t!t.destroyed);r.length?se(this,t,r):this.processLeaveNode(t)}return _.length=0,P.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),P}elementContainsData(t,e){let n=!1;const i=e[$t];return i&&i.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,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Wt;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,l=t!==i,a=c(n,t,[]);this._getPreviousPlayers(t,l,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)})}z(i,e.fromStyles)}_buildAnimation(t,e,n,r,l,a){const u=e.triggerName,h=e.element,d=[],p=new Set,m=new Set,f=e.timelines.map(e=>{const s=e.element;p.add(s);const c=s[$t];if(c&&c.removedBeforeQueried)return new i.d(e.duration,e.delay);const f=s!==h,g=function(t){const e=[];return function t(e,n){for(let r=0;rt.getRealPlayer())).filter(t=>!!t.element&&t.element===s),b=l.get(s),_=a.get(s),y=o(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&r&&m.add(s),f){const e=new Zt(t,u,s);e.setRealPlayer(v),d.push(e)}return v});d.forEach(t=>{c(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>(function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e)){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i})(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>ie(t,A));const g=s(f);return g.onDestroy(()=>{p.forEach(t=>re(t,A)),B(h,e.toStyles)}),m.forEach(t=>{c(r,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 i.d(t.duration,t.delay)}}class Zt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.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=>l(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){c(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 Xt(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,i,r){const s=[];n.forEach(t=>s.push(Jt(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[$t]=Ut,o.push(i))}),t.set(i,s)});let l=0;return n.forEach(t=>Jt(t,s[l++])),o}function ee(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=r.get(e);if(s)return s;const o=e.parentNode;return s=n.has(o)?o:i.has(o)?1:t(o),r.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}const ne="$$classes";function ie(t,e){if(t.classList)t.classList.add(e);else{let n=t[ne];n||(n=t[ne]={}),n[e]=!0}}function re(t,e){if(t.classList)t.classList.remove(e);else{let n=t[ne];n&&delete n[e]}}function se(t,e,n){s(n).onDone(()=>t.processLeaveNode(e))}function oe(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class le{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Qt(t,e,n),this._timelineEngine=new Mt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=ot(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Rt(t,e)}(i,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=h(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=h(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ae(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=ce(e[0]),e.length>1&&(i=ce(e[e.length-1]))):e&&(n=ce(e)),n||i?new ue(t,n,i):null}let ue=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(z(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ce(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=Ce(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=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=Ce(t,"").split(","),i=ye(n,e);i>=0&&(n.splice(i,1),we(t,"",n.join(",")))}(this._element,this._name))}}function be(t,e,n){we(t,"PlayState",n,_e(t,e))}function _e(t,e){const n=Ce(t,"");return n.indexOf(",")>0?ye(n.split(","),e):ye([n],e)}function ye(t,e){for(let n=0;n=0)return n;return-1}function ve(t,e,n){n?t.removeEventListener(me,e):t.addEventListener(me,e)}function we(t,e,n,i){const r=pe+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function Ce(t,e){return t.style[pe+e]}const xe="forwards",Se="linear";class Ee{constructor(t,e,n,i,r,s,o,l){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||Se,this.totalTime=i+r,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,xe,()=>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]:X(this.element,n))})}this.currentSnapshot=t}}class ke extends i.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(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_",De=" ";class Ie{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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=>C(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=De;const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=De,Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.innerHTML=i,s}animate(t,e,n,i,r,s=[],o){o&&this._notifyFaultyScrubber();const l=s.filter(t=>t instanceof Ee),a={};Y(n,i)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const u=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=Q(t,e,a));if(0==n)return new ke(t,u);const c=`${Oe}${this._count++}`,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);const d=ae(t,e),p=new Ee(t,e,c,n,i,r,u,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 Te{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,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]:X(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Ae{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Pe().toString()),this._cssKeyframesDriver=new Ie}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(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,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const l={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(l.easing=r);const a={},u=s.filter(t=>t instanceof Te);Y(n,i)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const c=ae(t,e=Q(t,e=e.map(t=>L(t,!1)),a));return new Te(t,e,l,c)}}function Re(){return"function"==typeof Pe()}function Pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},hOhj:function(t,e,n){"use strict";var i=n("8Y7J"),r=(n("KCVW"),n("XNiG")),s=n("LRne"),o=n("HDdC"),l=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var a=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));const d=20;let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new r.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=d){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(u.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.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(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(l.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.x),Object(i.Rb)(h.a))},token:t,providedIn:"root"}),t})();class m{}const f=20;let g=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(a.a)(Object(l.a)(window,"resize"),Object(l.a)(window,"orientationchange")):Object(s.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=f){return t>0?this._change.pipe(Object(u.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(h.a),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();const b={provide:g,deps:[[new i.y,new i.H,g],h.a,i.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var i=n("SVse"),r=n("8Y7J"),s=n("LRne"),o=n("Cfvw"),l=n("XNiG"),a=n("9ppp");class u extends l.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 a.a;return this._value}next(t){super.next(this._value=t)}}var c=n("HDdC");const h=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var d=n("itXk"),p=n("NXyV"),m=n("EY2u"),f=n("lJxs"),g=n("0EUg"),b=n("pLZG"),_=n("7o/Q"),y=n("4I5i");function v(t){return function(e){return 0===t?Object(m.b)():e.lift(new w(t))}}class w{constructor(t){if(this.total=t,this.total<0)throw new y.a}call(t,e){return e.subscribe(new C(t,this.total))}}class C extends _.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,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.lift(new S(t))}class S{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new E(t,this.errorFactory))}}class E extends _.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function k(){return new h}function O(t=null){return e=>e.lift(new D(t))}class D{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new I(t,this.defaultValue))}}class I extends _.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 T=n("SpAZ");function A(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(b.a)((e,n)=>t(e,n,i)):T.a,v(1),n?O(e):x(()=>new h))}var R=n("l7GE"),P=n("51Dv"),j=n("ZUHj");function M(t){return function(e){const n=new N(t),i=e.lift(n);return n.caught=i}}class N{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 i=new P.a(this,void 0,void 0);this.add(i),Object(j.a)(this,n,void 0,void 0,i)}}}var F=n("IzEk");function V(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(b.a)((e,n)=>t(e,n,i)):T.a,Object(F.a)(1),n?O(e):x(()=>new h))}var B=n("5+tZ");class z{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))}}class H extends _.a{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,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 q=n("eIep"),U=n("JX91");function $(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new K(t,e,n))}}class K{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new W(t,this.accumulator,this.seed,this.hasSeed))}}class W extends _.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,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(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var G=n("bOdf"),Y=n("mCNh"),Q=n("vkgz"),Z=n("quSY");class X{constructor(t){this.callback=t}call(t,e){return e.subscribe(new J(t,this.callback))}}class J extends _.a{constructor(t,e){super(t),this.add(new Z.a(e))}}var tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return yt})),n.d(e,"s",(function(){return Nn})),n.d(e,"z",(function(){return Kn})),n.d(e,"u",(function(){return Bn})),n.d(e,"A",(function(){return Wn})),n.d(e,"B",(function(){return Gn})),n.d(e,"w",(function(){return Hn})),n.d(e,"v",(function(){return zn})),n.d(e,"y",(function(){return $n})),n.d(e,"t",(function(){return Fn})),n.d(e,"x",(function(){return Un})),n.d(e,"D",(function(){return jn})),n.d(e,"l",(function(){return xn})),n.d(e,"m",(function(){return Sn})),n.d(e,"o",(function(){return Dn})),n.d(e,"j",(function(){return pn})),n.d(e,"k",(function(){return Cn})),n.d(e,"i",(function(){return fn})),n.d(e,"g",(function(){return Mn})),n.d(e,"h",(function(){return Yn})),n.d(e,"n",(function(){return Vn})),n.d(e,"b",(function(){return On})),n.d(e,"d",(function(){return Rn})),n.d(e,"e",(function(){return An})),n.d(e,"f",(function(){return Tn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return bn})),n.d(e,"c",(function(){return qt})),n.d(e,"r",(function(){return Ht}));class nt{constructor(t,e){this.id=t,this.url=e}}class it extends nt{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rt extends nt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class st extends nt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ot extends nt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lt extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class at extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ut extends nt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ct extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ht extends nt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ft{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{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 yt{}const vt="primary";class wt{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 Ct(t){return new wt(t)}const xt="ngNavigationCancelingError";function St(t){const e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function Et(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length0?t[t.length-1]:null}function jt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(r.xb)(t)?t:Object(r.yb)(t)?Object(o.a)(Promise.resolve(t)):Object(s.a)(t)}function Nt(t,e,n){return n?function(t,e){return At(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))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,i,r){if(n.segments.length>r.length)return!!Bt(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Bt(n.segments,r))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Bt(n.segments,t)&&!!n.children[vt]&&e(n.children[vt],i,s)}}(e,n,n.segments)}(t.root,e.root)}class Lt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Ut.serialize(this)}}class Ft{constructor(t,e){this.segments=t,this.children=e,this.parent=null,jt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class Vt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Zt(this)}}function Bt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function zt(t,e){let n=[];return jt(t.children,(t,i)=>{i===vt&&(n=n.concat(e(t,i)))}),jt(t.children,(t,i)=>{i!==vt&&(n=n.concat(e(t,i)))}),n}class Ht{}class qt{parse(t){const e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return $t(e);if(n){const n=e.children[vt]?t(e.children[vt],!1):"",i=[];return jt(e.children,(e,n)=>{n!==vt&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=zt(e,(n,i)=>i===vt?[t(e.children[vt],!1)]:[`${i}:${t(n,!1)}`]);return`${$t(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=>`${Wt(e)}=${Wt(t)}`).join("&"):`${Wt(e)}=${Wt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Ut=new qt;function $t(t){return t.segments.map(t=>Zt(t)).join("/")}function Kt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wt(t){return Kt(t).replace(/%3B/gi,";")}function Gt(t){return Kt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yt(t){return decodeURIComponent(t)}function Qt(t){return Yt(t.replace(/\+/g,"%20"))}function Zt(t){return`${Gt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Gt(t)}=${Gt(e[t])}`).join("")}`;var e}const Xt=/^[^\/()?;=#]+/;function Jt(t){const e=t.match(Xt);return e?e[0]:""}const te=/^[^=?]+/,ee=/^[^?]+/;class ne{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],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[vt]=new Ft(t,e)),n}parseSegment(){const t=Jt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Vt(Yt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Jt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Jt(this.remaining);t&&this.capture(n=t)}t[Yt(e)]=Yt(n)}parseQueryParam(t){const e=function(t){const e=t.match(te);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(ee);return e?e[0]:""}(this.remaining);t&&this.capture(n=t)}const i=Qt(e),r=Qt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(t[i]=e=[e]),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Jt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=vt);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[vt]:new Ft([],s),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 ie{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=re(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=re(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=se(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return se(t,this._root).map(t=>t.value)}}function re(t,e){if(t===e.value)return e;for(const n of e.children){const e=re(t,n);if(e)return e}return null}function se(t,e){if(t===e.value)return[e];for(const n of e.children){const i=se(t,n);if(i.length)return i.unshift(e),i}return[]}class oe{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function le(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ae extends ie{constructor(t,e){super(t),this.snapshot=e,me(this,t)}toString(){return this.snapshot.toString()}}function ue(t,e){const n=function(t,e){const n=new de([],{},{},"",{},vt,e,null,t.root,-1,{});return new pe("",new oe(n,[]))}(t,e),i=new u([new Vt("",{})]),r=new u({}),s=new u({}),o=new u({}),l=new u(""),a=new ce(i,r,o,l,s,vt,e,n.root);return a.snapshot=n.root,new ae(new oe(a,[]),n)}class ce{constructor(t,e,n,i,r,s,o,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=l}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(f.a)(t=>Ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>Ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function he(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}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(i))}class de{constructor(t,e,n,i,r,s,o,l,a,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=l,this._urlSegment=a,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pe extends ie{constructor(t,e){super(e),this.url=t,me(this,e)}toString(){return fe(this._root)}}function me(t,e){e.value._routerState=t,e.children.forEach(e=>me(t,e))}function fe(t){const e=t.children.length>0?` { ${t.children.map(fe).join(", ")} } `:"";return`${t.value}${e}`}function ge(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,At(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),At(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nAt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||be(t.parent,e.parent))}function _e(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ye(t,e,n,i,r){let s={};return i&&jt(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Lt(n.root===t?e:function t(e,n,i){const r={};return jt(e.children,(e,s)=>{r[s]=e===n?i:t(e,n,i)}),new Ft(e.segments,r)}(n.root,t,e),s,r)}class ve{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&_e(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(i&&i!==Pt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class we{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[vt]:`${t}`}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Se(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const e=t.segments[r],o=Ce(n[i]),l=i0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(o,l,e))return s;i+=2}else{if(!De(o,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{null!==n&&(r[i]=xe(t.children[i],e,n))}),jt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Ft(t.segments,r)}}function Ee(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{null!==t&&(e[n]=Ee(new Ft([],{}),0,t))}),e}function Oe(t){const e={};return jt(t,(t,n)=>e[n]=`${t}`),e}function De(t,e,n){return t==n.path&&At(e,n.parameters)}const Ie=(t,e,n)=>Object(f.a)(i=>(new Te(e,i.targetRouterState,i.currentRouterState,n).activate(t),i));class Te{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ge(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=le(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),jt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&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(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=le(t),r=t.value.component?n.children:e;jt(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=le(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new bt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ft(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(ge(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Ae(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}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Ae(t){ge(t.value),t.children.forEach(Ae)}function Re(t){return"function"==typeof t}function Pe(t){return t instanceof Lt}class je{constructor(t){this.segmentGroup=t||null}}class Me{constructor(t){this.urlTree=t}}function Ne(t){return new c.a(e=>e.error(new je(t)))}function Le(t){return new c.a(e=>e.error(new Me(t)))}function Fe(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.v)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vt).pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(M(t=>{if(t instanceof Me)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof je)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,vt).pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(M(t=>{if(t instanceof je)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ft([],{[vt]:t}):t;return new Lt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ft([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],i=[],r={};return jt(t,(t,s)=>{const o=e(s,t).pipe(Object(f.a)(t=>r[s]=t));s===vt?n.push(o):i.push(o)}),s.a.apply(null,n.concat(i)).pipe(Object(g.a)(),A(),Object(f.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,o){return Object(s.a)(...n).pipe(Object(f.a)(l=>this.expandSegmentAgainstRoute(t,e,n,l,i,r,o).pipe(M(t=>{if(t instanceof je)return Object(s.a)(null);throw t}))),Object(g.a)(),V(t=>!!t),M((t,n)=>{if(t instanceof h||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(s.a)(new Ft([],{}));throw new je(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return qe(i)!==s?Ne(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Ne(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Le(r):this.lineralizeSegments(n,r).pipe(Object(B.a)(n=>{const r=new Ft(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:l,lastChild:a,positionalParamSegments:u}=Be(e,i,r);if(!o)return Ne(e);const c=this.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?Le(c):this.lineralizeSegments(i,c).pipe(Object(B.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(a)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ft(i,{})))):Object(s.a)(new Ft(i,{}));const{matched:r,consumedSegments:o,lastChild:l}=Be(e,n,i);if(!r)return Ne(e);const a=i.slice(l);return this.getChildConfig(t,n,i).pipe(Object(B.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:l}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>He(t,e,n)&&qe(n)!==vt)}(t,n,i)?{segmentGroup:ze(new Ft(e,function(t,e){const n={};n[vt]=e;for(const i of t)""===i.path&&qe(i)!==vt&&(n[qe(i)]=new Ft([],{}));return n}(i,new Ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>He(t,e,n))}(t,n,i)?{segmentGroup:ze(new Ft(t.segments,function(t,e,n,i){const r={};for(const s of n)He(t,e,s)&&!i[qe(s)]&&(r[qe(s)]=new Ft([],{}));return Object.assign({},i,r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,a,i);return 0===l.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(f.a)(t=>new Ft(o,t))):0===i.length&&0===l.length?Object(s.a)(new Ft(o,{})):this.expandSegment(n,r,i,l,vt,!0).pipe(Object(f.a)(t=>new Ft(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new kt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):function(t,e,n){const i=e.canLoad;return i&&0!==i.length?Object(o.a)(i).pipe(Object(f.a)(i=>{const r=t.get(i);let s;if(function(t){return t&&Re(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!Re(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return Mt(s)})).pipe(Object(g.a)(),(r=t=>!0===t,t=>t.lift(new z(r,void 0,t)))):Object(s.a)(!0);var r}(t.injector,e,n).pipe(Object(B.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(St(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(s.a)(new kt([],t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children[vt])return Fe(t.redirectTo);i=i.children[vt]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Lt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return jt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return jt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Ft(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Be(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 i=(e.matcher||Et)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ze(t){if(1===t.numberOfChildren&&t.children[vt]){const e=t.children[vt];return new Ft(t.segments.concat(e.segments),e.children)}return t}function He(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function qe(t){return t.outlet||vt}class Ue{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class $e{constructor(t,e){this.component=t,this.route=e}}function Ke(t,e,n){const i=t._root;return function t(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=le(n);return e.children.forEach(e=>{!function(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,l=n?n.value:null,a=i?i.getContext(e.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!At(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!At(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(l,o,o.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new Ue(r)):(o.data=l.data,o._resolvedData=l._resolvedData),t(e,n,o.component?a?a.children:null:i,r,s),u&&s.canDeactivateChecks.push(new $e(a&&a.outlet&&a.outlet.component||null,l))}else l&&Ge(n,a,s),s.canActivateChecks.push(new Ue(r)),t(e,null,o.component?a?a.children:null:i,r,s)}(e,o[e.value.outlet],i,r.concat([e.value]),s),delete o[e.value.outlet]}),jt(o,(t,e)=>Ge(t,i.getContext(e),s)),s}(i,e?e._root:null,n,[i.value])}function We(t,e,n){const i=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(i?i.module.injector:n).get(t)}function Ge(t,e,n){const i=le(t),r=t.value;jt(i,(t,i)=>{Ge(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new $e(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}const Ye=Symbol("INITIAL_VALUE");function Qe(){return Object(q.a)(t=>Object(d.a)(...t.map(t=>t.pipe(Object(F.a)(1),Object(U.a)(Ye)))).pipe($((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==Ye)return t;if(i===Ye&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||Pe(i))return i}return t},t)},Ye),Object(b.a)(t=>t!==Ye),Object(f.a)(t=>Pe(t)?t:!0===t),Object(F.a)(1)))}function Ze(t,e){return null!==t&&e&&e(new gt(t)),Object(s.a)(!0)}function Xe(t,e){return null!==t&&e&&e(new mt(t)),Object(s.a)(!0)}function Je(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(p.a)(()=>{const r=We(i,e,n);let s;if(function(t){return t&&Re(t.canActivate)}(r))s=Mt(r.canActivate(e,t));else{if(!Re(r))throw new Error("Invalid CanActivate guard");s=Mt(r(e,t))}return s.pipe(V())}));return Object(s.a)(r).pipe(Qe())}function tn(t,e,n){const i=e[e.length-1],r=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=>Object(p.a)(()=>{const r=e.guards.map(r=>{const s=We(r,e.node,n);let o;if(function(t){return t&&Re(t.canActivateChild)}(s))o=Mt(s.canActivateChild(i,t));else{if(!Re(s))throw new Error("Invalid CanActivateChild guard");o=Mt(s(i,t))}return o.pipe(V())});return Object(s.a)(r).pipe(Qe())}));return Object(s.a)(r).pipe(Qe())}class en{}class nn{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=on(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,vt),n=new de([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new oe(n,e),r=new pe(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(t){return new c.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=he(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=zt(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("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===vt?-1:e.value.outlet===vt?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,i)}catch(r){if(!(r instanceof en))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new en}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new en;if((t.outlet||vt)!==i)throw new en;let r,s=[],o=[];if("**"===t.path){const s=n.length>0?Pt(n).parameters:{};r=new de(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,rn(e),sn(e)+n.length,cn(t))}else{const l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new en;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||Et)(n,t,e);if(!i)throw new en;const r={};jt(i.posParams,(t,e)=>{r[e]=t.path});const s=i.consumed.length>0?Object.assign({},r,i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=l.consumedSegments,o=n.slice(l.lastChild),r=new de(s,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,rn(e),sn(e)+s.length,cn(t))}const l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:a,slicedSegments:u}=on(e,s,o,l,this.relativeLinkResolution);if(0===u.length&&a.hasChildren()){const t=this.processChildren(l,a);return[new oe(r,t)]}if(0===l.length&&0===u.length)return[new oe(r,[])];const c=this.processSegment(l,a,u,vt);return[new oe(r,c)]}}function rn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function sn(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 on(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>ln(t,e,n)&&an(n)!==vt)}(t,n,i)){const r=new Ft(e,function(t,e,n,i){const r={};r[vt]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&an(s)!==vt){const n=new Ft([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[an(s)]=n}return r}(t,e,i,new Ft(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>ln(t,e,n))}(t,n,i)){const s=new Ft(t.segments,function(t,e,n,i,r,s){const o={};for(const l of i)if(ln(t,n,l)&&!r[an(l)]){const n=new Ft([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[an(l)]=n}return Object.assign({},r,o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Ft(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function ln(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||vt}function un(t){return t.data||{}}function cn(t){return t.resolve||{}}function hn(t,e,n,i){const r=We(t,e,i);return Mt(r.resolve?r.resolve(e,n):r(e,n))}function dn(t){return function(e){return e.pipe(Object(q.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class pn{}class mn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const fn=new r.o("ROUTES");class gn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new kt(Rt(i.injector.get(fn)).map(Tt),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)(t=>t instanceof r.t?Object(s.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class bn{}class _n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function yn(t){throw t}function vn(t,e,n){return e.parse("/")}function wn(t,e){return Object(s.a)(null)}class Cn{constructor(t,e,n,i,s,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new l.a,this.errorHandler=yn,this.malformedUriErrorHandler=vn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wn,afterPreactivation:wn},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new mn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(r.v),this.console=s.get(r.ab);const h=s.get(r.x);this.isNgZoneEnabled=h instanceof r.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(o,a,t=>this.triggerEvent(new dt(t)),t=>this.triggerEvent(new pt(t))),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({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(b.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(q.a)(t=>{let n=!1,i=!1;return Object(s.a)(t).pipe(Object(Q.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(q.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(s.a)(t).pipe(Object(q.a)(t=>{const n=this.transitions.getValue();return e.next(new it(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?m.a:[t]}),Object(q.a)(t=>Promise.resolve(t)),function(t,e,n,i){return function(r){return r.pipe(Object(q.a)(r=>(function(t,e,n,i,r){return new Ve(t,e,n,i,r).apply()})(t,e,n,r.extractedUrl,i).pipe(Object(f.a)(t=>Object.assign({},r,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(Q.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(B.a)(s=>(function(t,e,n,i,r="emptyOnly",s="legacy"){return new nn(t,e,n,i,r,s).recognize()})(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(f.a)(t=>Object.assign({},s,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(Q.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(Q.a)(t=>{const n=new lt(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:i,source:r,restoredState:o,extras:l}=t,a=new it(n,this.serializeUrl(i),r,o);e.next(a);const u=ue(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign({},t,{targetSnapshot:u,urlAfterRedirects:i,extras:Object.assign({},l,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),m.a}),dn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(Q.a)(t=>{const e=new at(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign({},t,{guards:Ke(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(B.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:l,canDeactivateChecks:a}}=n;return 0===a.length&&0===l.length?Object(s.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(B.a)(t=>(function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const l=o.map(s=>{const o=We(s,e,r);let l;if(function(t){return t&&Re(t.canDeactivate)}(o))l=Mt(o.canDeactivate(t,e,n,i));else{if(!Re(o))throw new Error("Invalid CanDeactivate guard");l=Mt(o(t,e,n,i))}return l.pipe(V())});return Object(s.a)(l).pipe(Qe())})(t.component,t.route,n,e,i)),V(t=>!0!==t,!0))}(a,i,r,t).pipe(Object(B.a)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return Object(o.a)(e).pipe(Object(G.a)(e=>Object(o.a)([Xe(e.route.parent,i),Ze(e.route,i),tn(t,e.path,n),Je(t,e.route,n)]).pipe(Object(g.a)(),V(t=>!0!==t,!0))),V(t=>!0!==t,!0))}(i,l,t,e):Object(s.a)(n)),Object(f.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(Q.a)(t=>{if(Pe(t.guardsResult)){const e=St(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(Q.a)(t=>{const e=new ut(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(b.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new st(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),dn(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(Q.a)(t=>{const e=new ct(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(B.a)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=n;return r.length?Object(o.a)(r).pipe(Object(G.a)(n=>(function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return hn(t[s],e,n,i).pipe(Object(f.a)(t=>({[s]:t})))}const l={};return Object(o.a)(r).pipe(Object(B.a)(r=>hn(t[r],e,n,i).pipe(Object(f.a)(t=>(l[r]=t,t))))).pipe(A(),Object(f.a)(()=>l))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null)))})(n.route,i,t,e)),function(t,e){return arguments.length>=2?function(n){return Object(Y.a)($(t,e),v(1),O(e))(n)}:function(e){return Object(Y.a)($((e,n,i)=>t(e,n,i+1)),v(1))(e)}}((t,e)=>t),Object(f.a)(t=>n)):Object(s.a)(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Object(Q.a)(t=>{const e=new ht(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),dn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const s=function(e,n,i){return n.children.map(n=>{for(const r of i.children)if(e.shouldReuseRoute(r.value.snapshot,n.value))return t(e,n,r);return t(e,n)})}(e,n,i);return new oe(r,s)}{const i=e.retrieve(n.value);if(i){const t=i.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 i=0;it(e,n));return new oe(i,s)}}var r}(t,e._root,n?n._root:void 0);return new ae(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(Q.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)}),Ie(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),Object(Q.a)({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new X(t))}(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new st(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}),M(n=>{if(i=!0,function(t){return t&&t[xt]}(n)){const i=Pe(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new st(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),t.resolve(!1),i&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new ot(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}return m.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",i=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ot(t),this.config=t.map(Tt),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:i,fragment:s,preserveQueryParams:o,queryParamsHandling:l,preserveFragment:a}=e;Object(r.V)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let h=null;if(l)switch(l){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=o?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,i,r){if(0===n.length)return ye(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ve(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return jt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ve(n,e,i)}(n);if(s.toRoot())return ye(e.root,new Ft([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new we(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new we(n.snapshot._urlSegment,!0,0);const i=_e(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new we(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),l=o.processChildren?Se(o.segmentGroup,o.index,s.commands):xe(o.segmentGroup,o.index,s.commands);return ye(o.segmentGroup,l,e,i,r)}(u,this.currentUrlTree,t,h,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(r.V)()&&this.isNgZoneEnabled&&!r.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Pe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new rt(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,i){const r=this.getTransition();if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"popstate"==e&&"hashchange"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);let s=null,o=null;const l=new Promise((t,e)=>{s=t,o=e}),a=++this.navigationId;return this.setTransition({id:a,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:s,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign({},i,{navigationId:n})):this.location.go(r,"",Object.assign({},i,{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 xn{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.V)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(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:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}class Sn{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof rt&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.V)()&&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,i){if(0!==t||e||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!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:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}function En(t){return""===t||!!t}class kn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new On,this.attachRef=null}}class On{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 kn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Dn{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.m,this.deactivateEvents=new r.m,this.name=i||vt,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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new In(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class In{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ce?this.route:t===On?this.childContexts:this.parent.get(t,e)}}class Tn{}class An{preload(t,e){return e().pipe(M(()=>Object(s.a)(null)))}}class Rn{preload(t,e){return Object(s.a)(null)}}class Pn{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new gn(e,n,e=>t.triggerEvent(new dt(e)),e=>t.triggerEvent(new pt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(b.a)(t=>t instanceof rt),Object(G.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.v);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(o.a)(n).pipe(Object(tt.a)(),Object(f.a)(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(B.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class jn{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 it?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof rt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof _t&&(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 _t(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Mn=new r.o("ROUTER_CONFIGURATION"),Nn=new r.o("ROUTER_FORROOT_GUARD"),Ln=[i.g,{provide:Ht,useClass:qt},{provide:Cn,useFactory:Un,deps:[r.g,Ht,On,i.g,r.p,r.u,r.i,fn,Mn,[bn,new r.y],[pn,new r.y]]},On,{provide:ce,useFactory:$n,deps:[Cn]},{provide:r.u,useClass:r.I},Pn,Rn,An,{provide:Mn,useValue:{enableTracing:!1}}];function Fn(){return new r.w("Router",Cn)}class Vn{constructor(t,e){}static forRoot(t,e){return{ngModule:Vn,providers:[Ln,qn(t),{provide:Nn,useFactory:Hn,deps:[[Cn,new r.y,new r.H]]},{provide:Mn,useValue:e||{}},{provide:i.h,useFactory:zn,deps:[i.r,[new r.n(i.a),new r.y],Mn]},{provide:jn,useFactory:Bn,deps:[Cn,i.s,Mn]},{provide:Tn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:Rn},{provide:r.w,multi:!0,useFactory:Fn},[Kn,{provide:r.d,multi:!0,useFactory:Wn,deps:[Kn]},{provide:Yn,useFactory:Gn,deps:[Kn]},{provide:r.b,multi:!0,useExisting:Yn}]]}}static forChild(t){return{ngModule:Vn,providers:[qn(t)]}}}function Bn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new jn(t,e,n)}function zn(t,e,n={}){return n.useHash?new i.e(t,e):new i.q(t,e)}function Hn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function qn(t){return[{provide:r.a,multi:!0,useValue:t},{provide:fn,multi:!0,useValue:t}]}function Un(t,e,n,i,r,s,o,l,a={},u,c){const h=new Cn(null,e,n,i,r,s,o,Rt(l));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),a.errorHandler&&(h.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(h.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=Object(et.r)();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(h.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(h.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(h.relativeLinkResolution=a.relativeLinkResolution),h}function $n(t){return t.routerState.root}class Kn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new l.a}appInitializer(){return this.injector.get(i.f,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Cn),i=this.injector.get(Mn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Mn),n=this.injector.get(Pn),i=this.injector.get(jn),s=this.injector.get(Cn),o=this.injector.get(r.g);t===o.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),s.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 Wn(t){return t.appInitializer.bind(t)}function Gn(t){return t.bootstrapListener.bind(t)}const Yn=new r.o("Router Initializer")},itXk:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("z+Ro"),r=n("DH7j"),s=n("l7GE"),o=n("ZUHj"),l=n("yCtX");const a={};function u(...t){let e=null,n=null;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(l.a)(t,n).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends s.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(a),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{const i=new r.a;let s=0;return i.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var i=n("KqfI");function r(...t){return s(t)}function s(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:i.a}},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",(function(){return i}))},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=t=>e=>{for(let n=0,i=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 i=e.id,r=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(r,t),e.data.animation.forEach(e=>this.engine.registerTrigger(i,r,t,e.name,e)),new m(this,r,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,i){this.delegate.setAttribute(t,e,n,i)}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,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==c&&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 m extends p{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==c?"."==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)==c){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=c&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class f extends s.b{constructor(t,e,n){super(t.body,e,n)}}function g(){return Object(s.h)()?new s.f:new s.d}function b(){return new s.g}function _(t,e,n){return new d(t,e,n)}const y=new i.o("AnimationModuleType");class v{}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{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 i.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)}}},quSY:function(t,e,n){"use strict";var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return l}));let l=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof o?e.errors:e),[])}},s6ns:function(t,e,n){"use strict";n.d(e,"k",(function(){return T})),n.d(e,"d",(function(){return C})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return w})),n.d(e,"e",(function(){return x})),n.d(e,"i",(function(){return g})),n.d(e,"g",(function(){return E})),n.d(e,"m",(function(){return k})),n.d(e,"j",(function(){return O})),n.d(e,"f",(function(){return D})),n.d(e,"h",(function(){return m})),n.d(e,"l",(function(){return _})),n("GS7A");var i=n("8Y7J"),r=n("zMNK"),s=n("dvZr"),o=n("XNiG"),l=n("NXyV"),a=n("LRne"),u=n("pLZG"),c=n("IzEk"),h=n("JX91"),d=n("IP0z"),p=n("QQfA");class m{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function f(){throw Error("Attempting to attach dialog content after content is already attached")}class g extends r.a{constructor(t,e,n,r,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=r,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new i.m,this._ariaLabelledBy=s.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}let b=0;class _{constructor(t,e,n,i=`mat-dialog-${b++}`){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new o.a,this._afterClosed=new o.a,this._beforeClosed=new o.a,this._state=0,e._id=i,e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(c.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(c.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===s.e&&!this.disableClose&&!Object(s.o)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>"start"===t.phaseName),Object(c.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const y=new i.o("MatDialogData"),v=new i.o("mat-dialog-default-options"),w=new i.o("mat-dialog-scroll-strategy");function C(t){return()=>t.scrollStrategies.block()}class x{constructor(t,e,n,i,r,s,a){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new o.a,this._afterOpenedAtThisLevel=new o.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(l.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(h.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new m)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new p.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[m,e]])),i=new r.c(g,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,s){const o=new _(n,e,this._location,s.id);if(s.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof i.K)e.attachTemplatePortal(new r.g(t,null,{$implicit:s.data,dialogRef:o}));else{const n=this._createInjector(s,o,e),i=e.attachComponentPortal(new r.c(t,void 0,n));o.componentInstance=i.instance}return o.updateSize(s.width,s.height).updatePosition(s.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=new WeakMap([[g,n],[y,t.data],[_,e]]);return!t.direction||i&&i.get(d.b,null)||s.set(d.b,{value:t.direction,change:Object(a.a)()}),new r.e(i||this._injector,s)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}let S=0;class E{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}class k{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id=`mat-dialog-title-${S++}`}ngOnInit(){this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}class O{}class D{}function I(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}class T{}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),r=n("KqfI"),s=n("n6bG");function o(t,e,n){return function(i){return i.lift(new l(t,e,n))}}class l{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))}}class a extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.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()}}},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));class i{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.admin}get isStaff(){return"staff"===this.role}get isAdmin(){return this.isStaff&&this.admin}get isLogged(){return null!=this.user}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("DH7j"),s=n("n6bG"),o=n("lJxs");function l(t,e,n,a){return Object(s.a)(n)&&(a=n,n=void 0),a?l(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?a(...t):a(t))):new i.a(i=>{!function t(e,n,i,r,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,s),o=()=>t.removeEventListener(n,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,i),o=()=>t.off(n,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),o=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,l=e.length;o1?Array.prototype.slice.call(arguments):t)}),i,n)})}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),s=n("jZKg");function o(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return i}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return l})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return d}));var i=n("8Y7J");function r(){throw Error("Host already has a portal attached")}class s{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&r(),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 s{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class l extends s{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 a{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&r(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(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 u extends a{constructor(t,e,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i}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 c extends a{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.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),i=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}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 i=n("8Y7J"),r=n("AytR");class s{}class o{constructor(){this.title="uds"}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}var l=n("iInd"),a=i.pb({encapsulation:2,styles:[],data:{}});function u(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i.qb(1,212992,null,0,l.o,[l.b,i.N,i.j,[8,null],i.h],null,null)],(function(t,e){t(e,1,0)}),null)}function c(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,a)),i.qb(1,49152,null,0,l.C,[],null,null)],null,null)}var h=i.nb("ng-component",l.C,c,{},{},[]),d=n("GS7A"),p=n("zMNK"),m=n("XNiG"),f=n("quSY"),g=n("VRyK"),b=n("LRne"),_=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),w=n("KCVW"),C=n("dvZr"),x=n("JX91"),S=n("eIep"),E=n("IzEk"),k=n("pLZG"),O=n("1G5W"),D=n("D0XW"),I=n("7o/Q"),T=n("WMd4");function A(t,e=D.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new R(i,e))}class R{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new P(t,this.delay,this.scheduler))}}class P extends I.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(P.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(T.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(T.a.createComplete()),this.unsubscribe()}}class j{constructor(t,e){this.time=t,this.notification=e}}var M=n("QQfA"),N=n("/HVE");const L=new i.o("MAT_MENU_PANEL");class F{}const V=Object(v.A)(Object(v.B)(F));class B extends V{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new m.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),i&&i.addItem&&i.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const i=t.childNodes.length;for(let r=0;r')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(w.b)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(w.b)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(x.a)(this._directDescendantItems),Object(S.a)(t=>Object(g.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case C.e:Object(C.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case C.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case C.f:case C.c:Object(C.o)(t)||(e===C.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==C.l&&e!==C.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){const e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(E.a)(1)).subscribe(()=>e.setFocusOrigin(t).setFirstItemActive()):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${H+t}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(x.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}class U extends q{}class $ extends U{constructor(t,e,n){super(t,e,n)}}const K=new i.o("mat-menu-scroll-strategy");function W(t){return()=>t.scrollStrategies.reposition()}const G=8,Y=Object(N.f)({passive:!0});class Q{constructor(t,e,n,r,s,o,l,a){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=s,this._menuItemInstance=o,this._dir=l,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Y),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Y),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof U&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof U?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(k.a)(t=>"void"===t.toState),Object(E.a)(1),Object(O.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new M.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[i,r],[l,a]=[e,n],u=0;this.triggersSubmenu()?(a=e="before"===this.menu.xPosition?"start":"end",n=l="end"===e?"start":"end",u="bottom"===i?G:-G):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:l,overlayY:i,offsetY:u},{originX:n,originY:s,overlayX:a,overlayY:i,offsetY:u},{originX:e,originY:o,overlayX:l,overlayY:r,offsetY:-u},{originX:n,originY:o,overlayX:a,overlayY:r,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(b.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(k.a)(t=>t!==this._menuItemInstance),Object(k.a)(()=>this._menuOpen)):Object(b.a)();return Object(g.a)(t,n,i,e)}_handleMousedown(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===C.i&&"ltr"===this.dir||e===C.g&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(k.a)(t=>t===this._menuItemInstance&&!t.disabled),A(0,_.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof U&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(E.a)(1),A(0,_.a),Object(O.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}class Z{}class X{}var J=n("IP0z"),tt=n("cUpR"),et=n("SVse"),nt=n("hOhj"),it=n("omvX"),rt=i.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-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;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function st(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=!1!==r._onAnimationStart(n)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(2,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),i.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function ot(t){return i.Mb(2,[i.Ib(671088640,1,{templateRef:0}),(t()(),i.gb(0,[[1,2]],null,0,null,st))],null,null)}var lt=i.pb({encapsulation:2,styles:[],data:{}});function at(t){return i.Mb(2,[i.Cb(null,0),(t()(),i.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.qb(2,212992,null,0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,i.Db(e,2).unbounded)}))}class ut{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}const ct="accent",ht=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class dt{constructor(t){this._elementRef=t}}const pt=Object(v.z)(Object(v.B)(Object(v.A)(dt)));class mt extends pt{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 i of ht)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color=ct)}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 ft extends mt{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class gt{}var bt=i.pb({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 _t(t){return i.Mb(2,[i.Ib(671088640,1,{ripple:0}),(t()(),i.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(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)),i.qb(4,212992,[[1,4]],0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),i.rb(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,i.Db(e,4).unbounded)}))}var yt=i.pb({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 vt(t){return i.Mb(2,[i.Ib(671088640,1,{ripple:0}),(t()(),i.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(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)),i.qb(4,212992,[[1,4]],0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),i.rb(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,i.Db(e,4).unbounded)}))}var wt=n("itXk"),Ct=n("GyhO"),xt=n("HDdC");class St{constructor(t){this.total=t}call(t,e){return e.subscribe(new Et(t,this.total))}}class Et extends I.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var kt=n("Kj3r"),Ot=n("lJxs");class Dt{}const It=new Set;let Tt,At=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rt}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!It.has(t))try{Tt||((Tt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Tt)),Tt.sheet&&(Tt.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),It.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(N.a))},token:t,providedIn:"root"}),t})();function Rt(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Pt=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new m.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return jt(Object(w.a)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=jt(Object(w.a)(t)).map(t=>this._registerQuery(t).observable);let n=Object(wt.a)(e);return(n=Object(Ct.a)(n.pipe(Object(E.a)(1)),n.pipe(t=>t.lift(new St(1)),Object(kt.a)(0)))).pipe(Object(Ot.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 xt.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(x.a)(e),Object(Ot.a)(e=>({query:t,matches:e.matches})),Object(O.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(At),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();function jt(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Mt={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)"},Nt=20,Lt="mat-tooltip-panel";function Ft(t){return Error(`Tooltip position "${t}" is invalid.`)}const Vt=new i.o("mat-tooltip-scroll-strategy");function Bt(t){return()=>t.scrollStrategies.reposition({scrollThrottle:Nt})}const zt=new i.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});class Ht{constructor(t,e,n,i,r,s,o,l,a,u,c,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._ariaDescriber=o,this._focusMonitor=l,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new m.a,this._scrollStrategy=a;const d=e.nativeElement,p="undefined"==typeof window||window.Hammer||h;s.IOS||s.ANDROID?p||this._manualListeners.set("touchstart",()=>this.show()):this._manualListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide()),this._manualListeners.forEach((t,e)=>d.addEventListener(e,t)),l.monitor(e).pipe(Object(O.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),c&&c.position&&(this.position=c.position)}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(w.b)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){const t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((t,e)=>{this._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(qt,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(t){this._isTooltipVisible()&&t.keyCode===C.e&&!Object(C.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions.touchendHideDelay)}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(O.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:Lt,scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ft(e);n={originX:"end",originY:"center"}}const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ft(e);n={overlayX:"start",overlayY:"center"}}const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(E.a)(1),Object(O.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}}class qt{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new m.a,this._isHandset=this._breakpointObserver.observe(Mt.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class Ut{}var $t=n("KIbp");const Kt=56;class Wt{constructor(t){this.api=t}ngOnInit(){}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>Kt&&(t=t.substring(0,Kt-3)+"..."),t}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""}get serviceClass(){const t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert(' '+django.gettext("Launcher")+"
",t)}launch(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching(''+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
'+this.api.config.messages.calendarDenied+'
'):(null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link))}action(t){const e="release"===t?django.gettext("Release service: "):django.gettext("Reset service: ")+this.serviceName,n="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(e,django.gettext("Are you sure?")).subscribe(i=>{i&&this.api.action(t,this.service.id).subscribe(t=>{t&&this.api.gui.alert(e,n)})})}}var Gt=i.pb({encapsulation:0,styles:[[".service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.2em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;height:1.5em;padding:0 .5em}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgb(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]::before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-family:'Material Icons';font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]::before{color:#fc0000;content:'update'}.maintenance[_ngcontent-%COMP%]::before{color:#fcb900;content:'build'}.tobereplaced[_ngcontent-%COMP%]::before{color:#fc0000;content:'delete_forever'}"]],data:{}});function Yt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.launch(t.context.$implicit)&&r),r}),at,lt)),i.qb(1,180224,[[1,4],[2,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,2,"div",[["class","transport-item"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.Kb(4,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null),t(e,3,0,n.getTransportIcon(e.context.$implicit.id)),t(e,4,0,e.context.$implicit.name)}))}function Qt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.action("release")&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["delete"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,[" Release service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function Zt(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.action("reset")&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["refresh"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,[" Reset service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function Xt(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Connections"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,4)),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null)}))}function Jt(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Actions"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,13)),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null)}))}function te(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["menu"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,24))}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).menuOpen||null)}))}function ee(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,8,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(4,1294336,[["transports",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,1,{_allItems:1}),i.Ib(603979776,2,{items:1}),i.Ib(603979776,3,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Yt)),i.qb(9,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(10,0,null,null,10,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(13,1294336,[["actions",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,4,{_allItems:1}),i.Ib(603979776,5,{items:1}),i.Ib(603979776,6,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Qt)),i.qb(18,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,Zt)),i.qb(20,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(21,0,null,null,10,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(24,1294336,[["menu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,7,{_allItems:1}),i.Ib(603979776,8,{items:1}),i.Ib(603979776,9,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Xt)),i.qb(29,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,Jt)),i.qb(31,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(32,16777216,null,null,10,"div",[["matTooltipPosition","above"],["matTooltipShowDelay","1000"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var r=!0;return"longpress"===e&&(r=!1!==i.Db(t,35).show()&&r),"keydown"===e&&(r=!1!==i.Db(t,35)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==i.Db(t,35)._handleTouchend()&&r),r}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(34,278528,null,0,et.i,[et.v],{ngClass:[0,"ngClass"]},null),i.qb(35,212992,null,0,Ht,[M.c,i.k,nt.a,i.N,i.x,N.a,y.c,y.e,Vt,[2,J.b],[2,zt],[2,tt.f]],{position:[0,"position"],disabled:[1,"disabled"],showDelay:[2,"showDelay"],message:[3,"message"]},null),(t()(),i.rb(36,0,null,null,1,"div",[["class","icon"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.launch(null)&&i),i}),null,null)),(t()(),i.rb(37,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(38,0,null,null,1,"div",[["class","name"]],null,null,null,null,null)),(t()(),i.Kb(39,null,[" "," "])),(t()(),i.rb(40,0,null,null,2,"div",[["class","menu"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,te)),i.qb(42,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0),t(e,9,0,n.service.transports),t(e,13,0),t(e,18,0,n.service.allow_users_remove),t(e,20,0,n.service.allow_users_reset),t(e,24,0),t(e,29,0,n.showTransportsMenu()),t(e,31,0,n.hasActions()),t(e,34,0,n.serviceClass),t(e,35,0,"above",""===n.serviceTooltip,"1000",n.serviceTooltip),t(e,42,0,n.hasMenu())}),(function(t,e){var n=e.component;t(e,37,0,n.serviceImage),t(e,39,0,n.serviceName)}))}function ne(t){return i.Mb(0,[(t()(),i.gb(16777216,null,null,1,null,ee)),i.qb(1,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.service.transports.length>0)}),null)}let ie=0;class re{constructor(){this._stateChanges=new m.a,this._openCloseAllActions=new m.a,this.id=`cdk-accordion-${ie++}`,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(w.b)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}let se=0;class oe{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new i.m,this.opened=new i.m,this.destroyed=new i.m,this.expandedChange=new i.m,this.id=`cdk-accordion-child-${se++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(w.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(w.b)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}class le{}var ae=n("EY2u"),ue=n("/uUt");const ce=new i.o("MAT_ACCORDION");let he=0;const de=new i.o("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class pe extends oe{constructor(t,e,n,r,s,o,l){super(t,e,n),this._viewContainerRef=r,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new i.m,this.afterCollapse=new i.m,this._inputChanges=new m.a,this._headerId=`mat-expansion-panel-header-${he++}`,this._bodyAnimationDone=new m.a,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(Object(ue.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(w.b)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(x.a)(null),Object(k.a)(()=>this.expanded&&!this._portal),Object(E.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}class me{constructor(t,e,n,i,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;const s=t.accordion?t.accordion._stateChanges.pipe(Object(k.a)(t=>!(!t.hideToggle&&!t.togglePosition))):ae.a;this._parentChangeSubscription=Object(g.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(k.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(k.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case C.j:case C.d:Object(C.o)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}class fe{}class ge{}class be extends re{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(w.b)(t)}ngAfterContentInit(){this._keyManager=new y.d(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===C.f?Object(C.o)(t)||(n.setFirstItemActive(),t.preventDefault()):e===C.c?Object(C.o)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}class _e{}var ye=n("8bJo"),ve=i.pb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function we(t){return i.Mb(0,[(t()(),i.gb(0,null,null,0))],null,null)}function Ce(t){return i.Mb(2,[i.Ib(671088640,1,{_body:0}),i.Cb(null,0),(t()(),i.rb(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var i=!0;return"@bodyExpansion.done"===e&&(i=!1!==t.component._bodyAnimationDone.next(n)&&i),i}),null,null)),(t()(),i.rb(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),i.Cb(null,1),(t()(),i.gb(16777216,null,null,1,null,we)),i.qb(6,212992,null,0,p.b,[i.j,i.N],{portal:[0,"portal"]},null),i.Cb(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var xe=i.pb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function Se(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function Ee(t){return i.Mb(2,[(t()(),i.rb(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),i.Cb(null,0),i.Cb(null,1),i.Cb(null,2),(t()(),i.gb(16777216,null,null,1,null,Se)),i.qb(5,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}class ke{constructor(t){this.api=t,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,e)=>t.name>e.name?1:t.name{this.servicesInformation=t,console.log(t),this.group=[],this.autorun();let e=null;this.servicesInformation.services.sort((t,e)=>t.group.priority!==e.group.priority?t.group.priority-e.group.priority:t.group.id>e.group.id?1:t.group.id{null!==e&&t.group.id===e.group.id||(null!==e&&this.group.push(e),e=new Ae(t.group)),e.services.push(t)}),null!==e&&this.group.push(e),console.log(this.group)})}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}}var Pe=i.pb({encapsulation:0,styles:[[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]],data:{}});function je(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-services-group",[],null,null,null,Te,Oe)),i.qb(1,114688,null,0,ke,[$t.a],{services:[0,"services"],group:[1,"group"],expanded:[2,"expanded"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.services,e.context.$implicit.group,0==e.context.index)}),null)}function Me(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"div",[["class","services-groups"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),i.Hb(6144,null,ce,null,[be]),i.qb(3,1720320,null,1,be,[],null,null),i.Ib(603979776,1,{_headers:1}),(t()(),i.gb(16777216,null,null,1,null,je)),i.qb(6,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,6,0,e.component.group)}),null)}function Ne(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-services-page",[],null,null,null,Me,Pe)),i.qb(1,114688,null,0,Re,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Le=i.nb("uds-services-page",Re,Ne,{},{},[]),Fe=i.pb({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function Ve(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,He,ze)),i.qb(1,49152,null,0,v.r,[[2,it.a]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===i.Db(e,1).state,"checked"===i.Db(e,1).state,i.Db(e,1).disabled,"NoopAnimations"===i.Db(e,1)._animationMode)}))}function Be(t){return i.Mb(2,[(t()(),i.gb(16777216,null,null,1,null,Ve)),i.qb(1,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),i.Cb(null,0),(t()(),i.rb(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.qb(5,212992,null,0,v.t,[i.k,i.x,N.a,[2,v.k],[2,it.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,i.Db(e,5).unbounded)}))}var ze=i.pb({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function He(t){return i.Mb(2,[],null,null)}var qe=n("xgIS");class Ue{}function $e(t){return Error(`A hint was already declared for 'align="${t}"'.`)}class Ke{}let We=0;const Ge=.75,Ye=5;class Qe{constructor(t){this._elementRef=t}}const Ze=Object(v.z)(Qe,"primary"),Xe=new i.o("MAT_FORM_FIELD_DEFAULT_OPTIONS");class Je extends Ze{constructor(t,e,n,i,r,s,o,l){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new m.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${We++}`,this._labelId=`mat-form-field-label-${We++}`,this._previousDirection="ltr",this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==l,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(w.b)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(x.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(O.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(O.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(g.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(x.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(x.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(O.a)(this._destroyed)).subscribe(()=>{this.updateOutlineGap(),this._previousDirection=this._dir.value})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(qe.a)(this._label.nativeElement,"transitionend").pipe(Object(E.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw $e("start");t=n}else if("end"===n.align){if(e)throw $e("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=this._getStartEnd(t.children[0].getBoundingClientRect());let l=0;for(const e of t.children)l+=e.offsetWidth;e=o-s-Ye,n=l>0?l*Ge+2*Ye:0}for(let o=0;o enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function rn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),i.rb(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),i.rb(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function sn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),i.Cb(null,0)],null,null)}function on(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,3,null,null,null,null,null,null,null)),i.Cb(null,2),(t()(),i.rb(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i.Kb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function ln(t){return i.Mb(0,[i.Cb(null,3),(t()(),i.gb(0,null,null,0))],null,null)}function an(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" *"]))],null,null)}function un(t){return i.Mb(0,[(t()(),i.rb(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component.updateOutlineGap()&&i),i}),null,null)),i.qb(1,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),i.qb(2,1196032,null,0,en.a,[en.b,i.k,i.x],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),i.gb(16777216,null,null,1,null,on)),i.qb(4,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,ln)),i.qb(6,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,an)),i.qb(8,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function cn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),i.Cb(null,4)],null,null)}function hn(t){return i.Mb(0,[(t()(),i.rb(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function dn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),i.Cb(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function pn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function mn(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,pn)),i.qb(2,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),i.Cb(null,6),(t()(),i.rb(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),i.Cb(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function fn(t){return i.Mb(2,[i.Ib(671088640,1,{underlineRef:0}),i.Ib(402653184,2,{_connectionContainerRef:0}),i.Ib(671088640,3,{_inputContainerRef:0}),i.Ib(671088640,4,{_label:0}),(t()(),i.rb(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),i.rb(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i}),null,null)),(t()(),i.gb(16777216,null,null,1,null,rn)),i.qb(7,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,sn)),i.qb(9,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),i.Cb(null,1),(t()(),i.rb(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,un)),i.qb(14,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,cn)),i.qb(16,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,hn)),i.qb(18,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),i.qb(20,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,dn)),i.qb(22,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,mn)),i.qb(24,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var gn=n("NXyV");let bn=0;const _n=256,yn=16,vn=2*yn,wn=3,Cn=1.5*yn+16,xn=8,Sn=new i.o("mat-select-scroll-strategy");function En(t){return()=>t.scrollStrategies.reposition()}class kn{constructor(t,e){this.source=t,this.value=e}}class On{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const Dn=Object(v.A)(Object(v.D)(Object(v.B)(Object(v.C)(On))));class In extends Dn{constructor(t,e,n,r,s,o,l,a,u,c,h,d,p){super(s,r,l,a,c),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=u,this.ngControl=c,this._liveAnnouncer=p,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid=`mat-select-${bn++}`,this._destroy=new m.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new m.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(gn.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(x.a)(t),Object(S.a)(()=>Object(g.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(E.a)(1),Object(S.a)(()=>this.optionSelectionChanges))}),this.openedChange=new i.m,this._openedStream=this.openedChange.pipe(Object(k.a)(t=>t),Object(Ot.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(k.a)(t=>!t),Object(Ot.a)(()=>{})),this.selectionChange=new i.m,this.valueChange=new i.m,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}set focused(t){this._focused=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(w.b)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(w.b)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(w.b)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ye.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(ue.a)(),Object(O.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(O.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.onChange.pipe(Object(O.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(x.a)(null),Object(O.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(E.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===C.b||e===C.l||e===C.g||e===C.i,i=this._keyManager;if((e===C.d||e===C.j)&&!Object(C.o)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===C.f||e===C.c?(e===C.f?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault()):i.onKeydown(t);const r=this.selected;this._liveAnnouncer&&r&&n!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(t){const e=t.keyCode,n=e===C.b||e===C.l,i=this._keyManager;if(e===C.f||e===C.c)t.preventDefault(),e===C.f?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==C.d&&e!==C.j||!i.activeItem||Object(C.o)(t))if(this._multiple&&e===C.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const e=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==e&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(E.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(i.V)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new y.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(O.a)(this._destroy)).subscribe(()=>{this.focus(),this.close()}),this._keyManager.change.pipe(Object(O.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(g.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(O.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(g.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(O.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new kn(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(v.x)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(v.y)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,_n)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,i)=>void 0===e?t===n?i:void 0:e,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,_n),i=e*t-n;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(v.x)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?Cn+yn:2*yn;let r;if(this.multiple)r=Cn;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?vn:yn}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),o=t.right+r-e.width+(n?0:i);s>0?r+=s+xn:o>0&&(r-=o+xn),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(_n/i);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-_n)%i):e-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-xn,r=n.height-this._triggerRect.bottom-xn,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,_n)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return this._triggerFontSize*wn}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}class Tn{}var An=n("DH7j"),Rn=n("XoHu"),Pn=n("Cfvw");function jn(t,e){return new xt.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l{u||(u=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{++s!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}class Mn{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Nn extends Mn{get formDirective(){return null}get path(){return null}}function Ln(t){return null==t||0===t.length}const Fn=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Vn{static min(t){return e=>{if(Ln(e.value)||Ln(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Ln(e.value)||Ln(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Ln(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Ln(t.value)?null:Fn.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Ln(e.value))return null;const n=e.value?e.value.length:0;return n{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return Vn.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Ln(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Bn);return 0==e.length?null:function(t){return Hn(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Bn);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(Object(An.a)(e))return jn(e,null);if(Object(Rn.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return jn(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return jn(t=1===t.length&&Object(An.a)(t[0])?t[0]:t,null).pipe(Object(Ot.a)(t=>e(...t)))}return jn(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(zn)).pipe(Object(Ot.a)(Hn))}}}function Bn(t){return null!=t}function zn(t){const e=Object(i.yb)(t)?Object(Pn.a)(t):t;if(!Object(i.xb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Hn(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function qn(t){return t.validate?e=>t.validate(e):t}function Un(t){return t.validate?e=>t.validate(e):t}const $n={formControlName:'\n \n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n ',ngModelWithFormGroup:'\n \n \n \n
\n '};class Kn{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formControlName}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${$n.formGroupName}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${$n.ngModelGroup}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${$n.formControlName}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formGroupName}`)}static arrayParentException(){throw new Error(`formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${$n.formArrayName}`)}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function Wn(t,e){t||Zn(e,"Cannot find control with"),e.valueAccessor||Zn(e,"No value accessor for form control with"),t.validator=Vn.compose([t.validator,e.validator]),t.asyncValidator=Vn.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Gn(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Gn(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Gn(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Yn(t,e){null==t&&Zn(e,"Cannot find control with"),t.validator=Vn.compose([t.validator,e.validator]),t.asyncValidator=Vn.composeAsync([t.asyncValidator,e.asyncValidator])}function Qn(t){return Zn(t,"There is no FormControl instance attached to form control element with")}function Zn(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function Xn(t){return null!=t?Vn.compose(t.map(qn)):null}function Jn(t){return null!=t?Vn.composeAsync(t.map(Un)):null}function ti(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ei(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ni="VALID",ii="INVALID",ri="PENDING",si="DISABLED";function oi(t){const e=ai(t)?t.validators:t;return Array.isArray(e)?Xn(e):e||null}function li(t,e){const n=ai(e)?e.asyncValidators:t;return Array.isArray(n)?Jn(n):n||null}function ai(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ui{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return this.status===ni}get invalid(){return this.status===ii}get pending(){return this.status==ri}get disabled(){return this.status===si}get enabled(){return this.status!==si}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=oi(t)}setAsyncValidators(t){this.asyncValidator=li(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ri,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=si,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ni,this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ni&&this.status!==ri||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?si:ni}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ri;const e=zn(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof hi?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof di&&t.at(e)||null,t))}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.m,this.statusChanges=new i.m}_calculateStatus(){return this._allControlsDisabled()?si:this.errors?ii:this._anyControlsHaveStatus(ri)?ri:this._anyControlsHaveStatus(ii)?ii:ni}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ai(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ci extends ui{constructor(t=null,e,n){super(oi(e),li(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class hi extends ui{constructor(t,e,n){super(oi(e),li(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ci?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,i)=>{e=e||this.contains(i)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class di extends ui{constructor(t,e,n){super(oi(e),li(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ci?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const pi=(()=>Promise.resolve(null))();class mi extends Nn{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.m,this.form=new hi({},Xn(t),Jn(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){pi.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Wn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){pi.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ei(this._directives,t)})}addFormGroup(t){pi.then(()=>{const e=this._findContainer(t.path),n=new hi({});Yn(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){pi.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){pi.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ti(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}class fi extends Nn{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.m}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Wn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ei(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Yn(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Yn(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,ti(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Qn(e)),e.valueAccessor.registerOnTouched(()=>Qn(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Wn(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=Xn(this._validators);this.form.validator=Vn.compose([this.form.validator,t]);const e=Jn(this._asyncValidators);this.form.asyncValidator=Vn.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||Kn.missingFormException()}}var gi=i.pb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function bi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function _i(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function yi(t){return i.Mb(0,[i.Cb(null,0),(t()(),i.gb(0,null,null,0))],null,null)}function vi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),i.qb(1,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,_i)),i.qb(3,16384,null,0,et.p,[i.N,i.K,et.n],null,null),(t()(),i.gb(16777216,null,null,1,null,yi)),i.qb(5,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function wi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),i.rb(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"@transformPanel.done"===e&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(3,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Cb(null,1)],(function(t,e){var n=e.component;t(e,3,0,i.vb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function Ci(t){return i.Mb(2,[i.Ib(671088640,1,{trigger:0}),i.Ib(671088640,2,{panel:0}),i.Ib(671088640,3,{overlayDir:0}),(t()(),i.rb(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle()&&i),i}),null,null)),i.qb(4,16384,[["origin",4]],0,M.b,[i.k],null,null),(t()(),i.rb(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),i.qb(6,16384,null,0,et.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i.gb(16777216,null,null,1,null,bi)),i.qb(8,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.gb(16777216,null,null,1,null,vi)),i.qb(10,278528,null,0,et.o,[i.N,i.K,et.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i.rb(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),i.rb(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,(function(t,e,n){var i=!0,r=t.component;return"backdropClick"===e&&(i=!1!==r.close()&&i),"attach"===e&&(i=!1!==r._onAttached()&&i),"detach"===e&&(i=!1!==r.close()&&i),i}),wi)),i.qb(14,671744,[[3,4]],0,M.a,[M.c,i.K,i.N,M.j,[2,J.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,i.Db(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}n("3UWI");const xi=Object(N.f)({passive:!0});let Si=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return ae.a;const e=Object(w.d)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const i=new m.a,r="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,xi),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",s,xi)}}),i.asObservable()}stopMonitoring(t){const e=Object(w.d)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(N.a),Object(i.Rb)(i.x))},token:t,providedIn:"root"}),t})();class Ei{}const ki=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Oi=0;class Di{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const Ii=Object(v.C)(Di);class Ti extends Ii{constructor(t,e,n,i,r,s,o,l,a){super(s,i,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=l,this._uid=`mat-input-${Oi++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new m.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(N.e)().has(t));const u=this._elementRef.nativeElement;this._inputValueAccessor=o||u,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&a.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===u.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=u.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(w.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(w.b)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(N.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(w.b)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(ki.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}class Ai{}var Ri=n("D8EZ"),Pi=i.pb({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]],data:{}});function ji(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==i.Db(t,1)._handleKeydown(n)&&r),r}),Be,Fe)),i.qb(1,8568832,[[28,4]],0,v.p,[i.k,i.h,[2,v.j],[2,v.o]],{value:[0,"value"]},null),(t()(),i.Kb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.id)}),(function(t,e){t(e,0,0,i.Db(e,1)._getTabIndex(),i.Db(e,1).selected,i.Db(e,1).multiple,i.Db(e,1).active,i.Db(e,1).id,i.Db(e,1)._getAriaSelected(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function Mi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,25,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,24,"mat-form-field",[["appaerance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(2,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],null,null),i.Ib(603979776,19,{_controlNonStatic:0}),i.Ib(335544320,20,{_controlStatic:0}),i.Ib(603979776,21,{_labelChildNonStatic:0}),i.Ib(335544320,22,{_labelChildStatic:0}),i.Ib(603979776,23,{_placeholderChild:0}),i.Ib(603979776,24,{_errorChildren:1}),i.Ib(603979776,25,{_hintChildren:1}),i.Ib(603979776,26,{_prefixChildren:1}),i.Ib(603979776,27,{_suffixChildren:1}),(t()(),i.rb(12,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(13,16384,[[21,4],[22,4]],0,Ke,[],null,null),(t()(),i.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(15,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Authenticator"])),(t()(),i.rb(17,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var r=!0,s=t.component;return"keydown"===e&&(r=!1!==i.Db(t,19)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==i.Db(t,19)._onFocus()&&r),"blur"===e&&(r=!1!==i.Db(t,19)._onBlur()&&r),"selectionChange"===e&&(r=!1!==s.changeAuth(n.value)&&r),r}),Ci,gi)),i.Hb(6144,null,v.j,null,[In]),i.qb(19,2080768,null,3,In,[nt.d,i.h,i.x,v.b,i.k,[2,J.b],[2,mi],[2,fi],[2,Je],[8,null],[8,null],Sn,y.g],{value:[0,"value"]},{selectionChange:"selectionChange"}),i.Ib(603979776,28,{options:1}),i.Ib(603979776,29,{optionGroups:1}),i.Ib(603979776,30,{customTrigger:0}),i.Hb(2048,[[19,4],[20,4]],Ue,null,[In]),(t()(),i.gb(16777216,null,1,1,null,ji)),i.qb(25,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,15,0),t(e,19,0,n.auths[0].id),t(e,25,0,n.auths)}),(function(t,e){t(e,1,1,["standard"==i.Db(e,2).appearance,"fill"==i.Db(e,2).appearance,"outline"==i.Db(e,2).appearance,"legacy"==i.Db(e,2).appearance,i.Db(e,2)._control.errorState,i.Db(e,2)._canLabelFloat,i.Db(e,2)._shouldLabelFloat(),i.Db(e,2)._hasFloatingLabel(),i.Db(e,2)._hideControlPlaceholder(),i.Db(e,2)._control.disabled,i.Db(e,2)._control.autofilled,i.Db(e,2)._control.focused,"accent"==i.Db(e,2).color,"warn"==i.Db(e,2).color,i.Db(e,2)._shouldForward("untouched"),i.Db(e,2)._shouldForward("touched"),i.Db(e,2)._shouldForward("pristine"),i.Db(e,2)._shouldForward("dirty"),i.Db(e,2)._shouldForward("valid"),i.Db(e,2)._shouldForward("invalid"),i.Db(e,2)._shouldForward("pending"),!i.Db(e,2)._animationsEnabled]),t(e,17,1,[i.Db(e,19).id,i.Db(e,19).tabIndex,i.Db(e,19)._getAriaLabel(),i.Db(e,19)._getAriaLabelledby(),i.Db(e,19).required.toString(),i.Db(e,19).disabled.toString(),i.Db(e,19).errorState,i.Db(e,19).panelOpen?i.Db(e,19)._optionIds:null,i.Db(e,19).multiple,i.Db(e,19)._ariaDescribedby||null,i.Db(e,19)._getAriaActiveDescendant(),i.Db(e,19).disabled,i.Db(e,19).errorState,i.Db(e,19).required,i.Db(e,19).empty])}))}function Ni(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,57,"form",[["id","loginform"],["method","post"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"input",[["id","token"],["name",""],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"input",[["id","id_logouturl"],["name","logouturl"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,0,"input",[["id","authenticator"],["name","authenticator"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,53,"div",[["class","login-container"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,1,"div",[["class","login-brand"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(7,0,null,null,1,"div",[["class","login-info"]],null,null,null,null,null)),(t()(),i.Kb(8,null,[" "," "])),(t()(),i.rb(9,0,null,null,48,"div",[["class","login-form"]],null,null,null,null,null)),(t()(),i.rb(10,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(12,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],{appearance:[0,"appearance"]},null),i.Ib(603979776,1,{_controlNonStatic:0}),i.Ib(335544320,2,{_controlStatic:0}),i.Ib(603979776,3,{_labelChildNonStatic:0}),i.Ib(335544320,4,{_labelChildStatic:0}),i.Ib(603979776,5,{_placeholderChild:0}),i.Ib(603979776,6,{_errorChildren:1}),i.Ib(603979776,7,{_hintChildren:1}),i.Ib(603979776,8,{_prefixChildren:1}),i.Ib(603979776,9,{_suffixChildren:1}),(t()(),i.rb(22,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(23,16384,[[3,4],[4,4]],0,Ke,[],null,null),(t()(),i.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(25,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Username"])),(t()(),i.rb(27,0,null,1,2,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["id","id_user"],["matInput",""],["name","user"],["required",""],["value",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var r=!0;return"blur"===e&&(r=!1!==i.Db(t,28)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==i.Db(t,28)._focusChanged(!0)&&r),"input"===e&&(r=!1!==i.Db(t,28)._onInput()&&r),r}),null,null)),i.qb(28,999424,null,0,Ti,[i.k,N.a,[8,null],[2,mi],[2,fi],v.b,[8,null],Si,i.x],{id:[0,"id"],required:[1,"required"],value:[2,"value"]},null),i.Hb(2048,[[1,4],[2,4]],Ue,null,[Ti]),(t()(),i.rb(30,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),i.rb(31,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,fn,nn)),i.qb(32,7520256,null,9,Je,[i.k,i.h,[2,v.h],[2,J.b],[2,Xe],N.a,i.x,[2,it.a]],{appearance:[0,"appearance"]},null),i.Ib(603979776,10,{_controlNonStatic:0}),i.Ib(335544320,11,{_controlStatic:0}),i.Ib(603979776,12,{_labelChildNonStatic:0}),i.Ib(335544320,13,{_labelChildStatic:0}),i.Ib(603979776,14,{_placeholderChild:0}),i.Ib(603979776,15,{_errorChildren:1}),i.Ib(603979776,16,{_hintChildren:1}),i.Ib(603979776,17,{_prefixChildren:1}),i.Ib(603979776,18,{_suffixChildren:1}),(t()(),i.rb(42,0,null,3,4,"mat-label",[],null,null,null,null,null)),i.qb(43,16384,[[12,4],[13,4]],0,Ke,[],null,null),(t()(),i.rb(44,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(45,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Password"])),(t()(),i.rb(47,0,null,1,2,"input",[["class","form-control mat-input-element mat-form-field-autofill-control"],["data-eye",""],["id","id_password"],["matInput",""],["name","password"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var r=!0;return"blur"===e&&(r=!1!==i.Db(t,48)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==i.Db(t,48)._focusChanged(!0)&&r),"input"===e&&(r=!1!==i.Db(t,48)._onInput()&&r),r}),null,null)),i.qb(48,999424,null,0,Ti,[i.k,N.a,[8,null],[2,mi],[2,fi],v.b,[8,null],Si,i.x],{id:[0,"id"],type:[1,"type"]},null),i.Hb(2048,[[10,4],[11,4]],Ue,null,[Ti]),(t()(),i.gb(16777216,null,null,1,null,Mi)),i.qb(51,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(52,0,null,null,5,"div",[["class","login-button"]],null,null,null,null,null)),(t()(),i.rb(53,0,null,null,4,"button",[["color","primary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,_t,bt)),i.qb(54,180224,null,0,mt,[i.k,y.e,[2,it.a]],{color:[0,"color"]},null),(t()(),i.rb(55,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(56,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Login"]))],(function(t,e){var n=e.component;t(e,12,0,"standard"),t(e,25,0),t(e,28,0,"id_user","",""),t(e,32,0,"standard"),t(e,45,0),t(e,48,0,"id_password","password"),t(e,51,0,n.auths.length>1),t(e,54,0,"primary"),t(e,56,0)}),(function(t,e){var n=e.component;t(e,6,0,n.api.staticURL("modern/img/login-img.png")),t(e,8,0,n.title),t(e,11,1,["standard"==i.Db(e,12).appearance,"fill"==i.Db(e,12).appearance,"outline"==i.Db(e,12).appearance,"legacy"==i.Db(e,12).appearance,i.Db(e,12)._control.errorState,i.Db(e,12)._canLabelFloat,i.Db(e,12)._shouldLabelFloat(),i.Db(e,12)._hasFloatingLabel(),i.Db(e,12)._hideControlPlaceholder(),i.Db(e,12)._control.disabled,i.Db(e,12)._control.autofilled,i.Db(e,12)._control.focused,"accent"==i.Db(e,12).color,"warn"==i.Db(e,12).color,i.Db(e,12)._shouldForward("untouched"),i.Db(e,12)._shouldForward("touched"),i.Db(e,12)._shouldForward("pristine"),i.Db(e,12)._shouldForward("dirty"),i.Db(e,12)._shouldForward("valid"),i.Db(e,12)._shouldForward("invalid"),i.Db(e,12)._shouldForward("pending"),!i.Db(e,12)._animationsEnabled]),t(e,27,0,i.Db(e,28)._isServer,i.Db(e,28).id,i.Db(e,28).placeholder,i.Db(e,28).disabled,i.Db(e,28).required,i.Db(e,28).readonly&&!i.Db(e,28)._isNativeSelect||null,i.Db(e,28)._ariaDescribedby||null,i.Db(e,28).errorState,i.Db(e,28).required.toString()),t(e,31,1,["standard"==i.Db(e,32).appearance,"fill"==i.Db(e,32).appearance,"outline"==i.Db(e,32).appearance,"legacy"==i.Db(e,32).appearance,i.Db(e,32)._control.errorState,i.Db(e,32)._canLabelFloat,i.Db(e,32)._shouldLabelFloat(),i.Db(e,32)._hasFloatingLabel(),i.Db(e,32)._hideControlPlaceholder(),i.Db(e,32)._control.disabled,i.Db(e,32)._control.autofilled,i.Db(e,32)._control.focused,"accent"==i.Db(e,32).color,"warn"==i.Db(e,32).color,i.Db(e,32)._shouldForward("untouched"),i.Db(e,32)._shouldForward("touched"),i.Db(e,32)._shouldForward("pristine"),i.Db(e,32)._shouldForward("dirty"),i.Db(e,32)._shouldForward("valid"),i.Db(e,32)._shouldForward("invalid"),i.Db(e,32)._shouldForward("pending"),!i.Db(e,32)._animationsEnabled]),t(e,47,0,i.Db(e,48)._isServer,i.Db(e,48).id,i.Db(e,48).placeholder,i.Db(e,48).disabled,i.Db(e,48).required,i.Db(e,48).readonly&&!i.Db(e,48)._isNativeSelect||null,i.Db(e,48)._ariaDescribedby||null,i.Db(e,48).errorState,i.Db(e,48).required.toString()),t(e,53,0,i.Db(e,54).disabled||null,"NoopAnimations"===i.Db(e,54)._animationMode)}))}function Li(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-login",[],null,null,null,Ni,Pi)),i.qb(1,114688,null,0,Ri.a,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Fi=i.nb("uds-login",Ri.a,Li,{},{},[]);class Vi{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}}var Bi=i.pb({encapsulation:0,styles:[[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 21%}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:justify}"]],data:{}});function zi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"div",[["class","plugin"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.download(t.context.$implicit.url)&&i),i}),null,null)),(t()(),i.rb(1,0,null,null,1,"div",[["class","image"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),i.rb(3,0,null,null,1,"div",[["class","platform"]],null,null,null,null,null)),(t()(),i.Kb(4,null,[" "," "])),(t()(),i.rb(5,0,null,null,1,"div",[["class","description"]],null,null,null,null,null)),(t()(),i.Kb(6,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.img(e.context.$implicit.name)),t(e,4,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.description)}))}function Hi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,13,"div",[["class","plugins-container"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Client"])),(t()(),i.rb(7,0,null,null,2,"div",[["class","plugins"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,zi)),i.qb(9,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(10,0,null,null,3,"div",[["class","info"]],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(12,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Download UDS client for your platform"]))],(function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.api.plugins),t(e,12,0)}),null)}function qi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-client-download",[],null,null,null,Hi,Bi)),i.qb(1,114688,null,0,Vi,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Ui=i.nb("uds-client-download",Vi,qi,{},{},[]);class $i{constructor(t){this.sanitizer=t}transform(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)}}class Ki{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}}var Wi=i.pb({encapsulation:0,styles:[[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700}"]],data:{}});function Gi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,4,"div",[["class","actor"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.download(t.context.$implicit.url)&&i),i}),null,null)),(t()(),i.rb(1,0,null,null,1,"div",[["class","name"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(2,1),(t()(),i.rb(3,0,null,null,1,"div",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(4,1)],null,(function(t,e){var n=i.Lb(e,1,0,t(e,2,0,i.Db(e.parent,0),e.context.$implicit.name));t(e,1,0,n);var r=i.Lb(e,3,0,t(e,4,0,i.Db(e.parent,0),e.context.$implicit.description));t(e,3,0,r)}))}function Yi(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,9,"div",[["class","actors-container"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(6,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Downloads"])),(t()(),i.rb(8,0,null,null,2,"div",[["class","actors"]],null,null,null,null,null)),(t()(),i.gb(16777216,null,null,1,null,Gi)),i.qb(10,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,6,0),t(e,10,0,n.api.actors)}),null)}function Qi(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-downloads",[],null,null,null,Yi,Wi)),i.qb(1,114688,null,0,Ki,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Zi=i.nb("uds-downloads",Ki,Qi,{},{},[]);class Xi{constructor(t){this.route=t,this.error=""}ngOnInit(){this.getError()}getError(){const t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),t=>t.charCodeAt(t))).replace("\n"," "),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}}}var Ji=i.pb({encapsulation:0,styles:[[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:5s infinite CogAnimation;animation:5s infinite CogAnimation}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]],data:{}});function tr(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,17,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,4,"div",[["class","graph"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,1,":svg:svg",[["class","bird"],["viewBox","0 0 55 41"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,0,":svg:path",[["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"]],null,null,null,null,null)),(t()(),i.rb(5,0,null,null,1,":svg:svg",[["class","gears"],["viewBox","0 0 32 32"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,0,":svg:path",[["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,3,"h1",[["class","title"]],null,null,null,null,null)),(t()(),i.rb(8,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(9,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["An error has occurred"])),(t()(),i.rb(11,0,null,null,1,"p",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),i.Gb(12,1),(t()(),i.rb(13,0,null,null,5,"a",[["color","warn"],["mat-raised-button",""],["routerLink","/"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),"click"===e&&(r=!1!==i.Db(t,15)._haltDisabledEvents(n)&&r),r}),vt,yt)),i.qb(14,671744,null,0,l.m,[l.k,l.a,et.h],{routerLink:[0,"routerLink"]},null),i.qb(15,180224,null,0,ft,[y.e,i.k,[2,it.a]],{color:[0,"color"]},null),(t()(),i.rb(16,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(17,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Return"]))],(function(t,e){t(e,9,0),t(e,14,0,"/"),t(e,15,0,"warn"),t(e,17,0)}),(function(t,e){var n=e.component,r=i.Lb(e,11,0,t(e,12,0,i.Db(e,0),n.error));t(e,11,0,r),t(e,13,0,i.Db(e,14).target,i.Db(e,14).href,i.Db(e,15).disabled?-1:i.Db(e,15).tabIndex||0,i.Db(e,15).disabled||null,i.Db(e,15).disabled.toString(),"NoopAnimations"===i.Db(e,15)._animationMode)}))}function er(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-error",[],null,null,null,tr,Ji)),i.qb(1,114688,null,0,Xi,[l.a],null,null)],(function(t,e){t(e,1,0)}),null)}var nr=i.nb("uds-error",Xi,er,{},{},[]);class ir{constructor(t){this.api=t}ngOnInit(){}}var rr=i.pb({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;padding-left:10px;cursor:pointer;border-bottom:1px solid #ccc}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function sr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,47,"div",[["class","about"]],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),i.Kb(2,null,["Universal Desktop Services "," build ",""])),(t()(),i.rb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),i.rb(4,0,null,null,1,"a",[["href","http://www.udsenterprise.com"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" \xa9 2012-2018 Virtual Cable S.L.U."])),(t()(),i.rb(6,0,null,null,5,"h4",[],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(8,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["You can access UDS Open Source code at"])),(t()(),i.rb(10,0,null,null,1,"a",[["href","https://github.com/dkmstr/openuds"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,[" OpenUDS github repository"])),(t()(),i.rb(12,0,null,null,35,"div",[["class","components"]],null,null,null,null,null)),(t()(),i.rb(13,0,null,null,3,"h2",[],null,null,null,null,null)),(t()(),i.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(15,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS has been developed using these components:"])),(t()(),i.rb(17,0,null,null,24,"ul",[],null,null,null,null,null)),(t()(),i.rb(18,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(19,0,null,null,1,"a",[["href","https://www.python.org/"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Python"])),(t()(),i.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(22,0,null,null,1,"a",[["href","https://www.typescriptlang.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["TypeScript"])),(t()(),i.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(25,0,null,null,1,"a",[["href","https://www.djangoproject.com/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Django"])),(t()(),i.rb(27,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(28,0,null,null,1,"a",[["href","https://angular.io"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Angular"])),(t()(),i.rb(30,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(31,0,null,null,1,"a",[["href","https://guac-dev.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Guacamole"])),(t()(),i.rb(33,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(34,0,null,null,1,"a",[["href","https://weasyprint.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["weasyprint"])),(t()(),i.rb(36,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(37,0,null,null,1,"a",[["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Crystal project icons"])),(t()(),i.rb(39,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i.rb(40,0,null,null,1,"a",[["href","https://github.com/NitruxSA/flattr-icons"],["target","_blank"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Flattr Icons"])),(t()(),i.rb(42,0,null,null,5,"p",[],null,null,null,null,null)),(t()(),i.rb(43,0,null,null,4,"small",[],null,null,null,null,null)),(t()(),i.Kb(-1,null,["* "])),(t()(),i.rb(45,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(46,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["If you find that we missed any component, please let us know"]))],(function(t,e){t(e,8,0),t(e,15,0),t(e,46,0)}),(function(t,e){var n=e.component;t(e,2,0,n.api.config.version,n.api.config.version_stamp)}))}function or(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-about",[],null,null,null,sr,rr)),i.qb(1,114688,null,0,ir,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var lr=i.nb("uds-about",ir,or,{},{},[]);class ar{constructor(t){this.api=t}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}var ur=i.pb({encapsulation:0,styles:[[""]],data:{}});function cr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,31,"div",[],null,null,null,null,null)),(t()(),i.rb(1,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),i.rb(2,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(3,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Service launcher"])),(t()(),i.rb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i.rb(6,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(8,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["The service you have requested is being launched."])),(t()(),i.rb(10,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),i.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(12,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Please, note that reloading this page will not work."])),(t()(),i.rb(14,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),i.rb(15,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(16,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["To relaunch service, you will have to do it from origin."])),(t()(),i.rb(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),i.rb(19,0,null,null,3,"h6",[],null,null,null,null,null)),(t()(),i.rb(20,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(21,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["If the service does not launchs automatically, probably you dont have the UDS plugin installed"])),(t()(),i.rb(23,0,null,null,8,"h6",[],null,null,null,null,null)),(t()(),i.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(25,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["You can obtain it from the"])),(t()(),i.rb(27,0,null,null,4,"a",[["routerLink","/client-download"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,28).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r}),null,null)),i.qb(28,671744,null,0,l.m,[l.k,l.a,et.h],{routerLink:[0,"routerLink"]},null),(t()(),i.rb(29,0,null,null,2,"uds-translate",[],null,null,null,null,null)),i.qb(30,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["UDS Plugin download page"]))],(function(t,e){t(e,3,0),t(e,8,0),t(e,12,0),t(e,16,0),t(e,21,0),t(e,25,0),t(e,28,0,"/client-download"),t(e,30,0)}),(function(t,e){t(e,27,0,i.Db(e,28).target,i.Db(e,28).href)}))}function hr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-launcher",[],null,null,null,cr,ur)),i.qb(1,114688,null,0,ar,[$t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var dr=i.nb("uds-launcher",ar,hr,{},{},[]),pr=i.pb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function mr(t){return i.Mb(2,[(t()(),i.rb(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var i=!0,r=t.component;return"@state.start"===e&&(i=!1!==r._animationStart()&&i),"@state.done"===e&&(i=!1!==r._animationDone(n)&&i),i}),null,null)),i.Hb(512,null,et.v,et.w,[i.q,i.r,i.k,i.C]),i.qb(2,278528,null,0,et.i,[et.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Eb(131072,et.b,[i.h]),(t()(),i.Kb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,r=e.component;t(e,0,0,null==(n=i.Lb(e,0,0,i.Db(e,3).transform(r._isHandset)))?null:n.matches,r._visibility),t(e,4,0,r.message)}))}function fr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var r=!0;return"body:click"===e&&(r=!1!==i.Db(t,1)._handleBodyInteraction()&&r),r}),mr,pr)),i.qb(1,180224,null,0,qt,[i.h,Pt],null,null)],null,(function(t,e){t(e,0,0,"visible"===i.Db(e,1)._visibility?1:null)}))}var gr=i.nb("mat-tooltip-component",qt,fr,{},{},[]),br=n("s6ns"),_r=i.pb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function yr(t){return i.Mb(0,[(t()(),i.gb(0,null,null,0))],null,null)}function vr(t){return i.Mb(0,[i.Ib(402653184,1,{_portalOutlet:0}),(t()(),i.gb(16777216,null,null,1,null,yr)),i.qb(2,212992,[[1,4]],0,p.b,[i.j,i.N],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function wr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var r=!0;return"component:@dialogContainer.start"===e&&(r=!1!==i.Db(t,1)._onAnimationStart(n)&&r),"component:@dialogContainer.done"===e&&(r=!1!==i.Db(t,1)._onAnimationDone(n)&&r),r}),vr,_r)),i.qb(1,49152,null,0,br.i,[i.k,y.f,i.h,[2,et.d],br.h],null,null)],null,(function(t,e){t(e,0,0,i.Db(e,1)._id,i.Db(e,1)._config.role,i.Db(e,1)._config.ariaLabel?null:i.Db(e,1)._ariaLabelledBy,i.Db(e,1)._config.ariaLabel,i.Db(e,1)._config.ariaDescribedBy||null,i.Db(e,1)._state)}))}var Cr=i.nb("mat-dialog-container",br.i,wr,{},{},[]),xr=n("YY/e"),Sr=i.pb({encapsulation:0,styles:[[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]],data:{}});function Er(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.close()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Close"])),(t()(),i.Kb(6,0,["",""]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type),t(e,6,0,n.extra)}))}function kr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.yes()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Yes"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type)}))}function Or(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,2).dialogRef.close(i.Db(t,2).dialogResult)&&r),"click"===e&&(r=!1!==s.no()&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,606208,null,0,br.g,[[2,br.l],i.k,br.e],{dialogResult:[0,"dialogResult"]},null),(t()(),i.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(4,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["No"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).ariaLabel||null,i.Db(e,2).type)}))}function Dr(t){return i.Mb(0,[i.Eb(0,$i,[tt.b]),(t()(),i.rb(1,0,null,null,2,"h4",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"innerHTML",1],[8,"id",0]],null,null,null,null)),i.qb(2,81920,null,0,br.m,[[2,br.l],i.k,br.e],null,null),i.Gb(3,1),(t()(),i.rb(4,0,null,null,2,"mat-dialog-content",[["class","mat-dialog-content"]],[[8,"innerHTML",1]],null,null,null,null)),i.qb(5,16384,null,0,br.j,[],null,null),i.Gb(6,1),(t()(),i.rb(7,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),i.qb(8,16384,null,0,br.f,[],null,null),(t()(),i.gb(16777216,null,null,1,null,Er)),i.qb(10,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,kr)),i.qb(12,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,null,1,null,Or)),i.qb(14,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0),t(e,10,0,0==n.data.type),t(e,12,0,1==n.data.type),t(e,14,0,1==n.data.type)}),(function(t,e){var n=e.component,r=i.Lb(e,1,0,t(e,3,0,i.Db(e,0),n.data.title));t(e,1,0,r,i.Db(e,2).id);var s=i.Lb(e,4,0,t(e,6,0,i.Db(e,0),n.data.body));t(e,4,0,s)}))}function Ir(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-modal",[],null,null,null,Dr,Sr)),i.qb(1,114688,null,0,xr.b,[br.l,br.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Tr=i.nb("uds-modal",xr.b,Ir,{},{},[]);class Ar{constructor(t){this._elementRef=t}}const Rr=Object(v.z)(Ar);class Pr extends Rr{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Object(i.V)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}class jr{}var Mr=i.pb({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function Nr(t){return i.Mb(2,[i.Cb(null,0),i.Cb(null,1)],null,null)}class Lr{constructor(t){this.api=t,this.style="";const e=t.config.language;this.langs=[];for(const n of t.config.available_languages)n.id===e?this.lang=n:this.langs.push(n)}ngOnInit(){}changeLang(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}var Fr=i.pb({encapsulation:0,styles:[[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]],data:{}});function Vr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.changeLang(t.context.$implicit)&&r),r}),at,lt)),i.qb(1,180224,[[1,4],[2,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.Kb(2,0,["",""]))],null,(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)}))}function Br(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.admin()&&r),r}),at,lt)),i.qb(1,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["dashboard"])),(t()(),i.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(5,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Dashboard"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null)}))}function zr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/downloads"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,2)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,2)._handleMouseEnter()&&r),r}),at,lt)),i.qb(1,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(2,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["file_download"])),(t()(),i.rb(5,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(6,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Downloads"]))],(function(t,e){t(e,1,0,"/downloads"),t(e,6,0)}),(function(t,e){t(e,0,0,i.Db(e,2).role,i.Db(e,2)._highlighted,i.Db(e,2)._triggersSubmenu,i.Db(e,2)._getTabIndex(),i.Db(e,2).disabled.toString(),i.Db(e,2).disabled||null)}))}function Hr(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),at,lt)),i.qb(1,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(3,0,["",""])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).role,i.Db(e,1)._highlighted,i.Db(e,1)._triggersSubmenu,i.Db(e,1)._getTabIndex(),i.Db(e,1).disabled.toString(),i.Db(e,1).disabled||null,i.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function qr(t){return i.Mb(0,[(t()(),i.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,2)._handleClick(n)&&r),r}),_t,bt)),i.qb(1,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(2,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(3,0,[""," "])),(t()(),i.rb(4,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.gb(0,null,null,0))],(function(t,e){t(e,2,0,i.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,i.Db(e,1).disabled||null,"NoopAnimations"===i.Db(e,1)._animationMode,i.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function Ur(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,2,"form",[["id","form_language"],["method","post"]],[[8,"action",4]],null,null,null,null)),(t()(),i.rb(1,0,null,null,0,"input",[["type","hidden"]],[[8,"name",0],[8,"value",0]],null,null,null,null)),(t()(),i.rb(2,0,null,null,0,"input",[["id","id_language"],["name","language"],["type","hidden"]],[[8,"value",0]],null,null,null,null)),(t()(),i.rb(3,0,null,null,8,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(6,1294336,[["appMenu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,1,{_allItems:1}),i.Ib(603979776,2,{items:1}),i.Ib(603979776,3,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Vr)),i.qb(11,278528,null,0,et.j,[i.N,i.K,i.q],{ngForOf:[0,"ngForOf"]},null),(t()(),i.rb(12,0,null,null,17,"mat-menu",[],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(15,1294336,[["userMenu",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,4,{_allItems:1}),i.Ib(603979776,5,{items:1}),i.Ib(603979776,6,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Br)),i.qb(20,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.gb(16777216,null,0,1,null,zr)),i.qb(22,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(23,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0,s=t.component;return"click"===e&&(r=!1!==i.Db(t,24)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,24)._handleMouseEnter()&&r),"click"===e&&(r=!1!==s.logout()&&r),r}),at,lt)),i.qb(24,180224,[[4,4],[5,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(25,0,null,0,1,"i",[["class","material-icons highlight"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["exit_to_app"])),(t()(),i.rb(27,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(28,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["Logout"])),(t()(),i.rb(30,0,null,null,24,"mat-menu",[["x-position","before"]],null,null,null,ot,rt)),i.Hb(6144,null,U,null,[$]),i.Hb(6144,null,L,null,[U]),i.qb(33,1294336,[["shrink",4]],3,$,[i.k,i.x,z],null,null),i.Ib(603979776,7,{_allItems:1}),i.Ib(603979776,8,{items:1}),i.Ib(603979776,9,{lazyContent:0}),(t()(),i.gb(16777216,null,0,1,null,Hr)),i.qb(38,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(39,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,40)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,40)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==i.Db(t,41)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,41)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,41)._handleClick(n)&&r),r}),at,lt)),i.qb(40,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),i.qb(41,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[6,B],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(42,0,[""," "])),(t()(),i.rb(43,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.rb(45,0,null,0,3,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/client-download"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,46).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,47)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,47)._handleMouseEnter()&&r),r}),at,lt)),i.qb(46,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(47,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.Kb(-1,0,["UDS Client"])),(t()(),i.rb(49,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/about"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,50).onClick()&&r),"click"===e&&(r=!1!==i.Db(t,51)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.Db(t,51)._handleMouseEnter()&&r),r}),at,lt)),i.qb(50,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(51,180224,[[7,4],[8,4]],0,B,[i.k,et.d,y.e,[2,L]],null,null),(t()(),i.rb(52,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(53,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["About"])),(t()(),i.rb(55,0,null,null,37,"mat-toolbar",[["class","uds-nav mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Nr,Mr)),i.qb(56,4243456,null,1,Pr,[i.k,N.a,et.d],{color:[0,"color"]},null),i.Ib(603979776,10,{_toolbarRows:1}),(t()(),i.rb(58,0,null,0,4,"button",[["mat-button",""],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,59).onClick()&&r),r}),_t,bt)),i.qb(59,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(60,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(61,0,null,0,0,"img",[["alt","Universal Desktop Services"],["class","udsicon"]],[[8,"src",4]],null,null,null,null)),(t()(),i.Kb(-1,0,[" UDS "])),(t()(),i.rb(63,0,null,0,0,"span",[["class","fill-remaining-space"]],null,null,null,null,null)),(t()(),i.rb(64,0,null,0,22,"div",[["class","expanded"]],null,null,null,null,null)),(t()(),i.rb(65,0,null,null,5,"button",[["mat-button",""],["routerLink","/client-download"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,66).onClick()&&r),r}),_t,bt)),i.qb(66,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(67,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(68,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["file_download"])),(t()(),i.Kb(-1,0,["UDS Client"])),(t()(),i.rb(71,0,null,null,7,"button",[["mat-button",""],["routerLink","/about"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.Db(t,72).onClick()&&r),r}),_t,bt)),i.qb(72,16384,null,0,l.l,[l.k,l.a,[8,null],i.C,i.k],{routerLink:[0,"routerLink"]},null),i.qb(73,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),(t()(),i.rb(74,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["info"])),(t()(),i.rb(76,0,null,0,2,"uds-translate",[],null,null,null,null,null)),i.qb(77,81920,null,0,ut,[i.k],null,null),(t()(),i.Kb(-1,null,["About"])),(t()(),i.rb(79,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,81)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,81)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,81)._handleClick(n)&&r),r}),_t,bt)),i.qb(80,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(81,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.Kb(82,0,[""," "])),(t()(),i.rb(83,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["arrow_drop_down"])),(t()(),i.gb(16777216,null,null,1,null,qr)),i.qb(86,16384,null,0,et.k,[i.N,i.K],{ngIf:[0,"ngIf"]},null),(t()(),i.rb(87,0,null,0,5,"div",[["class","shrinked"]],null,null,null,null,null)),(t()(),i.rb(88,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==i.Db(t,90)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==i.Db(t,90)._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.Db(t,90)._handleClick(n)&&r),r}),_t,bt)),i.qb(89,180224,null,0,mt,[i.k,y.e,[2,it.a]],null,null),i.qb(90,1196032,null,0,Q,[M.c,i.k,i.N,K,[2,U],[8,null],[2,J.b],y.e],{menu:[0,"menu"]},null),(t()(),i.rb(91,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["menu"]))],(function(t,e){var n=e.component;t(e,6,0),t(e,11,0,n.langs),t(e,15,0),t(e,20,0,n.api.user.isStaff),t(e,22,0,n.api.user.isStaff),t(e,28,0),t(e,33,0),t(e,38,0,n.api.user.isLogged),t(e,41,0,i.Db(e,6)),t(e,46,0,"/client-download"),t(e,50,0,"/about"),t(e,53,0),t(e,56,0,"primary"),t(e,59,0,"/"),t(e,66,0,"/client-download"),t(e,72,0,"/about"),t(e,77,0),t(e,81,0,i.Db(e,6)),t(e,86,0,n.api.user.isLogged),t(e,90,0,i.Db(e,33))}),(function(t,e){var n=e.component;t(e,0,0,i.vb(1,"",n.api.config.urls.changeLang,"")),t(e,1,0,i.vb(1,"",n.api.config.csrf_field,""),i.vb(1,"",n.api.config.csrf,"")),t(e,2,0,i.vb(1,"",n.lang.id,"")),t(e,23,0,i.Db(e,24).role,i.Db(e,24)._highlighted,i.Db(e,24)._triggersSubmenu,i.Db(e,24)._getTabIndex(),i.Db(e,24).disabled.toString(),i.Db(e,24).disabled||null),t(e,39,0,i.Db(e,40).role,i.Db(e,40)._highlighted,i.Db(e,40)._triggersSubmenu,i.Db(e,40)._getTabIndex(),i.Db(e,40).disabled.toString(),i.Db(e,40).disabled||null,i.Db(e,41).menuOpen||null),t(e,42,0,n.lang.name),t(e,45,0,i.Db(e,47).role,i.Db(e,47)._highlighted,i.Db(e,47)._triggersSubmenu,i.Db(e,47)._getTabIndex(),i.Db(e,47).disabled.toString(),i.Db(e,47).disabled||null),t(e,49,0,i.Db(e,51).role,i.Db(e,51)._highlighted,i.Db(e,51)._triggersSubmenu,i.Db(e,51)._getTabIndex(),i.Db(e,51).disabled.toString(),i.Db(e,51).disabled||null),t(e,55,0,i.Db(e,56)._toolbarRows.length>0,0===i.Db(e,56)._toolbarRows.length),t(e,58,0,i.Db(e,60).disabled||null,"NoopAnimations"===i.Db(e,60)._animationMode),t(e,61,0,n.api.staticURL("modern/img/udsicon.png")),t(e,65,0,i.Db(e,67).disabled||null,"NoopAnimations"===i.Db(e,67)._animationMode),t(e,71,0,i.Db(e,73).disabled||null,"NoopAnimations"===i.Db(e,73)._animationMode),t(e,79,0,i.Db(e,80).disabled||null,"NoopAnimations"===i.Db(e,80)._animationMode,i.Db(e,81).menuOpen||null),t(e,82,0,n.lang.name),t(e,88,0,i.Db(e,89).disabled||null,"NoopAnimations"===i.Db(e,89)._animationMode,i.Db(e,90).menuOpen||null)}))}class $r{constructor(){}ngOnInit(){}}var Kr=i.pb({encapsulation:0,styles:[[""]],data:{}});function Wr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),i.Kb(-1,null,["\xa9 2012-2018 "])),(t()(),i.rb(2,0,null,null,1,"a",[["href","https://www.udsenterprise.com"]],null,null,null,null,null)),(t()(),i.Kb(-1,null,["Virtual Cable S.L.U."]))],null,null)}var Gr=i.pb({encapsulation:0,styles:[[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:4rem auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]],data:{}});function Yr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-navbar",[],null,null,null,Ur,Fr)),i.qb(1,114688,null,0,Lr,[$t.a],null,null),(t()(),i.rb(2,0,null,null,6,"div",[["class","page"]],null,null,null,null,null)),(t()(),i.rb(3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(t()(),i.rb(4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i.qb(5,212992,null,0,l.o,[l.b,i.N,i.j,[8,null],i.h],null,null),(t()(),i.rb(6,0,null,null,2,"div",[["class","footer"]],null,null,null,null,null)),(t()(),i.rb(7,0,null,null,1,"uds-footer",[],null,null,null,Wr,Kr)),i.qb(8,114688,null,0,$r,[],null,null)],(function(t,e){t(e,1,0),t(e,5,0),t(e,8,0)}),null)}function Qr(t){return i.Mb(0,[(t()(),i.rb(0,0,null,null,1,"uds-root",[],null,null,null,Yr,Gr)),i.qb(1,114688,null,0,o,[],null,null)],(function(t,e){t(e,1,0)}),null)}var Zr=i.nb("uds-root",o,Qr,{},{},[]),Xr=n("fDlF"),Jr=n("IheW"),ts=n("OPAf");let es=(()=>{class t{constructor(t){this.api=t}canActivate(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return t.ngInjectableDef=i.Qb({factory:function(){return new t(i.Rb($t.a))},token:t,providedIn:"root"}),t})();class ns{}class is{}class rs{}const ss={float:"always"};class os{}var ls=i.ob(s,[o],(function(t){return i.Ab([i.Bb(512,i.j,i.Z,[[8,[h,Le,Fi,Ui,Zi,nr,lr,dr,gr,Cr,Tr,Zr]],[3,i.j],i.v]),i.Bb(5120,i.s,i.lb,[[3,i.s]]),i.Bb(4608,et.m,et.l,[i.s,[2,et.y]]),i.Bb(5120,i.hb,i.mb,[i.x]),i.Bb(5120,i.c,i.ib,[]),i.Bb(5120,i.q,i.jb,[]),i.Bb(5120,i.r,i.kb,[]),i.Bb(4608,tt.b,tt.k,[et.d]),i.Bb(6144,i.F,null,[tt.b]),i.Bb(4608,tt.e,v.c,[[2,v.g],[2,v.l]]),i.Bb(5120,tt.c,(function(t,e,n,i,r,s,o,l){return[new tt.i(t,e,n),new tt.n(i),new tt.m(r,s,o,l)]}),[et.d,i.x,i.z,et.d,et.d,tt.e,i.ab,[2,tt.f]]),i.Bb(4608,tt.d,tt.d,[tt.c,i.x]),i.Bb(135680,tt.l,tt.l,[et.d]),i.Bb(4608,tt.j,tt.j,[tt.d,tt.l,i.c]),i.Bb(5120,Xr.a,it.e,[]),i.Bb(5120,Xr.c,it.f,[]),i.Bb(4608,Xr.b,it.d,[et.d,Xr.a,Xr.c]),i.Bb(5120,i.D,it.g,[tt.j,Xr.b,i.x]),i.Bb(6144,tt.o,null,[tt.l]),i.Bb(4608,i.L,i.L,[i.x]),i.Bb(4608,Jr.h,Jr.n,[et.d,i.z,Jr.l]),i.Bb(4608,Jr.o,Jr.o,[Jr.h,Jr.m]),i.Bb(5120,Jr.a,(function(t){return[t]}),[Jr.o]),i.Bb(4608,Jr.k,Jr.k,[]),i.Bb(6144,Jr.i,null,[Jr.k]),i.Bb(4608,Jr.g,Jr.g,[Jr.i]),i.Bb(6144,Jr.b,null,[Jr.g]),i.Bb(4608,Jr.f,Jr.j,[Jr.b,i.p]),i.Bb(4608,Jr.c,Jr.c,[Jr.f]),i.Bb(5120,l.a,l.y,[l.k]),i.Bb(4608,l.d,l.d,[]),i.Bb(6144,l.f,null,[l.d]),i.Bb(135680,l.p,l.p,[l.k,i.u,i.i,i.p,l.f]),i.Bb(4608,l.e,l.e,[]),i.Bb(5120,l.D,l.u,[l.k,et.s,l.g]),i.Bb(5120,l.h,l.B,[l.z]),i.Bb(5120,i.b,(function(t){return[t]}),[l.h]),i.Bb(4608,d.b,it.c,[i.D,et.d]),i.Bb(4608,M.c,M.c,[M.i,M.e,i.j,M.h,M.f,i.p,i.x,et.d,J.b,[2,et.g]]),i.Bb(5120,M.j,M.k,[M.c]),i.Bb(5120,K,W,[M.c]),i.Bb(4608,en.c,en.c,[]),i.Bb(5120,Vt,Bt,[M.c]),i.Bb(5120,br.c,br.d,[M.c]),i.Bb(135680,br.e,br.e,[M.c,i.p,[2,et.g],[2,br.b],br.c,[3,br.e],M.e]),i.Bb(4608,v.b,v.b,[]),i.Bb(5120,Sn,En,[M.c]),i.Bb(4608,ts.a,ts.a,[br.e]),i.Bb(4608,$t.a,$t.a,[Jr.c,ts.a,l.k]),i.Bb(1073742336,et.c,et.c,[]),i.Bb(1024,i.l,tt.p,[]),i.Bb(1024,i.w,(function(){return[l.t()]}),[]),i.Bb(512,l.z,l.z,[i.p]),i.Bb(1024,i.d,(function(t,e){return[tt.q(t),l.A(e)]}),[[2,i.w],l.z]),i.Bb(512,i.e,i.e,[[2,i.d]]),i.Bb(131584,i.g,i.g,[i.x,i.ab,i.p,i.l,i.j,i.e]),i.Bb(1073742336,i.f,i.f,[i.g]),i.Bb(1073742336,tt.a,tt.a,[[3,tt.a]]),i.Bb(1073742336,Dt,Dt,[]),i.Bb(1073742336,Jr.e,Jr.e,[]),i.Bb(1073742336,Jr.d,Jr.d,[]),i.Bb(1024,l.s,l.w,[[3,l.k]]),i.Bb(512,l.r,l.c,[]),i.Bb(512,l.b,l.b,[]),i.Bb(256,l.g,{},[]),i.Bb(1024,et.h,l.v,[et.r,[2,et.a],l.g]),i.Bb(512,et.g,et.g,[et.h,et.r]),i.Bb(512,i.i,i.i,[]),i.Bb(512,i.u,i.I,[i.i,[2,i.J]]),i.Bb(1024,l.i,(function(){return[[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Re,canActivate:[es]},{path:"login",component:Ri.a},{path:"login/:id",component:Ri.a},{path:"client-download",component:Vi},{path:"downloads",component:Ki,canActivate:[es]},{path:"error/:id",component:Xi},{path:"about",component:ir},{path:"ticket/launcher",component:ar},{path:"**",redirectTo:"services"}]]}),[]),i.Bb(1024,l.k,l.x,[i.g,l.r,l.b,et.g,i.p,i.u,i.i,l.i,l.g,[2,l.q],[2,l.j]]),i.Bb(1073742336,l.n,l.n,[[2,l.s],[2,l.k]]),i.Bb(1073742336,ns,ns,[]),i.Bb(1073742336,it.b,it.b,[]),i.Bb(1073742336,J.a,J.a,[]),i.Bb(1073742336,v.l,v.l,[[2,v.d],[2,tt.f]]),i.Bb(1073742336,jr,jr,[]),i.Bb(1073742336,N.b,N.b,[]),i.Bb(1073742336,v.u,v.u,[]),i.Bb(1073742336,gt,gt,[]),i.Bb(1073742336,p.f,p.f,[]),i.Bb(1073742336,nt.b,nt.b,[]),i.Bb(1073742336,M.g,M.g,[]),i.Bb(1073742336,Z,Z,[]),i.Bb(1073742336,X,X,[]),i.Bb(1073742336,en.d,en.d,[]),i.Bb(1073742336,y.a,y.a,[]),i.Bb(1073742336,Ut,Ut,[]),i.Bb(1073742336,le,le,[]),i.Bb(1073742336,_e,_e,[]),i.Bb(1073742336,br.k,br.k,[]),i.Bb(1073742336,tn,tn,[]),i.Bb(1073742336,Ei,Ei,[]),i.Bb(1073742336,Ai,Ai,[]),i.Bb(1073742336,v.s,v.s,[]),i.Bb(1073742336,v.q,v.q,[]),i.Bb(1073742336,Tn,Tn,[]),i.Bb(1073742336,is,is,[]),i.Bb(1073742336,rs,rs,[]),i.Bb(1073742336,os,os,[]),i.Bb(1073742336,s,s,[]),i.Bb(256,i.Y,!0,[]),i.Bb(256,Jr.l,"XSRF-TOKEN",[]),i.Bb(256,Jr.m,"X-XSRF-TOKEN",[]),i.Bb(256,it.a,"BrowserAnimations",[]),i.Bb(256,v.h,ss,[])])}));r.a.production&&Object(i.R)(),tt.h().bootstrapModuleFactory(ls).catch(t=>console.log(t))}},[[0,0]]]);
\ No newline at end of file
diff --git a/server/src/uds/static/modern/main-es5.js b/server/src/uds/static/modern/main-es5.js
index f8a583e0..461fb9bb 100644
--- a/server/src/uds/static/modern/main-es5.js
+++ b/server/src/uds/static/modern/main-es5.js
@@ -1 +1 @@
-var __extends=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return f}));var r,i=n("8Y7J"),o=n("SVse");try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){r=!1}var a,s,l=function(){var t=function(t){this._platformId=t,this.isBrowser=this._platformId?Object(o.t)(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&&!r)&&"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(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.z,8))},token:t,providedIn:"root"}),t}(),u=function(){},c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function h(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(c);var t=document.createElement("input");return a=new Set(c.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function p(t){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?t:!!t.capture}var d,f=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();function m(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function g(){if("object"!=typeof document||!document)return f.NORMAL;if(!d){var 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";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),d=f.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?f.NEGATED:f.INVERTED),t.parentNode.removeChild(t)}return d}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return __extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(r.a)},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("l7GE"),i=n("ZUHj");function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new s(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),s=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).seenValue=!1,n}return __extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(r.a)},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.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=function(t){function e(e,n){return t.call(this)||this}return __extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("quSY").a);n.d(e,"a",(function(){return i}));var i=function(t){function e(e,n){var r=this;return(r=t.call(this,e,n)||this).scheduler=e,r.work=n,r.pending=!1,r}return __extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var 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},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var 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},e}(r)},"3UWI":function(t,e,n){"use strict";var r=n("D0XW"),i=n("l7GE"),o=n("ZUHj"),a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector))},t}(),s=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).durationSelector=n,r.hasValue=!1,r}return __extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(r){return this.destination.error(r)}var n=Object(o.a)(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.a),l=n("HDdC"),u=n("Y7HM"),c=n("z+Ro");function h(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function p(t,e){return void 0===e&&(e=r.a),n=function(){return function(t,e,n){void 0===t&&(t=0);var i=-1;return Object(u.a)(e)?i=Number(e)<1?1:Number(e):Object(c.a)(e)&&(n=e),Object(c.a)(n)||(n=r.a),new l.a((function(e){var r=Object(u.a)(t)?t:+t-n.now();return n.schedule(h,r,{index:0,period:i,subscriber:e})}))}(t,e)},function(t){return t.lift(new a(n))};var n}n.d(e,"a",(function(){return p}))},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("ZUHj"),i=n("l7GE"),o=n("51Dv"),a=n("lJxs"),s=n("Cfvw");function l(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(l((function(n,r){return Object(s.a)(t(n,r)).pipe(Object(a.a)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new u(t,n))})}var u=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=this;return(i=t.call(this,e)||this).project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return __extends(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return __extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("7o/Q").a)},"5GAg":function(t,e,n){"use strict";n.d(e,"c",(function(){return _})),n.d(e,"b",(function(){return C})),n.d(e,"d",(function(){return x})),n.d(e,"f",(function(){return D})),n.d(e,"g",(function(){return P})),n.d(e,"e",(function(){return R})),n.d(e,"h",(function(){return M})),n.d(e,"a",(function(){return N}));var r=n("SVse"),i=n("8Y7J"),o=n("XNiG"),a=n("quSY"),s=n("LRne"),l=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),h=n("pLZG"),p=n("lJxs"),d=n("IzEk"),f=n("/HVE"),m=n("KCVW");function g(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var b=0,y=new Map,v=null,_=function(){var t=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=y.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}}))}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some((function(t){return"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(u.a)((function(t){return e._pressedLetters.push(t)})),Object(c.a)(t),Object(h.a)((function(){return e._pressedLetters.length>0})),Object(p.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),r=1;r-1}));switch(n){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&r){this.setNextItemActive();break}return;case l.l:if(this._vertical&&r){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Object(l.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=l.a&&n<=l.m||n>=l.n&&n<=l.h)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),r=e[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof i.B?this._items.toArray():this._items},t}(),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(w),x=function(t){function e(){var e=this;return(e=t.apply(this,arguments)||this)._origin="program",e}return __extends(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(w),O=function(){var t=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===E(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),o=E(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||S(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t}();return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(f.a))},token:t,providedIn:"root"}),t}();function S(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function E(t){if(!S(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var k=function(){function t(t,e,n,r,i){var o=this;void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe(t)},t}(),D=function(){var t=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new k(t,this._checker,this._ngZone,this._document,e)},t}();return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(O),Object(i.Rb)(i.x),Object(i.Rb)(r.d))},token:t,providedIn:"root"}),t}(),I=new i.o("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),T=new i.o("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),P=function(){var t=function(){function t(t,e,n,r){this._ngZone=e,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e=this,n=[],r=1;r0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(a(n),e.scheduled=void 0)},e}(n("3N8a").a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(s.a),p=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return __extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new i.a).add(this.source.subscribe(new f(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t},e.prototype.refCount=function(){return l()(this)},e}(o.a),d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(u=p.prototype)._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},f=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).connectable=n,r}return __extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(r.b);function m(){return new r.a}n.d(e,"jb",(function(){return Wa})),n.d(e,"kb",(function(){return Ga})),n.d(e,"lb",(function(){return Ya})),n.d(e,"mb",(function(){return Qa})),n.d(e,"ib",(function(){return Uo})),n.d(e,"hb",(function(){return Do})),n.d(e,"g",(function(){return Aa})),n.d(e,"Q",(function(){return ka})),n.d(e,"w",(function(){return Ea})),n.d(e,"R",(function(){return we})),n.d(e,"V",(function(){return _e})),n.d(e,"c",(function(){return Ho})),n.d(e,"A",(function(){return Ko})),n.d(e,"z",(function(){return Wo})),n.d(e,"b",(function(){return Go})),n.d(e,"d",(function(){return Bo})),n.d(e,"e",(function(){return zo})),n.d(e,"T",(function(){return Ua})),n.d(e,"L",(function(){return _a})),n.d(e,"X",(function(){return Ca})),n.d(e,"s",(function(){return Qo})),n.d(e,"f",(function(){return Za})),n.d(e,"m",(function(){return Lo})),n.d(e,"l",(function(){return be})),n.d(e,"F",(function(){return Ke})),n.d(e,"G",(function(){return qe})),n.d(e,"a",(function(){return Tn})),n.d(e,"O",(function(){return nt})),n.d(e,"M",(function(){return mr})),n.d(e,"Qb",(function(){return O})),n.d(e,"S",(function(){return I})),n.d(e,"p",(function(){return Cn})),n.d(e,"Rb",(function(){return G})),n.d(e,"U",(function(){return Y})),n.d(e,"o",(function(){return L})),n.d(e,"n",(function(){return y})),n.d(e,"y",(function(){return v})),n.d(e,"H",(function(){return w})),n.d(e,"x",(function(){return da})),n.d(e,"C",(function(){return dr})),n.d(e,"D",(function(){return hr})),n.d(e,"E",(function(){return pr})),n.d(e,"i",(function(){return ia})),n.d(e,"j",(function(){return ir})),n.d(e,"k",(function(){return lr})),n.d(e,"t",(function(){return J})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return Ra})),n.d(e,"B",(function(){return Vo})),n.d(e,"I",(function(){return La})),n.d(e,"J",(function(){return Ma})),n.d(e,"K",(function(){return Ar})),n.d(e,"N",(function(){return Rr})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return kr})),n.d(e,"r",(function(){return Dr})),n.d(e,"P",(function(){return Nn})),n.d(e,"W",(function(){return Ka})),n.d(e,"wb",(function(){return Ln})),n.d(e,"ab",(function(){return Yo})),n.d(e,"Y",(function(){return _n})),n.d(e,"Z",(function(){return or})),n.d(e,"db",(function(){return He})),n.d(e,"eb",(function(){return Ye})),n.d(e,"fb",(function(){return Se})),n.d(e,"ub",(function(){return N})),n.d(e,"zb",(function(){return Rn})),n.d(e,"Jb",(function(){return k})),n.d(e,"xb",(function(){return Xn})),n.d(e,"yb",(function(){return Zn})),n.d(e,"tb",(function(){return jo})),n.d(e,"sb",(function(){return Ro})),n.d(e,"bb",(function(){return Io})),n.d(e,"cb",(function(){return To})),n.d(e,"Pb",(function(){return pt})),n.d(e,"Nb",(function(){return Pn})),n.d(e,"Tb",(function(){return Vn})),n.d(e,"Sb",(function(){return Bn})),n.d(e,"Ob",(function(){return zn})),n.d(e,"Ub",(function(){return qn})),n.d(e,"gb",(function(){return Xa})),n.d(e,"nb",(function(){return Bi})),n.d(e,"ob",(function(){return wl})),n.d(e,"pb",(function(){return $r})),n.d(e,"qb",(function(){return co})),n.d(e,"rb",(function(){return Ja})),n.d(e,"vb",(function(){return Ei})),n.d(e,"Ab",(function(){return ji})),n.d(e,"Bb",(function(){return Ai})),n.d(e,"Cb",(function(){return ls})),n.d(e,"Db",(function(){return Xi})),n.d(e,"Eb",(function(){return ho})),n.d(e,"Hb",(function(){return po})),n.d(e,"Fb",(function(){return hs})),n.d(e,"Gb",(function(){return cs})),n.d(e,"Ib",(function(){return rs})),n.d(e,"Kb",(function(){return ds})),n.d(e,"Lb",(function(){return Zr})),n.d(e,"Mb",(function(){return gs}));var g="__parameters__";function b(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):k(s)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+t.replace(B,"\n ")}var X=function(){},J=function(){};function $(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function tt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var et=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),nt=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}(),rt={},it=[],ot=x({ngComponentDef:x}),at=x({ngDirectiveDef:x}),st=x({ngPipeDef:x}),lt=0;function ut(t){return function(t){return t[ot]||null}(t)||function(t){return t[at]||null}(t)}function ct(t){return function(t){return t[st]||null}(t)}function ht(t,e){if(null==t)return rt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var pt=function(t){var e=t.type,n=e.prototype,r={},i={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===et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||nt.Emulated,id:"c",styles:t.styles||it,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=""+{toString:function(){var n=t.directives,o=t.features,a=t.pipes;i.id+=lt++,i.inputs=ht(t.inputs,r),i.outputs=ht(t.outputs),o&&o.forEach((function(t){return t(i)})),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(ut)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(ct)}:null,e.hasOwnProperty(E)||(e[E]=O({token:e,factory:t.factory}))}},i},dt=0,ft=1,mt=7,gt=12,bt=19,yt=null,vt=new Map,_t=null,wt=1,Ct=0;function xt(t,e){return _t&&t===_t||(_t=t,e&&(yt=vt.get(t)||null),yt=yt||{classesBitMask:Ct,classesIndex:wt,stylesBitMask:Ct,stylesIndex:wt}),yt}function Ot(t,e){return function(t){for(;Array.isArray(t);)t=t[dt];return t}(e[t.index])}function St(t,e){return e[ft].data[t+bt]}var Et=null;function kt(){return It}var Dt,It,Tt,Pt=1,At=0,jt=0,Rt=-1;function Mt(){return Rt}function Nt(){return Tt}var Lt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N),Ft="--MAP--",Vt=0;function Bt(t,e){e===Vt?t[2]>Vt&&function(t){Ht(t,2|zt(t))}(t):t[2]=e}function zt(t){return t[1]}function Ht(t,e){t[1]=e}function Ut(t,e){return t[e+2]}function qt(t,e){return 1&t[e+0]}function Kt(t,e){return(1&qt(t,e))>0}function Wt(t,e){return t[e+0]>>1}function Gt(t,e,n){var r=qt(t,e);t[e+0]=r|n<<1}function Yt(t,e){return t[e+1]}function Qt(t,e,n){return t[e+3+n]}function Zt(t,e){return!(!t||e!==t[2])}function Xt(t){return(1&zt(t))>0}function Jt(t){return(2&zt(t))>0}function $t(t){return 6+t[4]}function te(t,e){var 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 ee(t){return null!=t&&""!==t}function ne(t,e,n){return void 0===n&&(n=" "),t+(e.length&&t.length?n:"")+e}function re(t){return t.replace(/[a-z][A-Z]/g,(function(t){return t.charAt(0)+"-"+t.charAt(1)})).toLowerCase()}function ie(t){return oe(t)?t[0]:t}function oe(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function ae(t,e){return t[e+0]}function se(t,e,n){t[e+1]=n}function le(t,e){return t[e+1]}var ue=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function ce(t){return!!t.listen}var he="ngDebugContext",pe="ngOriginalError",de="ngErrorLogger";function fe(t){return t[he]}function me(t){return t[pe]}function ge(t){for(var e=[],n=1;n ',!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}return t.prototype.getInertBodyElement_XHR=function(t){t="
"+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=" "+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var 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)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();je.hasOwnProperty(e)&&!Ie.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(ze(t))},t.prototype.checkClobberedElement=function(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},t}(),Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(Ve,(function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Be,(function(t){return""+t.charCodeAt(0)+";"})).replace(//g,">")}function He(t,e){var n=null;try{De=De||new Ce(t);var r=e?String(e):"";n=De.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=De.getInertBodyElement(r)}while(r!==o);var a=new Fe,s=a.sanitizeChildren(Ue(n)||n);return _e()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ue(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Ue(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var qe=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}(),Ke=function(){},We=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"),Ge=/^url\(([^)]+)\)$/;function Ye(t){if(!(t=String(t).trim()))return"";var e=t.match(Ge);return e&&Se(e[1])===e[1]||t.match(We)&&function(t){for(var e=!0,n=!0,r=0;rCt}(r,o))?(function(t,e,n,r,i,o,a){for(var s,l=!0===(s=i)?-1:!1===s?0:s,u=un,c=(l&Wt(t,3))>0?1:0,h=$t(t);h=gn.length&&gn.push(1),gn[h]);ml,y=!b&&g===l,v=le(f,m),_=ee(v),w=t(e,n,r,i,o,a,b?s:fn(s,_,y),b?l:g,u+1,c);if(b){p||(p=w);break}if(!w&&mn(s,y)){var C=y&&!_,x=C?c:v,O=C?d:null;o(n,r,g,a?a(g,x,3):x,O),w=!0}p=w&&y,m+=2}if(gn[u]=m,1===f.length||!l)return t(e,n,r,i,o,a,s,l,u+1,c)}return p}(t,e,n,r,i,o,a,s||null,0,l||null)),h&&function(){for(var t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}var gn=[];function bn(t,e,n,r){for(var i=1;i=2&&r[i-2]===e.hostBindings?r[i-1]=r[i-1]+n:r.push(e.hostBindings,n)}(n,Et,t),function(t,e,n){for(var r=0;r0&&(i=n?ne(t,((r=e)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):ne(t,function(t){var e="";if(t)for(var n=Object.keys(t),r=0;r0}function Zn(t){return!!t&&"function"==typeof t.then}function Xn(t){return!!t&&"function"==typeof t.subscribe}var Jn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),$n=function(){},tr=function(){};function er(t){var e=Error("No component factory found for "+k(t)+". Did you add it to @NgModule.entryComponents?");return e[nr]=t,e}var nr="ngComponent",rr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw er(t)},t}(),ir=function(){var t=function(){};return t.NULL=new rr,t}(),or=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r-1}(r,i.providedIn)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Di,t._providers[c]=Mi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{K(o)}}function Mi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Ri(t,n[0]));case 2:return new e(Ri(t,n[0]),Ri(t,n[1]));case 3:return new e(Ri(t,n[0]),Ri(t,n[1]),Ri(t,n[2]));default:for(var i=new Array(r),o=0;o=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,tt(n,e),Wr.dirtyParentQueries(r),Fi(r),r}function Li(t,e,n){var r=e?ui(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);yi(n,2,i,o,void 0)}function Fi(t){yi(t,3,null,null,void 0)}var Vi=new Object;function Bi(t,e,n,r,i,o){return new zi(t,e,n,r,i,o)}var zi=function(t){function e(e,n,r,i,o,a){var s=this;return(s=t.call(this)||this).selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return __extends(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=bi(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Wr.createRootView(t,e||[],n,i,r,Vi),s=Ur(a,o).instance;return n&&a.renderer.setAttribute(Hr(a,0).renderElement,"ng-version",gr.full),new Hi(a,new Wi(a),s)},e}(tr),Hi=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this)._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new lr(Hr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($n);function Ui(t,e,n){return new qi(t,e,n)}var qi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new lr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=li(t),t=t.parent;return t?new Zi(t,e):new Zi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ni(this._data,t);Wr.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Wi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof ar||(i=o.get(X));var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a,s=t;return n=this._view,r=this._data,i=e,o=s._view,a=r.viewContainer._embeddedViews,null==i&&(i=a.length),o.viewContainerParent=n,$(a,i,o),function(t,e){var n=si(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(r,o),Wr.dirtyParentQueries(o),Li(r,i>0?a[i-1]:null,o),s.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(t._view);return n=this._data,r=s,i=e,o=n.viewContainer._embeddedViews,a=o[r],tt(o,r),null==i&&(i=o.length),$(o,i,a),Wr.dirtyParentQueries(a),Fi(a),Li(n,i>0?o[i-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ni(this._data,t);e&&Wr.destroyView(e)},t.prototype.detach=function(t){var e=Ni(this._data,t);return e?new Wi(e):null},t}();function Ki(t){return new Wi(t)}var Wi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return yi(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ii(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Wr.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Wr.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wr.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Fi(this._view),Wr.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Gi(t,e){return new Yi(t,e)}var Yi=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._parentView=e,r._def=n,r}return __extends(e,t),e.prototype.createEmbeddedView=function(t){return new Wi(Wr.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new lr(Hr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ar);function Qi(t,e){return new Zi(t,e)}var Zi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Cn.THROW_IF_NOT_FOUND),Wr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Qr(t)},e)},t}();function Xi(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Hr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return zr(t,n.nodeIndex).renderText;if(20240&n.flags)return Ur(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ji(t){return new $i(t.renderer)}var $i=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Oi(e),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return _o(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Co(t,e,n,i[0]));case 2:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]));case 3:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]),Co(t,e,n,i[2]));default:for(var a=Array(o),s=0;s0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(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()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),wa=function(){function t(){this._applications=new Map,Oa.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Oa.findTestabilityInTree(this,t,e)},t}();function Ca(t){Oa=t}var xa,Oa=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Sa=new L("AllowMultipleToken"),Ea=function(t,e){this.name=t,this.token=e};function ka(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new L(r);return function(e){void 0===e&&(e=[]);var o=Da();if(!o||o.injector.get(Sa,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(xa&&!xa.destroyed&&!xa.injector.get(Sa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xa=t.get(Ia);var e=t.get(Ko,null);e&&e.forEach((function(t){return t()}))}(Cn.create({providers:a,name:r}))}return function(t){var e=Da();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}(i)}}function Da(){return xa&&!xa.destroyed?xa:null}var Ia=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new va:("zone.js"===n?void 0:n)||new da({enableLongStackTrace:_e()}),o=[{provide:da,useValue:i}];return i.run((function(){var e=Cn.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(be,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Zo&&No(n.injector.get(Qo,Mo)||Mo),n.onDestroy((function(){return ja(r._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(t){a.handleError(t)}})})),function(t,e,i){try{var o=((a=n.injector.get(zo)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Zn(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var a}(a,i)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Ta({},e);return function(t,e,n){return t.get(oa).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Aa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+k(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)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Ta(t,e){return Array.isArray(e)?e.reduce(Ta,t):Object.assign({},t,e)}var Pa,Aa=((Pa=function(){function t(t,e,n,r,i,s){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=_e(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var c=new o.a((function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){t.next(u._stable),t.complete()}))})),h=new o.a((function(t){var e;u._zone.runOutsideAngular((function(){e=u._zone.onStable.subscribe((function(){da.assertNotInAngularZone(),pa((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){da.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(a.a)(c,h.pipe((function(t){return l()((e=m,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=this;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.");n=t instanceof tr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof ar?null:this._injector.get(X),o=n.create(Cn.NULL,[],e||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(_a,null);return a&&o.injector.get(wa).registerApplication(o.location.nativeElement,a),this._loadComponent(o),_e()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0;for(var r=0,i=this._views;r-1&&t.splice(n,1)}var Ra=function(){},Ma=function(){},Na={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},La=function(){function t(t,e){this._compiler=t,this._config=e||Na}return t.prototype.load=function(t){return!Zo&&this._compiler instanceof ia?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then((function(t){return t[o]})).then((function(t){return Fa(t,i,o)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[i+o]})).then((function(t){return Fa(t,r,i)}))},t}();function Fa(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Va=function(t,e){this.name=t,this.callback=e},Ba=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof za&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),za=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n,r)||this).properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return __extends(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var 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))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var n=[];return function t(n,r,i){n.childNodes.forEach((function(n){n instanceof e&&(r(n)&&i.push(n),t(n,r,i))}))}(this,t,n),n},e.prototype.queryAllNodes=function(t){var n=[];return function t(n,r,i){n instanceof e&&n.childNodes.forEach((function(n){r(n)&&i.push(n),n instanceof e&&t(n,r,i)}))}(this,t,n),n},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Ba),Ha=new Map,Ua=function(t){return Ha.get(t)||null};function qa(t){Ha.set(t.nativeNode,t)}var Ka=ka(null,"core",[{provide:Wo,useValue:"unknown"},{provide:Ia,deps:[Cn]},{provide:wa,deps:[]},{provide:Yo,deps:[]}]);function Wa(){return Tr}function Ga(){return Pr}function Ya(t){return t?(Zo&&No(t),t):Mo}function Qa(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var Za=function(t){};function Xa(t,e,n,r,i,o){t|=1;var a=di(e),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?bi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Gr},provider:null,text:null,query:null,ngContent:null}}function Ja(t,e,n,r,i,o,a,s,l,u,c,h){var p;void 0===a&&(a=[]),u||(u=Gr);var d=di(n),f=d.matchedQueries,m=d.references,g=d.matchedQueryIds,b=null,y=null;o&&(b=(p=Oi(o))[0],y=p[1]),s=s||[];for(var v=new Array(s.length),_=0;_0)u=m,bs(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&bs(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Gr,updateRenderer:r||Gr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:d}}function bs(t){return 0!=(1&t.flags)&&null===t.element.name}function ys(t,e,n){var 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){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function vs(t,e,n,r){var i=Cs(t.root,t.renderer,t,e,n);return xs(i,t.component,r),Os(i),i}function _s(t,e,n){var r=Cs(t,t.renderer,null,null,e);return xs(r,n,n),Os(r),r}function ws(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Cs(t.root,i,t,e.element.componentProvider,n)}function Cs(t,e,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function xs(t,e,n){t.component=e,t.context=n}function Os(t){var e;ci(t)&&(e=Hr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&ns(t,e,0,n)&&(d=!0),p>1&&ns(t,e,1,r)&&(d=!0),p>2&&ns(t,e,2,i)&&(d=!0),p>3&&ns(t,e,3,o)&&(d=!0),p>4&&ns(t,e,4,a)&&(d=!0),p>5&&ns(t,e,5,s)&&(d=!0),p>6&&ns(t,e,6,l)&&(d=!0),p>7&&ns(t,e,7,u)&&(d=!0),p>8&&ns(t,e,8,c)&&(d=!0),p>9&&ns(t,e,9,h)&&(d=!0),d}(t,e,n,r,i,o,a,s,l,u,c,h);case 2:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=!1,d=e.bindings,f=d.length;if(f>0&&ni(t,e,0,n)&&(p=!0),f>1&&ni(t,e,1,r)&&(p=!0),f>2&&ni(t,e,2,i)&&(p=!0),f>3&&ni(t,e,3,o)&&(p=!0),f>4&&ni(t,e,4,a)&&(p=!0),f>5&&ni(t,e,5,s)&&(p=!0),f>6&&ni(t,e,6,l)&&(p=!0),f>7&&ni(t,e,7,u)&&(p=!0),f>8&&ni(t,e,8,c)&&(p=!0),f>9&&ni(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=ms(n,d[0])),f>1&&(m+=ms(r,d[1])),f>2&&(m+=ms(i,d[2])),f>3&&(m+=ms(o,d[3])),f>4&&(m+=ms(a,d[4])),f>5&&(m+=ms(s,d[5])),f>6&&(m+=ms(l,d[6])),f>7&&(m+=ms(u,d[7])),f>8&&(m+=ms(c,d[8])),f>9&&(m+=ms(h,d[9]));var g=zr(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,r,i,o,a,s,l,u,c,h);case 16384:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=Ur(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ei(t,e,0,n)&&(f=!0,m=Oo(t,p,e,0,n,m)),g>1&&ei(t,e,1,r)&&(f=!0,m=Oo(t,p,e,1,r,m)),g>2&&ei(t,e,2,i)&&(f=!0,m=Oo(t,p,e,2,i,m)),g>3&&ei(t,e,3,o)&&(f=!0,m=Oo(t,p,e,3,o,m)),g>4&&ei(t,e,4,a)&&(f=!0,m=Oo(t,p,e,4,a,m)),g>5&&ei(t,e,5,s)&&(f=!0,m=Oo(t,p,e,5,s,m)),g>6&&ei(t,e,6,l)&&(f=!0,m=Oo(t,p,e,6,l,m)),g>7&&ei(t,e,7,u)&&(f=!0,m=Oo(t,p,e,7,u,m)),g>8&&ei(t,e,8,c)&&(f=!0,m=Oo(t,p,e,8,c,m)),g>9&&ei(t,e,9,h)&&(f=!0,m=Oo(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&Br(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,r,i,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings,d=!1,f=p.length;if(f>0&&ni(t,e,0,n)&&(d=!0),f>1&&ni(t,e,1,r)&&(d=!0),f>2&&ni(t,e,2,i)&&(d=!0),f>3&&ni(t,e,3,o)&&(d=!0),f>4&&ni(t,e,4,a)&&(d=!0),f>5&&ni(t,e,5,s)&&(d=!0),f>6&&ni(t,e,6,l)&&(d=!0),f>7&&ni(t,e,7,u)&&(d=!0),f>8&&ni(t,e,8,c)&&(d=!0),f>9&&ni(t,e,9,h)&&(d=!0),d){var m=qr(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=r),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=h);break;case 128:var b=n;switch(f){case 1:g=b.transform(n);break;case 2:g=b.transform(r);break;case 3:g=b.transform(r,i);break;case 4:g=b.transform(r,i,o);break;case 5:g=b.transform(r,i,o,a);break;case 6:g=b.transform(r,i,o,a,s);break;case 7:g=b.transform(r,i,o,a,s,l);break;case 8:g=b.transform(r,i,o,a,s,l,u);break;case 9:g=b.transform(r,i,o,a,s,l,u,c);break;case 10:g=b.transform(r,i,o,a,s,l,u,c,h)}}m.value=g}return d}(t,e,n,r,i,o,a,s,l,u,c,h);default:throw"unreachable"}}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ri(t,e,0,n),p>1&&ri(t,e,1,r),p>2&&ri(t,e,2,i),p>3&&ri(t,e,3,o),p>4&&ri(t,e,4,a),p>5&&ri(t,e,5,s),p>6&&ri(t,e,6,l),p>7&&ri(t,e,7,u),p>8&&ri(t,e,8,c),p>9&&ri(t,e,9,h)}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){for(var r=0;r0){var o=new Set(t.modules);Ws.forEach((function(e,n){if(o.has(S(n).providedIn)){var i={token:n,flags:e.flags|(r?4096:0),deps:fi(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[Qr(n)]=i}}))}}(t=t.factory((function(){return Gr}))),t):t}(r))}var Ks=new Map,Ws=new Map,Gs=new Map;function Ys(t){var e;Ks.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&Ws.set(t.token,t)}function Qs(t,e){var n=bi(e.viewDefFactory),r=bi(n.nodes[0].element.componentView);Gs.set(t,r)}function Zs(){Ks.clear(),Ws.clear(),Gs.clear()}function Xs(t){if(0===Ks.size)return t;var e=function(t){for(var e=[],n=null,r=0;r1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),c=function(){var t=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,r=this._listeners;n0&&(this.auth.value=this.auths[0].id)},LoginComponent.prototype.changeAuth=function(auth){this.auth.value=auth;for(var doCustomAuth=function(data){eval(data)},_i=0,_b=this.auths;_i<_b.length;_i++){var l=_b[_i];l.id===auth&&l.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(l.id).subscribe((function(t){return doCustomAuth(t)})))}},LoginComponent}()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("HDdC"),i=new r.a((function(t){return t.complete()}));function o(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return d})),n.d(e,"n",(function(){return a})),n.d(e,"d",(function(){return b})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return v}));var r=function(){},i=function(){},o="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function l(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function u(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function p(t){return{type:5,steps:t}}function d(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function f(t){return void 0===t&&(t=null),{type:9,options:t}}function m(t,e,n){return void 0===n&&(n=null),{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}var b=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;g((function(){return t._onFinish()}))},t.prototype._onStart=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),y=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?g((function(){return e._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++n==o&&e._onFinish()})),t.onDestroy((function(){++r==o&&e._onDestroy()})),t.onStart((function(){++i==o&&e._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach((function(t){return t.init()}))},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))},t.prototype.pause=function(){this.players.forEach((function(t){return t.pause()}))},t.prototype.restart=function(){this.players.forEach((function(t){return t.restart()}))},t.prototype.finish=function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))},t.prototype.getPosition=function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t},t.prototype.beforeDestroy=function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),v="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("LRne"),i=n("0EUg");function o(){for(var t=[],e=0;e0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),d=function(){function t(){}return t.prototype.encodeKey=function(t){return f(t)},t.prototype.encodeValue=function(t){return f(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},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,"/")}var m=function(){function t(t){var e,n,r,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],o=i[0],a=i[1],s=r.get(o)||[];s.push(a),r.set(o,s)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}var v=function(){function t(t,e,n,r){var i;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,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new p),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300},C=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.ResponseHeader,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(w),x=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.Response,n.body=void 0!==e.body?e.body:null,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),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})},e}(w),O=function(t){function e(e){var n=this;return(n=t.call(this,e,0,"Unknown Error")||this).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return __extends(e,t),e}(w);function S(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var E=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof v)r=t;else{var u;u=n.headers instanceof p?n.headers:new p(n.headers);var c=void 0;n.params&&(c=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:u,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var h=Object(i.a)(r).pipe(Object(a.a)((function(t){return o.handler.handle(t)})));if(t instanceof v||"events"===n.observe)return h;var d=h.pipe(Object(s.a)((function(t){return t instanceof x})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return d.pipe(Object(l.a)((function(t){return t.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,S(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,S(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,S(n,e))},t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),D=new r.o("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),T=/^\)\]\}',?\n/,P=function(){},A=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),j=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new p(r.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}(r)||t.url;return s=new C({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,a=e.statusText,s=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(T,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new x({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new O({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=l().url,i=new O({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,d=function(e){h||(n.next(l()),h=!0);var i={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",d),null!==a&&r.upload&&r.upload.addEventListener("progress",f)),r.send(a),n.next({type:_.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",d),null!==a&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}}))},t}(),R=new r.o("XSRF_COOKIE_NAME"),M=new r.o("XSRF_HEADER_NAME"),N=function(){},L=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.z)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),F=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var 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)},t}(),V=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(D,[]);this.chain=e.reduceRight((function(t,e){return new k(t,e)}),this.backend)}return this.chain.handle(t)},t}(),B=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:F,useClass:I}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}},t}(),z=function(){}},IjjT:function(t,e,n){"use strict";var r=function(){var t=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t}();return t.now=function(){return Date.now()},t}();n.d(e,"a",(function(){return i}));var i=function(t){function e(n,i){void 0===i&&(i=r.now);var o=this;return(o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():i()}))||this).actions=[],o.active=!1,o.scheduled=void 0,o}return __extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}},e}(r)},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(t){return function(e){return 0===t?Object(o.b)():e.lift(new s(t))}}var s=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(r.a)},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(){for(var t=[],e=0;ee.height||t.scrollWidth>e.width},t}();function b(){return Error("Scroll strategy has already been attached.")}var y=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run((function(){return i._overlayRef.detach()}))}}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),v=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function _(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function w(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var C=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;_(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),x=function(){var t=function(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new v},this.close=function(t){return new y(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new g(i._viewportRuler,i._document)},this.reposition=function(t){return new C(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r};return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(i.a),Object(a.Rb)(i.d),Object(a.Rb)(a.x),Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),O=function(t){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var e=0,n=Object.keys(t);e-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t}();return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),T=function(){var t=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){for(var t=this._document.getElementsByClassName("cdk-overlay-container"),e=0;ep&&(p=g,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){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("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;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+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),p=c*h;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=t.fitsInViewportHorizontally||null!=a&&a<=i;return(t.fitsInViewportVertically||null!=o&&o<=r)&&s}return!1},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(t.x+e.width-o.right,0),s=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:r=e.width<=o.width?u||-a:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)a=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var p=this._lastBoundingBoxSize.width;a=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var 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));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(r.c)(n.height),i.top=Object(r.c)(n.top),i.bottom=Object(r.c)(n.bottom),i.width=Object(r.c)(n.width),i.left=Object(r.c)(n.left),i.right=Object(r.c)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=Object(r.c)(o)),a&&(i.maxWidth=Object(r.c)(a))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,r)),j(n,this._getExactOverlayX(e,t,r))}else n.position="static";var i="",o=this._getOffset(e,"x"),a=this._getOffset(e,"y");o&&(i+="translateX("+o+"px) "),a&&(i+="translateY("+a+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),j(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Object(r.c)(o.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(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},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:w(t,n),isOriginOutsideView:_(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:_(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),h=function(t){function e(e,n){var r=this;if((r=t.call(this)||this)._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,r}return __extends(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return l.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=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}(),d=r.tb,f=new r.o("UseV4Plurals"),m=function(){},g=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).locale=e,r.deprecatedPluralFn=n,r}return __extends(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):d(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}},e}(m);function b(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof l&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},WMd4:function(t,e,n){"use strict";var r=n("EY2u"),i=n("LRne"),o=n("HDdC");n.d(e,"a",(function(){return s}));var a,s=((a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return t=this.error,new o.a((function(e){return e.error(t)}));case"C":return Object(r.b)()}var t;throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t}()).completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0),a)},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8"),u=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).destination=e,n}return __extends(e,t),e}(i.a),c=function(){var t=function(t){function e(){var e=this;return(e=t.call(this)||this).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return __extends(e,t),e.prototype[l.a]=function(){return new u(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i0?n:t},t}(),C=new r.o("mat-date-formats");try{v="undefined"!=typeof Intl}catch(st){v=!1}var x={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},O=k(31,(function(t){return String(t+1)})),S={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},E=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function k(t,e){for(var n=Array(t),r=0;r11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return r},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(v){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(E.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return t.prototype.deserialize.call(this,e)},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype.invalid=function(){return new Date(NaN)},e.prototype._createDateWithOverflow=function(t,e,n){var r=new Date(t,e,n);return t>=0&&t<100&&r.setFullYear(this.getYear(r)-1900),r},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.prototype._format=function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)},e}(w),T={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},P=function(){},A=function(){},j=((D=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new D},token:D,providedIn:"root"}),D),R=new r.o("MAT_HAMMER_OPTIONS"),M=["longpress","slide","slidestart","slideend","slideright","slideleft"],N={on:function(){},off:function(){}},L=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._hammerOptions=e,r.events=M,n&&n._checkHammerIsAvailable(),r}return __extends(e,t),e.prototype.buildHammer=function(t){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return N;var n=new e(t,this._hammerOptions||void 0),r=new e.Pan,i=new e.Swipe,o=new e.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},i),s=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),s.recognizeWith(a),n.add([i,o,r,a,s]),n},e.prototype._createRecognizer=function(t,e){for(var n=[],r=2;rn+r?Math.max(0,i-r+e):n}var ot=function(){},at=new r.o("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("DH7j");function i(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}},"YY/e":function(t,e,n){"use strict";var r=n("HDdC"),i=n("D0XW"),o=n("Y7HM");function a(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l}));var s=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t}({}),l=function(){function t(t,e){var n=this;this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new r.a((function(t){n.yes=function(){t.next(!0),t.complete()},n.no=function(){t.next(!1),t.complete()},n.close=function(){n.doClose(),t.next(!1),t.complete()};var e=n;return{unsubscribe:function(){e.resetCallbacks()}}}))}return t.prototype.resetCallbacks=function(){var t=this;this.yes=this.no=function(){t.close()},this.close=function(){t.doClose()}},t.prototype.closed=function(){null!==this.subscription&&this.subscription.unsubscribe()},t.prototype.doClose=function(){this.dialogRef.close()},t.prototype.setExtra=function(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "},t.prototype.initAlert=function(){var t,e,n=this;this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe((function(t){n.closed()})),this.setExtra(this.data.autoclose),this.subscription=(t=1e3,void 0===t&&(t=0),void 0===e&&(e=i.a),(!Object(o.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new r.a((function(n){return n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n}))).subscribe((function(t){var e=n.data.autoclose-1e3*(t+1);n.setExtra(e),e<=0&&n.close()})))},t.prototype.initYesNo=function(){},t.prototype.ngOnInit=function(){this.data.type===s.yesno?this.initYesNo():this.initAlert()},t}()},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).subject=e,r.subscriber=n,r.closed=!1,r}return __extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("quSY").a)},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(t,e,n,a,s){if(void 0===s&&(s=new r.a(t,n,a)),!s.closed)return e instanceof o.a?e.subscribe(s):Object(i.a)(e)(s)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(i.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ");function i(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 mt})),n.d(e,"q",(function(){return O})),n.d(e,"a",(function(){return gt})),n.d(e,"h",(function(){return ft})),n.d(e,"c",(function(){return S})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return J})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return tt})),n.d(e,"b",(function(){return ot})),n.d(e,"r",(function(){return a})),n.d(e,"j",(function(){return N})),n.d(e,"i",(function(){return Z})),n.d(e,"m",(function(){return et})),n.d(e,"n",(function(){return it})),n.d(e,"l",(function(){return I})),n.d(e,"o",(function(){return D})),n.d(e,"k",(function(){return at}));var r=n("SVse"),i=n("8Y7J"),o=null;function a(){return o}var s,l=function(t){function e(){var e=this;(e=t.call(this)||this)._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var u=Y(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,h=0;h-1},e}(k),nt=["alt","control","meta","shift"],rt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},it=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return a().onAndCancel(t,i.domEventName,o)}))},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(nt.forEach((function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=a().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),nt.forEach((function(r){r!=n&&(0,rt[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded((function(){return n(i)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(k),ot=function(){},at=function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n}return __extends(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.G.NONE:return e;case i.G.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.db)(this._doc,String(e)));case i.G.STYLE:return e instanceof ut?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.eb)(e));case i.G.SCRIPT:if(e instanceof ct)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.G.URL:return e instanceof pt||e instanceof ht?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.fb)(String(e)));case i.G.RESOURCE_URL:if(e instanceof pt)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)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof st)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new lt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ut(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ct(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ht(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new pt(t)},e}(ot),st=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(st),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Style"},e}(st),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Script"},e}(st),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"URL"},e}(st),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(st),dt=[{provide:i.z,useValue:r.x},{provide:i.A,useValue:function(){d.makeCurrent(),y.init()},multi:!0},{provide:r.r,useClass:function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n._init(),n}return __extends(e,t),e.prototype._init=function(){this.location=a().getLocation(),this._history=a().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return a().getBaseHref(this._doc)},e.prototype.onPopState=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e}(r.r),deps:[r.d]},{provide:r.d,useFactory:function(){return document},deps:[]}],ft=Object(i.Q)(i.W,"browser",dt);function mt(){return new i.l}var gt=function(){function t(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.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:i.c,useValue:e.appId},{provide:g,useExisting:i.c},b]}},t}();"undefined"!=typeof window&&window},crnd: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="crnd"},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"j",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"l",(function(){return c})),n.d(e,"i",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"n",(function(){return d})),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 b}));var r=9,i=13,o=27,a=32,s=35,l=36,u=37,c=38,h=39,p=40,d=48,f=57,m=65,g=90;function b(t){for(var e=[],n=1;n'+django.gettext("Please wait")+'
'+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);var e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t},t.prototype.launchURL=function(e){var n=this;if("udsa://"===e.substring(0,7)){var r=e.split("//")[1].split("/");this.api.enabler(r[0],r[1]).subscribe((function(t){void 0!==t.error&&""!==t.error?n.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n.doLaunch(t.url))}))}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")},t}();return t.transportsWindow=null,t}()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return gt})),n.d(e,"g",(function(){return bt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return Kt})),n.d(e,"d",(function(){return le})),n.d(e,"f",(function(){return ce})),n.d(e,"h",(function(){return he}));var r=n("GS7A");function i(){return"undefined"!=typeof process}function o(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function a(t,e,n,i,o,a){void 0===o&&(o={}),void 0===a&&(a={});var s=[],l=[],u=-1,c=null;if(i.forEach((function(t){var n=t.offset,i=n==u,h=i&&c||{};Object.keys(t).forEach((function(n){var i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=o[n];break;case r.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}h[i]=l})),i||l.push(h),c=h,u=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function s(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&l(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&l(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&l(n,"destroy",t))}))}}function l(t,e,n){var r=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function u(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function c(t,e,n){var 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){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var p=function(t,e){return!1},d=function(t,e){return!1},f=function(t,e,n){return[]},m=i();(m||"undefined"!=typeof Element)&&(p=function(t,e){return t.contains(e)},d=function(){if(m||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:d}(),f=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r});var g=null,b=!1;function y(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!g.style&&"WebkitAppearance"in g.style);var e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in g.style)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}var v=d,_=p,w=f;function C(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var x=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,o,a,s){return void 0===a&&(a=[]),new r.d(n,i)},t}(),O=function(){var t=function(){};return t.NOOP=new x,t}(),S=1e3;function E(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(t,e){switch(e){case"s":return t*S;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=k(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=k(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function I(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function T(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else I(t,n);return n}function P(t,e,n){return n?e+":"+n+";":""}function A(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(Q(o,s)),"<"!=a[0]||o==W&&s==W||e.push(Q(s,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return q(n,t,e)})),options:et(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=q(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:et(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return nt(D(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=nt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return nt((n=n||D(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var o=t.styles?t.styles:Object(r.l)({});if(5==o.type)n=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var l={};i.easing&&(l.easing=i.easing),a=Object(r.l)(l)}e.currentTime+=i.duration+i.delay;var u=this.visitStyle(a,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(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);var i=!1,o=null;return n.forEach((function(t){if(tt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u,c,h=e.collectedStyles[e.currentQuerySelector],p=h[r],d=!0;p&&(o!=i&&o>=p.startTime&&i<=p.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+p.startTime+'ms" and "'+p.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=p.startTime),d&&(h[r]={startTime:o,endTime:i}),e.options&&(a=t[r],s=e.options,l=e.errors,u=s.params||{},(c=L(a)).length&&c.forEach((function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=t.steps.map((function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==p?1:h*i:o[i],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:q(this,M(t.animation),e),options:et(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:et(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Z,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,c(e.collectedStyles,e.currentQuerySelector,{});var s=q(this,M(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:et(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:D(t.timings,e.errors,!0);return{type:12,animation:q(this,M(t.animation),e),timings:n,options:null}},t}(),$=function(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 tt(t){return!Array.isArray(t)&&"object"==typeof t}function et(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var it=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function st(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new lt).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var lt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new it;var c=new ct(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),q(this,n,c);var h=c.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[rt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?E(n.duration):null,o=null!=n.delay?E(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ut);var a=E(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach((function(t){return q(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?E(t.options.delay):0;t.steps.forEach((function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),q(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return D(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?E(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(l=s.currentTimeline),q(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),ut={},ct=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(t){e&&a.hasOwnProperty(t)||(a[t]=F(o[t],a,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,s)}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),ht=function(){function t(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()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.a,e._currentKeyframe[t]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=r.a})):T(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=F(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.a),o._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var l=T(a,!0);Object.keys(l).forEach((function(t){var i=l[t];i==r.p?e.add(t):i==r.a&&n.add(t)})),i||(l.offset=s/t.duration),o.push(l)}));var a=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(i){var l=o[0],u=I(l);l.offset=0,u.offset=1,o=[l,u]}return rt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)},t}(),pt=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=this;return(l=t.call(this,e,n,a.delay)||this).element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return __extends(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=T(t[0],!1);l.offset=0,o.push(l);var u=T(t[0],!1);u.offset=dt(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=T(t[h],!1);p.offset=dt((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return rt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(ht);function dt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var ft,mt,gt=function(){},bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.normalizePropertyName=function(t,e){return z(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gt),yt=(ft="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(","),mt={},ft.forEach((function(t){return mt[t]=!0})),mt);function vt(t,e,n,r,i,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var _t={},wt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,a,s,l,u){var h=[],p=this.ast.options&&this.ast.options.params||_t,d=this.buildStyles(n,a&&a.params||_t,h),f=s&&s.params||_t,m=this.buildStyles(r,f,h),g=new Set,b=new Map,y=new Map,v="void"===r,_={params:Object.assign({},p,f)},w=u?[]:st(t,e,this.ast.animation,i,o,d,m,_,l,h),C=0;if(w.forEach((function(t){C=Math.max(t.duration+t.delay,C)})),h.length)return vt(e,this._triggerName,n,r,v,d,m,[],[],b,y,C,h);w.forEach((function(t){var n=t.element,r=c(b,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=c(y,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&g.add(n)}));var x=V(g.values());return vt(e,this._triggerName,n,r,v,d,m,w,x,b,y,C)},t}(),Ct=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(r[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=F(o,r,e)),n[t]=o}))}})),n},t}(),xt=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})})),Ot(this.states,"true","1"),Ot(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new wt(t,e,n.states))})),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Ot(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var St=new it,Et=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=X(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},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=a(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var a,s=[],l=this._animations[t],u=new Map;if(l?(a=st(this._driver,e,l,"ng-enter","ng-leave",{},{},n,St,s)).forEach((function(t){var e=c(u,t.element,{});t.postStyleProps.forEach((function(t){return 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"));u.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,r.a)}))}));var h=o(a.map((function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=h,h.onDestroy((function(){return i.destroy(t)})),this.players.push(h),h},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=u(e,"","","");return s(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kt=[],Dt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},It={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed",Pt=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=I(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),At=new Pt("void"),jt=function(){function t(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,zt(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;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"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=c(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),l[e]=At),function(){o._engine.afterFlush((function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new Mt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=At),"void"===u.value||l.value!==u.value){var h=c(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var p=o.matchTransition(l.value,u.value,t,u.params),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(zt(t,"ng-animate-queued"),a.onStart((function(){Ht(t,"ng-animate-queued")}))),a.onDone((function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),h.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+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},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ht(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(Nt(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Nt(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return o(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[Tt];if(n&&n.setForRemoval){if(t[Tt]=Dt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach((function(t){var e=t.player,r=t.element;if(S.push(e),n.collectedEnterElements.length){var o=r[Tt];if(o&&o.setForMove)return void e.destroy()}var s=!f||!n.driver.containsElement(f,r),d=x.get(r),m=b.get(r),g=n._buildInstruction(t,i,m,d,s);if(!g.errors||!g.errors.length)return s?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):t.isFallbackTransition?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):(g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(r,g.timelines),l.push({instruction:g,player:e,element:r}),g.queriedElements.forEach((function(t){return c(u,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=h.get(e);r||h.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),void g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))})));E.push(g)}));if(E.length){var D=[];E.forEach((function(t){D.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return D.push("- "+t+"\n")}))})),S.forEach((function(t){return t.destroy()})),this.reportError(D)}var I=new Map,T=new Map;l.forEach((function(t){var e=t.element;i.has(e)&&(T.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){c(I,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return qt(t,h,p)})),A=new Map;Ft(A,this.driver,w,p,r.a).forEach((function(t){qt(t,h,p)&&P.push(t)}));var M=new Map;g.forEach((function(t,e){Ft(M,n.driver,new Set(t),h,r.p)})),P.forEach((function(t){var e=A.get(t),n=M.get(t);A.set(t,Object.assign({},e,n))}));var N=[],L=[],F={};l.forEach((function(t){var e=t.element,r=t.player,l=t.instruction;if(i.has(e)){if(d.has(e))return r.onDestroy((function(){return j(e,l.toStyles)})),r.disabled=!0,r.overrideTotalTime(l.totalTime),void a.push(r);var u=F;if(T.size>1){for(var c=e,h=[];c=c.parentNode;){var p=T.get(c);if(p){u=p;break}h.push(c)}h.forEach((function(t){return T.set(t,u)}))}var f=n._buildAnimation(r.namespaceId,l,I,s,M,A);if(r.setRealPlayer(f),u===F)N.push(r);else{var m=n.playersByElement.get(u);m&&m.length&&(r.parentPlayer=o(m)),a.push(r)}}else R(e,l.fromStyles),r.onDestroy((function(){return j(e,l.toStyles)})),L.push(r),d.has(e)&&a.push(r)})),L.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=o(e);t.setRealPlayer(n)}})),a.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var V=0;V0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)},t}(),Mt=function(){function t(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}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return s(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){c(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Nt(t){return t&&1===t.nodeType}function Lt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ft(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(Lt(t))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Tt]=It,a.push(r))})),t.set(r,o)}));var s=0;return n.forEach((function(t){return Lt(t,o[s++])})),a}function Vt(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Bt="$$classes";function zt(t,e){if(t.classList)t.classList.add(e);else{var n=t[Bt];n||(n=t[Bt]={}),n[e]=!0}}function Ht(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Bt];n&&delete n[e]}}function Ut(t,e,n){o(n).onDone((function(){return t.processLeaveNode(e)}))}function qt(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var Kt=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Et(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new xt(t,e)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=h(n),o=i[0],a=i[1];this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=h(n),a=o[0],s=o[1];return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Wt(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Yt(e[0]),e.length>1&&(r=Yt(e[e.length-1]))):e&&(n=Yt(e)),n||r?new Gt(t,n,r):null}var Gt=function(){var t=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)},t}();return t.initialStylesByElement=new WeakMap,t}();function Yt(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ne(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=ie(t,"").split(","),(r=ee(n,e))>=0&&(n.splice(r,1),re(t,"",n.join(","))))},t}();function $t(t,e,n){re(t,"PlayState",n,te(t,e))}function te(t,e){var n=ie(t,"");return n.indexOf(",")>0?ee(n.split(","),e):ee([n],e)}function ee(t,e){for(var n=0;n=0)return n;return-1}function ne(t,e,n){n?t.removeEventListener(Xt,e):t.addEventListener(Xt,e)}function re(t,e,n,r){var i=Zt+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function ie(t,e){return t.style[Zt+e]}var oe="linear",ae=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||oe,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:K(t.element,r))}))}this.currentSnapshot=e},t}(),se=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).element=e,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return __extends(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(r.d),le=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return C(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(t){return t instanceof ae})),l={};H(n,r)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=U(t,e,l));if(0==n)return new se(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=Wt(t,e),d=new ae(t,e,c,n,r,i,u,p);return d.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),d},t.prototype._notifyFaultyScrubber=function(){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)},t}(),ue=function(){function t(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}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:K(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),ce=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(pe().toString()),this._cssKeyframesDriver=new le}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter((function(t){return t instanceof ue}));H(n,r)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var c=Wt(t,e=U(t,e=e.map((function(t){return T(t,!1)})),l));return new ue(t,e,s,c)},t}();function he(){return"function"==typeof pe()}function pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},hOhj:function(t,e,n){"use strict";var r=n("8Y7J"),i=(n("KCVW"),n("XNiG")),o=n("LRne"),a=n("HDdC"),s=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var l=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));var p,d,f=((p=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new a.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(o.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(s.a)(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new p(Object(r.Rb)(r.x),Object(r.Rb)(h.a))},token:p,providedIn:"root"}),p),m=function(){},g=((d=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?Object(l.a)(Object(s.a)(window,"resize"),Object(s.a)(window,"orientationchange")):Object(o.a)(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var 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}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(u.a)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new d(Object(r.Rb)(h.a),Object(r.Rb)(r.x))},token:d,providedIn:"root"}),d),b={provide:g,deps:[[new r.y,new r.H,g],h.a,r.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("XNiG"),l=n("9ppp"),u=function(t){function e(e){var n=this;return(n=t.call(this)||this)._value=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(s.a),c=n("HDdC"),h=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),p=n("itXk"),d=n("NXyV"),f=n("EY2u"),m=n("lJxs"),g=n("0EUg"),b=n("pLZG"),y=n("7o/Q"),v=n("4I5i");function _(t){return function(e){return 0===t?Object(f.b)():e.lift(new w(t))}}var w=function(){function t(t){if(this.total=t,this.total<0)throw new v.a}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.total))},t}(),C=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.ring=new Array,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,_(1),n?k(e):x((function(){return new h})))}}var A=n("l7GE"),j=n("51Dv"),R=n("ZUHj");function M(t){return function(e){var n=new N(t),r=e.lift(n);return n.caught=r}}var N=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).selector=n,i.caught=r,i}return __extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new j.a(this,void 0,void 0);this.add(r),Object(R.a)(this,n,void 0,void 0,r)}},e}(A.a),F=n("IzEk");function V(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,Object(F.a)(1),n?k(e):x((function(){return new h})))}}var B=n("5+tZ"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))},t}(),H=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return __extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var 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)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y.a),U=n("eIep"),q=n("JX91");function K(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new W(t,e,n))}}var W=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.accumulator,this.seed,this.hasSeed))},t}(),G=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return __extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(y.a),Y=n("bOdf"),Q=n("mCNh"),Z=n("vkgz"),X=n("quSY"),J=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.callback))},t}(),$=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).add(new X.a(n)),r}return __extends(e,t),e}(y.a),tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return vt})),n.d(e,"s",(function(){return Rn})),n.d(e,"z",(function(){return qn})),n.d(e,"u",(function(){return Fn})),n.d(e,"A",(function(){return Kn})),n.d(e,"B",(function(){return Wn})),n.d(e,"w",(function(){return Bn})),n.d(e,"v",(function(){return Vn})),n.d(e,"y",(function(){return Un})),n.d(e,"t",(function(){return Nn})),n.d(e,"x",(function(){return Hn})),n.d(e,"D",(function(){return An})),n.d(e,"l",(function(){return wn})),n.d(e,"m",(function(){return Cn})),n.d(e,"o",(function(){return En})),n.d(e,"j",(function(){return hn})),n.d(e,"k",(function(){return _n})),n.d(e,"i",(function(){return dn})),n.d(e,"g",(function(){return jn})),n.d(e,"h",(function(){return Gn})),n.d(e,"n",(function(){return Ln})),n.d(e,"b",(function(){return Sn})),n.d(e,"d",(function(){return Tn})),n.d(e,"e",(function(){return In})),n.d(e,"f",(function(){return Dn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return mn})),n.d(e,"c",(function(){return Ut})),n.d(e,"r",(function(){return Ht}));var nt=function(t,e){this.id=t,this.url=e},rt=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=this;return(o=t.call(this,e,n)||this).navigationTrigger=r,o.restoredState=i,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(nt),it=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(nt),ot=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).reason=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(nt),at=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).error=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(nt),st=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),lt=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ut=function(t){function e(e,n,r,i,o){var a=this;return(a=t.call(this,e,n)||this).urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(nt),ct=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ht=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),pt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),dt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ft=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),gt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),bt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),yt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),vt=function(){},_t="primary",wt=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Ct(t){return new wt(t)}var xt="ngNavigationCancelingError";function Ot(t){var e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function St(t,e,n){var 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 Rt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(i.xb)(t)?t:Object(i.yb)(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function Nt(t,e,n){return n?function(t,e){return Pt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var 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((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Bt(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Bt(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Bt(n.segments,a)&&!!n.children[_t]&&e(n.children[_t],r,s)}(e,n,n.segments)}(t.root,e.root)}var Lt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return qt.serialize(this)},t}(),Ft=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Rt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Kt(this)},t}(),Vt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt(this)},t}();function Bt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function zt(t,e){var n=[];return Rt(t.children,(function(t,r){r===_t&&(n=n.concat(e(t,r)))})),Rt(t.children,(function(t,r){r!==_t&&(n=n.concat(e(t,r)))})),n}var Ht=function(){},Ut=function(){function t(){}return t.prototype.parse=function(t){var e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n,r;return"/"+function t(e,n){if(!e.hasChildren())return Kt(e);if(n){var r=e.children[_t]?t(e.children[_t],!1):"",i=[];return Rt(e.children,(function(e,n){n!==_t&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=zt(e,(function(n,r){return r===_t?[t(e.children[_t],!1)]:[r+":"+t(n,!1)]}));return Kt(e)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(r=Object.keys(n).map((function(t){var e=n[t];return Array.isArray(e)?e.map((function(e){return Gt(t)+"="+Gt(e)})).join("&"):Gt(t)+"="+Gt(e)}))).length?"?"+r.join("&"):"")+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")},t}(),qt=new Ut;function Kt(t){return t.segments.map((function(t){return Xt(t)})).join("/")}function Wt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gt(t){return Wt(t).replace(/%3B/gi,";")}function Yt(t){return Wt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(t){return decodeURIComponent(t)}function Zt(t){return Qt(t.replace(/\+/g,"%20"))}function Xt(t){return""+Yt(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Yt(t)+"="+Yt(e[t])})).join(""));var e}var Jt=/^[^\/()?;=#]+/;function $t(t){var e=t.match(Jt);return e?e[0]:""}var te=/^[^=?]+/,ee=/^[^?]+/,ne=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[_t]=new Ft(t,e)),n},t.prototype.parseSegment=function(){var 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 Vt(Qt(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=$t(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=$t(this.remaining);r&&this.capture(n=r)}t[Qt(e)]=Qt(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(te);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(ee);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var i=Zt(e),o=Zt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(o)}else t[i]=o}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=$t(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_t);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[_t]:new Ft([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),re=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=ie(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=ie(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=oe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return oe(t,this._root).map((function(t){return t.value}))},t}();function ie(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce((function(t,e){return{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))}var pe=function(){function t(t,e,n,r,i,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),de=function(t){function e(e,n){var r=this;return(r=t.call(this,n)||this).url=e,fe(r,n),r}return __extends(e,t),e.prototype.toString=function(){return me(this._root)},e}(re);function fe(t,e){e.value._routerState=t,e.children.forEach((function(e){return fe(t,e)}))}function me(t){var e=t.children.length>0?" { "+t.children.map(me).join(", ")+" } ":"";return""+t.value+e}function ge(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ye(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==jt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),we=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[_t]:""+t}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Oe(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=Ce(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(s,l,a))return o;r+=2}else{if(!De(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Ft([],((r={})[_t]=t,r)):t;return new Lt(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)((function(t){return new Ft([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(o.a)({});var a=[],s=[],l={};return Rt(n,(function(n,i){var o,u,c=(o=i,u=n,r.expandSegmentGroup(t,e,u,o)).pipe(Object(m.a)((function(t){return l[i]=t})));i===_t?a.push(c):s.push(c)})),o.a.apply(null,a.concat(s)).pipe(Object(g.a)(),P(),Object(m.a)((function(){return l})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,a){var s=this;return Object(o.a).apply(void 0,n).pipe(Object(m.a)((function(l){return s.expandSegmentAgainstRoute(t,e,n,l,r,i,a).pipe(M((function(t){if(t instanceof je)return Object(o.a)(null);throw t})))})),Object(g.a)(),V((function(t){return!!t})),M((function(t,n){if(t instanceof h||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(o.a)(new Ft([],{}));throw new je(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return He(r)!==o?Me(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Me(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ne(o):this.lineralizeSegments(n,o).pipe(Object(B.a)((function(n){var o=new Ft(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Ve(e,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Me(e);var p=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Ne(p):this.lineralizeSegments(r,p).pipe(Object(B.a)((function(r){return a.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)((function(t){return n._loadedConfig=t,new Ft(r,{})}))):Object(o.a)(new Ft(r,{}));var a=Ve(e,n,r),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return Me(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(B.a)((function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return ze(t,e,n)&&He(n)!==_t}))}(t,n,r)?{segmentGroup:Be(new Ft(e,function(t,e){var n={};n[_t]=e;for(var r=0,i=t;r1||!r.children[_t])return Le(t.redirectTo);r=r.children[_t]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Lt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Rt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return Rt(e.children,(function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)})),new Ft(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,i=e;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||St)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(t){if(1===t.numberOfChildren&&t.children[_t]){var e=t.children[_t];return new Ft(t.segments.concat(e.segments),e.children)}return t}function ze(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function He(t){return t.outlet||_t}var Ue=function(t){this.path=t,this.route=this.path[this.path.length-1]},qe=function(t,e){this.component=t,this.route=e};function Ke(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function We(t,e,n){var r=se(t),i=t.value;Rt(r,(function(t,r){We(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new qe(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ge=Symbol("INITIAL_VALUE");function Ye(){return Object(U.a)((function(t){return Object(p.a).apply(void 0,t.map((function(t){return t.pipe(Object(F.a)(1),Object(q.a)(Ge))}))).pipe(K((function(t,e){var n=!1;return e.reduce((function(t,r,i){if(t!==Ge)return t;if(r===Ge&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Ae(r))return r}return t}),t)}),Ge),Object(b.a)((function(t){return t!==Ge})),Object(m.a)((function(t){return Ae(t)?t:!0===t})),Object(F.a)(1))}))}function Qe(t,e){return null!==t&&e&&e(new gt(t)),Object(o.a)(!0)}function Ze(t,e){return null!==t&&e&&e(new ft(t)),Object(o.a)(!0)}function Xe(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return Object(d.a)((function(){var i,o=Ke(r,e,n);if(function(t){return t&&Pe(t.canActivate)}(o))i=Mt(o.canActivate(e,t));else{if(!Pe(o))throw new Error("Invalid CanActivate guard");i=Mt(o(e,t))}return i.pipe(V())}))}));return Object(o.a)(i).pipe(Ye())}function Je(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Object(d.a)((function(){var i=e.guards.map((function(i){var o,a=Ke(i,e.node,n);if(function(t){return t&&Pe(t.canActivateChild)}(a))o=Mt(a.canActivateChild(r,t));else{if(!Pe(a))throw new Error("Invalid CanActivateChild guard");o=Mt(a(r,t))}return o.pipe(V())}));return Object(o.a)(i).pipe(Ye())}))}));return Object(o.a)(i).pipe(Ye())}var $e=function(){},tn=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=rn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,_t),n=new pe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},_t,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ae(n,e),i=new de(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(a){return new c.a((function(t){return t.error(a)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=he(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=zt(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},i.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),i=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value})),i.sort((function(t,e){return t.value.outlet===_t?-1:e.value.outlet===_t?1:t.value.outlet.localeCompare(e.value.outlet)})),i},t.prototype.processSegment=function(t,e,n,r){for(var i=0,o=t;i0?jt(n).parameters:{};i=new pe(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+n.length,ln(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $e;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||St)(n,t,e);if(!r)throw new $e;var i={};Rt(r.posParams,(function(t,e){i[e]=t.path}));var o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new pe(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+o.length,ln(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=rn(e,o,a,u,this.relativeLinkResolution),h=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new ae(i,d)]}if(0===u.length&&0===p.length)return[new ae(i,[])];var f=this.processSegment(u,h,p,_t);return[new ae(i,f)]},t}();function en(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function nn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function rn(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return on(t,e,n)&&an(n)!==_t}))}(t,n,r)){var o=new Ft(e,function(t,e,n,r){var i={};i[_t]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(var o=0,a=n;o0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||_t}function sn(t){return t.data||{}}function ln(t){return t.resolve||{}}function un(t,e,n,r){var i=Ke(t,e,r);return Mt(i.resolve?i.resolve(e,n):i(e,n))}function cn(t){return function(e){return e.pipe(Object(U.a)((function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)((function(){return e}))):Object(a.a)([e])})))}}var hn=function(){},pn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),dn=new i.o("ROUTES"),fn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Et(At(i.injector.get(dn)).map(Tt),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)((function(t){return t instanceof i.t?Object(o.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))})))},t}(),mn=function(){},gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function bn(t){throw t}function yn(t,e,n){return e.parse("/")}function vn(t,e){return Object(o.a)(null)}var _n=function(){function t(t,e,n,r,o,a,l,c){var h=this;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 s.a,this.errorHandler=bn,this.malformedUriErrorHandler=yn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.v),this.console=o.get(i.ab);var p=o.get(i.x);this.isNgZoneEnabled=p instanceof i.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(a,l,(function(t){return h.triggerEvent(new pt(t))}),(function(t){return h.triggerEvent(new dt(t))})),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({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()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(b.a)((function(t){return 0!==t.id})),Object(m.a)((function(t){return Object.assign({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(U.a)((function(t){var r,i,s,l=!1,c=!1;return Object(o.a)(t).pipe(Object(Z.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(U.a)((function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(U.a)((function(t){var r=e.transitions.getValue();return n.next(new rt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?f.a:[t]})),Object(U.a)((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(U.a)((function(t){return function(t,e,n,r,i){return new Fe(t,e,n,r,i).apply()}(r,i,a,t.extractedUrl,s).pipe(Object(m.a)((function(e){return Object.assign({},t,{urlAfterRedirects:e})})))})))}),Object(Z.a)((function(t){e.currentNavigation=Object.assign({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,o){return function(r){return r.pipe(Object(B.a)((function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new tn(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),i,o).pipe(Object(m.a)((function(t){return Object.assign({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(Z.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(Z.a)((function(t){var r=new st(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,c=t.extractedUrl,h=t.source,p=t.restoredState,d=t.extras,g=new rt(u,e.serializeUrl(c),h,p);n.next(g);var b=ue(c,e.rootComponentType).snapshot;return Object(o.a)(Object.assign({},t,{targetSnapshot:b,urlAfterRedirects:c,extras:Object.assign({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),f.a})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(Z.a)((function(t){var n=new lt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(m.a)((function(t){return Object.assign({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,o=n._root,function t(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=se(n);return e.children.forEach((function(e){!function(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!Pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!Pt(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ue(i)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new qe(l&&l.outlet&&l.outlet.component||null,s))}else s&&We(n,l,o),o.canActivateChecks.push(new Ue(i)),t(e,null,a.component?l?l.children:null:r,i,o)}(e,a[e.value.outlet],r,i.concat([e.value]),o),delete a[e.value.outlet]})),Rt(a,(function(t,e){return We(t,r.getContext(e),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),(i=e.ngModule.injector,s=function(t){return e.triggerEvent(t)},function(t){return t.pipe(Object(B.a)((function(t){var e=t.targetSnapshot,n=t.currentSnapshot,r=t.guards,l=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===l.length?Object(o.a)(Object.assign({},t,{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(B.a)((function(t){return function(t,e,n,r,i){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(o){var a,s=Ke(o,e,i);if(function(t){return t&&Pe(t.canDeactivate)}(s))a=Mt(s.canDeactivate(t,e,n,r));else{if(!Pe(s))throw new Error("Invalid CanDeactivate guard");a=Mt(s(t,e,n,r))}return a.pipe(V())}));return Object(o.a)(s).pipe(Ye())}(t.component,t.route,n,e,r)})),V((function(t){return!0!==t}),!0))}(u,e,n,i).pipe(Object(B.a)((function(t){return t&&"boolean"==typeof t?function(t,e,n,r){return Object(a.a)(e).pipe(Object(Y.a)((function(e){return Object(a.a)([Ze(e.route.parent,r),Qe(e.route,r),Je(t,e.path,n),Xe(t,e.route,n)]).pipe(Object(g.a)(),V((function(t){return!0!==t}),!0))})),V((function(t){return!0!==t}),!0))}(e,l,i,s):Object(o.a)(t)})),Object(m.a)((function(e){return Object.assign({},t,{guardsResult:e})})))})))}),Object(Z.a)((function(t){if(Ae(t.guardsResult)){var n=Ot('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Object(Z.a)((function(t){var n=new ut(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(b.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ot(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),cn((function(t){if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(Z.a)((function(t){var n=new ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),function(t,e){return function(n){return n.pipe(Object(B.a)((function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;return i.length?Object(a.a)(i).pipe(Object(Y.a)((function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(o.a)({});if(1===i.length){var s=i[0];return un(t[s],e,n,r).pipe(Object(m.a)((function(t){var e;return(e={})[s]=t,e})))}var l={};return Object(a.a)(i).pipe(Object(B.a)((function(i){return un(t[i],e,n,r).pipe(Object(m.a)((function(t){return l[i]=t,t})))}))).pipe(P(),Object(m.a)((function(){return l})))}(t._resolve,t,e,r).pipe(Object(m.a)((function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null})))}(n.route,r,t,e)})),function(t,e){return arguments.length>=2?function(n){return Object(Q.a)(K(t,e),_(1),k(e))(n)}:function(e){return Object(Q.a)(K((function(e,n,r){return t(e,n,r+1)})),_(1))(e)}}((function(t,e){return t})),Object(m.a)((function(t){return n}))):Object(o.a)(n)})))}}(e.paramsInheritanceStrategy,e.ngModule.injector),Object(Z.a)((function(t){var n=new ht(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(m.a)((function(t){var n,r,i,o,a=(n=e.routeReuseStrategy,r=t.targetSnapshot,i=t.currentRouterState,o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map((function(n){for(var i=0,o=r.children;ii;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new we(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?Oe(a.segmentGroup,a.index,o.commands):xe(a.segmentGroup,a.index,o.commands);return ve(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.V)()&&this.isNgZoneEnabled&&!i.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e=0&&t-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),O=0,S=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),E=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+O++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),k=function(){},D=function(){};function I(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var T=function(){}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function a(t,e,n){return function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,a){var s=this;return(s=t.call(this,e)||this)._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=a||i.a,Object(o.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return __extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(r.a)},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){this.user=t.user,this.role=t.role,this.admin=t.admin}return Object.defineProperty(t.prototype,"isStaff",{get:function(){return"staff"===this.role},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAdmin",{get:function(){return this.isStaff&&this.admin},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLogged",{get:function(){return null!=this.user},enumerable:!0,configurable:!0}),t}()},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(t,e,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(a.a)((function(t){return Object(i.a)(t)?l.apply(void 0,t):l(t)}))):new r.a((function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)}),r,n)}))}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(t,e){return e?Object(o.a)(t,e):new r.a(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}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return p}));var r=n("8Y7J");function i(){throw Error("Host already has a portal attached")}var o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var 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())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),a=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return __extends(e,t),e}(o),s=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).templateRef=e,i.viewContainerRef=n,i.context=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(o),l=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(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.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),u=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return __extends(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){n._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(r);-1!==t&&n.remove(t)})),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(l),c=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.m,i}return __extends(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(l),h=function(){},p=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),i=n("AytR"),o=function(){},a=function(){function t(){this.title="uds"}return t.prototype.ngOnInit=function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})},t}(),s=n("iInd"),l=r.pb({encapsulation:2,styles:[],data:{}});function u(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(1,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null)],(function(t,e){t(e,1,0)}),null)}var c=r.nb("ng-component",s.C,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,l)),r.qb(1,49152,null,0,s.C,[],null,null)],null,null)}),{},{},[]),h=n("GS7A"),p=n("zMNK"),d=n("XNiG"),f=n("quSY"),m=n("VRyK"),g=n("LRne"),b=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),_=n("KCVW"),w=n("dvZr"),C=n("JX91"),x=n("eIep"),O=n("IzEk"),S=n("pLZG"),E=n("1G5W"),k=n("D0XW"),D=n("7o/Q"),I=n("WMd4");function T(t,e){var n;void 0===e&&(e=k.a);var r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new P(r,e))}}var P=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.delay,this.scheduler))},t}(),A=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return __extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(I.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(I.a.createComplete()),this.unsubscribe()},e}(D.a),j=function(t,e){this.time=t,this.notification=e},R=n("QQfA"),M=n("/HVE"),N=new r.o("MAT_MENU_PANEL"),L=function(){},F=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this)._elementRef=e,o._focusMonitor=r,o._parentMenu=i,o.role="menuitem",o._hovered=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,r&&r.monitor(o._elementRef,!1),i&&i.addItem&&i.addItem(o),o._document=n,o}return __extends(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var r=t.childNodes.length,i=0;i')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(C.a)(this._directDescendantItems),Object(x.a)((function(t){return Object(m.a).apply(void 0,t.map((function(t){return t._hovered})))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case w.e:Object(w.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case w.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case w.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case w.f:case w.c:Object(w.o)(t)||(e===w.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==w.l&&e!==w.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Object(C.a)(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),z=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(B),H=new r.o("mat-menu-scroll-strategy");function U(t){return function(){return t.scrollStrategies.reposition()}}var q=Object(M.f)({passive:!0}),K=function(){function t(t,e,n,i,o,a,s,l){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new r.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,q),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,q),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof B&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof B?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(S.a)((function(t){return"void"===t.toState})),Object(O.a)(1),Object(E.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new R.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],n=e[0],r=e[1],i="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],o=i[0],a=i[1],s=[o,a],l=s[0],u=s[1],c=[n,r],h=c[0],p=c[1],d=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:d},{originX:r,originY:l,overlayX:p,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:h,overlayY:a,offsetY:-d},{originX:r,originY:u,overlayX:p,overlayY:a,offsetY:-d}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(g.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e!==t._menuItemInstance})),Object(S.a)((function(){return t._menuOpen}))):Object(g.a)();return Object(m.a)(e,r,i,n)},t.prototype._handleMousedown=function(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===w.i&&"ltr"===this.dir||e===w.g&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e===t._menuItemInstance&&!e.disabled})),T(0,b.a)).subscribe((function(){t._openedBy="mouse",t.menu instanceof B&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(O.a)(1),T(0,b.a),Object(E.a)(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),W=function(){},G=function(){},Y=n("IP0z"),Q=n("cUpR"),Z=n("SVse"),X=n("hOhj"),J=n("omvX"),$=r.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-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;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function tt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===e&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===e&&(r=!1!==i._onAnimationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),r.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function et(t){return r.Mb(2,[r.Ib(671088640,1,{templateRef:0}),(t()(),r.gb(0,[[1,2]],null,0,null,tt))],null,null)}var nt=r.pb({encapsulation:2,styles:[],data:{}});function rt(t){return r.Mb(2,[r.Cb(null,0),(t()(),r.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(2,212992,null,0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,r.Db(e,2).unbounded)}))}var it=function(){function t(t){this.el=t}return t.prototype.ngOnInit=function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())},t}(),ot="accent",at=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],st=function(t){this._elementRef=t},lt=function(t){function e(e,n,r){var i=this;(i=t.call(this,e)||this)._focusMonitor=n,i._animationMode=r,i.isRoundButton=i._hasHostAttributes("mat-fab","mat-mini-fab"),i.isIconButton=i._hasHostAttributes("mat-icon-button");for(var o=0,a=at;o*,.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 pt(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(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.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(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)}))}var dt=r.pb({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 ft(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(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.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(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)}))}var mt,gt,bt=n("itXk"),yt=n("GyhO"),vt=n("HDdC"),_t=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new wt(t,this.total))},t}(),wt=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(D.a),Ct=n("Kj3r"),xt=n("lJxs"),Ot=function(){},St=new Set,Et=((gt=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kt}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!St.has(t))try{mt||((mt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(mt)),mt.sheet&&(mt.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),St.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new gt(Object(r.Rb)(M.a))},token:gt,providedIn:"root"}),gt);function kt(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Dt,It=((Dt=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new d.a}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return Tt(Object(_.a)(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Tt(Object(_.a)(t)).map((function(t){return e._registerQuery(t).observable})),r=Object(bt.a)(n);return(r=Object(yt.a)(r.pipe(Object(O.a)(1)),r.pipe((function(t){return t.lift(new _t(1))}),Object(Ct.a)(0)))).pipe(Object(xt.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),r={observable:new vt.a((function(t){var r=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(C.a)(n),Object(xt.a)((function(e){return{query:t,matches:e.matches}})),Object(E.a)(this._destroySubject)),mql:n};return this._queries.set(t,r),r},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new Dt(Object(r.Rb)(Et),Object(r.Rb)(r.x))},token:Dt,providedIn:"root"}),Dt);function Tt(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var Pt={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)"},At=20;function jt(t){return Error('Tooltip position "'+t+'" is invalid.')}var Rt=new r.o("mat-tooltip-scroll-strategy");function Mt(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:At})}}var Nt=new r.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Lt=function(){function t(t,e,n,r,i,o,a,s,l,u,c,h){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new d.a,this._scrollStrategy=l;var f=e.nativeElement,m="undefined"==typeof window||window.Hammer||h;o.IOS||o.ANDROID?m||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(t,e){return f.addEventListener(e,t)})),s.monitor(e).pipe(Object(E.a)(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(Ft,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===w.e&&!Object(w.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(E.a)(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={originX:"end",originY:"center"}}var r=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:r.x,originY:r.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:r.x,overlayY:r.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(O.a)(1),Object(E.a)(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),Ft=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new d.a,this._isHandset=this._breakpointObserver.observe(Pt.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),Vt=function(){},Bt=n("KIbp"),zt=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"serviceImage",{get:function(){return this.api.galleryImageURL(this.service.imageId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceName",{get:function(){var t=this.service.visual_name;return t.length>56&&(t=t.substring(0,53)+"..."),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceTooltip",{get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceClass",{get:function(){var t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t},enumerable:!0,configurable:!0}),t.prototype.getTransportIcon=function(t){return this.api.transportIconURL(t)},t.prototype.hasActions=function(){return this.service.allow_users_remove||this.service.allow_users_reset},t.prototype.showTransportsMenu=function(){return this.service.transports.length>1&&this.service.show_transports},t.prototype.hasMenu=function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())},t.prototype.notifyNotLaunching=function(t){this.api.gui.alert(''+django.gettext("Launcher")+"
",t)},t.prototype.launch=function(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching(''+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
'+this.api.config.messages.calendarDenied+'
'):(null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link))},t.prototype.action=function(t){var e=this,n="release"===t?django.gettext("Release service: "):django.gettext("Reset service: ")+this.serviceName,r="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(n,django.gettext("Are you sure?")).subscribe((function(i){i&&e.api.action(t,e.service.id).subscribe((function(t){t&&e.api.gui.alert(n,r)}))}))},t}(),Ht=r.pb({encapsulation:0,styles:[[".service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.2em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;height:1.5em;padding:0 .5em}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgb(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]::before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-family:'Material Icons';font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]::before{color:#fc0000;content:'update'}.maintenance[_ngcontent-%COMP%]::before{color:#fcb900;content:'build'}.tobereplaced[_ngcontent-%COMP%]::before{color:#fc0000;content:'delete_forever'}"]],data:{}});function Ut(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.launch(t.context.$implicit)&&i),i}),rt,nt)),r.qb(1,180224,[[1,4],[2,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,2,"div",[["class","transport-item"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.Kb(4,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null),t(e,3,0,n.getTransportIcon(e.context.$implicit.id)),t(e,4,0,e.context.$implicit.name)}))}function qt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.action("release")&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["delete"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,[" Release service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function Kt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.action("reset")&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["refresh"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,[" Reset service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function Wt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Connections"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,4)),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null)}))}function Gt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Actions"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,13)),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null)}))}function Yt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["menu"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,24))}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).menuOpen||null)}))}function Qt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,8,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(4,1294336,[["transports",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,1,{_allItems:1}),r.Ib(603979776,2,{items:1}),r.Ib(603979776,3,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,Ut)),r.qb(9,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(10,0,null,null,10,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(13,1294336,[["actions",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,4,{_allItems:1}),r.Ib(603979776,5,{items:1}),r.Ib(603979776,6,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,qt)),r.qb(18,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,Kt)),r.qb(20,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(21,0,null,null,10,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(24,1294336,[["menu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,7,{_allItems:1}),r.Ib(603979776,8,{items:1}),r.Ib(603979776,9,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,Wt)),r.qb(29,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,Gt)),r.qb(31,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(32,16777216,null,null,10,"div",[["matTooltipPosition","above"],["matTooltipShowDelay","1000"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==r.Db(t,35).show()&&i),"keydown"===e&&(i=!1!==r.Db(t,35)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==r.Db(t,35)._handleTouchend()&&i),i}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(34,278528,null,0,Z.i,[Z.v],{ngClass:[0,"ngClass"]},null),r.qb(35,212992,null,0,Lt,[R.c,r.k,X.a,r.N,r.x,M.a,y.c,y.e,Rt,[2,Y.b],[2,Nt],[2,Q.f]],{position:[0,"position"],disabled:[1,"disabled"],showDelay:[2,"showDelay"],message:[3,"message"]},null),(t()(),r.rb(36,0,null,null,1,"div",[["class","icon"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.launch(null)&&r),r}),null,null)),(t()(),r.rb(37,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(38,0,null,null,1,"div",[["class","name"]],null,null,null,null,null)),(t()(),r.Kb(39,null,[" "," "])),(t()(),r.rb(40,0,null,null,2,"div",[["class","menu"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Yt)),r.qb(42,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0),t(e,9,0,n.service.transports),t(e,13,0),t(e,18,0,n.service.allow_users_remove),t(e,20,0,n.service.allow_users_reset),t(e,24,0),t(e,29,0,n.showTransportsMenu()),t(e,31,0,n.hasActions()),t(e,34,0,n.serviceClass),t(e,35,0,"above",""===n.serviceTooltip,"1000",n.serviceTooltip),t(e,42,0,n.hasMenu())}),(function(t,e){var n=e.component;t(e,37,0,n.serviceImage),t(e,39,0,n.serviceName)}))}function Zt(t){return r.Mb(0,[(t()(),r.gb(16777216,null,null,1,null,Qt)),r.qb(1,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.service.transports.length>0)}),null)}var Xt=0,Jt=function(){function t(){this._stateChanges=new d.a,this._openCloseAllActions=new d.a,this.id="cdk-accordion-"+Xt++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=Object(_.b)(t)},enumerable:!0,configurable:!0}),t.prototype.openAll=function(){this._openCloseAll(!0)},t.prototype.closeAll=function(){this._openCloseAll(!1)},t.prototype.ngOnChanges=function(t){this._stateChanges.next(t)},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.prototype._openCloseAll=function(t){this.multi&&this._openCloseAllActions.next(t)},t}(),$t=0,te=function(){function t(t,e,n){var i=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new r.m,this.opened=new r.m,this.destroyed=new r.m,this.expandedChange=new r.m,this.id="cdk-accordion-child-"+$t++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen((function(t,e){i.accordion&&!i.accordion.multi&&i.accordion.id===e&&i.id!==t&&(i.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){t=Object(_.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe((function(e){t.disabled||(t.expanded=e)}))},t}(),ee=function(){},ne=n("EY2u"),re=n("/uUt"),ie=new r.o("MAT_ACCORDION"),oe=0,ae=new r.o("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),se=function(t){function e(e,n,i,o,a,s,l){var u=this;return(u=t.call(this,e,n,i)||this)._viewContainerRef=o,u._animationMode=s,u._hideToggle=!1,u.afterExpand=new r.m,u.afterCollapse=new r.m,u._inputChanges=new d.a,u._headerId="mat-expansion-panel-header-"+oe++,u._bodyAnimationDone=new d.a,u.accordion=e,u._document=a,u._bodyAnimationDone.pipe(Object(re.a)((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){"void"!==t.fromState&&("expanded"===t.toState?u.afterExpand.emit():"collapsed"===t.toState&&u.afterCollapse.emit())})),l&&(u.hideToggle=l.hideToggle),u}return __extends(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(Object(C.a)(null),Object(S.a)((function(){return t.expanded&&!t._portal})),Object(O.a)(1)).subscribe((function(){t._portal=new p.g(t._lazyContent._template,t._viewContainerRef)}))},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1},e}(te),le=function(){function t(t,e,n,r,i){var o=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;var a=t.accordion?t.accordion._stateChanges.pipe(Object(S.a)((function(t){return!(!t.hideToggle&&!t.togglePosition)}))):ne.a;this._parentChangeSubscription=Object(m.a)(t.opened,t.closed,a,t._inputChanges.pipe(Object(S.a)((function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),t.closed.pipe(Object(S.a)((function(){return t._containsFocus()}))).subscribe((function(){return n.focusVia(e,"program")})),n.monitor(e).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)})),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}return t.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),t.prototype._toggle=function(){this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._getTogglePosition=function(){return this.panel.togglePosition},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case w.j:case w.d:Object(w.o)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._element,t,e)},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},t}(),ue=function(){},ce=function(){},he=function(t){function e(){var e=this;return(e=t.apply(this,arguments)||this)._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return __extends(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(_.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new y.d(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(t){var e=t.keyCode,n=this._keyManager;e===w.f?Object(w.o)(t)||(n.setFirstItemActive(),t.preventDefault()):e===w.c?Object(w.o)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)},e.prototype._handleHeaderFocus=function(t){this._keyManager.updateActiveItem(t)},e}(Jt),pe=function(){},de=n("8bJo"),fe=r.pb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function me(t){return r.Mb(0,[(t()(),r.gb(0,null,null,0))],null,null)}function ge(t){return r.Mb(2,[r.Ib(671088640,1,{_body:0}),r.Cb(null,0),(t()(),r.rb(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var r=!0;return"@bodyExpansion.done"===e&&(r=!1!==t.component._bodyAnimationDone.next(n)&&r),r}),null,null)),(t()(),r.rb(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),r.Cb(null,1),(t()(),r.gb(16777216,null,null,1,null,me)),r.qb(6,212992,null,0,p.b,[r.j,r.N],{portal:[0,"portal"]},null),r.Cb(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var be=r.pb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function ye(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function ve(t){return r.Mb(2,[(t()(),r.rb(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),r.Cb(null,0),r.Cb(null,1),r.Cb(null,2),(t()(),r.gb(16777216,null,null,1,null,ye)),r.qb(5,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}var _e=function(){function t(t){this.api=t,this.expanded=!1}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"groupImage",{get:function(){return this.api.galleryImageURL(this.group.imageUuid)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleServices",{get:function(){return this.services.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortedServices",{get:function(){return this.services.sort((function(t,e){return t.name>e.name?1:t.namee.group.id?1:t.group.id0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(Ne.a)(this._label.nativeElement,"transitionend").pipe(Object(O.a)(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(r){if("start"===r.align){if(t||n.hintLabel)throw Fe("start");t=r}else if("end"===r.align){if(e)throw Fe("end");e=r}}))},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=r.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=this._getStartEnd(t.children[0].getBoundingClientRect()),u=0,c=0,h=t.children;c0?.75*u+10:0}for(var p=0;p enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Ye(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),r.rb(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),r.rb(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Qe(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),r.Cb(null,0)],null,null)}function Ze(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,3,null,null,null,null,null,null,null)),r.Cb(null,2),(t()(),r.rb(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Kb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function Xe(t){return r.Mb(0,[r.Cb(null,3),(t()(),r.gb(0,null,null,0))],null,null)}function Je(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" *"]))],null,null)}function $e(t){return r.Mb(0,[(t()(),r.rb(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r}),null,null)),r.qb(1,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),r.qb(2,1196032,null,0,We.a,[We.b,r.k,r.x],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),r.gb(16777216,null,null,1,null,Ze)),r.qb(4,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,Xe)),r.qb(6,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,Je)),r.qb(8,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function tn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),r.Cb(null,4)],null,null)}function en(t){return r.Mb(0,[(t()(),r.rb(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function nn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),r.Cb(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function rn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function on(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,rn)),r.qb(2,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Cb(null,6),(t()(),r.rb(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),r.Cb(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function an(t){return r.Mb(2,[r.Ib(671088640,1,{underlineRef:0}),r.Ib(402653184,2,{_connectionContainerRef:0}),r.Ib(671088640,3,{_inputContainerRef:0}),r.Ib(671088640,4,{_label:0}),(t()(),r.rb(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),r.rb(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r}),null,null)),(t()(),r.gb(16777216,null,null,1,null,Ye)),r.qb(7,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,Qe)),r.qb(9,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),r.Cb(null,1),(t()(),r.rb(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,$e)),r.qb(14,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,tn)),r.qb(16,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,en)),r.qb(18,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),r.qb(20,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,nn)),r.qb(22,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,on)),r.qb(24,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var sn=n("NXyV"),ln=0,un=new r.o("mat-select-scroll-strategy");function cn(t){return function(){return t.scrollStrategies.reposition()}}var hn=function(t,e){this.source=t,this.value=e},pn=function(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i},dn=function(t){function e(e,n,i,o,a,s,l,u,c,h,p,f,g){var b=this;return(b=t.call(this,a,o,l,u,h)||this)._viewportRuler=e,b._changeDetectorRef=n,b._ngZone=i,b._dir=s,b._parentFormField=c,b.ngControl=h,b._liveAnnouncer=g,b._panelOpen=!1,b._required=!1,b._scrollTop=0,b._multiple=!1,b._compareWith=function(t,e){return t===e},b._uid="mat-select-"+ln++,b._destroy=new d.a,b._triggerFontSize=0,b._onChange=function(){},b._onTouched=function(){},b._optionIds="",b._transformOrigin="top",b._panelDoneAnimatingStream=new d.a,b._offsetY=0,b._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],b._disableOptionCentering=!1,b._focused=!1,b.controlType="mat-select",b.ariaLabel="",b.optionSelectionChanges=Object(sn.a)((function(){var t=b.options;return t?t.changes.pipe(Object(C.a)(t),Object(x.a)((function(){return Object(m.a).apply(void 0,t.map((function(t){return t.onSelectionChange})))}))):b._ngZone.onStable.asObservable().pipe(Object(O.a)(1),Object(x.a)((function(){return b.optionSelectionChanges})))})),b.openedChange=new r.m,b._openedStream=b.openedChange.pipe(Object(S.a)((function(t){return t})),Object(xt.a)((function(){}))),b._closedStream=b.openedChange.pipe(Object(S.a)((function(t){return!t})),Object(xt.a)((function(){}))),b.selectionChange=new r.m,b.valueChange=new r.m,b.ngControl&&(b.ngControl.valueAccessor=b),b._scrollStrategyFactory=f,b._scrollStrategy=b._scrollStrategyFactory(),b.tabIndex=parseInt(p)||0,b.id=b.id,b}return __extends(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(_.b)(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new de.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(re.a)(),Object(E.a)(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(E.a)(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(E.a)(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Object(C.a)(null),Object(E.a)(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=e===w.b||e===w.l||e===w.g||e===w.i,r=this._keyManager;if((e===w.d||e===w.j)&&!Object(w.o)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;e===w.f||e===w.c?(e===w.f?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;this._liveAnnouncer&&o&&i!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=e===w.b||e===w.l,r=this._keyManager;if(e===w.f||e===w.c)t.preventDefault(),e===w.f?r.setFirstItemActive():r.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==w.d&&e!==w.j||!r.activeItem||Object(w.o)(t))if(this._multiple&&e===w.a&&t.ctrlKey){t.preventDefault();var i=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(i?t.select():t.deselect())}))}else{var o=r.activeItemIndex;r.onKeydown(t),this._multiple&&n&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(Object(O.a)(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return Object(r.V)()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new y.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(E.a)(this._destroy)).subscribe((function(){t.focus(),t.close()})),this._keyManager.change.pipe(Object(E.a)(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))},e.prototype._resetOptions=function(){var t=this,e=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(E.a)(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),Object(m.a).apply(void 0,this.options.map((function(t){return t._stateChanges}))).pipe(Object(E.a)(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,r){return t.sortComparator?t.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)})),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new hn(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t=this._keyManager.activeItemIndex||0,e=Object(v.x)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(v.y)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._getOptionIndex=function(t){return this.options.reduce((function(e,n,r){return void 0===e?t===n?r:void 0:e}),void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),r=e*t-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(v.x)(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},e.prototype._calculateOverlayScroll=function(t,e,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*t-e+r/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)t=40;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}r||(t*=-1);var a=0-(e.left+t-(r?i:0)),s=e.right+t-n.width+(r?0:i);a>0?t+=a+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*r-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):o>r?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Object(v.A)(Object(v.D)(Object(v.B)(Object(v.C)(pn))))),fn=function(){},mn=n("DH7j"),gn=n("XoHu"),bn=n("Cfvw");function yn(t,e){return new vt.a((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var l=Object(bn.a)(t[s]),u=!1;n.add(l.subscribe({next:function(t){u||(u=!0,a++),i[s]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&u||(a===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},l=0;lt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return _n(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return _n(t.value)?null:wn.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(_n(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(_n(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(xn);return 0==e.length?null:function(t){return Sn(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(xn);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e\n \n \n
\n \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Tn='\n \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',Pn='\n ',An=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Dn)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+In+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Pn)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Dn)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+In)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Tn)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function jn(t,e){t||Ln(e,"Cannot find control with"),e.valueAccessor||Ln(e,"No value accessor for form control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Rn(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Rn(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function Rn(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mn(t,e){null==t&&Ln(e,"Cannot find control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator])}function Nn(t){return Ln(t,"There is no FormControl instance attached to form control element with")}function Ln(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Fn(t){return null!=t?Cn.compose(t.map(En)):null}function Vn(t){return null!=t?Cn.composeAsync(t.map(kn)):null}function Bn(t,e){t._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function zn(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function Hn(t){var e=qn(t)?t.validators:t;return Array.isArray(e)?Fn(e):e||null}function Un(t,e){var n=qn(e)?e.asyncValidators:t;return Array.isArray(n)?Vn(n):n||null}function qn(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Kn=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Hn(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Un(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign({},t,{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign({},t,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=On(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(t,e){return t instanceof Gn?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Yn&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new r.m,this.statusChanges=new r.m},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){qn(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Wn=function(t){function e(e,n,r){void 0===e&&(e=null);var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this)._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return __extends(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Kn),Gn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Wn?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(Kn),Yn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Wn?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Kn),Qn=Promise.resolve(null),Zn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).submitted=!1,i._directives=[],i.ngSubmit=new r.m,i.form=new Gn({},Fn(e),Vn(n)),i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),jn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),zn(e._directives,t)}))},e.prototype.addFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path),r=new Gn({});Mn(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Qn.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(vn),Xn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.m,i}return __extends(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return jn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){zn(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return Nn(e)})),e.valueAccessor.registerOnTouched((function(){return Nn(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&jn(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Fn(this._validators);this.form.validator=Cn.compose([this.form.validator,t]);var e=Vn(this._asyncValidators);this.form.asyncValidator=Cn.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||An.missingFormException()},e}(vn),Jn=r.pb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function $n(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function tr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function er(t){return r.Mb(0,[r.Cb(null,0),(t()(),r.gb(0,null,null,0))],null,null)}function nr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),r.qb(1,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,tr)),r.qb(3,16384,null,0,Z.p,[r.N,r.K,Z.n],null,null),(t()(),r.gb(16777216,null,null,1,null,er)),r.qb(5,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function rr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),r.rb(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var r=!0,i=t.component;return"@transformPanel.done"===e&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(3,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Cb(null,1)],(function(t,e){var n=e.component;t(e,3,0,r.vb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function ir(t){return r.Mb(2,[r.Ib(671088640,1,{trigger:0}),r.Ib(671088640,2,{panel:0}),r.Ib(671088640,3,{overlayDir:0}),(t()(),r.rb(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggle()&&r),r}),null,null)),r.qb(4,16384,[["origin",4]],0,R.b,[r.k],null,null),(t()(),r.rb(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),r.qb(6,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,$n)),r.qb(8,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,nr)),r.qb(10,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.rb(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),r.rb(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,(function(t,e,n){var r=!0,i=t.component;return"backdropClick"===e&&(r=!1!==i.close()&&r),"attach"===e&&(r=!1!==i._onAttached()&&r),"detach"===e&&(r=!1!==i.close()&&r),r}),rr)),r.qb(14,671744,[[3,4]],0,R.a,[R.c,r.K,r.N,R.j,[2,Y.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,r.Db(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}n("3UWI");var or,ar=Object(M.f)({passive:!0}),sr=((or=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return ne.a;var n=Object(_.d)(t),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new d.a,o="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!1})}))):(n.classList.add(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",a,ar),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,ar)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=Object(_.d)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach((function(e,n){return t.stopMonitoring(n)}))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new or(Object(r.Rb)(M.a),Object(r.Rb)(r.x))},token:or,providedIn:"root"}),or),lr=function(){},ur=["button","checkbox","file","hidden","image","radio","range","reset","submit"],cr=0,hr=function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r},pr=function(t){function e(e,n,r,i,o,a,s,l,u){var c=this;(c=t.call(this,a,i,o,r)||this)._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+cr++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new d.a,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Object(M.e)().has(t)}));var h=c._elementRef.nativeElement;return c._inputValueAccessor=s||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return __extends(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(_.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(M.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(_.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(ur.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(Object(v.C)(hr)),dr=function(){},fr=n("D8EZ"),mr=r.pb({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]],data:{}});function gr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==r.Db(t,1)._handleKeydown(n)&&i),i}),je,Pe)),r.qb(1,8568832,[[28,4]],0,v.p,[r.k,r.h,[2,v.j],[2,v.o]],{value:[0,"value"]},null),(t()(),r.Kb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.id)}),(function(t,e){t(e,0,0,r.Db(e,1)._getTabIndex(),r.Db(e,1).selected,r.Db(e,1).multiple,r.Db(e,1).active,r.Db(e,1).id,r.Db(e,1)._getAriaSelected(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function br(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,25,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,24,"mat-form-field",[["appaerance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(2,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],null,null),r.Ib(603979776,19,{_controlNonStatic:0}),r.Ib(335544320,20,{_controlStatic:0}),r.Ib(603979776,21,{_labelChildNonStatic:0}),r.Ib(335544320,22,{_labelChildStatic:0}),r.Ib(603979776,23,{_placeholderChild:0}),r.Ib(603979776,24,{_errorChildren:1}),r.Ib(603979776,25,{_hintChildren:1}),r.Ib(603979776,26,{_prefixChildren:1}),r.Ib(603979776,27,{_suffixChildren:1}),(t()(),r.rb(12,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(13,16384,[[21,4],[22,4]],0,Ve,[],null,null),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Authenticator"])),(t()(),r.rb(17,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,o=t.component;return"keydown"===e&&(i=!1!==r.Db(t,19)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==r.Db(t,19)._onFocus()&&i),"blur"===e&&(i=!1!==r.Db(t,19)._onBlur()&&i),"selectionChange"===e&&(i=!1!==o.changeAuth(n.value)&&i),i}),ir,Jn)),r.Hb(6144,null,v.j,null,[dn]),r.qb(19,2080768,null,3,dn,[X.d,r.h,r.x,v.b,r.k,[2,Y.b],[2,Zn],[2,Xn],[2,qe],[8,null],[8,null],un,y.g],{value:[0,"value"]},{selectionChange:"selectionChange"}),r.Ib(603979776,28,{options:1}),r.Ib(603979776,29,{optionGroups:1}),r.Ib(603979776,30,{customTrigger:0}),r.Hb(2048,[[19,4],[20,4]],Le,null,[dn]),(t()(),r.gb(16777216,null,1,1,null,gr)),r.qb(25,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,15,0),t(e,19,0,n.auths[0].id),t(e,25,0,n.auths)}),(function(t,e){t(e,1,1,["standard"==r.Db(e,2).appearance,"fill"==r.Db(e,2).appearance,"outline"==r.Db(e,2).appearance,"legacy"==r.Db(e,2).appearance,r.Db(e,2)._control.errorState,r.Db(e,2)._canLabelFloat,r.Db(e,2)._shouldLabelFloat(),r.Db(e,2)._hasFloatingLabel(),r.Db(e,2)._hideControlPlaceholder(),r.Db(e,2)._control.disabled,r.Db(e,2)._control.autofilled,r.Db(e,2)._control.focused,"accent"==r.Db(e,2).color,"warn"==r.Db(e,2).color,r.Db(e,2)._shouldForward("untouched"),r.Db(e,2)._shouldForward("touched"),r.Db(e,2)._shouldForward("pristine"),r.Db(e,2)._shouldForward("dirty"),r.Db(e,2)._shouldForward("valid"),r.Db(e,2)._shouldForward("invalid"),r.Db(e,2)._shouldForward("pending"),!r.Db(e,2)._animationsEnabled]),t(e,17,1,[r.Db(e,19).id,r.Db(e,19).tabIndex,r.Db(e,19)._getAriaLabel(),r.Db(e,19)._getAriaLabelledby(),r.Db(e,19).required.toString(),r.Db(e,19).disabled.toString(),r.Db(e,19).errorState,r.Db(e,19).panelOpen?r.Db(e,19)._optionIds:null,r.Db(e,19).multiple,r.Db(e,19)._ariaDescribedby||null,r.Db(e,19)._getAriaActiveDescendant(),r.Db(e,19).disabled,r.Db(e,19).errorState,r.Db(e,19).required,r.Db(e,19).empty])}))}function yr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,57,"form",[["id","loginform"],["method","post"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"input",[["id","token"],["name",""],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"input",[["id","id_logouturl"],["name","logouturl"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"input",[["id","authenticator"],["name","authenticator"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,53,"div",[["class","login-container"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,"div",[["class","login-brand"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"div",[["class","login-info"]],null,null,null,null,null)),(t()(),r.Kb(8,null,[" "," "])),(t()(),r.rb(9,0,null,null,48,"div",[["class","login-form"]],null,null,null,null,null)),(t()(),r.rb(10,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(12,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,1,{_controlNonStatic:0}),r.Ib(335544320,2,{_controlStatic:0}),r.Ib(603979776,3,{_labelChildNonStatic:0}),r.Ib(335544320,4,{_labelChildStatic:0}),r.Ib(603979776,5,{_placeholderChild:0}),r.Ib(603979776,6,{_errorChildren:1}),r.Ib(603979776,7,{_hintChildren:1}),r.Ib(603979776,8,{_prefixChildren:1}),r.Ib(603979776,9,{_suffixChildren:1}),(t()(),r.rb(22,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(23,16384,[[3,4],[4,4]],0,Ve,[],null,null),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Username"])),(t()(),r.rb(27,0,null,1,2,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["id","id_user"],["matInput",""],["name","user"],["required",""],["value",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,28)._onInput()&&i),i}),null,null)),r.qb(28,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],required:[1,"required"],value:[2,"value"]},null),r.Hb(2048,[[1,4],[2,4]],Le,null,[pr]),(t()(),r.rb(30,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(32,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,10,{_controlNonStatic:0}),r.Ib(335544320,11,{_controlStatic:0}),r.Ib(603979776,12,{_labelChildNonStatic:0}),r.Ib(335544320,13,{_labelChildStatic:0}),r.Ib(603979776,14,{_placeholderChild:0}),r.Ib(603979776,15,{_errorChildren:1}),r.Ib(603979776,16,{_hintChildren:1}),r.Ib(603979776,17,{_prefixChildren:1}),r.Ib(603979776,18,{_suffixChildren:1}),(t()(),r.rb(42,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(43,16384,[[12,4],[13,4]],0,Ve,[],null,null),(t()(),r.rb(44,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(45,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Password"])),(t()(),r.rb(47,0,null,1,2,"input",[["class","form-control mat-input-element mat-form-field-autofill-control"],["data-eye",""],["id","id_password"],["matInput",""],["name","password"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,48)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,48)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,48)._onInput()&&i),i}),null,null)),r.qb(48,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],type:[1,"type"]},null),r.Hb(2048,[[10,4],[11,4]],Le,null,[pr]),(t()(),r.gb(16777216,null,null,1,null,br)),r.qb(51,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(52,0,null,null,5,"div",[["class","login-button"]],null,null,null,null,null)),(t()(),r.rb(53,0,null,null,4,"button",[["color","primary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,pt,ht)),r.qb(54,180224,null,0,lt,[r.k,y.e,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(55,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(56,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Login"]))],(function(t,e){var n=e.component;t(e,12,0,"standard"),t(e,25,0),t(e,28,0,"id_user","",""),t(e,32,0,"standard"),t(e,45,0),t(e,48,0,"id_password","password"),t(e,51,0,n.auths.length>1),t(e,54,0,"primary"),t(e,56,0)}),(function(t,e){var n=e.component;t(e,6,0,n.api.staticURL("modern/img/login-img.png")),t(e,8,0,n.title),t(e,11,1,["standard"==r.Db(e,12).appearance,"fill"==r.Db(e,12).appearance,"outline"==r.Db(e,12).appearance,"legacy"==r.Db(e,12).appearance,r.Db(e,12)._control.errorState,r.Db(e,12)._canLabelFloat,r.Db(e,12)._shouldLabelFloat(),r.Db(e,12)._hasFloatingLabel(),r.Db(e,12)._hideControlPlaceholder(),r.Db(e,12)._control.disabled,r.Db(e,12)._control.autofilled,r.Db(e,12)._control.focused,"accent"==r.Db(e,12).color,"warn"==r.Db(e,12).color,r.Db(e,12)._shouldForward("untouched"),r.Db(e,12)._shouldForward("touched"),r.Db(e,12)._shouldForward("pristine"),r.Db(e,12)._shouldForward("dirty"),r.Db(e,12)._shouldForward("valid"),r.Db(e,12)._shouldForward("invalid"),r.Db(e,12)._shouldForward("pending"),!r.Db(e,12)._animationsEnabled]),t(e,27,0,r.Db(e,28)._isServer,r.Db(e,28).id,r.Db(e,28).placeholder,r.Db(e,28).disabled,r.Db(e,28).required,r.Db(e,28).readonly&&!r.Db(e,28)._isNativeSelect||null,r.Db(e,28)._ariaDescribedby||null,r.Db(e,28).errorState,r.Db(e,28).required.toString()),t(e,31,1,["standard"==r.Db(e,32).appearance,"fill"==r.Db(e,32).appearance,"outline"==r.Db(e,32).appearance,"legacy"==r.Db(e,32).appearance,r.Db(e,32)._control.errorState,r.Db(e,32)._canLabelFloat,r.Db(e,32)._shouldLabelFloat(),r.Db(e,32)._hasFloatingLabel(),r.Db(e,32)._hideControlPlaceholder(),r.Db(e,32)._control.disabled,r.Db(e,32)._control.autofilled,r.Db(e,32)._control.focused,"accent"==r.Db(e,32).color,"warn"==r.Db(e,32).color,r.Db(e,32)._shouldForward("untouched"),r.Db(e,32)._shouldForward("touched"),r.Db(e,32)._shouldForward("pristine"),r.Db(e,32)._shouldForward("dirty"),r.Db(e,32)._shouldForward("valid"),r.Db(e,32)._shouldForward("invalid"),r.Db(e,32)._shouldForward("pending"),!r.Db(e,32)._animationsEnabled]),t(e,47,0,r.Db(e,48)._isServer,r.Db(e,48).id,r.Db(e,48).placeholder,r.Db(e,48).disabled,r.Db(e,48).required,r.Db(e,48).readonly&&!r.Db(e,48)._isNativeSelect||null,r.Db(e,48)._ariaDescribedby||null,r.Db(e,48).errorState,r.Db(e,48).required.toString()),t(e,53,0,r.Db(e,54).disabled||null,"NoopAnimations"===r.Db(e,54)._animationMode)}))}var vr=r.nb("uds-login",fr.a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-login",[],null,null,null,yr,mr)),r.qb(1,114688,null,0,fr.a,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),_r=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),wr=r.pb({encapsulation:0,styles:[[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 21%}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:justify}"]],data:{}});function Cr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"div",[["class","plugin"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","image"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(3,0,null,null,1,"div",[["class","platform"]],null,null,null,null,null)),(t()(),r.Kb(4,null,[" "," "])),(t()(),r.rb(5,0,null,null,1,"div",[["class","description"]],null,null,null,null,null)),(t()(),r.Kb(6,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.img(e.context.$implicit.name)),t(e,4,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.description)}))}function xr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,13,"div",[["class","plugins-container"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Client"])),(t()(),r.rb(7,0,null,null,2,"div",[["class","plugins"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Cr)),r.qb(9,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(10,0,null,null,3,"div",[["class","info"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Download UDS client for your platform"]))],(function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.api.plugins),t(e,12,0)}),null)}var Or=r.nb("uds-client-download",_r,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-client-download",[],null,null,null,xr,wr)),r.qb(1,114688,null,0,_r,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Sr=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)},t}(),Er=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),kr=r.pb({encapsulation:0,styles:[[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700}"]],data:{}});function Dr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","actor"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","name"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(2,1),(t()(),r.rb(3,0,null,null,1,"div",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(4,1)],null,(function(t,e){var n=r.Lb(e,1,0,t(e,2,0,r.Db(e.parent,0),e.context.$implicit.name));t(e,1,0,n);var i=r.Lb(e,3,0,t(e,4,0,r.Db(e.parent,0),e.context.$implicit.description));t(e,3,0,i)}))}function Ir(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,9,"div",[["class","actors-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(6,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Downloads"])),(t()(),r.rb(8,0,null,null,2,"div",[["class","actors"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Dr)),r.qb(10,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,6,0),t(e,10,0,n.api.actors)}),null)}var Tr=r.nb("uds-downloads",Er,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-downloads",[],null,null,null,Ir,kr)),r.qb(1,114688,null,0,Er,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Pr=function(){function t(t){this.route=t,this.error=""}return t.prototype.ngOnInit=function(){this.getError()},t.prototype.getError=function(){var t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),(function(t){return t.charCodeAt(t)}))).replace("\n"," "),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}},t}(),Ar=r.pb({encapsulation:0,styles:[[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:5s infinite CogAnimation;animation:5s infinite CogAnimation}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]],data:{}});function jr(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,17,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","graph"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,1,":svg:svg",[["class","bird"],["viewBox","0 0 55 41"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,0,":svg:path",[["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,":svg:svg",[["class","gears"],["viewBox","0 0 32 32"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,":svg:path",[["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,3,"h1",[["class","title"]],null,null,null,null,null)),(t()(),r.rb(8,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(9,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["An error has occurred"])),(t()(),r.rb(11,0,null,null,1,"p",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(12,1),(t()(),r.rb(13,0,null,null,5,"a",[["color","warn"],["mat-raised-button",""],["routerLink","/"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),"click"===e&&(i=!1!==r.Db(t,15)._haltDisabledEvents(n)&&i),i}),ft,dt)),r.qb(14,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),r.qb(15,180224,null,0,ut,[y.e,r.k,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(16,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(17,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Return"]))],(function(t,e){t(e,9,0),t(e,14,0,"/"),t(e,15,0,"warn"),t(e,17,0)}),(function(t,e){var n=e.component,i=r.Lb(e,11,0,t(e,12,0,r.Db(e,0),n.error));t(e,11,0,i),t(e,13,0,r.Db(e,14).target,r.Db(e,14).href,r.Db(e,15).disabled?-1:r.Db(e,15).tabIndex||0,r.Db(e,15).disabled||null,r.Db(e,15).disabled.toString(),"NoopAnimations"===r.Db(e,15)._animationMode)}))}var Rr=r.nb("uds-error",Pr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-error",[],null,null,null,jr,Ar)),r.qb(1,114688,null,0,Pr,[s.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Mr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t}(),Nr=r.pb({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;padding-left:10px;cursor:pointer;border-bottom:1px solid #ccc}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function Lr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,47,"div",[["class","about"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),r.Kb(2,null,["Universal Desktop Services "," build ",""])),(t()(),r.rb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,1,"a",[["href","http://www.udsenterprise.com"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" \xa9 2012-2018 Virtual Cable S.L.U."])),(t()(),r.rb(6,0,null,null,5,"h4",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can access UDS Open Source code at"])),(t()(),r.rb(10,0,null,null,1,"a",[["href","https://github.com/dkmstr/openuds"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" OpenUDS github repository"])),(t()(),r.rb(12,0,null,null,35,"div",[["class","components"]],null,null,null,null,null)),(t()(),r.rb(13,0,null,null,3,"h2",[],null,null,null,null,null)),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS has been developed using these components:"])),(t()(),r.rb(17,0,null,null,24,"ul",[],null,null,null,null,null)),(t()(),r.rb(18,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,1,"a",[["href","https://www.python.org/"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Python"])),(t()(),r.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(22,0,null,null,1,"a",[["href","https://www.typescriptlang.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["TypeScript"])),(t()(),r.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(25,0,null,null,1,"a",[["href","https://www.djangoproject.com/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Django"])),(t()(),r.rb(27,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(28,0,null,null,1,"a",[["href","https://angular.io"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Angular"])),(t()(),r.rb(30,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,1,"a",[["href","https://guac-dev.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Guacamole"])),(t()(),r.rb(33,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(34,0,null,null,1,"a",[["href","https://weasyprint.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["weasyprint"])),(t()(),r.rb(36,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(37,0,null,null,1,"a",[["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Crystal project icons"])),(t()(),r.rb(39,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(40,0,null,null,1,"a",[["href","https://github.com/NitruxSA/flattr-icons"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Flattr Icons"])),(t()(),r.rb(42,0,null,null,5,"p",[],null,null,null,null,null)),(t()(),r.rb(43,0,null,null,4,"small",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["* "])),(t()(),r.rb(45,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(46,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If you find that we missed any component, please let us know"]))],(function(t,e){t(e,8,0),t(e,15,0),t(e,46,0)}),(function(t,e){var n=e.component;t(e,2,0,n.api.config.version,n.api.config.version_stamp)}))}var Fr=r.nb("uds-about",Mr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-about",[],null,null,null,Lr,Nr)),r.qb(1,114688,null,0,Mr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Vr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)},t}(),Br=r.pb({encapsulation:0,styles:[[""]],data:{}});function zr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,31,"div",[],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(3,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Service launcher"])),(t()(),r.rb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["The service you have requested is being launched."])),(t()(),r.rb(10,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Please, note that reloading this page will not work."])),(t()(),r.rb(14,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(15,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(16,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["To relaunch service, you will have to do it from origin."])),(t()(),r.rb(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,3,"h6",[],null,null,null,null,null)),(t()(),r.rb(20,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(21,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If the service does not launchs automatically, probably you dont have the UDS plugin installed"])),(t()(),r.rb(23,0,null,null,8,"h6",[],null,null,null,null,null)),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can obtain it from the"])),(t()(),r.rb(27,0,null,null,4,"a",[["routerLink","/client-download"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,28).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.qb(28,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),(t()(),r.rb(29,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(30,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Plugin download page"]))],(function(t,e){t(e,3,0),t(e,8,0),t(e,12,0),t(e,16,0),t(e,21,0),t(e,25,0),t(e,28,0,"/client-download"),t(e,30,0)}),(function(t,e){t(e,27,0,r.Db(e,28).target,r.Db(e,28).href)}))}var Hr=r.nb("uds-launcher",Vr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-launcher",[],null,null,null,zr,Br)),r.qb(1,114688,null,0,Vr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Ur=r.pb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function qr(t){return r.Mb(2,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var r=!0,i=t.component;return"@state.start"===e&&(r=!1!==i._animationStart()&&r),"@state.done"===e&&(r=!1!==i._animationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Eb(131072,Z.b,[r.h]),(t()(),r.Kb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=r.Lb(e,0,0,r.Db(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}var Kr=r.nb("mat-tooltip-component",Ft,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==r.Db(t,1)._handleBodyInteraction()&&i),i}),qr,Ur)),r.qb(1,180224,null,0,Ft,[r.h,It],null,null)],null,(function(t,e){t(e,0,0,"visible"===r.Db(e,1)._visibility?1:null)}))}),{},{},[]),Wr=n("s6ns"),Gr=r.pb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Yr(t){return r.Mb(0,[(t()(),r.gb(0,null,null,0))],null,null)}function Qr(t){return r.Mb(0,[r.Ib(402653184,1,{_portalOutlet:0}),(t()(),r.gb(16777216,null,null,1,null,Yr)),r.qb(2,212992,[[1,4]],0,p.b,[r.j,r.N],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}var Zr=r.nb("mat-dialog-container",Wr.i,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==r.Db(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==r.Db(t,1)._onAnimationDone(n)&&i),i}),Qr,Gr)),r.qb(1,49152,null,0,Wr.i,[r.k,y.f,r.h,[2,Z.d],Wr.h],null,null)],null,(function(t,e){t(e,0,0,r.Db(e,1)._id,r.Db(e,1)._config.role,r.Db(e,1)._config.ariaLabel?null:r.Db(e,1)._ariaLabelledBy,r.Db(e,1)._config.ariaLabel,r.Db(e,1)._config.ariaDescribedBy||null,r.Db(e,1)._state)}))}),{},{},[]),Xr=n("YY/e"),Jr=r.pb({encapsulation:0,styles:[[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]],data:{}});function $r(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.close()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Close"])),(t()(),r.Kb(6,0,["",""]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type),t(e,6,0,n.extra)}))}function ti(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.yes()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Yes"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ei(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.no()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["No"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ni(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,2,"h4",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"innerHTML",1],[8,"id",0]],null,null,null,null)),r.qb(2,81920,null,0,Wr.m,[[2,Wr.l],r.k,Wr.e],null,null),r.Gb(3,1),(t()(),r.rb(4,0,null,null,2,"mat-dialog-content",[["class","mat-dialog-content"]],[[8,"innerHTML",1]],null,null,null,null)),r.qb(5,16384,null,0,Wr.j,[],null,null),r.Gb(6,1),(t()(),r.rb(7,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),r.qb(8,16384,null,0,Wr.f,[],null,null),(t()(),r.gb(16777216,null,null,1,null,$r)),r.qb(10,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ti)),r.qb(12,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ei)),r.qb(14,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0),t(e,10,0,0==n.data.type),t(e,12,0,1==n.data.type),t(e,14,0,1==n.data.type)}),(function(t,e){var n=e.component,i=r.Lb(e,1,0,t(e,3,0,r.Db(e,0),n.data.title));t(e,1,0,i,r.Db(e,2).id);var o=r.Lb(e,4,0,t(e,6,0,r.Db(e,0),n.data.body));t(e,4,0,o)}))}var ri=r.nb("uds-modal",Xr.b,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-modal",[],null,null,null,ni,Jr)),r.qb(1,114688,null,0,Xr.b,[Wr.l,Wr.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),ii=function(t){this._elementRef=t},oi=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this)._platform=n,i._document=r,i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Object(r.V)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return t._checkToolbarMixedModes()})))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))})).filter((function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)})).some((function(t){return!(!t.textContent||!t.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Object(v.z)(ii)),ai=function(){},si=r.pb({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function li(t){return r.Mb(2,[r.Cb(null,0),r.Cb(null,1)],null,null)}var ui=function(){function t(t){this.api=t,this.style="";var e=t.config.language;this.langs=[];for(var n=0,r=t.config.available_languages;n0,0===r.Db(e,56)._toolbarRows.length),t(e,58,0,r.Db(e,60).disabled||null,"NoopAnimations"===r.Db(e,60)._animationMode),t(e,61,0,n.api.staticURL("modern/img/udsicon.png")),t(e,65,0,r.Db(e,67).disabled||null,"NoopAnimations"===r.Db(e,67)._animationMode),t(e,71,0,r.Db(e,73).disabled||null,"NoopAnimations"===r.Db(e,73)._animationMode),t(e,79,0,r.Db(e,80).disabled||null,"NoopAnimations"===r.Db(e,80)._animationMode,r.Db(e,81).menuOpen||null),t(e,82,0,n.lang.name),t(e,88,0,r.Db(e,89).disabled||null,"NoopAnimations"===r.Db(e,89)._animationMode,r.Db(e,90).menuOpen||null)}))}var bi=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),yi=r.pb({encapsulation:0,styles:[[""]],data:{}});function vi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["\xa9 2012-2018 "])),(t()(),r.rb(2,0,null,null,1,"a",[["href","https://www.udsenterprise.com"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Virtual Cable S.L.U."]))],null,null)}var _i=r.pb({encapsulation:0,styles:[[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:4rem auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]],data:{}});function wi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-navbar",[],null,null,null,gi,ci)),r.qb(1,114688,null,0,ui,[Bt.a],null,null),(t()(),r.rb(2,0,null,null,6,"div",[["class","page"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(t()(),r.rb(4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(5,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null),(t()(),r.rb(6,0,null,null,2,"div",[["class","footer"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"uds-footer",[],null,null,null,vi,yi)),r.qb(8,114688,null,0,bi,[],null,null)],(function(t,e){t(e,1,0),t(e,5,0),t(e,8,0)}),null)}var Ci,xi=r.nb("uds-root",a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-root",[],null,null,null,wi,_i)),r.qb(1,114688,null,0,a,[],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Oi=n("fDlF"),Si=n("IheW"),Ei=n("OPAf"),ki=((Ci=function(){function t(t){this.api=t}return t.prototype.canActivate=function(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)},t}()).ngInjectableDef=r.Qb({factory:function(){return new Ci(r.Rb(Bt.a))},token:Ci,providedIn:"root"}),Ci),Di=function(){},Ii=function(){},Ti=function(){},Pi={float:"always"},Ai=function(){},ji=r.ob(o,[a],(function(t){return r.Ab([r.Bb(512,r.j,r.Z,[[8,[c,Te,vr,Or,Tr,Rr,Fr,Hr,Kr,Zr,ri,xi]],[3,r.j],r.v]),r.Bb(5120,r.s,r.lb,[[3,r.s]]),r.Bb(4608,Z.m,Z.l,[r.s,[2,Z.y]]),r.Bb(5120,r.hb,r.mb,[r.x]),r.Bb(5120,r.c,r.ib,[]),r.Bb(5120,r.q,r.jb,[]),r.Bb(5120,r.r,r.kb,[]),r.Bb(4608,Q.b,Q.k,[Z.d]),r.Bb(6144,r.F,null,[Q.b]),r.Bb(4608,Q.e,v.c,[[2,v.g],[2,v.l]]),r.Bb(5120,Q.c,(function(t,e,n,r,i,o,a,s){return[new Q.i(t,e,n),new Q.n(r),new Q.m(i,o,a,s)]}),[Z.d,r.x,r.z,Z.d,Z.d,Q.e,r.ab,[2,Q.f]]),r.Bb(4608,Q.d,Q.d,[Q.c,r.x]),r.Bb(135680,Q.l,Q.l,[Z.d]),r.Bb(4608,Q.j,Q.j,[Q.d,Q.l,r.c]),r.Bb(5120,Oi.a,J.e,[]),r.Bb(5120,Oi.c,J.f,[]),r.Bb(4608,Oi.b,J.d,[Z.d,Oi.a,Oi.c]),r.Bb(5120,r.D,J.g,[Q.j,Oi.b,r.x]),r.Bb(6144,Q.o,null,[Q.l]),r.Bb(4608,r.L,r.L,[r.x]),r.Bb(4608,Si.h,Si.n,[Z.d,r.z,Si.l]),r.Bb(4608,Si.o,Si.o,[Si.h,Si.m]),r.Bb(5120,Si.a,(function(t){return[t]}),[Si.o]),r.Bb(4608,Si.k,Si.k,[]),r.Bb(6144,Si.i,null,[Si.k]),r.Bb(4608,Si.g,Si.g,[Si.i]),r.Bb(6144,Si.b,null,[Si.g]),r.Bb(4608,Si.f,Si.j,[Si.b,r.p]),r.Bb(4608,Si.c,Si.c,[Si.f]),r.Bb(5120,s.a,s.y,[s.k]),r.Bb(4608,s.d,s.d,[]),r.Bb(6144,s.f,null,[s.d]),r.Bb(135680,s.p,s.p,[s.k,r.u,r.i,r.p,s.f]),r.Bb(4608,s.e,s.e,[]),r.Bb(5120,s.D,s.u,[s.k,Z.s,s.g]),r.Bb(5120,s.h,s.B,[s.z]),r.Bb(5120,r.b,(function(t){return[t]}),[s.h]),r.Bb(4608,h.b,J.c,[r.D,Z.d]),r.Bb(4608,R.c,R.c,[R.i,R.e,r.j,R.h,R.f,r.p,r.x,Z.d,Y.b,[2,Z.g]]),r.Bb(5120,R.j,R.k,[R.c]),r.Bb(5120,H,U,[R.c]),r.Bb(4608,We.c,We.c,[]),r.Bb(5120,Rt,Mt,[R.c]),r.Bb(5120,Wr.c,Wr.d,[R.c]),r.Bb(135680,Wr.e,Wr.e,[R.c,r.p,[2,Z.g],[2,Wr.b],Wr.c,[3,Wr.e],R.e]),r.Bb(4608,v.b,v.b,[]),r.Bb(5120,un,cn,[R.c]),r.Bb(4608,Ei.a,Ei.a,[Wr.e]),r.Bb(4608,Bt.a,Bt.a,[Si.c,Ei.a,s.k]),r.Bb(1073742336,Z.c,Z.c,[]),r.Bb(1024,r.l,Q.p,[]),r.Bb(1024,r.w,(function(){return[s.t()]}),[]),r.Bb(512,s.z,s.z,[r.p]),r.Bb(1024,r.d,(function(t,e){return[Q.q(t),s.A(e)]}),[[2,r.w],s.z]),r.Bb(512,r.e,r.e,[[2,r.d]]),r.Bb(131584,r.g,r.g,[r.x,r.ab,r.p,r.l,r.j,r.e]),r.Bb(1073742336,r.f,r.f,[r.g]),r.Bb(1073742336,Q.a,Q.a,[[3,Q.a]]),r.Bb(1073742336,Ot,Ot,[]),r.Bb(1073742336,Si.e,Si.e,[]),r.Bb(1073742336,Si.d,Si.d,[]),r.Bb(1024,s.s,s.w,[[3,s.k]]),r.Bb(512,s.r,s.c,[]),r.Bb(512,s.b,s.b,[]),r.Bb(256,s.g,{},[]),r.Bb(1024,Z.h,s.v,[Z.r,[2,Z.a],s.g]),r.Bb(512,Z.g,Z.g,[Z.h,Z.r]),r.Bb(512,r.i,r.i,[]),r.Bb(512,r.u,r.I,[r.i,[2,r.J]]),r.Bb(1024,s.i,(function(){return[[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Ee,canActivate:[ki]},{path:"login",component:fr.a},{path:"login/:id",component:fr.a},{path:"client-download",component:_r},{path:"downloads",component:Er,canActivate:[ki]},{path:"error/:id",component:Pr},{path:"about",component:Mr},{path:"ticket/launcher",component:Vr},{path:"**",redirectTo:"services"}]]}),[]),r.Bb(1024,s.k,s.x,[r.g,s.r,s.b,Z.g,r.p,r.u,r.i,s.i,s.g,[2,s.q],[2,s.j]]),r.Bb(1073742336,s.n,s.n,[[2,s.s],[2,s.k]]),r.Bb(1073742336,Di,Di,[]),r.Bb(1073742336,J.b,J.b,[]),r.Bb(1073742336,Y.a,Y.a,[]),r.Bb(1073742336,v.l,v.l,[[2,v.d],[2,Q.f]]),r.Bb(1073742336,ai,ai,[]),r.Bb(1073742336,M.b,M.b,[]),r.Bb(1073742336,v.u,v.u,[]),r.Bb(1073742336,ct,ct,[]),r.Bb(1073742336,p.f,p.f,[]),r.Bb(1073742336,X.b,X.b,[]),r.Bb(1073742336,R.g,R.g,[]),r.Bb(1073742336,W,W,[]),r.Bb(1073742336,G,G,[]),r.Bb(1073742336,We.d,We.d,[]),r.Bb(1073742336,y.a,y.a,[]),r.Bb(1073742336,Vt,Vt,[]),r.Bb(1073742336,ee,ee,[]),r.Bb(1073742336,pe,pe,[]),r.Bb(1073742336,Wr.k,Wr.k,[]),r.Bb(1073742336,Ke,Ke,[]),r.Bb(1073742336,lr,lr,[]),r.Bb(1073742336,dr,dr,[]),r.Bb(1073742336,v.s,v.s,[]),r.Bb(1073742336,v.q,v.q,[]),r.Bb(1073742336,fn,fn,[]),r.Bb(1073742336,Ii,Ii,[]),r.Bb(1073742336,Ti,Ti,[]),r.Bb(1073742336,Ai,Ai,[]),r.Bb(1073742336,o,o,[]),r.Bb(256,r.Y,!0,[]),r.Bb(256,Si.l,"XSRF-TOKEN",[]),r.Bb(256,Si.m,"X-XSRF-TOKEN",[]),r.Bb(256,J.a,"BrowserAnimations",[]),r.Bb(256,v.h,Pi,[])])}));i.a.production&&Object(r.R)(),Q.h().bootstrapModuleFactory(ji).catch((function(t){return console.log(t)}))}},[[0,0]]]);
\ No newline at end of file
+var __extends=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__read=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},__spread=this&&this.__spread||function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return f}));var r,i=n("8Y7J"),o=n("SVse");try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){r=!1}var a,s,l=function(){var t=function(t){this._platformId=t,this.isBrowser=this._platformId?Object(o.t)(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&&!r)&&"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(i.Qb)({factory:function(){return new t(Object(i.Rb)(i.z,8))},token:t,providedIn:"root"}),t}(),u=function(){},c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function h(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(c);var t=document.createElement("input");return a=new Set(c.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function p(t){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?t:!!t.capture}var d,f=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();function m(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function g(){if("object"!=typeof document||!document)return f.NORMAL;if(!d){var 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";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),d=f.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?f.NEGATED:f.INVERTED),t.parentNode.removeChild(t)}return d}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return __extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(r.a)},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("l7GE"),i=n("ZUHj");function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new s(t),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),s=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).seenValue=!1,n}return __extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(r.a)},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.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=function(t){function e(e,n){return t.call(this)||this}return __extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("quSY").a);n.d(e,"a",(function(){return i}));var i=function(t){function e(e,n){var r=this;return(r=t.call(this,e,n)||this).scheduler=e,r.work=n,r.pending=!1,r}return __extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var 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},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var 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},e}(r)},"3UWI":function(t,e,n){"use strict";var r=n("D0XW"),i=n("l7GE"),o=n("ZUHj"),a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector))},t}(),s=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).durationSelector=n,r.hasValue=!1,r}return __extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(r){return this.destination.error(r)}var n=Object(o.a)(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.a),l=n("HDdC"),u=n("Y7HM"),c=n("z+Ro");function h(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function p(t,e){return void 0===e&&(e=r.a),n=function(){return function(t,e,n){void 0===t&&(t=0);var i=-1;return Object(u.a)(e)?i=Number(e)<1?1:Number(e):Object(c.a)(e)&&(n=e),Object(c.a)(n)||(n=r.a),new l.a((function(e){var r=Object(u.a)(t)?t:+t-n.now();return n.schedule(h,r,{index:0,period:i,subscriber:e})}))}(t,e)},function(t){return t.lift(new a(n))};var n}n.d(e,"a",(function(){return p}))},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("ZUHj"),i=n("l7GE"),o=n("51Dv"),a=n("lJxs"),s=n("Cfvw");function l(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(l((function(n,r){return Object(s.a)(t(n,r)).pipe(Object(a.a)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new u(t,n))})}var u=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=this;return(i=t.call(this,e)||this).project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return __extends(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return __extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("7o/Q").a)},"5GAg":function(t,e,n){"use strict";n.d(e,"c",(function(){return _})),n.d(e,"b",(function(){return C})),n.d(e,"d",(function(){return x})),n.d(e,"f",(function(){return D})),n.d(e,"g",(function(){return P})),n.d(e,"e",(function(){return R})),n.d(e,"h",(function(){return M})),n.d(e,"a",(function(){return N}));var r=n("SVse"),i=n("8Y7J"),o=n("XNiG"),a=n("quSY"),s=n("LRne"),l=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),h=n("pLZG"),p=n("lJxs"),d=n("IzEk"),f=n("/HVE"),m=n("KCVW");function g(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var b=0,y=new Map,v=null,_=function(){var t=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=y.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}}))}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some((function(t){return"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(u.a)((function(t){return e._pressedLetters.push(t)})),Object(c.a)(t),Object(h.a)((function(){return e._pressedLetters.length>0})),Object(p.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),r=1;r-1}));switch(n){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&r){this.setNextItemActive();break}return;case l.l:if(this._vertical&&r){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Object(l.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=l.a&&n<=l.m||n>=l.n&&n<=l.h)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),r=e[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof i.B?this._items.toArray():this._items},t}(),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(w),x=function(t){function e(){var e=this;return(e=t.apply(this,__spread(arguments))||this)._origin="program",e}return __extends(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(w),O=function(){var t=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===E(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),o=E(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||S(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t}();return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(f.a))},token:t,providedIn:"root"}),t}();function S(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function E(t){if(!S(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var k=function(){function t(t,e,n,r,i){var o=this;void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe(t)},t}(),D=function(){var t=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new k(t,this._checker,this._ngZone,this._document,e)},t}();return t.ngInjectableDef=Object(i.Qb)({factory:function(){return new t(Object(i.Rb)(O),Object(i.Rb)(i.x),Object(i.Rb)(r.d))},token:t,providedIn:"root"}),t}(),I=new i.o("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),T=new i.o("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),P=function(){var t=function(){function t(t,e,n,r){this._ngZone=e,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e,n=this,r=[],i=1;i0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(a(n),e.scheduled=void 0)},e}(n("3N8a").a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(s.a),p=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return __extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new i.a).add(this.source.subscribe(new f(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t},e.prototype.refCount=function(){return l()(this)},e}(o.a),d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(u=p.prototype)._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},f=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).connectable=n,r}return __extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(r.b);function m(){return new r.a}n.d(e,"jb",(function(){return Wa})),n.d(e,"kb",(function(){return Ga})),n.d(e,"lb",(function(){return Ya})),n.d(e,"mb",(function(){return Qa})),n.d(e,"ib",(function(){return Uo})),n.d(e,"hb",(function(){return Do})),n.d(e,"g",(function(){return Aa})),n.d(e,"Q",(function(){return ka})),n.d(e,"w",(function(){return Ea})),n.d(e,"R",(function(){return we})),n.d(e,"V",(function(){return _e})),n.d(e,"c",(function(){return Ho})),n.d(e,"A",(function(){return Ko})),n.d(e,"z",(function(){return Wo})),n.d(e,"b",(function(){return Go})),n.d(e,"d",(function(){return Bo})),n.d(e,"e",(function(){return zo})),n.d(e,"T",(function(){return Ua})),n.d(e,"L",(function(){return _a})),n.d(e,"X",(function(){return Ca})),n.d(e,"s",(function(){return Qo})),n.d(e,"f",(function(){return Za})),n.d(e,"m",(function(){return Lo})),n.d(e,"l",(function(){return be})),n.d(e,"F",(function(){return Ke})),n.d(e,"G",(function(){return qe})),n.d(e,"a",(function(){return Tn})),n.d(e,"O",(function(){return nt})),n.d(e,"M",(function(){return mr})),n.d(e,"Qb",(function(){return O})),n.d(e,"S",(function(){return I})),n.d(e,"p",(function(){return Cn})),n.d(e,"Rb",(function(){return G})),n.d(e,"U",(function(){return Y})),n.d(e,"o",(function(){return L})),n.d(e,"n",(function(){return y})),n.d(e,"y",(function(){return v})),n.d(e,"H",(function(){return w})),n.d(e,"x",(function(){return da})),n.d(e,"C",(function(){return dr})),n.d(e,"D",(function(){return hr})),n.d(e,"E",(function(){return pr})),n.d(e,"i",(function(){return ia})),n.d(e,"j",(function(){return ir})),n.d(e,"k",(function(){return lr})),n.d(e,"t",(function(){return J})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return Ra})),n.d(e,"B",(function(){return Vo})),n.d(e,"I",(function(){return La})),n.d(e,"J",(function(){return Ma})),n.d(e,"K",(function(){return Ar})),n.d(e,"N",(function(){return Rr})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return kr})),n.d(e,"r",(function(){return Dr})),n.d(e,"P",(function(){return Nn})),n.d(e,"W",(function(){return Ka})),n.d(e,"wb",(function(){return Ln})),n.d(e,"ab",(function(){return Yo})),n.d(e,"Y",(function(){return _n})),n.d(e,"Z",(function(){return or})),n.d(e,"db",(function(){return He})),n.d(e,"eb",(function(){return Ye})),n.d(e,"fb",(function(){return Se})),n.d(e,"ub",(function(){return N})),n.d(e,"zb",(function(){return Rn})),n.d(e,"Jb",(function(){return k})),n.d(e,"xb",(function(){return Xn})),n.d(e,"yb",(function(){return Zn})),n.d(e,"tb",(function(){return jo})),n.d(e,"sb",(function(){return Ro})),n.d(e,"bb",(function(){return Io})),n.d(e,"cb",(function(){return To})),n.d(e,"Pb",(function(){return pt})),n.d(e,"Nb",(function(){return Pn})),n.d(e,"Tb",(function(){return Vn})),n.d(e,"Sb",(function(){return Bn})),n.d(e,"Ob",(function(){return zn})),n.d(e,"Ub",(function(){return qn})),n.d(e,"gb",(function(){return Xa})),n.d(e,"nb",(function(){return Bi})),n.d(e,"ob",(function(){return wl})),n.d(e,"pb",(function(){return $r})),n.d(e,"qb",(function(){return co})),n.d(e,"rb",(function(){return Ja})),n.d(e,"vb",(function(){return Ei})),n.d(e,"Ab",(function(){return ji})),n.d(e,"Bb",(function(){return Ai})),n.d(e,"Cb",(function(){return ls})),n.d(e,"Db",(function(){return Xi})),n.d(e,"Eb",(function(){return ho})),n.d(e,"Hb",(function(){return po})),n.d(e,"Fb",(function(){return hs})),n.d(e,"Gb",(function(){return cs})),n.d(e,"Ib",(function(){return rs})),n.d(e,"Kb",(function(){return ds})),n.d(e,"Lb",(function(){return Zr})),n.d(e,"Mb",(function(){return gs}));var g="__parameters__";function b(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):k(s)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+t.replace(B,"\n ")}var X=function(){},J=function(){};function $(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function tt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var et=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),nt=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}(),rt={},it=[],ot=x({ngComponentDef:x}),at=x({ngDirectiveDef:x}),st=x({ngPipeDef:x}),lt=0;function ut(t){return function(t){return t[ot]||null}(t)||function(t){return t[at]||null}(t)}function ct(t){return function(t){return t[st]||null}(t)}function ht(t,e){if(null==t)return rt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var pt=function(t){var e=t.type,n=e.prototype,r={},i={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===et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||nt.Emulated,id:"c",styles:t.styles||it,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=""+{toString:function(){var n=t.directives,o=t.features,a=t.pipes;i.id+=lt++,i.inputs=ht(t.inputs,r),i.outputs=ht(t.outputs),o&&o.forEach((function(t){return t(i)})),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(ut)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(ct)}:null,e.hasOwnProperty(E)||(e[E]=O({token:e,factory:t.factory}))}},i},dt=0,ft=1,mt=7,gt=12,bt=19,yt=null,vt=new Map,_t=null,wt=1,Ct=0;function xt(t,e){return _t&&t===_t||(_t=t,e&&(yt=vt.get(t)||null),yt=yt||{classesBitMask:Ct,classesIndex:wt,stylesBitMask:Ct,stylesIndex:wt}),yt}function Ot(t,e){return function(t){for(;Array.isArray(t);)t=t[dt];return t}(e[t.index])}function St(t,e){return e[ft].data[t+bt]}var Et=null;function kt(){return It}var Dt,It,Tt,Pt=1,At=0,jt=0,Rt=-1;function Mt(){return Rt}function Nt(){return Tt}var Lt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N),Ft="--MAP--",Vt=0;function Bt(t,e){e===Vt?t[2]>Vt&&function(t){Ht(t,2|zt(t))}(t):t[2]=e}function zt(t){return t[1]}function Ht(t,e){t[1]=e}function Ut(t,e){return t[e+2]}function qt(t,e){return 1&t[e+0]}function Kt(t,e){return(1&qt(t,e))>0}function Wt(t,e){return t[e+0]>>1}function Gt(t,e,n){var r=qt(t,e);t[e+0]=r|n<<1}function Yt(t,e){return t[e+1]}function Qt(t,e,n){return t[e+3+n]}function Zt(t,e){return!(!t||e!==t[2])}function Xt(t){return(1&zt(t))>0}function Jt(t){return(2&zt(t))>0}function $t(t){return 6+t[4]}function te(t,e){var 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 ee(t){return null!=t&&""!==t}function ne(t,e,n){return void 0===n&&(n=" "),t+(e.length&&t.length?n:"")+e}function re(t){return t.replace(/[a-z][A-Z]/g,(function(t){return t.charAt(0)+"-"+t.charAt(1)})).toLowerCase()}function ie(t){return oe(t)?t[0]:t}function oe(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function ae(t,e){return t[e+0]}function se(t,e,n){t[e+1]=n}function le(t,e){return t[e+1]}var ue=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function ce(t){return!!t.listen}var he="ngDebugContext",pe="ngOriginalError",de="ngErrorLogger";function fe(t){return t[he]}function me(t){return t[pe]}function ge(t){for(var e=[],n=1;n ',!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}return t.prototype.getInertBodyElement_XHR=function(t){t="
"+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=" "+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var 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)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();je.hasOwnProperty(e)&&!Ie.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(ze(t))},t.prototype.checkClobberedElement=function(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},t}(),Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(Ve,(function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Be,(function(t){return""+t.charCodeAt(0)+";"})).replace(//g,">")}function He(t,e){var n=null;try{De=De||new Ce(t);var r=e?String(e):"";n=De.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=De.getInertBodyElement(r)}while(r!==o);var a=new Fe,s=a.sanitizeChildren(Ue(n)||n);return _e()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ue(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Ue(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var qe=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}(),Ke=function(){},We=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"),Ge=/^url\(([^)]+)\)$/;function Ye(t){if(!(t=String(t).trim()))return"";var e=t.match(Ge);return e&&Se(e[1])===e[1]||t.match(We)&&function(t){for(var e=!0,n=!0,r=0;rCt}(r,o))?(function(t,e,n,r,i,o,a){for(var s,l=!0===(s=i)?-1:!1===s?0:s,u=un,c=(l&Wt(t,3))>0?1:0,h=$t(t);h=gn.length&&gn.push(1),gn[h]);ml,y=!b&&g===l,v=le(f,m),_=ee(v),w=t(e,n,r,i,o,a,b?s:fn(s,_,y),b?l:g,u+1,c);if(b){p||(p=w);break}if(!w&&mn(s,y)){var C=y&&!_,x=C?c:v,O=C?d:null;o(n,r,g,a?a(g,x,3):x,O),w=!0}p=w&&y,m+=2}if(gn[u]=m,1===f.length||!l)return t(e,n,r,i,o,a,s,l,u+1,c)}return p}(t,e,n,r,i,o,a,s||null,0,l||null)),h&&function(){for(var t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}var gn=[];function bn(t,e,n,r){for(var i=1;i=2&&r[i-2]===e.hostBindings?r[i-1]=r[i-1]+n:r.push(e.hostBindings,n)}(n,Et,t),function(t,e,n){for(var r=0;r0&&(i=n?ne(t,((r=e)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):ne(t,function(t){var e="";if(t)for(var n=Object.keys(t),r=0;r0}function Zn(t){return!!t&&"function"==typeof t.then}function Xn(t){return!!t&&"function"==typeof t.subscribe}var Jn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),$n=function(){},tr=function(){};function er(t){var e=Error("No component factory found for "+k(t)+". Did you add it to @NgModule.entryComponents?");return e[nr]=t,e}var nr="ngComponent",rr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw er(t)},t}(),ir=function(){var t=function(){};return t.NULL=new rr,t}(),or=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r-1}(r,i.providedIn)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Di,t._providers[c]=Mi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{K(o)}}function Mi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Ri(t,n[0]));case 2:return new e(Ri(t,n[0]),Ri(t,n[1]));case 3:return new e(Ri(t,n[0]),Ri(t,n[1]),Ri(t,n[2]));default:for(var i=new Array(r),o=0;o=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,tt(n,e),Wr.dirtyParentQueries(r),Fi(r),r}function Li(t,e,n){var r=e?ui(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);yi(n,2,i,o,void 0)}function Fi(t){yi(t,3,null,null,void 0)}var Vi=new Object;function Bi(t,e,n,r,i,o){return new zi(t,e,n,r,i,o)}var zi=function(t){function e(e,n,r,i,o,a){var s=this;return(s=t.call(this)||this).selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return __extends(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=bi(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Wr.createRootView(t,e||[],n,i,r,Vi),s=Ur(a,o).instance;return n&&a.renderer.setAttribute(Hr(a,0).renderElement,"ng-version",gr.full),new Hi(a,new Wi(a),s)},e}(tr),Hi=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this)._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new lr(Hr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($n);function Ui(t,e,n){return new qi(t,e,n)}var qi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new lr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=li(t),t=t.parent;return t?new Zi(t,e):new Zi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ni(this._data,t);Wr.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Wi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof ar||(i=o.get(X));var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a,s=t;return n=this._view,r=this._data,i=e,o=s._view,a=r.viewContainer._embeddedViews,null==i&&(i=a.length),o.viewContainerParent=n,$(a,i,o),function(t,e){var n=si(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(r,o),Wr.dirtyParentQueries(o),Li(r,i>0?a[i-1]:null,o),s.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(t._view);return n=this._data,r=s,i=e,o=n.viewContainer._embeddedViews,a=o[r],tt(o,r),null==i&&(i=o.length),$(o,i,a),Wr.dirtyParentQueries(a),Fi(a),Li(n,i>0?o[i-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ni(this._data,t);e&&Wr.destroyView(e)},t.prototype.detach=function(t){var e=Ni(this._data,t);return e?new Wi(e):null},t}();function Ki(t){return new Wi(t)}var Wi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return yi(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ii(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Wr.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Wr.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wr.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Fi(this._view),Wr.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Gi(t,e){return new Yi(t,e)}var Yi=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._parentView=e,r._def=n,r}return __extends(e,t),e.prototype.createEmbeddedView=function(t){return new Wi(Wr.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new lr(Hr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ar);function Qi(t,e){return new Zi(t,e)}var Zi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Cn.THROW_IF_NOT_FOUND),Wr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Qr(t)},e)},t}();function Xi(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Hr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return zr(t,n.nodeIndex).renderText;if(20240&n.flags)return Ur(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ji(t){return new $i(t.renderer)}var $i=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=__read(Oi(e),2),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return _o(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Co(t,e,n,i[0]));case 2:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]));case 3:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]),Co(t,e,n,i[2]));default:for(var a=Array(o),s=0;s0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(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()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),wa=function(){function t(){this._applications=new Map,Oa.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Oa.findTestabilityInTree(this,t,e)},t}();function Ca(t){Oa=t}var xa,Oa=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Sa=new L("AllowMultipleToken"),Ea=function(t,e){this.name=t,this.token=e};function ka(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new L(r);return function(e){void 0===e&&(e=[]);var o=Da();if(!o||o.injector.get(Sa,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(xa&&!xa.destroyed&&!xa.injector.get(Sa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xa=t.get(Ia);var e=t.get(Ko,null);e&&e.forEach((function(t){return t()}))}(Cn.create({providers:a,name:r}))}return function(t){var e=Da();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}(i)}}function Da(){return xa&&!xa.destroyed?xa:null}var Ia=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new va:("zone.js"===n?void 0:n)||new da({enableLongStackTrace:_e()}),o=[{provide:da,useValue:i}];return i.run((function(){var e=Cn.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(be,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Zo&&No(n.injector.get(Qo,Mo)||Mo),n.onDestroy((function(){return ja(r._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(t){a.handleError(t)}})})),function(t,e,i){try{var o=((a=n.injector.get(zo)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Zn(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var a}(a,i)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Ta({},e);return function(t,e,n){return t.get(oa).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Aa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+k(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)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Ta(t,e){return Array.isArray(e)?e.reduce(Ta,t):Object.assign({},t,e)}var Pa,Aa=((Pa=function(){function t(t,e,n,r,i,s){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=_e(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var c=new o.a((function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){t.next(u._stable),t.complete()}))})),h=new o.a((function(t){var e;u._zone.runOutsideAngular((function(){e=u._zone.onStable.subscribe((function(){da.assertNotInAngularZone(),pa((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){da.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(a.a)(c,h.pipe((function(t){return l()((e=m,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=this;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.");n=t instanceof tr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof ar?null:this._injector.get(X),o=n.create(Cn.NULL,[],e||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(_a,null);return a&&o.injector.get(wa).registerApplication(o.location.nativeElement,a),this._loadComponent(o),_e()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e,n,r,i,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=t._tickScope();try{this._runningTick=!0;try{for(var s=__values(this._views),l=s.next();!l.done;l=s.next())l.value.detectChanges()}catch(h){e={error:h}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var u=__values(this._views),c=u.next();!c.done;c=u.next())c.value.checkNoChanges()}catch(p){r={error:p}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}catch(d){this._zone.runOutsideAngular((function(){return o._exceptionHandler.handleError(d)}))}finally{this._runningTick=!1,ca(a)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;ja(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Go,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),ja(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t}())._tickScope=ua("ApplicationRef#tick()"),Pa);function ja(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ra=function(){},Ma=function(){},Na={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},La=function(){function t(t,e){this._compiler=t,this._config=e||Na}return t.prototype.load=function(t){return!Zo&&this._compiler instanceof ia?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=__read(t.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then((function(t){return t[o]})).then((function(t){return Fa(t,i,o)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=__read(t.split("#"),2),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[i+o]})).then((function(t){return Fa(t,r,i)}))},t}();function Fa(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Va=function(t,e){this.name=t,this.callback=e},Ba=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof za&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),za=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n,r)||this).properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return __extends(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,__spread([i+1,0],e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var 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))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var n=[];return function t(n,r,i){n.childNodes.forEach((function(n){n instanceof e&&(r(n)&&i.push(n),t(n,r,i))}))}(this,t,n),n},e.prototype.queryAllNodes=function(t){var n=[];return function t(n,r,i){n instanceof e&&n.childNodes.forEach((function(n){r(n)&&i.push(n),n instanceof e&&t(n,r,i)}))}(this,t,n),n},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Ba),Ha=new Map,Ua=function(t){return Ha.get(t)||null};function qa(t){Ha.set(t.nativeNode,t)}var Ka=ka(null,"core",[{provide:Wo,useValue:"unknown"},{provide:Ia,deps:[Cn]},{provide:wa,deps:[]},{provide:Yo,deps:[]}]);function Wa(){return Tr}function Ga(){return Pr}function Ya(t){return t?(Zo&&No(t),t):Mo}function Qa(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var Za=function(t){};function Xa(t,e,n,r,i,o){t|=1;var a=di(e),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?bi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Gr},provider:null,text:null,query:null,ngContent:null}}function Ja(t,e,n,r,i,o,a,s,l,u,c,h){var p,d;void 0===a&&(a=[]),u||(u=Gr);var f=di(n),m=f.matchedQueries,g=f.references,b=f.matchedQueryIds,y=null,v=null;o&&(p=Oi(o),y=(d=__read(p,2))[0],v=d[1]),s=s||[];for(var _=new Array(s.length),w=0;w0)u=m,bs(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&bs(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Gr,updateRenderer:r||Gr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:d}}function bs(t){return 0!=(1&t.flags)&&null===t.element.name}function ys(t,e,n){var 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){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function vs(t,e,n,r){var i=Cs(t.root,t.renderer,t,e,n);return xs(i,t.component,r),Os(i),i}function _s(t,e,n){var r=Cs(t,t.renderer,null,null,e);return xs(r,n,n),Os(r),r}function ws(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Cs(t.root,i,t,e.element.componentProvider,n)}function Cs(t,e,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function xs(t,e,n){t.component=e,t.context=n}function Os(t){var e;ci(t)&&(e=Hr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&ns(t,e,0,n)&&(d=!0),p>1&&ns(t,e,1,r)&&(d=!0),p>2&&ns(t,e,2,i)&&(d=!0),p>3&&ns(t,e,3,o)&&(d=!0),p>4&&ns(t,e,4,a)&&(d=!0),p>5&&ns(t,e,5,s)&&(d=!0),p>6&&ns(t,e,6,l)&&(d=!0),p>7&&ns(t,e,7,u)&&(d=!0),p>8&&ns(t,e,8,c)&&(d=!0),p>9&&ns(t,e,9,h)&&(d=!0),d}(t,e,n,r,i,o,a,s,l,u,c,h);case 2:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=!1,d=e.bindings,f=d.length;if(f>0&&ni(t,e,0,n)&&(p=!0),f>1&&ni(t,e,1,r)&&(p=!0),f>2&&ni(t,e,2,i)&&(p=!0),f>3&&ni(t,e,3,o)&&(p=!0),f>4&&ni(t,e,4,a)&&(p=!0),f>5&&ni(t,e,5,s)&&(p=!0),f>6&&ni(t,e,6,l)&&(p=!0),f>7&&ni(t,e,7,u)&&(p=!0),f>8&&ni(t,e,8,c)&&(p=!0),f>9&&ni(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=ms(n,d[0])),f>1&&(m+=ms(r,d[1])),f>2&&(m+=ms(i,d[2])),f>3&&(m+=ms(o,d[3])),f>4&&(m+=ms(a,d[4])),f>5&&(m+=ms(s,d[5])),f>6&&(m+=ms(l,d[6])),f>7&&(m+=ms(u,d[7])),f>8&&(m+=ms(c,d[8])),f>9&&(m+=ms(h,d[9]));var g=zr(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,r,i,o,a,s,l,u,c,h);case 16384:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=Ur(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ei(t,e,0,n)&&(f=!0,m=Oo(t,p,e,0,n,m)),g>1&&ei(t,e,1,r)&&(f=!0,m=Oo(t,p,e,1,r,m)),g>2&&ei(t,e,2,i)&&(f=!0,m=Oo(t,p,e,2,i,m)),g>3&&ei(t,e,3,o)&&(f=!0,m=Oo(t,p,e,3,o,m)),g>4&&ei(t,e,4,a)&&(f=!0,m=Oo(t,p,e,4,a,m)),g>5&&ei(t,e,5,s)&&(f=!0,m=Oo(t,p,e,5,s,m)),g>6&&ei(t,e,6,l)&&(f=!0,m=Oo(t,p,e,6,l,m)),g>7&&ei(t,e,7,u)&&(f=!0,m=Oo(t,p,e,7,u,m)),g>8&&ei(t,e,8,c)&&(f=!0,m=Oo(t,p,e,8,c,m)),g>9&&ei(t,e,9,h)&&(f=!0,m=Oo(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&Br(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,r,i,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings,d=!1,f=p.length;if(f>0&&ni(t,e,0,n)&&(d=!0),f>1&&ni(t,e,1,r)&&(d=!0),f>2&&ni(t,e,2,i)&&(d=!0),f>3&&ni(t,e,3,o)&&(d=!0),f>4&&ni(t,e,4,a)&&(d=!0),f>5&&ni(t,e,5,s)&&(d=!0),f>6&&ni(t,e,6,l)&&(d=!0),f>7&&ni(t,e,7,u)&&(d=!0),f>8&&ni(t,e,8,c)&&(d=!0),f>9&&ni(t,e,9,h)&&(d=!0),d){var m=qr(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=r),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=h);break;case 128:var b=n;switch(f){case 1:g=b.transform(n);break;case 2:g=b.transform(r);break;case 3:g=b.transform(r,i);break;case 4:g=b.transform(r,i,o);break;case 5:g=b.transform(r,i,o,a);break;case 6:g=b.transform(r,i,o,a,s);break;case 7:g=b.transform(r,i,o,a,s,l);break;case 8:g=b.transform(r,i,o,a,s,l,u);break;case 9:g=b.transform(r,i,o,a,s,l,u,c);break;case 10:g=b.transform(r,i,o,a,s,l,u,c,h)}}m.value=g}return d}(t,e,n,r,i,o,a,s,l,u,c,h);default:throw"unreachable"}}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ri(t,e,0,n),p>1&&ri(t,e,1,r),p>2&&ri(t,e,2,i),p>3&&ri(t,e,3,o),p>4&&ri(t,e,4,a),p>5&&ri(t,e,5,s),p>6&&ri(t,e,6,l),p>7&&ri(t,e,7,u),p>8&&ri(t,e,8,c),p>9&&ri(t,e,9,h)}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){for(var r=0;r0){var o=new Set(t.modules);Ws.forEach((function(e,n){if(o.has(S(n).providedIn)){var i={token:n,flags:e.flags|(r?4096:0),deps:fi(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[Qr(n)]=i}}))}}(t=t.factory((function(){return Gr}))),t):t}(r))}var Ks=new Map,Ws=new Map,Gs=new Map;function Ys(t){var e;Ks.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&Ws.set(t.token,t)}function Qs(t,e){var n=bi(e.viewDefFactory),r=bi(n.nodes[0].element.componentView);Gs.set(t,r)}function Zs(){Ks.clear(),Ws.clear(),Gs.clear()}function Xs(t){if(0===Ks.size)return t;var e=function(t){for(var e=[],n=null,r=0;r1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),c=function(){var t=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){var n,r;try{for(var i=__values(this._listeners),o=i.next();!o.done;o=i.next()){(0,o.value)(t,e)}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter((function(e){return t!==e}))}},t.prototype.ngOnDestroy=function(){this._listeners=[]},t}();return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t}()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={production:!0}},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new r.a((function(n){var r=new o.a;return r.add(e.schedule((function(){var i=t[a.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(Object(u.a)(t))return function(t,e){return new r.a((function(n){var r=new o.a;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if(Object(c.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((function(){r=t[l.a](),i.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}n.d(e,"a",(function(){return h}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},D8EZ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return LoginComponent}));var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("KIbp"),LoginComponent=function(){function LoginComponent(t){this.api=t,this.title="UDS Enterprise",this.auths=t.config.authenticators.slice(0),this.auths.sort((function(t,e){return t.priority-e.priority}))}return LoginComponent.prototype.ngOnInit=function(){document.getElementById("loginform").action=this.api.config.urls.login;var t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id)},LoginComponent.prototype.changeAuth=function(auth){var e_6,_b;this.auth.value=auth;var doCustomAuth=function(data){eval(data)};try{for(var _c=__values(this.auths),_d=_c.next();!_d.done;_d=_c.next()){var l=_d.value;l.id===auth&&l.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(l.id).subscribe((function(t){return doCustomAuth(t)})))}}catch(e_6_1){e_6={error:e_6_1}}finally{try{_d&&!_d.done&&(_b=_c.return)&&_b.call(_c)}finally{if(e_6)throw e_6.error}}},LoginComponent}()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("HDdC"),i=new r.a((function(t){return t.complete()}));function o(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return d})),n.d(e,"n",(function(){return a})),n.d(e,"d",(function(){return b})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return v}));var r=function(){},i=function(){},o="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function l(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function u(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function p(t){return{type:5,steps:t}}function d(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function f(t){return void 0===t&&(t=null),{type:9,options:t}}function m(t,e,n){return void 0===n&&(n=null),{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}var b=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;g((function(){return t._onFinish()}))},t.prototype._onStart=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),y=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?g((function(){return e._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++n==o&&e._onFinish()})),t.onDestroy((function(){++r==o&&e._onDestroy()})),t.onStart((function(){++i==o&&e._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach((function(t){return t.init()}))},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))},t.prototype.pause=function(){this.players.forEach((function(t){return t.pause()}))},t.prototype.restart=function(){this.players.forEach((function(t){return t.restart()}))},t.prototype.finish=function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))},t.prototype.getPosition=function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t},t.prototype.beforeDestroy=function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),v="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("LRne"),i=n("0EUg");function o(){for(var t=[],e=0;e0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,__spread(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),d=function(){function t(){}return t.prototype.encodeKey=function(t){return f(t)},t.prototype.encodeValue=function(t){return f(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},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,"/")}var m=function(){function t(t){var e,n,r,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=__read(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],a=i[1],s=r.get(o)||[];s.push(a),r.set(o,s)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}var v=function(){function t(t,e,n,r){var i;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,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new p),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300},C=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.ResponseHeader,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(w),x=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.Response,n.body=void 0!==e.body?e.body:null,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),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})},e}(w),O=function(t){function e(e){var n=this;return(n=t.call(this,e,0,"Unknown Error")||this).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return __extends(e,t),e}(w);function S(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var E=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof v)r=t;else{var u;u=n.headers instanceof p?n.headers:new p(n.headers);var c=void 0;n.params&&(c=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:u,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var h=Object(i.a)(r).pipe(Object(a.a)((function(t){return o.handler.handle(t)})));if(t instanceof v||"events"===n.observe)return h;var d=h.pipe(Object(s.a)((function(t){return t instanceof x})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return d.pipe(Object(l.a)((function(t){return t.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,S(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,S(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,S(n,e))},t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),D=new r.o("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),T=/^\)\]\}',?\n/,P=function(){},A=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),j=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new p(r.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}(r)||t.url;return s=new C({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,a=e.statusText,s=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(T,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new x({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new O({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=l().url,i=new O({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,d=function(e){h||(n.next(l()),h=!0);var i={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",d),null!==a&&r.upload&&r.upload.addEventListener("progress",f)),r.send(a),n.next({type:_.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",d),null!==a&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}}))},t}(),R=new r.o("XSRF_COOKIE_NAME"),M=new r.o("XSRF_HEADER_NAME"),N=function(){},L=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.z)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),F=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var 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)},t}(),V=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(D,[]);this.chain=e.reduceRight((function(t,e){return new k(t,e)}),this.backend)}return this.chain.handle(t)},t}(),B=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:F,useClass:I}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}},t}(),z=function(){}},IjjT:function(t,e,n){"use strict";var r=function(){var t=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t}();return t.now=function(){return Date.now()},t}();n.d(e,"a",(function(){return i}));var i=function(t){function e(n,i){void 0===i&&(i=r.now);var o=this;return(o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():i()}))||this).actions=[],o.active=!1,o.scheduled=void 0,o}return __extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}},e}(r)},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(t){return function(e){return 0===t?Object(o.b)():e.lift(new s(t))}}var s=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(r.a)},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(){for(var t=[],e=0;ee.height||t.scrollWidth>e.width},t}();function b(){return Error("Scroll strategy has already been attached.")}var y=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run((function(){return i._overlayRef.detach()}))}}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),v=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function _(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function w(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var C=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;_(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),x=function(){var t=function(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new v},this.close=function(t){return new y(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new g(i._viewportRuler,i._document)},this.reposition=function(t){return new C(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r};return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(i.a),Object(a.Rb)(i.d),Object(a.Rb)(a.x),Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),O=function(t){var e,n;if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){var r=Object.keys(t);try{for(var i=__values(r),o=i.next();!o.done;o=i.next()){var a=o.value;void 0!==t[a]&&(this[a]=t[a])}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}},S=function(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY},E=function(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 D(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var I=function(){var t=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t}();return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),T=function(){var t=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){for(var t=this._document.getElementsByClassName("cdk-overlay-container"),e=0;eg&&(g=_,m=v)}}catch(C){n={error:C}}finally{try{y&&!y.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}return this._isPushed=!1,void this._applyPosition(m.position,m.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){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("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;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+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),p=c*h;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=t.fitsInViewportHorizontally||null!=a&&a<=i;return(t.fitsInViewportVertically||null!=o&&o<=r)&&s}return!1},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(t.x+e.width-o.right,0),s=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:r=e.width<=o.width?u||-a:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)a=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var p=this._lastBoundingBoxSize.width;a=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var 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));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(r.c)(n.height),i.top=Object(r.c)(n.top),i.bottom=Object(r.c)(n.bottom),i.width=Object(r.c)(n.width),i.left=Object(r.c)(n.left),i.right=Object(r.c)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=Object(r.c)(o)),a&&(i.maxWidth=Object(r.c)(a))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,r)),j(n,this._getExactOverlayX(e,t,r))}else n.position="static";var i="",o=this._getOffset(e,"x"),a=this._getOffset(e,"y");o&&(i+="translateX("+o+"px) "),a&&(i+="translateY("+a+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),j(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Object(r.c)(o.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(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},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:w(t,n),isOriginOutsideView:_(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:_(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),h=function(t){function e(e,n){var r=this;if((r=t.call(this)||this)._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,r}return __extends(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return l.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=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}(),d=r.tb,f=new r.o("UseV4Plurals"),m=function(){},g=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).locale=e,r.deprecatedPluralFn=n,r}return __extends(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):d(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}},e}(m);function b(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=__values(t.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.indexOf("="),l=__read(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),u=l[0],c=l[1];if(u.trim()===e)return decodeURIComponent(c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var y=function(){},v=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r.wb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.Jb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t}(),_=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){var t=function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t}();return t.ngDirectiveDef=void 0,t}()),w=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),C=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(r.V)()&&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},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new w(null,e._ngForOf,-1,-1),null===i?void 0:i),a=new x(t,o);n.push(a)}else if(null==i)e._viewContainer.remove(null===r?void 0:r);else if(null!==r){o=e._viewContainer.get(r);e._viewContainer.move(o,i);a=new x(t,o);n.push(a)}}));for(var r=0;r1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof l&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},WMd4:function(t,e,n){"use strict";var r=n("EY2u"),i=n("LRne"),o=n("HDdC");n.d(e,"a",(function(){return s}));var a,s=((a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return t=this.error,new o.a((function(e){return e.error(t)}));case"C":return Object(r.b)()}var t;throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t}()).completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0),a)},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8"),u=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).destination=e,n}return __extends(e,t),e}(i.a),c=function(){var t=function(t){function e(){var e=this;return(e=t.call(this)||this).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return __extends(e,t),e.prototype[l.a]=function(){return new u(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i0?n:t},t}(),C=new r.o("mat-date-formats");try{v="undefined"!=typeof Intl}catch(st){v=!1}var x={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},O=k(31,(function(t){return String(t+1)})),S={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},E=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function k(t,e){for(var n=Array(t),r=0;r11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return r},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(v){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(E.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return t.prototype.deserialize.call(this,e)},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype.invalid=function(){return new Date(NaN)},e.prototype._createDateWithOverflow=function(t,e,n){var r=new Date(t,e,n);return t>=0&&t<100&&r.setFullYear(this.getYear(r)-1900),r},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.prototype._format=function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)},e}(w),T={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},P=function(){},A=function(){},j=((D=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new D},token:D,providedIn:"root"}),D),R=new r.o("MAT_HAMMER_OPTIONS"),M=["longpress","slide","slidestart","slideend","slideright","slideleft"],N={on:function(){},off:function(){}},L=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._hammerOptions=e,r.events=M,n&&n._checkHammerIsAvailable(),r}return __extends(e,t),e.prototype.buildHammer=function(t){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return N;var n=new e(t,this._hammerOptions||void 0),r=new e.Pan,i=new e.Swipe,o=new e.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},i),s=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),s.recognizeWith(a),n.add([i,o,r,a,s]),n},e.prototype._createRecognizer=function(t,e){for(var n=[],r=2;rn+r?Math.max(0,i-r+e):n}var ot=function(){},at=new r.o("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("DH7j");function i(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}},"YY/e":function(t,e,n){"use strict";var r=n("HDdC"),i=n("D0XW"),o=n("Y7HM");function a(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l}));var s=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t}({}),l=function(){function t(t,e){var n=this;this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new r.a((function(t){n.yes=function(){t.next(!0),t.complete()},n.no=function(){t.next(!1),t.complete()},n.close=function(){n.doClose(),t.next(!1),t.complete()};var e=n;return{unsubscribe:function(){e.resetCallbacks()}}}))}return t.prototype.resetCallbacks=function(){var t=this;this.yes=this.no=function(){t.close()},this.close=function(){t.doClose()}},t.prototype.closed=function(){null!==this.subscription&&this.subscription.unsubscribe()},t.prototype.doClose=function(){this.dialogRef.close()},t.prototype.setExtra=function(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "},t.prototype.initAlert=function(){var t,e,n=this;this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe((function(t){n.closed()})),this.setExtra(this.data.autoclose),this.subscription=(t=1e3,void 0===t&&(t=0),void 0===e&&(e=i.a),(!Object(o.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new r.a((function(n){return n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n}))).subscribe((function(t){var e=n.data.autoclose-1e3*(t+1);n.setExtra(e),e<=0&&n.close()})))},t.prototype.initYesNo=function(){},t.prototype.ngOnInit=function(){this.data.type===s.yesno?this.initYesNo():this.initAlert()},t}()},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).subject=e,r.subscriber=n,r.closed=!1,r}return __extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("quSY").a)},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(t,e,n,a,s){if(void 0===s&&(s=new r.a(t,n,a)),!s.closed)return e instanceof o.a?e.subscribe(s):Object(i.a)(e)(s)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(i.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ");function i(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 mt})),n.d(e,"q",(function(){return O})),n.d(e,"a",(function(){return gt})),n.d(e,"h",(function(){return ft})),n.d(e,"c",(function(){return S})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return J})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return tt})),n.d(e,"b",(function(){return ot})),n.d(e,"r",(function(){return a})),n.d(e,"j",(function(){return N})),n.d(e,"i",(function(){return Z})),n.d(e,"m",(function(){return et})),n.d(e,"n",(function(){return it})),n.d(e,"l",(function(){return I})),n.d(e,"o",(function(){return D})),n.d(e,"k",(function(){return at}));var r=n("SVse"),i=n("8Y7J"),o=null;function a(){return o}var s,l=function(t){function e(){var e=this;(e=t.call(this)||this)._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var u=Y(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,h=0;h-1},e}(k),nt=["alt","control","meta","shift"],rt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},it=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return a().onAndCancel(t,i.domEventName,o)}))},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(nt.forEach((function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=a().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),nt.forEach((function(r){r!=n&&(0,rt[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded((function(){return n(i)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(k),ot=function(){},at=function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n}return __extends(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.G.NONE:return e;case i.G.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.db)(this._doc,String(e)));case i.G.STYLE:return e instanceof ut?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.eb)(e));case i.G.SCRIPT:if(e instanceof ct)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.G.URL:return e instanceof pt||e instanceof ht?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.fb)(String(e)));case i.G.RESOURCE_URL:if(e instanceof pt)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)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof st)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new lt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ut(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ct(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ht(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new pt(t)},e}(ot),st=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(st),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Style"},e}(st),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Script"},e}(st),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"URL"},e}(st),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(st),dt=[{provide:i.z,useValue:r.x},{provide:i.A,useValue:function(){d.makeCurrent(),y.init()},multi:!0},{provide:r.r,useClass:function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n._init(),n}return __extends(e,t),e.prototype._init=function(){this.location=a().getLocation(),this._history=a().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return a().getBaseHref(this._doc)},e.prototype.onPopState=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e}(r.r),deps:[r.d]},{provide:r.d,useFactory:function(){return document},deps:[]}],ft=Object(i.Q)(i.W,"browser",dt);function mt(){return new i.l}var gt=function(){function t(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.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:i.c,useValue:e.appId},{provide:g,useExisting:i.c},b]}},t}();"undefined"!=typeof window&&window},crnd: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="crnd"},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"j",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"l",(function(){return c})),n.d(e,"i",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"n",(function(){return d})),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 b}));var r=9,i=13,o=27,a=32,s=35,l=36,u=37,c=38,h=39,p=40,d=48,f=57,m=65,g=90;function b(t){for(var e=[],n=1;n'+django.gettext("Please wait")+''+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);var e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t},t.prototype.launchURL=function(e){var n=this;if("udsa://"===e.substring(0,7)){var r=e.split("//")[1].split("/");this.api.enabler(r[0],r[1]).subscribe((function(t){void 0!==t.error&&""!==t.error?n.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n.doLaunch(t.url))}))}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")},t}();return t.transportsWindow=null,t}()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return gt})),n.d(e,"g",(function(){return bt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return Kt})),n.d(e,"d",(function(){return le})),n.d(e,"f",(function(){return ce})),n.d(e,"h",(function(){return he}));var r=n("GS7A");function i(){return"undefined"!=typeof process}function o(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function a(t,e,n,i,o,a){void 0===o&&(o={}),void 0===a&&(a={});var s=[],l=[],u=-1,c=null;if(i.forEach((function(t){var n=t.offset,i=n==u,h=i&&c||{};Object.keys(t).forEach((function(n){var i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=o[n];break;case r.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}h[i]=l})),i||l.push(h),c=h,u=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function s(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&l(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&l(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&l(n,"destroy",t))}))}}function l(t,e,n){var r=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function u(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function c(t,e,n){var 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){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var p=function(t,e){return!1},d=function(t,e){return!1},f=function(t,e,n){return[]},m=i();(m||"undefined"!=typeof Element)&&(p=function(t,e){return t.contains(e)},d=function(){if(m||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:d}(),f=function(t,e,n){var r=[];if(n)r.push.apply(r,__spread(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r});var g=null,b=!1;function y(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!g.style&&"WebkitAppearance"in g.style);var e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in g.style)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}var v=d,_=p,w=f;function C(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var x=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,o,a,s){return void 0===a&&(a=[]),new r.d(n,i)},t}(),O=function(){var t=function(){};return t.NOOP=new x,t}(),S=1e3;function E(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(t,e){switch(e){case"s":return t*S;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=k(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=k(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function I(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function T(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else I(t,n);return n}function P(t,e,n){return n?e+":"+n+";":""}function A(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(Q(o,s)),"<"!=a[0]||o==W&&s==W||e.push(Q(s,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return q(n,t,e)})),options:et(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=q(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:et(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return nt(D(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=nt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return nt((n=n||D(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var o=t.styles?t.styles:Object(r.l)({});if(5==o.type)n=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var l={};i.easing&&(l.easing=i.easing),a=Object(r.l)(l)}e.currentTime+=i.duration+i.delay;var u=this.visitStyle(a,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(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);var i=!1,o=null;return n.forEach((function(t){if(tt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u,c,h=e.collectedStyles[e.currentQuerySelector],p=h[r],d=!0;p&&(o!=i&&o>=p.startTime&&i<=p.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+p.startTime+'ms" and "'+p.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=p.startTime),d&&(h[r]={startTime:o,endTime:i}),e.options&&(a=t[r],s=e.options,l=e.errors,u=s.params||{},(c=L(a)).length&&c.forEach((function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=t.steps.map((function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==p?1:h*i:o[i],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:q(this,M(t.animation),e),options:et(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:et(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=__read(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Z,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,c(e.collectedStyles,e.currentQuerySelector,{});var s=q(this,M(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:et(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:D(t.timings,e.errors,!0);return{type:12,animation:q(this,M(t.animation),e),timings:n,options:null}},t}(),$=function(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 tt(t){return!Array.isArray(t)&&"object"==typeof t}function et(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var it=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,__spread(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function st(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new lt).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var lt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new it;var c=new ct(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),q(this,n,c);var h=c.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[rt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?E(n.duration):null,o=null!=n.delay?E(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ut);var a=E(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach((function(t){return q(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?E(t.options.delay):0;t.steps.forEach((function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),q(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return D(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?E(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(l=s.currentTimeline),q(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),ut={},ct=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(t){e&&a.hasOwnProperty(t)||(a[t]=F(o[t],a,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,__spread(s))}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),ht=function(){function t(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()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.a,e._currentKeyframe[t]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=r.a})):T(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=F(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.a),o._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var l=T(a,!0);Object.keys(l).forEach((function(t){var i=l[t];i==r.p?e.add(t):i==r.a&&n.add(t)})),i||(l.offset=s/t.duration),o.push(l)}));var a=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(i){var l=o[0],u=I(l);l.offset=0,u.offset=1,o=[l,u]}return rt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)},t}(),pt=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=this;return(l=t.call(this,e,n,a.delay)||this).element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return __extends(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=T(t[0],!1);l.offset=0,o.push(l);var u=T(t[0],!1);u.offset=dt(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=T(t[h],!1);p.offset=dt((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return rt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(ht);function dt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var ft,mt,gt=function(){},bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.normalizePropertyName=function(t,e){return z(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gt),yt=(ft="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(","),mt={},ft.forEach((function(t){return mt[t]=!0})),mt);function vt(t,e,n,r,i,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var _t={},wt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,a,s,l,u){var h=[],p=this.ast.options&&this.ast.options.params||_t,d=this.buildStyles(n,a&&a.params||_t,h),f=s&&s.params||_t,m=this.buildStyles(r,f,h),g=new Set,b=new Map,y=new Map,v="void"===r,_={params:Object.assign({},p,f)},w=u?[]:st(t,e,this.ast.animation,i,o,d,m,_,l,h),C=0;if(w.forEach((function(t){C=Math.max(t.duration+t.delay,C)})),h.length)return vt(e,this._triggerName,n,r,v,d,m,[],[],b,y,C,h);w.forEach((function(t){var n=t.element,r=c(b,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=c(y,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&g.add(n)}));var x=V(g.values());return vt(e,this._triggerName,n,r,v,d,m,w,x,b,y,C)},t}(),Ct=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(r[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=F(o,r,e)),n[t]=o}))}})),n},t}(),xt=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})})),Ot(this.states,"true","1"),Ot(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new wt(t,e,n.states))})),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Ot(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var St=new it,Et=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=X(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},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=a(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var a,s=[],l=this._animations[t],u=new Map;if(l?(a=st(this._driver,e,l,"ng-enter","ng-leave",{},{},n,St,s)).forEach((function(t){var e=c(u,t.element,{});t.postStyleProps.forEach((function(t){return 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"));u.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,r.a)}))}));var h=o(a.map((function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=h,h.onDestroy((function(){return i.destroy(t)})),this.players.push(h),h},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=u(e,"","","");return s(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kt=[],Dt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},It={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed",Pt=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=I(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),At=new Pt("void"),jt=function(){function t(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,zt(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;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"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=c(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),l[e]=At),function(){o._engine.afterFlush((function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new Mt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=At),"void"===u.value||l.value!==u.value){var h=c(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var p=o.matchTransition(l.value,u.value,t,u.params),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(zt(t,"ng-animate-queued"),a.onStart((function(){Ht(t,"ng-animate-queued")}))),a.onDone((function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),h.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+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},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ht(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(Nt(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Nt(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return o(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[Tt];if(n&&n.setForRemoval){if(t[Tt]=Dt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach((function(t){var e=t.player,r=t.element;if(S.push(e),n.collectedEnterElements.length){var o=r[Tt];if(o&&o.setForMove)return void e.destroy()}var s=!f||!n.driver.containsElement(f,r),d=x.get(r),m=b.get(r),g=n._buildInstruction(t,i,m,d,s);if(!g.errors||!g.errors.length)return s?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):t.isFallbackTransition?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):(g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(r,g.timelines),l.push({instruction:g,player:e,element:r}),g.queriedElements.forEach((function(t){return c(u,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=h.get(e);r||h.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),void g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))})));E.push(g)}));if(E.length){var D=[];E.forEach((function(t){D.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return D.push("- "+t+"\n")}))})),S.forEach((function(t){return t.destroy()})),this.reportError(D)}var I=new Map,T=new Map;l.forEach((function(t){var e=t.element;i.has(e)&&(T.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){c(I,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return qt(t,h,p)})),A=new Map;Ft(A,this.driver,w,p,r.a).forEach((function(t){qt(t,h,p)&&P.push(t)}));var M=new Map;g.forEach((function(t,e){Ft(M,n.driver,new Set(t),h,r.p)})),P.forEach((function(t){var e=A.get(t),n=M.get(t);A.set(t,Object.assign({},e,n))}));var N=[],L=[],F={};l.forEach((function(t){var e=t.element,r=t.player,l=t.instruction;if(i.has(e)){if(d.has(e))return r.onDestroy((function(){return j(e,l.toStyles)})),r.disabled=!0,r.overrideTotalTime(l.totalTime),void a.push(r);var u=F;if(T.size>1){for(var c=e,h=[];c=c.parentNode;){var p=T.get(c);if(p){u=p;break}h.push(c)}h.forEach((function(t){return T.set(t,u)}))}var f=n._buildAnimation(r.namespaceId,l,I,s,M,A);if(r.setRealPlayer(f),u===F)N.push(r);else{var m=n.playersByElement.get(u);m&&m.length&&(r.parentPlayer=o(m)),a.push(r)}}else R(e,l.fromStyles),r.onDestroy((function(){return j(e,l.toStyles)})),L.push(r),d.has(e)&&a.push(r)})),L.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=o(e);t.setRealPlayer(n)}})),a.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var V=0;V0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)},t}(),Mt=function(){function t(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}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return s(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){c(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Nt(t){return t&&1===t.nodeType}function Lt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ft(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(Lt(t))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Tt]=It,a.push(r))})),t.set(r,o)}));var s=0;return n.forEach((function(t){return Lt(t,o[s++])})),a}function Vt(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Bt="$$classes";function zt(t,e){if(t.classList)t.classList.add(e);else{var n=t[Bt];n||(n=t[Bt]={}),n[e]=!0}}function Ht(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Bt];n&&delete n[e]}}function Ut(t,e,n){o(n).onDone((function(){return t.processLeaveNode(e)}))}function qt(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var Kt=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Et(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new xt(t,e)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=__read(h(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=__read(h(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Wt(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Yt(e[0]),e.length>1&&(r=Yt(e[e.length-1]))):e&&(n=Yt(e)),n||r?new Gt(t,n,r):null}var Gt=function(){var t=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)},t}();return t.initialStylesByElement=new WeakMap,t}();function Yt(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ne(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=ie(t,"").split(","),(r=ee(n,e))>=0&&(n.splice(r,1),re(t,"",n.join(","))))},t}();function $t(t,e,n){re(t,"PlayState",n,te(t,e))}function te(t,e){var n=ie(t,"");return n.indexOf(",")>0?ee(n.split(","),e):ee([n],e)}function ee(t,e){for(var n=0;n=0)return n;return-1}function ne(t,e,n){n?t.removeEventListener(Xt,e):t.addEventListener(Xt,e)}function re(t,e,n,r){var i=Zt+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function ie(t,e){return t.style[Zt+e]}var oe="linear",ae=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||oe,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:K(t.element,r))}))}this.currentSnapshot=e},t}(),se=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).element=e,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return __extends(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(r.d),le=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return C(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(t){return t instanceof ae})),l={};H(n,r)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=U(t,e,l));if(0==n)return new se(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=Wt(t,e),d=new ae(t,e,c,n,r,i,u,p);return d.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),d},t.prototype._notifyFaultyScrubber=function(){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)},t}(),ue=function(){function t(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}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:K(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),ce=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(pe().toString()),this._cssKeyframesDriver=new le}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter((function(t){return t instanceof ue}));H(n,r)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var c=Wt(t,e=U(t,e=e.map((function(t){return T(t,!1)})),l));return new ue(t,e,s,c)},t}();function he(){return"function"==typeof pe()}function pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},hOhj:function(t,e,n){"use strict";var r=n("8Y7J"),i=(n("KCVW"),n("XNiG")),o=n("LRne"),a=n("HDdC"),s=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var l=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));var p,d,f=((p=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new a.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(o.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(s.a)(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new p(Object(r.Rb)(r.x),Object(r.Rb)(h.a))},token:p,providedIn:"root"}),p),m=function(){},g=((d=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?Object(l.a)(Object(s.a)(window,"resize"),Object(s.a)(window,"orientationchange")):Object(o.a)(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var 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}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(u.a)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new d(Object(r.Rb)(h.a),Object(r.Rb)(r.x))},token:d,providedIn:"root"}),d),b={provide:g,deps:[[new r.y,new r.H,g],h.a,r.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("XNiG"),l=n("9ppp"),u=function(t){function e(e){var n=this;return(n=t.call(this)||this)._value=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(s.a),c=n("HDdC"),h=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),p=n("itXk"),d=n("NXyV"),f=n("EY2u"),m=n("lJxs"),g=n("0EUg"),b=n("pLZG"),y=n("7o/Q"),v=n("4I5i");function _(t){return function(e){return 0===t?Object(f.b)():e.lift(new w(t))}}var w=function(){function t(t){if(this.total=t,this.total<0)throw new v.a}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.total))},t}(),C=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.ring=new Array,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,_(1),n?k(e):x((function(){return new h})))}}var A=n("l7GE"),j=n("51Dv"),R=n("ZUHj");function M(t){return function(e){var n=new N(t),r=e.lift(n);return n.caught=r}}var N=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).selector=n,i.caught=r,i}return __extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new j.a(this,void 0,void 0);this.add(r),Object(R.a)(this,n,void 0,void 0,r)}},e}(A.a),F=n("IzEk");function V(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,Object(F.a)(1),n?k(e):x((function(){return new h})))}}var B=n("5+tZ"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))},t}(),H=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return __extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var 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)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y.a),U=n("eIep"),q=n("JX91");function K(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new W(t,e,n))}}var W=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.accumulator,this.seed,this.hasSeed))},t}(),G=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return __extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(y.a),Y=n("bOdf"),Q=n("mCNh"),Z=n("vkgz"),X=n("quSY"),J=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.callback))},t}(),$=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).add(new X.a(n)),r}return __extends(e,t),e}(y.a),tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return vt})),n.d(e,"s",(function(){return Rn})),n.d(e,"z",(function(){return qn})),n.d(e,"u",(function(){return Fn})),n.d(e,"A",(function(){return Kn})),n.d(e,"B",(function(){return Wn})),n.d(e,"w",(function(){return Bn})),n.d(e,"v",(function(){return Vn})),n.d(e,"y",(function(){return Un})),n.d(e,"t",(function(){return Nn})),n.d(e,"x",(function(){return Hn})),n.d(e,"D",(function(){return An})),n.d(e,"l",(function(){return wn})),n.d(e,"m",(function(){return Cn})),n.d(e,"o",(function(){return En})),n.d(e,"j",(function(){return hn})),n.d(e,"k",(function(){return _n})),n.d(e,"i",(function(){return dn})),n.d(e,"g",(function(){return jn})),n.d(e,"h",(function(){return Gn})),n.d(e,"n",(function(){return Ln})),n.d(e,"b",(function(){return Sn})),n.d(e,"d",(function(){return Tn})),n.d(e,"e",(function(){return In})),n.d(e,"f",(function(){return Dn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return mn})),n.d(e,"c",(function(){return Ut})),n.d(e,"r",(function(){return Ht}));var nt=function(t,e){this.id=t,this.url=e},rt=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=this;return(o=t.call(this,e,n)||this).navigationTrigger=r,o.restoredState=i,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(nt),it=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(nt),ot=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).reason=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(nt),at=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).error=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(nt),st=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),lt=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ut=function(t){function e(e,n,r,i,o){var a=this;return(a=t.call(this,e,n)||this).urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(nt),ct=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ht=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),pt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),dt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ft=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),gt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),bt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),yt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),vt=function(){},_t="primary",wt=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Ct(t){return new wt(t)}var xt="ngNavigationCancelingError";function Ot(t){var e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function St(t,e,n){var 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 Rt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(i.xb)(t)?t:Object(i.yb)(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function Nt(t,e,n){return n?function(t,e){return Pt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var 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((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Bt(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Bt(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Bt(n.segments,a)&&!!n.children[_t]&&e(n.children[_t],r,s)}(e,n,n.segments)}(t.root,e.root)}var Lt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return qt.serialize(this)},t}(),Ft=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Rt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Kt(this)},t}(),Vt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt(this)},t}();function Bt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function zt(t,e){var n=[];return Rt(t.children,(function(t,r){r===_t&&(n=n.concat(e(t,r)))})),Rt(t.children,(function(t,r){r!==_t&&(n=n.concat(e(t,r)))})),n}var Ht=function(){},Ut=function(){function t(){}return t.prototype.parse=function(t){var e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n,r;return"/"+function t(e,n){if(!e.hasChildren())return Kt(e);if(n){var r=e.children[_t]?t(e.children[_t],!1):"",i=[];return Rt(e.children,(function(e,n){n!==_t&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=zt(e,(function(n,r){return r===_t?[t(e.children[_t],!1)]:[r+":"+t(n,!1)]}));return Kt(e)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(r=Object.keys(n).map((function(t){var e=n[t];return Array.isArray(e)?e.map((function(e){return Gt(t)+"="+Gt(e)})).join("&"):Gt(t)+"="+Gt(e)}))).length?"?"+r.join("&"):"")+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")},t}(),qt=new Ut;function Kt(t){return t.segments.map((function(t){return Xt(t)})).join("/")}function Wt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gt(t){return Wt(t).replace(/%3B/gi,";")}function Yt(t){return Wt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(t){return decodeURIComponent(t)}function Zt(t){return Qt(t.replace(/\+/g,"%20"))}function Xt(t){return""+Yt(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Yt(t)+"="+Yt(e[t])})).join(""));var e}var Jt=/^[^\/()?;=#]+/;function $t(t){var e=t.match(Jt);return e?e[0]:""}var te=/^[^=?]+/,ee=/^[^?]+/,ne=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[_t]=new Ft(t,e)),n},t.prototype.parseSegment=function(){var 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 Vt(Qt(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=$t(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=$t(this.remaining);r&&this.capture(n=r)}t[Qt(e)]=Qt(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(te);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(ee);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var i=Zt(e),o=Zt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(o)}else t[i]=o}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=$t(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_t);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[_t]:new Ft([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),re=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=ie(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=ie(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=oe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return oe(t,this._root).map((function(t){return t.value}))},t}();function ie(t,e){var n,r;if(t===e.value)return e;try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=ie(t,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function oe(t,e){var n,r;if(t===e.value)return[e];try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=oe(t,o.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var ae=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function se(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var le=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).snapshot=n,fe(r,e),r}return __extends(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(re);function ue(t,e){var n=function(t,e){var n=new pe([],{},{},"",{},_t,e,null,t.root,-1,{});return new de("",new ae(n,[]))}(t,e),r=new u([new Vt("",{})]),i=new u({}),o=new u({}),a=new u({}),s=new u(""),l=new ce(r,i,a,s,o,_t,e,n.root);return l.snapshot=n.root,new le(new ae(l,[]),n)}var ce=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)((function(t){return Ct(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)((function(t){return Ct(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function he(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce((function(t,e){return{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))}var pe=function(){function t(t,e,n,r,i,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),de=function(t){function e(e,n){var r=this;return(r=t.call(this,n)||this).url=e,fe(r,n),r}return __extends(e,t),e.prototype.toString=function(){return me(this._root)},e}(re);function fe(t,e){e.value._routerState=t,e.children.forEach((function(e){return fe(t,e)}))}function me(t){var e=t.children.length>0?" { "+t.children.map(me).join(", ")+" } ":"";return""+t.value+e}function ge(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ye(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==jt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),we=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[_t]:""+t}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Oe(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=Ce(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(s,l,a))return o;r+=2}else{if(!De(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Ft([],((r={})[_t]=t,r)):t;return new Lt(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)((function(t){return new Ft([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(o.a)({});var a=[],s=[],l={};return Rt(n,(function(n,i){var o,u,c=(o=i,u=n,r.expandSegmentGroup(t,e,u,o)).pipe(Object(m.a)((function(t){return l[i]=t})));i===_t?a.push(c):s.push(c)})),o.a.apply(null,a.concat(s)).pipe(Object(g.a)(),P(),Object(m.a)((function(){return l})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,a){var s=this;return Object(o.a).apply(void 0,__spread(n)).pipe(Object(m.a)((function(l){return s.expandSegmentAgainstRoute(t,e,n,l,r,i,a).pipe(M((function(t){if(t instanceof je)return Object(o.a)(null);throw t})))})),Object(g.a)(),V((function(t){return!!t})),M((function(t,n){if(t instanceof h||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(o.a)(new Ft([],{}));throw new je(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return He(r)!==o?Me(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Me(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ne(o):this.lineralizeSegments(n,o).pipe(Object(B.a)((function(n){var o=new Ft(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Ve(e,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Me(e);var p=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Ne(p):this.lineralizeSegments(r,p).pipe(Object(B.a)((function(r){return a.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)((function(t){return n._loadedConfig=t,new Ft(r,{})}))):Object(o.a)(new Ft(r,{}));var a=Ve(e,n,r),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return Me(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(B.a)((function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return ze(t,e,n)&&He(n)!==_t}))}(t,n,r)?{segmentGroup:Be(new Ft(e,function(t,e){var n,r,i={};i[_t]=e;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&He(s)!==_t&&(i[He(s)]=new Ft([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return ze(t,e,n)}))}(t,n,r)?{segmentGroup:Be(new Ft(t.segments,function(t,e,n,r){var i,o,a={};try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;ze(t,e,u)&&!r[He(u)]&&(a[He(u)]=new Ft([],{}))}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return Object.assign({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,c,r),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Object(m.a)((function(t){return new Ft(l,t)}))):0===r.length&&0===u.length?Object(o.a)(new Ft(l,{})):i.expandSegment(n,s,r,u,_t,!0).pipe(Object(m.a)((function(t){return new Ft(l.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(o.a)(new Et(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(m.a)((function(r){var i,o=t.get(r);if(function(t){return t&&Pe(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Pe(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Mt(i)}))).pipe(Object(g.a)(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(o.a)(!0)}(t.injector,e,n).pipe(Object(B.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(m.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new c.a((function(e){return e.error(Ot("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Object(o.a)(new Et([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[_t])return Le(t.redirectTo);r=r.children[_t]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Lt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Rt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return Rt(e.children,(function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)})),new Ft(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===t.path)return e.splice(i),s;i++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Ve(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:{}};var r=(e.matcher||St)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(t){if(1===t.numberOfChildren&&t.children[_t]){var e=t.children[_t];return new Ft(t.segments.concat(e.segments),e.children)}return t}function ze(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function He(t){return t.outlet||_t}var Ue=function(t){this.path=t,this.route=this.path[this.path.length-1]},qe=function(t,e){this.component=t,this.route=e};function Ke(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function We(t,e,n){var r=se(t),i=t.value;Rt(r,(function(t,r){We(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new qe(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ge=Symbol("INITIAL_VALUE");function Ye(){return Object(U.a)((function(t){return Object(p.a).apply(void 0,__spread(t.map((function(t){return t.pipe(Object(F.a)(1),Object(q.a)(Ge))})))).pipe(K((function(t,e){var n=!1;return e.reduce((function(t,r,i){if(t!==Ge)return t;if(r===Ge&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Ae(r))return r}return t}),t)}),Ge),Object(b.a)((function(t){return t!==Ge})),Object(m.a)((function(t){return Ae(t)?t:!0===t})),Object(F.a)(1))}))}function Qe(t,e){return null!==t&&e&&e(new gt(t)),Object(o.a)(!0)}function Ze(t,e){return null!==t&&e&&e(new ft(t)),Object(o.a)(!0)}function Xe(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return Object(d.a)((function(){var i,o=Ke(r,e,n);if(function(t){return t&&Pe(t.canActivate)}(o))i=Mt(o.canActivate(e,t));else{if(!Pe(o))throw new Error("Invalid CanActivate guard");i=Mt(o(e,t))}return i.pipe(V())}))}));return Object(o.a)(i).pipe(Ye())}function Je(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Object(d.a)((function(){var i=e.guards.map((function(i){var o,a=Ke(i,e.node,n);if(function(t){return t&&Pe(t.canActivateChild)}(a))o=Mt(a.canActivateChild(r,t));else{if(!Pe(a))throw new Error("Invalid CanActivateChild guard");o=Mt(a(r,t))}return o.pipe(V())}));return Object(o.a)(i).pipe(Ye())}))}));return Object(o.a)(i).pipe(Ye())}var $e=function(){},tn=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=rn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,_t),n=new pe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},_t,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ae(n,e),i=new de(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(a){return new c.a((function(t){return t.error(a)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=he(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=zt(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},i.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),i=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value})),i.sort((function(t,e){return t.value.outlet===_t?-1:e.value.outlet===_t?1:t.value.outlet.localeCompare(e.value.outlet)})),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(u){if(!(u instanceof $e))throw u}}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new $e},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new $e;if((t.outlet||_t)!==r)throw new $e;var i,o=[],a=[];if("**"===t.path){var s=n.length>0?jt(n).parameters:{};i=new pe(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+n.length,ln(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $e;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||St)(n,t,e);if(!r)throw new $e;var i={};Rt(r.posParams,(function(t,e){i[e]=t.path}));var o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new pe(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+o.length,ln(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=rn(e,o,a,u,this.relativeLinkResolution),h=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new ae(i,d)]}if(0===u.length&&0===p.length)return[new ae(i,[])];var f=this.processSegment(u,h,p,_t);return[new ae(i,f)]},t}();function en(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function nn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function rn(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return on(t,e,n)&&an(n)!==_t}))}(t,n,r)){var o=new Ft(e,function(t,e,n,r){var i,o,a={};a[_t]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;if(""===u.path&&an(u)!==_t){var c=new Ft([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,a[an(u)]=c}}}catch(h){i={error:h}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(t,e,r,new Ft(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return on(t,e,n)}))}(t,n,r)){var a=new Ft(t.segments,function(t,e,n,r,i,o){var a,s,l={};try{for(var u=__values(r),c=u.next();!c.done;c=u.next()){var h=c.value;if(on(t,n,h)&&!i[an(h)]){var p=new Ft([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===o?t.segments.length:e.length,l[an(h)]=p}}}catch(d){a={error:d}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}return Object.assign({},i,l)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Ft(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function on(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||_t}function sn(t){return t.data||{}}function ln(t){return t.resolve||{}}function un(t,e,n,r){var i=Ke(t,e,r);return Mt(i.resolve?i.resolve(e,n):i(e,n))}function cn(t){return function(e){return e.pipe(Object(U.a)((function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)((function(){return e}))):Object(a.a)([e])})))}}var hn=function(){},pn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),dn=new i.o("ROUTES"),fn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Et(At(i.injector.get(dn)).map(Tt),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)((function(t){return t instanceof i.t?Object(o.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))})))},t}(),mn=function(){},gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function bn(t){throw t}function yn(t,e,n){return e.parse("/")}function vn(t,e){return Object(o.a)(null)}var _n=function(){function t(t,e,n,r,o,a,l,c){var h=this;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 s.a,this.errorHandler=bn,this.malformedUriErrorHandler=yn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.v),this.console=o.get(i.ab);var p=o.get(i.x);this.isNgZoneEnabled=p instanceof i.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(a,l,(function(t){return h.triggerEvent(new pt(t))}),(function(t){return h.triggerEvent(new dt(t))})),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({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()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(b.a)((function(t){return 0!==t.id})),Object(m.a)((function(t){return Object.assign({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(U.a)((function(t){var r,i,s,l=!1,c=!1;return Object(o.a)(t).pipe(Object(Z.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(U.a)((function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(U.a)((function(t){var r=e.transitions.getValue();return n.next(new rt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?f.a:[t]})),Object(U.a)((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(U.a)((function(t){return function(t,e,n,r,i){return new Fe(t,e,n,r,i).apply()}(r,i,a,t.extractedUrl,s).pipe(Object(m.a)((function(e){return Object.assign({},t,{urlAfterRedirects:e})})))})))}),Object(Z.a)((function(t){e.currentNavigation=Object.assign({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,o){return function(r){return r.pipe(Object(B.a)((function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new tn(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),i,o).pipe(Object(m.a)((function(t){return Object.assign({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(Z.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(Z.a)((function(t){var r=new st(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,c=t.extractedUrl,h=t.source,p=t.restoredState,d=t.extras,g=new rt(u,e.serializeUrl(c),h,p);n.next(g);var b=ue(c,e.rootComponentType).snapshot;return Object(o.a)(Object.assign({},t,{targetSnapshot:b,urlAfterRedirects:c,extras:Object.assign({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),f.a})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(Z.a)((function(t){var n=new lt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(m.a)((function(t){return Object.assign({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,o=n._root,function t(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=se(n);return e.children.forEach((function(e){!function(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!Pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!Pt(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ue(i)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new qe(l&&l.outlet&&l.outlet.component||null,s))}else s&&We(n,l,o),o.canActivateChecks.push(new Ue(i)),t(e,null,a.component?l?l.children:null:r,i,o)}(e,a[e.value.outlet],r,i.concat([e.value]),o),delete a[e.value.outlet]})),Rt(a,(function(t,e){return We(t,r.getContext(e),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),(i=e.ngModule.injector,s=function(t){return e.triggerEvent(t)},function(t){return t.pipe(Object(B.a)((function(t){var e=t.targetSnapshot,n=t.currentSnapshot,r=t.guards,l=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===l.length?Object(o.a)(Object.assign({},t,{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(B.a)((function(t){return function(t,e,n,r,i){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(o){var a,s=Ke(o,e,i);if(function(t){return t&&Pe(t.canDeactivate)}(s))a=Mt(s.canDeactivate(t,e,n,r));else{if(!Pe(s))throw new Error("Invalid CanDeactivate guard");a=Mt(s(t,e,n,r))}return a.pipe(V())}));return Object(o.a)(s).pipe(Ye())}(t.component,t.route,n,e,r)})),V((function(t){return!0!==t}),!0))}(u,e,n,i).pipe(Object(B.a)((function(t){return t&&"boolean"==typeof t?function(t,e,n,r){return Object(a.a)(e).pipe(Object(Y.a)((function(e){return Object(a.a)([Ze(e.route.parent,r),Qe(e.route,r),Je(t,e.path,n),Xe(t,e.route,n)]).pipe(Object(g.a)(),V((function(t){return!0!==t}),!0))})),V((function(t){return!0!==t}),!0))}(e,l,i,s):Object(o.a)(t)})),Object(m.a)((function(e){return Object.assign({},t,{guardsResult:e})})))})))}),Object(Z.a)((function(t){if(Ae(t.guardsResult)){var n=Ot('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Object(Z.a)((function(t){var n=new ut(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(b.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ot(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),cn((function(t){if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(Z.a)((function(t){var n=new ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),function(t,e){return function(n){return n.pipe(Object(B.a)((function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;return i.length?Object(a.a)(i).pipe(Object(Y.a)((function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(o.a)({});if(1===i.length){var s=i[0];return un(t[s],e,n,r).pipe(Object(m.a)((function(t){var e;return(e={})[s]=t,e})))}var l={};return Object(a.a)(i).pipe(Object(B.a)((function(i){return un(t[i],e,n,r).pipe(Object(m.a)((function(t){return l[i]=t,t})))}))).pipe(P(),Object(m.a)((function(){return l})))}(t._resolve,t,e,r).pipe(Object(m.a)((function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null})))}(n.route,r,t,e)})),function(t,e){return arguments.length>=2?function(n){return Object(Q.a)(K(t,e),_(1),k(e))(n)}:function(e){return Object(Q.a)(K((function(e,n,r){return t(e,n,r+1)})),_(1))(e)}}((function(t,e){return t})),Object(m.a)((function(t){return n}))):Object(o.a)(n)})))}}(e.paramsInheritanceStrategy,e.ngModule.injector),Object(Z.a)((function(t){var n=new ht(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(m.a)((function(t){var n,r,i,o,a=(n=e.routeReuseStrategy,r=t.targetSnapshot,i=t.currentRouterState,o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map((function(n){var i,o;try{for(var a=__values(r.children),s=a.next();!s.done;s=a.next()){var l=s.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return t(e,n)}))}(e,n,r);return new ae(l,i)}var o=e.retrieve(n.value);if(o){var a=o.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(var r=0;ri;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new we(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?Oe(a.segmentGroup,a.index,o.commands):xe(a.segmentGroup,a.index,o.commands);return ve(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.V)()&&this.isNgZoneEnabled&&!i.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e=0&&t-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),O=0,S=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),E=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+O++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),k=function(){},D=function(){};function I(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var T=function(){}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function a(t,e,n){return function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,a){var s=this;return(s=t.call(this,e)||this)._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=a||i.a,Object(o.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return __extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(r.a)},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){this.user=t.user,this.role=t.role,this.admin=t.admin}return Object.defineProperty(t.prototype,"isStaff",{get:function(){return"staff"===this.role},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAdmin",{get:function(){return this.isStaff&&this.admin},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLogged",{get:function(){return null!=this.user},enumerable:!0,configurable:!0}),t}()},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(t,e,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(a.a)((function(t){return Object(i.a)(t)?l.apply(void 0,__spread(t)):l(t)}))):new r.a((function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)}),r,n)}))}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(t,e){return e?Object(o.a)(t,e):new r.a(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}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return p}));var r=n("8Y7J");function i(){throw Error("Host already has a portal attached")}var o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var 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())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),a=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return __extends(e,t),e}(o),s=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).templateRef=e,i.viewContainerRef=n,i.context=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(o),l=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(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.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),u=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return __extends(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){n._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(r);-1!==t&&n.remove(t)})),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(l),c=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.m,i}return __extends(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(l),h=function(){},p=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),i=n("AytR"),o=function(){},a=function(){function t(){this.title="uds"}return t.prototype.ngOnInit=function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})},t}(),s=n("iInd"),l=r.pb({encapsulation:2,styles:[],data:{}});function u(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(1,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null)],(function(t,e){t(e,1,0)}),null)}var c=r.nb("ng-component",s.C,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,l)),r.qb(1,49152,null,0,s.C,[],null,null)],null,null)}),{},{},[]),h=n("GS7A"),p=n("zMNK"),d=n("XNiG"),f=n("quSY"),m=n("VRyK"),g=n("LRne"),b=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),_=n("KCVW"),w=n("dvZr"),C=n("JX91"),x=n("eIep"),O=n("IzEk"),S=n("pLZG"),E=n("1G5W"),k=n("D0XW"),D=n("7o/Q"),I=n("WMd4");function T(t,e){var n;void 0===e&&(e=k.a);var r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new P(r,e))}}var P=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.delay,this.scheduler))},t}(),A=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return __extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(I.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(I.a.createComplete()),this.unsubscribe()},e}(D.a),j=function(t,e){this.time=t,this.notification=e},R=n("QQfA"),M=n("/HVE"),N=new r.o("MAT_MENU_PANEL"),L=function(){},F=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this)._elementRef=e,o._focusMonitor=r,o._parentMenu=i,o.role="menuitem",o._hovered=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,r&&r.monitor(o._elementRef,!1),i&&i.addItem&&i.addItem(o),o._document=n,o}return __extends(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var r=t.childNodes.length,i=0;i')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(C.a)(this._directDescendantItems),Object(x.a)((function(t){return Object(m.a).apply(void 0,__spread(t.map((function(t){return t._hovered}))))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case w.e:Object(w.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case w.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case w.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case w.f:case w.c:Object(w.o)(t)||(e===w.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==w.l&&e!==w.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Object(C.a)(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),z=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(B),H=new r.o("mat-menu-scroll-strategy");function U(t){return function(){return t.scrollStrategies.reposition()}}var q=Object(M.f)({passive:!0}),K=function(){function t(t,e,n,i,o,a,s,l){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new r.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,q),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,q),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof B&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof B?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(S.a)((function(t){return"void"===t.toState})),Object(O.a)(1),Object(E.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new R.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e=__read("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],r=e[1],i=__read("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=i[0],a=i[1],s=__read([o,a],2),l=s[0],u=s[1],c=__read([n,r],2),h=c[0],p=c[1],d=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:d},{originX:r,originY:l,overlayX:p,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:h,overlayY:a,offsetY:-d},{originX:r,originY:u,overlayX:p,overlayY:a,offsetY:-d}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(g.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e!==t._menuItemInstance})),Object(S.a)((function(){return t._menuOpen}))):Object(g.a)();return Object(m.a)(e,r,i,n)},t.prototype._handleMousedown=function(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===w.i&&"ltr"===this.dir||e===w.g&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e===t._menuItemInstance&&!e.disabled})),T(0,b.a)).subscribe((function(){t._openedBy="mouse",t.menu instanceof B&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(O.a)(1),T(0,b.a),Object(E.a)(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),W=function(){},G=function(){},Y=n("IP0z"),Q=n("cUpR"),Z=n("SVse"),X=n("hOhj"),J=n("omvX"),$=r.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-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;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function tt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===e&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===e&&(r=!1!==i._onAnimationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),r.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function et(t){return r.Mb(2,[r.Ib(671088640,1,{templateRef:0}),(t()(),r.gb(0,[[1,2]],null,0,null,tt))],null,null)}var nt=r.pb({encapsulation:2,styles:[],data:{}});function rt(t){return r.Mb(2,[r.Cb(null,0),(t()(),r.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(2,212992,null,0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,r.Db(e,2).unbounded)}))}var it=function(){function t(t){this.el=t}return t.prototype.ngOnInit=function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())},t}(),ot="accent",at=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],st=function(t){this._elementRef=t},lt=function(t){function e(e,n,r){var i,o,a=this;(a=t.call(this,e)||this)._focusMonitor=n,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");try{for(var s=__values(at),l=s.next();!l.done;l=s.next()){var u=l.value;a._hasHostAttributes(u)&&a._getHostElement().classList.add(u)}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return e.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color=ot),a}return __extends(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._getHostElement(),t,e)},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n*,.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 pt(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(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.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(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)}))}var dt=r.pb({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 ft(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(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.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(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)}))}var mt,gt,bt=n("itXk"),yt=n("GyhO"),vt=n("HDdC"),_t=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new wt(t,this.total))},t}(),wt=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(D.a),Ct=n("Kj3r"),xt=n("lJxs"),Ot=function(){},St=new Set,Et=((gt=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kt}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!St.has(t))try{mt||((mt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(mt)),mt.sheet&&(mt.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),St.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new gt(Object(r.Rb)(M.a))},token:gt,providedIn:"root"}),gt);function kt(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Dt,It=((Dt=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new d.a}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return Tt(Object(_.a)(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Tt(Object(_.a)(t)).map((function(t){return e._registerQuery(t).observable})),r=Object(bt.a)(n);return(r=Object(yt.a)(r.pipe(Object(O.a)(1)),r.pipe((function(t){return t.lift(new _t(1))}),Object(Ct.a)(0)))).pipe(Object(xt.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),r={observable:new vt.a((function(t){var r=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(C.a)(n),Object(xt.a)((function(e){return{query:t,matches:e.matches}})),Object(E.a)(this._destroySubject)),mql:n};return this._queries.set(t,r),r},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new Dt(Object(r.Rb)(Et),Object(r.Rb)(r.x))},token:Dt,providedIn:"root"}),Dt);function Tt(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var Pt={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)"},At=20;function jt(t){return Error('Tooltip position "'+t+'" is invalid.')}var Rt=new r.o("mat-tooltip-scroll-strategy");function Mt(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:At})}}var Nt=new r.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Lt=function(){function t(t,e,n,r,i,o,a,s,l,u,c,h){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new d.a,this._scrollStrategy=l;var f=e.nativeElement,m="undefined"==typeof window||window.Hammer||h;o.IOS||o.ANDROID?m||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(t,e){return f.addEventListener(e,t)})),s.monitor(e).pipe(Object(E.a)(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(Ft,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===w.e&&!Object(w.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(E.a)(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={originX:"end",originY:"center"}}var r=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:r.x,originY:r.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:r.x,overlayY:r.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(O.a)(1),Object(E.a)(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),Ft=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new d.a,this._isHandset=this._breakpointObserver.observe(Pt.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),Vt=function(){},Bt=n("KIbp"),zt=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"serviceImage",{get:function(){return this.api.galleryImageURL(this.service.imageId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceName",{get:function(){var t=this.service.visual_name;return t.length>56&&(t=t.substring(0,53)+"..."),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceTooltip",{get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceClass",{get:function(){var t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t},enumerable:!0,configurable:!0}),t.prototype.getTransportIcon=function(t){return this.api.transportIconURL(t)},t.prototype.hasActions=function(){return this.service.allow_users_remove||this.service.allow_users_reset},t.prototype.showTransportsMenu=function(){return this.service.transports.length>1&&this.service.show_transports},t.prototype.hasMenu=function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())},t.prototype.notifyNotLaunching=function(t){this.api.gui.alert(''+django.gettext("Launcher")+"
",t)},t.prototype.launch=function(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching(''+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
'+this.api.config.messages.calendarDenied+'
'):(null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link))},t.prototype.action=function(t){var e=this,n="release"===t?django.gettext("Release service: "):django.gettext("Reset service: ")+this.serviceName,r="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(n,django.gettext("Are you sure?")).subscribe((function(i){i&&e.api.action(t,e.service.id).subscribe((function(t){t&&e.api.gui.alert(n,r)}))}))},t}(),Ht=r.pb({encapsulation:0,styles:[[".service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.2em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;height:1.5em;padding:0 .5em}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgb(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]::before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-family:'Material Icons';font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]::before{color:#fc0000;content:'update'}.maintenance[_ngcontent-%COMP%]::before{color:#fcb900;content:'build'}.tobereplaced[_ngcontent-%COMP%]::before{color:#fc0000;content:'delete_forever'}"]],data:{}});function Ut(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.launch(t.context.$implicit)&&i),i}),rt,nt)),r.qb(1,180224,[[1,4],[2,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,2,"div",[["class","transport-item"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.Kb(4,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null),t(e,3,0,n.getTransportIcon(e.context.$implicit.id)),t(e,4,0,e.context.$implicit.name)}))}function qt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.action("release")&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["delete"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,[" Release service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function Kt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.action("reset")&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["refresh"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,[" Reset service"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function Wt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Connections"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,4)),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null)}))}function Gt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Actions"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,13)),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null)}))}function Yt(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["menu"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,24))}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).menuOpen||null)}))}function Qt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,8,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(4,1294336,[["transports",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,1,{_allItems:1}),r.Ib(603979776,2,{items:1}),r.Ib(603979776,3,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,Ut)),r.qb(9,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(10,0,null,null,10,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(13,1294336,[["actions",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,4,{_allItems:1}),r.Ib(603979776,5,{items:1}),r.Ib(603979776,6,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,qt)),r.qb(18,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,Kt)),r.qb(20,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(21,0,null,null,10,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(24,1294336,[["menu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,7,{_allItems:1}),r.Ib(603979776,8,{items:1}),r.Ib(603979776,9,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,Wt)),r.qb(29,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,Gt)),r.qb(31,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(32,16777216,null,null,10,"div",[["matTooltipPosition","above"],["matTooltipShowDelay","1000"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==r.Db(t,35).show()&&i),"keydown"===e&&(i=!1!==r.Db(t,35)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==r.Db(t,35)._handleTouchend()&&i),i}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(34,278528,null,0,Z.i,[Z.v],{ngClass:[0,"ngClass"]},null),r.qb(35,212992,null,0,Lt,[R.c,r.k,X.a,r.N,r.x,M.a,y.c,y.e,Rt,[2,Y.b],[2,Nt],[2,Q.f]],{position:[0,"position"],disabled:[1,"disabled"],showDelay:[2,"showDelay"],message:[3,"message"]},null),(t()(),r.rb(36,0,null,null,1,"div",[["class","icon"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.launch(null)&&r),r}),null,null)),(t()(),r.rb(37,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(38,0,null,null,1,"div",[["class","name"]],null,null,null,null,null)),(t()(),r.Kb(39,null,[" "," "])),(t()(),r.rb(40,0,null,null,2,"div",[["class","menu"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Yt)),r.qb(42,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0),t(e,9,0,n.service.transports),t(e,13,0),t(e,18,0,n.service.allow_users_remove),t(e,20,0,n.service.allow_users_reset),t(e,24,0),t(e,29,0,n.showTransportsMenu()),t(e,31,0,n.hasActions()),t(e,34,0,n.serviceClass),t(e,35,0,"above",""===n.serviceTooltip,"1000",n.serviceTooltip),t(e,42,0,n.hasMenu())}),(function(t,e){var n=e.component;t(e,37,0,n.serviceImage),t(e,39,0,n.serviceName)}))}function Zt(t){return r.Mb(0,[(t()(),r.gb(16777216,null,null,1,null,Qt)),r.qb(1,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.service.transports.length>0)}),null)}var Xt=0,Jt=function(){function t(){this._stateChanges=new d.a,this._openCloseAllActions=new d.a,this.id="cdk-accordion-"+Xt++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=Object(_.b)(t)},enumerable:!0,configurable:!0}),t.prototype.openAll=function(){this._openCloseAll(!0)},t.prototype.closeAll=function(){this._openCloseAll(!1)},t.prototype.ngOnChanges=function(t){this._stateChanges.next(t)},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.prototype._openCloseAll=function(t){this.multi&&this._openCloseAllActions.next(t)},t}(),$t=0,te=function(){function t(t,e,n){var i=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new r.m,this.opened=new r.m,this.destroyed=new r.m,this.expandedChange=new r.m,this.id="cdk-accordion-child-"+$t++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen((function(t,e){i.accordion&&!i.accordion.multi&&i.accordion.id===e&&i.id!==t&&(i.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){t=Object(_.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe((function(e){t.disabled||(t.expanded=e)}))},t}(),ee=function(){},ne=n("EY2u"),re=n("/uUt"),ie=new r.o("MAT_ACCORDION"),oe=0,ae=new r.o("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),se=function(t){function e(e,n,i,o,a,s,l){var u=this;return(u=t.call(this,e,n,i)||this)._viewContainerRef=o,u._animationMode=s,u._hideToggle=!1,u.afterExpand=new r.m,u.afterCollapse=new r.m,u._inputChanges=new d.a,u._headerId="mat-expansion-panel-header-"+oe++,u._bodyAnimationDone=new d.a,u.accordion=e,u._document=a,u._bodyAnimationDone.pipe(Object(re.a)((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){"void"!==t.fromState&&("expanded"===t.toState?u.afterExpand.emit():"collapsed"===t.toState&&u.afterCollapse.emit())})),l&&(u.hideToggle=l.hideToggle),u}return __extends(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(Object(C.a)(null),Object(S.a)((function(){return t.expanded&&!t._portal})),Object(O.a)(1)).subscribe((function(){t._portal=new p.g(t._lazyContent._template,t._viewContainerRef)}))},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1},e}(te),le=function(){function t(t,e,n,r,i){var o=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;var a=t.accordion?t.accordion._stateChanges.pipe(Object(S.a)((function(t){return!(!t.hideToggle&&!t.togglePosition)}))):ne.a;this._parentChangeSubscription=Object(m.a)(t.opened,t.closed,a,t._inputChanges.pipe(Object(S.a)((function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),t.closed.pipe(Object(S.a)((function(){return t._containsFocus()}))).subscribe((function(){return n.focusVia(e,"program")})),n.monitor(e).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)})),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}return t.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),t.prototype._toggle=function(){this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._getTogglePosition=function(){return this.panel.togglePosition},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case w.j:case w.d:Object(w.o)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._element,t,e)},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},t}(),ue=function(){},ce=function(){},he=function(t){function e(){var e=this;return(e=t.apply(this,__spread(arguments))||this)._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return __extends(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(_.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new y.d(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(t){var e=t.keyCode,n=this._keyManager;e===w.f?Object(w.o)(t)||(n.setFirstItemActive(),t.preventDefault()):e===w.c?Object(w.o)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)},e.prototype._handleHeaderFocus=function(t){this._keyManager.updateActiveItem(t)},e}(Jt),pe=function(){},de=n("8bJo"),fe=r.pb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function me(t){return r.Mb(0,[(t()(),r.gb(0,null,null,0))],null,null)}function ge(t){return r.Mb(2,[r.Ib(671088640,1,{_body:0}),r.Cb(null,0),(t()(),r.rb(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var r=!0;return"@bodyExpansion.done"===e&&(r=!1!==t.component._bodyAnimationDone.next(n)&&r),r}),null,null)),(t()(),r.rb(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),r.Cb(null,1),(t()(),r.gb(16777216,null,null,1,null,me)),r.qb(6,212992,null,0,p.b,[r.j,r.N],{portal:[0,"portal"]},null),r.Cb(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var be=r.pb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function ye(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function ve(t){return r.Mb(2,[(t()(),r.rb(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),r.Cb(null,0),r.Cb(null,1),r.Cb(null,2),(t()(),r.gb(16777216,null,null,1,null,ye)),r.qb(5,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}var _e=function(){function t(t){this.api=t,this.expanded=!1}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"groupImage",{get:function(){return this.api.galleryImageURL(this.group.imageUuid)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleServices",{get:function(){return this.services.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortedServices",{get:function(){return this.services.sort((function(t,e){return t.name>e.name?1:t.namee.group.id?1:t.group.id0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(Ne.a)(this._label.nativeElement,"transitionend").pipe(Object(O.a)(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(r){if("start"===r.align){if(t||n.hintLabel)throw Fe("start");t=r}else if("end"===r.align){if(e)throw Fe("end");e=r}}))},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t,e,n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var r=0,i=0,o=this._connectionContainerRef.nativeElement,a=o.querySelectorAll(".mat-form-field-outline-start"),s=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var l=o.getBoundingClientRect();if(0===l.width&&0===l.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var u=this._getStartEnd(l),c=this._getStartEnd(n.children[0].getBoundingClientRect()),h=0;try{for(var p=__values(n.children),d=p.next();!d.done;d=p.next()){h+=d.value.offsetWidth}}catch(m){t={error:m}}finally{try{d&&!d.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}r=c-u-5,i=h>0?.75*h+10:0}for(var f=0;f enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Ye(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),r.rb(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),r.rb(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Qe(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),r.Cb(null,0)],null,null)}function Ze(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,3,null,null,null,null,null,null,null)),r.Cb(null,2),(t()(),r.rb(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Kb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function Xe(t){return r.Mb(0,[r.Cb(null,3),(t()(),r.gb(0,null,null,0))],null,null)}function Je(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" *"]))],null,null)}function $e(t){return r.Mb(0,[(t()(),r.rb(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r}),null,null)),r.qb(1,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),r.qb(2,1196032,null,0,We.a,[We.b,r.k,r.x],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),r.gb(16777216,null,null,1,null,Ze)),r.qb(4,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,Xe)),r.qb(6,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,Je)),r.qb(8,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function tn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),r.Cb(null,4)],null,null)}function en(t){return r.Mb(0,[(t()(),r.rb(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function nn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),r.Cb(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function rn(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function on(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,rn)),r.qb(2,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Cb(null,6),(t()(),r.rb(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),r.Cb(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function an(t){return r.Mb(2,[r.Ib(671088640,1,{underlineRef:0}),r.Ib(402653184,2,{_connectionContainerRef:0}),r.Ib(671088640,3,{_inputContainerRef:0}),r.Ib(671088640,4,{_label:0}),(t()(),r.rb(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),r.rb(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r}),null,null)),(t()(),r.gb(16777216,null,null,1,null,Ye)),r.qb(7,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,Qe)),r.qb(9,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),r.Cb(null,1),(t()(),r.rb(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,$e)),r.qb(14,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,tn)),r.qb(16,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,en)),r.qb(18,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),r.qb(20,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,nn)),r.qb(22,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,on)),r.qb(24,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var sn=n("NXyV"),ln=0,un=new r.o("mat-select-scroll-strategy");function cn(t){return function(){return t.scrollStrategies.reposition()}}var hn=function(t,e){this.source=t,this.value=e},pn=function(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i},dn=function(t){function e(e,n,i,o,a,s,l,u,c,h,p,f,g){var b=this;return(b=t.call(this,a,o,l,u,h)||this)._viewportRuler=e,b._changeDetectorRef=n,b._ngZone=i,b._dir=s,b._parentFormField=c,b.ngControl=h,b._liveAnnouncer=g,b._panelOpen=!1,b._required=!1,b._scrollTop=0,b._multiple=!1,b._compareWith=function(t,e){return t===e},b._uid="mat-select-"+ln++,b._destroy=new d.a,b._triggerFontSize=0,b._onChange=function(){},b._onTouched=function(){},b._optionIds="",b._transformOrigin="top",b._panelDoneAnimatingStream=new d.a,b._offsetY=0,b._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],b._disableOptionCentering=!1,b._focused=!1,b.controlType="mat-select",b.ariaLabel="",b.optionSelectionChanges=Object(sn.a)((function(){var t=b.options;return t?t.changes.pipe(Object(C.a)(t),Object(x.a)((function(){return Object(m.a).apply(void 0,__spread(t.map((function(t){return t.onSelectionChange}))))}))):b._ngZone.onStable.asObservable().pipe(Object(O.a)(1),Object(x.a)((function(){return b.optionSelectionChanges})))})),b.openedChange=new r.m,b._openedStream=b.openedChange.pipe(Object(S.a)((function(t){return t})),Object(xt.a)((function(){}))),b._closedStream=b.openedChange.pipe(Object(S.a)((function(t){return!t})),Object(xt.a)((function(){}))),b.selectionChange=new r.m,b.valueChange=new r.m,b.ngControl&&(b.ngControl.valueAccessor=b),b._scrollStrategyFactory=f,b._scrollStrategy=b._scrollStrategyFactory(),b.tabIndex=parseInt(p)||0,b.id=b.id,b}return __extends(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(_.b)(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new de.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(re.a)(),Object(E.a)(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(E.a)(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(E.a)(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Object(C.a)(null),Object(E.a)(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=e===w.b||e===w.l||e===w.g||e===w.i,r=this._keyManager;if((e===w.d||e===w.j)&&!Object(w.o)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;e===w.f||e===w.c?(e===w.f?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;this._liveAnnouncer&&o&&i!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=e===w.b||e===w.l,r=this._keyManager;if(e===w.f||e===w.c)t.preventDefault(),e===w.f?r.setFirstItemActive():r.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==w.d&&e!==w.j||!r.activeItem||Object(w.o)(t))if(this._multiple&&e===w.a&&t.ctrlKey){t.preventDefault();var i=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(i?t.select():t.deselect())}))}else{var o=r.activeItemIndex;r.onKeydown(t),this._multiple&&n&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(Object(O.a)(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return Object(r.V)()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new y.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(E.a)(this._destroy)).subscribe((function(){t.focus(),t.close()})),this._keyManager.change.pipe(Object(E.a)(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))},e.prototype._resetOptions=function(){var t=this,e=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(E.a)(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),Object(m.a).apply(void 0,__spread(this.options.map((function(t){return t._stateChanges})))).pipe(Object(E.a)(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,r){return t.sortComparator?t.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)})),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new hn(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t=this._keyManager.activeItemIndex||0,e=Object(v.x)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(v.y)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._getOptionIndex=function(t){return this.options.reduce((function(e,n,r){return void 0===e?t===n?r:void 0:e}),void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),r=e*t-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(v.x)(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},e.prototype._calculateOverlayScroll=function(t,e,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*t-e+r/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)t=40;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}r||(t*=-1);var a=0-(e.left+t-(r?i:0)),s=e.right+t-n.width+(r?0:i);a>0?t+=a+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*r-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):o>r?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Object(v.A)(Object(v.D)(Object(v.B)(Object(v.C)(pn))))),fn=function(){},mn=n("DH7j"),gn=n("XoHu"),bn=n("Cfvw");function yn(t,e){return new vt.a((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var l=Object(bn.a)(t[s]),u=!1;n.add(l.subscribe({next:function(t){u||(u=!0,a++),i[s]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&u||(a===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},l=0;lt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return _n(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return _n(t.value)?null:wn.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(_n(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(_n(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(xn);return 0==e.length?null:function(t){return Sn(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(xn);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e\n \n \n
\n \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Tn='\n \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',Pn='\n ',An=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Dn)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+In+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Pn)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Dn)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+In)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Tn)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function jn(t,e){t||Ln(e,"Cannot find control with"),e.valueAccessor||Ln(e,"No value accessor for form control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Rn(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Rn(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function Rn(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mn(t,e){null==t&&Ln(e,"Cannot find control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator])}function Nn(t){return Ln(t,"There is no FormControl instance attached to form control element with")}function Ln(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Fn(t){return null!=t?Cn.compose(t.map(En)):null}function Vn(t){return null!=t?Cn.composeAsync(t.map(kn)):null}function Bn(t,e){t._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function zn(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function Hn(t){var e=qn(t)?t.validators:t;return Array.isArray(e)?Fn(e):e||null}function Un(t,e){var n=qn(e)?e.asyncValidators:t;return Array.isArray(n)?Vn(n):n||null}function qn(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Kn=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Hn(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Un(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign({},t,{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign({},t,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=On(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(t,e){return t instanceof Gn?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Yn&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new r.m,this.statusChanges=new r.m},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){qn(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Wn=function(t){function e(e,n,r){void 0===e&&(e=null);var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this)._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return __extends(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Kn),Gn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Wn?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=__values(Object.keys(this.controls)),r=n.next();!r.done;r=n.next()){var i=r.value;if(this.controls[i].enabled)return!1}}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(Kn),Yn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Wn?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=__values(this.controls),r=n.next();!r.done;r=n.next()){if(r.value.enabled)return!1}}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Kn),Qn=Promise.resolve(null),Zn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).submitted=!1,i._directives=[],i.ngSubmit=new r.m,i.form=new Gn({},Fn(e),Vn(n)),i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),jn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),zn(e._directives,t)}))},e.prototype.addFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path),r=new Gn({});Mn(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Qn.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(vn),Xn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.m,i}return __extends(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return jn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){zn(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return Nn(e)})),e.valueAccessor.registerOnTouched((function(){return Nn(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&jn(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Fn(this._validators);this.form.validator=Cn.compose([this.form.validator,t]);var e=Vn(this._asyncValidators);this.form.asyncValidator=Cn.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||An.missingFormException()},e}(vn),Jn=r.pb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function $n(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function tr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function er(t){return r.Mb(0,[r.Cb(null,0),(t()(),r.gb(0,null,null,0))],null,null)}function nr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),r.qb(1,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,tr)),r.qb(3,16384,null,0,Z.p,[r.N,r.K,Z.n],null,null),(t()(),r.gb(16777216,null,null,1,null,er)),r.qb(5,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function rr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),r.rb(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var r=!0,i=t.component;return"@transformPanel.done"===e&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(3,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Cb(null,1)],(function(t,e){var n=e.component;t(e,3,0,r.vb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function ir(t){return r.Mb(2,[r.Ib(671088640,1,{trigger:0}),r.Ib(671088640,2,{panel:0}),r.Ib(671088640,3,{overlayDir:0}),(t()(),r.rb(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggle()&&r),r}),null,null)),r.qb(4,16384,[["origin",4]],0,R.b,[r.k],null,null),(t()(),r.rb(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),r.qb(6,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,$n)),r.qb(8,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,nr)),r.qb(10,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.rb(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),r.rb(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,(function(t,e,n){var r=!0,i=t.component;return"backdropClick"===e&&(r=!1!==i.close()&&r),"attach"===e&&(r=!1!==i._onAttached()&&r),"detach"===e&&(r=!1!==i.close()&&r),r}),rr)),r.qb(14,671744,[[3,4]],0,R.a,[R.c,r.K,r.N,R.j,[2,Y.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,r.Db(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}n("3UWI");var or,ar=Object(M.f)({passive:!0}),sr=((or=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return ne.a;var n=Object(_.d)(t),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new d.a,o="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!1})}))):(n.classList.add(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",a,ar),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,ar)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=Object(_.d)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach((function(e,n){return t.stopMonitoring(n)}))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new or(Object(r.Rb)(M.a),Object(r.Rb)(r.x))},token:or,providedIn:"root"}),or),lr=function(){},ur=["button","checkbox","file","hidden","image","radio","range","reset","submit"],cr=0,hr=function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r},pr=function(t){function e(e,n,r,i,o,a,s,l,u){var c=this;(c=t.call(this,a,i,o,r)||this)._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+cr++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new d.a,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Object(M.e)().has(t)}));var h=c._elementRef.nativeElement;return c._inputValueAccessor=s||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return __extends(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(_.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(M.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(_.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(ur.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(Object(v.C)(hr)),dr=function(){},fr=n("D8EZ"),mr=r.pb({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]],data:{}});function gr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==r.Db(t,1)._handleKeydown(n)&&i),i}),je,Pe)),r.qb(1,8568832,[[28,4]],0,v.p,[r.k,r.h,[2,v.j],[2,v.o]],{value:[0,"value"]},null),(t()(),r.Kb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.id)}),(function(t,e){t(e,0,0,r.Db(e,1)._getTabIndex(),r.Db(e,1).selected,r.Db(e,1).multiple,r.Db(e,1).active,r.Db(e,1).id,r.Db(e,1)._getAriaSelected(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function br(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,25,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,24,"mat-form-field",[["appaerance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(2,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],null,null),r.Ib(603979776,19,{_controlNonStatic:0}),r.Ib(335544320,20,{_controlStatic:0}),r.Ib(603979776,21,{_labelChildNonStatic:0}),r.Ib(335544320,22,{_labelChildStatic:0}),r.Ib(603979776,23,{_placeholderChild:0}),r.Ib(603979776,24,{_errorChildren:1}),r.Ib(603979776,25,{_hintChildren:1}),r.Ib(603979776,26,{_prefixChildren:1}),r.Ib(603979776,27,{_suffixChildren:1}),(t()(),r.rb(12,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(13,16384,[[21,4],[22,4]],0,Ve,[],null,null),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Authenticator"])),(t()(),r.rb(17,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,o=t.component;return"keydown"===e&&(i=!1!==r.Db(t,19)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==r.Db(t,19)._onFocus()&&i),"blur"===e&&(i=!1!==r.Db(t,19)._onBlur()&&i),"selectionChange"===e&&(i=!1!==o.changeAuth(n.value)&&i),i}),ir,Jn)),r.Hb(6144,null,v.j,null,[dn]),r.qb(19,2080768,null,3,dn,[X.d,r.h,r.x,v.b,r.k,[2,Y.b],[2,Zn],[2,Xn],[2,qe],[8,null],[8,null],un,y.g],{value:[0,"value"]},{selectionChange:"selectionChange"}),r.Ib(603979776,28,{options:1}),r.Ib(603979776,29,{optionGroups:1}),r.Ib(603979776,30,{customTrigger:0}),r.Hb(2048,[[19,4],[20,4]],Le,null,[dn]),(t()(),r.gb(16777216,null,1,1,null,gr)),r.qb(25,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,15,0),t(e,19,0,n.auths[0].id),t(e,25,0,n.auths)}),(function(t,e){t(e,1,1,["standard"==r.Db(e,2).appearance,"fill"==r.Db(e,2).appearance,"outline"==r.Db(e,2).appearance,"legacy"==r.Db(e,2).appearance,r.Db(e,2)._control.errorState,r.Db(e,2)._canLabelFloat,r.Db(e,2)._shouldLabelFloat(),r.Db(e,2)._hasFloatingLabel(),r.Db(e,2)._hideControlPlaceholder(),r.Db(e,2)._control.disabled,r.Db(e,2)._control.autofilled,r.Db(e,2)._control.focused,"accent"==r.Db(e,2).color,"warn"==r.Db(e,2).color,r.Db(e,2)._shouldForward("untouched"),r.Db(e,2)._shouldForward("touched"),r.Db(e,2)._shouldForward("pristine"),r.Db(e,2)._shouldForward("dirty"),r.Db(e,2)._shouldForward("valid"),r.Db(e,2)._shouldForward("invalid"),r.Db(e,2)._shouldForward("pending"),!r.Db(e,2)._animationsEnabled]),t(e,17,1,[r.Db(e,19).id,r.Db(e,19).tabIndex,r.Db(e,19)._getAriaLabel(),r.Db(e,19)._getAriaLabelledby(),r.Db(e,19).required.toString(),r.Db(e,19).disabled.toString(),r.Db(e,19).errorState,r.Db(e,19).panelOpen?r.Db(e,19)._optionIds:null,r.Db(e,19).multiple,r.Db(e,19)._ariaDescribedby||null,r.Db(e,19)._getAriaActiveDescendant(),r.Db(e,19).disabled,r.Db(e,19).errorState,r.Db(e,19).required,r.Db(e,19).empty])}))}function yr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,57,"form",[["id","loginform"],["method","post"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"input",[["id","token"],["name",""],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"input",[["id","id_logouturl"],["name","logouturl"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"input",[["id","authenticator"],["name","authenticator"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,53,"div",[["class","login-container"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,"div",[["class","login-brand"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"div",[["class","login-info"]],null,null,null,null,null)),(t()(),r.Kb(8,null,[" "," "])),(t()(),r.rb(9,0,null,null,48,"div",[["class","login-form"]],null,null,null,null,null)),(t()(),r.rb(10,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(12,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,1,{_controlNonStatic:0}),r.Ib(335544320,2,{_controlStatic:0}),r.Ib(603979776,3,{_labelChildNonStatic:0}),r.Ib(335544320,4,{_labelChildStatic:0}),r.Ib(603979776,5,{_placeholderChild:0}),r.Ib(603979776,6,{_errorChildren:1}),r.Ib(603979776,7,{_hintChildren:1}),r.Ib(603979776,8,{_prefixChildren:1}),r.Ib(603979776,9,{_suffixChildren:1}),(t()(),r.rb(22,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(23,16384,[[3,4],[4,4]],0,Ve,[],null,null),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Username"])),(t()(),r.rb(27,0,null,1,2,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["id","id_user"],["matInput",""],["name","user"],["required",""],["value",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,28)._onInput()&&i),i}),null,null)),r.qb(28,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],required:[1,"required"],value:[2,"value"]},null),r.Hb(2048,[[1,4],[2,4]],Le,null,[pr]),(t()(),r.rb(30,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(32,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,10,{_controlNonStatic:0}),r.Ib(335544320,11,{_controlStatic:0}),r.Ib(603979776,12,{_labelChildNonStatic:0}),r.Ib(335544320,13,{_labelChildStatic:0}),r.Ib(603979776,14,{_placeholderChild:0}),r.Ib(603979776,15,{_errorChildren:1}),r.Ib(603979776,16,{_hintChildren:1}),r.Ib(603979776,17,{_prefixChildren:1}),r.Ib(603979776,18,{_suffixChildren:1}),(t()(),r.rb(42,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(43,16384,[[12,4],[13,4]],0,Ve,[],null,null),(t()(),r.rb(44,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(45,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Password"])),(t()(),r.rb(47,0,null,1,2,"input",[["class","form-control mat-input-element mat-form-field-autofill-control"],["data-eye",""],["id","id_password"],["matInput",""],["name","password"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,48)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,48)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,48)._onInput()&&i),i}),null,null)),r.qb(48,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],type:[1,"type"]},null),r.Hb(2048,[[10,4],[11,4]],Le,null,[pr]),(t()(),r.gb(16777216,null,null,1,null,br)),r.qb(51,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(52,0,null,null,5,"div",[["class","login-button"]],null,null,null,null,null)),(t()(),r.rb(53,0,null,null,4,"button",[["color","primary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,pt,ht)),r.qb(54,180224,null,0,lt,[r.k,y.e,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(55,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(56,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Login"]))],(function(t,e){var n=e.component;t(e,12,0,"standard"),t(e,25,0),t(e,28,0,"id_user","",""),t(e,32,0,"standard"),t(e,45,0),t(e,48,0,"id_password","password"),t(e,51,0,n.auths.length>1),t(e,54,0,"primary"),t(e,56,0)}),(function(t,e){var n=e.component;t(e,6,0,n.api.staticURL("modern/img/login-img.png")),t(e,8,0,n.title),t(e,11,1,["standard"==r.Db(e,12).appearance,"fill"==r.Db(e,12).appearance,"outline"==r.Db(e,12).appearance,"legacy"==r.Db(e,12).appearance,r.Db(e,12)._control.errorState,r.Db(e,12)._canLabelFloat,r.Db(e,12)._shouldLabelFloat(),r.Db(e,12)._hasFloatingLabel(),r.Db(e,12)._hideControlPlaceholder(),r.Db(e,12)._control.disabled,r.Db(e,12)._control.autofilled,r.Db(e,12)._control.focused,"accent"==r.Db(e,12).color,"warn"==r.Db(e,12).color,r.Db(e,12)._shouldForward("untouched"),r.Db(e,12)._shouldForward("touched"),r.Db(e,12)._shouldForward("pristine"),r.Db(e,12)._shouldForward("dirty"),r.Db(e,12)._shouldForward("valid"),r.Db(e,12)._shouldForward("invalid"),r.Db(e,12)._shouldForward("pending"),!r.Db(e,12)._animationsEnabled]),t(e,27,0,r.Db(e,28)._isServer,r.Db(e,28).id,r.Db(e,28).placeholder,r.Db(e,28).disabled,r.Db(e,28).required,r.Db(e,28).readonly&&!r.Db(e,28)._isNativeSelect||null,r.Db(e,28)._ariaDescribedby||null,r.Db(e,28).errorState,r.Db(e,28).required.toString()),t(e,31,1,["standard"==r.Db(e,32).appearance,"fill"==r.Db(e,32).appearance,"outline"==r.Db(e,32).appearance,"legacy"==r.Db(e,32).appearance,r.Db(e,32)._control.errorState,r.Db(e,32)._canLabelFloat,r.Db(e,32)._shouldLabelFloat(),r.Db(e,32)._hasFloatingLabel(),r.Db(e,32)._hideControlPlaceholder(),r.Db(e,32)._control.disabled,r.Db(e,32)._control.autofilled,r.Db(e,32)._control.focused,"accent"==r.Db(e,32).color,"warn"==r.Db(e,32).color,r.Db(e,32)._shouldForward("untouched"),r.Db(e,32)._shouldForward("touched"),r.Db(e,32)._shouldForward("pristine"),r.Db(e,32)._shouldForward("dirty"),r.Db(e,32)._shouldForward("valid"),r.Db(e,32)._shouldForward("invalid"),r.Db(e,32)._shouldForward("pending"),!r.Db(e,32)._animationsEnabled]),t(e,47,0,r.Db(e,48)._isServer,r.Db(e,48).id,r.Db(e,48).placeholder,r.Db(e,48).disabled,r.Db(e,48).required,r.Db(e,48).readonly&&!r.Db(e,48)._isNativeSelect||null,r.Db(e,48)._ariaDescribedby||null,r.Db(e,48).errorState,r.Db(e,48).required.toString()),t(e,53,0,r.Db(e,54).disabled||null,"NoopAnimations"===r.Db(e,54)._animationMode)}))}var vr=r.nb("uds-login",fr.a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-login",[],null,null,null,yr,mr)),r.qb(1,114688,null,0,fr.a,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),_r=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),wr=r.pb({encapsulation:0,styles:[[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 21%}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:justify}"]],data:{}});function Cr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"div",[["class","plugin"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","image"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(3,0,null,null,1,"div",[["class","platform"]],null,null,null,null,null)),(t()(),r.Kb(4,null,[" "," "])),(t()(),r.rb(5,0,null,null,1,"div",[["class","description"]],null,null,null,null,null)),(t()(),r.Kb(6,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.img(e.context.$implicit.name)),t(e,4,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.description)}))}function xr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,13,"div",[["class","plugins-container"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Client"])),(t()(),r.rb(7,0,null,null,2,"div",[["class","plugins"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Cr)),r.qb(9,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(10,0,null,null,3,"div",[["class","info"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Download UDS client for your platform"]))],(function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.api.plugins),t(e,12,0)}),null)}var Or=r.nb("uds-client-download",_r,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-client-download",[],null,null,null,xr,wr)),r.qb(1,114688,null,0,_r,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Sr=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)},t}(),Er=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),kr=r.pb({encapsulation:0,styles:[[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700}"]],data:{}});function Dr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","actor"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","name"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(2,1),(t()(),r.rb(3,0,null,null,1,"div",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(4,1)],null,(function(t,e){var n=r.Lb(e,1,0,t(e,2,0,r.Db(e.parent,0),e.context.$implicit.name));t(e,1,0,n);var i=r.Lb(e,3,0,t(e,4,0,r.Db(e.parent,0),e.context.$implicit.description));t(e,3,0,i)}))}function Ir(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,9,"div",[["class","actors-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(6,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Downloads"])),(t()(),r.rb(8,0,null,null,2,"div",[["class","actors"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Dr)),r.qb(10,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,6,0),t(e,10,0,n.api.actors)}),null)}var Tr=r.nb("uds-downloads",Er,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-downloads",[],null,null,null,Ir,kr)),r.qb(1,114688,null,0,Er,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Pr=function(){function t(t){this.route=t,this.error=""}return t.prototype.ngOnInit=function(){this.getError()},t.prototype.getError=function(){var t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),(function(t){return t.charCodeAt(t)}))).replace("\n"," "),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}},t}(),Ar=r.pb({encapsulation:0,styles:[[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:5s infinite CogAnimation;animation:5s infinite CogAnimation}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]],data:{}});function jr(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,17,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","graph"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,1,":svg:svg",[["class","bird"],["viewBox","0 0 55 41"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,0,":svg:path",[["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,":svg:svg",[["class","gears"],["viewBox","0 0 32 32"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,":svg:path",[["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,3,"h1",[["class","title"]],null,null,null,null,null)),(t()(),r.rb(8,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(9,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["An error has occurred"])),(t()(),r.rb(11,0,null,null,1,"p",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(12,1),(t()(),r.rb(13,0,null,null,5,"a",[["color","warn"],["mat-raised-button",""],["routerLink","/"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),"click"===e&&(i=!1!==r.Db(t,15)._haltDisabledEvents(n)&&i),i}),ft,dt)),r.qb(14,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),r.qb(15,180224,null,0,ut,[y.e,r.k,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(16,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(17,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Return"]))],(function(t,e){t(e,9,0),t(e,14,0,"/"),t(e,15,0,"warn"),t(e,17,0)}),(function(t,e){var n=e.component,i=r.Lb(e,11,0,t(e,12,0,r.Db(e,0),n.error));t(e,11,0,i),t(e,13,0,r.Db(e,14).target,r.Db(e,14).href,r.Db(e,15).disabled?-1:r.Db(e,15).tabIndex||0,r.Db(e,15).disabled||null,r.Db(e,15).disabled.toString(),"NoopAnimations"===r.Db(e,15)._animationMode)}))}var Rr=r.nb("uds-error",Pr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-error",[],null,null,null,jr,Ar)),r.qb(1,114688,null,0,Pr,[s.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Mr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t}(),Nr=r.pb({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;padding-left:10px;cursor:pointer;border-bottom:1px solid #ccc}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function Lr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,47,"div",[["class","about"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),r.Kb(2,null,["Universal Desktop Services "," build ",""])),(t()(),r.rb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,1,"a",[["href","http://www.udsenterprise.com"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" \xa9 2012-2018 Virtual Cable S.L.U."])),(t()(),r.rb(6,0,null,null,5,"h4",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can access UDS Open Source code at"])),(t()(),r.rb(10,0,null,null,1,"a",[["href","https://github.com/dkmstr/openuds"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" OpenUDS github repository"])),(t()(),r.rb(12,0,null,null,35,"div",[["class","components"]],null,null,null,null,null)),(t()(),r.rb(13,0,null,null,3,"h2",[],null,null,null,null,null)),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS has been developed using these components:"])),(t()(),r.rb(17,0,null,null,24,"ul",[],null,null,null,null,null)),(t()(),r.rb(18,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,1,"a",[["href","https://www.python.org/"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Python"])),(t()(),r.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(22,0,null,null,1,"a",[["href","https://www.typescriptlang.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["TypeScript"])),(t()(),r.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(25,0,null,null,1,"a",[["href","https://www.djangoproject.com/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Django"])),(t()(),r.rb(27,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(28,0,null,null,1,"a",[["href","https://angular.io"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Angular"])),(t()(),r.rb(30,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,1,"a",[["href","https://guac-dev.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Guacamole"])),(t()(),r.rb(33,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(34,0,null,null,1,"a",[["href","https://weasyprint.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["weasyprint"])),(t()(),r.rb(36,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(37,0,null,null,1,"a",[["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Crystal project icons"])),(t()(),r.rb(39,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(40,0,null,null,1,"a",[["href","https://github.com/NitruxSA/flattr-icons"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Flattr Icons"])),(t()(),r.rb(42,0,null,null,5,"p",[],null,null,null,null,null)),(t()(),r.rb(43,0,null,null,4,"small",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["* "])),(t()(),r.rb(45,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(46,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If you find that we missed any component, please let us know"]))],(function(t,e){t(e,8,0),t(e,15,0),t(e,46,0)}),(function(t,e){var n=e.component;t(e,2,0,n.api.config.version,n.api.config.version_stamp)}))}var Fr=r.nb("uds-about",Mr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-about",[],null,null,null,Lr,Nr)),r.qb(1,114688,null,0,Mr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Vr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)},t}(),Br=r.pb({encapsulation:0,styles:[[""]],data:{}});function zr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,31,"div",[],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(3,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Service launcher"])),(t()(),r.rb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["The service you have requested is being launched."])),(t()(),r.rb(10,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Please, note that reloading this page will not work."])),(t()(),r.rb(14,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(15,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(16,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["To relaunch service, you will have to do it from origin."])),(t()(),r.rb(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,3,"h6",[],null,null,null,null,null)),(t()(),r.rb(20,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(21,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If the service does not launchs automatically, probably you dont have the UDS plugin installed"])),(t()(),r.rb(23,0,null,null,8,"h6",[],null,null,null,null,null)),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can obtain it from the"])),(t()(),r.rb(27,0,null,null,4,"a",[["routerLink","/client-download"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,28).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.qb(28,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),(t()(),r.rb(29,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(30,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Plugin download page"]))],(function(t,e){t(e,3,0),t(e,8,0),t(e,12,0),t(e,16,0),t(e,21,0),t(e,25,0),t(e,28,0,"/client-download"),t(e,30,0)}),(function(t,e){t(e,27,0,r.Db(e,28).target,r.Db(e,28).href)}))}var Hr=r.nb("uds-launcher",Vr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-launcher",[],null,null,null,zr,Br)),r.qb(1,114688,null,0,Vr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Ur=r.pb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function qr(t){return r.Mb(2,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var r=!0,i=t.component;return"@state.start"===e&&(r=!1!==i._animationStart()&&r),"@state.done"===e&&(r=!1!==i._animationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Eb(131072,Z.b,[r.h]),(t()(),r.Kb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=r.Lb(e,0,0,r.Db(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}var Kr=r.nb("mat-tooltip-component",Ft,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==r.Db(t,1)._handleBodyInteraction()&&i),i}),qr,Ur)),r.qb(1,180224,null,0,Ft,[r.h,It],null,null)],null,(function(t,e){t(e,0,0,"visible"===r.Db(e,1)._visibility?1:null)}))}),{},{},[]),Wr=n("s6ns"),Gr=r.pb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Yr(t){return r.Mb(0,[(t()(),r.gb(0,null,null,0))],null,null)}function Qr(t){return r.Mb(0,[r.Ib(402653184,1,{_portalOutlet:0}),(t()(),r.gb(16777216,null,null,1,null,Yr)),r.qb(2,212992,[[1,4]],0,p.b,[r.j,r.N],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}var Zr=r.nb("mat-dialog-container",Wr.i,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==r.Db(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==r.Db(t,1)._onAnimationDone(n)&&i),i}),Qr,Gr)),r.qb(1,49152,null,0,Wr.i,[r.k,y.f,r.h,[2,Z.d],Wr.h],null,null)],null,(function(t,e){t(e,0,0,r.Db(e,1)._id,r.Db(e,1)._config.role,r.Db(e,1)._config.ariaLabel?null:r.Db(e,1)._ariaLabelledBy,r.Db(e,1)._config.ariaLabel,r.Db(e,1)._config.ariaDescribedBy||null,r.Db(e,1)._state)}))}),{},{},[]),Xr=n("YY/e"),Jr=r.pb({encapsulation:0,styles:[[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]],data:{}});function $r(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.close()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Close"])),(t()(),r.Kb(6,0,["",""]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type),t(e,6,0,n.extra)}))}function ti(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.yes()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Yes"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ei(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.no()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["No"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ni(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,2,"h4",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"innerHTML",1],[8,"id",0]],null,null,null,null)),r.qb(2,81920,null,0,Wr.m,[[2,Wr.l],r.k,Wr.e],null,null),r.Gb(3,1),(t()(),r.rb(4,0,null,null,2,"mat-dialog-content",[["class","mat-dialog-content"]],[[8,"innerHTML",1]],null,null,null,null)),r.qb(5,16384,null,0,Wr.j,[],null,null),r.Gb(6,1),(t()(),r.rb(7,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),r.qb(8,16384,null,0,Wr.f,[],null,null),(t()(),r.gb(16777216,null,null,1,null,$r)),r.qb(10,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ti)),r.qb(12,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ei)),r.qb(14,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0),t(e,10,0,0==n.data.type),t(e,12,0,1==n.data.type),t(e,14,0,1==n.data.type)}),(function(t,e){var n=e.component,i=r.Lb(e,1,0,t(e,3,0,r.Db(e,0),n.data.title));t(e,1,0,i,r.Db(e,2).id);var o=r.Lb(e,4,0,t(e,6,0,r.Db(e,0),n.data.body));t(e,4,0,o)}))}var ri=r.nb("uds-modal",Xr.b,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-modal",[],null,null,null,ni,Jr)),r.qb(1,114688,null,0,Xr.b,[Wr.l,Wr.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),ii=function(t){this._elementRef=t},oi=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this)._platform=n,i._document=r,i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Object(r.V)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return t._checkToolbarMixedModes()})))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))})).filter((function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)})).some((function(t){return!(!t.textContent||!t.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Object(v.z)(ii)),ai=function(){},si=r.pb({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function li(t){return r.Mb(2,[r.Cb(null,0),r.Cb(null,1)],null,null)}var ui=function(){function t(t){var e,n;this.api=t,this.style="";var r=t.config.language;this.langs=[];try{for(var i=__values(t.config.available_languages),o=i.next();!o.done;o=i.next()){var a=o.value;a.id===r?this.lang=a:this.langs.push(a)}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}return t.prototype.ngOnInit=function(){},t.prototype.changeLang=function(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1},t.prototype.admin=function(){this.api.gotoAdmin()},t.prototype.logout=function(){this.api.logout()},t}(),ci=r.pb({encapsulation:0,styles:[[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]],data:{}});function hi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.changeLang(t.context.$implicit)&&i),i}),rt,nt)),r.qb(1,180224,[[1,4],[2,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.Kb(2,0,["",""]))],null,(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)}))}function pi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.admin()&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["dashboard"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Dashboard"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function di(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/downloads"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,2)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(1,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(2,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["file_download"])),(t()(),r.rb(5,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(6,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Downloads"]))],(function(t,e){t(e,1,0,"/downloads"),t(e,6,0)}),(function(t,e){t(e,0,0,r.Db(e,2).role,r.Db(e,2)._highlighted,r.Db(e,2)._triggersSubmenu,r.Db(e,2)._getTabIndex(),r.Db(e,2).disabled.toString(),r.Db(e,2).disabled||null)}))}function fi(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(3,0,["",""])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function mi(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(3,0,[""," "])),(t()(),r.rb(4,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function gi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"form",[["id","form_language"],["method","post"]],[[8,"action",4]],null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"input",[["type","hidden"]],[[8,"name",0],[8,"value",0]],null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"input",[["id","id_language"],["name","language"],["type","hidden"]],[[8,"value",0]],null,null,null,null)),(t()(),r.rb(3,0,null,null,8,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(6,1294336,[["appMenu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,1,{_allItems:1}),r.Ib(603979776,2,{items:1}),r.Ib(603979776,3,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,hi)),r.qb(11,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(12,0,null,null,17,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(15,1294336,[["userMenu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,4,{_allItems:1}),r.Ib(603979776,5,{items:1}),r.Ib(603979776,6,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,pi)),r.qb(20,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,di)),r.qb(22,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(23,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,24)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,24)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.logout()&&i),i}),rt,nt)),r.qb(24,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(25,0,null,0,1,"i",[["class","material-icons highlight"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["exit_to_app"])),(t()(),r.rb(27,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(28,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Logout"])),(t()(),r.rb(30,0,null,null,24,"mat-menu",[["x-position","before"]],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(33,1294336,[["shrink",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,7,{_allItems:1}),r.Ib(603979776,8,{items:1}),r.Ib(603979776,9,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,fi)),r.qb(38,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(39,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,40)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,40)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,41)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,41)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,41)._handleClick(n)&&i),i}),rt,nt)),r.qb(40,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(41,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(42,0,[""," "])),(t()(),r.rb(43,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.rb(45,0,null,0,3,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/client-download"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,46).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,47)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,47)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(46,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(47,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.Kb(-1,0,["UDS Client"])),(t()(),r.rb(49,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/about"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,50).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,51)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,51)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(50,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(51,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(52,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(53,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["About"])),(t()(),r.rb(55,0,null,null,37,"mat-toolbar",[["class","uds-nav mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,li,si)),r.qb(56,4243456,null,1,oi,[r.k,M.a,Z.d],{color:[0,"color"]},null),r.Ib(603979776,10,{_toolbarRows:1}),(t()(),r.rb(58,0,null,0,4,"button",[["mat-button",""],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,59).onClick()&&i),i}),pt,ht)),r.qb(59,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(60,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(61,0,null,0,0,"img",[["alt","Universal Desktop Services"],["class","udsicon"]],[[8,"src",4]],null,null,null,null)),(t()(),r.Kb(-1,0,[" UDS "])),(t()(),r.rb(63,0,null,0,0,"span",[["class","fill-remaining-space"]],null,null,null,null,null)),(t()(),r.rb(64,0,null,0,22,"div",[["class","expanded"]],null,null,null,null,null)),(t()(),r.rb(65,0,null,null,5,"button",[["mat-button",""],["routerLink","/client-download"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,66).onClick()&&i),i}),pt,ht)),r.qb(66,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(67,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(68,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["file_download"])),(t()(),r.Kb(-1,0,["UDS Client"])),(t()(),r.rb(71,0,null,null,7,"button",[["mat-button",""],["routerLink","/about"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,72).onClick()&&i),i}),pt,ht)),r.qb(72,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(73,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(74,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["info"])),(t()(),r.rb(76,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(77,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["About"])),(t()(),r.rb(79,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,81)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,81)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,81)._handleClick(n)&&i),i}),pt,ht)),r.qb(80,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(81,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(82,0,[""," "])),(t()(),r.rb(83,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.gb(16777216,null,null,1,null,mi)),r.qb(86,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(87,0,null,0,5,"div",[["class","shrinked"]],null,null,null,null,null)),(t()(),r.rb(88,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,90)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,90)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,90)._handleClick(n)&&i),i}),pt,ht)),r.qb(89,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(90,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(91,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["menu"]))],(function(t,e){var n=e.component;t(e,6,0),t(e,11,0,n.langs),t(e,15,0),t(e,20,0,n.api.user.isStaff),t(e,22,0,n.api.user.isStaff),t(e,28,0),t(e,33,0),t(e,38,0,n.api.user.isLogged),t(e,41,0,r.Db(e,6)),t(e,46,0,"/client-download"),t(e,50,0,"/about"),t(e,53,0),t(e,56,0,"primary"),t(e,59,0,"/"),t(e,66,0,"/client-download"),t(e,72,0,"/about"),t(e,77,0),t(e,81,0,r.Db(e,6)),t(e,86,0,n.api.user.isLogged),t(e,90,0,r.Db(e,33))}),(function(t,e){var n=e.component;t(e,0,0,r.vb(1,"",n.api.config.urls.changeLang,"")),t(e,1,0,r.vb(1,"",n.api.config.csrf_field,""),r.vb(1,"",n.api.config.csrf,"")),t(e,2,0,r.vb(1,"",n.lang.id,"")),t(e,23,0,r.Db(e,24).role,r.Db(e,24)._highlighted,r.Db(e,24)._triggersSubmenu,r.Db(e,24)._getTabIndex(),r.Db(e,24).disabled.toString(),r.Db(e,24).disabled||null),t(e,39,0,r.Db(e,40).role,r.Db(e,40)._highlighted,r.Db(e,40)._triggersSubmenu,r.Db(e,40)._getTabIndex(),r.Db(e,40).disabled.toString(),r.Db(e,40).disabled||null,r.Db(e,41).menuOpen||null),t(e,42,0,n.lang.name),t(e,45,0,r.Db(e,47).role,r.Db(e,47)._highlighted,r.Db(e,47)._triggersSubmenu,r.Db(e,47)._getTabIndex(),r.Db(e,47).disabled.toString(),r.Db(e,47).disabled||null),t(e,49,0,r.Db(e,51).role,r.Db(e,51)._highlighted,r.Db(e,51)._triggersSubmenu,r.Db(e,51)._getTabIndex(),r.Db(e,51).disabled.toString(),r.Db(e,51).disabled||null),t(e,55,0,r.Db(e,56)._toolbarRows.length>0,0===r.Db(e,56)._toolbarRows.length),t(e,58,0,r.Db(e,60).disabled||null,"NoopAnimations"===r.Db(e,60)._animationMode),t(e,61,0,n.api.staticURL("modern/img/udsicon.png")),t(e,65,0,r.Db(e,67).disabled||null,"NoopAnimations"===r.Db(e,67)._animationMode),t(e,71,0,r.Db(e,73).disabled||null,"NoopAnimations"===r.Db(e,73)._animationMode),t(e,79,0,r.Db(e,80).disabled||null,"NoopAnimations"===r.Db(e,80)._animationMode,r.Db(e,81).menuOpen||null),t(e,82,0,n.lang.name),t(e,88,0,r.Db(e,89).disabled||null,"NoopAnimations"===r.Db(e,89)._animationMode,r.Db(e,90).menuOpen||null)}))}var bi=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),yi=r.pb({encapsulation:0,styles:[[""]],data:{}});function vi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["\xa9 2012-2018 "])),(t()(),r.rb(2,0,null,null,1,"a",[["href","https://www.udsenterprise.com"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Virtual Cable S.L.U."]))],null,null)}var _i=r.pb({encapsulation:0,styles:[[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:4rem auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]],data:{}});function wi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-navbar",[],null,null,null,gi,ci)),r.qb(1,114688,null,0,ui,[Bt.a],null,null),(t()(),r.rb(2,0,null,null,6,"div",[["class","page"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(t()(),r.rb(4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(5,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null),(t()(),r.rb(6,0,null,null,2,"div",[["class","footer"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"uds-footer",[],null,null,null,vi,yi)),r.qb(8,114688,null,0,bi,[],null,null)],(function(t,e){t(e,1,0),t(e,5,0),t(e,8,0)}),null)}var Ci,xi=r.nb("uds-root",a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-root",[],null,null,null,wi,_i)),r.qb(1,114688,null,0,a,[],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Oi=n("fDlF"),Si=n("IheW"),Ei=n("OPAf"),ki=((Ci=function(){function t(t){this.api=t}return t.prototype.canActivate=function(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)},t}()).ngInjectableDef=r.Qb({factory:function(){return new Ci(r.Rb(Bt.a))},token:Ci,providedIn:"root"}),Ci),Di=function(){},Ii=function(){},Ti=function(){},Pi={float:"always"},Ai=function(){},ji=r.ob(o,[a],(function(t){return r.Ab([r.Bb(512,r.j,r.Z,[[8,[c,Te,vr,Or,Tr,Rr,Fr,Hr,Kr,Zr,ri,xi]],[3,r.j],r.v]),r.Bb(5120,r.s,r.lb,[[3,r.s]]),r.Bb(4608,Z.m,Z.l,[r.s,[2,Z.y]]),r.Bb(5120,r.hb,r.mb,[r.x]),r.Bb(5120,r.c,r.ib,[]),r.Bb(5120,r.q,r.jb,[]),r.Bb(5120,r.r,r.kb,[]),r.Bb(4608,Q.b,Q.k,[Z.d]),r.Bb(6144,r.F,null,[Q.b]),r.Bb(4608,Q.e,v.c,[[2,v.g],[2,v.l]]),r.Bb(5120,Q.c,(function(t,e,n,r,i,o,a,s){return[new Q.i(t,e,n),new Q.n(r),new Q.m(i,o,a,s)]}),[Z.d,r.x,r.z,Z.d,Z.d,Q.e,r.ab,[2,Q.f]]),r.Bb(4608,Q.d,Q.d,[Q.c,r.x]),r.Bb(135680,Q.l,Q.l,[Z.d]),r.Bb(4608,Q.j,Q.j,[Q.d,Q.l,r.c]),r.Bb(5120,Oi.a,J.e,[]),r.Bb(5120,Oi.c,J.f,[]),r.Bb(4608,Oi.b,J.d,[Z.d,Oi.a,Oi.c]),r.Bb(5120,r.D,J.g,[Q.j,Oi.b,r.x]),r.Bb(6144,Q.o,null,[Q.l]),r.Bb(4608,r.L,r.L,[r.x]),r.Bb(4608,Si.h,Si.n,[Z.d,r.z,Si.l]),r.Bb(4608,Si.o,Si.o,[Si.h,Si.m]),r.Bb(5120,Si.a,(function(t){return[t]}),[Si.o]),r.Bb(4608,Si.k,Si.k,[]),r.Bb(6144,Si.i,null,[Si.k]),r.Bb(4608,Si.g,Si.g,[Si.i]),r.Bb(6144,Si.b,null,[Si.g]),r.Bb(4608,Si.f,Si.j,[Si.b,r.p]),r.Bb(4608,Si.c,Si.c,[Si.f]),r.Bb(5120,s.a,s.y,[s.k]),r.Bb(4608,s.d,s.d,[]),r.Bb(6144,s.f,null,[s.d]),r.Bb(135680,s.p,s.p,[s.k,r.u,r.i,r.p,s.f]),r.Bb(4608,s.e,s.e,[]),r.Bb(5120,s.D,s.u,[s.k,Z.s,s.g]),r.Bb(5120,s.h,s.B,[s.z]),r.Bb(5120,r.b,(function(t){return[t]}),[s.h]),r.Bb(4608,h.b,J.c,[r.D,Z.d]),r.Bb(4608,R.c,R.c,[R.i,R.e,r.j,R.h,R.f,r.p,r.x,Z.d,Y.b,[2,Z.g]]),r.Bb(5120,R.j,R.k,[R.c]),r.Bb(5120,H,U,[R.c]),r.Bb(4608,We.c,We.c,[]),r.Bb(5120,Rt,Mt,[R.c]),r.Bb(5120,Wr.c,Wr.d,[R.c]),r.Bb(135680,Wr.e,Wr.e,[R.c,r.p,[2,Z.g],[2,Wr.b],Wr.c,[3,Wr.e],R.e]),r.Bb(4608,v.b,v.b,[]),r.Bb(5120,un,cn,[R.c]),r.Bb(4608,Ei.a,Ei.a,[Wr.e]),r.Bb(4608,Bt.a,Bt.a,[Si.c,Ei.a,s.k]),r.Bb(1073742336,Z.c,Z.c,[]),r.Bb(1024,r.l,Q.p,[]),r.Bb(1024,r.w,(function(){return[s.t()]}),[]),r.Bb(512,s.z,s.z,[r.p]),r.Bb(1024,r.d,(function(t,e){return[Q.q(t),s.A(e)]}),[[2,r.w],s.z]),r.Bb(512,r.e,r.e,[[2,r.d]]),r.Bb(131584,r.g,r.g,[r.x,r.ab,r.p,r.l,r.j,r.e]),r.Bb(1073742336,r.f,r.f,[r.g]),r.Bb(1073742336,Q.a,Q.a,[[3,Q.a]]),r.Bb(1073742336,Ot,Ot,[]),r.Bb(1073742336,Si.e,Si.e,[]),r.Bb(1073742336,Si.d,Si.d,[]),r.Bb(1024,s.s,s.w,[[3,s.k]]),r.Bb(512,s.r,s.c,[]),r.Bb(512,s.b,s.b,[]),r.Bb(256,s.g,{},[]),r.Bb(1024,Z.h,s.v,[Z.r,[2,Z.a],s.g]),r.Bb(512,Z.g,Z.g,[Z.h,Z.r]),r.Bb(512,r.i,r.i,[]),r.Bb(512,r.u,r.I,[r.i,[2,r.J]]),r.Bb(1024,s.i,(function(){return[[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Ee,canActivate:[ki]},{path:"login",component:fr.a},{path:"login/:id",component:fr.a},{path:"client-download",component:_r},{path:"downloads",component:Er,canActivate:[ki]},{path:"error/:id",component:Pr},{path:"about",component:Mr},{path:"ticket/launcher",component:Vr},{path:"**",redirectTo:"services"}]]}),[]),r.Bb(1024,s.k,s.x,[r.g,s.r,s.b,Z.g,r.p,r.u,r.i,s.i,s.g,[2,s.q],[2,s.j]]),r.Bb(1073742336,s.n,s.n,[[2,s.s],[2,s.k]]),r.Bb(1073742336,Di,Di,[]),r.Bb(1073742336,J.b,J.b,[]),r.Bb(1073742336,Y.a,Y.a,[]),r.Bb(1073742336,v.l,v.l,[[2,v.d],[2,Q.f]]),r.Bb(1073742336,ai,ai,[]),r.Bb(1073742336,M.b,M.b,[]),r.Bb(1073742336,v.u,v.u,[]),r.Bb(1073742336,ct,ct,[]),r.Bb(1073742336,p.f,p.f,[]),r.Bb(1073742336,X.b,X.b,[]),r.Bb(1073742336,R.g,R.g,[]),r.Bb(1073742336,W,W,[]),r.Bb(1073742336,G,G,[]),r.Bb(1073742336,We.d,We.d,[]),r.Bb(1073742336,y.a,y.a,[]),r.Bb(1073742336,Vt,Vt,[]),r.Bb(1073742336,ee,ee,[]),r.Bb(1073742336,pe,pe,[]),r.Bb(1073742336,Wr.k,Wr.k,[]),r.Bb(1073742336,Ke,Ke,[]),r.Bb(1073742336,lr,lr,[]),r.Bb(1073742336,dr,dr,[]),r.Bb(1073742336,v.s,v.s,[]),r.Bb(1073742336,v.q,v.q,[]),r.Bb(1073742336,fn,fn,[]),r.Bb(1073742336,Ii,Ii,[]),r.Bb(1073742336,Ti,Ti,[]),r.Bb(1073742336,Ai,Ai,[]),r.Bb(1073742336,o,o,[]),r.Bb(256,r.Y,!0,[]),r.Bb(256,Si.l,"XSRF-TOKEN",[]),r.Bb(256,Si.m,"X-XSRF-TOKEN",[]),r.Bb(256,J.a,"BrowserAnimations",[]),r.Bb(256,v.h,Pi,[])])}));i.a.production&&Object(r.R)(),Q.h().bootstrapModuleFactory(ji).catch((function(t){return console.log(t)}))}},[[0,0]]]);
\ No newline at end of file
diff --git a/server/src/uds/static/modern/polyfills-es5.js b/server/src/uds/static/modern/polyfills-es5.js
index a3fe24ab..bbb892b3 100644
--- a/server/src/uds/static/modern/polyfills-es5.js
+++ b/server/src/uds/static/modern/polyfills-es5.js
@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+2oP":function(t,e,n){"use strict";var r=n("I+eb"),o=n("hh1v"),i=n("6LWA"),a=n("I8vh"),s=n("UMSQ"),u=n("/GqU"),c=n("hBjN"),f=n("Hd5f"),l=n("tiKp")("species"),h=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!f("slice")},{slice:function(t,e){var n,r,f,d=u(this),v=s(d.length),g=a(t,v),m=a(void 0===e?v:e,v);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[l])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(d,g,m);for(r=new(void 0===n?Array:n)(p(m-g,0)),f=0;g")})),f=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var h=a(t),p=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),d=p&&!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e}));if(!p||!d||"replace"===t&&!c||"split"===t&&!f){var v=/./[h],g=n(h,""[t],(function(t,e,n,r,o){return e.exec===s?p&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=g[1];o(String.prototype,t,g[0]),o(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),l&&r(RegExp.prototype[h],"sham",!0)}}},"1E5z":function(t,e,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"1Y/n":function(t,e,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ"),s=function(t){return function(e,n,s,u){r(n);var c=o(e),f=i(c),l=a(c.length),h=t?l-1:0,p=t?-1:1;if(s<2)for(;;){if(h in f){u=f[h],h+=p;break}if(h+=p,t?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:l>h;h+=p)h in f&&(u=n(u,f[h],h,c));return u}};t.exports={left:s(!1),right:s(!0)}},"1t3B":function(t,e,n){var r=n("I+eb"),o=n("0GbY"),i=n("glrk");r({target:"Reflect",stat:!0,sham:!n("uy83")},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(n){return!1}}})},"25bX":function(t,e,n){var r=n("I+eb"),o=n("glrk"),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},"2A+d":function(t,e,n){var r=n("I+eb"),o=n("/GqU"),i=n("UMSQ");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s1?arguments[1]:void 0)}})},"2oRo":function(t,e){var n="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof global==n&&global)||Function("return this")()},"33Wh":function(t,e,n){var r=n("yoRg"),o=n("eDl+");t.exports=Object.keys||function(t){return r(t,o)}},"3I1R":function(t,e,n){n("dG/n")("hasInstance")},"3KgV":function(t,e,n){var r=n("I+eb"),o=n("uy83"),i=n("0Dky"),a=n("hh1v"),s=n("8YOa").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(s(t)):t}})},"3bBZ":function(t,e,n){var r=n("2oRo"),o=n("/byt"),i=n("4mDm"),a=n("X2U+"),s=n("tiKp"),u=s("iterator"),c=s("toStringTag"),f=i.values;for(var l in o){var h=r[l],p=h&&h.prototype;if(p){if(p[u]!==f)try{a(p,u,f)}catch(v){p[u]=f}if(p[c]||a(p,c,l),o[l])for(var d in i)if(p[d]!==i[d])try{a(p,d,i[d])}catch(v){p[d]=i[d]}}}},"4Brf":function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("2oRo"),a=n("UTVS"),s=n("hh1v"),u=n("m/L8").f,c=n("6JNq"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};c(h,f);var p=h.prototype=f.prototype;p.constructor=h;var d=p.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=d.call(t);if(a(l,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},"4HCi":function(t,e,n){var r=n("0Dky"),o=n("WJkJ");t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},"4WOD":function(t,e,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),s=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},"4Xet":function(t,e,n){var r=n("0Dky");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"4h0Y":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},"4l63":function(t,e,n){var r=n("I+eb"),o=n("5YOQ");r({global:!0,forced:parseInt!=o},{parseInt:o})},"4mDm":function(t,e,n){"use strict";var r=n("/GqU"),o=n("RNIs"),i=n("P4y1"),a=n("afO8"),s=n("fdAy"),u=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"4oU/":function(t,e,n){var r=n("2oRo").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"5D5o":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"5DmW":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("/GqU"),a=n("Bs8V").f,s=n("g6v/"),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"5YOQ":function(t,e,n){var r=n("2oRo"),o=n("WKiH").trim,i=n("WJkJ"),a=r.parseInt,s=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},"5Yz+":function(t,e,n){"use strict";var r=n("/GqU"),o=n("ppGB"),i=n("UMSQ"),a=n("swFL"),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf");t.exports=c||f?function(t){if(c)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},"5mdu":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(t,e,n){"use strict";var r,o,i,a,s=n("I+eb"),u=n("xDBR"),c=n("2oRo"),f=n("Qo9l"),l=n("/qmn"),h=n("busE"),p=n("4syw"),d=n("1E5z"),v=n("JiZb"),g=n("hh1v"),m=n("HAuM"),y=n("GarU"),b=n("xrYK"),_=n("ImZN"),x=n("HH4o"),k=n("SEBh"),w=n("LPSS").set,T=n("tXUg"),S=n("zfnd"),E=n("RN6c"),O=n("8GlL"),I=n("5mdu"),P=n("s5pE"),M=n("afO8"),R=n("lMq5"),D=n("tiKp")("species"),N=M.get,A=M.set,j=M.getterFor("Promise"),L=l,F=c.TypeError,z=c.document,C=c.process,W=c.fetch,Z=C&&C.versions,H=Z&&Z.v8||"",U=O.f,B=U,G="process"==b(C),K=!!(z&&z.createEvent&&c.dispatchEvent),V=R("Promise",(function(){var t=L.resolve(1),e=function(){},n=(t.constructor={})[D]=function(t){t(e,e)};return!((G||"function"==typeof PromiseRejectionEvent)&&(!u||t.finally)&&t.then(e)instanceof n&&0!==H.indexOf("6.6")&&-1===P.indexOf("Chrome/66"))})),q=V||!x((function(t){L.all(t).catch((function(){}))})),X=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Y=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;T((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var s,u,c,f=r[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&tt(t,e),e.rejection=1),!0===l?s=o:(d&&d.enter(),s=l(o),d&&(d.exit(),c=!0)),s===f.promise?p(F("Promise-chain cycle")):(u=X(s))?u.call(s,h,p):h(s)):p(o)}catch(v){d&&!c&&d.exit(),p(v)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&J(t,e)}))}},Q=function(t,e,n){var r,o;K?((r=z.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&E("Unhandled promise rejection",n)},J=function(t,e){w.call(c,(function(){var n,r=e.value;if($(e)&&(n=I((function(){G?C.emit("unhandledRejection",r,t):Q("unhandledrejection",t,r)})),e.rejection=G||$(e)?2:1,n.error))throw n.value}))},$=function(t){return 1!==t.rejection&&!t.parent},tt=function(t,e){w.call(c,(function(){G?C.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},et=function(t,e,n,r){return function(o){t(e,n,o,r)}},nt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Y(t,e,!0))},rt=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw F("Promise can't be resolved itself");var o=X(n);o?T((function(){var r={done:!1};try{o.call(n,et(rt,t,r,e),et(nt,t,r,e))}catch(i){nt(t,r,i,e)}})):(e.value=n,e.state=1,Y(t,e,!1))}catch(i){nt(t,{done:!1},i,e)}}};V&&(L=function(t){y(this,L,"Promise"),m(t),r.call(this);var e=N(this);try{t(et(rt,this,e),et(nt,this,e))}catch(n){nt(this,e,n)}},(r=function(t){A(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(L.prototype,{then:function(t,e){var n=j(this),r=U(k(this,L));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=G?C.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Y(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=et(rt,t,e),this.reject=et(nt,t,e)},O.f=U=function(t){return t===L||t===i?new o(t):B(t)},u||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var n=this;return new L((function(t,e){a.call(n,t,e)})).then(t,e)})),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(L,W.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:V},{Promise:L}),d(L,"Promise",!1,!0),v("Promise"),i=f.Promise,s({target:"Promise",stat:!0,forced:V},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),s({target:"Promise",stat:!0,forced:u||V},{resolve:function(t){return S(u&&this===i?L:this,t)}}),s({target:"Promise",stat:!0,forced:q},{all:function(t){var e=this,n=U(e),r=n.resolve,o=n.reject,i=I((function(){var n=m(e.resolve),i=[],a=0,s=1;_(t,(function(t){var u=a++,c=!1;i.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,i[u]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=U(e),r=n.reject,o=I((function(){var o=m(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},"5uH8":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),s=a.f,u=i.f,c=0;c1||n<0||n>1?h:function(o){function i(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(o<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*o}if(o>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(o-1)}for(var u=0,c=1;u=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){m||(m=document.createElement("div").style),m.animationTimingFunction="",m.animationTimingFunction=t;var e=m.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return h;var e=b.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var n=_.exec(t);if(n)return a(Number(n[1]),v);var r=x.exec(t);return r?a(Number(r[1]),{start:p,middle:d,end:v}[r[2]]):g[t]||h}function c(t,e,n){if(null==e)return k;var r=n.delay+t+n.endDelay;return e=Math.min(n.delay+t,r)?T:S}var f="backwards|forwards|both|none".split("|"),l="reverse|alternate|alternate-reverse".split("|"),h=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var p=1,d=.5,v=0,g={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":a(1,p),"step-middle":a(1,d),"step-end":a(1,v)},m=null,y="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+y+","+y+","+y+","+y+"\\)"),_=/steps\(\s*(\d+)\s*\)/,x=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,k=0,w=1,T=2,S=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return o(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=c(t,e,n),o=function(t,e,n,r,o){switch(r){case w:return"backwards"==e||"both"==e?0:null;case S:return n-o;case T:return"forwards"==e||"both"==e?t:null;case k:return null}}(t,n.fill,e,r,n.delay);if(null===o)return null;var i=function(t,e,n,r,o){var i=o;return 0===t?e!==w&&(i+=n):i+=r/t,i}(n.duration,r,n.iterations,o,n.iterationStart),a=function(t,e,n,r,o,i){var a=t===1/0?e%1:t%1;return 0!==a||n!==T||0===r||0===o&&0!==i||(a=1),a}(i,n.iterationStart,r,n.iterations,o,n.duration),s=function(t,e,n,r){return t===T&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,i),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var o=e;"alternate-reverse"===t&&(o+=1),r="normal",o!==1/0&&o%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=c,t.normalizeEasing=s,t.parseEasingFunction=u}(n={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o)for(var s in a.style[t]=e,o){var u=o[s];r[u]=n(u,a.style[u])}else r[t]=n(t,e)}}function o(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var o,i=r.length,a=0;a1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;r(o,i,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),i=!0,a=-1/0,s=0;s=0&&t.offset<=1})),i||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,o=1;o=t.applyFrom&&nthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[c]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(c,c in u);for(var f in document.documentElement.style)f in a||f in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(f);t.apply=function(e,n,r){o(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(r),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(r),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var o=[],i=0;i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(n,r),function(t,e,n){function r(t){var e=c;c=[],t1e-4?(g=.5/Math.sqrt(y),m=[(h[2][1]-h[1][2])*g,(h[0][2]-h[2][0])*g,(h[1][0]-h[0][1])*g,.25/g]):h[0][0]>h[1][1]&&h[0][0]>h[2][2]?m=[.25*(g=2*Math.sqrt(1+h[0][0]-h[1][1]-h[2][2])),(h[0][1]+h[1][0])/g,(h[0][2]+h[2][0])/g,(h[2][1]-h[1][2])/g]:h[1][1]>h[2][2]?(g=2*Math.sqrt(1+h[1][1]-h[0][0]-h[2][2]),m=[(h[0][1]+h[1][0])/g,.25*g,(h[1][2]+h[2][1])/g,(h[0][2]-h[2][0])/g]):(g=2*Math.sqrt(1+h[2][2]-h[0][0]-h[1][1]),m=[(h[0][2]+h[2][0])/g,(h[1][2]+h[2][1])/g,.25*g,(h[1][0]-h[0][1])/g]),[l,p,d,m,c]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(r),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,o){for(var i=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,o.length),c=0;c=1?e:"visible"}]}),["visibility"])}(r),function(t,e){function n(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var n=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(r),function(t,e){function n(t){function e(){var e=a.exec(t);i=e?e[0]:void 0}function n(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function r(){for(var t=n();"*"===i||"/"===i;){var r=i;e();var o=n();"*"===r?t*=o:t/=o}return t}function o(){for(var t=r();"+"===i||"-"===i;){var n=i;e();var o=r();"+"===n?t+=o:t-=o}return t}var i,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),c=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=c,t.mergeDimensions=i;var f=t.consumeParenthesised.bind(null,s),l=t.consumeRepeated.bind(void 0,f,/^/),h=t.consumeRepeated.bind(void 0,l,/^,/);t.consumeSizePairList=h;var p=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,p,",");t.mergeNonNegativeSizePair=p,t.addPropertiesHandler((function(t){var e=h(t);if(e&&""==e[1])return e[0]}),d,["background-size"]),t.addPropertiesHandler(u,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var o=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var o=r?e:n;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=o,t.addPropertiesHandler(r,o,["clip"])}(r),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===c?e[n++]:t}))}}function r(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;n=r.exec(e);){if(n.index!=i)return;i=n.index+n[0].length;var a=n[1],s=h[a];if(!s)return;var u=n[2].split(","),c=s[0];if(c.length900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(r),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function n(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function r(e,r){var o=t.consumeRepeated(n,/^/,r);if(o&&""==o[1]){var a=o[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(t){return"object"==typeof t?t:i[t]}))}}}function o(r){var o=t.consumeRepeated(n,/^/,r);if(o){for(var a=o[0],s=[{"%":50},{"%":50}],u=0,c=!1,f=0;f=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},i}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{n&&n.cancel()}if(!r){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,n)}}}(n)},"6hpn":function(t,e,n){n("Uydy"),n("eajv"),n("n/mU"),n("PqOI"),n("QNnp"),n("/5zm"),n("CsgD"),n("9mRW"),n("QFcT"),n("vAFs"),n("a5NK"),n("yiG3"),n("kNcU"),n("KvGi"),n("AmFO"),n("eJiR"),n("I9xj"),n("tl/u");var r=n("Qo9l");t.exports=r.Math},"6unK":function(t,e,n){var r=n("0Dky");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},"7+kd":function(t,e,n){n("dG/n")("isConcatSpreadable")},"7+zs":function(t,e,n){var r=n("X2U+"),o=n("UesL"),i=n("tiKp")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},"7sbD":function(t,e,n){n("qePV"),n("NbN+"),n("8AyJ"),n("i6QF"),n("kSko"),n("WDsR"),n("r/Vq"),n("5uH8"),n("w1rZ"),n("JevA"),n("toAj"),n("VC3L");var r=n("Qo9l");t.exports=r.Number},"8AyJ":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isFinite:n("4oU/")})},"8GlL":function(t,e,n){"use strict";var r=n("HAuM"),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},"8YOa":function(t,e,n){var r=n("0BK2"),o=n("hh1v"),i=n("UTVS"),a=n("m/L8").f,s=n("kOOl"),u=n("uy83"),c=s("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(t){a(t,c,{value:{objectID:"O"+ ++f,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[c].objectID},getWeakData:function(t,e){if(!i(t,c)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[c].weakData},onFreeze:function(t){return u&&p.REQUIRED&&l(t)&&!i(t,c)&&h(t),t}};r[c]=!0},"90hW":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},"93I0":function(t,e,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"9LPj":function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("wE6v");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9N29":function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").right;r({target:"Array",proto:!0,forced:n("swFL")("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9bJ7":function(t,e,n){"use strict";var r=n("I+eb"),o=n("ZUd8").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},"9d/t":function(t,e,n){var r=n("xrYK"),o=n("tiKp")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"9mRW":function(t,e,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(t,e,n){var r=n("I+eb"),o=n("I8vh"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},AmFO:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("jrUv"),a=Math.abs,s=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(u/2)}})},BNMt:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("blink")},{blink:function(){return o(this,"blink","","")}})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;ou&&(c=c.slice(0,u)),t?f+c:c+f)}};t.exports={start:s(!1),end:s(!0)}},DPsx:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(t,e,n){var r=n("busE"),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},E5NM:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("big")},{big:function(){return o(this,"big","","")}})},E9XD:function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").left;r({target:"Array",proto:!0,forced:n("swFL")("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},ENF9:function(t,e,n){"use strict";var r,o=n("2oRo"),i=n("4syw"),a=n("8YOa"),s=n("bWFh"),u=n("rKzb"),c=n("hh1v"),f=n("afO8").enforce,l=n("f5p1"),h=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,d=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",d,u,!0,!0);if(l&&h){r=u.getConstructor(d,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,m=g.delete,y=g.has,b=g.get,_=g.set;i(g,{delete:function(t){if(c(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.delete(t)}return m.call(this,t)},has:function(t){if(c(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(c(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(c(t)&&!p(t)){var n=f(this);n.frozen||(n.frozen=new r),y.call(this,t)?_.call(this,t,e):n.frozen.set(t,e)}else _.call(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("ppGB"),o=n("HYAF");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EnZy:function(t,e,n){"use strict";var r=n("14Sl"),o=n("ROdP"),i=n("glrk"),a=n("HYAF"),s=n("SEBh"),u=n("iqWW"),c=n("UMSQ"),f=n("FMNM"),l=n("kmMV"),h=n("0Dky"),p=[].push,d=Math.min,v=!h((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var s,u,c,f=[],h=0,d=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=l.call(d,r))&&!((u=d.lastIndex)>h&&(f.push(r.slice(h,s.index)),s.length>1&&s.index=i));)d.lastIndex===s.index&&d.lastIndex++;return h===r.length?!c&&d.test("")||f.push(""):f.push(r.slice(h)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),h=String(this),p=s(l,RegExp),g=l.unicode,m=new p(v?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g")),y=void 0===o?4294967295:o>>>0;if(0===y)return[];if(0===h.length)return null===f(m,h)?[h]:[];for(var b=0,_=0,x=[];_1?arguments[1]:void 0)}:[].forEach},FF6l:function(t,e,n){"use strict";var r=n("ewvW"),o=n("I8vh"),i=n("UMSQ"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=i(n.length),u=o(t,s),c=o(e,s),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?s:o(f,s))-c,s-u),h=1;for(c0;)c in n?n[u]=n[c]:delete n[u],u+=h,c+=h;return n}},FMNM:function(t,e,n){var r=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},FZtP:function(t,e,n){var r=n("2oRo"),o=n("/byt"),i=n("F8JR"),a=n("X2U+");for(var s in o){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(f){c.forEach=i}}},"G+Rx":function(t,e,n){var r=n("0GbY");t.exports=r("document","documentElement")},"G/JM":function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{ownKeys:n("Vu81")})},GKVU:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},GRPF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},GXvd:function(t,e,n){n("dG/n")("species")},GarU:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},H0pb:function(t,e,n){n("ma9I"),n("07d7"),n("pNMO"),n("tjZM"),n("4Brf"),n("3I1R"),n("7+kd"),n("0oug"),n("KhsS"),n("jt2F"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("gbiT"),n("I9xj"),n("DEfu");var r=n("Qo9l");t.exports=r.Symbol},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(s){}return n}},HRxU:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),o=n("tiKp")("species");t.exports=function(t){return!r((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},HsHA:function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("X2U+"),a=n("busE"),s=n("zk60"),u=n("6JNq"),c=n("lMq5");t.exports=function(t,e){var n,f,l,h,p,d=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[d]||s(d,{}):(r[d]||{}).prototype)for(f in e){if(h=e[f],l=t.noTargetGet?(p=o(n,f))&&p.value:n[f],!c(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(n,f,h,t)}}},I1Gw:function(t,e,n){n("dG/n")("split")},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},ImZN:function(t,e,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("+MLx"),s=n("NaFW"),u=n("m92n"),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var h,p,d,v,g,m,y=a(e,n,f?2:1);if(l)h=t;else{if("function"!=typeof(p=s(t)))throw TypeError("Target is not iterable");if(o(p)){for(d=0,v=i(t.length);v>d;d++)if((g=f?y(r(m=t[d])[0],m[1]):y(t[d]))&&g instanceof c)return g;return new c(!1)}h=p.call(t)}for(;!(m=h.next()).done;)if((g=u(h,y,m.value,f))&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},IxXR:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("strike")},{strike:function(){return o(this,"strike","","")}})},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JTJg:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WjRb"),i=n("HYAF");r({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},JevA:function(t,e,n){var r=n("I+eb"),o=n("5YOQ");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(t,e,n){"use strict";var r=n("busE"),o=n("glrk"),i=n("0Dky"),a=n("rW0t"),s=RegExp.prototype,u=s.toString;(i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))||"toString"!=u.name)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),s=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&(0,o.f)(e,s,{configurable:!0,get:function(){return this}})}},KhsS:function(t,e,n){n("dG/n")("match")},Kv9l:function(t,e,n){n("TWNs"),n("JfAA"),n("rB9j"),n("U3f4"),n("Rm1S"),n("UxlC"),n("hByQ"),n("EnZy")},KvGi:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LKBx:function(t,e,n){"use strict";var r=n("I+eb"),o=n("UMSQ"),i=n("WjRb"),a=n("HYAF"),s=n("qxPZ"),u="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(t){var e=String(a(this));i(t);var n=o(c(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},LPSS:function(t,e,n){var r,o,i,a=n("2oRo"),s=n("0Dky"),u=n("xrYK"),c=n("+MLx"),f=n("G+Rx"),l=n("zBJ4"),h=a.location,p=a.setImmediate,d=a.clearImmediate,v=a.process,g=a.MessageChannel,m=a.Dispatch,y=0,b={},_=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},x=function(t){return function(){_(t)}},k=function(t){_(t.data)},w=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},d=function(t){delete b[t]},"process"==u(v)?r=function(t){v.nextTick(x(t))}:m&&m.now?r=function(t){m.now(x(t))}:g?(i=(o=new g).port2,o.port1.onmessage=k,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(w)?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),_(t)}}:function(t){setTimeout(x(t),0)}:(r=w,a.addEventListener("message",k,!1))),t.exports={set:p,clear:d}},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,u=0;s>u;)o.f(t,n=r[u++],e[n]);return t}},NBAS:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("4WOD"),s=n("4Xet");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},NaFW:function(t,e,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"NbN+":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},O741:function(t,e,n){var r=n("hh1v");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},OM9Z:function(t,e,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},P4y1:function(t,e){t.exports={}},PKPk:function(t,e,n){"use strict";var r=n("ZUd8").charAt,o=n("afO8"),i=n("fdAy"),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},PqOI:function(t,e,n){var r=n("I+eb"),o=n("90hW"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},PzqY:function(t,e,n){var r=n("I+eb"),o=n("g6v/"),i=n("glrk"),a=n("wE6v"),s=n("m/L8");r({target:"Reflect",stat:!0,forced:n("0Dky")((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e,!0);i(n);try{return s.f(t,r,n),!0}catch(o){return!1}}})},QFcT:function(t,e,n){var r=n("I+eb"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,s=0,u=arguments.length,c=0;s0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},QIpd:function(t,e,n){var r=n("xrYK");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},QNnp:function(t,e,n){var r=n("I+eb"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},QWBl:function(t,e,n){"use strict";var r=n("I+eb"),o=n("F8JR");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},Qo9l:function(t,e,n){t.exports=n("2oRo")},R0gw:function(t,e,n){!function(){"use strict";function t(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,s=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,c="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",f="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),l=[],h=t.wtf,p=c.split(",");h?l=p.map((function(t){return"HTML"+t+"Element"})).concat(f):t.EventTarget?l.push("EventTarget"):l=f;for(var d=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,g=e.isIEOrEdge(),m="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y=0;y1?new i(e,n):new i(e),c=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return c&&!1===c.configurable?(a=t.ObjectCreate(u),s=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var s=Zone.__symbol__("ON_PROPERTY"+i);u[s]=a[s]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],s),a};var a=e.WebSocket;for(var s in i)a[s]=i[s]}(t,e),Zone[t.symbol("patchEvents")]=!0}}var n;(n="undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global).__zone_symbol__legacyPatch=function(){var r=n.Zone;r.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),r.__load_patch("EventTargetLegacy",(function(n,r,o){t(n,o),e(o,n)}))}}()},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},RN6c:function(t,e,n){var r=n("2oRo");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},RNIs:function(t,e,n){var r=n("tiKp"),o=n("fHMY"),i=n("X2U+"),a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,o(null)),t.exports=function(t){s[a][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),o=n("xrYK"),i=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},Rfxz:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").some;r({target:"Array",proto:!0,forced:n("swFL")("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Rm1S:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("UMSQ"),a=n("HYAF"),s=n("iqWW"),u=n("FMNM");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),c=String(this);if(!a.global)return u(a,c);var f=a.unicode;a.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(a,c));){var d=String(l[0]);h[p]=d,""===d&&(a.lastIndex=s(c,i(a.lastIndex),f)),p++}return 0===p?null:h}]}))},SEBh:function(t,e,n){var r=n("glrk"),o=n("HAuM"),i=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},STAE:function(t,e,n){var r=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH").trim;r({target:"String",proto:!0,forced:n("4HCi")("trim")},{trim:function(){return o(this)}})},SkA5:function(t,e,n){n("pv2x"),n("SuFq"),n("PzqY"),n("rBZX"),n("XUE8"),n("nkod"),n("f3jH"),n("x2An"),n("25bX"),n("G/JM"),n("1t3B"),n("ftMj"),n("i5pp");var r=n("Qo9l");t.exports=r.Reflect},SuFq:function(t,e,n){var r=n("I+eb"),o=n("0GbY"),i=n("HAuM"),a=n("glrk"),s=n("hh1v"),u=n("fHMY"),c=n("BTho"),f=n("0Dky"),l=o("Reflect","construct"),h=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),p=!f((function(){l((function(){}))})),d=h||p;r({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!h)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var o=n.prototype,f=u(s(o)?o:Object.prototype),d=Function.apply.call(t,f,e);return s(d)?d:f}})},TFPT:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("sub")},{sub:function(){return o(this,"sub","","")}})},TWNs:function(t,e,n){var r=n("g6v/"),o=n("2oRo"),i=n("lMq5"),a=n("cVYH"),s=n("m/L8").f,u=n("JBy8").f,c=n("ROdP"),f=n("rW0t"),l=n("busE"),h=n("0Dky"),p=n("JiZb"),d=n("tiKp")("match"),v=o.RegExp,g=v.prototype,m=/a/g,y=/a/g,b=new v(m)!==m;if(r&&i("RegExp",!b||h((function(){return y[d]=!1,v(m)!=m||v(y)==y||"/a/i"!=v(m,"i")})))){for(var _=function(t,e){var n=this instanceof _,r=c(t),o=void 0===e;return!n&&r&&t.constructor===_&&o?t:a(b?new v(r&&!o?t.source:t,e):v((r=t instanceof _)?t.source:t,r&&o?f.call(t):e),n?this:g,_)},x=function(t){t in _||s(_,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},k=u(v),w=0;k.length>w;)x(k[w++]);g.constructor=_,_.prototype=g,l(o,"RegExp",_)}p("RegExp")},TWQb:function(t,e,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TeQF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").filter;r({target:"Array",proto:!0,forced:!n("Hd5f")("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(t,e,n){"use strict";var r=n("+MLx"),o=n("ewvW"),i=n("m92n"),a=n("6VoE"),s=n("UMSQ"),u=n("hBjN"),c=n("NaFW");t.exports=function(t){var e,n,f,l,h=o(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,g=void 0!==v,m=0,y=c(h);if(g&&(v=r(v,d>2?arguments[2]:void 0,2)),null==y||p==Array&&a(y))for(n=new p(e=s(h.length));e>m;m++)u(n,m,g?v(h[m],m):h[m]);else for(l=y.call(h),n=new p;!(f=l.next()).done;m++)u(n,m,g?i(l,v,[f.value,m],!0):f.value);return n.length=m,n}},ToJy:function(t,e,n){"use strict";var r=n("I+eb"),o=n("HAuM"),i=n("ewvW"),a=n("0Dky"),s=n("swFL"),u=[].sort,c=[1,2,3],f=a((function(){c.sort(void 0)})),l=a((function(){c.sort(null)})),h=s("sort");r({target:"Array",proto:!0,forced:f||!l||h},{sort:function(t){return void 0===t?u.call(i(this)):u.call(i(this),o(t))}})},Tskq:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o,!0)},U3f4:function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("rW0t");r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UesL:function(t,e,n){"use strict";var r=n("glrk"),o=n("wE6v");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},UxlC:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("ewvW"),a=n("UMSQ"),s=n("ppGB"),u=n("HYAF"),c=n("iqWW"),f=n("FMNM"),l=Math.max,h=Math.min,p=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){var u=n(e,t,this,i);if(u.done)return u.value;var p=o(t),d=String(this),v="function"==typeof i;v||(i=String(i));var g=p.global;if(g){var m=p.unicode;p.lastIndex=0}for(var y=[];;){var b=f(p,d);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(p.lastIndex=c(d,a(p.lastIndex),m))}for(var _,x="",k=0,w=0;w=k&&(x+=d.slice(k,S)+M,k=S+T.length)}return x+d.slice(k)}];function r(t,n,r,o,a,s){var u=r+t.length,c=o.length,f=v;return void 0!==a&&(a=i(a),f=d),e.call(s,f,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>c){var l=p(f/10);return 0===l?e:l<=c?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}s=o[f-1]}return void 0===s?"":s}))}}))},Uydy:function(t,e,n){var r=n("I+eb"),o=n("HsHA"),i=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+s(t-1)*s(t+1))}})},VC3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("QIpd"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},VpIT:function(t,e,n){var r=n("2oRo"),o=n("zk60"),i=n("xDBR"),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.2.1",mode:i?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},WDsR:function(t,e,n){var r=n("I+eb"),o=n("Xol8"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},WJkJ:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("HYAF"),o="["+n("WJkJ")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},WjRb:function(t,e,n){var r=n("ROdP");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"X2U+":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("XGwC");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XUE8:function(t,e,n){var r=n("I+eb"),o=n("hh1v"),i=n("glrk"),a=n("UTVS"),s=n("Bs8V"),u=n("4WOD");r({target:"Reflect",stat:!0},{get:function t(e,n){var r,c,f=arguments.length<3?e:arguments[2];return i(e)===f?e[n]:(r=s.f(e,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(f):o(c=u(e))?t(c,n,f):void 0}})},Xe3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("hBjN");r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},Xol8:function(t,e,n){var r=n("hh1v"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},YGK4:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},YNrV:function(t,e,n){"use strict";var r=n("g6v/"),o=n("0Dky"),i=n("33Wh"),a=n("dBg+"),s=n("0eef"),u=n("ewvW"),c=n("RK3t"),f=Object.assign;t.exports=!f||o((function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,h=s.f;o>f;)for(var p,d=c(arguments[f++]),v=l?i(d).concat(l(d)):i(d),g=v.length,m=0;g>m;)p=v[m++],r&&!h.call(d,p)||(n[p]=d[p]);return n}:f},ZOXb:function(t,e,n){"use strict";var r=n("0Dky"),o=n("DMt2").start,i=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},ZUd8:function(t,e,n){var r=n("ppGB"),o=n("HYAF"),i=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("+MLx"),s=n("GarU"),u=n("ImZN"),c=n("fdAy"),f=n("JiZb"),l=n("g6v/"),h=n("8YOa").fastKey,p=n("afO8"),d=p.set,v=p.getterFor;t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,f,e),d(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[c],t,n)})),p=v(e),g=function(t,e,n){var r,o,i=p(t),a=m(t,e);return a?a.value=n:(i.last=a={index:o=h(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},m=function(t,e){var n,r=p(t),o=h(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=p(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=p(this),n=m(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=p(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),i(f.prototype,n?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return p(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);c(t,e,(function(t,e){d(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(e)}}},ZfDv:function(t,e,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},Zk8X:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("sup")},{sup:function(){return o(this,"sup","","")}})},a57n:function(t,e,n){n("dG/n")("search")},a5NK:function(t,e,n){var r=n("I+eb"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},afO8:function(t,e,n){var r,o,i,a=n("f5p1"),s=n("2oRo"),u=n("hh1v"),c=n("X2U+"),f=n("UTVS"),l=n("93I0"),h=n("0BK2");if(a){var p=new(0,s.WeakMap),d=p.get,v=p.has,g=p.set;r=function(t,e){return g.call(p,t,e),e},o=function(t){return d.call(p,t)||{}},i=function(t){return v.call(p,t)}}else{var m=l("state");h[m]=!0,r=function(t,e){return c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"b+VT":function(t,e,n){var r=n("2oRo"),o=n("WKiH").trim,i=n("WJkJ"),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;t.exports=s?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},bWFh:function(t,e,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),s=n("8YOa"),u=n("ImZN"),c=n("GarU"),f=n("hh1v"),l=n("0Dky"),h=n("HH4o"),p=n("1E5z"),d=n("cVYH");t.exports=function(t,e,n,v,g){var m=o[t],y=m&&m.prototype,b=m,_=v?"set":"add",x={},k=function(t){var e=y[t];a(y,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||y.forEach&&!l((function(){(new m).entries().next()})))))b=n.getConstructor(e,t,v,_),s.REQUIRED=!0;else if(i(t,!0)){var w=new b,T=w[_](g?{}:-0,1)!=w,S=l((function(){w.has(1)})),E=h((function(t){new m(t)})),O=!g&&l((function(){for(var t=new m,e=5;e--;)t[_](e,e);return!t.has(-0)}));E||((b=e((function(e,n){c(e,b,t);var r=d(new m,e,b);return null!=n&&u(n,r[_],r,v),r}))).prototype=y,y.constructor=b),(S||O)&&(k("delete"),k("has"),v&&k("get")),(O||T)&&k(_),g&&y.clear&&delete y.clear}return x[t]=b,r({global:!0,forced:b!=m},x),p(b,t),g||n.setStrong(b,t,v),b}},brp2:function(t,e,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(t,e,n){var r=n("2oRo"),o=n("VpIT"),i=n("X2U+"),a=n("UTVS"),s=n("zk60"),u=n("noGo"),c=n("afO8"),f=c.get,l=c.enforce,h=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),l(n).source=h.join("string"==typeof e?e:"")),t!==r?(u?!f&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u.call(this)}))},cDke:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("BX/b").f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},cVYH:function(t,e,n){var r=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),o=n("UTVS"),i=n("wDLo"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eJiR:function(t,e,n){var r=n("I+eb"),o=n("jrUv"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},eajv:function(t,e,n){var r=n("I+eb"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},eoL8:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},f3jH:function(t,e,n){var r=n("I+eb"),o=n("glrk"),i=n("4WOD");r({target:"Reflect",stat:!0,sham:!n("4Xet")},{getPrototypeOf:function(t){return i(o(t))}})},f5p1:function(t,e,n){var r=n("2oRo"),o=n("noGo"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},fHMY:function(t,e,n){var r=n("glrk"),o=n("N+g0"),i=n("eDl+"),a=n("0BK2"),s=n("G+Rx"),u=n("zBJ4"),c=n("93I0")("IE_PROTO"),f=function(){},l=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("