(self.webpackChunkomni_customers_admin=self.webpackChunkomni_customers_admin||[]).push([[179],{8255:ft=>{function Fe(p){return Promise.resolve().then(()=>{var l=new Error("Cannot find module '"+p+"'");throw l.code="MODULE_NOT_FOUND",l})}Fe.keys=()=>[],Fe.resolve=Fe,Fe.id=8255,ft.exports=Fe},7238:(ft,Fe,p)=>{"use strict";p.d(Fe,{l3:()=>m,_j:()=>l,LC:()=>n,ZN:()=>ce,jt:()=>g,pV:()=>K,F4:()=>U,IO:()=>$,vP:()=>I,SB:()=>E,oB:()=>b,eR:()=>R,X$:()=>P,ZE:()=>De,k1:()=>qe});class l{}class n{}const m="*";function P(Le,de){return{type:7,name:Le,definitions:de,options:{}}}function g(Le,de=null){return{type:4,styles:de,timings:Le}}function I(Le,de=null){return{type:2,steps:Le,options:de}}function b(Le){return{type:6,styles:Le,offset:null}}function E(Le,de,ve){return{type:0,name:Le,styles:de,options:ve}}function U(Le){return{type:5,steps:Le}}function R(Le,de,ve=null){return{type:1,expr:Le,animation:de,options:ve}}function K(Le=null){return{type:9,options:Le}}function $(Le,de,ve=null){return{type:11,selector:Le,animation:de,options:ve}}function te(Le){Promise.resolve(null).then(Le)}class ce{constructor(de=0,ve=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=de+ve}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(de=>de()),this._onDoneFns=[])}onStart(de){this._onStartFns.push(de)}onDone(de){this._onDoneFns.push(de)}onDestroy(de){this._onDestroyFns.push(de)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){te(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(de=>de()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(de=>de()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(de){this._position=this.totalTime?de*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(de){const ve="start"==de?this._onStartFns:this._onDoneFns;ve.forEach(re=>re()),ve.length=0}}class De{constructor(de){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=de;let ve=0,re=0,ie=0;const se=this.players.length;0==se?te(()=>this._onFinish()):this.players.forEach(Ie=>{Ie.onDone(()=>{++ve==se&&this._onFinish()}),Ie.onDestroy(()=>{++re==se&&this._onDestroy()}),Ie.onStart(()=>{++ie==se&&this._onStart()})}),this.totalTime=this.players.reduce((Ie,pe)=>Math.max(Ie,pe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(de=>de()),this._onDoneFns=[])}init(){this.players.forEach(de=>de.init())}onStart(de){this._onStartFns.push(de)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(de=>de()),this._onStartFns=[])}onDone(de){this._onDoneFns.push(de)}onDestroy(de){this._onDestroyFns.push(de)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(de=>de.play())}pause(){this.players.forEach(de=>de.pause())}restart(){this.players.forEach(de=>de.restart())}finish(){this._onFinish(),this.players.forEach(de=>de.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(de=>de.destroy()),this._onDestroyFns.forEach(de=>de()),this._onDestroyFns=[])}reset(){this.players.forEach(de=>de.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(de){const ve=de*this.totalTime;this.players.forEach(re=>{const ie=re.totalTime?Math.min(1,ve/re.totalTime):1;re.setPosition(ie)})}getPosition(){const de=this.players.reduce((ve,re)=>null===ve||re.totalTime>ve.totalTime?re:ve,null);return null!=de?de.getPosition():0}beforeDestroy(){this.players.forEach(de=>{de.beforeDestroy&&de.beforeDestroy()})}triggerCallback(de){const ve="start"==de?this._onStartFns:this._onDoneFns;ve.forEach(re=>re()),ve.length=0}}const qe="!"},9238:(ft,Fe,p)=>{"use strict";p.d(Fe,{rt:()=>Ge,s1:()=>Tt,$s:()=>be,Qr:()=>Wt,kH:()=>ht,mK:()=>ze,Em:()=>He,tE:()=>ln,qV:()=>Qe,qm:()=>Se,Kd:()=>Zt,X6:()=>F,yG:()=>H});var l=p(8583),n=p(7716),m=p(9765),P=p(5319),g=p(6215),D=p(5917),I=p(6461),b=p(3342),E=p(4395),U=p(5435),R=p(8002),G=p(5257),K=p(3653),J=p(7519),$=p(6782),ee=p(9490),te=p(521),ce=p(8553);function de(ae,_e){return(ae.getAttribute(_e)||"").match(/\S+/g)||[]}const ve="cdk-describedby-message-container",re="cdk-describedby-message",ie="cdk-describedby-host";let se=0;const Ie=new Map;let pe=null,be=(()=>{class ae{constructor(ye){this._document=ye}describe(ye,Je,_t){if(!this._canBeDescribed(ye,Je))return;const Ut=Ue(Je,_t);"string"!=typeof Je?(rt(Je),Ie.set(Ut,{messageElement:Je,referenceCount:0})):Ie.has(Ut)||this._createMessageElement(Je,_t),this._isElementDescribedByMessage(ye,Ut)||this._addMessageReference(ye,Ut)}removeDescription(ye,Je,_t){if(!Je||!this._isElementNode(ye))return;const Ut=Ue(Je,_t);if(this._isElementDescribedByMessage(ye,Ut)&&this._removeMessageReference(ye,Ut),"string"==typeof Je){const Qt=Ie.get(Ut);Qt&&0===Qt.referenceCount&&this._deleteMessageElement(Ut)}pe&&0===pe.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const ye=this._document.querySelectorAll(`[${ie}]`);for(let Je=0;Je0!=_t.indexOf(re));ye.setAttribute("aria-describedby",Je.join(" "))}_addMessageReference(ye,Je){const _t=Ie.get(Je);(function(ae,_e,ye){const Je=de(ae,_e);Je.some(_t=>_t.trim()==ye.trim())||(Je.push(ye.trim()),ae.setAttribute(_e,Je.join(" ")))})(ye,"aria-describedby",_t.messageElement.id),ye.setAttribute(ie,""),_t.referenceCount++}_removeMessageReference(ye,Je){const _t=Ie.get(Je);_t.referenceCount--,function(ae,_e,ye){const _t=de(ae,_e).filter(Ut=>Ut!=ye.trim());_t.length?ae.setAttribute(_e,_t.join(" ")):ae.removeAttribute(_e)}(ye,"aria-describedby",_t.messageElement.id),ye.removeAttribute(ie)}_isElementDescribedByMessage(ye,Je){const _t=de(ye,"aria-describedby"),Ut=Ie.get(Je),Qt=Ut&&Ut.messageElement.id;return!!Qt&&-1!=_t.indexOf(Qt)}_canBeDescribed(ye,Je){if(!this._isElementNode(ye))return!1;if(Je&&"object"==typeof Je)return!0;const _t=null==Je?"":`${Je}`.trim(),Ut=ye.getAttribute("aria-label");return!(!_t||Ut&&Ut.trim()===_t)}_isElementNode(ye){return ye.nodeType===this._document.ELEMENT_NODE}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(l.K0))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(l.K0))},token:ae,providedIn:"root"}),ae})();function Ue(ae,_e){return"string"==typeof ae?`${_e||""}/${ae}`:ae}function rt(ae){ae.id||(ae.id=`${re}-${se++}`)}class et{constructor(_e){this._items=_e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new m.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=ye=>ye.disabled,this._pressedLetters=[],this.tabOut=new m.xQ,this.change=new m.xQ,_e instanceof n.n_E&&_e.changes.subscribe(ye=>{if(this._activeItem){const _t=ye.toArray().indexOf(this._activeItem);_t>-1&&_t!==this._activeItemIndex&&(this._activeItemIndex=_t)}})}skipPredicate(_e){return this._skipPredicateFn=_e,this}withWrap(_e=!0){return this._wrap=_e,this}withVerticalOrientation(_e=!0){return this._vertical=_e,this}withHorizontalOrientation(_e){return this._horizontal=_e,this}withAllowedModifierKeys(_e){return this._allowedModifierKeys=_e,this}withTypeAhead(_e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,b.b)(ye=>this._pressedLetters.push(ye)),(0,E.b)(_e),(0,U.h)(()=>this._pressedLetters.length>0),(0,R.U)(()=>this._pressedLetters.join(""))).subscribe(ye=>{const Je=this._getItemsArray();for(let _t=1;_t!_e[Ut]||this._allowedModifierKeys.indexOf(Ut)>-1);switch(ye){case I.Mf:return void this.tabOut.next();case I.JH:if(this._vertical&&_t){this.setNextItemActive();break}return;case I.LH:if(this._vertical&&_t){this.setPreviousItemActive();break}return;case I.SV:if(this._horizontal&&_t){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case I.oh:if(this._horizontal&&_t){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case I.Sd:if(this._homeAndEnd&&_t){this.setFirstItemActive();break}return;case I.uR:if(this._homeAndEnd&&_t){this.setLastItemActive();break}return;default:return void((_t||(0,I.Vb)(_e,"shiftKey"))&&(_e.key&&1===_e.key.length?this._letterKeyStream.next(_e.key.toLocaleUpperCase()):(ye>=I.A&&ye<=I.Z||ye>=I.xE&&ye<=I.aO)&&this._letterKeyStream.next(String.fromCharCode(ye))))}this._pressedLetters=[],_e.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(_e){const ye=this._getItemsArray(),Je="number"==typeof _e?_e:ye.indexOf(_e),_t=ye[Je];this._activeItem=null==_t?null:_t,this._activeItemIndex=Je}_setActiveItemByDelta(_e){this._wrap?this._setActiveInWrapMode(_e):this._setActiveInDefaultMode(_e)}_setActiveInWrapMode(_e){const ye=this._getItemsArray();for(let Je=1;Je<=ye.length;Je++){const _t=(this._activeItemIndex+_e*Je+ye.length)%ye.length;if(!this._skipPredicateFn(ye[_t]))return void this.setActiveItem(_t)}}_setActiveInDefaultMode(_e){this._setActiveItemByIndex(this._activeItemIndex+_e,_e)}_setActiveItemByIndex(_e,ye){const Je=this._getItemsArray();if(Je[_e]){for(;this._skipPredicateFn(Je[_e]);)if(!Je[_e+=ye])return;this.setActiveItem(_e)}}_getItemsArray(){return this._items instanceof n.n_E?this._items.toArray():this._items}}class Tt extends et{setActiveItem(_e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(_e),this.activeItem&&this.activeItem.setActiveStyles()}}class He extends et{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(_e){return this._origin=_e,this}setActiveItem(_e){super.setActiveItem(_e),this.activeItem&&this.activeItem.focus(this._origin)}}let Oe=(()=>{class ae{constructor(ye){this._platform=ye}isDisabled(ye){return ye.hasAttribute("disabled")}isVisible(ye){return function(ae){return!!(ae.offsetWidth||ae.offsetHeight||"function"==typeof ae.getClientRects&&ae.getClientRects().length)}(ye)&&"visible"===getComputedStyle(ye).visibility}isTabbable(ye){if(!this._platform.isBrowser)return!1;const Je=function(ae){try{return ae.frameElement}catch(_e){return null}}(function(ae){return ae.ownerDocument&&ae.ownerDocument.defaultView||window}(ye));if(Je&&(-1===wt(Je)||!this.isVisible(Je)))return!1;let _t=ye.nodeName.toLowerCase(),Ut=wt(ye);return ye.hasAttribute("contenteditable")?-1!==Ut:!("iframe"===_t||"object"===_t||this._platform.WEBKIT&&this._platform.IOS&&!function(ae){let _e=ae.nodeName.toLowerCase(),ye="input"===_e&&ae.type;return"text"===ye||"password"===ye||"select"===_e||"textarea"===_e}(ye))&&("audio"===_t?!!ye.hasAttribute("controls")&&-1!==Ut:"video"===_t?-1!==Ut&&(null!==Ut||this._platform.FIREFOX||ye.hasAttribute("controls")):ye.tabIndex>=0)}isFocusable(ye,Je){return function(ae){return!function(ae){return function(ae){return"input"==ae.nodeName.toLowerCase()}(ae)&&"hidden"==ae.type}(ae)&&(function(ae){let _e=ae.nodeName.toLowerCase();return"input"===_e||"select"===_e||"button"===_e||"textarea"===_e}(ae)||function(ae){return function(ae){return"a"==ae.nodeName.toLowerCase()}(ae)&&ae.hasAttribute("href")}(ae)||ae.hasAttribute("contenteditable")||tt(ae))}(ye)&&!this.isDisabled(ye)&&((null==Je?void 0:Je.ignoreVisibility)||this.isVisible(ye))}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(te.t4))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(te.t4))},token:ae,providedIn:"root"}),ae})();function tt(ae){if(!ae.hasAttribute("tabindex")||void 0===ae.tabIndex)return!1;let _e=ae.getAttribute("tabindex");return"-32768"!=_e&&!(!_e||isNaN(parseInt(_e,10)))}function wt(ae){if(!tt(ae))return null;const _e=parseInt(ae.getAttribute("tabindex")||"",10);return isNaN(_e)?-1:_e}class gt{constructor(_e,ye,Je,_t,Ut=!1){this._element=_e,this._checker=ye,this._ngZone=Je,this._document=_t,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ut||this.attachAnchors()}get enabled(){return this._enabled}set enabled(_e){this._enabled=_e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(_e,this._startAnchor),this._toggleAnchorTabIndex(_e,this._endAnchor))}destroy(){const _e=this._startAnchor,ye=this._endAnchor;_e&&(_e.removeEventListener("focus",this.startAnchorListener),_e.parentNode&&_e.parentNode.removeChild(_e)),ye&&(ye.removeEventListener("focus",this.endAnchorListener),ye.parentNode&&ye.parentNode.removeChild(ye)),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(_e){return new Promise(ye=>{this._executeOnStable(()=>ye(this.focusInitialElement(_e)))})}focusFirstTabbableElementWhenReady(_e){return new Promise(ye=>{this._executeOnStable(()=>ye(this.focusFirstTabbableElement(_e)))})}focusLastTabbableElementWhenReady(_e){return new Promise(ye=>{this._executeOnStable(()=>ye(this.focusLastTabbableElement(_e)))})}_getRegionBoundary(_e){let ye=this._element.querySelectorAll(`[cdk-focus-region-${_e}], [cdkFocusRegion${_e}], [cdk-focus-${_e}]`);for(let Je=0;Je=0;Je--){let _t=ye[Je].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ye[Je]):null;if(_t)return _t}return null}_createAnchor(){const _e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,_e),_e.classList.add("cdk-visually-hidden"),_e.classList.add("cdk-focus-trap-anchor"),_e.setAttribute("aria-hidden","true"),_e}_toggleAnchorTabIndex(_e,ye){_e?ye.setAttribute("tabindex","0"):ye.removeAttribute("tabindex")}toggleAnchors(_e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(_e,this._startAnchor),this._toggleAnchorTabIndex(_e,this._endAnchor))}_executeOnStable(_e){this._ngZone.isStable?_e():this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(_e)}}let Qe=(()=>{class ae{constructor(ye,Je,_t){this._checker=ye,this._ngZone=Je,this._document=_t}create(ye,Je=!1){return new gt(ye,this._checker,this._ngZone,this._document,Je)}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(Oe),n.LFG(n.R0b),n.LFG(l.K0))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(Oe),n.LFG(n.R0b),n.LFG(l.K0))},token:ae,providedIn:"root"}),ae})(),ze=(()=>{class ae{constructor(ye,Je,_t){this._elementRef=ye,this._focusTrapFactory=Je,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(ye){this.focusTrap.enabled=(0,ee.Ig)(ye)}get autoCapture(){return this._autoCapture}set autoCapture(ye){this._autoCapture=(0,ee.Ig)(ye)}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(ye){const Je=ye.autoCapture;Je&&!Je.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,te.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.Y36(n.SBq),n.Y36(Qe),n.Y36(l.K0))},ae.\u0275dir=n.lG2({type:ae,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[n.TTD]}),ae})();function F(ae){return 0===ae.offsetX&&0===ae.offsetY}function H(ae){const _e=ae.touches&&ae.touches[0]||ae.changedTouches&&ae.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 n.OlP("cdk-input-modality-detector-options"),V={ignoreKeys:[I.zL,I.jx,I.b2,I.MW,I.JU]},xe=(0,te.i$)({passive:!0,capture:!0});let vt=(()=>{class ae{constructor(ye,Je,_t,Ut){this._platform=ye,this._mostRecentTarget=null,this._modality=new g.X(null),this._lastTouchMs=0,this._onKeydown=Qt=>{var Hn,On;(null===(On=null===(Hn=this._options)||void 0===Hn?void 0:Hn.ignoreKeys)||void 0===On?void 0:On.some(qn=>qn===Qt.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,te.sA)(Qt))},this._onMousedown=Qt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(F(Qt)?"keyboard":"mouse"),this._mostRecentTarget=(0,te.sA)(Qt))},this._onTouchstart=Qt=>{H(Qt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,te.sA)(Qt))},this._options=Object.assign(Object.assign({},V),Ut),this.modalityDetected=this._modality.pipe((0,K.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,J.x)()),ye.isBrowser&&Je.runOutsideAngular(()=>{_t.addEventListener("keydown",this._onKeydown,xe),_t.addEventListener("mousedown",this._onMousedown,xe),_t.addEventListener("touchstart",this._onTouchstart,xe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,xe),document.removeEventListener("mousedown",this._onMousedown,xe),document.removeEventListener("touchstart",this._onTouchstart,xe))}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(te.t4),n.LFG(n.R0b),n.LFG(l.K0),n.LFG(v,8))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(te.t4),n.LFG(n.R0b),n.LFG(l.K0),n.LFG(v,8))},token:ae,providedIn:"root"}),ae})();const xt=new n.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Yt=new n.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Zt=(()=>{class ae{constructor(ye,Je,_t,Ut){this._ngZone=Je,this._defaultOptions=Ut,this._document=_t,this._liveElement=ye||this._createLiveElement()}announce(ye,...Je){const _t=this._defaultOptions;let Ut,Qt;return 1===Je.length&&"number"==typeof Je[0]?Qt=Je[0]:[Ut,Qt]=Je,this.clear(),clearTimeout(this._previousTimeout),Ut||(Ut=_t&&_t.politeness?_t.politeness:"polite"),null==Qt&&_t&&(Qt=_t.duration),this._liveElement.setAttribute("aria-live",Ut),this._ngZone.runOutsideAngular(()=>new Promise(Hn=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ye,Hn(),"number"==typeof Qt&&(this._previousTimeout=setTimeout(()=>this.clear(),Qt))},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 ye="cdk-live-announcer-element",Je=this._document.getElementsByClassName(ye),_t=this._document.createElement("div");for(let Ut=0;Ut{class ae{constructor(ye,Je,_t,Ut){this._elementRef=ye,this._liveAnnouncer=Je,this._contentObserver=_t,this._ngZone=Ut,this._politeness="polite"}get politeness(){return this._politeness}set politeness(ye){this._politeness="off"===ye||"assertive"===ye?ye:"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 Je=this._elementRef.nativeElement.textContent;Je!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Je,this._politeness),this._previousAnnouncedText=Je)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.Y36(n.SBq),n.Y36(Zt),n.Y36(ce.yq),n.Y36(n.R0b))},ae.\u0275dir=n.lG2({type:ae,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),ae})();const an=new n.OlP("cdk-focus-monitor-default-options"),Jt=(0,te.i$)({passive:!0,capture:!0});let ln=(()=>{class ae{constructor(ye,Je,_t,Ut,Qt){this._ngZone=ye,this._platform=Je,this._inputModalityDetector=_t,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 m.xQ,this._rootNodeFocusAndBlurListener=Hn=>{const On=(0,te.sA)(Hn),qn="focus"===Hn.type?this._onFocus:this._onBlur;for(let ri=On;ri;ri=ri.parentElement)qn.call(this,Hn,ri)},this._document=Ut,this._detectionMode=(null==Qt?void 0:Qt.detectionMode)||0}monitor(ye,Je=!1){const _t=(0,ee.fI)(ye);if(!this._platform.isBrowser||1!==_t.nodeType)return(0,D.of)(null);const Ut=(0,te.kV)(_t)||this._getDocument(),Qt=this._elementInfo.get(_t);if(Qt)return Je&&(Qt.checkChildren=!0),Qt.subject;const Hn={checkChildren:Je,subject:new m.xQ,rootNode:Ut};return this._elementInfo.set(_t,Hn),this._registerGlobalListeners(Hn),Hn.subject}stopMonitoring(ye){const Je=(0,ee.fI)(ye),_t=this._elementInfo.get(Je);_t&&(_t.subject.complete(),this._setClasses(Je),this._elementInfo.delete(Je),this._removeGlobalListeners(_t))}focusVia(ye,Je,_t){const Ut=(0,ee.fI)(ye);Ut===this._getDocument().activeElement?this._getClosestElementsInfo(Ut).forEach(([Hn,On])=>this._originChanged(Hn,Je,On)):(this._setOrigin(Je),"function"==typeof Ut.focus&&Ut.focus(_t))}ngOnDestroy(){this._elementInfo.forEach((ye,Je)=>this.stopMonitoring(Je))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(ye,Je,_t){_t?ye.classList.add(Je):ye.classList.remove(Je)}_getFocusOrigin(ye){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ye)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(ye){return 1===this._detectionMode||!!(null==ye?void 0:ye.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(ye,Je){this._toggleClass(ye,"cdk-focused",!!Je),this._toggleClass(ye,"cdk-touch-focused","touch"===Je),this._toggleClass(ye,"cdk-keyboard-focused","keyboard"===Je),this._toggleClass(ye,"cdk-mouse-focused","mouse"===Je),this._toggleClass(ye,"cdk-program-focused","program"===Je)}_setOrigin(ye,Je=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ye,this._originFromTouchInteraction="touch"===ye&&Je,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ye,Je){const _t=this._elementInfo.get(Je),Ut=(0,te.sA)(ye);!_t||!_t.checkChildren&&Je!==Ut||this._originChanged(Je,this._getFocusOrigin(Ut),_t)}_onBlur(ye,Je){const _t=this._elementInfo.get(Je);!_t||_t.checkChildren&&ye.relatedTarget instanceof Node&&Je.contains(ye.relatedTarget)||(this._setClasses(Je),this._emitOrigin(_t.subject,null))}_emitOrigin(ye,Je){this._ngZone.run(()=>ye.next(Je))}_registerGlobalListeners(ye){if(!this._platform.isBrowser)return;const Je=ye.rootNode,_t=this._rootNodeFocusListenerCount.get(Je)||0;_t||this._ngZone.runOutsideAngular(()=>{Je.addEventListener("focus",this._rootNodeFocusAndBlurListener,Jt),Je.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jt)}),this._rootNodeFocusListenerCount.set(Je,_t+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,$.R)(this._stopInputModalityDetector)).subscribe(Ut=>{this._setOrigin(Ut,!0)}))}_removeGlobalListeners(ye){const Je=ye.rootNode;if(this._rootNodeFocusListenerCount.has(Je)){const _t=this._rootNodeFocusListenerCount.get(Je);_t>1?this._rootNodeFocusListenerCount.set(Je,_t-1):(Je.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Jt),Je.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jt),this._rootNodeFocusListenerCount.delete(Je))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ye,Je,_t){this._setClasses(ye,Je),this._emitOrigin(_t.subject,Je),this._lastFocusOrigin=Je}_getClosestElementsInfo(ye){const Je=[];return this._elementInfo.forEach((_t,Ut)=>{(Ut===ye||_t.checkChildren&&Ut.contains(ye))&&Je.push([Ut,_t])}),Je}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(n.R0b),n.LFG(te.t4),n.LFG(vt),n.LFG(l.K0,8),n.LFG(an,8))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(n.R0b),n.LFG(te.t4),n.LFG(vt),n.LFG(l.K0,8),n.LFG(an,8))},token:ae,providedIn:"root"}),ae})(),ht=(()=>{class ae{constructor(ye,Je){this._elementRef=ye,this._focusMonitor=Je,this.cdkFocusChange=new n.vpe}ngAfterViewInit(){const ye=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ye,1===ye.nodeType&&ye.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Je=>this.cdkFocusChange.emit(Je))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.Y36(n.SBq),n.Y36(ln))},ae.\u0275dir=n.lG2({type:ae,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),ae})();const jt="cdk-high-contrast-black-on-white",Re="cdk-high-contrast-white-on-black",We="cdk-high-contrast-active";let Se=(()=>{class ae{constructor(ye,Je){this._platform=ye,this._document=Je}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ye=this._document.createElement("div");ye.style.backgroundColor="rgb(1,2,3)",ye.style.position="absolute",this._document.body.appendChild(ye);const Je=this._document.defaultView||window,_t=Je&&Je.getComputedStyle?Je.getComputedStyle(ye):null,Ut=(_t&&_t.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(ye),Ut){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 ye=this._document.body.classList;ye.remove(We),ye.remove(jt),ye.remove(Re),this._hasCheckedHighContrastMode=!0;const Je=this.getHighContrastMode();1===Je?(ye.add(We),ye.add(jt)):2===Je&&(ye.add(We),ye.add(Re))}}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(te.t4),n.LFG(l.K0))},ae.\u0275prov=n.Yz7({factory:function(){return new ae(n.LFG(te.t4),n.LFG(l.K0))},token:ae,providedIn:"root"}),ae})(),Ge=(()=>{class ae{constructor(ye){ye._applyBodyHighContrastModeCssClasses()}}return ae.\u0275fac=function(ye){return new(ye||ae)(n.LFG(Se))},ae.\u0275mod=n.oAB({type:ae}),ae.\u0275inj=n.cJS({imports:[[te.ud,ce.Q8]]}),ae})()},4607:(ft,Fe,p)=>{"use strict";p.d(Fe,{vT:()=>I,Is:()=>g});var l=p(7716),n=p(8583);const m=new l.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,l.f3M)(n.K0)}});let g=(()=>{class b{constructor(U){if(this.value="ltr",this.change=new l.vpe,U){const G=U.documentElement?U.documentElement.dir:null,K=(U.body?U.body.dir:null)||G;this.value="ltr"===K||"rtl"===K?K:"ltr"}}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(U){return new(U||b)(l.LFG(m,8))},b.\u0275prov=l.Yz7({factory:function(){return new b(l.LFG(m,8))},token:b,providedIn:"root"}),b})(),I=(()=>{class b{}return b.\u0275fac=function(U){return new(U||b)},b.\u0275mod=l.oAB({type:b}),b.\u0275inj=l.cJS({}),b})()},8345:(ft,Fe,p)=>{"use strict";p.d(Fe,{P3:()=>I,Ov:()=>U,A8:()=>G,yy:()=>b,eX:()=>E,k:()=>K,Z9:()=>D});var l=p(5639),n=p(5917),m=p(9765),P=p(7716);function D(J){return J&&"function"==typeof J.connect}class I extends class{}{constructor($){super(),this._data=$}connect(){return(0,l.b)(this._data)?this._data:(0,n.of)(this._data)}disconnect(){}}class b{applyChanges($,ee,te,ce,De){$.forEachOperation((qe,Le,de)=>{let ve,re;if(null==qe.previousIndex){const ie=te(qe,Le,de);ve=ee.createEmbeddedView(ie.templateRef,ie.context,ie.index),re=1}else null==de?(ee.remove(Le),re=3):(ve=ee.get(Le),ee.move(ve,de),re=2);De&&De({context:null==ve?void 0:ve.context,operation:re,record:qe})})}detach(){}}class E{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges($,ee,te,ce,De){$.forEachOperation((qe,Le,de)=>{let ve,re;null==qe.previousIndex?(ve=this._insertView(()=>te(qe,Le,de),de,ee,ce(qe)),re=ve?1:0):null==de?(this._detachAndCacheView(Le,ee),re=3):(ve=this._moveView(Le,de,ee,ce(qe)),re=2),De&&De({context:null==ve?void 0:ve.context,operation:re,record:qe})})}detach(){for(const $ of this._viewCache)$.destroy();this._viewCache=[]}_insertView($,ee,te,ce){const De=this._insertViewFromCache(ee,te);if(De)return void(De.context.$implicit=ce);const qe=$();return te.createEmbeddedView(qe.templateRef,qe.context,qe.index)}_detachAndCacheView($,ee){const te=ee.detach($);this._maybeCacheView(te,ee)}_moveView($,ee,te,ce){const De=te.get($);return te.move(De,ee),De.context.$implicit=ce,De}_maybeCacheView($,ee){if(this._viewCache.lengththis._markSelected(ce)):this._markSelected(ee[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...$){this._verifyValueAssignment($),$.forEach(ee=>this._markSelected(ee)),this._emitChangeEvent()}deselect(...$){this._verifyValueAssignment($),$.forEach(ee=>this._unmarkSelected(ee)),this._emitChangeEvent()}toggle($){this.isSelected($)?this.deselect($):this.select($)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected($){return this._selection.has($)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort($){this._multiple&&this.selected&&this._selected.sort($)}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($){this.isSelected($)||(this._multiple||this._unmarkAll(),this._selection.add($),this._emitChanges&&this._selectedToEmit.push($))}_unmarkSelected($){this.isSelected($)&&(this._selection.delete($),this._emitChanges&&this._deselectedToEmit.push($))}_unmarkAll(){this.isEmpty()||this._selection.forEach($=>this._unmarkSelected($))}_verifyValueAssignment($){}}let G=(()=>{class J{constructor(){this._listeners=[]}notify(ee,te){for(let ce of this._listeners)ce(ee,te)}listen(ee){return this._listeners.push(ee),()=>{this._listeners=this._listeners.filter(te=>ee!==te)}}ngOnDestroy(){this._listeners=[]}}return J.\u0275fac=function(ee){return new(ee||J)},J.\u0275prov=P.Yz7({factory:function(){return new J},token:J,providedIn:"root"}),J})();const K=new P.OlP("_ViewRepeater")},6461:(ft,Fe,p)=>{"use strict";p.d(Fe,{A:()=>Be,zL:()=>b,ZH:()=>n,jx:()=>I,yY:()=>re,JH:()=>qe,uR:()=>$,K5:()=>g,hY:()=>R,Sd:()=>ee,oh:()=>te,b2:()=>xr,MW:()=>q,aO:()=>He,VM:()=>J,Ku:()=>K,SV:()=>De,JU:()=>D,L_:()=>G,Mf:()=>m,LH:()=>ce,Z:()=>V,xE:()=>ie,Vb:()=>_r});const n=8,m=9,g=13,D=16,I=17,b=18,R=27,G=32,K=33,J=34,$=35,ee=36,te=37,ce=38,De=39,qe=40,re=46,ie=48,He=57,Be=65,V=90,q=91,xr=224;function _r(Wi,...yi){return yi.length?yi.some(zn=>Wi[zn]):Wi.altKey||Wi.shiftKey||Wi.ctrlKey||Wi.metaKey}},5072:(ft,Fe,p)=>{"use strict";p.d(Fe,{Yg:()=>qe,u3:()=>de});var l=p(7716),n=p(9490),m=p(9765),P=p(739),g=p(8071),D=p(7574),I=p(5257),b=p(3653),E=p(4395),U=p(8002),R=p(9761),G=p(6782),K=p(521);const $=new Set;let ee,te=(()=>{class ve{constructor(ie){this._platform=ie,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):De}matchMedia(ie){return(this._platform.WEBKIT||this._platform.BLINK)&&function(ve){if(!$.has(ve))try{ee||(ee=document.createElement("style"),ee.setAttribute("type","text/css"),document.head.appendChild(ee)),ee.sheet&&(ee.sheet.insertRule(`@media ${ve} {body{ }}`,0),$.add(ve))}catch(re){console.error(re)}}(ie),this._matchMedia(ie)}}return ve.\u0275fac=function(ie){return new(ie||ve)(l.LFG(K.t4))},ve.\u0275prov=l.Yz7({factory:function(){return new ve(l.LFG(K.t4))},token:ve,providedIn:"root"}),ve})();function De(ve){return{matches:"all"===ve||""===ve,media:ve,addListener:()=>{},removeListener:()=>{}}}let qe=(()=>{class ve{constructor(ie,se){this._mediaMatcher=ie,this._zone=se,this._queries=new Map,this._destroySubject=new m.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ie){return Le((0,n.Eq)(ie)).some(Ie=>this._registerQuery(Ie).mql.matches)}observe(ie){const Ie=Le((0,n.Eq)(ie)).map(be=>this._registerQuery(be).observable);let pe=(0,P.aj)(Ie);return pe=(0,g.z)(pe.pipe((0,I.q)(1)),pe.pipe((0,b.T)(1),(0,E.b)(0))),pe.pipe((0,U.U)(be=>{const Ue={matches:!1,breakpoints:{}};return be.forEach(({matches:rt,query:et})=>{Ue.matches=Ue.matches||rt,Ue.breakpoints[et]=rt}),Ue}))}_registerQuery(ie){if(this._queries.has(ie))return this._queries.get(ie);const se=this._mediaMatcher.matchMedia(ie),pe={observable:new D.y(be=>{const Ue=rt=>this._zone.run(()=>be.next(rt));return se.addListener(Ue),()=>{se.removeListener(Ue)}}).pipe((0,R.O)(se),(0,U.U)(({matches:be})=>({query:ie,matches:be})),(0,G.R)(this._destroySubject)),mql:se};return this._queries.set(ie,pe),pe}}return ve.\u0275fac=function(ie){return new(ie||ve)(l.LFG(te),l.LFG(l.R0b))},ve.\u0275prov=l.Yz7({factory:function(){return new ve(l.LFG(te),l.LFG(l.R0b))},token:ve,providedIn:"root"}),ve})();function Le(ve){return ve.map(re=>re.split(",")).reduce((re,ie)=>re.concat(ie)).map(re=>re.trim())}const de={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)"}},8553:(ft,Fe,p)=>{"use strict";p.d(Fe,{wD:()=>b,yq:()=>I,Q8:()=>E});var l=p(9490),n=p(7716),m=p(7574),P=p(9765),g=p(4395);let D=(()=>{class U{create(G){return"undefined"==typeof MutationObserver?null:new MutationObserver(G)}}return U.\u0275fac=function(G){return new(G||U)},U.\u0275prov=n.Yz7({factory:function(){return new U},token:U,providedIn:"root"}),U})(),I=(()=>{class U{constructor(G){this._mutationObserverFactory=G,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((G,K)=>this._cleanupObserver(K))}observe(G){const K=(0,l.fI)(G);return new m.y(J=>{const ee=this._observeElement(K).subscribe(J);return()=>{ee.unsubscribe(),this._unobserveElement(K)}})}_observeElement(G){if(this._observedElements.has(G))this._observedElements.get(G).count++;else{const K=new P.xQ,J=this._mutationObserverFactory.create($=>K.next($));J&&J.observe(G,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(G,{observer:J,stream:K,count:1})}return this._observedElements.get(G).stream}_unobserveElement(G){this._observedElements.has(G)&&(this._observedElements.get(G).count--,this._observedElements.get(G).count||this._cleanupObserver(G))}_cleanupObserver(G){if(this._observedElements.has(G)){const{observer:K,stream:J}=this._observedElements.get(G);K&&K.disconnect(),J.complete(),this._observedElements.delete(G)}}}return U.\u0275fac=function(G){return new(G||U)(n.LFG(D))},U.\u0275prov=n.Yz7({factory:function(){return new U(n.LFG(D))},token:U,providedIn:"root"}),U})(),b=(()=>{class U{constructor(G,K,J){this._contentObserver=G,this._elementRef=K,this._ngZone=J,this.event=new n.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,l.Ig)(G),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(G){this._debounce=(0,l.su)(G),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const G=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?G.pipe((0,g.b)(this.debounce)):G).subscribe(this.event)})}_unsubscribe(){var G;null===(G=this._currentSubscription)||void 0===G||G.unsubscribe()}}return U.\u0275fac=function(G){return new(G||U)(n.Y36(I),n.Y36(n.SBq),n.Y36(n.R0b))},U.\u0275dir=n.lG2({type:U,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),U})(),E=(()=>{class U{}return U.\u0275fac=function(G){return new(G||U)},U.\u0275mod=n.oAB({type:U}),U.\u0275inj=n.cJS({providers:[D]}),U})()},625:(ft,Fe,p)=>{"use strict";p.d(Fe,{pI:()=>qt,xu:()=>It,_G:()=>At,aV:()=>gt,X_:()=>Ie,Xj:()=>Oe,U8:()=>Y});var l=p(6994),n=p(7716),m=p(521),P=p(4607),g=p(8583),D=p(9490),I=p(7636),b=p(9765),E=p(5319),U=p(6682),R=p(7393);class K{constructor(C,S){this.predicate=C,this.inclusive=S}call(C,S){return S.subscribe(new J(C,this.predicate,this.inclusive))}}class J extends R.L{constructor(C,S,F){super(C),this.predicate=S,this.inclusive=F,this.index=0}_next(C){const S=this.destination;let F;try{F=this.predicate(C,this.index++)}catch(H){return void S.error(H)}this.nextOrComplete(C,F)}nextOrComplete(C,S){const F=this.destination;Boolean(S)?F.next(C):(this.inclusive&&F.next(C),F.complete())}}var $=p(5257),ee=p(6782),te=p(6461);const ce=(0,m.Mq)();class De{constructor(C,S){this._viewportRuler=C,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=S}attach(){}enable(){if(this._canBeEnabled()){const C=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=C.style.left||"",this._previousHTMLStyles.top=C.style.top||"",C.style.left=(0,D.HM)(-this._previousScrollPosition.left),C.style.top=(0,D.HM)(-this._previousScrollPosition.top),C.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const C=this._document.documentElement,F=C.style,H=this._document.body.style,v=F.scrollBehavior||"",V=H.scrollBehavior||"";this._isEnabled=!1,F.left=this._previousHTMLStyles.left,F.top=this._previousHTMLStyles.top,C.classList.remove("cdk-global-scrollblock"),ce&&(F.scrollBehavior=H.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ce&&(F.scrollBehavior=v,H.scrollBehavior=V)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const S=this._document.body,F=this._viewportRuler.getViewportSize();return S.scrollHeight>F.height||S.scrollWidth>F.width}}class Le{constructor(C,S,F,H){this._scrollDispatcher=C,this._ngZone=S,this._viewportRuler=F,this._config=H,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(C){this._overlayRef=C}enable(){if(this._scrollSubscription)return;const C=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=C.subscribe(()=>{const S=this._viewportRuler.getViewportScrollPosition().top;Math.abs(S-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=C.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class de{enable(){}disable(){}attach(){}}function ve(A,C){return C.some(S=>A.bottomS.bottom||A.rightS.right)}function re(A,C){return C.some(S=>A.topS.bottom||A.leftS.right)}class ie{constructor(C,S,F,H){this._scrollDispatcher=C,this._viewportRuler=S,this._ngZone=F,this._config=H,this._scrollSubscription=null}attach(C){this._overlayRef=C}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 S=this._overlayRef.overlayElement.getBoundingClientRect(),{width:F,height:H}=this._viewportRuler.getViewportSize();ve(S,[{width:F,height:H,bottom:H,right:F,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 se=(()=>{class A{constructor(S,F,H,v){this._scrollDispatcher=S,this._viewportRuler=F,this._ngZone=H,this.noop=()=>new de,this.close=V=>new Le(this._scrollDispatcher,this._ngZone,this._viewportRuler,V),this.block=()=>new De(this._viewportRuler,this._document),this.reposition=V=>new ie(this._scrollDispatcher,this._viewportRuler,this._ngZone,V),this._document=v}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(l.mF),n.LFG(l.rL),n.LFG(n.R0b),n.LFG(g.K0))},A.\u0275prov=n.Yz7({factory:function(){return new A(n.LFG(l.mF),n.LFG(l.rL),n.LFG(n.R0b),n.LFG(g.K0))},token:A,providedIn:"root"}),A})();class Ie{constructor(C){if(this.scrollStrategy=new de,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,C){const S=Object.keys(C);for(const F of S)void 0!==C[F]&&(this[F]=C[F])}}}class pe{constructor(C,S,F,H,v){this.offsetX=F,this.offsetY=H,this.panelClass=v,this.originX=C.originX,this.originY=C.originY,this.overlayX=S.overlayX,this.overlayY=S.overlayY}}class Ue{constructor(C,S){this.connectionPair=C,this.scrollableViewProperties=S}}let Tt=(()=>{class A{constructor(S){this._attachedOverlays=[],this._document=S}ngOnDestroy(){this.detach()}add(S){this.remove(S),this._attachedOverlays.push(S)}remove(S){const F=this._attachedOverlays.indexOf(S);F>-1&&this._attachedOverlays.splice(F,1),0===this._attachedOverlays.length&&this.detach()}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(g.K0))},A.\u0275prov=n.Yz7({factory:function(){return new A(n.LFG(g.K0))},token:A,providedIn:"root"}),A})(),He=(()=>{class A extends Tt{constructor(S){super(S),this._keydownListener=F=>{const H=this._attachedOverlays;for(let v=H.length-1;v>-1;v--)if(H[v]._keydownEvents.observers.length>0){H[v]._keydownEvents.next(F);break}}}add(S){super.add(S),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 A.\u0275fac=function(S){return new(S||A)(n.LFG(g.K0))},A.\u0275prov=n.Yz7({factory:function(){return new A(n.LFG(g.K0))},token:A,providedIn:"root"}),A})(),dt=(()=>{class A extends Tt{constructor(S,F){super(S),this._platform=F,this._cursorStyleIsSet=!1,this._pointerDownListener=H=>{this._pointerDownEventTarget=(0,m.sA)(H)},this._clickListener=H=>{const v=(0,m.sA)(H),V="click"===H.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:v;this._pointerDownEventTarget=null;const q=this._attachedOverlays.slice();for(let xe=q.length-1;xe>-1;xe--){const vt=q[xe];if(!(vt._outsidePointerEvents.observers.length<1)&&vt.hasAttached()){if(vt.overlayElement.contains(v)||vt.overlayElement.contains(V))break;vt._outsidePointerEvents.next(H)}}}}add(S){if(super.add(S),!this._isAttached){const F=this._document.body;F.addEventListener("pointerdown",this._pointerDownListener,!0),F.addEventListener("click",this._clickListener,!0),F.addEventListener("auxclick",this._clickListener,!0),F.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=F.style.cursor,F.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const S=this._document.body;S.removeEventListener("pointerdown",this._pointerDownListener,!0),S.removeEventListener("click",this._clickListener,!0),S.removeEventListener("auxclick",this._clickListener,!0),S.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(S.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(g.K0),n.LFG(m.t4))},A.\u0275prov=n.Yz7({factory:function(){return new A(n.LFG(g.K0),n.LFG(m.t4))},token:A,providedIn:"root"}),A})(),Oe=(()=>{class A{constructor(S,F){this._platform=F,this._document=S}ngOnDestroy(){const S=this._containerElement;S&&S.parentNode&&S.parentNode.removeChild(S)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const S="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const H=this._document.querySelectorAll(`.${S}[platform="server"], .${S}[platform="test"]`);for(let v=0;vthis._backdropClick.next(xt),this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,H.scrollStrategy&&(this._scrollStrategy=H.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=H.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(C){let S=this._portalOutlet.attach(C);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,$.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),S}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const C=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),C}dispose(){const C=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,C&&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(C){C!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=C,this.hasAttached()&&(C.attach(this),this.updatePosition()))}updateSize(C){this._config=Object.assign(Object.assign({},this._config),C),this._updateElementSize()}setDirection(C){this._config=Object.assign(Object.assign({},this._config),{direction:C}),this._updateElementDirection()}addPanelClass(C){this._pane&&this._toggleClasses(this._pane,C,!0)}removePanelClass(C){this._pane&&this._toggleClasses(this._pane,C,!1)}getDirection(){const C=this._config.direction;return C?"string"==typeof C?C:C.value:"ltr"}updateScrollStrategy(C){C!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=C,this.hasAttached()&&(C.attach(this),C.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const C=this._pane.style;C.width=(0,D.HM)(this._config.width),C.height=(0,D.HM)(this._config.height),C.minWidth=(0,D.HM)(this._config.minWidth),C.minHeight=(0,D.HM)(this._config.minHeight),C.maxWidth=(0,D.HM)(this._config.maxWidth),C.maxHeight=(0,D.HM)(this._config.maxHeight)}_togglePointerEvents(C){this._pane.style.pointerEvents=C?"":"none"}_attachBackdrop(){const C="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(C)})}):this._backdropElement.classList.add(C)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const C=this._backdropElement;if(!C)return;let S;const F=()=>{C&&(C.removeEventListener("click",this._backdropClickHandler),C.removeEventListener("transitionend",F),this._disposeBackdrop(C)),this._config.backdropClass&&this._toggleClasses(C,this._config.backdropClass,!1),clearTimeout(S)};C.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{C.addEventListener("transitionend",F)}),C.style.pointerEvents="none",S=this._ngZone.runOutsideAngular(()=>setTimeout(F,500))}_toggleClasses(C,S,F){const H=C.classList;(0,D.Eq)(S).forEach(v=>{v&&(F?H.add(v):H.remove(v))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const C=this._ngZone.onStable.pipe((0,ee.R)((0,U.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)),C.unsubscribe())})})}_disposeScrollStrategy(){const C=this._scrollStrategy;C&&(C.disable(),C.detach&&C.detach())}_disposeBackdrop(C){C&&(C.parentNode&&C.parentNode.removeChild(C),this._backdropElement===C&&(this._backdropElement=null))}}const Ke="cdk-overlay-connected-position-bounding-box",Be=/([A-Za-z%]+)$/;class At{constructor(C,S,F,H,v){this._viewportRuler=S,this._document=F,this._platform=H,this._overlayContainer=v,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 b.xQ,this._resizeSubscription=E.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(C)}get positions(){return this._preferredPositions}attach(C){this._validatePositions(),C.hostElement.classList.add(Ke),this._overlayRef=C,this._boundingBox=C.hostElement,this._pane=C.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 C=this._originRect,S=this._overlayRect,F=this._viewportRect,H=[];let v;for(let V of this._preferredPositions){let q=this._getOriginPoint(C,V),xe=this._getOverlayPoint(q,S,V),vt=this._getOverlayFit(xe,S,F,V);if(vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(V,q);this._canFitWithFlexibleDimensions(vt,xe,F)?H.push({position:V,origin:q,overlayRect:S,boundingBoxRect:this._calculateBoundingBoxRect(q,V)}):(!v||v.overlayFit.visibleAreaq&&(q=vt,V=xe)}return this._isPushed=!1,void this._applyPosition(V.position,V.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(v.position,v.originPoint);this._applyPosition(v.position,v.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&at(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ke),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 C=this._lastPosition||this._preferredPositions[0],S=this._getOriginPoint(this._originRect,C);this._applyPosition(C,S)}}withScrollableContainers(C){return this._scrollables=C,this}withPositions(C){return this._preferredPositions=C,-1===C.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(C){return this._viewportMargin=C,this}withFlexibleDimensions(C=!0){return this._hasFlexibleDimensions=C,this}withGrowAfterOpen(C=!0){return this._growAfterOpen=C,this}withPush(C=!0){return this._canPush=C,this}withLockedPosition(C=!0){return this._positionLocked=C,this}setOrigin(C){return this._origin=C,this}withDefaultOffsetX(C){return this._offsetX=C,this}withDefaultOffsetY(C){return this._offsetY=C,this}withTransformOriginOn(C){return this._transformOriginSelector=C,this}_getOriginPoint(C,S){let F,H;if("center"==S.originX)F=C.left+C.width/2;else{const v=this._isRtl()?C.right:C.left,V=this._isRtl()?C.left:C.right;F="start"==S.originX?v:V}return H="center"==S.originY?C.top+C.height/2:"top"==S.originY?C.top:C.bottom,{x:F,y:H}}_getOverlayPoint(C,S,F){let H,v;return H="center"==F.overlayX?-S.width/2:"start"===F.overlayX?this._isRtl()?-S.width:0:this._isRtl()?0:-S.width,v="center"==F.overlayY?-S.height/2:"top"==F.overlayY?0:-S.height,{x:C.x+H,y:C.y+v}}_getOverlayFit(C,S,F,H){const v=lt(S);let{x:V,y:q}=C,xe=this._getOffset(H,"x"),vt=this._getOffset(H,"y");xe&&(V+=xe),vt&&(q+=vt);let Yt=0-q,Zt=q+v.height-F.height,Wt=this._subtractOverflows(v.width,0-V,V+v.width-F.width),an=this._subtractOverflows(v.height,Yt,Zt),Jt=Wt*an;return{visibleArea:Jt,isCompletelyWithinViewport:v.width*v.height===Jt,fitsInViewportVertically:an===v.height,fitsInViewportHorizontally:Wt==v.width}}_canFitWithFlexibleDimensions(C,S,F){if(this._hasFlexibleDimensions){const H=F.bottom-S.y,v=F.right-S.x,V=Ye(this._overlayRef.getConfig().minHeight),q=Ye(this._overlayRef.getConfig().minWidth),vt=C.fitsInViewportHorizontally||null!=q&&q<=v;return(C.fitsInViewportVertically||null!=V&&V<=H)&&vt}return!1}_pushOverlayOnScreen(C,S,F){if(this._previousPushAmount&&this._positionLocked)return{x:C.x+this._previousPushAmount.x,y:C.y+this._previousPushAmount.y};const H=lt(S),v=this._viewportRect,V=Math.max(C.x+H.width-v.width,0),q=Math.max(C.y+H.height-v.height,0),xe=Math.max(v.top-F.top-C.y,0),vt=Math.max(v.left-F.left-C.x,0);let xt=0,kt=0;return xt=H.width<=v.width?vt||-V:C.xWt&&!this._isInitialRender&&!this._growAfterOpen&&(V=C.y-Wt/2)}if("end"===S.overlayX&&!H||"start"===S.overlayX&&H)Yt=F.width-C.x+this._viewportMargin,xt=C.x-this._viewportMargin;else if("start"===S.overlayX&&!H||"end"===S.overlayX&&H)kt=C.x,xt=F.right-C.x;else{const Zt=Math.min(F.right-C.x+F.left,C.x),Wt=this._lastBoundingBoxSize.width;xt=2*Zt,kt=C.x-Zt,xt>Wt&&!this._isInitialRender&&!this._growAfterOpen&&(kt=C.x-Wt/2)}return{top:V,left:kt,bottom:q,right:Yt,width:xt,height:v}}_setBoundingBoxStyles(C,S){const F=this._calculateBoundingBoxRect(C,S);!this._isInitialRender&&!this._growAfterOpen&&(F.height=Math.min(F.height,this._lastBoundingBoxSize.height),F.width=Math.min(F.width,this._lastBoundingBoxSize.width));const H={};if(this._hasExactPosition())H.top=H.left="0",H.bottom=H.right=H.maxHeight=H.maxWidth="",H.width=H.height="100%";else{const v=this._overlayRef.getConfig().maxHeight,V=this._overlayRef.getConfig().maxWidth;H.height=(0,D.HM)(F.height),H.top=(0,D.HM)(F.top),H.bottom=(0,D.HM)(F.bottom),H.width=(0,D.HM)(F.width),H.left=(0,D.HM)(F.left),H.right=(0,D.HM)(F.right),H.alignItems="center"===S.overlayX?"center":"end"===S.overlayX?"flex-end":"flex-start",H.justifyContent="center"===S.overlayY?"center":"bottom"===S.overlayY?"flex-end":"flex-start",v&&(H.maxHeight=(0,D.HM)(v)),V&&(H.maxWidth=(0,D.HM)(V))}this._lastBoundingBoxSize=F,at(this._boundingBox.style,H)}_resetBoundingBoxStyles(){at(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){at(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(C,S){const F={},H=this._hasExactPosition(),v=this._hasFlexibleDimensions,V=this._overlayRef.getConfig();if(H){const xt=this._viewportRuler.getViewportScrollPosition();at(F,this._getExactOverlayY(S,C,xt)),at(F,this._getExactOverlayX(S,C,xt))}else F.position="static";let q="",xe=this._getOffset(S,"x"),vt=this._getOffset(S,"y");xe&&(q+=`translateX(${xe}px) `),vt&&(q+=`translateY(${vt}px)`),F.transform=q.trim(),V.maxHeight&&(H?F.maxHeight=(0,D.HM)(V.maxHeight):v&&(F.maxHeight="")),V.maxWidth&&(H?F.maxWidth=(0,D.HM)(V.maxWidth):v&&(F.maxWidth="")),at(this._pane.style,F)}_getExactOverlayY(C,S,F){let H={top:"",bottom:""},v=this._getOverlayPoint(S,this._overlayRect,C);this._isPushed&&(v=this._pushOverlayOnScreen(v,this._overlayRect,F));let V=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return v.y-=V,"bottom"===C.overlayY?H.bottom=this._document.documentElement.clientHeight-(v.y+this._overlayRect.height)+"px":H.top=(0,D.HM)(v.y),H}_getExactOverlayX(C,S,F){let V,H={left:"",right:""},v=this._getOverlayPoint(S,this._overlayRect,C);return this._isPushed&&(v=this._pushOverlayOnScreen(v,this._overlayRect,F)),V=this._isRtl()?"end"===C.overlayX?"left":"right":"end"===C.overlayX?"right":"left","right"===V?H.right=this._document.documentElement.clientWidth-(v.x+this._overlayRect.width)+"px":H.left=(0,D.HM)(v.x),H}_getScrollVisibility(){const C=this._getOriginRect(),S=this._pane.getBoundingClientRect(),F=this._scrollables.map(H=>H.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:re(C,F),isOriginOutsideView:ve(C,F),isOverlayClipped:re(S,F),isOverlayOutsideView:ve(S,F)}}_subtractOverflows(C,...S){return S.reduce((F,H)=>F-Math.max(H,0),C)}_getNarrowedViewportRect(){const C=this._document.documentElement.clientWidth,S=this._document.documentElement.clientHeight,F=this._viewportRuler.getViewportScrollPosition();return{top:F.top+this._viewportMargin,left:F.left+this._viewportMargin,right:F.left+C-this._viewportMargin,bottom:F.top+S-this._viewportMargin,width:C-2*this._viewportMargin,height:S-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(C,S){return"x"===S?null==C.offsetX?this._offsetX:C.offsetX:null==C.offsetY?this._offsetY:C.offsetY}_validatePositions(){}_addPanelClasses(C){this._pane&&(0,D.Eq)(C).forEach(S=>{""!==S&&-1===this._appliedPanelClasses.indexOf(S)&&(this._appliedPanelClasses.push(S),this._pane.classList.add(S))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(C=>{this._pane.classList.remove(C)}),this._appliedPanelClasses=[])}_getOriginRect(){const C=this._origin;if(C instanceof n.SBq)return C.nativeElement.getBoundingClientRect();if(C instanceof Element)return C.getBoundingClientRect();const S=C.width||0,F=C.height||0;return{top:C.y,bottom:C.y+F,left:C.x,right:C.x+S,height:F,width:S}}}function at(A,C){for(let S in C)C.hasOwnProperty(S)&&(A[S]=C[S]);return A}function Ye(A){if("number"!=typeof A&&null!=A){const[C,S]=A.split(Be);return S&&"px"!==S?null:parseFloat(C)}return A||null}function lt(A){return{top:Math.floor(A.top),right:Math.floor(A.right),bottom:Math.floor(A.bottom),left:Math.floor(A.left),width:Math.floor(A.width),height:Math.floor(A.height)}}class tt{constructor(C,S,F,H,v,V,q){this._preferredPositions=[],this._positionStrategy=new At(F,H,v,V,q).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(C,S),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(C){this._overlayRef=C,this._positionStrategy.attach(C),this._direction&&(C.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(C){this._positionStrategy.withScrollableContainers(C)}withFallbackPosition(C,S,F,H){const v=new pe(C,S,F,H);return this._preferredPositions.push(v),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(C){return this._overlayRef?this._overlayRef.setDirection(C):this._direction=C,this}withOffsetX(C){return this._positionStrategy.withDefaultOffsetX(C),this}withOffsetY(C){return this._positionStrategy.withDefaultOffsetY(C),this}withLockedPosition(C){return this._positionStrategy.withLockedPosition(C),this}withPositions(C){return this._preferredPositions=C.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(C){return this._positionStrategy.setOrigin(C),this}}const wt="cdk-global-overlay-wrapper";class Gt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(C){const S=C.getConfig();this._overlayRef=C,this._width&&!S.width&&C.updateSize({width:this._width}),this._height&&!S.height&&C.updateSize({height:this._height}),C.hostElement.classList.add(wt),this._isDisposed=!1}top(C=""){return this._bottomOffset="",this._topOffset=C,this._alignItems="flex-start",this}left(C=""){return this._rightOffset="",this._leftOffset=C,this._justifyContent="flex-start",this}bottom(C=""){return this._topOffset="",this._bottomOffset=C,this._alignItems="flex-end",this}right(C=""){return this._leftOffset="",this._rightOffset=C,this._justifyContent="flex-end",this}width(C=""){return this._overlayRef?this._overlayRef.updateSize({width:C}):this._width=C,this}height(C=""){return this._overlayRef?this._overlayRef.updateSize({height:C}):this._height=C,this}centerHorizontally(C=""){return this.left(C),this._justifyContent="center",this}centerVertically(C=""){return this.top(C),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const C=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement.style,F=this._overlayRef.getConfig(),{width:H,height:v,maxWidth:V,maxHeight:q}=F,xe=!("100%"!==H&&"100vw"!==H||V&&"100%"!==V&&"100vw"!==V),vt=!("100%"!==v&&"100vh"!==v||q&&"100%"!==q&&"100vh"!==q);C.position=this._cssPosition,C.marginLeft=xe?"0":this._leftOffset,C.marginTop=vt?"0":this._topOffset,C.marginBottom=this._bottomOffset,C.marginRight=this._rightOffset,xe?S.justifyContent="flex-start":"center"===this._justifyContent?S.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?S.justifyContent="flex-end":"flex-end"===this._justifyContent&&(S.justifyContent="flex-start"):S.justifyContent=this._justifyContent,S.alignItems=vt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const C=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement,F=S.style;S.classList.remove(wt),F.justifyContent=F.alignItems=C.marginTop=C.marginBottom=C.marginLeft=C.marginRight=C.position="",this._overlayRef=null,this._isDisposed=!0}}let en=(()=>{class A{constructor(S,F,H,v){this._viewportRuler=S,this._document=F,this._platform=H,this._overlayContainer=v}global(){return new Gt}connectedTo(S,F,H){return new tt(F,H,S,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(S){return new At(S,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(l.rL),n.LFG(g.K0),n.LFG(m.t4),n.LFG(Oe))},A.\u0275prov=n.Yz7({factory:function(){return new A(n.LFG(l.rL),n.LFG(g.K0),n.LFG(m.t4),n.LFG(Oe))},token:A,providedIn:"root"}),A})(),St=0,gt=(()=>{class A{constructor(S,F,H,v,V,q,xe,vt,xt,kt,Yt){this.scrollStrategies=S,this._overlayContainer=F,this._componentFactoryResolver=H,this._positionBuilder=v,this._keyboardDispatcher=V,this._injector=q,this._ngZone=xe,this._document=vt,this._directionality=xt,this._location=kt,this._outsideClickDispatcher=Yt}create(S){const F=this._createHostElement(),H=this._createPaneElement(F),v=this._createPortalOutlet(H),V=new Ie(S);return V.direction=V.direction||this._directionality.value,new je(v,F,H,V,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(S){const F=this._document.createElement("div");return F.id="cdk-overlay-"+St++,F.classList.add("cdk-overlay-pane"),S.appendChild(F),F}_createHostElement(){const S=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(S),S}_createPortalOutlet(S){return this._appRef||(this._appRef=this._injector.get(n.z2F)),new I.u0(S,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(se),n.LFG(Oe),n.LFG(n._Vd),n.LFG(en),n.LFG(He),n.LFG(n.zs3),n.LFG(n.R0b),n.LFG(g.K0),n.LFG(P.Is),n.LFG(g.Ye),n.LFG(dt))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})();const Qe=[{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"}],ze=new n.OlP("cdk-connected-overlay-scroll-strategy");let It=(()=>{class A{constructor(S){this.elementRef=S}}return A.\u0275fac=function(S){return new(S||A)(n.Y36(n.SBq))},A.\u0275dir=n.lG2({type:A,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),A})(),qt=(()=>{class A{constructor(S,F,H,v,V){this._overlay=S,this._dir=V,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=E.w.EMPTY,this._attachSubscription=E.w.EMPTY,this._detachSubscription=E.w.EMPTY,this._positionSubscription=E.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new n.vpe,this.positionChange=new n.vpe,this.attach=new n.vpe,this.detach=new n.vpe,this.overlayKeydown=new n.vpe,this.overlayOutsideClick=new n.vpe,this._templatePortal=new I.UE(F,H),this._scrollStrategyFactory=v,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(S){this._offsetX=S,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(S){this._offsetY=S,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(S){this._hasBackdrop=(0,D.Ig)(S)}get lockPosition(){return this._lockPosition}set lockPosition(S){this._lockPosition=(0,D.Ig)(S)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(S){this._flexibleDimensions=(0,D.Ig)(S)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(S){this._growAfterOpen=(0,D.Ig)(S)}get push(){return this._push}set push(S){this._push=(0,D.Ig)(S)}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(S){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),S.origin&&this.open&&this._position.apply()),S.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qe);const S=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=S.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=S.detachments().subscribe(()=>this.detach.emit()),S.keydownEvents().subscribe(F=>{this.overlayKeydown.next(F),F.keyCode===te.hY&&!this.disableClose&&!(0,te.Vb)(F)&&(F.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(F=>{this.overlayOutsideClick.next(F)})}_buildConfig(){const S=this._position=this.positionStrategy||this._createPositionStrategy(),F=new Ie({direction:this._dir,positionStrategy:S,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(F.width=this.width),(this.height||0===this.height)&&(F.height=this.height),(this.minWidth||0===this.minWidth)&&(F.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(F.minHeight=this.minHeight),this.backdropClass&&(F.backdropClass=this.backdropClass),this.panelClass&&(F.panelClass=this.panelClass),F}_updatePositionStrategy(S){const F=this.positions.map(H=>({originX:H.originX,originY:H.originY,overlayX:H.overlayX,overlayY:H.overlayY,offsetX:H.offsetX||this.offsetX,offsetY:H.offsetY||this.offsetY,panelClass:H.panelClass||void 0}));return S.setOrigin(this.origin.elementRef).withPositions(F).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const S=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(S),S}_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(S=>{this.backdropClick.emit(S)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(A,C=!1){return S=>S.lift(new K(A,C))}(()=>this.positionChange.observers.length>0)).subscribe(S=>{this.positionChange.emit(S),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return A.\u0275fac=function(S){return new(S||A)(n.Y36(gt),n.Y36(n.Rgc),n.Y36(n.s_b),n.Y36(ze),n.Y36(P.Is,8))},A.\u0275dir=n.lG2({type:A,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:[n.TTD]}),A})();const fe={provide:ze,deps:[gt],useFactory:function(A){return()=>A.scrollStrategies.reposition()}};let Y=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({providers:[gt,fe],imports:[[P.vT,I.eL,l.Cl],l.Cl]}),A})()},521:(ft,Fe,p)=>{"use strict";p.d(Fe,{t4:()=>P,ud:()=>g,sA:()=>qe,ht:()=>De,kV:()=>ce,Oy:()=>Le,_i:()=>$,qK:()=>b,i$:()=>R,Mq:()=>J});var l=p(7716),n=p(8583);let m;try{m="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(de){m=!1}let D,P=(()=>{class de{constructor(re){this._platformId=re,this.isBrowser=this._platformId?(0,n.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&&!m)&&"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 de.\u0275fac=function(re){return new(re||de)(l.LFG(l.Lbi))},de.\u0275prov=l.Yz7({factory:function(){return new de(l.LFG(l.Lbi))},token:de,providedIn:"root"}),de})(),g=(()=>{class de{}return de.\u0275fac=function(re){return new(re||de)},de.\u0275mod=l.oAB({type:de}),de.\u0275inj=l.cJS({}),de})();const I=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(D)return D;if("object"!=typeof document||!document)return D=new Set(I),D;let de=document.createElement("input");return D=new Set(I.filter(ve=>(de.setAttribute("type",ve),de.type===ve))),D}let E,G,K,ee;function R(de){return function(){if(null==E&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>E=!0}))}finally{E=E||!1}return E}()?de:!!de.capture}function J(){if(null==K){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return K=!1,K;if("scrollBehavior"in document.documentElement.style)K=!0;else{const de=Element.prototype.scrollTo;K=!!de&&!/\{\s*\[native code\]\s*\}/.test(de.toString())}}return K}function $(){if("object"!=typeof document||!document)return 0;if(null==G){const de=document.createElement("div"),ve=de.style;de.dir="rtl",ve.width="1px",ve.overflow="auto",ve.visibility="hidden",ve.pointerEvents="none",ve.position="absolute";const re=document.createElement("div"),ie=re.style;ie.width="2px",ie.height="1px",de.appendChild(re),document.body.appendChild(de),G=0,0===de.scrollLeft&&(de.scrollLeft=1,G=0===de.scrollLeft?1:2),de.parentNode.removeChild(de)}return G}function ce(de){if(function(){if(null==ee){const de="undefined"!=typeof document?document.head:null;ee=!(!de||!de.createShadowRoot&&!de.attachShadow)}return ee}()){const ve=de.getRootNode?de.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&ve instanceof ShadowRoot)return ve}return null}function De(){let de="undefined"!=typeof document&&document?document.activeElement:null;for(;de&&de.shadowRoot;){const ve=de.shadowRoot.activeElement;if(ve===de)break;de=ve}return de}function qe(de){return de.composedPath?de.composedPath()[0]:de.target}function Le(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7636:(ft,Fe,p)=>{"use strict";p.d(Fe,{en:()=>K,ig:()=>te,Pl:()=>De,C5:()=>U,u0:()=>$,eL:()=>Le,UE:()=>R});var l=p(7716),n=p(8583);class E{attach(re){return this._attachedHost=re,re.attach(this)}detach(){let re=this._attachedHost;null!=re&&(this._attachedHost=null,re.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(re){this._attachedHost=re}}class U extends E{constructor(re,ie,se,Ie){super(),this.component=re,this.viewContainerRef=ie,this.injector=se,this.componentFactoryResolver=Ie}}class R extends E{constructor(re,ie,se){super(),this.templateRef=re,this.viewContainerRef=ie,this.context=se}get origin(){return this.templateRef.elementRef}attach(re,ie=this.context){return this.context=ie,super.attach(re)}detach(){return this.context=void 0,super.detach()}}class G extends E{constructor(re){super(),this.element=re instanceof l.SBq?re.nativeElement:re}}class K{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(re){return re instanceof U?(this._attachedPortal=re,this.attachComponentPortal(re)):re instanceof R?(this._attachedPortal=re,this.attachTemplatePortal(re)):this.attachDomPortal&&re instanceof G?(this._attachedPortal=re,this.attachDomPortal(re)):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(re){this._disposeFn=re}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class $ extends K{constructor(re,ie,se,Ie,pe){super(),this.outletElement=re,this._componentFactoryResolver=ie,this._appRef=se,this._defaultInjector=Ie,this.attachDomPortal=be=>{const Ue=be.element,rt=this._document.createComment("dom-portal");Ue.parentNode.insertBefore(rt,Ue),this.outletElement.appendChild(Ue),this._attachedPortal=be,super.setDisposeFn(()=>{rt.parentNode&&rt.parentNode.replaceChild(Ue,rt)})},this._document=pe}attachComponentPortal(re){const se=(re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(re.component);let Ie;return re.viewContainerRef?(Ie=re.viewContainerRef.createComponent(se,re.viewContainerRef.length,re.injector||re.viewContainerRef.injector),this.setDisposeFn(()=>Ie.destroy())):(Ie=se.create(re.injector||this._defaultInjector),this._appRef.attachView(Ie.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ie.hostView),Ie.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ie)),this._attachedPortal=re,Ie}attachTemplatePortal(re){let ie=re.viewContainerRef,se=ie.createEmbeddedView(re.templateRef,re.context);return se.rootNodes.forEach(Ie=>this.outletElement.appendChild(Ie)),se.detectChanges(),this.setDisposeFn(()=>{let Ie=ie.indexOf(se);-1!==Ie&&ie.remove(Ie)}),this._attachedPortal=re,se}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(re){return re.hostView.rootNodes[0]}}let te=(()=>{class ve extends R{constructor(ie,se){super(ie,se)}}return ve.\u0275fac=function(ie){return new(ie||ve)(l.Y36(l.Rgc),l.Y36(l.s_b))},ve.\u0275dir=l.lG2({type:ve,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[l.qOj]}),ve})(),De=(()=>{class ve extends K{constructor(ie,se,Ie){super(),this._componentFactoryResolver=ie,this._viewContainerRef=se,this._isInitialized=!1,this.attached=new l.vpe,this.attachDomPortal=pe=>{const be=pe.element,Ue=this._document.createComment("dom-portal");pe.setAttachedHost(this),be.parentNode.insertBefore(Ue,be),this._getRootNode().appendChild(be),this._attachedPortal=pe,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(be,Ue)})},this._document=Ie}get portal(){return this._attachedPortal}set portal(ie){this.hasAttached()&&!ie&&!this._isInitialized||(this.hasAttached()&&super.detach(),ie&&super.attach(ie),this._attachedPortal=ie)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ie){ie.setAttachedHost(this);const se=null!=ie.viewContainerRef?ie.viewContainerRef:this._viewContainerRef,pe=(ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ie.component),be=se.createComponent(pe,se.length,ie.injector||se.injector);return se!==this._viewContainerRef&&this._getRootNode().appendChild(be.hostView.rootNodes[0]),super.setDisposeFn(()=>be.destroy()),this._attachedPortal=ie,this._attachedRef=be,this.attached.emit(be),be}attachTemplatePortal(ie){ie.setAttachedHost(this);const se=this._viewContainerRef.createEmbeddedView(ie.templateRef,ie.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ie,this._attachedRef=se,this.attached.emit(se),se}_getRootNode(){const ie=this._viewContainerRef.element.nativeElement;return ie.nodeType===ie.ELEMENT_NODE?ie:ie.parentNode}}return ve.\u0275fac=function(ie){return new(ie||ve)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36(n.K0))},ve.\u0275dir=l.lG2({type:ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[l.qOj]}),ve})(),Le=(()=>{class ve{}return ve.\u0275fac=function(ie){return new(ie||ve)},ve.\u0275mod=l.oAB({type:ve}),ve.\u0275inj=l.cJS({}),ve})()},6994:(ft,Fe,p)=>{"use strict";p.d(Fe,{xd:()=>en,PQ:()=>Qe,ZD:()=>A,x0:()=>x,N7:()=>fe,mF:()=>gt,Cl:()=>C,rL:()=>It});var l=p(9490),n=p(7716),m=p(9765),P=p(5917),g=p(7574),D=p(2759),I=p(1927),b=p(4581),E=p(5319),U=p(5639),R=p(7393);class K{call(F,H){return H.subscribe(new J(F))}}class J extends R.L{constructor(F){super(F),this.hasPrev=!1}_next(F){let H;this.hasPrev?H=[this.prev,F]:this.hasPrev=!0,this.prev=F,H&&this.destination.next(H)}}var $=p(6465),te=p(6102);const qe=new class extends te.v{}(class extends $.o{constructor(F,H){super(F,H),this.scheduler=F,this.work=H}schedule(F,H=0){return H>0?super.schedule(F,H):(this.delay=H,this.state=F,this.scheduler.flush(this),this)}execute(F,H){return H>0||this.closed?super.execute(F,H):this._execute(F,H)}requestAsyncId(F,H,v=0){return null!==v&&v>0||null===v&&this.delay>0?super.requestAsyncId(F,H,v):F.flush(this)}});var Le=p(3098);class re extends R.L{constructor(F,H,v=0){super(F),this.scheduler=H,this.delay=v}static dispatch(F){const{notification:H,destination:v}=F;H.observe(v),this.unsubscribe()}scheduleMessage(F){this.destination.add(this.scheduler.schedule(re.dispatch,this.delay,new ie(F,this.destination)))}_next(F){this.scheduleMessage(Le.P.createNext(F))}_error(F){this.scheduleMessage(Le.P.createError(F)),this.unsubscribe()}_complete(){this.scheduleMessage(Le.P.createComplete()),this.unsubscribe()}}class ie{constructor(F,H){this.notification=F,this.destination=H}}var se=p(7971),Ie=p(8858);class pe extends m.xQ{constructor(F=Number.POSITIVE_INFINITY,H=Number.POSITIVE_INFINITY,v){super(),this.scheduler=v,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=F<1?1:F,this._windowTime=H<1?1:H,H===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(F){if(!this.isStopped){const H=this._events;H.push(F),H.length>this._bufferSize&&H.shift()}super.next(F)}nextTimeWindow(F){this.isStopped||(this._events.push(new be(this._getNow(),F)),this._trimBufferThenGetEvents()),super.next(F)}_subscribe(F){const H=this._infiniteTimeWindow,v=H?this._events:this._trimBufferThenGetEvents(),V=this.scheduler,q=v.length;let xe;if(this.closed)throw new se.N;if(this.isStopped||this.hasError?xe=E.w.EMPTY:(this.observers.push(F),xe=new Ie.W(this,F)),V&&F.add(F=new re(F,V)),H)for(let vt=0;vtH&&(xe=Math.max(xe,q-H)),xe>0&&V.splice(0,xe),V}}class be{constructor(F,H){this.time=F,this.value=H}}var et=p(7519),Tt=p(13),He=p(5435),dt=p(6782),Oe=p(9761),je=p(3190),Ke=p(521),Be=p(8583),At=p(4607),at=p(8345);const Ye=["contentWrapper"],lt=["*"],tt=new n.OlP("VIRTUAL_SCROLL_STRATEGY");class wt{constructor(F,H,v){this._scrolledIndexChange=new m.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,et.x)()),this._viewport=null,this._itemSize=F,this._minBufferPx=H,this._maxBufferPx=v}attach(F){this._viewport=F,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(F,H,v){this._itemSize=F,this._minBufferPx=H,this._maxBufferPx=v,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(F,H){this._viewport&&this._viewport.scrollToOffset(F*this._itemSize,H)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const F=this._viewport.getRenderedRange(),H={start:F.start,end:F.end},v=this._viewport.getViewportSize(),V=this._viewport.getDataLength();let q=this._viewport.measureScrollOffset(),xe=this._itemSize>0?q/this._itemSize:0;if(H.end>V){const xt=Math.ceil(v/this._itemSize),kt=Math.max(0,Math.min(xe,V-xt));xe!=kt&&(xe=kt,q=kt*this._itemSize,H.start=Math.floor(xe)),H.end=Math.max(0,Math.min(V,H.start+xt))}const vt=q-H.start*this._itemSize;if(vt0&&(H.end=Math.min(V,H.end+kt),H.start=Math.max(0,Math.floor(xe-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(H),this._viewport.setRenderedContentOffset(this._itemSize*H.start),this._scrolledIndexChange.next(Math.floor(xe))}}function Gt(S){return S._scrollStrategy}let en=(()=>{class S{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new wt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(H){this._itemSize=(0,l.su)(H)}get minBufferPx(){return this._minBufferPx}set minBufferPx(H){this._minBufferPx=(0,l.su)(H)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(H){this._maxBufferPx=(0,l.su)(H)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return S.\u0275fac=function(H){return new(H||S)},S.\u0275dir=n.lG2({type:S,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[n._Bn([{provide:tt,useFactory:Gt,deps:[(0,n.Gpc)(()=>S)]}]),n.TTD]}),S})(),gt=(()=>{class S{constructor(H,v,V){this._ngZone=H,this._platform=v,this._scrolled=new m.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=V}register(H){this.scrollContainers.has(H)||this.scrollContainers.set(H,H.elementScrolled().subscribe(()=>this._scrolled.next(H)))}deregister(H){const v=this.scrollContainers.get(H);v&&(v.unsubscribe(),this.scrollContainers.delete(H))}scrolled(H=20){return this._platform.isBrowser?new g.y(v=>{this._globalSubscription||this._addGlobalListener();const V=H>0?this._scrolled.pipe((0,Tt.e)(H)).subscribe(v):this._scrolled.subscribe(v);return this._scrolledCount++,()=>{V.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,P.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((H,v)=>this.deregister(v)),this._scrolled.complete()}ancestorScrolled(H,v){const V=this.getAncestorScrollContainers(H);return this.scrolled(v).pipe((0,He.h)(q=>!q||V.indexOf(q)>-1))}getAncestorScrollContainers(H){const v=[];return this.scrollContainers.forEach((V,q)=>{this._scrollableContainsElement(q,H)&&v.push(q)}),v}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(H,v){let V=(0,l.fI)(v),q=H.getElementRef().nativeElement;do{if(V==q)return!0}while(V=V.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const H=this._getWindow();return(0,D.R)(H.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return S.\u0275fac=function(H){return new(H||S)(n.LFG(n.R0b),n.LFG(Ke.t4),n.LFG(Be.K0,8))},S.\u0275prov=n.Yz7({factory:function(){return new S(n.LFG(n.R0b),n.LFG(Ke.t4),n.LFG(Be.K0,8))},token:S,providedIn:"root"}),S})(),Qe=(()=>{class S{constructor(H,v,V,q){this.elementRef=H,this.scrollDispatcher=v,this.ngZone=V,this.dir=q,this._destroyed=new m.xQ,this._elementScrolled=new g.y(xe=>this.ngZone.runOutsideAngular(()=>(0,D.R)(this.elementRef.nativeElement,"scroll").pipe((0,dt.R)(this._destroyed)).subscribe(xe)))}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(H){const v=this.elementRef.nativeElement,V=this.dir&&"rtl"==this.dir.value;null==H.left&&(H.left=V?H.end:H.start),null==H.right&&(H.right=V?H.start:H.end),null!=H.bottom&&(H.top=v.scrollHeight-v.clientHeight-H.bottom),V&&0!=(0,Ke._i)()?(null!=H.left&&(H.right=v.scrollWidth-v.clientWidth-H.left),2==(0,Ke._i)()?H.left=H.right:1==(0,Ke._i)()&&(H.left=H.right?-H.right:H.right)):null!=H.right&&(H.left=v.scrollWidth-v.clientWidth-H.right),this._applyScrollToOptions(H)}_applyScrollToOptions(H){const v=this.elementRef.nativeElement;(0,Ke.Mq)()?v.scrollTo(H):(null!=H.top&&(v.scrollTop=H.top),null!=H.left&&(v.scrollLeft=H.left))}measureScrollOffset(H){const v="left",V="right",q=this.elementRef.nativeElement;if("top"==H)return q.scrollTop;if("bottom"==H)return q.scrollHeight-q.clientHeight-q.scrollTop;const xe=this.dir&&"rtl"==this.dir.value;return"start"==H?H=xe?V:v:"end"==H&&(H=xe?v:V),xe&&2==(0,Ke._i)()?H==v?q.scrollWidth-q.clientWidth-q.scrollLeft:q.scrollLeft:xe&&1==(0,Ke._i)()?H==v?q.scrollLeft+q.scrollWidth-q.clientWidth:-q.scrollLeft:H==v?q.scrollLeft:q.scrollWidth-q.clientWidth-q.scrollLeft}}return S.\u0275fac=function(H){return new(H||S)(n.Y36(n.SBq),n.Y36(gt),n.Y36(n.R0b),n.Y36(At.Is,8))},S.\u0275dir=n.lG2({type:S,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),S})(),It=(()=>{class S{constructor(H,v,V){this._platform=H,this._change=new m.xQ,this._changeListener=q=>{this._change.next(q)},this._document=V,v.runOutsideAngular(()=>{if(H.isBrowser){const q=this._getWindow();q.addEventListener("resize",this._changeListener),q.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const H=this._getWindow();H.removeEventListener("resize",this._changeListener),H.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const H={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),H}getViewportRect(){const H=this.getViewportScrollPosition(),{width:v,height:V}=this.getViewportSize();return{top:H.top,left:H.left,bottom:H.top+V,right:H.left+v,height:V,width:v}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const H=this._document,v=this._getWindow(),V=H.documentElement,q=V.getBoundingClientRect();return{top:-q.top||H.body.scrollTop||v.scrollY||V.scrollTop||0,left:-q.left||H.body.scrollLeft||v.scrollX||V.scrollLeft||0}}change(H=20){return H>0?this._change.pipe((0,Tt.e)(H)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const H=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:H.innerWidth,height:H.innerHeight}:{width:0,height:0}}}return S.\u0275fac=function(H){return new(H||S)(n.LFG(Ke.t4),n.LFG(n.R0b),n.LFG(Be.K0,8))},S.\u0275prov=n.Yz7({factory:function(){return new S(n.LFG(Ke.t4),n.LFG(n.R0b),n.LFG(Be.K0,8))},token:S,providedIn:"root"}),S})();const Ct="undefined"!=typeof requestAnimationFrame?I.Z:b.E;let fe=(()=>{class S extends Qe{constructor(H,v,V,q,xe,vt,xt){super(H,vt,V,xe),this.elementRef=H,this._changeDetectorRef=v,this._scrollStrategy=q,this._detachedSubject=new m.xQ,this._renderedRangeSubject=new m.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new g.y(kt=>this._scrollStrategy.scrolledIndexChange.subscribe(Yt=>Promise.resolve().then(()=>this.ngZone.run(()=>kt.next(Yt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=E.w.EMPTY,this._viewportChanges=xt.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(H){this._orientation!==H&&(this._orientation=H,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(H){this._appendOnly=(0,l.Ig)(H)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,Oe.O)(null),(0,Tt.e)(0,Ct)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(H){this.ngZone.runOutsideAngular(()=>{this._forOf=H,this._forOf.dataStream.pipe((0,dt.R)(this._detachedSubject)).subscribe(v=>{const V=v.length;V!==this._dataLength&&(this._dataLength=V,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(H){this._totalContentSize!==H&&(this._totalContentSize=H,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(H){(function(S,F){return S.start==F.start&&S.end==F.end})(this._renderedRange,H)||(this.appendOnly&&(H={start:0,end:Math.max(this._renderedRange.end,H.end)}),this._renderedRangeSubject.next(this._renderedRange=H),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(H,v="to-start"){const q="horizontal"==this.orientation,xe=q?"X":"Y";let xt=`translate${xe}(${Number((q&&this.dir&&"rtl"==this.dir.value?-1:1)*H)}px)`;this._renderedContentOffset=H,"to-end"===v&&(xt+=` translate${xe}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=xt&&(this._renderedContentTransform=xt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(H,v="auto"){const V={behavior:v};"horizontal"===this.orientation?V.start=H:V.top=H,this.scrollTo(V)}scrollToIndex(H,v="auto"){this._scrollStrategy.scrollToIndex(H,v)}measureScrollOffset(H){return super.measureScrollOffset(H||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const H=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?H.offsetWidth:H.offsetHeight}measureRangeSize(H){return this._forOf?this._forOf.measureRangeSize(H,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const H=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?H.clientWidth:H.clientHeight}_markChangeDetectionNeeded(H){H&&this._runAfterChangeDetection.push(H),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const H=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const v of H)v()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return S.\u0275fac=function(H){return new(H||S)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(tt,8),n.Y36(At.Is,8),n.Y36(gt),n.Y36(It))},S.\u0275cmp=n.Xpm({type:S,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(H,v){if(1&H&&n.Gf(Ye,7),2&H){let V;n.iGM(V=n.CRH())&&(v._contentWrapper=V.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(H,v){2&H&&n.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===v.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==v.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[n._Bn([{provide:Qe,useExisting:S}]),n.qOj],ngContentSelectors:lt,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(H,v){1&H&&(n.F$t(),n.TgZ(0,"div",0,1),n.Hsn(2),n.qZA(),n._UZ(3,"div",2)),2&H&&(n.xp6(3),n.Udp("width",v._totalContentWidth)("height",v._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),S})();function Y(S,F,H){if(!H.getBoundingClientRect)return 0;const V=H.getBoundingClientRect();return"horizontal"===S?"start"===F?V.left:V.right:"start"===F?V.top:V.bottom}let x=(()=>{class S{constructor(H,v,V,q,xe,vt){this._viewContainerRef=H,this._template=v,this._differs=V,this._viewRepeater=q,this._viewport=xe,this.viewChange=new m.xQ,this._dataSourceChanges=new m.xQ,this.dataStream=this._dataSourceChanges.pipe((0,Oe.O)(null),S=>S.lift(new K),(0,je.w)(([xt,kt])=>this._changeDataSource(xt,kt)),function(S,F,H){let v;return v=S&&"object"==typeof S?S:{bufferSize:S,windowTime:F,refCount:!1,scheduler:H},V=>V.lift(function({bufferSize:S=Number.POSITIVE_INFINITY,windowTime:F=Number.POSITIVE_INFINITY,refCount:H,scheduler:v}){let V,xe,q=0,vt=!1,xt=!1;return function(Yt){let Zt;q++,!V||vt?(vt=!1,V=new pe(S,F,v),Zt=V.subscribe(this),xe=Yt.subscribe({next(Wt){V.next(Wt)},error(Wt){vt=!0,V.error(Wt)},complete(){xt=!0,xe=void 0,V.complete()}}),xt&&(xe=void 0)):Zt=V.subscribe(this),this.add(()=>{q--,Zt.unsubscribe(),Zt=void 0,xe&&!xt&&H&&0===q&&(xe.unsubscribe(),xe=void 0,V=void 0)})}}(v))}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new m.xQ,this.dataStream.subscribe(xt=>{this._data=xt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,dt.R)(this._destroyed)).subscribe(xt=>{this._renderedRange=xt,vt.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(H){this._cdkVirtualForOf=H,(0,at.Z9)(H)?this._dataSourceChanges.next(H):this._dataSourceChanges.next(new at.P3((0,U.b)(H)?H:Array.from(H||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(H){this._needsUpdate=!0,this._cdkVirtualForTrackBy=H?(v,V)=>H(v+(this._renderedRange?this._renderedRange.start:0),V):void 0}set cdkVirtualForTemplate(H){H&&(this._needsUpdate=!0,this._template=H)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(H){this._viewRepeater.viewCacheSize=(0,l.su)(H)}measureRangeSize(H,v){if(H.start>=H.end)return 0;const V=H.start-this._renderedRange.start,q=H.end-H.start;let xe,vt;for(let xt=0;xt-1;xt--){const kt=this._viewContainerRef.get(xt+V);if(kt&&kt.rootNodes.length){vt=kt.rootNodes[kt.rootNodes.length-1];break}}return xe&&vt?Y(v,"end",vt)-Y(v,"start",xe):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const H=this._differ.diff(this._renderedItems);H?this._applyChanges(H):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((H,v)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(H,v):v)),this._needsUpdate=!0)}_changeDataSource(H,v){return H&&H.disconnect(this),this._needsUpdate=!0,v?v.connect(this):(0,P.of)()}_updateContext(){const H=this._data.length;let v=this._viewContainerRef.length;for(;v--;){const V=this._viewContainerRef.get(v);V.context.index=this._renderedRange.start+v,V.context.count=H,this._updateComputedContextProperties(V.context),V.detectChanges()}}_applyChanges(H){this._viewRepeater.applyChanges(H,this._viewContainerRef,(q,xe,vt)=>this._getEmbeddedViewArgs(q,vt),q=>q.item),H.forEachIdentityChange(q=>{this._viewContainerRef.get(q.currentIndex).context.$implicit=q.item});const v=this._data.length;let V=this._viewContainerRef.length;for(;V--;){const q=this._viewContainerRef.get(V);q.context.index=this._renderedRange.start+V,q.context.count=v,this._updateComputedContextProperties(q.context)}}_updateComputedContextProperties(H){H.first=0===H.index,H.last=H.index===H.count-1,H.even=H.index%2==0,H.odd=!H.even}_getEmbeddedViewArgs(H,v){return{templateRef:this._template,context:{$implicit:H.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:v}}}return S.\u0275fac=function(H){return new(H||S)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4),n.Y36(at.k),n.Y36(fe,4),n.Y36(n.R0b))},S.\u0275dir=n.lG2({type:S,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[n._Bn([{provide:at.k,useClass:at.eX}])]}),S})(),A=(()=>{class S{}return S.\u0275fac=function(H){return new(H||S)},S.\u0275mod=n.oAB({type:S}),S.\u0275inj=n.cJS({}),S})(),C=(()=>{class S{}return S.\u0275fac=function(H){return new(H||S)},S.\u0275mod=n.oAB({type:S}),S.\u0275inj=n.cJS({imports:[[At.vT,Ke.ud,A],At.vT,A]}),S})()},9490:(ft,Fe,p)=>{"use strict";p.d(Fe,{Eq:()=>g,Ig:()=>n,HM:()=>D,fI:()=>I,su:()=>m,du:()=>b});var l=p(7716);function n(E){return null!=E&&"false"!=`${E}`}function m(E,U=0){return function(E){return!isNaN(parseFloat(E))&&!isNaN(Number(E))}(E)?Number(E):U}function g(E){return Array.isArray(E)?E:[E]}function D(E){return null==E?"":"string"==typeof E?E:`${E}px`}function I(E){return E instanceof l.SBq?E.nativeElement:E}function b(E,U=/\s+/){const R=[];if(null!=E){const G=Array.isArray(E)?E:`${E}`.split(U);for(const K of G){const J=`${K}`.trim();J&&R.push(J)}}return R}},8583:(ft,Fe,p)=>{"use strict";p.d(Fe,{mr:()=>De,Ov:()=>Rt,ez:()=>Ni,K0:()=>I,uU:()=>Bn,Do:()=>Le,V_:()=>U,Ye:()=>de,S$:()=>te,mk:()=>fn,sg:()=>mn,O5:()=>_r,PC:()=>Ve,RF:()=>nn,n9:()=>Wn,ED:()=>Er,tP:()=>Me,b0:()=>qe,lw:()=>b,EM:()=>is,JF:()=>Vi,NF:()=>Zr,w_:()=>D,bD:()=>Ai,q:()=>m,Mx:()=>Ft,HT:()=>g});var l=p(7716);let n=null;function m(){return n}function g(Z){n||(n=Z)}class D{}const I=new l.OlP("DocumentToken");let b=(()=>{class Z{historyGo(X){throw new Error("Not implemented")}}return Z.\u0275fac=function(X){return new(X||Z)},Z.\u0275prov=(0,l.Yz7)({factory:E,token:Z,providedIn:"platform"}),Z})();function E(){return(0,l.LFG)(R)}const U=new l.OlP("Location Initialized");let R=(()=>{class Z extends b{constructor(X){super(),this._doc=X,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return m().getBaseHref(this._doc)}onPopState(X){const k=m().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",X,!1),()=>k.removeEventListener("popstate",X)}onHashChange(X){const k=m().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",X,!1),()=>k.removeEventListener("hashchange",X)}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(X){this.location.pathname=X}pushState(X,k,L){G()?this._history.pushState(X,k,L):this.location.hash=L}replaceState(X,k,L){G()?this._history.replaceState(X,k,L):this.location.hash=L}forward(){this._history.forward()}back(){this._history.back()}historyGo(X=0){this._history.go(X)}getState(){return this._history.state}}return Z.\u0275fac=function(X){return new(X||Z)(l.LFG(I))},Z.\u0275prov=(0,l.Yz7)({factory:K,token:Z,providedIn:"platform"}),Z})();function G(){return!!window.history.pushState}function K(){return new R((0,l.LFG)(I))}function J(Z,we){if(0==Z.length)return we;if(0==we.length)return Z;let X=0;return Z.endsWith("/")&&X++,we.startsWith("/")&&X++,2==X?Z+we.substring(1):1==X?Z+we:Z+"/"+we}function $(Z){const we=Z.match(/#|\?|$/),X=we&&we.index||Z.length;return Z.slice(0,X-("/"===Z[X-1]?1:0))+Z.slice(X)}function ee(Z){return Z&&"?"!==Z[0]?"?"+Z:Z}let te=(()=>{class Z{historyGo(X){throw new Error("Not implemented")}}return Z.\u0275fac=function(X){return new(X||Z)},Z.\u0275prov=(0,l.Yz7)({factory:ce,token:Z,providedIn:"root"}),Z})();function ce(Z){const we=(0,l.LFG)(I).location;return new qe((0,l.LFG)(b),we&&we.origin||"")}const De=new l.OlP("appBaseHref");let qe=(()=>{class Z extends te{constructor(X,k){if(super(),this._platformLocation=X,this._removeListenerFns=[],null==k&&(k=this._platformLocation.getBaseHrefFromDOM()),null==k)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=k}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(X){this._removeListenerFns.push(this._platformLocation.onPopState(X),this._platformLocation.onHashChange(X))}getBaseHref(){return this._baseHref}prepareExternalUrl(X){return J(this._baseHref,X)}path(X=!1){const k=this._platformLocation.pathname+ee(this._platformLocation.search),L=this._platformLocation.hash;return L&&X?`${k}${L}`:k}pushState(X,k,L,B){const ue=this.prepareExternalUrl(L+ee(B));this._platformLocation.pushState(X,k,ue)}replaceState(X,k,L,B){const ue=this.prepareExternalUrl(L+ee(B));this._platformLocation.replaceState(X,k,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(X=0){var k,L;null===(L=(k=this._platformLocation).historyGo)||void 0===L||L.call(k,X)}}return Z.\u0275fac=function(X){return new(X||Z)(l.LFG(b),l.LFG(De,8))},Z.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Le=(()=>{class Z extends te{constructor(X,k){super(),this._platformLocation=X,this._baseHref="",this._removeListenerFns=[],null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(X){this._removeListenerFns.push(this._platformLocation.onPopState(X),this._platformLocation.onHashChange(X))}getBaseHref(){return this._baseHref}path(X=!1){let k=this._platformLocation.hash;return null==k&&(k="#"),k.length>0?k.substring(1):k}prepareExternalUrl(X){const k=J(this._baseHref,X);return k.length>0?"#"+k:k}pushState(X,k,L,B){let ue=this.prepareExternalUrl(L+ee(B));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.pushState(X,k,ue)}replaceState(X,k,L,B){let ue=this.prepareExternalUrl(L+ee(B));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.replaceState(X,k,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(X=0){var k,L;null===(L=(k=this._platformLocation).historyGo)||void 0===L||L.call(k,X)}}return Z.\u0275fac=function(X){return new(X||Z)(l.LFG(b),l.LFG(De,8))},Z.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),de=(()=>{class Z{constructor(X,k){this._subject=new l.vpe,this._urlChangeListeners=[],this._platformStrategy=X;const L=this._platformStrategy.getBaseHref();this._platformLocation=k,this._baseHref=$(ie(L)),this._platformStrategy.onPopState(B=>{this._subject.emit({url:this.path(!0),pop:!0,state:B.state,type:B.type})})}path(X=!1){return this.normalize(this._platformStrategy.path(X))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(X,k=""){return this.path()==this.normalize(X+ee(k))}normalize(X){return Z.stripTrailingSlash(function(Z,we){return Z&&we.startsWith(Z)?we.substring(Z.length):we}(this._baseHref,ie(X)))}prepareExternalUrl(X){return X&&"/"!==X[0]&&(X="/"+X),this._platformStrategy.prepareExternalUrl(X)}go(X,k="",L=null){this._platformStrategy.pushState(L,"",X,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(X+ee(k)),L)}replaceState(X,k="",L=null){this._platformStrategy.replaceState(L,"",X,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(X+ee(k)),L)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(X=0){var k,L;null===(L=(k=this._platformStrategy).historyGo)||void 0===L||L.call(k,X)}onUrlChange(X){this._urlChangeListeners.push(X),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)}))}_notifyUrlChangeListeners(X="",k){this._urlChangeListeners.forEach(L=>L(X,k))}subscribe(X,k,L){return this._subject.subscribe({next:X,error:k,complete:L})}}return Z.\u0275fac=function(X){return new(X||Z)(l.LFG(te),l.LFG(b))},Z.normalizeQueryParams=ee,Z.joinWithSlash=J,Z.stripTrailingSlash=$,Z.\u0275prov=(0,l.Yz7)({factory:ve,token:Z,providedIn:"root"}),Z})();function ve(){return new de((0,l.LFG)(te),(0,l.LFG)(b))}function ie(Z){return Z.replace(/\/index.html$/,"")}var pe=(()=>((pe=pe||{})[pe.Zero=0]="Zero",pe[pe.One=1]="One",pe[pe.Two=2]="Two",pe[pe.Few=3]="Few",pe[pe.Many=4]="Many",pe[pe.Other=5]="Other",pe))(),be=(()=>((be=be||{})[be.Format=0]="Format",be[be.Standalone=1]="Standalone",be))(),Ue=(()=>((Ue=Ue||{})[Ue.Narrow=0]="Narrow",Ue[Ue.Abbreviated=1]="Abbreviated",Ue[Ue.Wide=2]="Wide",Ue[Ue.Short=3]="Short",Ue))(),rt=(()=>((rt=rt||{})[rt.Short=0]="Short",rt[rt.Medium=1]="Medium",rt[rt.Long=2]="Long",rt[rt.Full=3]="Full",rt))(),et=(()=>((et=et||{})[et.Decimal=0]="Decimal",et[et.Group=1]="Group",et[et.List=2]="List",et[et.PercentSign=3]="PercentSign",et[et.PlusSign=4]="PlusSign",et[et.MinusSign=5]="MinusSign",et[et.Exponential=6]="Exponential",et[et.SuperscriptingExponent=7]="SuperscriptingExponent",et[et.PerMille=8]="PerMille",et[et.Infinity=9]="Infinity",et[et.NaN=10]="NaN",et[et.TimeSeparator=11]="TimeSeparator",et[et.CurrencyDecimal=12]="CurrencyDecimal",et[et.CurrencyGroup=13]="CurrencyGroup",et))();function at(Z,we){return fe((0,l.cg1)(Z)[l.wAp.DateFormat],we)}function Ye(Z,we){return fe((0,l.cg1)(Z)[l.wAp.TimeFormat],we)}function lt(Z,we){return fe((0,l.cg1)(Z)[l.wAp.DateTimeFormat],we)}function tt(Z,we){const X=(0,l.cg1)(Z),k=X[l.wAp.NumberSymbols][we];if(void 0===k){if(we===et.CurrencyDecimal)return X[l.wAp.NumberSymbols][et.Decimal];if(we===et.CurrencyGroup)return X[l.wAp.NumberSymbols][et.Group]}return k}const Qe=l.kL8;function ze(Z){if(!Z[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Z[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fe(Z,we){for(let X=we;X>-1;X--)if(void 0!==Z[X])return Z[X];throw new Error("Locale data API: locale data undefined")}function Y(Z){const[we,X]=Z.split(":");return{hours:+we,minutes:+X}}const S=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,F={},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))(),V=(()=>((V=V||{})[V.FullYear=0]="FullYear",V[V.Month=1]="Month",V[V.Date=2]="Date",V[V.Hours=3]="Hours",V[V.Minutes=4]="Minutes",V[V.Seconds=5]="Seconds",V[V.FractionalSeconds=6]="FractionalSeconds",V[V.Day=7]="Day",V))(),q=(()=>((q=q||{})[q.DayPeriods=0]="DayPeriods",q[q.Days=1]="Days",q[q.Months=2]="Months",q[q.Eras=3]="Eras",q))();function xe(Z,we,X,k){let L=function(Z){if(On(Z))return Z;if("number"==typeof Z&&!isNaN(Z))return new Date(Z);if("string"==typeof Z){if(Z=Z.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Z)){const[L,B=1,ue=1]=Z.split("-").map(yt=>+yt);return vt(L,B-1,ue)}const X=parseFloat(Z);if(!isNaN(Z-X))return new Date(X);let k;if(k=Z.match(S))return function(Z){const we=new Date(0);let X=0,k=0;const L=Z[8]?we.setUTCFullYear:we.setFullYear,B=Z[8]?we.setUTCHours:we.setHours;Z[9]&&(X=Number(Z[9]+Z[10]),k=Number(Z[9]+Z[11])),L.call(we,Number(Z[1]),Number(Z[2])-1,Number(Z[3]));const ue=Number(Z[4]||0)-X,yt=Number(Z[5]||0)-k,zt=Number(Z[6]||0),wn=Math.floor(1e3*parseFloat("0."+(Z[7]||0)));return B.call(we,ue,yt,zt,wn),we}(k)}const we=new Date(Z);if(!On(we))throw new Error(`Unable to convert "${Z}" into a date`);return we}(Z);we=xt(X,we)||we;let yt,ue=[];for(;we;){if(yt=H.exec(we),!yt){ue.push(we);break}{ue=ue.concat(yt.slice(1));const Zn=ue.pop();if(!Zn)break;we=Zn}}let zt=L.getTimezoneOffset();k&&(zt=Je(k,zt),L=function(Z,we,X){const L=Z.getTimezoneOffset();return function(Z,we){return(Z=new Date(Z.getTime())).setMinutes(Z.getMinutes()+we),Z}(Z,-1*(Je(we,L)-L))}(L,k));let wn="";return ue.forEach(Zn=>{const En=function(Z){if(_e[Z])return _e[Z];let we;switch(Z){case"G":case"GG":case"GGG":we=Jt(q.Eras,Ue.Abbreviated);break;case"GGGG":we=Jt(q.Eras,Ue.Wide);break;case"GGGGG":we=Jt(q.Eras,Ue.Narrow);break;case"y":we=Wt(V.FullYear,1,0,!1,!0);break;case"yy":we=Wt(V.FullYear,2,0,!0,!0);break;case"yyy":we=Wt(V.FullYear,3,0,!1,!0);break;case"yyyy":we=Wt(V.FullYear,4,0,!1,!0);break;case"Y":we=ae(1);break;case"YY":we=ae(2,!0);break;case"YYY":we=ae(3);break;case"YYYY":we=ae(4);break;case"M":case"L":we=Wt(V.Month,1,1);break;case"MM":case"LL":we=Wt(V.Month,2,1);break;case"MMM":we=Jt(q.Months,Ue.Abbreviated);break;case"MMMM":we=Jt(q.Months,Ue.Wide);break;case"MMMMM":we=Jt(q.Months,Ue.Narrow);break;case"LLL":we=Jt(q.Months,Ue.Abbreviated,be.Standalone);break;case"LLLL":we=Jt(q.Months,Ue.Wide,be.Standalone);break;case"LLLLL":we=Jt(q.Months,Ue.Narrow,be.Standalone);break;case"w":we=Ge(1);break;case"ww":we=Ge(2);break;case"W":we=Ge(1,!0);break;case"d":we=Wt(V.Date,1);break;case"dd":we=Wt(V.Date,2);break;case"c":case"cc":we=Wt(V.Day,1);break;case"ccc":we=Jt(q.Days,Ue.Abbreviated,be.Standalone);break;case"cccc":we=Jt(q.Days,Ue.Wide,be.Standalone);break;case"ccccc":we=Jt(q.Days,Ue.Narrow,be.Standalone);break;case"cccccc":we=Jt(q.Days,Ue.Short,be.Standalone);break;case"E":case"EE":case"EEE":we=Jt(q.Days,Ue.Abbreviated);break;case"EEEE":we=Jt(q.Days,Ue.Wide);break;case"EEEEE":we=Jt(q.Days,Ue.Narrow);break;case"EEEEEE":we=Jt(q.Days,Ue.Short);break;case"a":case"aa":case"aaa":we=Jt(q.DayPeriods,Ue.Abbreviated);break;case"aaaa":we=Jt(q.DayPeriods,Ue.Wide);break;case"aaaaa":we=Jt(q.DayPeriods,Ue.Narrow);break;case"b":case"bb":case"bbb":we=Jt(q.DayPeriods,Ue.Abbreviated,be.Standalone,!0);break;case"bbbb":we=Jt(q.DayPeriods,Ue.Wide,be.Standalone,!0);break;case"bbbbb":we=Jt(q.DayPeriods,Ue.Narrow,be.Standalone,!0);break;case"B":case"BB":case"BBB":we=Jt(q.DayPeriods,Ue.Abbreviated,be.Format,!0);break;case"BBBB":we=Jt(q.DayPeriods,Ue.Wide,be.Format,!0);break;case"BBBBB":we=Jt(q.DayPeriods,Ue.Narrow,be.Format,!0);break;case"h":we=Wt(V.Hours,1,-12);break;case"hh":we=Wt(V.Hours,2,-12);break;case"H":we=Wt(V.Hours,1);break;case"HH":we=Wt(V.Hours,2);break;case"m":we=Wt(V.Minutes,1);break;case"mm":we=Wt(V.Minutes,2);break;case"s":we=Wt(V.Seconds,1);break;case"ss":we=Wt(V.Seconds,2);break;case"S":we=Wt(V.FractionalSeconds,1);break;case"SS":we=Wt(V.FractionalSeconds,2);break;case"SSS":we=Wt(V.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":we=ht(v.Short);break;case"ZZZZZ":we=ht(v.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":we=ht(v.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":we=ht(v.Long);break;default:return null}return _e[Z]=we,we}(Zn);wn+=En?En(L,X,zt):"''"===Zn?"'":Zn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),wn}function vt(Z,we,X){const k=new Date(0);return k.setFullYear(Z,we,X),k.setHours(0,0,0),k}function xt(Z,we){const X=function(Z){return(0,l.cg1)(Z)[l.wAp.LocaleId]}(Z);if(F[X]=F[X]||{},F[X][we])return F[X][we];let k="";switch(we){case"shortDate":k=at(Z,rt.Short);break;case"mediumDate":k=at(Z,rt.Medium);break;case"longDate":k=at(Z,rt.Long);break;case"fullDate":k=at(Z,rt.Full);break;case"shortTime":k=Ye(Z,rt.Short);break;case"mediumTime":k=Ye(Z,rt.Medium);break;case"longTime":k=Ye(Z,rt.Long);break;case"fullTime":k=Ye(Z,rt.Full);break;case"short":const L=xt(Z,"shortTime"),B=xt(Z,"shortDate");k=kt(lt(Z,rt.Short),[L,B]);break;case"medium":const ue=xt(Z,"mediumTime"),yt=xt(Z,"mediumDate");k=kt(lt(Z,rt.Medium),[ue,yt]);break;case"long":const zt=xt(Z,"longTime"),wn=xt(Z,"longDate");k=kt(lt(Z,rt.Long),[zt,wn]);break;case"full":const Zn=xt(Z,"fullTime"),En=xt(Z,"fullDate");k=kt(lt(Z,rt.Full),[Zn,En])}return k&&(F[X][we]=k),k}function kt(Z,we){return we&&(Z=Z.replace(/\{([^}]+)}/g,function(X,k){return null!=we&&k in we?we[k]:X})),Z}function Yt(Z,we,X="-",k,L){let B="";(Z<0||L&&Z<=0)&&(L?Z=1-Z:(Z=-Z,B=X));let ue=String(Z);for(;ue.length0||yt>-X)&&(yt+=X),Z===V.Hours)0===yt&&-12===X&&(yt=12);else if(Z===V.FractionalSeconds)return function(Z,we){return Yt(Z,3).substr(0,we)}(yt,we);const zt=tt(ue,et.MinusSign);return Yt(yt,we,zt,k,L)}}function Jt(Z,we,X=be.Format,k=!1){return function(L,B){return function(Z,we,X,k,L,B){switch(X){case q.Months:return function(Z,we,X){const k=(0,l.cg1)(Z),B=fe([k[l.wAp.MonthsFormat],k[l.wAp.MonthsStandalone]],we);return fe(B,X)}(we,L,k)[Z.getMonth()];case q.Days:return function(Z,we,X){const k=(0,l.cg1)(Z),B=fe([k[l.wAp.DaysFormat],k[l.wAp.DaysStandalone]],we);return fe(B,X)}(we,L,k)[Z.getDay()];case q.DayPeriods:const ue=Z.getHours(),yt=Z.getMinutes();if(B){const wn=function(Z){const we=(0,l.cg1)(Z);return ze(we),(we[l.wAp.ExtraData][2]||[]).map(k=>"string"==typeof k?Y(k):[Y(k[0]),Y(k[1])])}(we),Zn=function(Z,we,X){const k=(0,l.cg1)(Z);ze(k);const B=fe([k[l.wAp.ExtraData][0],k[l.wAp.ExtraData][1]],we)||[];return fe(B,X)||[]}(we,L,k),En=wn.findIndex(Jn=>{if(Array.isArray(Jn)){const[ci,Ei]=Jn,Br=ue>=ci.hours&&yt>=ci.minutes,Ii=ue0?Math.floor(L/60):Math.ceil(L/60);switch(Z){case v.Short:return(L>=0?"+":"")+Yt(ue,2,B)+Yt(Math.abs(L%60),2,B);case v.ShortGMT:return"GMT"+(L>=0?"+":"")+Yt(ue,1,B);case v.Long:return"GMT"+(L>=0?"+":"")+Yt(ue,2,B)+":"+Yt(Math.abs(L%60),2,B);case v.Extended:return 0===k?"Z":(L>=0?"+":"")+Yt(ue,2,B)+":"+Yt(Math.abs(L%60),2,B);default:throw new Error(`Unknown zone width "${Z}"`)}}}function Se(Z){return vt(Z.getFullYear(),Z.getMonth(),Z.getDate()+(4-Z.getDay()))}function Ge(Z,we=!1){return function(X,k){let L;if(we){const B=new Date(X.getFullYear(),X.getMonth(),1).getDay()-1,ue=X.getDate();L=1+Math.floor((ue+B)/7)}else{const B=Se(X),ue=function(Z){const we=vt(Z,0,1).getDay();return vt(Z,0,1+(we<=4?4:11)-we)}(B.getFullYear()),yt=B.getTime()-ue.getTime();L=1+Math.round(yt/6048e5)}return Yt(L,Z,tt(k,et.MinusSign))}}function ae(Z,we=!1){return function(X,k){return Yt(Se(X).getFullYear(),Z,tt(k,et.MinusSign),we)}}const _e={};function Je(Z,we){Z=Z.replace(/:/g,"");const X=Date.parse("Jan 01, 1970 00:00:00 "+Z)/6e4;return isNaN(X)?we:X}function On(Z){return Z instanceof Date&&!isNaN(Z.valueOf())}class bt{}let $e=(()=>{class Z extends bt{constructor(X){super(),this.locale=X}getPluralCategory(X,k){switch(Qe(k||this.locale)(X)){case pe.Zero:return"zero";case pe.One:return"one";case pe.Two:return"two";case pe.Few:return"few";case pe.Many:return"many";default:return"other"}}}return Z.\u0275fac=function(X){return new(X||Z)(l.LFG(l.soG))},Z.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac}),Z})();function Ft(Z,we){we=encodeURIComponent(we);for(const X of Z.split(";")){const k=X.indexOf("="),[L,B]=-1==k?[X,""]:[X.slice(0,k),X.slice(k+1)];if(L.trim()===we)return decodeURIComponent(B)}return null}let fn=(()=>{class Z{constructor(X,k,L,B){this._iterableDiffers=X,this._keyValueDiffers=k,this._ngEl=L,this._renderer=B,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(X){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof X?X.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(X){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof X?X.split(/\s+/):X,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const X=this._iterableDiffer.diff(this._rawClass);X&&this._applyIterableChanges(X)}else if(this._keyValueDiffer){const X=this._keyValueDiffer.diff(this._rawClass);X&&this._applyKeyValueChanges(X)}}_applyKeyValueChanges(X){X.forEachAddedItem(k=>this._toggleClass(k.key,k.currentValue)),X.forEachChangedItem(k=>this._toggleClass(k.key,k.currentValue)),X.forEachRemovedItem(k=>{k.previousValue&&this._toggleClass(k.key,!1)})}_applyIterableChanges(X){X.forEachAddedItem(k=>{if("string"!=typeof k.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(k.item)}`);this._toggleClass(k.item,!0)}),X.forEachRemovedItem(k=>this._toggleClass(k.item,!1))}_applyClasses(X){X&&(Array.isArray(X)||X instanceof Set?X.forEach(k=>this._toggleClass(k,!0)):Object.keys(X).forEach(k=>this._toggleClass(k,!!X[k])))}_removeClasses(X){X&&(Array.isArray(X)||X instanceof Set?X.forEach(k=>this._toggleClass(k,!1)):Object.keys(X).forEach(k=>this._toggleClass(k,!1)))}_toggleClass(X,k){(X=X.trim())&&X.split(/\s+/g).forEach(L=>{k?this._renderer.addClass(this._ngEl.nativeElement,L):this._renderer.removeClass(this._ngEl.nativeElement,L)})}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),Z})();class Nn{constructor(we,X,k,L){this.$implicit=we,this.ngForOf=X,this.index=k,this.count=L}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 mn=(()=>{class Z{constructor(X,k,L){this._viewContainer=X,this._template=k,this._differs=L,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(X){this._ngForOf=X,this._ngForOfDirty=!0}set ngForTrackBy(X){this._trackByFn=X}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(X){X&&(this._template=X)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const X=this._ngForOf;if(!this._differ&&X)try{this._differ=this._differs.find(X).create(this.ngForTrackBy)}catch(k){throw new Error(`Cannot find a differ supporting object '${X}' of type '${function(Z){return Z.name||typeof Z}(X)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const X=this._differ.diff(this._ngForOf);X&&this._applyChanges(X)}}_applyChanges(X){const k=[];X.forEachOperation((L,B,ue)=>{if(null==L.previousIndex){const yt=this._viewContainer.createEmbeddedView(this._template,new Nn(null,this._ngForOf,-1,-1),null===ue?void 0:ue),zt=new tr(L,yt);k.push(zt)}else if(null==ue)this._viewContainer.remove(null===B?void 0:B);else if(null!==B){const yt=this._viewContainer.get(B);this._viewContainer.move(yt,ue);const zt=new tr(L,yt);k.push(zt)}});for(let L=0;L{this._viewContainer.get(L.currentIndex).context.$implicit=L.item})}_perViewChange(X,k){X.context.$implicit=k.item}static ngTemplateContextGuard(X,k){return!0}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Z})();class tr{constructor(we,X){this.record=we,this.view=X}}let _r=(()=>{class Z{constructor(X,k){this._viewContainer=X,this._context=new Wi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(X){this._context.$implicit=this._context.ngIf=X,this._updateView()}set ngIfThen(X){yi("ngIfThen",X),this._thenTemplateRef=X,this._thenViewRef=null,this._updateView()}set ngIfElse(X){yi("ngIfElse",X),this._elseTemplateRef=X,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(X,k){return!0}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.s_b),l.Y36(l.Rgc))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Z})();class Wi{constructor(){this.$implicit=null,this.ngIf=null}}function yi(Z,we){if(we&&!we.createEmbeddedView)throw new Error(`${Z} must be a TemplateRef, but received '${(0,l.AaK)(we)}'.`)}class zn{constructor(we,X){this._viewContainerRef=we,this._templateRef=X,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(we){we&&!this._created?this.create():!we&&this._created&&this.destroy()}}let nn=(()=>{class Z{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(X){this._ngSwitch=X,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(X){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(X)}_matchCase(X){const k=X==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(X){if(this._defaultViews&&X!==this._defaultUsed){this._defaultUsed=X;for(let k=0;k{class Z{constructor(X,k,L){this.ngSwitch=L,L._addCase(),this._view=new zn(X,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(nn,9))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Z})(),Er=(()=>{class Z{constructor(X,k,L){L._addDefault(new zn(X,k))}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(nn,9))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngSwitchDefault",""]]}),Z})(),Ve=(()=>{class Z{constructor(X,k,L){this._ngEl=X,this._differs=k,this._renderer=L,this._ngStyle=null,this._differ=null}set ngStyle(X){this._ngStyle=X,!this._differ&&X&&(this._differ=this._differs.find(X).create())}ngDoCheck(){if(this._differ){const X=this._differ.diff(this._ngStyle);X&&this._applyChanges(X)}}_setStyle(X,k){const[L,B]=X.split(".");null!=(k=null!=k&&B?`${k}${B}`:k)?this._renderer.setStyle(this._ngEl.nativeElement,L,k):this._renderer.removeStyle(this._ngEl.nativeElement,L)}_applyChanges(X){X.forEachRemovedItem(k=>this._setStyle(k.key,null)),X.forEachAddedItem(k=>this._setStyle(k.key,k.currentValue)),X.forEachChangedItem(k=>this._setStyle(k.key,k.currentValue))}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.SBq),l.Y36(l.aQg),l.Y36(l.Qsj))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),Z})(),Me=(()=>{class Z{constructor(X){this._viewContainerRef=X,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(X){if(X.ngTemplateOutlet){const k=this._viewContainerRef;this._viewRef&&k.remove(k.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?k.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&X.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.s_b))},Z.\u0275dir=l.lG2({type:Z,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.TTD]}),Z})();function ne(Z,we){return Error(`InvalidPipeArgument: '${we}' for pipe '${(0,l.AaK)(Z)}'`)}class ke{createSubscription(we,X){return we.subscribe({next:X,error:k=>{throw k}})}dispose(we){we.unsubscribe()}onDestroy(we){we.unsubscribe()}}class Te{createSubscription(we,X){return we.then(X,k=>{throw k})}dispose(we){}onDestroy(we){}}const nt=new Te,pt=new ke;let Rt=(()=>{class Z{constructor(X){this._ref=X,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(X){return this._obj?X!==this._obj?(this._dispose(),this.transform(X)):this._latestValue:(X&&this._subscribe(X),this._latestValue)}_subscribe(X){this._obj=X,this._strategy=this._selectStrategy(X),this._subscription=this._strategy.createSubscription(X,k=>this._updateLatestValue(X,k))}_selectStrategy(X){if((0,l.QGY)(X))return nt;if((0,l.F4k)(X))return pt;throw ne(Z,X)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(X,k){X===this._obj&&(this._latestValue=k,this._ref.markForCheck())}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.sBO,16))},Z.\u0275pipe=l.Yjl({name:"async",type:Z,pure:!1}),Z})(),Bn=(()=>{class Z{constructor(X){this.locale=X}transform(X,k="mediumDate",L,B){if(null==X||""===X||X!=X)return null;try{return xe(X,k,B||this.locale,L)}catch(ue){throw ne(Z,ue.message)}}}return Z.\u0275fac=function(X){return new(X||Z)(l.Y36(l.soG,16))},Z.\u0275pipe=l.Yjl({name:"date",type:Z,pure:!0}),Z})(),Ni=(()=>{class Z{}return Z.\u0275fac=function(X){return new(X||Z)},Z.\u0275mod=l.oAB({type:Z}),Z.\u0275inj=l.cJS({providers:[{provide:bt,useClass:$e}]}),Z})();const Ai="browser";function Zr(Z){return Z===Ai}let is=(()=>{class Z{}return Z.\u0275prov=(0,l.Yz7)({token:Z,providedIn:"root",factory:()=>new Lr((0,l.LFG)(I),window)}),Z})();class Lr{constructor(we,X){this.document=we,this.window=X,this.offset=()=>[0,0]}setOffset(we){this.offset=Array.isArray(we)?()=>we:we}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(we){this.supportsScrolling()&&this.window.scrollTo(we[0],we[1])}scrollToAnchor(we){if(!this.supportsScrolling())return;const X=function(Z,we){const X=Z.getElementById(we)||Z.getElementsByName(we)[0];if(X)return X;if("function"==typeof Z.createTreeWalker&&Z.body&&(Z.body.createShadowRoot||Z.body.attachShadow)){const k=Z.createTreeWalker(Z.body,NodeFilter.SHOW_ELEMENT);let L=k.currentNode;for(;L;){const B=L.shadowRoot;if(B){const ue=B.getElementById(we)||B.querySelector(`[name="${we}"]`);if(ue)return ue}L=k.nextNode()}}return null}(this.document,we);X&&(this.scrollToElement(X),this.attemptFocus(X))}setHistoryScrollRestoration(we){if(this.supportScrollRestoration()){const X=this.window.history;X&&X.scrollRestoration&&(X.scrollRestoration=we)}}scrollToElement(we){const X=we.getBoundingClientRect(),k=X.left+this.window.pageXOffset,L=X.top+this.window.pageYOffset,B=this.offset();this.window.scrollTo(k-B[0],L-B[1])}attemptFocus(we){return we.focus(),this.document.activeElement===we}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const we=Nr(this.window.history)||Nr(Object.getPrototypeOf(this.window.history));return!(!we||!we.writable&&!we.set)}catch(we){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(we){return!1}}}function Nr(Z){return Object.getOwnPropertyDescriptor(Z,"scrollRestoration")}class Vi{}},1841:(ft,Fe,p)=>{"use strict";p.d(Fe,{TP:()=>He,eN:()=>et,JF:()=>fe});var l=p(8583),n=p(7716),m=p(5917),P=p(7574),g=p(4612),D=p(5435),I=p(8002);class b{}class E{}class U{constructor(C){this.normalizedNames=new Map,this.lazyUpdate=null,C?this.lazyInit="string"==typeof C?()=>{this.headers=new Map,C.split("\n").forEach(S=>{const F=S.indexOf(":");if(F>0){const H=S.slice(0,F),v=H.toLowerCase(),V=S.slice(F+1).trim();this.maybeSetNormalizedName(H,v),this.headers.has(v)?this.headers.get(v).push(V):this.headers.set(v,[V])}})}:()=>{this.headers=new Map,Object.keys(C).forEach(S=>{let F=C[S];const H=S.toLowerCase();"string"==typeof F&&(F=[F]),F.length>0&&(this.headers.set(H,F),this.maybeSetNormalizedName(S,H))})}:this.headers=new Map}has(C){return this.init(),this.headers.has(C.toLowerCase())}get(C){this.init();const S=this.headers.get(C.toLowerCase());return S&&S.length>0?S[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(C){return this.init(),this.headers.get(C.toLowerCase())||null}append(C,S){return this.clone({name:C,value:S,op:"a"})}set(C,S){return this.clone({name:C,value:S,op:"s"})}delete(C,S){return this.clone({name:C,value:S,op:"d"})}maybeSetNormalizedName(C,S){this.normalizedNames.has(S)||this.normalizedNames.set(S,C)}init(){this.lazyInit&&(this.lazyInit instanceof U?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(C=>this.applyUpdate(C)),this.lazyUpdate=null))}copyFrom(C){C.init(),Array.from(C.headers.keys()).forEach(S=>{this.headers.set(S,C.headers.get(S)),this.normalizedNames.set(S,C.normalizedNames.get(S))})}clone(C){const S=new U;return S.lazyInit=this.lazyInit&&this.lazyInit instanceof U?this.lazyInit:this,S.lazyUpdate=(this.lazyUpdate||[]).concat([C]),S}applyUpdate(C){const S=C.name.toLowerCase();switch(C.op){case"a":case"s":let F=C.value;if("string"==typeof F&&(F=[F]),0===F.length)return;this.maybeSetNormalizedName(C.name,S);const H=("a"===C.op?this.headers.get(S):void 0)||[];H.push(...F),this.headers.set(S,H);break;case"d":const v=C.value;if(v){let V=this.headers.get(S);if(!V)return;V=V.filter(q=>-1===v.indexOf(q)),0===V.length?(this.headers.delete(S),this.normalizedNames.delete(S)):this.headers.set(S,V)}else this.headers.delete(S),this.normalizedNames.delete(S)}}forEach(C){this.init(),Array.from(this.normalizedNames.keys()).forEach(S=>C(this.normalizedNames.get(S),this.headers.get(S)))}}class R{encodeKey(C){return $(C)}encodeValue(C){return $(C)}decodeKey(C){return decodeURIComponent(C)}decodeValue(C){return decodeURIComponent(C)}}const K=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function $(A){return encodeURIComponent(A).replace(K,(C,S)=>{var F;return null!==(F=J[S])&&void 0!==F?F:C})}function ee(A){return`${A}`}class te{constructor(C={}){if(this.updates=null,this.cloneFrom=null,this.encoder=C.encoder||new R,C.fromString){if(C.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(A,C){const S=new Map;return A.length>0&&A.replace(/^\?/,"").split("&").forEach(H=>{const v=H.indexOf("="),[V,q]=-1==v?[C.decodeKey(H),""]:[C.decodeKey(H.slice(0,v)),C.decodeValue(H.slice(v+1))],xe=S.get(V)||[];xe.push(q),S.set(V,xe)}),S}(C.fromString,this.encoder)}else C.fromObject?(this.map=new Map,Object.keys(C.fromObject).forEach(S=>{const F=C.fromObject[S];this.map.set(S,Array.isArray(F)?F:[F])})):this.map=null}has(C){return this.init(),this.map.has(C)}get(C){this.init();const S=this.map.get(C);return S?S[0]:null}getAll(C){return this.init(),this.map.get(C)||null}keys(){return this.init(),Array.from(this.map.keys())}append(C,S){return this.clone({param:C,value:S,op:"a"})}appendAll(C){const S=[];return Object.keys(C).forEach(F=>{const H=C[F];Array.isArray(H)?H.forEach(v=>{S.push({param:F,value:v,op:"a"})}):S.push({param:F,value:H,op:"a"})}),this.clone(S)}set(C,S){return this.clone({param:C,value:S,op:"s"})}delete(C,S){return this.clone({param:C,value:S,op:"d"})}toString(){return this.init(),this.keys().map(C=>{const S=this.encoder.encodeKey(C);return this.map.get(C).map(F=>S+"="+this.encoder.encodeValue(F)).join("&")}).filter(C=>""!==C).join("&")}clone(C){const S=new te({encoder:this.encoder});return S.cloneFrom=this.cloneFrom||this,S.updates=(this.updates||[]).concat(C),S}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(C=>this.map.set(C,this.cloneFrom.map.get(C))),this.updates.forEach(C=>{switch(C.op){case"a":case"s":const S=("a"===C.op?this.map.get(C.param):void 0)||[];S.push(ee(C.value)),this.map.set(C.param,S);break;case"d":if(void 0===C.value){this.map.delete(C.param);break}{let F=this.map.get(C.param)||[];const H=F.indexOf(ee(C.value));-1!==H&&F.splice(H,1),F.length>0?this.map.set(C.param,F):this.map.delete(C.param)}}}),this.cloneFrom=this.updates=null)}}class De{constructor(){this.map=new Map}set(C,S){return this.map.set(C,S),this}get(C){return this.map.has(C)||this.map.set(C,C.defaultValue()),this.map.get(C)}delete(C){return this.map.delete(C),this}keys(){return this.map.keys()}}function Le(A){return"undefined"!=typeof ArrayBuffer&&A instanceof ArrayBuffer}function de(A){return"undefined"!=typeof Blob&&A instanceof Blob}function ve(A){return"undefined"!=typeof FormData&&A instanceof FormData}class ie{constructor(C,S,F,H){let v;if(this.url=S,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=C.toUpperCase(),function(A){switch(A){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||H?(this.body=void 0!==F?F:null,v=H):v=F,v&&(this.reportProgress=!!v.reportProgress,this.withCredentials=!!v.withCredentials,v.responseType&&(this.responseType=v.responseType),v.headers&&(this.headers=v.headers),v.context&&(this.context=v.context),v.params&&(this.params=v.params)),this.headers||(this.headers=new U),this.context||(this.context=new De),this.params){const V=this.params.toString();if(0===V.length)this.urlWithParams=S;else{const q=S.indexOf("?");this.urlWithParams=S+(-1===q?"?":qYt.set(Zt,C.setHeaders[Zt]),vt)),C.setParams&&(xt=Object.keys(C.setParams).reduce((Yt,Zt)=>Yt.set(Zt,C.setParams[Zt]),xt)),new ie(F,H,V,{params:xt,headers:vt,context:kt,reportProgress:xe,responseType:v,withCredentials:q})}}var se=(()=>((se=se||{})[se.Sent=0]="Sent",se[se.UploadProgress=1]="UploadProgress",se[se.ResponseHeader=2]="ResponseHeader",se[se.DownloadProgress=3]="DownloadProgress",se[se.Response=4]="Response",se[se.User=5]="User",se))();class Ie{constructor(C,S=200,F="OK"){this.headers=C.headers||new U,this.status=void 0!==C.status?C.status:S,this.statusText=C.statusText||F,this.url=C.url||null,this.ok=this.status>=200&&this.status<300}}class pe extends Ie{constructor(C={}){super(C),this.type=se.ResponseHeader}clone(C={}){return new pe({headers:C.headers||this.headers,status:void 0!==C.status?C.status:this.status,statusText:C.statusText||this.statusText,url:C.url||this.url||void 0})}}class be extends Ie{constructor(C={}){super(C),this.type=se.Response,this.body=void 0!==C.body?C.body:null}clone(C={}){return new be({body:void 0!==C.body?C.body:this.body,headers:C.headers||this.headers,status:void 0!==C.status?C.status:this.status,statusText:C.statusText||this.statusText,url:C.url||this.url||void 0})}}class Ue extends Ie{constructor(C){super(C,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${C.url||"(unknown url)"}`:`Http failure response for ${C.url||"(unknown url)"}: ${C.status} ${C.statusText}`,this.error=C.error||null}}function rt(A,C){return{body:C,headers:A.headers,context:A.context,observe:A.observe,params:A.params,reportProgress:A.reportProgress,responseType:A.responseType,withCredentials:A.withCredentials}}let et=(()=>{class A{constructor(S){this.handler=S}request(S,F,H={}){let v;if(S instanceof ie)v=S;else{let xe,vt;xe=H.headers instanceof U?H.headers:new U(H.headers),H.params&&(vt=H.params instanceof te?H.params:new te({fromObject:H.params})),v=new ie(S,F,void 0!==H.body?H.body:null,{headers:xe,context:H.context,params:vt,reportProgress:H.reportProgress,responseType:H.responseType||"json",withCredentials:H.withCredentials})}const V=(0,m.of)(v).pipe((0,g.b)(xe=>this.handler.handle(xe)));if(S instanceof ie||"events"===H.observe)return V;const q=V.pipe((0,D.h)(xe=>xe instanceof be));switch(H.observe||"body"){case"body":switch(v.responseType){case"arraybuffer":return q.pipe((0,I.U)(xe=>{if(null!==xe.body&&!(xe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xe.body}));case"blob":return q.pipe((0,I.U)(xe=>{if(null!==xe.body&&!(xe.body instanceof Blob))throw new Error("Response is not a Blob.");return xe.body}));case"text":return q.pipe((0,I.U)(xe=>{if(null!==xe.body&&"string"!=typeof xe.body)throw new Error("Response is not a string.");return xe.body}));case"json":default:return q.pipe((0,I.U)(xe=>xe.body))}case"response":return q;default:throw new Error(`Unreachable: unhandled observe type ${H.observe}}`)}}delete(S,F={}){return this.request("DELETE",S,F)}get(S,F={}){return this.request("GET",S,F)}head(S,F={}){return this.request("HEAD",S,F)}jsonp(S,F){return this.request("JSONP",S,{params:(new te).append(F,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(S,F={}){return this.request("OPTIONS",S,F)}patch(S,F,H={}){return this.request("PATCH",S,rt(H,F))}post(S,F,H={}){return this.request("POST",S,rt(H,F))}put(S,F,H={}){return this.request("PUT",S,rt(H,F))}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(b))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})();class Tt{constructor(C,S){this.next=C,this.interceptor=S}handle(C){return this.interceptor.intercept(C,this.next)}}const He=new n.OlP("HTTP_INTERCEPTORS");let dt=(()=>{class A{intercept(S,F){return F.handle(S)}}return A.\u0275fac=function(S){return new(S||A)},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})();const lt=/^\)\]\}',?\n/;let wt=(()=>{class A{constructor(S){this.xhrFactory=S}handle(S){if("JSONP"===S.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new P.y(F=>{const H=this.xhrFactory.build();if(H.open(S.method,S.urlWithParams),S.withCredentials&&(H.withCredentials=!0),S.headers.forEach((Zt,Wt)=>H.setRequestHeader(Zt,Wt.join(","))),S.headers.has("Accept")||H.setRequestHeader("Accept","application/json, text/plain, */*"),!S.headers.has("Content-Type")){const Zt=S.detectContentTypeHeader();null!==Zt&&H.setRequestHeader("Content-Type",Zt)}if(S.responseType){const Zt=S.responseType.toLowerCase();H.responseType="json"!==Zt?Zt:"text"}const v=S.serializeBody();let V=null;const q=()=>{if(null!==V)return V;const Zt=1223===H.status?204:H.status,Wt=H.statusText||"OK",an=new U(H.getAllResponseHeaders()),Jt=function(A){return"responseURL"in A&&A.responseURL?A.responseURL:/^X-Request-URL:/m.test(A.getAllResponseHeaders())?A.getResponseHeader("X-Request-URL"):null}(H)||S.url;return V=new pe({headers:an,status:Zt,statusText:Wt,url:Jt}),V},xe=()=>{let{headers:Zt,status:Wt,statusText:an,url:Jt}=q(),ln=null;204!==Wt&&(ln=void 0===H.response?H.responseText:H.response),0===Wt&&(Wt=ln?200:0);let ht=Wt>=200&&Wt<300;if("json"===S.responseType&&"string"==typeof ln){const jt=ln;ln=ln.replace(lt,"");try{ln=""!==ln?JSON.parse(ln):null}catch(Re){ln=jt,ht&&(ht=!1,ln={error:Re,text:ln})}}ht?(F.next(new be({body:ln,headers:Zt,status:Wt,statusText:an,url:Jt||void 0})),F.complete()):F.error(new Ue({error:ln,headers:Zt,status:Wt,statusText:an,url:Jt||void 0}))},vt=Zt=>{const{url:Wt}=q(),an=new Ue({error:Zt,status:H.status||0,statusText:H.statusText||"Unknown Error",url:Wt||void 0});F.error(an)};let xt=!1;const kt=Zt=>{xt||(F.next(q()),xt=!0);let Wt={type:se.DownloadProgress,loaded:Zt.loaded};Zt.lengthComputable&&(Wt.total=Zt.total),"text"===S.responseType&&!!H.responseText&&(Wt.partialText=H.responseText),F.next(Wt)},Yt=Zt=>{let Wt={type:se.UploadProgress,loaded:Zt.loaded};Zt.lengthComputable&&(Wt.total=Zt.total),F.next(Wt)};return H.addEventListener("load",xe),H.addEventListener("error",vt),H.addEventListener("timeout",vt),H.addEventListener("abort",vt),S.reportProgress&&(H.addEventListener("progress",kt),null!==v&&H.upload&&H.upload.addEventListener("progress",Yt)),H.send(v),F.next({type:se.Sent}),()=>{H.removeEventListener("error",vt),H.removeEventListener("abort",vt),H.removeEventListener("load",xe),H.removeEventListener("timeout",vt),S.reportProgress&&(H.removeEventListener("progress",kt),null!==v&&H.upload&&H.upload.removeEventListener("progress",Yt)),H.readyState!==H.DONE&&H.abort()}})}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(l.JF))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})();const Gt=new n.OlP("XSRF_COOKIE_NAME"),en=new n.OlP("XSRF_HEADER_NAME");class St{}let gt=(()=>{class A{constructor(S,F,H){this.doc=S,this.platform=F,this.cookieName=H,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const S=this.doc.cookie||"";return S!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(S,this.cookieName),this.lastCookieString=S),this.lastToken}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(Gt))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})(),Qe=(()=>{class A{constructor(S,F){this.tokenService=S,this.headerName=F}intercept(S,F){const H=S.url.toLowerCase();if("GET"===S.method||"HEAD"===S.method||H.startsWith("http://")||H.startsWith("https://"))return F.handle(S);const v=this.tokenService.getToken();return null!==v&&!S.headers.has(this.headerName)&&(S=S.clone({headers:S.headers.set(this.headerName,v)})),F.handle(S)}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(St),n.LFG(en))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})(),ze=(()=>{class A{constructor(S,F){this.backend=S,this.injector=F,this.chain=null}handle(S){if(null===this.chain){const F=this.injector.get(He,[]);this.chain=F.reduceRight((H,v)=>new Tt(H,v),this.backend)}return this.chain.handle(S)}}return A.\u0275fac=function(S){return new(S||A)(n.LFG(E),n.LFG(n.zs3))},A.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac}),A})(),Ct=(()=>{class A{static disable(){return{ngModule:A,providers:[{provide:Qe,useClass:dt}]}}static withOptions(S={}){return{ngModule:A,providers:[S.cookieName?{provide:Gt,useValue:S.cookieName}:[],S.headerName?{provide:en,useValue:S.headerName}:[]]}}}return A.\u0275fac=function(S){return new(S||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({providers:[Qe,{provide:He,useExisting:Qe,multi:!0},{provide:St,useClass:gt},{provide:Gt,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),A})(),fe=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({providers:[et,{provide:b,useClass:ze},wt,{provide:E,useExisting:wt}],imports:[[Ct.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),A})()},7716:(ft,Fe,p)=>{"use strict";p.d(Fe,{deG:()=>rh,tb:()=>Ty,AFp:()=>xy,ip1:()=>zp,CZH:()=>Ml,hGG:()=>rS,z2F:()=>Kc,sBO:()=>iw,Sil:()=>Wc,_Vd:()=>ml,EJc:()=>Iy,SBq:()=>co,qLn:()=>xo,vpe:()=>uo,gxx:()=>Ja,tBr:()=>Lo,XFs:()=>Ct,OlP:()=>Ui,zs3:()=>ji,ZZ4:()=>Ou,aQg:()=>Pu,soG:()=>Gu,YKP:()=>ov,v3s:()=>NE,h0i:()=>_a,PXZ:()=>kE,R0b:()=>_s,FiY:()=>Fr,Lbi:()=>Sy,g9A:()=>Ey,n_E:()=>Gc,Qsj:()=>YM,FYo:()=>Ru,JOm:()=>fs,Tiy:()=>yp,q3G:()=>Yi,tp0:()=>us,EAV:()=>UE,Rgc:()=>Oc,dDg:()=>Py,DyG:()=>Ta,GfV:()=>J0,s_b:()=>Nu,ifc:()=>V,eFA:()=>Vy,G48:()=>wE,Gpc:()=>R,f3M:()=>Nl,X6Q:()=>Jp,_c5:()=>qE,VLi:()=>ME,c2e:()=>Ay,zSh:()=>Cc,wAp:()=>In,vHH:()=>$,EiD:()=>Na,mCW:()=>ia,qzn:()=>eo,JVY:()=>_h,pB0:()=>yh,eBb:()=>wo,L6k:()=>vh,LAX:()=>Cd,cg1:()=>dp,Tjo:()=>ZE,kL8:()=>b0,yhl:()=>bd,dqk:()=>kt,sIi:()=>wc,CqO:()=>Xf,QGY:()=>Jf,F4k:()=>x_,RDi:()=>lr,AaK:()=>b,z3N:()=>Os,qOj:()=>Bf,TTD:()=>Ni,_Bn:()=>K0,xp6:()=>mc,uIk:()=>Uf,Tol:()=>K_,Gre:()=>d0,ekj:()=>sp,Suo:()=>ny,Xpm:()=>ae,lG2:()=>On,Yz7:()=>Ye,cJS:()=>tt,oAB:()=>Ut,Yjl:()=>qn,Y36:()=>Ec,_UZ:()=>D_,GkF:()=>M_,BQk:()=>qf,ynx:()=>Qf,qZA:()=>Zf,TgZ:()=>$f,EpF:()=>w_,n5z:()=>ys,Ikx:()=>lp,LFG:()=>$i,$8M:()=>kr,NdJ:()=>ep,CRH:()=>iy,kcU:()=>Rn,O4$:()=>un,oxw:()=>T_,ALo:()=>$v,lcZ:()=>Zv,xi3:()=>Qv,Dn7:()=>qv,Hsn:()=>I_,F$t:()=>A_,Q6J:()=>Wf,DdM:()=>Pv,VKq:()=>Fv,WLB:()=>Lv,kEZ:()=>Nv,l5B:()=>Bv,qbA:()=>Vv,HTZ:()=>Hv,Hh0:()=>Uv,rFY:()=>Yv,iGM:()=>ey,MAs:()=>d_,evT:()=>Ud,CHM:()=>ls,LSH:()=>Ql,kYT:()=>Qt,Udp:()=>rp,WFA:()=>tp,d8E:()=>cp,YNc:()=>c_,W1O:()=>ay,_uU:()=>e0,Oqu:()=>ap,hij:()=>xu,Gf:()=>ty});var l=p(9765),n=p(5319),m=p(7574),P=p(6682),g=p(8819);function D(e){for(let t in e)if(e[t]===D)return t;throw Error("Could not find renamed property on target object.")}function I(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function b(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(b).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function E(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const U=D({__forward_ref__:D});function R(e){return e.__forward_ref__=R,e.toString=function(){return b(this())},e}function G(e){return K(e)?e():e}function K(e){return"function"==typeof e&&e.hasOwnProperty(U)&&e.__forward_ref__===R}class $ extends Error{constructor(t,r){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,r)),this.code=t}}function ce(e){return"string"==typeof e?e:null==e?"":String(e)}function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ce(e)}function ve(e,t){const r=t?` in ${t}`:"";throw new $("201",`No provider for ${De(e)} found${r}`)}function je(e,t){null==e&&function(e,t,r,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${r} ${s} ${t} <=Actual]`))}(t,e,null,"!=")}function Ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tt(e){return{providers:e.providers||[],imports:e.imports||[]}}function wt(e){return Gt(e,Qe)||Gt(e,It)}function Gt(e,t){return e.hasOwnProperty(t)?e[t]:null}function gt(e){return e&&(e.hasOwnProperty(ze)||e.hasOwnProperty(qt))?e[ze]:null}const Qe=D({\u0275prov:D}),ze=D({\u0275inj:D}),It=D({ngInjectableDef:D}),qt=D({ngInjectorDef:D});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let fe;function x(e){const t=fe;return fe=e,t}function A(e,t,r){const s=wt(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:r&Ct.Optional?null:void 0!==t?t:void ve(b(e),"Injector")}function S(e){return{toString:e}.toString()}var F=(()=>((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F))(),V=(()=>((V=V||{})[V.Emulated=0]="Emulated",V[V.None=2]="None",V[V.ShadowDom=3]="ShadowDom",V))();const q="undefined"!=typeof globalThis&&globalThis,xe="undefined"!=typeof window&&window,vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,kt=q||"undefined"!=typeof global&&global||xe||vt,Wt={},an=[],Jt=D({\u0275cmp:D}),ln=D({\u0275dir:D}),ht=D({\u0275pipe:D}),jt=D({\u0275mod:D}),Re=D({\u0275loc:D}),We=D({\u0275fac:D}),Se=D({__NG_ELEMENT_ID__:D});let Ge=0;function ae(e){return S(()=>{const r={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||an,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||V.Emulated,id:"c",styles:e.styles||an,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,d=e.features,f=e.pipes;return s.id+=Ge++,s.inputs=Hn(e.inputs,r),s.outputs=Hn(e.outputs),d&&d.forEach(_=>_(s)),s.directiveDefs=a?()=>("function"==typeof a?a():a).map(ye):null,s.pipeDefs=f?()=>("function"==typeof f?f():f).map(Je):null,s})}function ye(e){return ri(e)||function(e){return e[ln]||null}(e)}function Je(e){return function(e){return e[ht]||null}(e)}const _t={};function Ut(e){return S(()=>{const t={type:e.type,bootstrap:e.bootstrap||an,declarations:e.declarations||an,imports:e.imports||an,exports:e.exports||an,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(_t[e.id]=e.type),t})}function Qt(e,t){return S(()=>{const r=ei(e,!0);r.declarations=t.declarations||an,r.imports=t.imports||an,r.exports=t.exports||an})}function Hn(e,t){if(null==e)return Wt;const r={};for(const s in e)if(e.hasOwnProperty(s)){let a=e[s],d=a;Array.isArray(a)&&(d=a[1],a=a[0]),r[a]=s,t&&(t[a]=d)}return r}const On=ae;function qn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ri(e){return e[Jt]||null}function ei(e,t){const r=e[jt]||null;if(!r&&!0===t)throw new Error(`Type ${b(e)} does not have '\u0275mod' property.`);return r}function Pi(e){return Array.isArray(e)&&"object"==typeof e[1]}function oi(e){return Array.isArray(e)&&!0===e[1]}function nr(e){return 0!=(8&e.flags)}function Ve(e){return 2==(2&e.flags)}function Me(e){return 1==(1&e.flags)}function he(e){return null!==e.template}function ne(e){return 0!=(512&e[2])}function Li(e,t){return e.hasOwnProperty(We)?e[We]:null}class vr{constructor(t,r,s){this.previousValue=t,this.currentValue=r,this.firstChange=s}isFirstChange(){return this.firstChange}}function Ni(){return Ai}function Ai(e){return e.type.prototype.ngOnChanges&&(e.setInput=Qi),yr}function yr(){const e=Zr(this),t=null==e?void 0:e.current;if(t){const r=e.previous;if(r===Wt)e.previous=t;else for(let s in t)r[s]=t[s];e.current=null,this.ngOnChanges(t)}}function Qi(e,t,r,s){const a=Zr(e)||function(e,t){return e[Ss]=t}(e,{previous:Wt,current:null}),d=a.current||(a.current={}),f=a.previous,_=this.declaredInputs[r],N=f[_];d[_]=new vr(N&&N.currentValue,t,f===Wt),e[s]=t}Ni.ngInherit=!0;const Ss="__ngSimpleChanges__";function Zr(e){return e[Ss]||null}const is="http://www.w3.org/2000/svg";let Nr;function lr(e){Nr=e}function Z(e){return!!e.listen}const X={createRenderer:(e,t)=>void 0!==Nr?Nr:"undefined"!=typeof document?document:void 0};function L(e){for(;Array.isArray(e);)e=e[0];return e}function yt(e,t){return L(t[e])}function zt(e,t){return L(t[e.index])}function Zn(e,t){return e.data[t]}function En(e,t){return e[t]}function Jn(e,t){const r=t[e];return Pi(r)?r:r[0]}function ci(e){return 4==(4&e[2])}function Ei(e){return 128==(128&e[2])}function Ii(e,t){return null==t?null:e[t]}function ur(e){e[18]=0}function Vr(e,t){e[5]+=t;let r=e,s=e[3];for(;null!==s&&(1===t&&1===r[5]||-1===t&&0===r[5]);)s[5]+=t,r=s,s=s[3]}const xn={lFrame:qi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Gs(){return xn.bindingsEnabled}function Kt(){return xn.lFrame.lView}function Pn(){return xn.lFrame.tView}function ls(e){return xn.lFrame.contextLView=e,e[8]}function ki(){let e=Ur();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ur(){return xn.lFrame.currentTNode}function rs(e,t){const r=xn.lFrame;r.currentTNode=e,r.isParent=t}function me(){return xn.lFrame.isParent}function y(){xn.lFrame.isParent=!1}function ge(){return xn.isInCheckNoChangesMode}function Pe(e){xn.isInCheckNoChangesMode=e}function Xe(){const e=xn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lt(){return xn.lFrame.bindingIndex++}function tn(e){const t=xn.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Qn(e,t){const r=xn.lFrame;r.bindingIndex=r.bindingRootIndex=e,gn(t)}function gn(e){xn.lFrame.currentDirectiveIndex=e}function Vn(e){const t=xn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function bi(){return xn.lFrame.currentQueryIndex}function Ci(e){xn.lFrame.currentQueryIndex=e}function rr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Hi(e,t,r){if(r&Ct.SkipSelf){let a=t,d=e;for(;!(a=a.parent,null!==a||r&Ct.Host||(a=rr(d),null===a||(d=d[15],10&a.type))););if(null===a)return!1;t=a,e=d}const s=xn.lFrame=Tr();return s.currentTNode=t,s.lView=e,!0}function qr(e){const t=Tr(),r=e[1];xn.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Tr(){const e=xn.lFrame,t=null===e?null:e.child;return null===t?qi(e):t}function qi(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function hr(){const e=xn.lFrame;return xn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yr=hr;function br(){const e=hr();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ti(){return xn.lFrame.selectedIndex}function jr(e){xn.lFrame.selectedIndex=e}function di(){const e=xn.lFrame;return Zn(e.tView,e.selectedIndex)}function un(){xn.lFrame.currentNamespace=is}function Rn(){xn.lFrame.currentNamespace=null}function Ji(e,t){for(let r=t.directiveStart,s=t.directiveEnd;r=s)break}else t[N]<0&&(e[18]+=65536),(_>11>16&&(3&e[2])===t){e[2]+=2048;try{d.call(_)}finally{}}}else try{d.call(_)}finally{}}class Ir{constructor(t,r,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=s}}function zo(e,t,r){const s=Z(e);let a=0;for(;at){f=d-1;break}}}for(;d>16}(e),s=t;for(;r>0;)s=s[15],r--;return s}let Ko=!0;function Ks(e){const t=Ko;return Ko=e,t}let $o=0;function yo(e,t){const r=Ea(e,t);if(-1!==r)return r;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Zo(s.data,e),Zo(t,null),Zo(s.blueprint,null));const a=Sa(e,t),d=e.injectorIndex;if(Wo(a)){const f=As(a),_=Ws(a,t),N=_[1].data;for(let W=0;W<8;W++)t[d+W]=_[f+W]|N[f+W]}return t[d+8]=a,d}function Zo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ea(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,s=null,a=t;for(;null!==a;){const d=a[1],f=d.type;if(s=2===f?d.declTNode:1===f?a[6]:null,null===s)return-1;if(r++,a=a[15],-1!==s.injectorIndex)return s.injectorIndex|r<<16}return-1}function j(e,t,r){!function(e,t,r){let s;"string"==typeof r?s=r.charCodeAt(0)||0:r.hasOwnProperty(Se)&&(s=r[Se]),null==s&&(s=r[Se]=$o++);const a=255&s;t.data[e+(a>>5)]|=1<=0?255&t:it:t}(r);if("function"==typeof d){if(!Hi(t,e,s))return s&Ct.Host?T(a,r,s):Q(t,r,s,a);try{const f=d(s);if(null!=f||s&Ct.Optional)return f;ve(r)}finally{Yr()}}else if("number"==typeof d){let f=null,_=Ea(e,t),N=-1,W=s&Ct.Host?t[16][6]:null;for((-1===_||s&Ct.SkipSelf)&&(N=-1===_?Sa(e,t):t[_+8],-1!==N&&mi(s,!1)?(f=t[1],_=As(N),t=Ws(N,t)):_=-1);-1!==_;){const le=t[1];if(Mn(d,_,le.data)){const Ae=ut(_,t,r,f,s,W);if(Ae!==Ee)return Ae}N=t[_+8],-1!==N&&mi(s,t[1].data[_+8]===W)&&Mn(d,_,t)?(f=le,_=As(N),t=Ws(N,t)):_=-1}}}return Q(t,r,s,a)}const Ee={};function it(){return new Kn(ki(),Kt())}function ut(e,t,r,s,a,d){const f=t[1],_=f.data[e+8],le=Vt(_,f,r,null==s?Ve(_)&&Ko:s!=f&&0!=(3&_.type),a&Ct.Host&&d===_);return null!==le?dn(t,f,le,_):Ee}function Vt(e,t,r,s,a){const d=e.providerIndexes,f=t.data,_=1048575&d,N=e.directiveStart,le=d>>20,Ne=a?_+le:e.directiveEnd;for(let st=s?_:_+le;st=N&&mt.type===r)return st}if(a){const st=f[N];if(st&&he(st)&&st.type===r)return N}return null}function dn(e,t,r,s){let a=e[r];const d=t.data;if(function(e){return e instanceof Ir}(a)){const f=a;f.resolving&&function(e,t){throw new $("200",`Circular dependency in DI detected for ${e}`)}(De(d[r]));const _=Ks(f.canSeeViewProviders);f.resolving=!0;const N=f.injectImpl?x(f.injectImpl):null;Hi(e,s,Ct.Default);try{a=e[r]=f.factory(void 0,d,e,s),t.firstCreatePass&&r>=s.directiveStart&&function(e,t,r){const{ngOnChanges:s,ngOnInit:a,ngDoCheck:d}=t.type.prototype;if(s){const f=Ai(t);(r.preOrderHooks||(r.preOrderHooks=[])).push(e,f),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,f)}a&&(r.preOrderHooks||(r.preOrderHooks=[])).push(0-e,a),d&&((r.preOrderHooks||(r.preOrderHooks=[])).push(e,d),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,d))}(r,d[r],t)}finally{null!==N&&x(N),Ks(_),f.resolving=!1,Yr()}}return a}function Mn(e,t,r){return!!(r[t+(e>>5)]&1<{const t=e.prototype.constructor,r=t[We]||Gr(t),s=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==s;){const d=a[We]||Gr(a);if(d&&d!==r)return d;a=Object.getPrototypeOf(a)}return d=>new d})}function Gr(e){return K(e)?()=>{const t=Gr(G(e));return t&&t()}:Li(e)}function kr(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const s=r.length;let a=0;for(;a{const s=function(e){return function(...r){if(e){const s=e(...r);for(const a in s)this[a]=s[a]}}}(t);function a(...d){if(this instanceof a)return s.apply(this,d),this;const f=new a(...d);return _.annotation=f,_;function _(N,W,le){const Ae=N.hasOwnProperty(Rr)?N[Rr]:Object.defineProperty(N,Rr,{value:[]})[Rr];for(;Ae.length<=le;)Ae.push(null);return(Ae[le]=Ae[le]||[]).push(f),N}}return r&&(a.prototype=Object.create(r.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class Ui{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Ye({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rh=new Ui("AnalyzeForEntryComponents"),Ta=Function;function ss(e,t){void 0===t&&(t=e);for(let r=0;rArray.isArray(r)?bs(r,t):t(r))}function Ia(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function bo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $s(e,t){const r=[];for(let s=0;s=0?e[1|s]=r:(s=~s,function(e,t,r,s){let a=e.length;if(a==t)e.push(r,s);else if(1===a)e.push(s,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=r,e[t+1]=s}}(e,s,t,r)),s}function qo(e,t){const r=Zs(e,t);if(r>=0)return e[1|r]}function Zs(e,t){return function(e,t,r){let s=0,a=e.length>>r;for(;a!==s;){const d=s+(a-s>>1),f=e[d<t?a=d:s=d+1}return~(a< ");else if("object"==typeof t){let d=[];for(let f in t)if(t.hasOwnProperty(f)){let _=t[f];d.push(f+":"+("string"==typeof _?JSON.stringify(_):b(_)))}a=`{${d.join(", ")}}`}return`${r}${s?"("+s+")":""}[${a}]: ${e.replace(Xr,"\n ")}`}("\n"+e.message,a,r,s),e.ngTokenPath=a,e[qs]=null,e}const Lo=ea(ks("Inject",e=>({token:e})),-1),Fr=ea(ks("Optional"),8),us=ea(ks("SkipSelf"),4);let Yl;function na(e){var t;return(null===(t=function(){if(void 0===Yl&&(Yl=null,kt.trustedTypes))try{Yl=kt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Yl}())||void 0===t?void 0:t.createHTML(e))||e}class Xs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class gh extends Xs{getTypeName(){return"HTML"}}class Lm extends Xs{getTypeName(){return"Style"}}class Nm extends Xs{getTypeName(){return"Script"}}class Bm extends Xs{getTypeName(){return"URL"}}class Vm extends Xs{getTypeName(){return"ResourceURL"}}function Os(e){return e instanceof Xs?e.changingThisBreaksApplicationSecurity:e}function eo(e,t){const r=bd(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see https://g.co/ng/security#xss)`)}return r===t}function bd(e){return e instanceof Xs&&e.getTypeName()||null}function _h(e){return new gh(e)}function vh(e){return new Lm(e)}function wo(e){return new Nm(e)}function Cd(e){return new Bm(e)}function yh(e){return new Vm(e)}class Dd{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const r=(new window.DOMParser).parseFromString(na(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.removeChild(r.firstChild),r)}catch(r){return null}}}class Hm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r);const s=this.inertDocument.createElement("body");r.appendChild(s)}}getInertBodyElement(t){const r=this.inertDocument.createElement("template");if("content"in r)return r.innerHTML=na(t),r;const s=this.inertDocument.createElement("body");return s.innerHTML=na(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const r=t.attributes;for(let a=r.length-1;0ia(t.trim())).join(", ")),this.buf.push(" ",f,'="',Ed(N),'"')}var e;return this.buf.push(">"),!0}endElement(t){const r=t.nodeName.toLowerCase();No.hasOwnProperty(r)&&!Wl.hasOwnProperty(r)&&(this.buf.push(""))}chars(t){this.buf.push(Ed(t))}checkClobberedElement(t,r){if(r&&(t.compareDocumentPosition(r)&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 r}}const xh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eh=/([^\#-~ |!])/g;function Ed(e){return e.replace(/&/g,"&").replace(xh,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Eh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Bo;function Na(e,t){let r=null;try{Bo=Bo||function(e){const t=new Hm(e);return function(){try{return!!(new window.DOMParser).parseFromString(na(""),"text/html")}catch(e){return!1}}()?new Dd(t):t}(e);let s=t?String(t):"";r=Bo.getInertBodyElement(s);let a=5,d=s;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,s=d,d=r.innerHTML,r=Bo.getInertBodyElement(s)}while(s!==d);return na((new wh).sanitizeChildren(sa(r)||r))}finally{if(r){const s=sa(r)||r;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function sa(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Ql(e){const t=function(){const e=Kt();return e&&e[12]}();return t?t.sanitize(Yi.URL,e)||"":eo(e,"URL")?Os(e):ia(ce(e))}const Od="__ngContext__";function Cr(e,t){e[Od]=t}function ql(e){const t=function(e){return e[Od]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Va(e){return e.ngOriginalError}function Wm(e,...t){e.error(...t)}class xo{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t),s=this._findContext(t),a=(e=t)&&e.ngErrorLogger||Wm;var e;a(this._console,"ERROR",t),r&&a(this._console,"ORIGINAL ERROR",r),s&&a(this._console,"ERROR CONTEXT",s)}_findContext(t){return t?t.ngDebugContext||this._findContext(Va(t)):null}_findOriginalError(t){let r=t&&Va(t);for(;r&&Va(r);)r=Va(r);return r||null}}const nc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function Ud(e){return e.ownerDocument}function Cs(e){return e instanceof Function?e():e}var fs=(()=>((fs=fs||{})[fs.Important=1]="Important",fs[fs.DashCase=2]="DashCase",fs))();function Ua(e,t){return undefined(e,t)}function aa(e){const t=e[3];return oi(t)?t[3]:t}function sc(e){return $h(e[13])}function oc(e){return $h(e[4])}function $h(e){for(;null!==e&&!oi(e);)e=e[4];return e}function la(e,t,r,s,a){if(null!=s){let d,f=!1;oi(s)?d=s:Pi(s)&&(f=!0,s=s[0]);const _=L(s);0===e&&null!==r?null==a?Kd(t,r,_):To(t,r,_,a||null,!0):1===e&&null!==r?To(t,r,_,a||null,!0):2===e?function(e,t,r){const s=da(e,t);s&&function(e,t,r,s){Z(e)?e.removeChild(t,r,s):t.removeChild(r)}(e,s,t,r)}(t,_,f):3===e&&t.destroyNode(_),null!=d&&function(e,t,r,s,a){const d=r[7];d!==L(r)&&la(t,e,s,d,a);for(let _=10;_0&&(e[r-1][4]=s[4]);const d=bo(e,10+t);!function(e,t){ua(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const f=d[19];null!==f&&f.detachView(d[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function Wd(e,t){if(!(256&t[2])){const r=t[11];Z(r)&&r.destroyNode&&ua(e,t,r,3,null,null),function(e){let t=e[13];if(!t)return lc(e[1],e);for(;t;){let r=null;if(Pi(t))r=t[13];else{const s=t[10];s&&(r=s)}if(!r){for(;t&&!t[4]&&t!==e;)Pi(t)&&lc(t[1],t),t=t[3];null===t&&(t=e),Pi(t)&&lc(t[1],t),r=t&&t[4]}t=r}}(t)}}function lc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let s=0;s=0?s[a=W]():s[a=-W].unsubscribe(),d+=2}else{const f=s[a=r[d+1]];r[d].call(f)}if(null!==s){for(let d=a+1;dd?"":a[Ae+1].toLowerCase();const st=8&s?Ne:null;if(st&&-1!==ru(st,W,0)||2&s&&W!==Ne){if(ps(s))return!1;f=!0}}}}else{if(!f&&!ps(s)&&!ps(N))return!1;if(f&&ps(N))continue;f=!1,s=N|1&s}}return ps(s)||f}function ps(e){return 0==(1&e)}function ou(e,t,r,s){if(null===t)return-1;let a=0;if(s||!r){let d=!1;for(;a-1)for(r++;r0?'="'+_+'"':"")+"]"}else 8&s?a+="."+f:4&s&&(a+=" "+f);else""!==a&&!ps(f)&&(t+=lu(d,a),a=""),s=f,d=d||!ps(s);r++}return""!==a&&(t+=lu(d,a)),t}const Yn={};function mc(e){cu(Pn(),Kt(),Ti()+e,ge())}function cu(e,t,r,s){if(!s)if(3==(3&t[2])){const d=e.preOrderCheckHooks;null!==d&&_i(t,d,r)}else{const d=e.preOrderHooks;null!==d&&Di(t,d,0,r)}jr(r)}function za(e,t){return e<<17|t<<2}function ms(e){return e>>17&32767}function gc(e){return 2|e}function Ds(e){return(131068&e)>>2}function Wa(e,t){return-131069&e|t<<2}function Ka(e){return 1|e}function c(e,t){const r=e.contentQueries;if(null!==r)for(let s=0;s20&&cu(e,t,20,ge()),r(s,a)}finally{jr(d)}}function Tn(e,t,r){if(nr(t)){const a=t.directiveEnd;for(let d=t.directiveStart;d0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(_)!=N&&_.push(N),_.push(s,a,f)}}function bg(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cg(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Pb(e,t,r){if(r){if(t.exportAs)for(let s=0;s0&&Ef(r)}}function Ef(e){for(let s=sc(e);null!==s;s=oc(s))for(let a=10;a0&&Ef(d)}const r=e[1].components;if(null!==r)for(let s=0;s0&&Ef(a)}}function Ub(e,t){const r=Jn(t,e),s=r[1];(function(e,t){for(let r=t.length;rPromise.resolve(null))();function Eg(e){return e[7]||(e[7]=[])}function Sg(e){return e.cleanup||(e.cleanup=[])}function Tg(e,t,r){return(null===e||he(e))&&(r=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(r[t.index])),r[11]}function Ag(e,t){const r=e[9],s=r?r.get(xo,null):null;s&&s.handleError(t)}function Ig(e,t,r,s,a){for(let d=0;dthis.processProvider(_,t,r)),bs([t],_=>this.processInjectorType(_,[],d)),this.records.set(Ja,Xa(void 0,this));const f=this.records.get(Cc);this.scope=null!=f?f.value:null,this.source=a||("object"==typeof t?null:b(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,r=Xo,s=Ct.Default){this.assertNotDestroyed();const a=Fo(this),d=x(void 0);try{if(!(s&Ct.SkipSelf)){let _=this.records.get(t);if(void 0===_){const N=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Ui)&&wt(t);_=N&&this.injectableDefInScope(N)?Xa(Rf(t),Dc):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(s&Ct.Self?Rg():this.parent).get(t,r=s&Ct.Optional&&r===Xo?null:r)}catch(f){if("NullInjectorError"===f.name){if((f[qs]=f[qs]||[]).unshift(b(t)),a)throw f;return hd(f,t,"R3InjectorError",this.source)}throw f}finally{x(d),Fo(a)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((s,a)=>t.push(b(a))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,r,s){if(!(t=G(t)))return!1;let a=gt(t);const d=null==a&&t.ngModule||void 0,f=void 0===d?t:d,_=-1!==s.indexOf(f);if(void 0!==d&&(a=gt(d)),null==a)return!1;if(null!=a.imports&&!_){let le;s.push(f);try{bs(a.imports,Ae=>{this.processInjectorType(Ae,r,s)&&(void 0===le&&(le=[]),le.push(Ae))})}finally{}if(void 0!==le)for(let Ae=0;Aethis.processProvider(mt,Ne,st||an))}}this.injectorDefTypes.add(f);const N=Li(f)||(()=>new f);this.records.set(f,Xa(N,Dc));const W=a.providers;if(null!=W&&!_){const le=t;bs(W,Ae=>this.processProvider(Ae,le,W))}return void 0!==d&&void 0!==t.providers}processProvider(t,r,s){let a=el(t=G(t))?t:G(t&&t.provide);const d=Fg(e=t)?Xa(void 0,e.useValue):Xa(Pg(e),Dc);var e;if(el(t)||!0!==t.multi)this.records.get(a);else{let f=this.records.get(a);f||(f=Xa(void 0,Dc,!0),f.factory=()=>Js(f.multi),this.records.set(a,f)),a=t,f.multi.push(t)}this.records.set(a,d)}hydrate(t,r){return r.value===Dc&&(r.value=Zb,r.value=r.factory()),"object"==typeof r.value&&r.value&&null!==(e=r.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(r.value),r.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const r=G(t.providedIn);return"string"==typeof r?"any"===r||r===this.scope:this.injectorDefTypes.has(r)}}function Rf(e){const t=wt(e),r=null!==t?t.factory:Li(e);if(null!==r)return r;if(e instanceof Ui)throw new Error(`Token ${b(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const s=$s(t,"?");throw new Error(`Can't resolve all parameters for ${b(e)}: (${s.join(", ")}).`)}const r=function(e){const t=e&&(e[Qe]||e[It]);if(t){const r=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${r}" 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 "${r}" class.`),t}return null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Error("unreachable")}function Pg(e,t,r){let s;if(el(e)){const a=G(e);return Li(a)||Rf(a)}if(Fg(e))s=()=>G(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Js(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))s=()=>$i(G(e.useExisting));else{const a=G(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Li(a)||Rf(a);s=()=>new a(...Js(e.deps))}return s}function Xa(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Fg(e){return null!==e&&"object"==typeof e&&Mo in e}function el(e){return"function"==typeof e}const Lg=function(e,t,r){return function(e,t=null,r=null,s){const a=Og(e,t,r,s);return a._resolveInjectorDefTypes(),a}({name:r},t,e,r)};let ji=(()=>{class e{static create(r,s){return Array.isArray(r)?Lg(r,s,""):Lg(r.providers,r.parent,r.name||"")}}return e.THROW_IF_NOT_FOUND=Xo,e.NULL=new kg,e.\u0275prov=Ye({token:e,providedIn:"any",factory:()=>$i(Ja)}),e.__NG_ELEMENT_ID__=-1,e})();function vC(e,t){Ji(ql(e)[1],ki())}function Bf(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=!0;const s=[e];for(;t;){let a;if(he(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");a=t.\u0275dir}if(a){if(r){s.push(a);const f=e;f.inputs=Vf(e.inputs),f.declaredInputs=Vf(e.declaredInputs),f.outputs=Vf(e.outputs);const _=a.hostBindings;_&&DC(e,_);const N=a.viewQuery,W=a.contentQueries;if(N&&bC(e,N),W&&CC(e,W),I(e.inputs,a.inputs),I(e.declaredInputs,a.declaredInputs),I(e.outputs,a.outputs),he(a)&&a.data.animation){const le=e.data;le.animation=(le.animation||[]).concat(a.data.animation)}}const d=a.features;if(d)for(let f=0;f=0;s--){const a=e[s];a.hostVars=t+=a.hostVars,a.hostAttrs=vo(a.hostAttrs,r=vo(r,a.hostAttrs))}}(s)}function Vf(e){return e===Wt?{}:e===an?[]:e}function bC(e,t){const r=e.viewQuery;e.viewQuery=r?(s,a)=>{t(s,a),r(s,a)}:t}function CC(e,t){const r=e.contentQueries;e.contentQueries=r?(s,a,d)=>{t(s,a,d),r(s,a,d)}:t}function DC(e,t){const r=e.hostBindings;e.hostBindings=r?(s,a)=>{t(s,a),r(s,a)}:t}let Cu=null;function tl(){if(!Cu){const e=kt.Symbol;if(e&&e.iterator)Cu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let r=0;r_(L(Ln[s.index])):s.index;if(Z(r)){let Ln=null;if(!_&&N&&(Ln=function(e,t,r,s){const a=e.cleanup;if(null!=a)for(let d=0;dN?_[N]:null}"string"==typeof f&&(d+=2)}return null}(e,t,a,s.index)),null!==Ln)(Ln.__ngLastListenerFn__||Ln).__ngNextListenerFn__=d,Ln.__ngLastListenerFn__=d,st=!1;else{d=np(s,t,Ae,d,!1);const ai=r.listen(rn,a,d);Ne.push(d,ai),le&&le.push(a,Dn,Ht,Ht+1)}}else d=np(s,t,Ae,d,!0),rn.addEventListener(a,d,f),Ne.push(d),le&&le.push(a,Dn,Ht,f)}else d=np(s,t,Ae,d,!1);const mt=s.outputs;let Pt;if(st&&null!==mt&&(Pt=mt[a])){const Et=Pt.length;if(Et)for(let rn=0;rn0;)t=t[15],e--;return t}(e,xn.lFrame.contextLView))[8]}(e)}function nD(e,t){let r=null;const s=function(e){const t=e.attrs;if(null!=t){const r=t.indexOf(5);if(0==(1&r))return t[r+1]}return null}(e);for(let a=0;a=0}const mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function U_(e){return e.substring(mr.key,mr.keyEnd)}function Y_(e,t){const r=mr.textEnd;return r===t?-1:(t=mr.keyEnd=function(e,t,r){for(;t32;)t++;return t}(e,mr.key=t,r),hl(e,t,r))}function hl(e,t,r){for(;t=0;r=Y_(t,r))Pr(e,U_(t),!0)}function Ns(e,t,r,s){const a=Kt(),d=Pn(),f=tn(2);d.firstUpdatePass&&Z_(d,e,f,s),t!==Yn&&Wr(a,f,t)&&q_(d,d.data[Ti()],a,a[11],e,a[f+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=b(Os(e)))),e}(t,r),s,f)}function Bs(e,t,r,s){const a=Pn(),d=tn(2);a.firstUpdatePass&&Z_(a,null,d,s);const f=Kt();if(r!==Yn&&Wr(f,d,r)){const _=a.data[Ti()];if(X_(_,s)&&!$_(a,d)){let N=s?_.classesWithoutHost:_.stylesWithoutHost;null!==N&&(r=E(N,r||"")),Kf(a,_,f,r,s)}else!function(e,t,r,s,a,d,f,_){a===Yn&&(a=an);let N=0,W=0,le=0=e.expandoStartIndex}function Z_(e,t,r,s){const a=e.data;if(null===a[r+1]){const d=a[Ti()],f=$_(e,r);X_(d,s)&&null===t&&!f&&(t=!1),t=function(e,t,r,s){const a=Vn(e);let d=s?t.residualClasses:t.residualStyles;if(null===a)0===(s?t.classBindings:t.styleBindings)&&(r=Sc(r=op(null,e,t,r,s),t.attrs,s),d=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==a)if(r=op(a,e,t,r,s),null===d){let N=function(e,t,r){const s=r?t.classBindings:t.styleBindings;if(0!==Ds(s))return e[ms(s)]}(e,t,s);void 0!==N&&Array.isArray(N)&&(N=op(null,e,t,N[1],s),N=Sc(N,t.attrs,s),function(e,t,r,s){e[ms(r?t.classBindings:t.styleBindings)]=s}(e,t,s,N))}else d=function(e,t,r){let s;const a=t.directiveEnd;for(let d=1+t.directiveStylingLast;d0)&&(W=!0)}else le=r;if(a)if(0!==N){const Ne=ms(e[_+1]);e[s+1]=za(Ne,_),0!==Ne&&(e[Ne+1]=Wa(e[Ne+1],s)),e[_+1]=function(e,t){return 131071&e|t<<17}(e[_+1],s)}else e[s+1]=za(_,0),0!==_&&(e[_+1]=Wa(e[_+1],s)),_=s;else e[s+1]=za(N,0),0===_?_=s:e[N+1]=Wa(e[N+1],s),N=s;W&&(e[s+1]=gc(e[s+1])),H_(e,le,s,!0),H_(e,le,s,!1),function(e,t,r,s,a){const d=a?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&Zs(d,t)>=0&&(r[s+1]=Ka(r[s+1]))}(t,le,e,s,d),f=za(_,N),d?t.classBindings=f:t.styleBindings=f}(a,d,t,r,f,s)}}function op(e,t,r,s,a){let d=null;const f=r.directiveEnd;let _=r.directiveStylingLast;for(-1===_?_=r.directiveStart:_++;_0;){const N=e[a],W=Array.isArray(N),le=W?N[1]:N,Ae=null===le;let Ne=r[a+1];Ne===Yn&&(Ne=Ae?an:void 0);let st=Ae?qo(Ne,s):le===s?Ne:void 0;if(W&&!wu(st)&&(st=qo(N,s)),wu(st)&&(_=st,f))return _;const mt=e[a+1];a=f?ms(mt):Ds(mt)}if(null!==t){let N=d?t.residualClasses:t.residualStyles;null!=N&&(_=qo(N,s))}return _}function wu(e){return void 0!==e}function X_(e,t){return 0!=(e.flags&(t?16:32))}function e0(e,t=""){const r=Kt(),s=Pn(),a=e+20,d=s.firstCreatePass?h(s,a,1,t,null):s.data[a],f=r[a]=function(e,t){return Z(e)?e.createText(t):e.createTextNode(t)}(r[11],t);ja(s,r,f,d),rs(d,!1)}function ap(e){return xu("",e,""),ap}function xu(e,t,r){const s=Kt(),a=il(s,e,t,r);return a!==Yn&&Io(s,Ti(),a),xu}function d0(e,t,r){Bs(Pr,lo,il(Kt(),e,t,r),!0)}function lp(e,t,r){const s=Kt();return Wr(s,Lt(),t)&&gs(Pn(),di(),s,e,t,s[11],r,!0),lp}function cp(e,t,r){const s=Kt();if(Wr(s,Lt(),t)){const d=Pn(),f=di();gs(d,f,s,e,t,Tg(Vn(d.data),f,s),r,!0)}return cp}const ga=void 0;var BD=["en",[["a","p"],["AM","PM"],ga],[["AM","PM"],ga,ga],[["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"]],ga,[["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"]],ga,[["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}",ga,"{1} 'at' {0}",ga],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let fl={};function dp(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=C0(t);if(r)return r;const s=t.split("-")[0];if(r=C0(s),r)return r;if("en"===s)return BD;throw new Error(`Missing locale data for the locale "${e}".`)}function b0(e){return dp(e)[In.PluralCase]}function C0(e){return e in fl||(fl[e]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[e]),fl[e]}var In=(()=>((In=In||{})[In.LocaleId=0]="LocaleId",In[In.DayPeriodsFormat=1]="DayPeriodsFormat",In[In.DayPeriodsStandalone=2]="DayPeriodsStandalone",In[In.DaysFormat=3]="DaysFormat",In[In.DaysStandalone=4]="DaysStandalone",In[In.MonthsFormat=5]="MonthsFormat",In[In.MonthsStandalone=6]="MonthsStandalone",In[In.Eras=7]="Eras",In[In.FirstDayOfWeek=8]="FirstDayOfWeek",In[In.WeekendRange=9]="WeekendRange",In[In.DateFormat=10]="DateFormat",In[In.TimeFormat=11]="TimeFormat",In[In.DateTimeFormat=12]="DateTimeFormat",In[In.NumberSymbols=13]="NumberSymbols",In[In.NumberFormats=14]="NumberFormats",In[In.CurrencyCode=15]="CurrencyCode",In[In.CurrencySymbol=16]="CurrencySymbol",In[In.CurrencyName=17]="CurrencyName",In[In.Currencies=18]="Currencies",In[In.Directionality=19]="Directionality",In[In.PluralCase=20]="PluralCase",In[In.ExtraData=21]="ExtraData",In))();const Eu="en-US";let D0=Eu;function up(e){je(e,"Expected localeId to be defined"),"string"==typeof e&&(D0=e.toLowerCase().replace(/_/g,"-"))}function pp(e,t,r,s,a){if(e=G(e),Array.isArray(e))for(let d=0;d>20;if(el(e)||!e.multi){const st=new Ir(N,a,Ec),mt=gp(_,t,a?le:le+Ne,Ae);-1===mt?(j(yo(W,f),d,_),mp(d,e,t.length),t.push(_),W.directiveStart++,W.directiveEnd++,a&&(W.providerIndexes+=1048576),r.push(st),f.push(st)):(r[mt]=st,f[mt]=st)}else{const st=gp(_,t,le+Ne,Ae),mt=gp(_,t,le,le+Ne),Pt=st>=0&&r[st],Et=mt>=0&&r[mt];if(a&&!Et||!a&&!Pt){j(yo(W,f),d,_);const rn=function(e,t,r,s,a){const d=new Ir(e,r,Ec);return d.multi=[],d.index=t,d.componentProviders=0,W0(d,a,s&&!r),d}(a?FM:PM,r.length,a,s,N);!a&&Et&&(r[mt].providerFactory=rn),mp(d,e,t.length,0),t.push(_),W.directiveStart++,W.directiveEnd++,a&&(W.providerIndexes+=1048576),r.push(rn),f.push(rn)}else mp(d,e,st>-1?st:mt,W0(r[a?mt:st],N,!a&&s));!a&&s&&Et&&r[mt].componentProviders++}}}function mp(e,t,r,s){const a=el(t);if(a||function(e){return!!e.useClass}(t)){const f=(t.useClass||t).prototype.ngOnDestroy;if(f){const _=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const N=_.indexOf(r);-1===N?_.push(r,[s,f]):_[N+1].push(s,f)}else _.push(r,f)}}}function W0(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function gp(e,t,r,s){for(let a=r;a{r.providersResolver=(s,a)=>function(e,t,r){const s=Pn();if(s.firstCreatePass){const a=he(e);pp(r,s.data,s.blueprint,a,!0),pp(t,s.data,s.blueprint,a,!1)}}(s,a?a(e):e,t)}}class $0{}const Q0="ngComponent";class BM{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${b(e)}. Did you add it to @NgModule.entryComponents?`);return t[Q0]=e,t}(t)}}let ml=(()=>{class e{}return e.NULL=new BM,e})();function ku(...e){}function gl(e,t){return new co(zt(e,t))}const UM=function(){return gl(ki(),Kt())};let co=(()=>{class e{constructor(r){this.nativeElement=r}}return e.__NG_ELEMENT_ID__=UM,e})();function q0(e){return e instanceof co?e.nativeElement:e}class Ru{}let YM=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>GM(),e})();const GM=function(){const e=Kt(),r=Jn(ki().index,e);return function(e){return e[11]}(Pi(r)?r:e)};let yp=(()=>{class e{}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>null}),e})();class J0{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const X0=new J0("12.2.13");class ev{constructor(){}supports(t){return wc(t)}create(t){return new $M(t)}}const KM=(e,t)=>t;class $M{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||KM}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,s=this._removalsHead,a=0,d=null;for(;r||s;){const f=!s||r&&r.currentIndex{f=this._trackByFn(a,_),null!==r&&Object.is(r.trackById,f)?(s&&(r=this._verifyReinsertion(r,_,f,a)),Object.is(r.item,_)||this._addIdentityChange(r,_)):(r=this._mismatch(r,_,f,a),s=!0),r=r._next,a++}),this.length=a;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;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,r,s,a){let d;return null===t?d=this._itTail:(d=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,d,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,a))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,d,a)):t=this._addAfter(new ZM(r,s),d,a),t}_verifyReinsertion(t,r,s,a){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==d?t=this._reinsertAfter(d,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}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,r,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,d=t._nextRemoved;return null===a?this._removalsHead=d:a._nextRemoved=d,null===d?this._removalsTail=a:d._prevRemoved=a,this._insertAfter(t,r,s),this._addToMoves(t,s),t}_moveAfter(t,r,s){return this._unlink(t),this._insertAfter(t,r,s),this._addToMoves(t,s),t}_addAfter(t,r,s){return this._insertAfter(t,r,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,s){const a=null===r?this._itHead:r._next;return t._next=a,t._prev=r,null===a?this._itTail=t:a._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new tv),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,s=t._next;return null===r?this._itHead=s:r._next=s,null===s?this._itTail=r:s._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tv),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,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ZM{constructor(t,r){this.item=t,this.trackById=r,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 QM{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,r){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===r||r<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const r=t._prevDup,s=t._nextDup;return null===r?this._head=s:r._nextDup=s,null===s?this._tail=r:s._prevDup=r,null===this._head}}class tv{constructor(){this.map=new Map}put(t){const r=t.trackById;let s=this.map.get(r);s||(s=new QM,this.map.set(r,s)),s.add(t)}get(t,r){const a=this.map.get(t);return a?a.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function nv(e,t,r){const s=e.previousIndex;if(null===s)return s;let a=0;return r&&s{if(r&&r.key===a)this._maybeAddToChanges(r,s),this._appendAfter=r,r=r._next;else{const d=this._getOrCreateRecordForKey(a,s);r=this._insertBeforeOrAppend(r,d)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let s=r;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const s=t._prev;return r._next=t,r._prev=s,t._prev=r,s&&(s._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,r);const d=a._prev,f=a._next;return d&&(d._next=f),f&&(f._prev=d),a._next=null,a._prev=null,a}const s=new JM(t);return this._records.set(t,s),s.currentValue=r,this._addToAdditions(s),s}_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,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,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,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(s=>r(t[s],s))}}class JM{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 rv(){return new Ou([new ev])}let Ou=(()=>{class e{constructor(r){this.factories=r}static create(r,s){if(null!=s){const a=s.factories.slice();r=r.concat(a)}return new e(r)}static extend(r){return{provide:e,useFactory:s=>e.create(r,s||rv()),deps:[[e,new us,new Fr]]}}find(r){const s=this.factories.find(a=>a.supports(r));if(null!=s)return s;throw new Error(`Cannot find a differ supporting object '${r}' of type '${function(e){return e.name||typeof e}(r)}'`)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:rv}),e})();function sv(){return new Pu([new iv])}let Pu=(()=>{class e{constructor(r){this.factories=r}static create(r,s){if(s){const a=s.factories.slice();r=r.concat(a)}return new e(r)}static extend(r){return{provide:e,useFactory:s=>e.create(r,s||sv()),deps:[[e,new us,new Fr]]}}find(r){const s=this.factories.find(a=>a.supports(r));if(s)return s;throw new Error(`Cannot find a differ supporting object '${r}'`)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:sv}),e})();function Fu(e,t,r,s,a=!1){for(;null!==r;){const d=t[r.index];if(null!==d&&s.push(L(d)),oi(d))for(let _=10;_-1&&(ac(t,s),bo(r,s))}this._attachedToViewContainer=!1}Wd(this._lView[1],this._lView)}onDestroy(t){bc(this._lView[1],this._lView,null,t)}markForCheck(){Sf(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Af(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,r){Pe(!0);try{Af(e,t,r)}finally{Pe(!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,ua(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class ew extends Rc{constructor(t){super(t),this._view=t}detectChanges(){xg(this._view)}checkNoChanges(){!function(e){Pe(!0);try{xg(e)}finally{Pe(!1)}}(this._view)}get context(){return null}}const nw=function(e){return function(e,t,r){if(Ve(e)&&!r){const s=Jn(e.index,t);return new Rc(s,s)}return 47&e.type?new Rc(t[16],t):null}(ki(),Kt(),16==(16&e))};let iw=(()=>{class e{}return e.__NG_ELEMENT_ID__=nw,e})();const ow=[new iv],lw=new Ou([new ev]),cw=new Pu(ow),uw=function(){return Lu(ki(),Kt())};let Oc=(()=>{class e{}return e.__NG_ELEMENT_ID__=uw,e})();const hw=Oc,fw=class extends hw{constructor(t,r,s){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=s}createEmbeddedView(t){const r=this._declarationTContainer.tViews,s=o(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null);s[17]=this._declarationLView[this._declarationTContainer.index];const d=this._declarationLView[19];return null!==d&&(s[19]=d.createEmbeddedView(r)),Ze(r,s,t),new Rc(s)}};function Lu(e,t){return 4&e.type?new fw(t,e,gl(e,t)):null}class _a{}class ov{}const gw=function(){return cv(ki(),Kt())};let Nu=(()=>{class e{}return e.__NG_ELEMENT_ID__=gw,e})();const vw=Nu,av=class extends vw{constructor(t,r,s){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=s}get element(){return gl(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sa(this._hostTNode,this._hostLView);if(Wo(t)){const r=Ws(t,this._hostLView),s=As(t);return new Kn(r[1].data[s+8],r)}return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=lv(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,r,s){const a=t.createEmbeddedView(r||{});return this.insert(a,s),a}createComponent(t,r,s,a,d){const f=s||this.parentInjector;if(!d&&null==t.ngModule&&f){const N=f.get(_a,null);N&&(d=N)}const _=t.create(f,a,void 0,d);return this.insert(_.hostView,r),_}insert(t,r){const s=t._lView,a=s[1];if(oi(s[3])){const le=this.indexOf(t);if(-1!==le)this.detach(le);else{const Ae=s[3],Ne=new av(Ae,Ae[6],Ae[3]);Ne.detach(Ne.indexOf(t))}}const d=this._adjustIndex(r),f=this._lContainer;!function(e,t,r,s){const a=10+s,d=r.length;s>0&&(r[a-1][4]=t),snc});class kv extends $0{constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=t.selectors.map(hf).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}get inputs(){return Iv(this.componentDef.inputs)}get outputs(){return Iv(this.componentDef.outputs)}create(t,r,s,a){const d=(a=a||this.ngModule)?function(e,t){return{get:(r,s,a)=>{const d=e.get(r,bl,a);return d!==bl||s===bl?d:t.get(r,s,a)}}}(t,a.injector):t,f=d.get(Ru,X),_=d.get(yp,null),N=f.createRenderer(null,this.componentDef),W=this.componentDef.selectors[0][0]||"div",le=s?function(e,t,r){if(Z(e))return e.selectRootElement(t,r===V.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}(N,s,this.componentDef.encapsulation):zd(f.createRenderer(null,this.componentDef),W,function(e){const t=e.toLowerCase();return"svg"===t?is:"math"===t?"http://www.w3.org/1998/MathML/":null}(W)),Ae=this.componentDef.onPush?576:528,Ne=function(e,t){return{components:[],scheduler:e||nc,clean:Wb,playerHandler:t||null,flags:0}}(),st=pr(0,null,null,1,0,null,null,null,null,null),mt=o(null,st,Ne,Ae,null,null,f,N,_,d);let Pt,Et;qr(mt);try{const rn=function(e,t,r,s,a,d){const f=r[1];r[20]=e;const N=h(f,20,2,"#host",null),W=N.mergedAttrs=t.hostAttrs;null!==W&&(bu(N,W,!0),null!==e&&(zo(a,e,W),null!==N.classes&&hc(a,e,N.classes),null!==N.styles&&iu(a,e,N.styles)));const le=s.createRenderer(e,t),Ae=o(r,os(t),null,t.onPush?64:16,r[20],N,s,le,d||null,null);return f.firstCreatePass&&(j(yo(N,r),f,t.type),Cg(f,N),Dg(N,r.length,1)),yu(r,Ae),r[20]=Ae}(le,this.componentDef,mt,f,N);if(le)if(s)zo(N,le,["ng-version",X0.full]);else{const{attrs:Ht,classes:Dn}=function(e){const t=[],r=[];let s=1,a=2;for(;s0&&hc(N,le,Dn.join(" "))}if(Et=Zn(st,20),void 0!==r){const Ht=Et.projection=[];for(let Dn=0;DnN(f,t)),t.contentQueries){const N=ki();t.contentQueries(1,f,N.directiveStart)}const _=ki();return!d.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(jr(_.index),yg(r[1],_,0,_.directiveStart,_.directiveEnd,t),bg(t,f)),f}(rn,this.componentDef,mt,Ne,[vC]),Ze(st,mt,null)}finally{br()}return new _x(this.componentType,Pt,gl(Et,mt),mt,Et)}}class _x extends class{}{constructor(t,r,s,a,d){super(),this.location=s,this._rootLView=a,this._tNode=d,this.instance=r,this.hostView=this.changeDetectorRef=new ew(a),this.componentType=t}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Cl=new Map;class bx extends _a{constructor(t,r){super(),this._parent=r,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Av(this);const s=ei(t),a=t[Re]||null;a&&up(a),this._bootstrapComponents=Cs(s.bootstrap),this._r3Injector=Og(t,r,[{provide:_a,useValue:this},{provide:ml,useValue:this.componentFactoryResolver}],b(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,r=ji.THROW_IF_NOT_FOUND,s=Ct.Default){return t===ji||t===_a||t===Ja?this:this._r3Injector.get(t,r,s)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Op extends ov{constructor(t){super(),this.moduleType=t,null!==ei(t)&&function(e){const t=new Set;!function r(s){const a=ei(s,!0),d=a.id;null!==d&&(function(e,t,r){if(t&&t!==r)throw new Error(`Duplicate module registered for ${e} - ${b(t)} vs ${b(t.name)}`)}(d,Cl.get(d),s),Cl.set(d,s));const f=Cs(a.imports);for(const _ of f)t.has(_)||(t.add(_),r(_))}(e)}(t)}create(t){return new bx(this.moduleType,t)}}function Pv(e,t,r){const s=Xe()+e,a=Kt();return a[s]===Yn?oo(a,s,r?t.call(r):t()):xc(a,s)}function Fv(e,t,r,s){return jv(Kt(),Xe(),e,t,r,s)}function Lv(e,t,r,s,a){return Gv(Kt(),Xe(),e,t,r,s,a)}function Nv(e,t,r,s,a,d){return zv(Kt(),Xe(),e,t,r,s,a,d)}function Bv(e,t,r,s,a,d,f){return function(e,t,r,s,a,d,f,_,N){const W=t+r;return Ms(e,W,a,d,f,_)?oo(e,W+4,N?s.call(N,a,d,f,_):s(a,d,f,_)):Uc(e,W+4)}(Kt(),Xe(),e,t,r,s,a,d,f)}function Vv(e,t,r,s,a,d,f,_){const N=Xe()+e,W=Kt(),le=Ms(W,N,r,s,a,d);return Wr(W,N+4,f)||le?oo(W,N+5,_?t.call(_,r,s,a,d,f):t(r,s,a,d,f)):xc(W,N+5)}function Hv(e,t,r,s,a,d,f,_,N){const W=Xe()+e,le=Kt(),Ae=Ms(le,W,r,s,a,d);return ma(le,W+4,f,_)||Ae?oo(le,W+6,N?t.call(N,r,s,a,d,f,_):t(r,s,a,d,f,_)):xc(le,W+6)}function Uv(e,t,r,s,a,d,f,_,N,W){const le=Xe()+e,Ae=Kt();let Ne=Ms(Ae,le,r,s,a,d);return Du(Ae,le+4,f,_,N)||Ne?oo(Ae,le+7,W?t.call(W,r,s,a,d,f,_,N):t(r,s,a,d,f,_,N)):xc(Ae,le+7)}function Yv(e,t,r,s){return function(e,t,r,s,a,d){let f=t+r,_=!1;for(let N=0;N=0;r--){const s=t[r];if(e===s.name)return s}throw new $("302",`The pipe '${e}' could not be found!`)}(t,r.pipeRegistry),r.data[a]=s,s.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(a,s.onDestroy)):s=r.data[a];const d=s.factory||(s.factory=Li(s.type)),f=x(Ec);try{const _=Ks(!1),N=d();return Ks(_),function(e,t,r,s){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=s}(r,Kt(),a,N),N}finally{x(f)}}function Zv(e,t,r){const s=e+20,a=Kt(),d=En(a,s);return jc(a,Yc(a,s)?jv(a,Xe(),t,d.transform,r,d):d.transform(r))}function Qv(e,t,r,s){const a=e+20,d=Kt(),f=En(d,a);return jc(d,Yc(d,a)?Gv(d,Xe(),t,f.transform,r,s,f):f.transform(r,s))}function qv(e,t,r,s,a){const d=e+20,f=Kt(),_=En(f,d);return jc(f,Yc(f,d)?zv(f,Xe(),t,_.transform,r,s,a,_):_.transform(r,s,a))}function Yc(e,t){return e[1].data[t].pure}function jc(e,t){return Ls.isWrapped(t)&&(t=Ls.unwrap(t),e[xn.lFrame.bindingIndex]=Yn),t}function Pp(e){return t=>{setTimeout(e,void 0,t)}}const uo=class extends l.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,s){var a,d,f;let _=t,N=r||(()=>null),W=s;if(t&&"object"==typeof t){const Ae=t;_=null===(a=Ae.next)||void 0===a?void 0:a.bind(Ae),N=null===(d=Ae.error)||void 0===d?void 0:d.bind(Ae),W=null===(f=Ae.complete)||void 0===f?void 0:f.bind(Ae)}this.__isAsync&&(N=Pp(N),_&&(_=Pp(_)),W&&(W=Pp(W)));const le=super.subscribe({next:_,error:N,complete:W});return t instanceof n.w&&t.add(le),le}};function Ex(){return this._results[tl()]()}class Gc{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 r=tl(),s=Gc.prototype;s[r]||(s[r]=Ex)}get changes(){return this._changes||(this._changes=new uo)}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,r){return this._results.reduce(t,r)}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,r){const s=this;s.dirty=!1;const a=ss(t);(this._changesDetected=!function(e,t,r){if(e.length!==t.length)return!1;for(let s=0;s0)s.push(f[_/2]);else{const W=d[_+1],le=t[-N];for(let Ae=10;Ae{class e{constructor(r){this.appInits=r,this.resolve=ku,this.reject=ku,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,a)=>{this.resolve=s,this.reject=a})}runInitializers(){if(this.initialized)return;const r=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a{d.subscribe({complete:_,error:N})});r.push(f)}}Promise.all(r).then(()=>{s()}).catch(a=>{this.reject(a)}),0===r.length&&s(),this.initialized=!0}}return e.\u0275fac=function(r){return new(r||e)($i(zp,8))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const xy=new Ui("AppId"),aE={provide:xy,useFactory:function(){return`${Wp()}${Wp()}${Wp()}`},deps:[]};function Wp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ey=new Ui("Platform Initializer"),Sy=new Ui("Platform ID"),Ty=new Ui("appBootstrapListener");let Ay=(()=>{class e{log(r){console.log(r)}warn(r){console.warn(r)}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const Gu=new Ui("LocaleId"),Iy=new Ui("DefaultCurrencyCode");class cE{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}const Kp=function(e){return new Op(e)},dE=Kp,uE=function(e){return Promise.resolve(Kp(e))},ky=function(e){const t=Kp(e),s=Cs(ei(e).declarations).reduce((a,d)=>{const f=ri(d);return f&&a.push(new kv(f)),a},[]);return new cE(t,s)},hE=ky,fE=function(e){return Promise.resolve(ky(e))};let Wc=(()=>{class e{constructor(){this.compileModuleSync=dE,this.compileModuleAsync=uE,this.compileModuleAndAllComponentsSync=hE,this.compileModuleAndAllComponentsAsync=fE}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const gE=(()=>Promise.resolve(0))();function $p(e){"undefined"==typeof Zone?gE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class _s{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new uo(!1),this.onMicrotaskEmpty=new uo(!1),this.onStable=new uo(!1),this.onError=new uo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!s&&r,a.shouldCoalesceRunChangeDetection=s,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function(){let e=kt.requestAnimationFrame,t=kt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(kt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Qp(e),e.isCheckStableRunning=!0,Zp(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Qp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,s,a,d,f,_)=>{try{return Ry(e),r.invokeTask(a,d,f,_)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||e.shouldCoalesceRunChangeDetection)&&t(),Oy(e)}},onInvoke:(r,s,a,d,f,_,N)=>{try{return Ry(e),r.invoke(a,d,f,_,N)}finally{e.shouldCoalesceRunChangeDetection&&t(),Oy(e)}},onHasTask:(r,s,a,d)=>{r.hasTask(a,d),s===a&&("microTask"==d.change?(e._hasPendingMicrotasks=d.microTask,Qp(e),Zp(e)):"macroTask"==d.change&&(e.hasPendingMacrotasks=d.macroTask))},onHandleError:(r,s,a,d)=>(r.handleError(a,d),e.runOutsideAngular(()=>e.onError.emit(d)),!1)})}(a)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_s.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_s.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,r,s){return this._inner.run(t,r,s)}runTask(t,r,s,a){const d=this._inner,f=d.scheduleEventTask("NgZoneEvent: "+a,t,vE,ku,ku);try{return d.runTask(f,r,s)}finally{d.cancelTask(f)}}runGuarded(t,r,s){return this._inner.runGuarded(t,r,s)}runOutsideAngular(t){return this._outer.run(t)}}const vE={};function Zp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Qp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ry(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oy(e){e._nesting--,Zp(e)}class CE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uo,this.onMicrotaskEmpty=new uo,this.onStable=new uo,this.onError=new uo}run(t,r,s){return t.apply(r,s)}runGuarded(t,r,s){return t.apply(r,s)}runOutsideAngular(t){return t()}runTask(t,r,s,a){return t.apply(r,s)}}let Py=(()=>{class e{constructor(r){this._ngZone=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),r.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:()=>{_s.assertNotInAngularZone(),$p(()=>{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())$p(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(r)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,s,a){let d=-1;s&&s>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==d),r(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:r,timeoutId:d,updateCb:a})}whenStable(r,s,a){if(a&&!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(r,s,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(r,s,a){return[]}}return e.\u0275fac=function(r){return new(r||e)($i(_s))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})(),Fy=(()=>{class e{constructor(){this._applications=new Map,qp.addToWindow(this)}registerApplication(r,s){this._applications.set(r,s)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,s=!0){return qp.findTestabilityInTree(this,r,s)}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();class DE{addToWindow(t){}findTestabilityInTree(t,r,s){return null}}function ME(e){qp=e}let qp=new DE,Ly=!0,Ny=!1;function Jp(){return Ny=!0,Ly}function wE(){if(Ny)throw new Error("Cannot enable prod mode after platform setup.");Ly=!1}let Us;const By=new Ui("AllowMultipleToken");class kE{constructor(t,r){this.name=t,this.token=r}}function Vy(e,t,r=[]){const s=`Platform: ${t}`,a=new Ui(s);return(d=[])=>{let f=Hy();if(!f||f.injector.get(By,!1))if(e)e(r.concat(d).concat({provide:a,useValue:!0}));else{const _=r.concat(d).concat({provide:a,useValue:!0},{provide:Cc,useValue:"platform"});!function(e){if(Us&&!Us.destroyed&&!Us.injector.get(By,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Us=e.get(Uy);const t=e.get(Ey,null);t&&t.forEach(r=>r())}(ji.create({providers:_,name:s}))}return function(e){const t=Hy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(a)}}function Hy(){return Us&&!Us.destroyed?Us:null}let Uy=(()=>{class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,s){const _=function(e,t){let r;return r="noop"===e?new CE:("zone.js"===e?void 0:e)||new _s({enableLongStackTrace:Jp(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),r}(s?s.ngZone:void 0,{ngZoneEventCoalescing:s&&s.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:s&&s.ngZoneRunCoalescing||!1}),N=[{provide:_s,useValue:_}];return _.run(()=>{const W=ji.create({providers:N,parent:this.injector,name:r.moduleType.name}),le=r.create(W),Ae=le.injector.get(xo,null);if(!Ae)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return _.runOutsideAngular(()=>{const Ne=_.onError.subscribe({next:st=>{Ae.handleError(st)}});le.onDestroy(()=>{Xp(this._modules,le),Ne.unsubscribe()})}),function(e,t,r){try{const s=r();return Jf(s)?s.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(Ae,_,()=>{const Ne=le.injector.get(Ml);return Ne.runInitializers(),Ne.donePromise.then(()=>(up(le.injector.get(Gu,Eu)||Eu),this._moduleDoBootstrap(le),le))})})}bootstrapModule(r,s=[]){const a=Yy({},s);return function(e,t,r){const s=new Op(r);return Promise.resolve(s)}(0,0,r).then(d=>this.bootstrapModuleFactory(d,a))}_moduleDoBootstrap(r){const s=r.injector.get(Kc);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(a=>s.bootstrap(a));else{if(!r.instance.ngDoBootstrap)throw new Error(`The module ${b(r.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);r.instance.ngDoBootstrap(s)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(r){return new(r||e)($i(ji))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function Yy(e,t){return Array.isArray(t)?t.reduce(Yy,e):Object.assign(Object.assign({},e),t)}let Kc=(()=>{class e{constructor(r,s,a,d,f){this._zone=r,this._injector=s,this._exceptionHandler=a,this._componentFactoryResolver=d,this._initStatus=f,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 _=new m.y(W=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{W.next(this._stable),W.complete()})}),N=new m.y(W=>{let le;this._zone.runOutsideAngular(()=>{le=this._zone.onStable.subscribe(()=>{_s.assertNotInAngularZone(),$p(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,W.next(!0))})})});const Ae=this._zone.onUnstable.subscribe(()=>{_s.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{W.next(!1)}))});return()=>{le.unsubscribe(),Ae.unsubscribe()}});this.isStable=(0,P.T)(_,N.pipe((0,g.B)()))}bootstrap(r,s){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 a;a=r instanceof $0?r:this._componentFactoryResolver.resolveComponentFactory(r),this.componentTypes.push(a.componentType);const d=function(e){return e.isBoundToModule}(a)?void 0:this._injector.get(_a),_=a.create(ji.NULL,[],s||a.selector,d),N=_.location.nativeElement,W=_.injector.get(Py,null),le=W&&_.injector.get(Fy);return W&&le&&le.registerApplication(N,W),_.onDestroy(()=>{this.detachView(_.hostView),Xp(this.components,_),le&&le.unregisterApplication(N)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(r))}finally{this._runningTick=!1}}attachView(r){const s=r;this._views.push(s),s.attachToAppRef(this)}detachView(r){const s=r;Xp(this._views,s),s.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r),this._injector.get(Ty,[]).concat(this._bootstrapListeners).forEach(a=>a(r))}ngOnDestroy(){this._views.slice().forEach(r=>r.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(r){return new(r||e)($i(_s),$i(ji),$i(xo),$i(ml),$i(Ml))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function Xp(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class NE{}class VE{}const HE={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let UE=(()=>{class e{constructor(r,s){this._compiler=r,this._config=s||HE}load(r){return this.loadAndCompile(r)}loadAndCompile(r){let[s,a]=r.split("#");return void 0===a&&(a="default"),p(8255)(s).then(d=>d[a]).then(d=>Wy(d,s,a)).then(d=>this._compiler.compileModuleAsync(d))}loadFactory(r){let[s,a]=r.split("#"),d="NgFactory";return void 0===a&&(a="default",d=""),p(8255)(this._config.factoryPathPrefix+s+this._config.factoryPathSuffix).then(f=>f[a+d]).then(f=>Wy(f,s,a))}}return e.\u0275fac=function(r){return new(r||e)($i(Wc),$i(VE,8))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function Wy(e,t,r){if(!e)throw new Error(`Cannot find '${r}' in '${t}'`);return e}const ZE=function(e){return null},qE=Vy(null,"core",[{provide:Sy,useValue:"unknown"},{provide:Uy,deps:[ji]},{provide:Fy,deps:[]},{provide:Ay,deps:[]}]),nS=[{provide:Kc,useClass:Kc,deps:[_s,ji,xo,ml,Ml]},{provide:px,deps:[_s],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(r){t.push(r)}}},{provide:Ml,useClass:Ml,deps:[[new Fr,zp]]},{provide:Wc,useClass:Wc,deps:[]},aE,{provide:Ou,useFactory:function(){return lw},deps:[]},{provide:Pu,useFactory:function(){return cw},deps:[]},{provide:Gu,useFactory:function(e){return up(e=e||"undefined"!=typeof $localize&&$localize.locale||Eu),e},deps:[[new Lo(Gu),new Fr,new us]]},{provide:Iy,useValue:"USD"}];let rS=(()=>{class e{constructor(r){}}return e.\u0275fac=function(r){return new(r||e)($i(Kc))},e.\u0275mod=Ut({type:e}),e.\u0275inj=tt({providers:nS}),e})()},3679:(ft,Fe,p)=>{"use strict";p.d(Fe,{Zs:()=>Ai,gN:()=>St,Fj:()=>J,qu:()=>we,sg:()=>Me,u5:()=>Sr,Cf:()=>te,JU:()=>b,a5:()=>gt,JJ:()=>qt,JL:()=>Ct,F:()=>ni,On:()=>Nn,UX:()=>Vi,kI:()=>qe,_Y:()=>mn});var l=p(7716),n=p(8583),m=p(4402),P=p(5758),g=p(8002);let D=(()=>{class k{constructor(B,ue){this._renderer=B,this._elementRef=ue,this.onChange=yt=>{},this.onTouched=()=>{}}setProperty(B,ue){this._renderer.setProperty(this._elementRef.nativeElement,B,ue)}registerOnTouched(B){this.onTouched=B}registerOnChange(B){this.onChange=B}setDisabledState(B){this.setProperty("disabled",B)}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(l.Qsj),l.Y36(l.SBq))},k.\u0275dir=l.lG2({type:k}),k})(),I=(()=>{class k extends D{}return k.\u0275fac=function(){let L;return function(ue){return(L||(L=l.n5z(k)))(ue||k)}}(),k.\u0275dir=l.lG2({type:k,features:[l.qOj]}),k})();const b=new l.OlP("NgValueAccessor"),R={provide:b,useExisting:(0,l.Gpc)(()=>J),multi:!0},K=new l.OlP("CompositionEventMode");let J=(()=>{class k extends D{constructor(B,ue,yt){super(B,ue),this._compositionMode=yt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const k=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(B){this.setProperty("value",null==B?"":B)}_handleInput(B){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(B)}_compositionStart(){this._composing=!0}_compositionEnd(B){this._composing=!1,this._compositionMode&&this.onChange(B)}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(K,8))},k.\u0275dir=l.lG2({type:k,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(B,ue){1&B&&l.NdJ("input",function(zt){return ue._handleInput(zt.target.value)})("blur",function(){return ue.onTouched()})("compositionstart",function(){return ue._compositionStart()})("compositionend",function(zt){return ue._compositionEnd(zt.target.value)})},features:[l._Bn([R]),l.qOj]}),k})();function $(k){return null==k||0===k.length}function ee(k){return null!=k&&"number"==typeof k.length}const te=new l.OlP("NgValidators"),ce=new l.OlP("NgAsyncValidators"),De=/^(?=.{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 qe{static min(L){return k=L,L=>{if($(L.value)||$(k))return null;const B=parseFloat(L.value);return!isNaN(B)&&B{if($(L.value)||$(k))return null;const B=parseFloat(L.value);return!isNaN(B)&&B>k?{max:{max:k,actual:L.value}}:null};var k}static required(L){return ve(L)}static requiredTrue(L){return re(L)}static email(L){return $((k=L).value)||De.test(k.value)?null:{email:!0};var k}static minLength(L){return k=L,L=>$(L.value)||!ee(L.value)?null:L.value.lengthee(L.value)&&L.value.length>k?{maxlength:{requiredLength:k,actualLength:L.value.length}}:null;var k}static pattern(L){return function(k){if(!k)return be;let L,B;return"string"==typeof k?(B="","^"!==k.charAt(0)&&(B+="^"),B+=k,"$"!==k.charAt(k.length-1)&&(B+="$"),L=new RegExp(B)):(B=k.toString(),L=k),ue=>{if($(ue.value))return null;const yt=ue.value;return L.test(yt)?null:{pattern:{requiredPattern:B,actualValue:yt}}}}(L)}static nullValidator(L){return null}static compose(L){return Oe(L)}static composeAsync(L){return Ke(L)}}function ve(k){return $(k.value)?{required:!0}:null}function re(k){return!0===k.value?null:{required:!0}}function be(k){return null}function Ue(k){return null!=k}function rt(k){const L=(0,l.QGY)(k)?(0,m.D)(k):k;return(0,l.CqO)(L),L}function et(k){let L={};return k.forEach(B=>{L=null!=B?Object.assign(Object.assign({},L),B):L}),0===Object.keys(L).length?null:L}function Tt(k,L){return L.map(B=>B(k))}function dt(k){return k.map(L=>function(k){return!k.validate}(L)?L:B=>L.validate(B))}function Oe(k){if(!k)return null;const L=k.filter(Ue);return 0==L.length?null:function(B){return et(Tt(B,L))}}function je(k){return null!=k?Oe(dt(k)):null}function Ke(k){if(!k)return null;const L=k.filter(Ue);return 0==L.length?null:function(B){const ue=Tt(B,L).map(rt);return(0,P.D)(ue).pipe((0,g.U)(et))}}function Be(k){return null!=k?Ke(dt(k)):null}function At(k,L){return null===k?[L]:Array.isArray(k)?[...k,L]:[k,L]}function at(k){return k._rawValidators}function Ye(k){return k._rawAsyncValidators}function lt(k){return k?Array.isArray(k)?k:[k]:[]}function tt(k,L){return Array.isArray(k)?k.includes(L):k===L}function wt(k,L){const B=lt(L);return lt(k).forEach(yt=>{tt(B,yt)||B.push(yt)}),B}function Gt(k,L){return lt(L).filter(B=>!tt(k,B))}let en=(()=>{class k{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(B){this._rawValidators=B||[],this._composedValidatorFn=je(this._rawValidators)}_setAsyncValidators(B){this._rawAsyncValidators=B||[],this._composedAsyncValidatorFn=Be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(B){this._onDestroyCallbacks.push(B)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(B=>B()),this._onDestroyCallbacks=[]}reset(B){this.control&&this.control.reset(B)}hasError(B,ue){return!!this.control&&this.control.hasError(B,ue)}getError(B,ue){return this.control?this.control.getError(B,ue):null}}return k.\u0275fac=function(B){return new(B||k)},k.\u0275dir=l.lG2({type:k}),k})(),St=(()=>{class k extends en{get formDirective(){return null}get path(){return null}}return k.\u0275fac=function(){let L;return function(ue){return(L||(L=l.n5z(k)))(ue||k)}}(),k.\u0275dir=l.lG2({type:k,features:[l.qOj]}),k})();class gt extends en{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qe{constructor(L){this._cd=L}is(L){var B,ue,yt;return"submitted"===L?!!(null===(B=this._cd)||void 0===B?void 0:B.submitted):!!(null===(yt=null===(ue=this._cd)||void 0===ue?void 0:ue.control)||void 0===yt?void 0:yt[L])}}let qt=(()=>{class k extends Qe{constructor(B){super(B)}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(gt,2))},k.\u0275dir=l.lG2({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(B,ue){2&B&&l.ekj("ng-untouched",ue.is("untouched"))("ng-touched",ue.is("touched"))("ng-pristine",ue.is("pristine"))("ng-dirty",ue.is("dirty"))("ng-valid",ue.is("valid"))("ng-invalid",ue.is("invalid"))("ng-pending",ue.is("pending"))},features:[l.qOj]}),k})(),Ct=(()=>{class k extends Qe{constructor(B){super(B)}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(St,10))},k.\u0275dir=l.lG2({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(B,ue){2&B&&l.ekj("ng-untouched",ue.is("untouched"))("ng-touched",ue.is("touched"))("ng-pristine",ue.is("pristine"))("ng-dirty",ue.is("dirty"))("ng-valid",ue.is("valid"))("ng-invalid",ue.is("invalid"))("ng-pending",ue.is("pending"))("ng-submitted",ue.is("submitted"))},features:[l.qOj]}),k})();function xt(k,L){Wt(k,L),L.valueAccessor.writeValue(k.value),function(k,L){L.valueAccessor.registerOnChange(B=>{k._pendingValue=B,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&ht(k,L)})}(k,L),function(k,L){const B=(ue,yt)=>{L.valueAccessor.writeValue(ue),yt&&L.viewToModelUpdate(ue)};k.registerOnChange(B),L._registerOnDestroy(()=>{k._unregisterOnChange(B)})}(k,L),function(k,L){L.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&ht(k,L),"submit"!==k.updateOn&&k.markAsTouched()})}(k,L),function(k,L){if(L.valueAccessor.setDisabledState){const B=ue=>{L.valueAccessor.setDisabledState(ue)};k.registerOnDisabledChange(B),L._registerOnDestroy(()=>{k._unregisterOnDisabledChange(B)})}}(k,L)}function kt(k,L,B=!0){const ue=()=>{};L.valueAccessor&&(L.valueAccessor.registerOnChange(ue),L.valueAccessor.registerOnTouched(ue)),an(k,L),k&&(L._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function Yt(k,L){k.forEach(B=>{B.registerOnValidatorChange&&B.registerOnValidatorChange(L)})}function Wt(k,L){const B=at(k);null!==L.validator?k.setValidators(At(B,L.validator)):"function"==typeof B&&k.setValidators([B]);const ue=Ye(k);null!==L.asyncValidator?k.setAsyncValidators(At(ue,L.asyncValidator)):"function"==typeof ue&&k.setAsyncValidators([ue]);const yt=()=>k.updateValueAndValidity();Yt(L._rawValidators,yt),Yt(L._rawAsyncValidators,yt)}function an(k,L){let B=!1;if(null!==k){if(null!==L.validator){const yt=at(k);if(Array.isArray(yt)&&yt.length>0){const zt=yt.filter(wn=>wn!==L.validator);zt.length!==yt.length&&(B=!0,k.setValidators(zt))}}if(null!==L.asyncValidator){const yt=Ye(k);if(Array.isArray(yt)&&yt.length>0){const zt=yt.filter(wn=>wn!==L.asyncValidator);zt.length!==yt.length&&(B=!0,k.setAsyncValidators(zt))}}}const ue=()=>{};return Yt(L._rawValidators,ue),Yt(L._rawAsyncValidators,ue),B}function ht(k,L){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),L.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function Re(k,L){Wt(k,L)}function ye(k,L){k._syncPendingControls(),L.forEach(B=>{const ue=B.control;"submit"===ue.updateOn&&ue._pendingChange&&(B.viewToModelUpdate(ue._pendingValue),ue._pendingChange=!1)})}function _t(k,L){const B=k.indexOf(L);B>-1&&k.splice(B,1)}const Qt="VALID",Hn="INVALID",On="PENDING",qn="DISABLED";function Xn(k){return(ti(k)?k.validators:k)||null}function pi(k){return Array.isArray(k)?je(k):k||null}function ei(k,L){return(ti(L)?L.asyncValidators:k)||null}function Oi(k){return Array.isArray(k)?Be(k):k||null}function ti(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}class Xt{constructor(L,B){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=L,this._rawAsyncValidators=B,this._composedValidatorFn=pi(this._rawValidators),this._composedAsyncValidatorFn=Oi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(L){this._rawValidators=this._composedValidatorFn=L}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(L){this._rawAsyncValidators=this._composedAsyncValidatorFn=L}get parent(){return this._parent}get valid(){return this.status===Qt}get invalid(){return this.status===Hn}get pending(){return this.status==On}get disabled(){return this.status===qn}get enabled(){return this.status!==qn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(L){this._rawValidators=L,this._composedValidatorFn=pi(L)}setAsyncValidators(L){this._rawAsyncValidators=L,this._composedAsyncValidatorFn=Oi(L)}addValidators(L){this.setValidators(wt(L,this._rawValidators))}addAsyncValidators(L){this.setAsyncValidators(wt(L,this._rawAsyncValidators))}removeValidators(L){this.setValidators(Gt(L,this._rawValidators))}removeAsyncValidators(L){this.setAsyncValidators(Gt(L,this._rawAsyncValidators))}hasValidator(L){return tt(this._rawValidators,L)}hasAsyncValidator(L){return tt(this._rawAsyncValidators,L)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(L={}){this.touched=!0,this._parent&&!L.onlySelf&&this._parent.markAsTouched(L)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(L=>L.markAllAsTouched())}markAsUntouched(L={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(B=>{B.markAsUntouched({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}markAsDirty(L={}){this.pristine=!1,this._parent&&!L.onlySelf&&this._parent.markAsDirty(L)}markAsPristine(L={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(B=>{B.markAsPristine({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}markAsPending(L={}){this.status=On,!1!==L.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!L.onlySelf&&this._parent.markAsPending(L)}disable(L={}){const B=this._parentMarkedDirty(L.onlySelf);this.status=qn,this.errors=null,this._forEachChild(ue=>{ue.disable(Object.assign(Object.assign({},L),{onlySelf:!0}))}),this._updateValue(),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},L),{skipPristineCheck:B})),this._onDisabledChange.forEach(ue=>ue(!0))}enable(L={}){const B=this._parentMarkedDirty(L.onlySelf);this.status=Qt,this._forEachChild(ue=>{ue.enable(Object.assign(Object.assign({},L),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},L),{skipPristineCheck:B})),this._onDisabledChange.forEach(ue=>ue(!1))}_updateAncestors(L){this._parent&&!L.onlySelf&&(this._parent.updateValueAndValidity(L),L.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(L){this._parent=L}updateValueAndValidity(L={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qt||this.status===On)&&this._runAsyncValidator(L.emitEvent)),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!L.onlySelf&&this._parent.updateValueAndValidity(L)}_updateTreeValidity(L={emitEvent:!0}){this._forEachChild(B=>B._updateTreeValidity(L)),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qn:Qt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(L){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const B=rt(this.asyncValidator(this));this._asyncValidationSubscription=B.subscribe(ue=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ue,{emitEvent:L})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(L,B={}){this.errors=L,this._updateControlsErrors(!1!==B.emitEvent)}get(L){return function(k,L,B){if(null==L||(Array.isArray(L)||(L=L.split(".")),Array.isArray(L)&&0===L.length))return null;let ue=k;return L.forEach(yt=>{ue=ue instanceof Un?ue.controls.hasOwnProperty(yt)?ue.controls[yt]:null:ue instanceof ui&&ue.at(yt)||null}),ue}(this,L)}getError(L,B){const ue=B?this.get(B):this;return ue&&ue.errors?ue.errors[L]:null}hasError(L,B){return!!this.getError(L,B)}get root(){let L=this;for(;L._parent;)L=L._parent;return L}_updateControlsErrors(L){this.status=this._calculateStatus(),L&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(L)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?qn:this.errors?Hn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(Hn)?Hn:Qt}_anyControlsHaveStatus(L){return this._anyControls(B=>B.status===L)}_anyControlsDirty(){return this._anyControls(L=>L.dirty)}_anyControlsTouched(){return this._anyControls(L=>L.touched)}_updatePristine(L={}){this.pristine=!this._anyControlsDirty(),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}_updateTouched(L={}){this.touched=this._anyControlsTouched(),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}_isBoxedValue(L){return"object"==typeof L&&null!==L&&2===Object.keys(L).length&&"value"in L&&"disabled"in L}_registerOnCollectionChange(L){this._onCollectionChange=L}_setUpdateStrategy(L){ti(L)&&null!=L.updateOn&&(this._updateOn=L.updateOn)}_parentMarkedDirty(L){return!L&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class _n extends Xt{constructor(L=null,B,ue){super(Xn(B),ei(ue,B)),this._onChange=[],this._applyFormState(L),this._setUpdateStrategy(B),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(L,B={}){this.value=this._pendingValue=L,this._onChange.length&&!1!==B.emitModelToViewChange&&this._onChange.forEach(ue=>ue(this.value,!1!==B.emitViewToModelChange)),this.updateValueAndValidity(B)}patchValue(L,B={}){this.setValue(L,B)}reset(L=null,B={}){this._applyFormState(L),this.markAsPristine(B),this.markAsUntouched(B),this.setValue(this.value,B),this._pendingChange=!1}_updateValue(){}_anyControls(L){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(L){this._onChange.push(L)}_unregisterOnChange(L){_t(this._onChange,L)}registerOnDisabledChange(L){this._onDisabledChange.push(L)}_unregisterOnDisabledChange(L){_t(this._onDisabledChange,L)}_forEachChild(L){}_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(L){this._isBoxedValue(L)?(this.value=this._pendingValue=L.value,L.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=L}}class Un extends Xt{constructor(L,B,ue){super(Xn(B),ei(ue,B)),this.controls=L,this._initObservables(),this._setUpdateStrategy(B),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(L,B){return this.controls[L]?this.controls[L]:(this.controls[L]=B,B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange),B)}addControl(L,B,ue={}){this.registerControl(L,B),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}removeControl(L,B={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],this.updateValueAndValidity({emitEvent:B.emitEvent}),this._onCollectionChange()}setControl(L,B,ue={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],B&&this.registerControl(L,B),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}contains(L){return this.controls.hasOwnProperty(L)&&this.controls[L].enabled}setValue(L,B={}){this._checkAllValuesPresent(L),Object.keys(L).forEach(ue=>{this._throwIfControlMissing(ue),this.controls[ue].setValue(L[ue],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B)}patchValue(L,B={}){null!=L&&(Object.keys(L).forEach(ue=>{this.controls[ue]&&this.controls[ue].patchValue(L[ue],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B))}reset(L={},B={}){this._forEachChild((ue,yt)=>{ue.reset(L[yt],{onlySelf:!0,emitEvent:B.emitEvent})}),this._updatePristine(B),this._updateTouched(B),this.updateValueAndValidity(B)}getRawValue(){return this._reduceChildren({},(L,B,ue)=>(L[ue]=B instanceof _n?B.value:B.getRawValue(),L))}_syncPendingControls(){let L=this._reduceChildren(!1,(B,ue)=>!!ue._syncPendingControls()||B);return L&&this.updateValueAndValidity({onlySelf:!0}),L}_throwIfControlMissing(L){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[L])throw new Error(`Cannot find form control with name: ${L}.`)}_forEachChild(L){Object.keys(this.controls).forEach(B=>{const ue=this.controls[B];ue&&L(ue,B)})}_setUpControls(){this._forEachChild(L=>{L.setParent(this),L._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(L){for(const B of Object.keys(this.controls)){const ue=this.controls[B];if(this.contains(B)&&L(ue))return!0}return!1}_reduceValue(){return this._reduceChildren({},(L,B,ue)=>((B.enabled||this.disabled)&&(L[ue]=B.value),L))}_reduceChildren(L,B){let ue=L;return this._forEachChild((yt,zt)=>{ue=B(ue,yt,zt)}),ue}_allControlsDisabled(){for(const L of Object.keys(this.controls))if(this.controls[L].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(L){this._forEachChild((B,ue)=>{if(void 0===L[ue])throw new Error(`Must supply a value for form control with name: '${ue}'.`)})}}class ui extends Xt{constructor(L,B,ue){super(Xn(B),ei(ue,B)),this.controls=L,this._initObservables(),this._setUpdateStrategy(B),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(L){return this.controls[L]}push(L,B={}){this.controls.push(L),this._registerControl(L),this.updateValueAndValidity({emitEvent:B.emitEvent}),this._onCollectionChange()}insert(L,B,ue={}){this.controls.splice(L,0,B),this._registerControl(B),this.updateValueAndValidity({emitEvent:ue.emitEvent})}removeAt(L,B={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),this.controls.splice(L,1),this.updateValueAndValidity({emitEvent:B.emitEvent})}setControl(L,B,ue={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),this.controls.splice(L,1),B&&(this.controls.splice(L,0,B),this._registerControl(B)),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(L,B={}){this._checkAllValuesPresent(L),L.forEach((ue,yt)=>{this._throwIfControlMissing(yt),this.at(yt).setValue(ue,{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B)}patchValue(L,B={}){null!=L&&(L.forEach((ue,yt)=>{this.at(yt)&&this.at(yt).patchValue(ue,{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B))}reset(L=[],B={}){this._forEachChild((ue,yt)=>{ue.reset(L[yt],{onlySelf:!0,emitEvent:B.emitEvent})}),this._updatePristine(B),this._updateTouched(B),this.updateValueAndValidity(B)}getRawValue(){return this.controls.map(L=>L instanceof _n?L.value:L.getRawValue())}clear(L={}){this.controls.length<1||(this._forEachChild(B=>B._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:L.emitEvent}))}_syncPendingControls(){let L=this.controls.reduce((B,ue)=>!!ue._syncPendingControls()||B,!1);return L&&this.updateValueAndValidity({onlySelf:!0}),L}_throwIfControlMissing(L){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(L))throw new Error(`Cannot find form control at index ${L}`)}_forEachChild(L){this.controls.forEach((B,ue)=>{L(B,ue)})}_updateValue(){this.value=this.controls.filter(L=>L.enabled||this.disabled).map(L=>L.value)}_anyControls(L){return this.controls.some(B=>B.enabled&&L(B))}_setUpControls(){this._forEachChild(L=>this._registerControl(L))}_checkAllValuesPresent(L){this._forEachChild((B,ue)=>{if(void 0===L[ue])throw new Error(`Must supply a value for form control at index: ${ue}.`)})}_allControlsDisabled(){for(const L of this.controls)if(L.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(L){L.setParent(this),L._registerOnCollectionChange(this._onCollectionChange)}}const wi={provide:St,useExisting:(0,l.Gpc)(()=>ni)},vi=(()=>Promise.resolve(null))();let ni=(()=>{class k extends St{constructor(B,ue){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new l.vpe,this.form=new Un({},je(B),Be(ue))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(B){vi.then(()=>{const ue=this._findContainer(B.path);B.control=ue.registerControl(B.name,B.control),xt(B.control,B),B.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(B)})}getControl(B){return this.form.get(B.path)}removeControl(B){vi.then(()=>{const ue=this._findContainer(B.path);ue&&ue.removeControl(B.name),_t(this._directives,B)})}addFormGroup(B){vi.then(()=>{const ue=this._findContainer(B.path),yt=new Un({});Re(yt,B),ue.registerControl(B.name,yt),yt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(B){vi.then(()=>{const ue=this._findContainer(B.path);ue&&ue.removeControl(B.name)})}getFormGroup(B){return this.form.get(B.path)}updateModel(B,ue){vi.then(()=>{this.form.get(B.path).setValue(ue)})}setValue(B){this.control.setValue(B)}onSubmit(B){return this.submitted=!0,ye(this.form,this._directives),this.ngSubmit.emit(B),!1}onReset(){this.resetForm()}resetForm(B){this.form.reset(B),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(B){return B.pop(),B.length?this.form.get(B):this.form}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(te,10),l.Y36(ce,10))},k.\u0275dir=l.lG2({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(B,ue){1&B&&l.NdJ("submit",function(zt){return ue.onSubmit(zt)})("reset",function(){return ue.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([wi]),l.qOj]}),k})();const Ft={provide:gt,useExisting:(0,l.Gpc)(()=>Nn)},vn=(()=>Promise.resolve(null))();let Nn=(()=>{class k extends gt{constructor(B,ue,yt,zt){super(),this.control=new _n,this._registered=!1,this.update=new l.vpe,this._parent=B,this._setValidators(ue),this._setAsyncValidators(yt),this.valueAccessor=function(k,L){if(!L)return null;let B,ue,yt;return Array.isArray(L),L.forEach(zt=>{zt.constructor===J?B=zt:function(k){return Object.getPrototypeOf(k.constructor)===I}(zt)?ue=zt:yt=zt}),yt||ue||B||null}(0,zt)}ngOnChanges(B){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in B&&this._updateDisabled(B),function(k,L){if(!k.hasOwnProperty("model"))return!1;const B=k.model;return!!B.isFirstChange()||!Object.is(L,B.currentValue)}(B,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function(k,L){return[...L.path,k]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(B){this.viewModel=B,this.update.emit(B)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){xt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(B){vn.then(()=>{this.control.setValue(B,{emitViewToModelChange:!1})})}_updateDisabled(B){const ue=B.isDisabled.currentValue,yt=""===ue||ue&&"false"!==ue;vn.then(()=>{yt&&!this.control.disabled?this.control.disable():!yt&&this.control.disabled&&this.control.enable()})}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(St,9),l.Y36(te,10),l.Y36(ce,10),l.Y36(b,10))},k.\u0275dir=l.lG2({type:k,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([Ft]),l.qOj,l.TTD]}),k})(),mn=(()=>{class k{}return k.\u0275fac=function(B){return new(B||k)},k.\u0275dir=l.lG2({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})(),yi=(()=>{class k{}return k.\u0275fac=function(B){return new(B||k)},k.\u0275mod=l.oAB({type:k}),k.\u0275inj=l.cJS({}),k})();const Pi=new l.OlP("NgModelWithFormControlWarning"),Ve={provide:St,useExisting:(0,l.Gpc)(()=>Me)};let Me=(()=>{class k extends St{constructor(B,ue){super(),this.validators=B,this.asyncValidators=ue,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(B),this._setAsyncValidators(ue)}ngOnChanges(B){this._checkFormPresent(),B.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(an(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(B){const ue=this.form.get(B.path);return xt(ue,B),ue.updateValueAndValidity({emitEvent:!1}),this.directives.push(B),ue}getControl(B){return this.form.get(B.path)}removeControl(B){kt(B.control||null,B,!1),_t(this.directives,B)}addFormGroup(B){this._setUpFormContainer(B)}removeFormGroup(B){this._cleanUpFormContainer(B)}getFormGroup(B){return this.form.get(B.path)}addFormArray(B){this._setUpFormContainer(B)}removeFormArray(B){this._cleanUpFormContainer(B)}getFormArray(B){return this.form.get(B.path)}updateModel(B,ue){this.form.get(B.path).setValue(ue)}onSubmit(B){return this.submitted=!0,ye(this.form,this.directives),this.ngSubmit.emit(B),!1}onReset(){this.resetForm()}resetForm(B){this.form.reset(B),this.submitted=!1}_updateDomValue(){this.directives.forEach(B=>{const ue=B.control,yt=this.form.get(B.path);ue!==yt&&(kt(ue||null,B),yt instanceof _n&&(xt(yt,B),B.control=yt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(B){const ue=this.form.get(B.path);Re(ue,B),ue.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(B){if(this.form){const ue=this.form.get(B.path);ue&&function(k,L){return an(k,L)}(ue,B)&&ue.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Wt(this.form,this),this._oldForm&&an(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(B){return new(B||k)(l.Y36(te,10),l.Y36(ce,10))},k.\u0275dir=l.lG2({type:k,selectors:[["","formGroup",""]],hostBindings:function(B,ue){1&B&&l.NdJ("submit",function(zt){return ue.onSubmit(zt)})("reset",function(){return ue.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([Ve]),l.qOj,l.TTD]}),k})();const Li={provide:te,useExisting:(0,l.Gpc)(()=>Ni),multi:!0},vr={provide:te,useExisting:(0,l.Gpc)(()=>Ai),multi:!0};let Ni=(()=>{class k{constructor(){this._required=!1}get required(){return this._required}set required(B){this._required=null!=B&&!1!==B&&"false"!=`${B}`,this._onChange&&this._onChange()}validate(B){return this.required?ve(B):null}registerOnValidatorChange(B){this._onChange=B}}return k.\u0275fac=function(B){return new(B||k)},k.\u0275dir=l.lG2({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(B,ue){2&B&&l.uIk("required",ue.required?"":null)},inputs:{required:"required"},features:[l._Bn([Li])]}),k})(),Ai=(()=>{class k extends Ni{validate(B){return this.required?re(B):null}}return k.\u0275fac=function(){let L;return function(ue){return(L||(L=l.n5z(k)))(ue||k)}}(),k.\u0275dir=l.lG2({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(B,ue){2&B&&l.uIk("required",ue.required?"":null)},features:[l._Bn([vr]),l.qOj]}),k})(),lr=(()=>{class k{}return k.\u0275fac=function(B){return new(B||k)},k.\u0275mod=l.oAB({type:k}),k.\u0275inj=l.cJS({imports:[[yi]]}),k})(),Sr=(()=>{class k{}return k.\u0275fac=function(B){return new(B||k)},k.\u0275mod=l.oAB({type:k}),k.\u0275inj=l.cJS({imports:[lr]}),k})(),Vi=(()=>{class k{static withConfig(B){return{ngModule:k,providers:[{provide:Pi,useValue:B.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(B){return new(B||k)},k.\u0275mod=l.oAB({type:k}),k.\u0275inj=l.cJS({imports:[lr]}),k})(),we=(()=>{class k{group(B,ue=null){const yt=this._reduceControls(B);let Zn,zt=null,wn=null;return null!=ue&&(function(k){return void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn}(ue)?(zt=null!=ue.validators?ue.validators:null,wn=null!=ue.asyncValidators?ue.asyncValidators:null,Zn=null!=ue.updateOn?ue.updateOn:void 0):(zt=null!=ue.validator?ue.validator:null,wn=null!=ue.asyncValidator?ue.asyncValidator:null)),new Un(yt,{asyncValidators:wn,updateOn:Zn,validators:zt})}control(B,ue,yt){return new _n(B,ue,yt)}array(B,ue,yt){const zt=B.map(wn=>this._createControl(wn));return new ui(zt,ue,yt)}_reduceControls(B){const ue={};return Object.keys(B).forEach(yt=>{ue[yt]=this._createControl(B[yt])}),ue}_createControl(B){return B instanceof _n||B instanceof Un||B instanceof ui?B:Array.isArray(B)?this.control(B[0],B.length>1?B[1]:null,B.length>2?B[2]:null):this.control(B)}}return k.\u0275fac=function(B){return new(B||k)},k.\u0275prov=(0,l.Yz7)({factory:function(){return new k},token:k,providedIn:Vi}),k})()},1095:(ft,Fe,p)=>{"use strict";p.d(Fe,{lW:()=>R,ot:()=>K});var l=p(2458),n=p(6237),m=p(7716),P=p(9238);const g=["mat-button",""],D=["*"],E=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],U=(0,l.pj)((0,l.Id)((0,l.Kr)(class{constructor(J){this._elementRef=J}})));let R=(()=>{class J extends U{constructor(ee,te,ce){super(ee),this._focusMonitor=te,this._animationMode=ce,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const De of E)this._hasHostAttributes(De)&&this._getHostElement().classList.add(De);ee.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(ee,te){ee?this._focusMonitor.focusVia(this._getHostElement(),ee,te):this._getHostElement().focus(te)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ee){return ee.some(te=>this._getHostElement().hasAttribute(te))}}return J.\u0275fac=function(ee){return new(ee||J)(m.Y36(m.SBq),m.Y36(P.tE),m.Y36(n.Qb,8))},J.\u0275cmp=m.Xpm({type:J,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(ee,te){if(1&ee&&m.Gf(l.wG,5),2&ee){let ce;m.iGM(ce=m.CRH())&&(te.ripple=ce.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ee,te){2&ee&&(m.uIk("disabled",te.disabled||null),m.ekj("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mat-button-disabled",te.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[m.qOj],attrs:g,ngContentSelectors:D,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(ee,te){1&ee&&(m.F$t(),m.TgZ(0,"span",0),m.Hsn(1),m.qZA(),m._UZ(2,"span",1),m._UZ(3,"span",2)),2&ee&&(m.xp6(2),m.ekj("mat-button-ripple-round",te.isRoundButton||te.isIconButton),m.Q6J("matRippleDisabled",te._isRippleDisabled())("matRippleCentered",te.isIconButton)("matRippleTrigger",te._getHostElement()))},directives:[l.wG],styles:[".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"],encapsulation:2,changeDetection:0}),J})(),K=(()=>{class J{}return J.\u0275fac=function(ee){return new(ee||J)},J.\u0275mod=m.oAB({type:J}),J.\u0275inj=m.cJS({imports:[[l.si,l.BQ],l.BQ]}),J})()},7539:(ft,Fe,p)=>{"use strict";p.d(Fe,{p9:()=>de}),p(9490);var n=p(7716),P=(p(3679),p(2458)),D=(p(6237),p(8553));p(9238);let Le=(()=>{class ve{}return ve.\u0275fac=function(ie){return new(ie||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({}),ve})(),de=(()=>{class ve{}return ve.\u0275fac=function(ie){return new(ie||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({imports:[[P.si,P.BQ,D.Q8,Le],P.BQ,Le]}),ve})()},2458:(ft,Fe,p)=>{"use strict";p.d(Fe,{yN:()=>De,mZ:()=>qe,_A:()=>Tt,rD:()=>St,sG:()=>He,K7:()=>Zt,HF:()=>vt,Y2:()=>H,BQ:()=>re,X2:()=>gt,uc:()=>It,XK:()=>Gt,ey:()=>ht,Ng:()=>We,rN:()=>Jt,nP:()=>q,us:()=>xe,wG:()=>v,si:()=>V,IR:()=>C,CB:()=>jt,jH:()=>Re,pj:()=>se,Kr:()=>Ie,Id:()=>ie,FD:()=>be,dB:()=>Ue,sb:()=>pe,E0:()=>Qe});var l=p(7716),n=p(9238),m=p(4607);const P=new l.GfV("12.2.13");var g=p(8583),D=p(521),I=p(9490),b=p(9765),E=p(7574),U=p(9761),R=p(6237),G=p(6461);function $(Se,Ge){if(1&Se&&l._UZ(0,"mat-pseudo-checkbox",4),2&Se){const ae=l.oxw();l.Q6J("state",ae.selected?"checked":"unchecked")("disabled",ae.disabled)}}function ee(Se,Ge){if(1&Se&&(l.TgZ(0,"span",5),l._uU(1),l.qZA()),2&Se){const ae=l.oxw();l.xp6(1),l.hij("(",ae.group.label,")")}}const te=["*"];let De=(()=>{class Se{}return Se.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Se.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Se.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Se.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Se})(),qe=(()=>{class Se{}return Se.COMPLEX="375ms",Se.ENTERING="225ms",Se.EXITING="195ms",Se})();const Le=new l.GfV("12.2.13"),ve=new l.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let re=(()=>{class Se{constructor(ae,_e,ye){this._hasDoneGlobalChecks=!1,this._document=ye,ae._applyBodyHighContrastModeCssClasses(),this._sanityChecks=_e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ae){return!(!(0,l.X6Q)()||(0,D.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ae])}_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 ae=this._document.createElement("div");ae.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(ae);const _e=getComputedStyle(ae);_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(ae)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&Le.full!==P.full&&console.warn("The Angular Material version ("+Le.full+") does not match the Angular CDK version ("+P.full+").\nPlease ensure the versions of these two packages exactly match.")}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.LFG(n.qm),l.LFG(ve,8),l.LFG(g.K0))},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({imports:[[m.vT],m.vT]}),Se})();function ie(Se){return class extends Se{constructor(...Ge){super(...Ge),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ge){this._disabled=(0,I.Ig)(Ge)}}}function se(Se,Ge){return class extends Se{constructor(...ae){super(...ae),this.defaultColor=Ge,this.color=Ge}get color(){return this._color}set color(ae){const _e=ae||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 Ie(Se){return class extends Se{constructor(...Ge){super(...Ge),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ge){this._disableRipple=(0,I.Ig)(Ge)}}}function pe(Se,Ge=0){return class extends Se{constructor(...ae){super(...ae),this._tabIndex=Ge,this.defaultTabIndex=Ge}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ae){this._tabIndex=null!=ae?(0,I.su)(ae):this.defaultTabIndex}}}function be(Se){return class extends Se{constructor(...Ge){super(...Ge),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const Ge=this.errorState,Je=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Je!==Ge&&(this.errorState=Je,this.stateChanges.next())}}}function Ue(Se){return class extends Se{constructor(...Ge){super(...Ge),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new E.y(ae=>{this._isInitialized?this._notifySubscriber(ae):this._pendingSubscribers.push(ae)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ge){Ge.next(),Ge.complete()}}}const rt=new l.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,l.f3M)(l.soG)}});class Tt{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ge){return this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:null}deserialize(Ge){return null==Ge||this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:this.invalid()}setLocale(Ge){this.locale=Ge,this._localeChanges.next()}compareDate(Ge,ae){return this.getYear(Ge)-this.getYear(ae)||this.getMonth(Ge)-this.getMonth(ae)||this.getDate(Ge)-this.getDate(ae)}sameDate(Ge,ae){if(Ge&&ae){let _e=this.isValid(Ge),ye=this.isValid(ae);return _e&&ye?!this.compareDate(Ge,ae):_e==ye}return Ge==ae}clampDate(Ge,ae,_e){return ae&&this.compareDate(Ge,ae)<0?ae:_e&&this.compareDate(Ge,_e)>0?_e:Ge}}const He=new l.OlP("mat-date-formats");let dt;try{dt="undefined"!=typeof Intl}catch(Se){dt=!1}const Oe={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"]},Ke=at(31,Se=>String(Se+1)),Be={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},At=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function at(Se,Ge){const ae=Array(Se);for(let _e=0;_e{class Se extends Tt{constructor(ae,_e){super(),this.useUtcForDisplay=!0,super.setLocale(ae),this.useUtcForDisplay=!_e.TRIDENT,this._clampDate=_e.TRIDENT||_e.EDGE}getYear(ae){return ae.getFullYear()}getMonth(ae){return ae.getMonth()}getDate(ae){return ae.getDate()}getDayOfWeek(ae){return ae.getDay()}getMonthNames(ae){if(dt){const _e=new Intl.DateTimeFormat(this.locale,{month:ae,timeZone:"utc"});return at(12,ye=>this._stripDirectionalityCharacters(this._format(_e,new Date(2017,ye,1))))}return Oe[ae]}getDateNames(){if(dt){const ae=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return at(31,_e=>this._stripDirectionalityCharacters(this._format(ae,new Date(2017,0,_e+1))))}return Ke}getDayOfWeekNames(ae){if(dt){const _e=new Intl.DateTimeFormat(this.locale,{weekday:ae,timeZone:"utc"});return at(7,ye=>this._stripDirectionalityCharacters(this._format(_e,new Date(2017,0,ye+1))))}return Be[ae]}getYearName(ae){if(dt){const _e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(_e,ae))}return String(this.getYear(ae))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ae){return this.getDate(this._createDateWithOverflow(this.getYear(ae),this.getMonth(ae)+1,0))}clone(ae){return new Date(ae.getTime())}createDate(ae,_e,ye){let Je=this._createDateWithOverflow(ae,_e,ye);return Je.getMonth(),Je}today(){return new Date}parse(ae){return"number"==typeof ae?new Date(ae):ae?new Date(Date.parse(ae)):null}format(ae,_e){if(!this.isValid(ae))throw Error("NativeDateAdapter: Cannot format invalid date.");if(dt){this._clampDate&&(ae.getFullYear()<1||ae.getFullYear()>9999)&&(ae=this.clone(ae)).setFullYear(Math.max(1,Math.min(9999,ae.getFullYear()))),_e=Object.assign(Object.assign({},_e),{timeZone:"utc"});const ye=new Intl.DateTimeFormat(this.locale,_e);return this._stripDirectionalityCharacters(this._format(ye,ae))}return this._stripDirectionalityCharacters(ae.toDateString())}addCalendarYears(ae,_e){return this.addCalendarMonths(ae,12*_e)}addCalendarMonths(ae,_e){let ye=this._createDateWithOverflow(this.getYear(ae),this.getMonth(ae)+_e,this.getDate(ae));return this.getMonth(ye)!=((this.getMonth(ae)+_e)%12+12)%12&&(ye=this._createDateWithOverflow(this.getYear(ye),this.getMonth(ye),0)),ye}addCalendarDays(ae,_e){return this._createDateWithOverflow(this.getYear(ae),this.getMonth(ae),this.getDate(ae)+_e)}toIso8601(ae){return[ae.getUTCFullYear(),this._2digit(ae.getUTCMonth()+1),this._2digit(ae.getUTCDate())].join("-")}deserialize(ae){if("string"==typeof ae){if(!ae)return null;if(At.test(ae)){let _e=new Date(ae);if(this.isValid(_e))return _e}}return super.deserialize(ae)}isDateInstance(ae){return ae instanceof Date}isValid(ae){return!isNaN(ae.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ae,_e,ye){const Je=new Date;return Je.setFullYear(ae,_e,ye),Je.setHours(0,0,0,0),Je}_2digit(ae){return("00"+ae).slice(-2)}_stripDirectionalityCharacters(ae){return ae.replace(/[\u200e\u200f]/g,"")}_format(ae,_e){const ye=new Date;return ye.setUTCFullYear(_e.getFullYear(),_e.getMonth(),_e.getDate()),ye.setUTCHours(_e.getHours(),_e.getMinutes(),_e.getSeconds(),_e.getMilliseconds()),ae.format(ye)}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.LFG(rt,8),l.LFG(D.t4))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),tt=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({providers:[{provide:Tt,useClass:Ye}],imports:[[D.ud]]}),Se})();const wt={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 Gt=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({providers:[{provide:He,useValue:wt}],imports:[[tt]]}),Se})(),St=(()=>{class Se{isErrorState(ae,_e){return!!(ae&&ae.invalid&&(ae.touched||_e&&_e.submitted))}}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275prov=l.Yz7({factory:function(){return new Se},token:Se,providedIn:"root"}),Se})(),gt=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275dir=l.lG2({type:Se,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Se})();function Qe(Se,Ge,ae="mat"){Se.changes.pipe((0,U.O)(Se)).subscribe(({length:_e})=>{ze(Ge,`${ae}-2-line`,!1),ze(Ge,`${ae}-3-line`,!1),ze(Ge,`${ae}-multi-line`,!1),2===_e||3===_e?ze(Ge,`${ae}-${_e}-line`,!0):_e>3&&ze(Ge,`${ae}-multi-line`,!0)})}function ze(Se,Ge,ae){const _e=Se.nativeElement.classList;ae?_e.add(Ge):_e.remove(Ge)}let It=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({imports:[[re],re]}),Se})();class qt{constructor(Ge,ae,_e){this._renderer=Ge,this.element=ae,this.config=_e,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ct={enterDuration:225,exitDuration:150},Y=(0,D.i$)({passive:!0}),x=["mousedown","touchstart"],A=["mouseup","mouseleave","touchend","touchcancel"];class C{constructor(Ge,ae,_e,ye){this._target=Ge,this._ngZone=ae,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,ye.isBrowser&&(this._containerElement=(0,I.fI)(_e))}fadeInRipple(Ge,ae,_e={}){const ye=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Je=Object.assign(Object.assign({},Ct),_e.animation);_e.centered&&(Ge=ye.left+ye.width/2,ae=ye.top+ye.height/2);const _t=_e.radius||function(Se,Ge,ae){const _e=Math.max(Math.abs(Se-ae.left),Math.abs(Se-ae.right)),ye=Math.max(Math.abs(Ge-ae.top),Math.abs(Ge-ae.bottom));return Math.sqrt(_e*_e+ye*ye)}(Ge,ae,ye),Ut=Ge-ye.left,Qt=ae-ye.top,Hn=Je.enterDuration,On=document.createElement("div");On.classList.add("mat-ripple-element"),On.style.left=Ut-_t+"px",On.style.top=Qt-_t+"px",On.style.height=2*_t+"px",On.style.width=2*_t+"px",null!=_e.color&&(On.style.backgroundColor=_e.color),On.style.transitionDuration=`${Hn}ms`,this._containerElement.appendChild(On),window.getComputedStyle(On).getPropertyValue("opacity"),On.style.transform="scale(1)";const qn=new qt(this,On,_e);return qn.state=0,this._activeRipples.add(qn),_e.persistent||(this._mostRecentTransientRipple=qn),this._runTimeoutOutsideZone(()=>{const ri=qn===this._mostRecentTransientRipple;qn.state=1,!_e.persistent&&(!ri||!this._isPointerDown)&&qn.fadeOut()},Hn),qn}fadeOutRipple(Ge){const ae=this._activeRipples.delete(Ge);if(Ge===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!ae)return;const _e=Ge.element,ye=Object.assign(Object.assign({},Ct),Ge.config.animation);_e.style.transitionDuration=`${ye.exitDuration}ms`,_e.style.opacity="0",Ge.state=2,this._runTimeoutOutsideZone(()=>{Ge.state=3,_e.parentNode.removeChild(_e)},ye.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ge=>Ge.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ge=>{Ge.config.persistent||Ge.fadeOut()})}setupTriggerEvents(Ge){const ae=(0,I.fI)(Ge);!ae||ae===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ae,this._registerEvents(x))}handleEvent(Ge){"mousedown"===Ge.type?this._onMousedown(Ge):"touchstart"===Ge.type?this._onTouchStart(Ge):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(A),this._pointerUpEventsRegistered=!0)}_onMousedown(Ge){const ae=(0,n.X6)(Ge),_e=this._lastTouchStartEvent&&Date.now(){!Ge.config.persistent&&(1===Ge.state||Ge.config.terminateOnPointerUp&&0===Ge.state)&&Ge.fadeOut()}))}_runTimeoutOutsideZone(Ge,ae=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ge,ae))}_registerEvents(Ge){this._ngZone.runOutsideAngular(()=>{Ge.forEach(ae=>{this._triggerElement.addEventListener(ae,this,Y)})})}_removeTriggerEvents(){this._triggerElement&&(x.forEach(Ge=>{this._triggerElement.removeEventListener(Ge,this,Y)}),this._pointerUpEventsRegistered&&A.forEach(Ge=>{this._triggerElement.removeEventListener(Ge,this,Y)}))}}const H=new l.OlP("mat-ripple-global-options");let v=(()=>{class Se{constructor(ae,_e,ye,Je,_t){this._elementRef=ae,this._animationMode=_t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Je||{},this._rippleRenderer=new C(this,_e,ae,ye)}get disabled(){return this._disabled}set disabled(ae){ae&&this.fadeOutAllNonPersistent(),this._disabled=ae,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ae){this._trigger=ae,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(ae,_e=0,ye){return"number"==typeof ae?this._rippleRenderer.fadeInRipple(ae,_e,Object.assign(Object.assign({},this.rippleConfig),ye)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),ae))}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(D.t4),l.Y36(H,8),l.Y36(R.Qb,8))},Se.\u0275dir=l.lG2({type:Se,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ae,_e){2&ae&&l.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"]}),Se})(),V=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({imports:[[re,D.ud],re]}),Se})(),q=(()=>{class Se{constructor(ae){this._animationMode=ae,this.state="unchecked",this.disabled=!1}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.Y36(R.Qb,8))},Se.\u0275cmp=l.Xpm({type:Se,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(ae,_e){2&ae&&l.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(ae,_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}),Se})(),xe=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({imports:[[re]]}),Se})();const vt=new l.OlP("MAT_OPTION_PARENT_COMPONENT"),xt=ie(class{});let kt=0,Yt=(()=>{class Se extends xt{constructor(ae){var _e;super(),this._labelId="mat-optgroup-label-"+kt++,this._inert=null!==(_e=null==ae?void 0:ae.inertGroups)&&void 0!==_e&&_e}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.Y36(vt,8))},Se.\u0275dir=l.lG2({type:Se,inputs:{label:"label"},features:[l.qOj]}),Se})();const Zt=new l.OlP("MatOptgroup");let an=0;class Jt{constructor(Ge,ae=!1){this.source=Ge,this.isUserInput=ae}}let ln=(()=>{class Se{constructor(ae,_e,ye,Je){this._element=ae,this._changeDetectorRef=_e,this._parent=ye,this.group=Je,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+an++,this.onSelectionChange=new l.vpe,this._stateChanges=new b.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(ae){this._disabled=(0,I.Ig)(ae)}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(ae,_e){const ye=this._getHostElement();"function"==typeof ye.focus&&ye.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(ae){(ae.keyCode===G.K5||ae.keyCode===G.L_)&&!(0,G.Vb)(ae)&&(this._selectViaInteraction(),ae.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 ae=this.viewValue;ae!==this._mostRecentViewValue&&(this._mostRecentViewValue=ae,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ae=!1){this.onSelectionChange.emit(new Jt(this,ae))}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(void 0),l.Y36(Yt))},Se.\u0275dir=l.lG2({type:Se,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),Se})(),ht=(()=>{class Se extends ln{constructor(ae,_e,ye,Je){super(ae,_e,ye,Je)}}return Se.\u0275fac=function(ae){return new(ae||Se)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(vt,8),l.Y36(Zt,8))},Se.\u0275cmp=l.Xpm({type:Se,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(ae,_e){1&ae&&l.NdJ("click",function(){return _e._selectViaInteraction()})("keydown",function(Je){return _e._handleKeydown(Je)}),2&ae&&(l.Ikx("id",_e.id),l.uIk("tabindex",_e._getTabIndex())("aria-selected",_e._getAriaSelected())("aria-disabled",_e.disabled.toString()),l.ekj("mat-selected",_e.selected)("mat-option-multiple",_e.multiple)("mat-active",_e.active)("mat-option-disabled",_e.disabled))},exportAs:["matOption"],features:[l.qOj],ngContentSelectors:te,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(ae,_e){1&ae&&(l.F$t(),l.YNc(0,$,1,2,"mat-pseudo-checkbox",0),l.TgZ(1,"span",1),l.Hsn(2),l.qZA(),l.YNc(3,ee,2,1,"span",2),l._UZ(4,"div",3)),2&ae&&(l.Q6J("ngIf",_e.multiple),l.xp6(3),l.Q6J("ngIf",_e.group&&_e.group._inert),l.xp6(1),l.Q6J("matRippleTrigger",_e._getHostElement())("matRippleDisabled",_e.disabled||_e.disableRipple))},directives:[g.O5,v,q],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}),Se})();function jt(Se,Ge,ae){if(ae.length){let _e=Ge.toArray(),ye=ae.toArray(),Je=0;for(let _t=0;_tae+_e?Math.max(0,Se-_e+Ge):ae}let We=(()=>{class Se{}return Se.\u0275fac=function(ae){return new(ae||Se)},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({imports:[[V,g.ez,re,xe]]}),Se})()},2238:(ft,Fe,p)=>{"use strict";p.d(Fe,{WI:()=>se,uw:()=>Tt,ZT:()=>Oe,Is:()=>at,so:()=>re});var l=p(625),n=p(7636),m=p(7716),P=p(2458),g=p(4607),D=p(8583),I=p(9765),b=p(1439),E=p(5917),U=p(5435),R=p(5257),G=p(9761),K=p(521),J=p(7238),$=p(6461),ee=p(9238);function te(Ye,lt){}class ce{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 De={dialogContainer:(0,J.X$)("dialogContainer",[(0,J.SB)("void, exit",(0,J.oB)({opacity:0,transform:"scale(0.7)"})),(0,J.SB)("enter",(0,J.oB)({transform:"none"})),(0,J.eR)("* => enter",(0,J.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,J.oB)({transform:"none",opacity:1}))),(0,J.eR)("* => void, * => exit",(0,J.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,J.oB)({opacity:0})))])};let Le=(()=>{class Ye extends n.en{constructor(tt,wt,Gt,en,St,gt){super(),this._elementRef=tt,this._focusTrapFactory=wt,this._changeDetectorRef=Gt,this._config=St,this._focusMonitor=gt,this._animationStateChanged=new m.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Qe=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Qe)),this._ariaLabelledBy=St.ariaLabelledBy||null,this._document=en}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(tt){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(tt)}attachTemplatePortal(tt){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(tt)}_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 tt=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&tt&&"function"==typeof tt.focus){const wt=(0,K.ht)(),Gt=this._elementRef.nativeElement;(!wt||wt===this._document.body||wt===Gt||Gt.contains(wt))&&(this._focusMonitor?(this._focusMonitor.focusVia(tt,this._closeInteractionType),this._closeInteractionType=null):tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,K.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const tt=this._elementRef.nativeElement,wt=(0,K.ht)();return tt===wt||tt.contains(wt)}}return Ye.\u0275fac=function(tt){return new(tt||Ye)(m.Y36(m.SBq),m.Y36(ee.qV),m.Y36(m.sBO),m.Y36(D.K0,8),m.Y36(ce),m.Y36(ee.tE))},Ye.\u0275dir=m.lG2({type:Ye,viewQuery:function(tt,wt){if(1&tt&&m.Gf(n.Pl,7),2&tt){let Gt;m.iGM(Gt=m.CRH())&&(wt._portalOutlet=Gt.first)}},features:[m.qOj]}),Ye})(),de=(()=>{class Ye extends Le{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:tt,totalTime:wt}){"enter"===tt?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:wt})):"exit"===tt&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:wt}))}_onAnimationStart({toState:tt,totalTime:wt}){"enter"===tt?this._animationStateChanged.next({state:"opening",totalTime:wt}):("exit"===tt||"void"===tt)&&this._animationStateChanged.next({state:"closing",totalTime:wt})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return Ye.\u0275fac=function(){let lt;return function(wt){return(lt||(lt=m.n5z(Ye)))(wt||Ye)}}(),Ye.\u0275cmp=m.Xpm({type:Ye,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(tt,wt){1&tt&&m.WFA("@dialogContainer.start",function(en){return wt._onAnimationStart(en)})("@dialogContainer.done",function(en){return wt._onAnimationDone(en)}),2&tt&&(m.Ikx("id",wt._id),m.uIk("role",wt._config.role)("aria-labelledby",wt._config.ariaLabel?null:wt._ariaLabelledBy)("aria-label",wt._config.ariaLabel)("aria-describedby",wt._config.ariaDescribedBy||null),m.d8E("@dialogContainer",wt._state))},features:[m.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(tt,wt){1&tt&&m.YNc(0,te,0,0,"ng-template",0)},directives:[n.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:[De.dialogContainer]}}),Ye})(),ve=0;class re{constructor(lt,tt,wt="mat-dialog-"+ve++){this._overlayRef=lt,this._containerInstance=tt,this.id=wt,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new I.xQ,this._afterClosed=new I.xQ,this._beforeClosed=new I.xQ,this._state=0,tt._id=wt,tt._animationStateChanged.pipe((0,U.h)(Gt=>"opened"===Gt.state),(0,R.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),tt._animationStateChanged.pipe((0,U.h)(Gt=>"closed"===Gt.state),(0,R.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),lt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),lt.keydownEvents().pipe((0,U.h)(Gt=>Gt.keyCode===$.hY&&!this.disableClose&&!(0,$.Vb)(Gt))).subscribe(Gt=>{Gt.preventDefault(),ie(this,"keyboard")}),lt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ie(this,"mouse")})}close(lt){this._result=lt,this._containerInstance._animationStateChanged.pipe((0,U.h)(tt=>"closing"===tt.state),(0,R.q)(1)).subscribe(tt=>{this._beforeClosed.next(lt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),tt.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(lt){let tt=this._getPositionStrategy();return lt&&(lt.left||lt.right)?lt.left?tt.left(lt.left):tt.right(lt.right):tt.centerHorizontally(),lt&&(lt.top||lt.bottom)?lt.top?tt.top(lt.top):tt.bottom(lt.bottom):tt.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(lt="",tt=""){return this._overlayRef.updateSize({width:lt,height:tt}),this._overlayRef.updatePosition(),this}addPanelClass(lt){return this._overlayRef.addPanelClass(lt),this}removePanelClass(lt){return this._overlayRef.removePanelClass(lt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ie(Ye,lt,tt){return void 0!==Ye._containerInstance&&(Ye._containerInstance._closeInteractionType=lt),Ye.close(tt)}const se=new m.OlP("MatDialogData"),Ie=new m.OlP("mat-dialog-default-options"),pe=new m.OlP("mat-dialog-scroll-strategy"),rt={provide:pe,deps:[l.aV],useFactory:function(Ye){return()=>Ye.scrollStrategies.block()}};let et=(()=>{class Ye{constructor(tt,wt,Gt,en,St,gt,Qe,ze,It){this._overlay=tt,this._injector=wt,this._defaultOptions=Gt,this._parentDialog=en,this._overlayContainer=St,this._dialogRefConstructor=Qe,this._dialogContainerType=ze,this._dialogDataToken=It,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new I.xQ,this._afterOpenedAtThisLevel=new I.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,b.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,G.O)(void 0))),this._scrollStrategy=gt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const tt=this._parentDialog;return tt?tt._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(tt,wt){(wt=function(Ye,lt){return Object.assign(Object.assign({},lt),Ye)}(wt,this._defaultOptions||new ce)).id&&this.getDialogById(wt.id);const Gt=this._createOverlay(wt),en=this._attachDialogContainer(Gt,wt),St=this._attachDialogContent(tt,en,Gt,wt);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(St),St.afterClosed().subscribe(()=>this._removeOpenDialog(St)),this.afterOpened.next(St),en._initializeWithAttachedContent(),St}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(tt){return this.openDialogs.find(wt=>wt.id===tt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(tt){const wt=this._getOverlayConfig(tt);return this._overlay.create(wt)}_getOverlayConfig(tt){const wt=new l.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:tt.scrollStrategy||this._scrollStrategy(),panelClass:tt.panelClass,hasBackdrop:tt.hasBackdrop,direction:tt.direction,minWidth:tt.minWidth,minHeight:tt.minHeight,maxWidth:tt.maxWidth,maxHeight:tt.maxHeight,disposeOnNavigation:tt.closeOnNavigation});return tt.backdropClass&&(wt.backdropClass=tt.backdropClass),wt}_attachDialogContainer(tt,wt){const en=m.zs3.create({parent:wt&&wt.viewContainerRef&&wt.viewContainerRef.injector||this._injector,providers:[{provide:ce,useValue:wt}]}),St=new n.C5(this._dialogContainerType,wt.viewContainerRef,en,wt.componentFactoryResolver);return tt.attach(St).instance}_attachDialogContent(tt,wt,Gt,en){const St=new this._dialogRefConstructor(Gt,wt,en.id);if(tt instanceof m.Rgc)wt.attachTemplatePortal(new n.UE(tt,null,{$implicit:en.data,dialogRef:St}));else{const gt=this._createInjector(en,St,wt),Qe=wt.attachComponentPortal(new n.C5(tt,en.viewContainerRef,gt));St.componentInstance=Qe.instance}return St.updateSize(en.width,en.height).updatePosition(en.position),St}_createInjector(tt,wt,Gt){const en=tt&&tt.viewContainerRef&&tt.viewContainerRef.injector,St=[{provide:this._dialogContainerType,useValue:Gt},{provide:this._dialogDataToken,useValue:tt.data},{provide:this._dialogRefConstructor,useValue:wt}];return tt.direction&&(!en||!en.get(g.Is,null,m.XFs.Optional))&&St.push({provide:g.Is,useValue:{value:tt.direction,change:(0,E.of)()}}),m.zs3.create({parent:en||this._injector,providers:St})}_removeOpenDialog(tt){const wt=this.openDialogs.indexOf(tt);wt>-1&&(this.openDialogs.splice(wt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Gt,en)=>{Gt?en.setAttribute("aria-hidden",Gt):en.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const tt=this._overlayContainer.getContainerElement();if(tt.parentElement){const wt=tt.parentElement.children;for(let Gt=wt.length-1;Gt>-1;Gt--){let en=wt[Gt];en!==tt&&"SCRIPT"!==en.nodeName&&"STYLE"!==en.nodeName&&!en.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(en,en.getAttribute("aria-hidden")),en.setAttribute("aria-hidden","true"))}}}_closeDialogs(tt){let wt=tt.length;for(;wt--;)tt[wt].close()}}return Ye.\u0275fac=function(tt){return new(tt||Ye)(m.Y36(l.aV),m.Y36(m.zs3),m.Y36(void 0),m.Y36(void 0),m.Y36(l.Xj),m.Y36(void 0),m.Y36(m.DyG),m.Y36(m.DyG),m.Y36(m.OlP))},Ye.\u0275dir=m.lG2({type:Ye}),Ye})(),Tt=(()=>{class Ye extends et{constructor(tt,wt,Gt,en,St,gt,Qe){super(tt,wt,en,gt,Qe,St,re,de,se)}}return Ye.\u0275fac=function(tt){return new(tt||Ye)(m.LFG(l.aV),m.LFG(m.zs3),m.LFG(D.Ye,8),m.LFG(Ie,8),m.LFG(pe),m.LFG(Ye,12),m.LFG(l.Xj))},Ye.\u0275prov=m.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})(),Oe=(()=>{class Ye{constructor(tt,wt,Gt){this.dialogRef=tt,this._elementRef=wt,this._dialog=Gt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function(Ye,lt){let tt=Ye.nativeElement.parentElement;for(;tt&&!tt.classList.contains("mat-dialog-container");)tt=tt.parentElement;return tt?lt.find(wt=>wt.id===tt.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(tt){const wt=tt._matDialogClose||tt._matDialogCloseResult;wt&&(this.dialogResult=wt.currentValue)}_onButtonClick(tt){ie(this.dialogRef,0===tt.screenX&&0===tt.screenY?"keyboard":"mouse",this.dialogResult)}}return Ye.\u0275fac=function(tt){return new(tt||Ye)(m.Y36(re,8),m.Y36(m.SBq),m.Y36(Tt))},Ye.\u0275dir=m.lG2({type:Ye,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(tt,wt){1&tt&&m.NdJ("click",function(en){return wt._onButtonClick(en)}),2&tt&&m.uIk("aria-label",wt.ariaLabel||null)("type",wt.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[m.TTD]}),Ye})();let at=(()=>{class Ye{}return Ye.\u0275fac=function(tt){return new(tt||Ye)},Ye.\u0275mod=m.oAB({type:Ye}),Ye.\u0275inj=m.cJS({providers:[Tt,rt],imports:[[l.U8,n.eL,P.BQ],P.BQ]}),Ye})()},171:(ft,Fe,p)=>{"use strict";p.d(Fe,{pp:()=>en,To:()=>St,ib:()=>At,u4:()=>wt,yz:()=>tt,yK:()=>Gt});var l=p(7716),n=p(9490),m=p(9765),P=p(5319),g=p(8345);let D=0;const I=new l.OlP("CdkAccordion");let b=(()=>{class gt{constructor(){this._stateChanges=new m.xQ,this._openCloseAllActions=new m.xQ,this.id="cdk-accordion-"+D++,this._multi=!1}get multi(){return this._multi}set multi(ze){this._multi=(0,n.Ig)(ze)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ze){this._stateChanges.next(ze)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return gt.\u0275fac=function(ze){return new(ze||gt)},gt.\u0275dir=l.lG2({type:gt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[l._Bn([{provide:I,useExisting:gt}]),l.TTD]}),gt})(),E=0,R=(()=>{class gt{constructor(ze,It,qt){this.accordion=ze,this._changeDetectorRef=It,this._expansionDispatcher=qt,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new l.vpe,this.opened=new l.vpe,this.destroyed=new l.vpe,this.expandedChange=new l.vpe,this.id="cdk-accordion-child-"+E++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=qt.listen((Ct,fe)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===fe&&this.id!==Ct&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(ze){ze=(0,n.Ig)(ze),this._expanded!==ze&&(this._expanded=ze,this.expandedChange.emit(ze),ze?(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(ze){this._disabled=(0,n.Ig)(ze)}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(ze=>{this.disabled||(this.expanded=ze)})}}return gt.\u0275fac=function(ze){return new(ze||gt)(l.Y36(I,12),l.Y36(l.sBO),l.Y36(g.A8))},gt.\u0275dir=l.lG2({type:gt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[l._Bn([{provide:I,useValue:void 0}])]}),gt})(),G=(()=>{class gt{}return gt.\u0275fac=function(ze){return new(ze||gt)},gt.\u0275mod=l.oAB({type:gt}),gt.\u0275inj=l.cJS({}),gt})();var K=p(7636),J=p(8583),$=p(2458),ee=p(9238),te=p(7519),ce=p(9761),De=p(5435),qe=p(5257),Le=p(6461),de=p(6237),ve=p(9193),re=p(6682),ie=p(7238);const se=["body"];function Ie(gt,Qe){}const pe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],be=["mat-expansion-panel-header","*","mat-action-row"];function Ue(gt,Qe){if(1>&&l._UZ(0,"span",2),2>){const ze=l.oxw();l.Q6J("@indicatorRotate",ze._getExpandedState())}}const rt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],et=["mat-panel-title","mat-panel-description","*"],Tt=new l.OlP("MAT_ACCORDION"),He="225ms cubic-bezier(0.4,0.0,0.2,1)",dt={indicatorRotate:(0,ie.X$)("indicatorRotate",[(0,ie.SB)("collapsed, void",(0,ie.oB)({transform:"rotate(0deg)"})),(0,ie.SB)("expanded",(0,ie.oB)({transform:"rotate(180deg)"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(He))]),bodyExpansion:(0,ie.X$)("bodyExpansion",[(0,ie.SB)("collapsed, void",(0,ie.oB)({height:"0px",visibility:"hidden"})),(0,ie.SB)("expanded",(0,ie.oB)({height:"*",visibility:"visible"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(He))])};let Oe=(()=>{class gt{constructor(ze){this._template=ze}}return gt.\u0275fac=function(ze){return new(ze||gt)(l.Y36(l.Rgc))},gt.\u0275dir=l.lG2({type:gt,selectors:[["ng-template","matExpansionPanelContent",""]]}),gt})(),je=0;const Ke=new l.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let At=(()=>{class gt extends R{constructor(ze,It,qt,Ct,fe,Y,x){super(ze,It,qt),this._viewContainerRef=Ct,this._animationMode=Y,this._hideToggle=!1,this.afterExpand=new l.vpe,this.afterCollapse=new l.vpe,this._inputChanges=new m.xQ,this._headerId="mat-expansion-panel-header-"+je++,this._bodyAnimationDone=new m.xQ,this.accordion=ze,this._document=fe,this._bodyAnimationDone.pipe((0,te.x)((A,C)=>A.fromState===C.fromState&&A.toState===C.toState)).subscribe(A=>{"void"!==A.fromState&&("expanded"===A.toState?this.afterExpand.emit():"collapsed"===A.toState&&this.afterCollapse.emit())}),x&&(this.hideToggle=x.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ze){this._hideToggle=(0,n.Ig)(ze)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ze){this._togglePosition=ze}_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,ce.O)(null),(0,De.h)(()=>this.expanded&&!this._portal),(0,qe.q)(1)).subscribe(()=>{this._portal=new K.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(ze){this._inputChanges.next(ze)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ze=this._document.activeElement,It=this._body.nativeElement;return ze===It||It.contains(ze)}return!1}}return gt.\u0275fac=function(ze){return new(ze||gt)(l.Y36(Tt,12),l.Y36(l.sBO),l.Y36(g.A8),l.Y36(l.s_b),l.Y36(J.K0),l.Y36(de.Qb,8),l.Y36(Ke,8))},gt.\u0275cmp=l.Xpm({type:gt,selectors:[["mat-expansion-panel"]],contentQueries:function(ze,It,qt){if(1&ze&&l.Suo(qt,Oe,5),2&ze){let Ct;l.iGM(Ct=l.CRH())&&(It._lazyContent=Ct.first)}},viewQuery:function(ze,It){if(1&ze&&l.Gf(se,5),2&ze){let qt;l.iGM(qt=l.CRH())&&(It._body=qt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ze,It){2&ze&&l.ekj("mat-expanded",It.expanded)("_mat-animation-noopable","NoopAnimations"===It._animationMode)("mat-expansion-panel-spacing",It._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[l._Bn([{provide:Tt,useValue:void 0}]),l.qOj,l.TTD],ngContentSelectors:be,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ze,It){1&ze&&(l.F$t(pe),l.Hsn(0),l.TgZ(1,"div",0,1),l.NdJ("@bodyExpansion.done",function(Ct){return It._bodyAnimationDone.next(Ct)}),l.TgZ(3,"div",2),l.Hsn(4,1),l.YNc(5,Ie,0,0,"ng-template",3),l.qZA(),l.Hsn(6,2),l.qZA()),2&ze&&(l.xp6(1),l.Q6J("@bodyExpansion",It._getExpandedState())("id",It.id),l.uIk("aria-labelledby",It._headerId),l.xp6(4),l.Q6J("cdkPortalOutlet",It._portal))},directives:[K.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:[dt.bodyExpansion]},changeDetection:0}),gt})();class Ye{}const lt=(0,$.sb)(Ye);let tt=(()=>{class gt extends lt{constructor(ze,It,qt,Ct,fe,Y,x){super(),this.panel=ze,this._element=It,this._focusMonitor=qt,this._changeDetectorRef=Ct,this._animationMode=Y,this._parentChangeSubscription=P.w.EMPTY;const A=ze.accordion?ze.accordion._stateChanges.pipe((0,De.h)(C=>!(!C.hideToggle&&!C.togglePosition))):ve.E;this.tabIndex=parseInt(x||"")||0,this._parentChangeSubscription=(0,re.T)(ze.opened,ze.closed,A,ze._inputChanges.pipe((0,De.h)(C=>!!(C.hideToggle||C.disabled||C.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ze.closed.pipe((0,De.h)(()=>ze._containsFocus())).subscribe(()=>qt.focusVia(It,"program")),fe&&(this.expandedHeight=fe.expandedHeight,this.collapsedHeight=fe.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 ze=this._isExpanded();return ze&&this.expandedHeight?this.expandedHeight:!ze&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ze){switch(ze.keyCode){case Le.L_:case Le.K5:(0,Le.Vb)(ze)||(ze.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ze))}}focus(ze,It){ze?this._focusMonitor.focusVia(this._element,ze,It):this._element.nativeElement.focus(It)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ze=>{ze&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return gt.\u0275fac=function(ze){return new(ze||gt)(l.Y36(At,1),l.Y36(l.SBq),l.Y36(ee.tE),l.Y36(l.sBO),l.Y36(Ke,8),l.Y36(de.Qb,8),l.$8M("tabindex"))},gt.\u0275cmp=l.Xpm({type:gt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ze,It){1&ze&&l.NdJ("click",function(){return It._toggle()})("keydown",function(Ct){return It._keydown(Ct)}),2&ze&&(l.uIk("id",It.panel._headerId)("tabindex",It.tabIndex)("aria-controls",It._getPanelId())("aria-expanded",It._isExpanded())("aria-disabled",It.panel.disabled),l.Udp("height",It._getHeaderHeight()),l.ekj("mat-expanded",It._isExpanded())("mat-expansion-toggle-indicator-after","after"===It._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===It._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===It._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[l.qOj],ngContentSelectors:et,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ze,It){1&ze&&(l.F$t(rt),l.TgZ(0,"span",0),l.Hsn(1),l.Hsn(2,1),l.Hsn(3,2),l.qZA(),l.YNc(4,Ue,1,1,"span",1)),2&ze&&(l.xp6(4),l.Q6J("ngIf",It._showToggle()))},directives:[J.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:[dt.indicatorRotate]},changeDetection:0}),gt})(),wt=(()=>{class gt{}return gt.\u0275fac=function(ze){return new(ze||gt)},gt.\u0275dir=l.lG2({type:gt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),gt})(),Gt=(()=>{class gt{}return gt.\u0275fac=function(ze){return new(ze||gt)},gt.\u0275dir=l.lG2({type:gt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),gt})(),en=(()=>{class gt extends b{constructor(){super(...arguments),this._ownHeaders=new l.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(ze){this._hideToggle=(0,n.Ig)(ze)}ngAfterContentInit(){this._headers.changes.pipe((0,ce.O)(this._headers)).subscribe(ze=>{this._ownHeaders.reset(ze.filter(It=>It.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ee.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ze){this._keyManager.onKeydown(ze)}_handleHeaderFocus(ze){this._keyManager.updateActiveItem(ze)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return gt.\u0275fac=function(){let Qe;return function(It){return(Qe||(Qe=l.n5z(gt)))(It||gt)}}(),gt.\u0275dir=l.lG2({type:gt,selectors:[["mat-accordion"]],contentQueries:function(ze,It,qt){if(1&ze&&l.Suo(qt,tt,5),2&ze){let Ct;l.iGM(Ct=l.CRH())&&(It._headers=Ct)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ze,It){2&ze&&l.ekj("mat-accordion-multi",It.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[l._Bn([{provide:Tt,useExisting:gt}]),l.qOj]}),gt})(),St=(()=>{class gt{}return gt.\u0275fac=function(ze){return new(ze||gt)},gt.\u0275mod=l.oAB({type:gt}),gt.\u0275inj=l.cJS({imports:[[J.ez,$.BQ,G,K.eL]]}),gt})()},8295:(ft,Fe,p)=>{"use strict";p.d(Fe,{G_:()=>fe,KE:()=>Y,Eo:()=>je,lN:()=>x});var l=p(8553),n=p(8583),m=p(7716),P=p(2458),g=p(9490),D=p(9765),I=p(6682),b=p(2759),E=p(9761),U=p(6782),R=p(5257),G=p(7238),K=p(6237),J=p(4607),$=p(521);const ee=["underline"],te=["connectionContainer"],ce=["inputContainer"],De=["label"];function qe(A,C){1&A&&(m.ynx(0),m.TgZ(1,"div",14),m._UZ(2,"div",15),m._UZ(3,"div",16),m._UZ(4,"div",17),m.qZA(),m.TgZ(5,"div",18),m._UZ(6,"div",15),m._UZ(7,"div",16),m._UZ(8,"div",17),m.qZA(),m.BQk())}function Le(A,C){1&A&&(m.TgZ(0,"div",19),m.Hsn(1,1),m.qZA())}function de(A,C){if(1&A&&(m.ynx(0),m.Hsn(1,2),m.TgZ(2,"span"),m._uU(3),m.qZA(),m.BQk()),2&A){const S=m.oxw(2);m.xp6(3),m.Oqu(S._control.placeholder)}}function ve(A,C){1&A&&m.Hsn(0,3,["*ngSwitchCase","true"])}function re(A,C){1&A&&(m.TgZ(0,"span",23),m._uU(1," *"),m.qZA())}function ie(A,C){if(1&A){const S=m.EpF();m.TgZ(0,"label",20,21),m.NdJ("cdkObserveContent",function(){return m.CHM(S),m.oxw().updateOutlineGap()}),m.YNc(2,de,4,1,"ng-container",12),m.YNc(3,ve,1,0,"ng-content",12),m.YNc(4,re,2,0,"span",22),m.qZA()}if(2&A){const S=m.oxw();m.ekj("mat-empty",S._control.empty&&!S._shouldAlwaysFloat())("mat-form-field-empty",S._control.empty&&!S._shouldAlwaysFloat())("mat-accent","accent"==S.color)("mat-warn","warn"==S.color),m.Q6J("cdkObserveContentDisabled","outline"!=S.appearance)("id",S._labelId)("ngSwitch",S._hasLabel()),m.uIk("for",S._control.id)("aria-owns",S._control.id),m.xp6(2),m.Q6J("ngSwitchCase",!1),m.xp6(1),m.Q6J("ngSwitchCase",!0),m.xp6(1),m.Q6J("ngIf",!S.hideRequiredMarker&&S._control.required&&!S._control.disabled)}}function se(A,C){1&A&&(m.TgZ(0,"div",24),m.Hsn(1,4),m.qZA())}function Ie(A,C){if(1&A&&(m.TgZ(0,"div",25,26),m._UZ(2,"span",27),m.qZA()),2&A){const S=m.oxw();m.xp6(2),m.ekj("mat-accent","accent"==S.color)("mat-warn","warn"==S.color)}}function pe(A,C){if(1&A&&(m.TgZ(0,"div"),m.Hsn(1,5),m.qZA()),2&A){const S=m.oxw();m.Q6J("@transitionMessages",S._subscriptAnimationState)}}function be(A,C){if(1&A&&(m.TgZ(0,"div",31),m._uU(1),m.qZA()),2&A){const S=m.oxw(2);m.Q6J("id",S._hintLabelId),m.xp6(1),m.Oqu(S.hintLabel)}}function Ue(A,C){if(1&A&&(m.TgZ(0,"div",28),m.YNc(1,be,2,2,"div",29),m.Hsn(2,6),m._UZ(3,"div",30),m.Hsn(4,7),m.qZA()),2&A){const S=m.oxw();m.Q6J("@transitionMessages",S._subscriptAnimationState),m.xp6(1),m.Q6J("ngIf",S.hintLabel)}}const rt=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],et=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],He=new m.OlP("MatError"),Oe={transitionMessages:(0,G.X$)("transitionMessages",[(0,G.SB)("enter",(0,G.oB)({opacity:1,transform:"translateY(0%)"})),(0,G.eR)("void => enter",[(0,G.oB)({opacity:0,transform:"translateY(-5px)"}),(0,G.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let je=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275dir=m.lG2({type:A}),A})();const Ye=new m.OlP("MatHint");let tt=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275dir=m.lG2({type:A,selectors:[["mat-label"]]}),A})(),wt=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275dir=m.lG2({type:A,selectors:[["mat-placeholder"]]}),A})();const Gt=new m.OlP("MatPrefix"),St=new m.OlP("MatSuffix");let Qe=0;const qt=(0,P.pj)(class{constructor(A){this._elementRef=A}},"primary"),Ct=new m.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),fe=new m.OlP("MatFormField");let Y=(()=>{class A extends qt{constructor(S,F,H,v,V,q,xe,vt){super(S),this._changeDetectorRef=F,this._dir=v,this._defaults=V,this._platform=q,this._ngZone=xe,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new D.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Qe++,this._labelId="mat-form-field-label-"+Qe++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==vt,this.appearance=V&&V.appearance?V.appearance:"legacy",this._hideRequiredMarker=!(!V||null==V.hideRequiredMarker)&&V.hideRequiredMarker}get appearance(){return this._appearance}set appearance(S){const F=this._appearance;this._appearance=S||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&F!==S&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(S){this._hideRequiredMarker=(0,g.Ig)(S)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(S){this._hintLabel=S,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(S){S!==this._floatLabel&&(this._floatLabel=S||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(S){this._explicitFormFieldControl=S}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const S=this._control;S.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${S.controlType}`),S.stateChanges.pipe((0,E.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),S.ngControl&&S.ngControl.valueChanges&&S.ngControl.valueChanges.pipe((0,U.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,U.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,I.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,E.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,E.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,U.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(S){const F=this._control?this._control.ngControl:null;return F&&F[S]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,R.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let S=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&S.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const F=this._hintChildren?this._hintChildren.find(v=>"start"===v.align):null,H=this._hintChildren?this._hintChildren.find(v=>"end"===v.align):null;F?S.push(F.id):this._hintLabel&&S.push(this._hintLabelId),H&&S.push(H.id)}else this._errorChildren&&S.push(...this._errorChildren.map(F=>F.id));this._control.setDescribedByIds(S)}}_validateControlChild(){}updateOutlineGap(){const S=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&S&&S.children.length&&S.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let F=0,H=0;const v=this._connectionContainerRef.nativeElement,V=v.querySelectorAll(".mat-form-field-outline-start"),q=v.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const xe=v.getBoundingClientRect();if(0===xe.width&&0===xe.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const vt=this._getStartEnd(xe),xt=S.children,kt=this._getStartEnd(xt[0].getBoundingClientRect());let Yt=0;for(let Zt=0;Zt0?.75*Yt+10:0}for(let xe=0;xe{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275mod=m.oAB({type:A}),A.\u0275inj=m.cJS({imports:[[n.ez,P.BQ,l.Q8],P.BQ]}),A})()},9983:(ft,Fe,p)=>{"use strict";p.d(Fe,{Jk:()=>qe,c:()=>ie});var l=p(521),n=p(7716);p(9490),p(9193),p(9765),p(2759),p(13),p(6782),p(8583);let J=(()=>{class se{}return se.\u0275fac=function(pe){return new(pe||se)},se.\u0275mod=n.oAB({type:se}),se.\u0275inj=n.cJS({imports:[[l.ud]]}),se})();var $=p(2458),ee=p(8295);p(3679);const qe=new n.OlP("MAT_INPUT_VALUE_ACCESSOR");let ie=(()=>{class se{}return se.\u0275fac=function(pe){return new(pe||se)},se.\u0275mod=n.oAB({type:se}),se.\u0275inj=n.cJS({providers:[$.rD],imports:[[J,ee.lN,$.BQ],J,ee.lN]}),se})()},3935:(ft,Fe,p)=>{"use strict";p.d(Fe,{VK:()=>wt,OP:()=>At,Tx:()=>qt,p6:()=>It});var l=p(9238),n=p(9490),m=p(6461),P=p(7716),g=p(9765),D=p(5319),I=p(6682),b=p(5917),E=p(4581),U=p(9761),R=p(3190),G=p(5257),K=p(5435),J=p(6782),$=p(1289),ee=p(7238),te=p(7636),ce=p(8583),De=p(2458),qe=p(625),Le=p(521),de=p(6994),ve=p(4607);const re=["mat-menu-item",""];function ie(Ct,fe){1&Ct&&(P.O4$(),P.TgZ(0,"svg",2),P._UZ(1,"polygon",3),P.qZA())}const se=["*"];function Ie(Ct,fe){if(1&Ct){const Y=P.EpF();P.TgZ(0,"div",0),P.NdJ("keydown",function(A){return P.CHM(Y),P.oxw()._handleKeydown(A)})("click",function(){return P.CHM(Y),P.oxw().closed.emit("click")})("@transformMenu.start",function(A){return P.CHM(Y),P.oxw()._onAnimationStart(A)})("@transformMenu.done",function(A){return P.CHM(Y),P.oxw()._onAnimationDone(A)}),P.TgZ(1,"div",1),P.Hsn(2),P.qZA(),P.qZA()}if(2&Ct){const Y=P.oxw();P.Q6J("id",Y.panelId)("ngClass",Y._classList)("@transformMenu",Y._panelAnimationState),P.uIk("aria-label",Y.ariaLabel||null)("aria-labelledby",Y.ariaLabelledby||null)("aria-describedby",Y.ariaDescribedby||null)}}const pe={transformMenu:(0,ee.X$)("transformMenu",[(0,ee.SB)("void",(0,ee.oB)({opacity:0,transform:"scale(0.8)"})),(0,ee.eR)("void => enter",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.oB)({opacity:1,transform:"scale(1)"}))),(0,ee.eR)("* => void",(0,ee.jt)("100ms 25ms linear",(0,ee.oB)({opacity:0})))]),fadeInItems:(0,ee.X$)("fadeInItems",[(0,ee.SB)("showing",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",[(0,ee.oB)({opacity:0}),(0,ee.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},rt=new P.OlP("MatMenuContent"),Ke=new P.OlP("MAT_MENU_PANEL"),Be=(0,De.Kr)((0,De.Id)(class{}));let At=(()=>{class Ct extends Be{constructor(Y,x,A,C,S){super(),this._elementRef=Y,this._focusMonitor=A,this._parentMenu=C,this._changeDetectorRef=S,this.role="menuitem",this._hovered=new g.xQ,this._focused=new g.xQ,this._highlighted=!1,this._triggersSubmenu=!1,C&&C.addItem&&C.addItem(this)}focus(Y,x){this._focusMonitor&&Y?this._focusMonitor.focusVia(this._getHostElement(),Y,x):this._getHostElement().focus(x),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Y){this.disabled&&(Y.preventDefault(),Y.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Y,x;const A=this._elementRef.nativeElement.cloneNode(!0),C=A.querySelectorAll("mat-icon, .material-icons");for(let S=0;S{class Ct{constructor(Y,x,A){this._elementRef=Y,this._ngZone=x,this._defaultOptions=A,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new P.n_E,this._tabSubscription=D.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new g.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new P.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+lt++}get xPosition(){return this._xPosition}set xPosition(Y){this._xPosition=Y,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Y){this._yPosition=Y,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Y){this._overlapTrigger=(0,n.Ig)(Y)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Y){this._hasBackdrop=(0,n.Ig)(Y)}set panelClass(Y){const x=this._previousPanelClass;x&&x.length&&x.split(" ").forEach(A=>{this._classList[A]=!1}),this._previousPanelClass=Y,Y&&Y.length&&(Y.split(" ").forEach(A=>{this._classList[A]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Y){this.panelClass=Y}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new l.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,U.O)(this._directDescendantItems),(0,R.w)(Y=>(0,I.T)(...Y.map(x=>x._focused)))).subscribe(Y=>this._keyManager.updateActiveItem(Y))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,U.O)(this._directDescendantItems),(0,R.w)(x=>(0,I.T)(...x.map(A=>A._hovered))))}addItem(Y){}removeItem(Y){}_handleKeydown(Y){const x=Y.keyCode,A=this._keyManager;switch(x){case m.hY:(0,m.Vb)(Y)||(Y.preventDefault(),this.closed.emit("keydown"));break;case m.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case m.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(x===m.LH||x===m.JH)&&A.setFocusOrigin("keyboard"),A.onKeydown(Y)}}focusFirstItem(Y="program"){this.lazyContent?this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>this._focusFirstItem(Y)):this._focusFirstItem(Y)}_focusFirstItem(Y){const x=this._keyManager;if(x.setFocusOrigin(Y).setFirstItemActive(),!x.activeItem&&this._directDescendantItems.length){let A=this._directDescendantItems.first._getHostElement().parentElement;for(;A;){if("menu"===A.getAttribute("role")){A.focus();break}A=A.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Y){const x=Math.min(this._baseElevation+Y,24),A=`${this._elevationPrefix}${x}`,C=Object.keys(this._classList).find(S=>S.startsWith(this._elevationPrefix));(!C||C===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[A]=!0,this._previousElevation=A)}setPositionClasses(Y=this.xPosition,x=this.yPosition){const A=this._classList;A["mat-menu-before"]="before"===Y,A["mat-menu-after"]="after"===Y,A["mat-menu-above"]="above"===x,A["mat-menu-below"]="below"===x}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Y){this._animationDone.next(Y),this._isAnimating=!1}_onAnimationStart(Y){this._isAnimating=!0,"enter"===Y.toState&&0===this._keyManager.activeItemIndex&&(Y.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,U.O)(this._allItems)).subscribe(Y=>{this._directDescendantItems.reset(Y.filter(x=>x._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(P.Y36(P.SBq),P.Y36(P.R0b),P.Y36(at))},Ct.\u0275dir=P.lG2({type:Ct,contentQueries:function(Y,x,A){if(1&Y&&(P.Suo(A,rt,5),P.Suo(A,At,5),P.Suo(A,At,4)),2&Y){let C;P.iGM(C=P.CRH())&&(x.lazyContent=C.first),P.iGM(C=P.CRH())&&(x._allItems=C),P.iGM(C=P.CRH())&&(x.items=C)}},viewQuery:function(Y,x){if(1&Y&&P.Gf(P.Rgc,5),2&Y){let A;P.iGM(A=P.CRH())&&(x.templateRef=A.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),Ct})(),wt=(()=>{class Ct extends tt{constructor(Y,x,A){super(Y,x,A),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(P.Y36(P.SBq),P.Y36(P.R0b),P.Y36(at))},Ct.\u0275cmp=P.Xpm({type:Ct,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Y,x){2&Y&&P.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[P._Bn([{provide:Ke,useExisting:Ct}]),P.qOj],ngContentSelectors:se,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Y,x){1&Y&&(P.F$t(),P.YNc(0,Ie,3,6,"ng-template"))},directives:[ce.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[pe.transformMenu,pe.fadeInItems]},changeDetection:0}),Ct})();const Gt=new P.OlP("mat-menu-scroll-strategy"),St={provide:Gt,deps:[qe.aV],useFactory:function(Ct){return()=>Ct.scrollStrategies.reposition()}},Qe=(0,Le.i$)({passive:!0});let ze=(()=>{class Ct{constructor(Y,x,A,C,S,F,H,v){this._overlay=Y,this._element=x,this._viewContainerRef=A,this._menuItemInstance=F,this._dir=H,this._focusMonitor=v,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=D.w.EMPTY,this._hoverSubscription=D.w.EMPTY,this._menuCloseSubscription=D.w.EMPTY,this._handleTouchStart=V=>{(0,l.yG)(V)||(this._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new P.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new P.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=C,this._parentMaterialMenu=S instanceof tt?S:void 0,x.nativeElement.addEventListener("touchstart",this._handleTouchStart,Qe),F&&(F._triggersSubmenu=this.triggersSubmenu())}get _ariaExpanded(){return this.menuOpen||null}get _ariaControl(){return this.menuOpen?this.menu.panelId:null}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Y){this.menu=Y}get menu(){return this._menu}set menu(Y){Y!==this._menu&&(this._menu=Y,this._menuCloseSubscription.unsubscribe(),Y&&(this._menuCloseSubscription=Y.close.subscribe(x=>{this._destroyMenu(x),("click"===x||"tab"===x)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(x)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Qe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const Y=this._createOverlay(),x=Y.getConfig();this._setPosition(x.positionStrategy),x.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,Y.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tt&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(Y,x){this._focusMonitor&&Y?this._focusMonitor.focusVia(this._element,Y,x):this._element.nativeElement.focus(x)}updatePosition(){var Y;null===(Y=this._overlayRef)||void 0===Y||Y.updatePosition()}_destroyMenu(Y){if(!this._overlayRef||!this.menuOpen)return;const x=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Y||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,x instanceof tt?(x._resetAnimation(),x.lazyContent?x._animationDone.pipe((0,K.h)(A=>"void"===A.toState),(0,G.q)(1),(0,J.R)(x.lazyContent._attached)).subscribe({next:()=>x.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),x.lazyContent&&x.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let Y=0,x=this.menu.parentMenu;for(;x;)Y++,x=x.parentMenu;this.menu.setElevation(Y)}}_setIsMenuOpen(Y){this._menuOpen=Y,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Y)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const Y=this._getOverlayConfig();this._subscribeToPositions(Y.positionStrategy),this._overlayRef=this._overlay.create(Y),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new qe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Y){this.menu.setPositionClasses&&Y.positionChanges.subscribe(x=>{this.menu.setPositionClasses("start"===x.connectionPair.overlayX?"after":"before","top"===x.connectionPair.overlayY?"below":"above")})}_setPosition(Y){let[x,A]="before"===this.menu.xPosition?["end","start"]:["start","end"],[C,S]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[F,H]=[C,S],[v,V]=[x,A],q=0;this.triggersSubmenu()?(V=x="before"===this.menu.xPosition?"start":"end",A=v="end"===x?"start":"end",q="bottom"===C?8:-8):this.menu.overlapTrigger||(F="top"===C?"bottom":"top",H="top"===S?"bottom":"top"),Y.withPositions([{originX:x,originY:F,overlayX:v,overlayY:C,offsetY:q},{originX:A,originY:F,overlayX:V,overlayY:C,offsetY:q},{originX:x,originY:H,overlayX:v,overlayY:S,offsetY:-q},{originX:A,originY:H,overlayX:V,overlayY:S,offsetY:-q}])}_menuClosingActions(){const Y=this._overlayRef.backdropClick(),x=this._overlayRef.detachments(),A=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),C=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(S=>S!==this._menuItemInstance),(0,K.h)(()=>this._menuOpen)):(0,b.of)();return(0,I.T)(Y,A,C,x)}_handleMousedown(Y){(0,l.X6)(Y)||(this._openedBy=0===Y.button?"mouse":void 0,this.triggersSubmenu()&&Y.preventDefault())}_handleKeydown(Y){const x=Y.keyCode;(x===m.K5||x===m.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(x===m.SV&&"ltr"===this.dir||x===m.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Y){this.triggersSubmenu()?(Y.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(Y=>Y===this._menuItemInstance&&!Y.disabled),(0,$.g)(0,E.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,G.q)(1),(0,$.g)(0,E.E),(0,J.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new te.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(P.Y36(qe.aV),P.Y36(P.SBq),P.Y36(P.s_b),P.Y36(Gt),P.Y36(Ke,8),P.Y36(At,10),P.Y36(ve.Is,8),P.Y36(l.tE))},Ct.\u0275dir=P.lG2({type:Ct,hostVars:3,hostBindings:function(Y,x){1&Y&&P.NdJ("mousedown",function(C){return x._handleMousedown(C)})("keydown",function(C){return x._handleKeydown(C)})("click",function(C){return x._handleClick(C)}),2&Y&&P.uIk("aria-haspopup",x._ariaHaspopup)("aria-expanded",x._ariaExpanded)("aria-controls",x._ariaControl)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),Ct})(),It=(()=>{class Ct extends ze{}return Ct.\u0275fac=function(){let fe;return function(x){return(fe||(fe=P.n5z(Ct)))(x||Ct)}}(),Ct.\u0275dir=P.lG2({type:Ct,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[P.qOj]}),Ct})(),qt=(()=>{class Ct{}return Ct.\u0275fac=function(Y){return new(Y||Ct)},Ct.\u0275mod=P.oAB({type:Ct}),Ct.\u0275inj=P.cJS({providers:[St],imports:[[ce.ez,De.BQ,De.si,qe.U8],de.ZD,De.BQ]}),Ct})()},2613:(ft,Fe,p)=>{"use strict";p.d(Fe,{U0:()=>de,VQ:()=>ce,Fk:()=>ve});var l=p(7716),n=p(2458),m=p(9490),P=p(3679),g=p(6237),D=p(9238),I=p(8345);const b=["input"],E=function(re){return{enterDuration:re}},U=["*"],R=new l.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let K=0;const J={provide:P.JU,useExisting:(0,l.Gpc)(()=>ce),multi:!0};class ${constructor(ie,se){this.source=ie,this.value=se}}const ee=new l.OlP("MatRadioGroup");let te=(()=>{class re{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+K++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new l.vpe}get name(){return this._name}set name(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,m.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,m.Ig)(se),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Ie=>{Ie.checked=this.value===Ie.value,Ie.checked&&(this._selected=Ie)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new $(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}}return re.\u0275fac=function(se){return new(se||re)(l.Y36(l.sBO))},re.\u0275dir=l.lG2({type:re,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),re})(),ce=(()=>{class re extends te{}return re.\u0275fac=function(){let ie;return function(Ie){return(ie||(ie=l.n5z(re)))(Ie||re)}}(),re.\u0275dir=l.lG2({type:re,selectors:[["mat-radio-group"]],contentQueries:function(se,Ie,pe){if(1&se&&l.Suo(pe,de,5),2&se){let be;l.iGM(be=l.CRH())&&(Ie._radios=be)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[l._Bn([J,{provide:ee,useExisting:re}]),l.qOj]}),re})();class De{constructor(ie){this._elementRef=ie}}const qe=(0,n.Kr)((0,n.sb)(De));let Le=(()=>{class re extends qe{constructor(se,Ie,pe,be,Ue,rt,et,Tt){super(Ie),this._changeDetector=pe,this._focusMonitor=be,this._radioDispatcher=Ue,this._providerOverride=et,this._uniqueId="mat-radio-"+ ++K,this.id=this._uniqueId,this.change=new l.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===rt,Tt&&(this.tabIndex=(0,m.su)(Tt,0)),this._removeUniqueSelectionListener=Ue.listen((He,dt)=>{He!==this.id&&dt===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(se){const Ie=(0,m.Ig)(se);this._checked!==Ie&&(this._checked=Ie,Ie&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Ie&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Ie&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,m.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,m.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}focus(se,Ie){Ie?this._focusMonitor.focusVia(this._inputElement,Ie,se):this._inputElement.nativeElement.focus(se)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new $(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const Ie=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Ie&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}}return re.\u0275fac=function(se){return new(se||re)(l.Y36(te),l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(D.tE),l.Y36(I.A8),l.Y36(String),l.Y36(void 0),l.Y36(String))},re.\u0275dir=l.lG2({type:re,viewQuery:function(se,Ie){if(1&se&&l.Gf(b,5),2&se){let pe;l.iGM(pe=l.CRH())&&(Ie._inputElement=pe.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[l.qOj]}),re})(),de=(()=>{class re extends Le{constructor(se,Ie,pe,be,Ue,rt,et,Tt){super(se,Ie,pe,be,Ue,rt,et,Tt)}}return re.\u0275fac=function(se){return new(se||re)(l.Y36(ee,8),l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(D.tE),l.Y36(I.A8),l.Y36(g.Qb,8),l.Y36(R,8),l.$8M("tabindex"))},re.\u0275cmp=l.Xpm({type:re,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(se,Ie){1&se&&l.NdJ("focus",function(){return Ie._inputElement.nativeElement.focus()}),2&se&&(l.uIk("tabindex",null)("id",Ie.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),l.ekj("mat-radio-checked",Ie.checked)("mat-radio-disabled",Ie.disabled)("_mat-animation-noopable",Ie._noopAnimations)("mat-primary","primary"===Ie.color)("mat-accent","accent"===Ie.color)("mat-warn","warn"===Ie.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[l.qOj],ngContentSelectors:U,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(se,Ie){if(1&se&&(l.F$t(),l.TgZ(0,"label",0,1),l.TgZ(2,"span",2),l._UZ(3,"span",3),l._UZ(4,"span",4),l.TgZ(5,"input",5,6),l.NdJ("change",function(be){return Ie._onInputInteraction(be)})("click",function(be){return Ie._onInputClick(be)}),l.qZA(),l.TgZ(7,"span",7),l._UZ(8,"span",8),l.qZA(),l.qZA(),l.TgZ(9,"span",9),l.TgZ(10,"span",10),l._uU(11,"\xa0"),l.qZA(),l.Hsn(12),l.qZA(),l.qZA()),2&se){const pe=l.MAs(1);l.uIk("for",Ie.inputId),l.xp6(5),l.Q6J("id",Ie.inputId)("checked",Ie.checked)("disabled",Ie.disabled)("tabIndex",Ie.tabIndex)("required",Ie.required),l.uIk("name",Ie.name)("value",Ie.value)("aria-label",Ie.ariaLabel)("aria-labelledby",Ie.ariaLabelledby)("aria-describedby",Ie.ariaDescribedby),l.xp6(2),l.Q6J("matRippleTrigger",pe)("matRippleDisabled",Ie._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",l.VKq(18,E,Ie._noopAnimations?0:150)),l.xp6(2),l.ekj("mat-radio-label-before","before"==Ie.labelPosition)}},directives:[n.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),re})(),ve=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=l.oAB({type:re}),re.\u0275inj=l.cJS({imports:[[n.si,n.BQ],n.BQ]}),re})()},7441:(ft,Fe,p)=>{"use strict";p.d(Fe,{gD:()=>qt,LD:()=>Ct});var l=p(625),n=p(8583),m=p(7716),P=p(2458),g=p(8295),D=p(6994),I=p(9238),b=p(9490),E=p(8345),U=p(6461),R=p(9765),G=p(1439),K=p(6682),J=p(9761),$=p(3190),ee=p(5257),te=p(5435),ce=p(8002),De=p(7519),qe=p(6782),Le=p(7238),de=p(4607),ve=p(3679);const re=["trigger"],ie=["panel"];function se(fe,Y){if(1&fe&&(m.TgZ(0,"span",8),m._uU(1),m.qZA()),2&fe){const x=m.oxw();m.xp6(1),m.Oqu(x.placeholder)}}function Ie(fe,Y){if(1&fe&&(m.TgZ(0,"span",12),m._uU(1),m.qZA()),2&fe){const x=m.oxw(2);m.xp6(1),m.Oqu(x.triggerValue)}}function pe(fe,Y){1&fe&&m.Hsn(0,0,["*ngSwitchCase","true"])}function be(fe,Y){if(1&fe&&(m.TgZ(0,"span",9),m.YNc(1,Ie,2,1,"span",10),m.YNc(2,pe,1,0,"ng-content",11),m.qZA()),2&fe){const x=m.oxw();m.Q6J("ngSwitch",!!x.customTrigger),m.xp6(2),m.Q6J("ngSwitchCase",!0)}}function Ue(fe,Y){if(1&fe){const x=m.EpF();m.TgZ(0,"div",13),m.TgZ(1,"div",14,15),m.NdJ("@transformPanel.done",function(C){return m.CHM(x),m.oxw()._panelDoneAnimatingStream.next(C.toState)})("keydown",function(C){return m.CHM(x),m.oxw()._handleKeydown(C)}),m.Hsn(3,1),m.qZA(),m.qZA()}if(2&fe){const x=m.oxw();m.Q6J("@transformPanelWrap",void 0),m.xp6(1),m.Gre("mat-select-panel ",x._getPanelTheme(),""),m.Udp("transform-origin",x._transformOrigin)("font-size",x._triggerFontSize,"px"),m.Q6J("ngClass",x.panelClass)("@transformPanel",x.multiple?"showing-multiple":"showing"),m.uIk("id",x.id+"-panel")("aria-multiselectable",x.multiple)("aria-label",x.ariaLabel||null)("aria-labelledby",x._getPanelAriaLabelledby())}}const rt=[[["mat-select-trigger"]],"*"],et=["mat-select-trigger","*"],Tt={transformPanelWrap:(0,Le.X$)("transformPanelWrap",[(0,Le.eR)("* => void",(0,Le.IO)("@transformPanel",[(0,Le.pV)()],{optional:!0}))]),transformPanel:(0,Le.X$)("transformPanel",[(0,Le.SB)("void",(0,Le.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,Le.SB)("showing",(0,Le.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,Le.SB)("showing-multiple",(0,Le.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,Le.eR)("void => *",(0,Le.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,Le.eR)("* => void",(0,Le.jt)("100ms 25ms linear",(0,Le.oB)({opacity:0})))])};let je=0;const tt=new m.OlP("mat-select-scroll-strategy"),Gt=new m.OlP("MAT_SELECT_CONFIG"),en={provide:tt,deps:[l.aV],useFactory:function(fe){return()=>fe.scrollStrategies.reposition()}};class St{constructor(Y,x){this.source=Y,this.value=x}}const gt=(0,P.Kr)((0,P.sb)((0,P.Id)((0,P.FD)(class{constructor(fe,Y,x,A,C){this._elementRef=fe,this._defaultErrorStateMatcher=Y,this._parentForm=x,this._parentFormGroup=A,this.ngControl=C}})))),Qe=new m.OlP("MatSelectTrigger");let It=(()=>{class fe extends gt{constructor(x,A,C,S,F,H,v,V,q,xe,vt,xt,kt,Yt){var Zt,Wt,an;super(F,S,v,V,xe),this._viewportRuler=x,this._changeDetectorRef=A,this._ngZone=C,this._dir=H,this._parentFormField=q,this._liveAnnouncer=kt,this._defaultOptions=Yt,this._panelOpen=!1,this._compareWith=(Jt,ln)=>Jt===ln,this._uid="mat-select-"+je++,this._triggerAriaLabelledBy=null,this._destroy=new R.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+je++,this._panelDoneAnimatingStream=new R.xQ,this._overlayPanelClass=(null===(Zt=this._defaultOptions)||void 0===Zt?void 0:Zt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(an=null===(Wt=this._defaultOptions)||void 0===Wt?void 0:Wt.disableOptionCentering)&&void 0!==an&&an,this.ariaLabel="",this.optionSelectionChanges=(0,G.P)(()=>{const Jt=this.options;return Jt?Jt.changes.pipe((0,J.O)(Jt),(0,$.w)(()=>(0,K.T)(...Jt.map(ln=>ln.onSelectionChange)))):this._ngZone.onStable.pipe((0,ee.q)(1),(0,$.w)(()=>this.optionSelectionChanges))}),this.openedChange=new m.vpe,this._openedStream=this.openedChange.pipe((0,te.h)(Jt=>Jt),(0,ce.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,te.h)(Jt=>!Jt),(0,ce.U)(()=>{})),this.selectionChange=new m.vpe,this.valueChange=new m.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Yt?void 0:Yt.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Yt.typeaheadDebounceInterval),this._scrollStrategyFactory=xt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(vt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(x){this._placeholder=x,this.stateChanges.next()}get required(){return this._required}set required(x){this._required=(0,b.Ig)(x),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(x){this._multiple=(0,b.Ig)(x)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(x){this._disableOptionCentering=(0,b.Ig)(x)}get compareWith(){return this._compareWith}set compareWith(x){this._compareWith=x,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(x){(x!==this._value||this._multiple&&Array.isArray(x))&&(this.options&&this._setSelectionByValue(x),this._value=x)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(x){this._typeaheadDebounceInterval=(0,b.su)(x)}get id(){return this._id}set id(x){this._id=x||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new E.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,De.x)(),(0,qe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,qe.R)(this._destroy)).subscribe(x=>{x.added.forEach(A=>A.select()),x.removed.forEach(A=>A.deselect())}),this.options.changes.pipe((0,J.O)(null),(0,qe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const x=this._getTriggerAriaLabelledby();if(x!==this._triggerAriaLabelledBy){const A=this._elementRef.nativeElement;this._triggerAriaLabelledBy=x,x?A.setAttribute("aria-labelledby",x):A.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(x){x.disabled&&this.stateChanges.next(),x.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(x){this.value=x}registerOnChange(x){this._onChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this.disabled=x,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var x,A;return this.multiple?(null===(x=this._selectionModel)||void 0===x?void 0:x.selected)||[]:null===(A=this._selectionModel)||void 0===A?void 0:A.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const x=this._selectionModel.selected.map(A=>A.viewValue);return this._isRtl()&&x.reverse(),x.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(x){this.disabled||(this.panelOpen?this._handleOpenKeydown(x):this._handleClosedKeydown(x))}_handleClosedKeydown(x){const A=x.keyCode,C=A===U.JH||A===U.LH||A===U.oh||A===U.SV,S=A===U.K5||A===U.L_,F=this._keyManager;if(!F.isTyping()&&S&&!(0,U.Vb)(x)||(this.multiple||x.altKey)&&C)x.preventDefault(),this.open();else if(!this.multiple){const H=this.selected;F.onKeydown(x);const v=this.selected;v&&H!==v&&this._liveAnnouncer.announce(v.viewValue,1e4)}}_handleOpenKeydown(x){const A=this._keyManager,C=x.keyCode,S=C===U.JH||C===U.LH,F=A.isTyping();if(S&&x.altKey)x.preventDefault(),this.close();else if(F||C!==U.K5&&C!==U.L_||!A.activeItem||(0,U.Vb)(x))if(!F&&this._multiple&&C===U.A&&x.ctrlKey){x.preventDefault();const H=this.options.some(v=>!v.disabled&&!v.selected);this.options.forEach(v=>{v.disabled||(H?v.select():v.deselect())})}else{const H=A.activeItemIndex;A.onKeydown(x),this._multiple&&S&&x.shiftKey&&A.activeItem&&A.activeItemIndex!==H&&A.activeItem._selectViaInteraction()}else x.preventDefault(),A.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ee.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(x){if(this._selectionModel.selected.forEach(A=>A.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&x)Array.isArray(x),x.forEach(A=>this._selectValue(A)),this._sortValues();else{const A=this._selectValue(x);A?this._keyManager.updateActiveItem(A):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(x){const A=this.options.find(C=>{if(this._selectionModel.isSelected(C))return!1;try{return null!=C.value&&this._compareWith(C.value,x)}catch(S){return!1}});return A&&this._selectionModel.select(A),A}_initKeyManager(){this._keyManager=new I.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,qe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,qe.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const x=(0,K.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,qe.R)(x)).subscribe(A=>{this._onSelect(A.source,A.isUserInput),A.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,K.T)(...this.options.map(A=>A._stateChanges)).pipe((0,qe.R)(x)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(x,A){const C=this._selectionModel.isSelected(x);null!=x.value||this._multiple?(C!==x.selected&&(x.selected?this._selectionModel.select(x):this._selectionModel.deselect(x)),A&&this._keyManager.setActiveItem(x),this.multiple&&(this._sortValues(),A&&this.focus())):(x.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(x.value)),C!==this._selectionModel.isSelected(x)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const x=this.options.toArray();this._selectionModel.sort((A,C)=>this.sortComparator?this.sortComparator(A,C,x):x.indexOf(A)-x.indexOf(C)),this.stateChanges.next()}}_propagateChanges(x){let A=null;A=this.multiple?this.selected.map(C=>C.value):this.selected?this.selected.value:x,this._value=A,this.valueChange.emit(A),this._onChange(A),this.selectionChange.emit(this._getChangeEvent(A)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var x;return!this._panelOpen&&!this.disabled&&(null===(x=this.options)||void 0===x?void 0:x.length)>0}focus(x){this._elementRef.nativeElement.focus(x)}_getPanelAriaLabelledby(){var x;if(this.ariaLabel)return null;const A=null===(x=this._parentFormField)||void 0===x?void 0:x.getLabelId();return this.ariaLabelledby?(A?A+" ":"")+this.ariaLabelledby:A}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var x;if(this.ariaLabel)return null;const A=null===(x=this._parentFormField)||void 0===x?void 0:x.getLabelId();let C=(A?A+" ":"")+this._valueId;return this.ariaLabelledby&&(C+=" "+this.ariaLabelledby),C}_panelDoneAnimating(x){this.openedChange.emit(x)}setDescribedByIds(x){this._ariaDescribedby=x.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return fe.\u0275fac=function(x){return new(x||fe)(m.Y36(D.rL),m.Y36(m.sBO),m.Y36(m.R0b),m.Y36(P.rD),m.Y36(m.SBq),m.Y36(de.Is,8),m.Y36(ve.F,8),m.Y36(ve.sg,8),m.Y36(g.G_,8),m.Y36(ve.a5,10),m.$8M("tabindex"),m.Y36(tt),m.Y36(I.Kd),m.Y36(Gt,8))},fe.\u0275dir=m.lG2({type:fe,viewQuery:function(x,A){if(1&x&&(m.Gf(re,5),m.Gf(ie,5),m.Gf(l.pI,5)),2&x){let C;m.iGM(C=m.CRH())&&(A.trigger=C.first),m.iGM(C=m.CRH())&&(A.panel=C.first),m.iGM(C=m.CRH())&&(A._overlayDir=C.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[m.qOj,m.TTD]}),fe})(),qt=(()=>{class fe extends It{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(x,A,C){const S=this._getItemHeight();return Math.min(Math.max(0,S*x-A+S/2),C)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,qe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(x){const A=(0,P.CB)(x,this.options,this.optionGroups),C=this._getItemHeight();this.panel.nativeElement.scrollTop=0===x&&1===A?0:(0,P.jH)((x+A)*C,C,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(x){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(x)}_getChangeEvent(x){return new St(this,x)}_calculateOverlayOffsetX(){const x=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),A=this._viewportRuler.getViewportSize(),C=this._isRtl(),S=this.multiple?56:32;let F;if(this.multiple)F=40;else if(this.disableOptionCentering)F=16;else{let V=this._selectionModel.selected[0]||this.options.first;F=V&&V.group?32:16}C||(F*=-1);const H=0-(x.left+F-(C?S:0)),v=x.right+F-A.width+(C?0:S);H>0?F+=H+8:v>0&&(F-=v+8),this._overlayDir.offsetX=Math.round(F),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(x,A,C){const S=this._getItemHeight(),F=(S-this._triggerRect.height)/2,H=Math.floor(256/S);let v;return this.disableOptionCentering?0:(v=0===this._scrollTop?x*S:this._scrollTop===C?(x-(this._getItemCount()-H))*S+(S-(this._getItemCount()*S-256)%S):A-S/2,Math.round(-1*v-F))}_checkOverlayWithinViewport(x){const A=this._getItemHeight(),C=this._viewportRuler.getViewportSize(),S=this._triggerRect.top-8,F=C.height-this._triggerRect.bottom-8,H=Math.abs(this._offsetY),V=Math.min(this._getItemCount()*A,256)-H-this._triggerRect.height;V>F?this._adjustPanelUp(V,F):H>S?this._adjustPanelDown(H,S,x):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(x,A){const C=Math.round(x-A);this._scrollTop-=C,this._offsetY-=C,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(x,A,C){const S=Math.round(x-A);if(this._scrollTop+=S,this._offsetY+=S,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=C)return this._scrollTop=C,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const x=this._getItemHeight(),A=this._getItemCount(),C=Math.min(A*x,256),F=A*x-C;let H;H=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),H+=(0,P.CB)(H,this.options,this.optionGroups);const v=C/2;this._scrollTop=this._calculateOverlayScroll(H,v,F),this._offsetY=this._calculateOverlayOffsetY(H,v,F),this._checkOverlayWithinViewport(F)}_getOriginBasedOnOption(){const x=this._getItemHeight(),A=(x-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-A+x/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return fe.\u0275fac=function(){let Y;return function(A){return(Y||(Y=m.n5z(fe)))(A||fe)}}(),fe.\u0275cmp=m.Xpm({type:fe,selectors:[["mat-select"]],contentQueries:function(x,A,C){if(1&x&&(m.Suo(C,Qe,5),m.Suo(C,P.ey,5),m.Suo(C,P.K7,5)),2&x){let S;m.iGM(S=m.CRH())&&(A.customTrigger=S.first),m.iGM(S=m.CRH())&&(A.options=S),m.iGM(S=m.CRH())&&(A.optionGroups=S)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(x,A){1&x&&m.NdJ("keydown",function(S){return A._handleKeydown(S)})("focus",function(){return A._onFocus()})("blur",function(){return A._onBlur()}),2&x&&(m.uIk("id",A.id)("tabindex",A.tabIndex)("aria-controls",A.panelOpen?A.id+"-panel":null)("aria-expanded",A.panelOpen)("aria-label",A.ariaLabel||null)("aria-required",A.required.toString())("aria-disabled",A.disabled.toString())("aria-invalid",A.errorState)("aria-describedby",A._ariaDescribedby||null)("aria-activedescendant",A._getAriaActiveDescendant()),m.ekj("mat-select-disabled",A.disabled)("mat-select-invalid",A.errorState)("mat-select-required",A.required)("mat-select-empty",A.empty)("mat-select-multiple",A.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[m._Bn([{provide:g.Eo,useExisting:fe},{provide:P.HF,useExisting:fe}]),m.qOj],ngContentSelectors:et,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(x,A){if(1&x&&(m.F$t(rt),m.TgZ(0,"div",0,1),m.NdJ("click",function(){return A.toggle()}),m.TgZ(3,"div",2),m.YNc(4,se,2,1,"span",3),m.YNc(5,be,3,2,"span",4),m.qZA(),m.TgZ(6,"div",5),m._UZ(7,"div",6),m.qZA(),m.qZA(),m.YNc(8,Ue,4,14,"ng-template",7),m.NdJ("backdropClick",function(){return A.close()})("attach",function(){return A._onAttached()})("detach",function(){return A.close()})),2&x){const C=m.MAs(1);m.uIk("aria-owns",A.panelOpen?A.id+"-panel":null),m.xp6(3),m.Q6J("ngSwitch",A.empty),m.uIk("id",A._valueId),m.xp6(1),m.Q6J("ngSwitchCase",!0),m.xp6(1),m.Q6J("ngSwitchCase",!1),m.xp6(3),m.Q6J("cdkConnectedOverlayPanelClass",A._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",A._scrollStrategy)("cdkConnectedOverlayOrigin",C)("cdkConnectedOverlayOpen",A.panelOpen)("cdkConnectedOverlayPositions",A._positions)("cdkConnectedOverlayMinWidth",null==A._triggerRect?null:A._triggerRect.width)("cdkConnectedOverlayOffsetY",A._offsetY)}},directives:[l.xu,n.RF,n.n9,l.pI,n.ED,n.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Tt.transformPanelWrap,Tt.transformPanel]},changeDetection:0}),fe})(),Ct=(()=>{class fe{}return fe.\u0275fac=function(x){return new(x||fe)},fe.\u0275mod=m.oAB({type:fe}),fe.\u0275inj=m.cJS({providers:[en],imports:[[n.ez,l.U8,P.Ng,P.BQ],D.ZD,g.lN,P.Ng,P.BQ]}),fe})()},3017:(ft,Fe,p)=>{"use strict";p.d(Fe,{SJ:()=>en});var l=p(521),n=p(6994),m=p(8583),P=p(7716),g=p(2458);p(9490),p(6461),p(9765),p(2759),p(6682),p(7393),p(5435),p(8002),p(6782),p(7519),p(5257),p(9761),p(4395),p(7238),p(6237),p(9238),p(4607);let en=(()=>{class St{}return St.\u0275fac=function(Qe){return new(Qe||St)},St.\u0275mod=P.oAB({type:St}),St.\u0275inj=P.cJS({imports:[[m.ez,g.BQ,l.ud,n.ZD],n.ZD,g.BQ]}),St})()},5396:(ft,Fe,p)=>{"use strict";p.d(Fe,{Rr:()=>ce,rP:()=>de});var l=p(8553),n=p(7716),m=p(2458),P=p(9490),g=p(3679),D=p(6237),I=p(9238);const b=["thumbContainer"],E=["toggleBar"],U=["input"],R=function(ve){return{enterDuration:ve}},G=["*"],K=new n.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let J=0;const $={provide:g.JU,useExisting:(0,n.Gpc)(()=>ce),multi:!0};class ee{constructor(re,ie){this.source=re,this.checked=ie}}const te=(0,m.sb)((0,m.pj)((0,m.Kr)((0,m.Id)(class{constructor(ve){this._elementRef=ve}}))));let ce=(()=>{class ve extends te{constructor(ie,se,Ie,pe,be,Ue){super(ie),this._focusMonitor=se,this._changeDetectorRef=Ie,this.defaults=be,this._onChange=rt=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++J,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 n.vpe,this.toggleChange=new n.vpe,this.tabIndex=parseInt(pe)||0,this.color=this.defaultColor=be.color||"accent",this._noopAnimations="NoopAnimations"===Ue}get required(){return this._required}set required(ie){this._required=(0,P.Ig)(ie)}get checked(){return this._checked}set checked(ie){this._checked=(0,P.Ig)(ie),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ie=>{"keyboard"===ie||"program"===ie?this._inputElement.nativeElement.focus():ie||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(ie){ie.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(ie){ie.stopPropagation()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._onChange=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie,this._changeDetectorRef.markForCheck()}focus(ie,se){se?this._focusMonitor.focusVia(this._inputElement,se,ie):this._inputElement.nativeElement.focus(ie)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new ee(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return ve.\u0275fac=function(ie){return new(ie||ve)(n.Y36(n.SBq),n.Y36(I.tE),n.Y36(n.sBO),n.$8M("tabindex"),n.Y36(K),n.Y36(D.Qb,8))},ve.\u0275cmp=n.Xpm({type:ve,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,se){if(1&ie&&(n.Gf(b,5),n.Gf(E,5),n.Gf(U,5)),2&ie){let Ie;n.iGM(Ie=n.CRH())&&(se._thumbEl=Ie.first),n.iGM(Ie=n.CRH())&&(se._thumbBarEl=Ie.first),n.iGM(Ie=n.CRH())&&(se._inputElement=Ie.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(ie,se){2&ie&&(n.Ikx("id",se.id),n.uIk("tabindex",se.disabled?null:-1)("aria-label",null)("aria-labelledby",null),n.ekj("mat-checked",se.checked)("mat-disabled",se.disabled)("mat-slide-toggle-label-before","before"==se.labelPosition)("_mat-animation-noopable",se._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:[n._Bn([$]),n.qOj],ngContentSelectors:G,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(ie,se){if(1&ie&&(n.F$t(),n.TgZ(0,"label",0,1),n.TgZ(2,"div",2,3),n.TgZ(4,"input",4,5),n.NdJ("change",function(pe){return se._onChangeEvent(pe)})("click",function(pe){return se._onInputClick(pe)}),n.qZA(),n.TgZ(6,"div",6,7),n._UZ(8,"div",8),n.TgZ(9,"div",9),n._UZ(10,"div",10),n.qZA(),n.qZA(),n.qZA(),n.TgZ(11,"span",11,12),n.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),n.TgZ(13,"span",13),n._uU(14,"\xa0"),n.qZA(),n.Hsn(15),n.qZA(),n.qZA()),2&ie){const Ie=n.MAs(1),pe=n.MAs(12);n.uIk("for",se.inputId),n.xp6(2),n.ekj("mat-slide-toggle-bar-no-side-margin",!pe.textContent||!pe.textContent.trim()),n.xp6(2),n.Q6J("id",se.inputId)("required",se.required)("tabIndex",se.tabIndex)("checked",se.checked)("disabled",se.disabled),n.uIk("name",se.name)("aria-checked",se.checked.toString())("aria-label",se.ariaLabel)("aria-labelledby",se.ariaLabelledby)("aria-describedby",se.ariaDescribedby),n.xp6(5),n.Q6J("matRippleTrigger",Ie)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.VKq(18,R,se._noopAnimations?0:150))}},directives:[m.wG,l.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}),ve})(),Le=(()=>{class ve{}return ve.\u0275fac=function(ie){return new(ie||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({}),ve})(),de=(()=>{class ve{}return ve.\u0275fac=function(ie){return new(ie||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({imports:[[Le,m.si,m.BQ,l.Q8],Le,m.BQ]}),ve})()},4436:(ft,Fe,p)=>{"use strict";p.d(Fe,{KP:()=>se});var l=p(8583),n=p(7716),m=p(2458);p(9490),p(6461),p(3679),p(6237),p(521),p(5319),p(9238),p(4607);let se=(()=>{class Ie{}return Ie.\u0275fac=function(be){return new(be||Ie)},Ie.\u0275mod=n.oAB({type:Ie}),Ie.\u0275inj=n.cJS({imports:[[l.ez,m.BQ],m.BQ]}),Ie})()},5939:(ft,Fe,p)=>{"use strict";p.d(Fe,{uX:()=>Qe,Vc:()=>tt,SP:()=>S,Nh:()=>ln});var l=p(9238),n=p(8553),m=p(7636),P=p(8583),g=p(7716),D=p(2458),I=p(6237),b=p(9765),E=p(5319),U=p(6682),R=p(2759),G=p(5917),K=p(6797),J=p(7238),$=p(9761),ee=p(7519),te=p(6782),ce=p(9490),De=p(521),qe=p(6461),Le=p(4607),de=p(6994);function ve(ht,jt){1&ht&&g.Hsn(0)}const re=["*"];function ie(ht,jt){}const se=function(ht){return{animationDuration:ht}},Ie=function(ht,jt){return{value:ht,params:jt}},pe=["tabBodyWrapper"],be=["tabHeader"];function Ue(ht,jt){}function rt(ht,jt){if(1&ht&&g.YNc(0,Ue,0,0,"ng-template",9),2&ht){const Re=g.oxw().$implicit;g.Q6J("cdkPortalOutlet",Re.templateLabel)}}function et(ht,jt){if(1&ht&&g._uU(0),2&ht){const Re=g.oxw().$implicit;g.Oqu(Re.textLabel)}}function Tt(ht,jt){if(1&ht){const Re=g.EpF();g.TgZ(0,"div",6),g.NdJ("click",function(){const Se=g.CHM(Re),Ge=Se.$implicit,ae=Se.index,_e=g.oxw(),ye=g.MAs(1);return _e._handleClick(Ge,ye,ae)})("cdkFocusChange",function(Se){const ae=g.CHM(Re).index;return g.oxw()._tabFocusChanged(Se,ae)}),g.TgZ(1,"div",7),g.YNc(2,rt,1,1,"ng-template",8),g.YNc(3,et,1,1,"ng-template",8),g.qZA(),g.qZA()}if(2&ht){const Re=jt.$implicit,We=jt.index,Se=g.oxw();g.ekj("mat-tab-label-active",Se.selectedIndex==We),g.Q6J("id",Se._getTabLabelId(We))("disabled",Re.disabled)("matRippleDisabled",Re.disabled||Se.disableRipple),g.uIk("tabIndex",Se._getTabIndex(Re,We))("aria-posinset",We+1)("aria-setsize",Se._tabs.length)("aria-controls",Se._getTabContentId(We))("aria-selected",Se.selectedIndex==We)("aria-label",Re.ariaLabel||null)("aria-labelledby",!Re.ariaLabel&&Re.ariaLabelledby?Re.ariaLabelledby:null),g.xp6(2),g.Q6J("ngIf",Re.templateLabel),g.xp6(1),g.Q6J("ngIf",!Re.templateLabel)}}function He(ht,jt){if(1&ht){const Re=g.EpF();g.TgZ(0,"mat-tab-body",10),g.NdJ("_onCentered",function(){return g.CHM(Re),g.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Se){return g.CHM(Re),g.oxw()._setTabBodyWrapperHeight(Se)}),g.qZA()}if(2&ht){const Re=jt.$implicit,We=jt.index,Se=g.oxw();g.ekj("mat-tab-body-active",Se.selectedIndex===We),g.Q6J("id",Se._getTabContentId(We))("content",Re.content)("position",Re.position)("origin",Re.origin)("animationDuration",Se.animationDuration),g.uIk("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===We?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(We))}}const dt=["tabListContainer"],Oe=["tabList"],je=["nextPaginator"],Ke=["previousPaginator"],At=new g.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return jt=>({left:jt?(jt.offsetLeft||0)+"px":"0",width:jt?(jt.offsetWidth||0)+"px":"0"})}});let Ye=(()=>{class ht{constructor(Re,We,Se,Ge){this._elementRef=Re,this._ngZone=We,this._inkBarPositioner=Se,this._animationMode=Ge}alignToElement(Re){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(Re))}):this._setStyles(Re)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(Re){const We=this._inkBarPositioner(Re),Se=this._elementRef.nativeElement;Se.style.left=We.left,Se.style.width=We.width}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(At),g.Y36(I.Qb,8))},ht.\u0275dir=g.lG2({type:ht,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Re,We){2&Re&&g.ekj("_mat-animation-noopable","NoopAnimations"===We._animationMode)}}),ht})();const lt=new g.OlP("MatTabContent");let tt=(()=>{class ht{constructor(Re){this.template=Re}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.Rgc))},ht.\u0275dir=g.lG2({type:ht,selectors:[["","matTabContent",""]],features:[g._Bn([{provide:lt,useExisting:ht}])]}),ht})();const wt=new g.OlP("MatTabLabel"),Gt=new g.OlP("MAT_TAB"),St=(0,D.Id)(class{}),gt=new g.OlP("MAT_TAB_GROUP");let Qe=(()=>{class ht extends St{constructor(Re,We){super(),this._viewContainerRef=Re,this._closestTabGroup=We,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(Re){this._setTemplateLabelInput(Re)}get content(){return this._contentPortal}ngOnChanges(Re){(Re.hasOwnProperty("textLabel")||Re.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new m.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Re){Re&&Re._closestTab===this&&(this._templateLabel=Re)}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.s_b),g.Y36(gt,8))},ht.\u0275cmp=g.Xpm({type:ht,selectors:[["mat-tab"]],contentQueries:function(Re,We,Se){if(1&Re&&(g.Suo(Se,wt,5),g.Suo(Se,lt,7,g.Rgc)),2&Re){let Ge;g.iGM(Ge=g.CRH())&&(We.templateLabel=Ge.first),g.iGM(Ge=g.CRH())&&(We._explicitContent=Ge.first)}},viewQuery:function(Re,We){if(1&Re&&g.Gf(g.Rgc,7),2&Re){let Se;g.iGM(Se=g.CRH())&&(We._implicitContent=Se.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[g._Bn([{provide:Gt,useExisting:ht}]),g.qOj,g.TTD],ngContentSelectors:re,decls:1,vars:0,template:function(Re,We){1&Re&&(g.F$t(),g.YNc(0,ve,1,0,"ng-template"))},encapsulation:2}),ht})();const ze={translateTab:(0,J.X$)("translateTab",[(0,J.SB)("center, void, left-origin-center, right-origin-center",(0,J.oB)({transform:"none"})),(0,J.SB)("left",(0,J.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,J.SB)("right",(0,J.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,J.eR)("* => left, * => right, left => center, right => center",(0,J.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,J.eR)("void => left-origin-center",[(0,J.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,J.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,J.eR)("void => right-origin-center",[(0,J.oB)({transform:"translate3d(100%, 0, 0)"}),(0,J.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let It=(()=>{class ht extends m.Pl{constructor(Re,We,Se,Ge){super(Re,We,Ge),this._host=Se,this._centeringSub=E.w.EMPTY,this._leavingSub=E.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,$.O)(this._host._isCenterPosition(this._host._position))).subscribe(Re=>{Re&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g._Vd),g.Y36(g.s_b),g.Y36((0,g.Gpc)(()=>Ct)),g.Y36(P.K0))},ht.\u0275dir=g.lG2({type:ht,selectors:[["","matTabBodyHost",""]],features:[g.qOj]}),ht})(),qt=(()=>{class ht{constructor(Re,We,Se){this._elementRef=Re,this._dir=We,this._dirChangeSubscription=E.w.EMPTY,this._translateTabComplete=new b.xQ,this._onCentering=new g.vpe,this._beforeCentering=new g.vpe,this._afterLeavingCenter=new g.vpe,this._onCentered=new g.vpe(!0),this.animationDuration="500ms",We&&(this._dirChangeSubscription=We.change.subscribe(Ge=>{this._computePositionAnimationState(Ge),Se.markForCheck()})),this._translateTabComplete.pipe((0,ee.x)((Ge,ae)=>Ge.fromState===ae.fromState&&Ge.toState===ae.toState)).subscribe(Ge=>{this._isCenterPosition(Ge.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ge.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Re){this._positionIndex=Re,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Re){const We=this._isCenterPosition(Re.toState);this._beforeCentering.emit(We),We&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Re){return"center"==Re||"left-origin-center"==Re||"right-origin-center"==Re}_computePositionAnimationState(Re=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Re?"left":"right":this._positionIndex>0?"ltr"==Re?"right":"left":"center"}_computePositionFromOrigin(Re){const We=this._getLayoutDirection();return"ltr"==We&&Re<=0||"rtl"==We&&Re>0?"left-origin-center":"right-origin-center"}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(Le.Is,8),g.Y36(g.sBO))},ht.\u0275dir=g.lG2({type:ht,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),ht})(),Ct=(()=>{class ht extends qt{constructor(Re,We,Se){super(Re,We,Se)}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(Le.Is,8),g.Y36(g.sBO))},ht.\u0275cmp=g.Xpm({type:ht,selectors:[["mat-tab-body"]],viewQuery:function(Re,We){if(1&Re&&g.Gf(m.Pl,5),2&Re){let Se;g.iGM(Se=g.CRH())&&(We._portalHost=Se.first)}},hostAttrs:[1,"mat-tab-body"],features:[g.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Re,We){1&Re&&(g.TgZ(0,"div",0,1),g.NdJ("@translateTab.start",function(Ge){return We._onTranslateTabStarted(Ge)})("@translateTab.done",function(Ge){return We._translateTabComplete.next(Ge)}),g.YNc(2,ie,0,0,"ng-template",2),g.qZA()),2&Re&&g.Q6J("@translateTab",g.WLB(3,Ie,We._position,g.VKq(1,se,We.animationDuration)))},directives:[It],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[ze.translateTab]}}),ht})();const fe=new g.OlP("MAT_TABS_CONFIG");let Y=0;class x{}const A=(0,D.pj)((0,D.Kr)(class{constructor(ht){this._elementRef=ht}}),"primary");let C=(()=>{class ht extends A{constructor(Re,We,Se,Ge){var ae;super(Re),this._changeDetectorRef=We,this._animationMode=Ge,this._tabs=new g.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=E.w.EMPTY,this._tabLabelSubscription=E.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new g.vpe,this.focusChange=new g.vpe,this.animationDone=new g.vpe,this.selectedTabChange=new g.vpe(!0),this._groupId=Y++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,this.contentTabIndex=null!==(ae=null==Se?void 0:Se.contentTabIndex)&&void 0!==ae?ae:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Re){this._dynamicHeight=(0,ce.Ig)(Re)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Re){this._indexToSelect=(0,ce.su)(Re,null)}get animationDuration(){return this._animationDuration}set animationDuration(Re){this._animationDuration=/^\d+$/.test(Re)?Re+"ms":Re}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Re){this._contentTabIndex=(0,ce.su)(Re,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Re){const We=this._elementRef.nativeElement;We.classList.remove(`mat-background-${this.backgroundColor}`),Re&&We.classList.add(`mat-background-${Re}`),this._backgroundColor=Re}ngAfterContentChecked(){const Re=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Re){const We=null==this._selectedIndex;if(!We){this.selectedTabChange.emit(this._createChangeEvent(Re));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,Ge)=>Se.isActive=Ge===Re),We||(this.selectedIndexChange.emit(Re),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((We,Se)=>{We.position=Se-Re,null!=this._selectedIndex&&0==We.position&&!We.origin&&(We.origin=Re-this._selectedIndex)}),this._selectedIndex!==Re&&(this._selectedIndex=Re,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const We=this._tabs.toArray();for(let Se=0;Se{this._tabs.reset(Re.filter(We=>We._closestTabGroup===this||!We._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(Re){const We=this._tabHeader;We&&(We.focusIndex=Re)}_focusChanged(Re){this.focusChange.emit(this._createChangeEvent(Re))}_createChangeEvent(Re){const We=new x;return We.index=Re,this._tabs&&this._tabs.length&&(We.tab=this._tabs.toArray()[Re]),We}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,U.T)(...this._tabs.map(Re=>Re._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Re){return Math.min(this._tabs.length-1,Math.max(Re||0,0))}_getTabLabelId(Re){return`mat-tab-label-${this._groupId}-${Re}`}_getTabContentId(Re){return`mat-tab-content-${this._groupId}-${Re}`}_setTabBodyWrapperHeight(Re){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const We=this._tabBodyWrapper.nativeElement;We.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(We.style.height=Re+"px")}_removeTabBodyWrapperHeight(){const Re=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Re.clientHeight,Re.style.height="",this.animationDone.emit()}_handleClick(Re,We,Se){Re.disabled||(this.selectedIndex=We.focusIndex=Se)}_getTabIndex(Re,We){return Re.disabled?null:this.selectedIndex===We?0:-1}_tabFocusChanged(Re,We){Re&&"mouse"!==Re&&"touch"!==Re&&(this._tabHeader.focusIndex=We)}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(fe,8),g.Y36(I.Qb,8))},ht.\u0275dir=g.lG2({type:ht,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",contentTabIndex:"contentTabIndex",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[g.qOj]}),ht})(),S=(()=>{class ht extends C{constructor(Re,We,Se,Ge){super(Re,We,Se,Ge)}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(fe,8),g.Y36(I.Qb,8))},ht.\u0275cmp=g.Xpm({type:ht,selectors:[["mat-tab-group"]],contentQueries:function(Re,We,Se){if(1&Re&&g.Suo(Se,Qe,5),2&Re){let Ge;g.iGM(Ge=g.CRH())&&(We._allTabs=Ge)}},viewQuery:function(Re,We){if(1&Re&&(g.Gf(pe,5),g.Gf(be,5)),2&Re){let Se;g.iGM(Se=g.CRH())&&(We._tabBodyWrapper=Se.first),g.iGM(Se=g.CRH())&&(We._tabHeader=Se.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Re,We){2&Re&&g.ekj("mat-tab-group-dynamic-height",We.dynamicHeight)("mat-tab-group-inverted-header","below"===We.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[g._Bn([{provide:gt,useExisting:ht}]),g.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(Re,We){1&Re&&(g.TgZ(0,"mat-tab-header",0,1),g.NdJ("indexFocused",function(Ge){return We._focusChanged(Ge)})("selectFocusedIndex",function(Ge){return We.selectedIndex=Ge}),g.YNc(2,Tt,4,14,"div",2),g.qZA(),g.TgZ(3,"div",3,4),g.YNc(5,He,1,9,"mat-tab-body",5),g.qZA()),2&Re&&(g.Q6J("selectedIndex",We.selectedIndex||0)("disableRipple",We.disableRipple)("disablePagination",We.disablePagination),g.xp6(2),g.Q6J("ngForOf",We._tabs),g.xp6(1),g.ekj("_mat-animation-noopable","NoopAnimations"===We._animationMode),g.xp6(2),g.Q6J("ngForOf",We._tabs))},directives:function(){return[kt,P.sg,H,D.wG,l.kH,P.O5,m.Pl,Ct]},styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),ht})();const F=(0,D.Id)(class{});let H=(()=>{class ht extends F{constructor(Re){super(),this.elementRef=Re}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq))},ht.\u0275dir=g.lG2({type:ht,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Re,We){2&Re&&(g.uIk("aria-disabled",!!We.disabled),g.ekj("mat-tab-disabled",We.disabled))},inputs:{disabled:"disabled"},features:[g.qOj]}),ht})();const v=(0,De.i$)({passive:!0});let vt=(()=>{class ht{constructor(Re,We,Se,Ge,ae,_e,ye){this._elementRef=Re,this._changeDetectorRef=We,this._viewportRuler=Se,this._dir=Ge,this._ngZone=ae,this._platform=_e,this._animationMode=ye,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new g.vpe,this.indexFocused=new g.vpe,ae.runOutsideAngular(()=>{(0,R.R)(Re.nativeElement,"mouseleave").pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(Re){Re=(0,ce.su)(Re),this._selectedIndex!=Re&&(this._selectedIndexChanged=!0,this._selectedIndex=Re,this._keyManager&&this._keyManager.updateActiveItem(Re))}ngAfterViewInit(){(0,R.R)(this._previousPaginator.nativeElement,"touchstart",v).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,R.R)(this._nextPaginator.nativeElement,"touchstart",v).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Re=this._dir?this._dir.change:(0,G.of)("ltr"),We=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new l.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Se):Se(),(0,U.T)(Re,We,this._items.changes).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Se)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,te.R)(this._destroyed)).subscribe(Ge=>{this.indexFocused.emit(Ge),this._setTabFocus(Ge)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Re){if(!(0,qe.Vb)(Re))switch(Re.keyCode){case qe.K5:case qe.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Re));break;default:this._keyManager.onKeydown(Re)}}_onContentChanges(){const Re=this._elementRef.nativeElement.textContent;Re!==this._currentTextContent&&(this._currentTextContent=Re||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Re){!this._isValidIndex(Re)||this.focusIndex===Re||!this._keyManager||this._keyManager.setActiveItem(Re)}_isValidIndex(Re){if(!this._items)return!0;const We=this._items?this._items.toArray()[Re]:null;return!!We&&!We.disabled}_setTabFocus(Re){if(this._showPaginationControls&&this._scrollToLabel(Re),this._items&&this._items.length){this._items.toArray()[Re].focus();const We=this._tabListContainer.nativeElement;We.scrollLeft="ltr"==this._getLayoutDirection()?0:We.scrollWidth-We.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Re=this.scrollDistance,We="ltr"===this._getLayoutDirection()?-Re:Re;this._tabList.nativeElement.style.transform=`translateX(${Math.round(We)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Re){this._scrollTo(Re)}_scrollHeader(Re){return this._scrollTo(this._scrollDistance+("before"==Re?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Re){this._stopInterval(),this._scrollHeader(Re)}_scrollToLabel(Re){if(this.disablePagination)return;const We=this._items?this._items.toArray()[Re]:null;if(!We)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ge,offsetWidth:ae}=We.elementRef.nativeElement;let _e,ye;"ltr"==this._getLayoutDirection()?(_e=Ge,ye=_e+ae):(ye=this._tabList.nativeElement.offsetWidth-Ge,_e=ye-ae);const Je=this.scrollDistance,_t=this.scrollDistance+Se;_e_t&&(this.scrollDistance+=ye-_t+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Re=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Re||(this.scrollDistance=0),Re!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Re}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Re=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,We=Re?Re.elementRef.nativeElement:null;We?this._inkBar.alignToElement(We):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Re,We){We&&null!=We.button&&0!==We.button||(this._stopInterval(),(0,K.H)(650,100).pipe((0,te.R)((0,U.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:Ge}=this._scrollHeader(Re);(0===Ge||Ge>=Se)&&this._stopInterval()}))}_scrollTo(Re){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const We=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(We,Re)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:We,distance:this._scrollDistance}}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(de.rL),g.Y36(Le.Is,8),g.Y36(g.R0b),g.Y36(De.t4),g.Y36(I.Qb,8))},ht.\u0275dir=g.lG2({type:ht,inputs:{disablePagination:"disablePagination"}}),ht})(),xt=(()=>{class ht extends vt{constructor(Re,We,Se,Ge,ae,_e,ye){super(Re,We,Se,Ge,ae,_e,ye),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Re){this._disableRipple=(0,ce.Ig)(Re)}_itemSelected(Re){Re.preventDefault()}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(de.rL),g.Y36(Le.Is,8),g.Y36(g.R0b),g.Y36(De.t4),g.Y36(I.Qb,8))},ht.\u0275dir=g.lG2({type:ht,inputs:{disableRipple:"disableRipple"},features:[g.qOj]}),ht})(),kt=(()=>{class ht extends xt{constructor(Re,We,Se,Ge,ae,_e,ye){super(Re,We,Se,Ge,ae,_e,ye)}}return ht.\u0275fac=function(Re){return new(Re||ht)(g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(de.rL),g.Y36(Le.Is,8),g.Y36(g.R0b),g.Y36(De.t4),g.Y36(I.Qb,8))},ht.\u0275cmp=g.Xpm({type:ht,selectors:[["mat-tab-header"]],contentQueries:function(Re,We,Se){if(1&Re&&g.Suo(Se,H,4),2&Re){let Ge;g.iGM(Ge=g.CRH())&&(We._items=Ge)}},viewQuery:function(Re,We){if(1&Re&&(g.Gf(Ye,7),g.Gf(dt,7),g.Gf(Oe,7),g.Gf(je,5),g.Gf(Ke,5)),2&Re){let Se;g.iGM(Se=g.CRH())&&(We._inkBar=Se.first),g.iGM(Se=g.CRH())&&(We._tabListContainer=Se.first),g.iGM(Se=g.CRH())&&(We._tabList=Se.first),g.iGM(Se=g.CRH())&&(We._nextPaginator=Se.first),g.iGM(Se=g.CRH())&&(We._previousPaginator=Se.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Re,We){2&Re&&g.ekj("mat-tab-header-pagination-controls-enabled",We._showPaginationControls)("mat-tab-header-rtl","rtl"==We._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[g.qOj],ngContentSelectors:re,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Re,We){1&Re&&(g.F$t(),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return We._handlePaginatorClick("before")})("mousedown",function(Ge){return We._handlePaginatorPress("before",Ge)})("touchend",function(){return We._stopInterval()}),g._UZ(2,"div",2),g.qZA(),g.TgZ(3,"div",3,4),g.NdJ("keydown",function(Ge){return We._handleKeydown(Ge)}),g.TgZ(5,"div",5,6),g.NdJ("cdkObserveContent",function(){return We._onContentChanges()}),g.TgZ(7,"div",7),g.Hsn(8),g.qZA(),g._UZ(9,"mat-ink-bar"),g.qZA(),g.qZA(),g.TgZ(10,"div",8,9),g.NdJ("mousedown",function(Ge){return We._handlePaginatorPress("after",Ge)})("click",function(){return We._handlePaginatorClick("after")})("touchend",function(){return We._stopInterval()}),g._UZ(12,"div",2),g.qZA()),2&Re&&(g.ekj("mat-tab-header-pagination-disabled",We._disableScrollBefore),g.Q6J("matRippleDisabled",We._disableScrollBefore||We.disableRipple),g.xp6(5),g.ekj("_mat-animation-noopable","NoopAnimations"===We._animationMode),g.xp6(5),g.ekj("mat-tab-header-pagination-disabled",We._disableScrollAfter),g.Q6J("matRippleDisabled",We._disableScrollAfter||We.disableRipple))},directives:[D.wG,n.wD,Ye],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),ht})(),ln=(()=>{class ht{}return ht.\u0275fac=function(Re){return new(Re||ht)},ht.\u0275mod=g.oAB({type:ht}),ht.\u0275inj=g.cJS({imports:[[P.ez,D.BQ,m.eL,D.si,n.Q8,l.rt],D.BQ]}),ht})()},1436:(ft,Fe,p)=>{"use strict";p.d(Fe,{gM:()=>Ue,AV:()=>Tt});var l=p(625),n=p(9238),m=p(8583),P=p(7716),g=p(2458),D=p(6994),I=p(9490),b=p(6461),E=p(5072),U=p(521),R=p(7636),G=p(9765),K=p(6782),J=p(5257),$=p(7238),ee=p(4607);const te={tooltipState:(0,$.X$)("state",[(0,$.SB)("initial, void, hidden",(0,$.oB)({opacity:0,transform:"scale(0)"})),(0,$.SB)("visible",(0,$.oB)({transform:"scale(1)"})),(0,$.eR)("* => visible",(0,$.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,$.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,$.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,$.eR)("* => hidden",(0,$.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:0})))])},qe="tooltip-panel",Le=(0,U.i$)({passive:!0}),re=new P.OlP("mat-tooltip-scroll-strategy"),se={provide:re,deps:[l.aV],useFactory:function(He){return()=>He.scrollStrategies.reposition({scrollThrottle:20})}},Ie=new P.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let be=(()=>{class He{constructor(Oe,je,Ke,Be,At,at,Ye,lt,tt,wt,Gt,en){this._overlay=Oe,this._elementRef=je,this._scrollDispatcher=Ke,this._viewContainerRef=Be,this._ngZone=At,this._platform=at,this._ariaDescriber=Ye,this._focusMonitor=lt,this._dir=wt,this._defaultOptions=Gt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new G.xQ,this._handleKeydown=St=>{this._isTooltipVisible()&&St.keyCode===b.hY&&!(0,b.Vb)(St)&&(St.preventDefault(),St.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=tt,this._document=en,Gt&&(Gt.position&&(this.position=Gt.position),Gt.touchGestures&&(this.touchGestures=Gt.touchGestures)),wt.change.pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),At.runOutsideAngular(()=>{je.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(Oe){var je;Oe!==this._position&&(this._position=Oe,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(je=this._tooltipInstance)||void 0===je||je.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(Oe){this._disabled=(0,I.Ig)(Oe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(Oe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Oe?String(Oe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(Oe){this._tooltipClass=Oe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,K.R)(this._destroyed)).subscribe(Oe=>{Oe?"keyboard"===Oe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Oe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),Oe.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([je,Ke])=>{Oe.removeEventListener(je,Ke,Le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Oe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Oe)}show(Oe=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const je=this._createOverlay();this._detach(),this._portal=this._portal||new R.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=je.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,K.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(Oe)}hide(Oe=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(Oe)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const Oe=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),je=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Oe);return je.positionChanges.pipe((0,K.R)(this._destroyed)).subscribe(Ke=>{this._updateCurrentPositionClass(Ke.connectionPair),this._tooltipInstance&&Ke.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:je,panelClass:`${this._cssClassPrefix}-${qe}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,K.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,K.R)(this._destroyed)).subscribe(()=>{var Ke;return null===(Ke=this._tooltipInstance)||void 0===Ke?void 0:Ke._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Oe){const je=Oe.getConfig().positionStrategy,Ke=this._getOrigin(),Be=this._getOverlayPosition();je.withPositions([this._addOffset(Object.assign(Object.assign({},Ke.main),Be.main)),this._addOffset(Object.assign(Object.assign({},Ke.fallback),Be.fallback))])}_addOffset(Oe){return Oe}_getOrigin(){const Oe=!this._dir||"ltr"==this._dir.value,je=this.position;let Ke;"above"==je||"below"==je?Ke={originX:"center",originY:"above"==je?"top":"bottom"}:"before"==je||"left"==je&&Oe||"right"==je&&!Oe?Ke={originX:"start",originY:"center"}:("after"==je||"right"==je&&Oe||"left"==je&&!Oe)&&(Ke={originX:"end",originY:"center"});const{x:Be,y:At}=this._invertPosition(Ke.originX,Ke.originY);return{main:Ke,fallback:{originX:Be,originY:At}}}_getOverlayPosition(){const Oe=!this._dir||"ltr"==this._dir.value,je=this.position;let Ke;"above"==je?Ke={overlayX:"center",overlayY:"bottom"}:"below"==je?Ke={overlayX:"center",overlayY:"top"}:"before"==je||"left"==je&&Oe||"right"==je&&!Oe?Ke={overlayX:"end",overlayY:"center"}:("after"==je||"right"==je&&Oe||"left"==je&&!Oe)&&(Ke={overlayX:"start",overlayY:"center"});const{x:Be,y:At}=this._invertPosition(Ke.overlayX,Ke.overlayY);return{main:Ke,fallback:{overlayX:Be,overlayY:At}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,J.q)(1),(0,K.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(Oe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Oe,this._tooltipInstance._markForCheck())}_invertPosition(Oe,je){return"above"===this.position||"below"===this.position?"top"===je?je="bottom":"bottom"===je&&(je="top"):"end"===Oe?Oe="start":"start"===Oe&&(Oe="end"),{x:Oe,y:je}}_updateCurrentPositionClass(Oe){const{overlayY:je,originX:Ke,originY:Be}=Oe;let At;if(At="center"===je?this._dir&&"rtl"===this._dir.value?"end"===Ke?"left":"right":"start"===Ke?"left":"right":"bottom"===je&&"top"===Be?"above":"below",At!==this._currentPosition){const at=this._overlayRef;if(at){const Ye=`${this._cssClassPrefix}-${qe}-`;at.removePanelClass(Ye+this._currentPosition),at.addPanelClass(Ye+At)}this._currentPosition=At}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Oe=[];if(this._platformSupportsMouseEvents())Oe.push(["mouseleave",()=>this.hide()],["wheel",je=>this._wheelListener(je)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const je=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Oe.push(["touchend",je],["touchcancel",je])}this._addListeners(Oe),this._passiveListeners.push(...Oe)}_addListeners(Oe){Oe.forEach(([je,Ke])=>{this._elementRef.nativeElement.addEventListener(je,Ke,Le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Oe){if(this._isTooltipVisible()){const je=this._document.elementFromPoint(Oe.clientX,Oe.clientY),Ke=this._elementRef.nativeElement;je!==Ke&&!Ke.contains(je)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Oe=this.touchGestures;if("off"!==Oe){const je=this._elementRef.nativeElement,Ke=je.style;("on"===Oe||"INPUT"!==je.nodeName&&"TEXTAREA"!==je.nodeName)&&(Ke.userSelect=Ke.msUserSelect=Ke.webkitUserSelect=Ke.MozUserSelect="none"),("on"===Oe||!je.draggable)&&(Ke.webkitUserDrag="none"),Ke.touchAction="none",Ke.webkitTapHighlightColor="transparent"}}}return He.\u0275fac=function(Oe){return new(Oe||He)(P.Y36(l.aV),P.Y36(P.SBq),P.Y36(D.mF),P.Y36(P.s_b),P.Y36(P.R0b),P.Y36(U.t4),P.Y36(n.$s),P.Y36(n.tE),P.Y36(void 0),P.Y36(ee.Is),P.Y36(void 0),P.Y36(m.K0))},He.\u0275dir=P.lG2({type:He,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),He})(),Ue=(()=>{class He extends be{constructor(Oe,je,Ke,Be,At,at,Ye,lt,tt,wt,Gt,en){super(Oe,je,Ke,Be,At,at,Ye,lt,tt,wt,Gt,en),this._tooltipComponent=et}}return He.\u0275fac=function(Oe){return new(Oe||He)(P.Y36(l.aV),P.Y36(P.SBq),P.Y36(D.mF),P.Y36(P.s_b),P.Y36(P.R0b),P.Y36(U.t4),P.Y36(n.$s),P.Y36(n.tE),P.Y36(re),P.Y36(ee.Is,8),P.Y36(Ie,8),P.Y36(m.K0))},He.\u0275dir=P.lG2({type:He,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[P.qOj]}),He})(),rt=(()=>{class He{constructor(Oe){this._changeDetectorRef=Oe,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new G.xQ}show(Oe){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},Oe)}hide(Oe){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},Oe)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(Oe){const je=Oe.toState;"hidden"===je&&!this.isVisible()&&this._onHide.next(),("visible"===je||"hidden"===je)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return He.\u0275fac=function(Oe){return new(Oe||He)(P.Y36(P.sBO))},He.\u0275dir=P.lG2({type:He}),He})(),et=(()=>{class He extends rt{constructor(Oe,je){super(Oe),this._breakpointObserver=je,this._isHandset=this._breakpointObserver.observe(E.u3.Handset)}}return He.\u0275fac=function(Oe){return new(Oe||He)(P.Y36(P.sBO),P.Y36(E.Yg))},He.\u0275cmp=P.Xpm({type:He,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Oe,je){2&Oe&&P.Udp("zoom","visible"===je._visibility?1:null)},features:[P.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(Oe,je){if(1&Oe&&(P.TgZ(0,"div",0),P.NdJ("@state.start",function(){return je._animationStart()})("@state.done",function(Be){return je._animationDone(Be)}),P.ALo(1,"async"),P._uU(2),P.qZA()),2&Oe){let Ke;P.ekj("mat-tooltip-handset",null==(Ke=P.lcZ(1,5,je._isHandset))?null:Ke.matches),P.Q6J("ngClass",je.tooltipClass)("@state",je._visibility),P.xp6(2),P.Oqu(je.message)}},directives:[m.mk],pipes:[m.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[te.tooltipState]},changeDetection:0}),He})(),Tt=(()=>{class He{}return He.\u0275fac=function(Oe){return new(Oe||He)},He.\u0275mod=P.oAB({type:He}),He.\u0275inj=P.cJS({providers:[se],imports:[[n.rt,m.ez,l.U8,g.BQ],g.BQ,D.ZD]}),He})()},6237:(ft,Fe,p)=>{"use strict";p.d(Fe,{Qb:()=>Pn,PW:()=>zs});var l=p(7716),n=p(9075),m=p(7238);function P(){return"undefined"!=typeof window&&void 0!==window.document}function g(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function D(me){switch(me.length){case 0:return new m.ZN;case 1:return me[0];default:return new m.ZE(me)}}function I(me,y,M,z,ge={},Pe={}){const Xe=[],ot=[];let Mt=-1,Lt=null;if(z.forEach(tn=>{const pn=tn.offset,Sn=pn==Mt,Qn=Sn&&Lt||{};Object.keys(tn).forEach(yn=>{let gn=yn,Vn=tn[yn];if("offset"!==yn)switch(gn=y.normalizePropertyName(gn,Xe),Vn){case m.k1:Vn=ge[yn];break;case m.l3:Vn=Pe[yn];break;default:Vn=y.normalizeStyleValue(yn,gn,Vn,Xe)}Qn[gn]=Vn}),Sn||ot.push(Qn),Lt=Qn,Mt=pn}),Xe.length){const tn="\n - ";throw new Error(`Unable to animate due to the following errors:${tn}${Xe.join(tn)}`)}return ot}function b(me,y,M,z){switch(y){case"start":me.onStart(()=>z(M&&E(M,"start",me)));break;case"done":me.onDone(()=>z(M&&E(M,"done",me)));break;case"destroy":me.onDestroy(()=>z(M&&E(M,"destroy",me)))}}function E(me,y,M){const z=M.totalTime,Pe=U(me.element,me.triggerName,me.fromState,me.toState,y||me.phaseName,null==z?me.totalTime:z,!!M.disabled),Xe=me._data;return null!=Xe&&(Pe._data=Xe),Pe}function U(me,y,M,z,ge="",Pe=0,Xe){return{element:me,triggerName:y,fromState:M,toState:z,phaseName:ge,totalTime:Pe,disabled:!!Xe}}function R(me,y,M){let z;return me instanceof Map?(z=me.get(y),z||me.set(y,z=M)):(z=me[y],z||(z=me[y]=M)),z}function G(me){const y=me.indexOf(":");return[me.substring(1,y),me.substr(y+1)]}let K=(me,y)=>!1,$=(me,y)=>!1,te=(me,y,M)=>[];const De=g();(De||"undefined"!=typeof Element)&&(K=P()?(me,y)=>{for(;y&&y!==document.documentElement;){if(y===me)return!0;y=y.parentNode||y.host}return!1}:(me,y)=>me.contains(y),$=(()=>{if(De||Element.prototype.matches)return(me,y)=>me.matches(y);{const me=Element.prototype,y=me.matchesSelector||me.mozMatchesSelector||me.msMatchesSelector||me.oMatchesSelector||me.webkitMatchesSelector;return y?(M,z)=>y.apply(M,[z]):$}})(),te=(me,y,M)=>{let z=[];if(M){const ge=me.querySelectorAll(y);for(let Pe=0;Pe{const z=M.replace(/([a-z])([A-Z])/g,"$1-$2");y[z]=me[M]}),y}let be=(()=>{class me{validateStyleProperty(M){return ve(M)}matchesElement(M,z){return ie(M,z)}containsElement(M,z){return se(M,z)}query(M,z,ge){return Ie(M,z,ge)}computeStyle(M,z,ge){return ge||""}animate(M,z,ge,Pe,Xe,ot=[],Mt){return new m.ZN(ge,Pe)}}return me.\u0275fac=function(M){return new(M||me)},me.\u0275prov=l.Yz7({token:me,factory:me.\u0275fac}),me})(),Ue=(()=>{class me{}return me.NOOP=new be,me})();const He="ng-enter",dt="ng-leave",Ke="ng-trigger",Be=".ng-trigger",At="ng-animating",at=".ng-animating";function Ye(me){if("number"==typeof me)return me;const y=me.match(/^(-?[\.\d]+)(m?s)/);return!y||y.length<2?0:lt(parseFloat(y[1]),y[2])}function lt(me,y){switch(y){case"s":return 1e3*me;default:return me}}function tt(me,y,M){return me.hasOwnProperty("duration")?me:function(me,y,M){let ge,Pe=0,Xe="";if("string"==typeof me){const ot=me.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ot)return y.push(`The provided timing value "${me}" is invalid.`),{duration:0,delay:0,easing:""};ge=lt(parseFloat(ot[1]),ot[2]);const Mt=ot[3];null!=Mt&&(Pe=lt(parseFloat(Mt),ot[4]));const Lt=ot[5];Lt&&(Xe=Lt)}else ge=me;if(!M){let ot=!1,Mt=y.length;ge<0&&(y.push("Duration values below 0 are not allowed for this animation step."),ot=!0),Pe<0&&(y.push("Delay values below 0 are not allowed for this animation step."),ot=!0),ot&&y.splice(Mt,0,`The provided timing value "${me}" is invalid.`)}return{duration:ge,delay:Pe,easing:Xe}}(me,y,M)}function Gt(me,y={}){return Object.keys(me).forEach(M=>{y[M]=me[M]}),y}function St(me,y,M={}){if(y)for(let z in me)M[z]=me[z];else Gt(me,M);return M}function gt(me,y,M){return M?y+":"+M+";":""}function Qe(me){let y="";for(let M=0;M{const ge=S(z);M&&!M.hasOwnProperty(z)&&(M[z]=me.style[ge]),me.style[ge]=y[z]}),g()&&Qe(me))}function It(me,y){me.style&&(Object.keys(y).forEach(M=>{const z=S(M);me.style[z]=""}),g()&&Qe(me))}function qt(me){return Array.isArray(me)?1==me.length?me[0]:(0,m.vP)(me):me}const fe=new RegExp("{{\\s*(.+?)\\s*}}","g");function Y(me){let y=[];if("string"==typeof me){let M;for(;M=fe.exec(me);)y.push(M[1]);fe.lastIndex=0}return y}function x(me,y,M){const z=me.toString(),ge=z.replace(fe,(Pe,Xe)=>{let ot=y[Xe];return y.hasOwnProperty(Xe)||(M.push(`Please provide a value for the animation param ${Xe}`),ot=""),ot.toString()});return ge==z?me:ge}function A(me){const y=[];let M=me.next();for(;!M.done;)y.push(M.value),M=me.next();return y}const C=/-+([a-z0-9])/g;function S(me){return me.replace(C,(...y)=>y[1].toUpperCase())}function F(me){return me.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function H(me,y){return 0===me||0===y}function v(me,y,M){const z=Object.keys(M);if(z.length&&y.length){let Pe=y[0],Xe=[];if(z.forEach(ot=>{Pe.hasOwnProperty(ot)||Xe.push(ot),Pe[ot]=M[ot]}),Xe.length)for(var ge=1;gefunction(me,y,M){if(":"==me[0]){const Mt=function(me,y){switch(me){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(M,z)=>parseFloat(z)>parseFloat(M);case":decrement":return(M,z)=>parseFloat(z) *"}}(me,M);if("function"==typeof Mt)return void y.push(Mt);me=Mt}const z=me.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==z||z.length<4)return M.push(`The provided transition expression "${me}" is not supported`),y;const ge=z[1],Pe=z[2],Xe=z[3];y.push(Wt(ge,Xe));"<"==Pe[0]&&!("*"==ge&&"*"==Xe)&&y.push(Wt(Xe,ge))}(z,M,y)):M.push(me),M}const Yt=new Set(["true","1"]),Zt=new Set(["false","0"]);function Wt(me,y){const M=Yt.has(me)||Zt.has(me),z=Yt.has(y)||Zt.has(y);return(ge,Pe)=>{let Xe="*"==me||me==ge,ot="*"==y||y==Pe;return!Xe&&M&&"boolean"==typeof ge&&(Xe=ge?Yt.has(me):Zt.has(me)),!ot&&z&&"boolean"==typeof Pe&&(ot=Pe?Yt.has(y):Zt.has(y)),Xe&&ot}}const Jt=new RegExp("s*:selfs*,?","g");function ln(me,y,M){return new jt(me).build(y,M)}class jt{constructor(y){this._driver=y}build(y,M){const z=new Se(M);return this._resetContextStyleTimingState(z),V(this,qt(y),z)}_resetContextStyleTimingState(y){y.currentQuerySelector="",y.collectedStyles={},y.collectedStyles[""]={},y.currentTime=0}visitTrigger(y,M){let z=M.queryCount=0,ge=M.depCount=0;const Pe=[],Xe=[];return"@"==y.name.charAt(0)&&M.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),y.definitions.forEach(ot=>{if(this._resetContextStyleTimingState(M),0==ot.type){const Mt=ot,Lt=Mt.name;Lt.toString().split(/\s*,\s*/).forEach(tn=>{Mt.name=tn,Pe.push(this.visitState(Mt,M))}),Mt.name=Lt}else if(1==ot.type){const Mt=this.visitTransition(ot,M);z+=Mt.queryCount,ge+=Mt.depCount,Xe.push(Mt)}else M.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:y.name,states:Pe,transitions:Xe,queryCount:z,depCount:ge,options:null}}visitState(y,M){const z=this.visitStyle(y.styles,M),ge=y.options&&y.options.params||null;if(z.containsDynamicStyles){const Pe=new Set,Xe=ge||{};if(z.styles.forEach(ot=>{if(ae(ot)){const Mt=ot;Object.keys(Mt).forEach(Lt=>{Y(Mt[Lt]).forEach(tn=>{Xe.hasOwnProperty(tn)||Pe.add(tn)})})}}),Pe.size){const ot=A(Pe.values());M.errors.push(`state("${y.name}", ...) must define default values for all the following style substitutions: ${ot.join(", ")}`)}}return{type:0,name:y.name,style:z,options:ge?{params:ge}:null}}visitTransition(y,M){M.queryCount=0,M.depCount=0;const z=V(this,qt(y.animation),M);return{type:1,matchers:vt(y.expr,M.errors),animation:z,queryCount:M.queryCount,depCount:M.depCount,options:ye(y.options)}}visitSequence(y,M){return{type:2,steps:y.steps.map(z=>V(this,z,M)),options:ye(y.options)}}visitGroup(y,M){const z=M.currentTime;let ge=0;const Pe=y.steps.map(Xe=>{M.currentTime=z;const ot=V(this,Xe,M);return ge=Math.max(ge,M.currentTime),ot});return M.currentTime=ge,{type:3,steps:Pe,options:ye(y.options)}}visitAnimate(y,M){const z=function(me,y){let M=null;if(me.hasOwnProperty("duration"))M=me;else if("number"==typeof me)return Je(tt(me,y).duration,0,"");const z=me;if(z.split(/\s+/).some(Pe=>"{"==Pe.charAt(0)&&"{"==Pe.charAt(1))){const Pe=Je(0,0,"");return Pe.dynamic=!0,Pe.strValue=z,Pe}return M=M||tt(z,y),Je(M.duration,M.delay,M.easing)}(y.timings,M.errors);M.currentAnimateTimings=z;let ge,Pe=y.styles?y.styles:(0,m.oB)({});if(5==Pe.type)ge=this.visitKeyframes(Pe,M);else{let Xe=y.styles,ot=!1;if(!Xe){ot=!0;const Lt={};z.easing&&(Lt.easing=z.easing),Xe=(0,m.oB)(Lt)}M.currentTime+=z.duration+z.delay;const Mt=this.visitStyle(Xe,M);Mt.isEmptyStep=ot,ge=Mt}return M.currentAnimateTimings=null,{type:4,timings:z,style:ge,options:null}}visitStyle(y,M){const z=this._makeStyleAst(y,M);return this._validateStyleAst(z,M),z}_makeStyleAst(y,M){const z=[];Array.isArray(y.styles)?y.styles.forEach(Xe=>{"string"==typeof Xe?Xe==m.l3?z.push(Xe):M.errors.push(`The provided style string value ${Xe} is not allowed.`):z.push(Xe)}):z.push(y.styles);let ge=!1,Pe=null;return z.forEach(Xe=>{if(ae(Xe)){const ot=Xe,Mt=ot.easing;if(Mt&&(Pe=Mt,delete ot.easing),!ge)for(let Lt in ot)if(ot[Lt].toString().indexOf("{{")>=0){ge=!0;break}}}),{type:6,styles:z,easing:Pe,offset:y.offset,containsDynamicStyles:ge,options:null}}_validateStyleAst(y,M){const z=M.currentAnimateTimings;let ge=M.currentTime,Pe=M.currentTime;z&&Pe>0&&(Pe-=z.duration+z.delay),y.styles.forEach(Xe=>{"string"!=typeof Xe&&Object.keys(Xe).forEach(ot=>{if(!this._driver.validateStyleProperty(ot))return void M.errors.push(`The provided animation property "${ot}" is not a supported CSS property for animations`);const Mt=M.collectedStyles[M.currentQuerySelector],Lt=Mt[ot];let tn=!0;Lt&&(Pe!=ge&&Pe>=Lt.startTime&&ge<=Lt.endTime&&(M.errors.push(`The CSS property "${ot}" that exists between the times of "${Lt.startTime}ms" and "${Lt.endTime}ms" is also being animated in a parallel animation between the times of "${Pe}ms" and "${ge}ms"`),tn=!1),Pe=Lt.startTime),tn&&(Mt[ot]={startTime:Pe,endTime:ge}),M.options&&function(me,y,M){const z=y.params||{},ge=Y(me);ge.length&&ge.forEach(Pe=>{z.hasOwnProperty(Pe)||M.push(`Unable to resolve the local animation param ${Pe} in the given list of values`)})}(Xe[ot],M.options,M.errors)})})}visitKeyframes(y,M){const z={type:5,styles:[],options:null};if(!M.currentAnimateTimings)return M.errors.push("keyframes() must be placed inside of a call to animate()"),z;let Pe=0;const Xe=[];let ot=!1,Mt=!1,Lt=0;const tn=y.steps.map(bi=>{const Ci=this._makeStyleAst(bi,M);let rr=null!=Ci.offset?Ci.offset:function(me){if("string"==typeof me)return null;let y=null;if(Array.isArray(me))me.forEach(M=>{if(ae(M)&&M.hasOwnProperty("offset")){const z=M;y=parseFloat(z.offset),delete z.offset}});else if(ae(me)&&me.hasOwnProperty("offset")){const M=me;y=parseFloat(M.offset),delete M.offset}return y}(Ci.styles),Hi=0;return null!=rr&&(Pe++,Hi=Ci.offset=rr),Mt=Mt||Hi<0||Hi>1,ot=ot||Hi0&&Pe{const rr=Sn>0?Ci==Qn?1:Sn*Ci:Xe[Ci],Hi=rr*Vn;M.currentTime=yn+gn.delay+Hi,gn.duration=Hi,this._validateStyleAst(bi,M),bi.offset=rr,z.styles.push(bi)}),z}visitReference(y,M){return{type:8,animation:V(this,qt(y.animation),M),options:ye(y.options)}}visitAnimateChild(y,M){return M.depCount++,{type:9,options:ye(y.options)}}visitAnimateRef(y,M){return{type:10,animation:this.visitReference(y.animation,M),options:ye(y.options)}}visitQuery(y,M){const z=M.currentQuerySelector,ge=y.options||{};M.queryCount++,M.currentQuery=y;const[Pe,Xe]=function(me){const y=!!me.split(/\s*,\s*/).find(M=>":self"==M);return y&&(me=me.replace(Jt,"")),[me=me.replace(/@\*/g,Be).replace(/@\w+/g,M=>Be+"-"+M.substr(1)).replace(/:animating/g,at),y]}(y.selector);M.currentQuerySelector=z.length?z+" "+Pe:Pe,R(M.collectedStyles,M.currentQuerySelector,{});const ot=V(this,qt(y.animation),M);return M.currentQuery=null,M.currentQuerySelector=z,{type:11,selector:Pe,limit:ge.limit||0,optional:!!ge.optional,includeSelf:Xe,animation:ot,originalSelector:y.selector,options:ye(y.options)}}visitStagger(y,M){M.currentQuery||M.errors.push("stagger() can only be used inside of query()");const z="full"===y.timings?{duration:0,delay:0,easing:"full"}:tt(y.timings,M.errors,!0);return{type:12,animation:V(this,qt(y.animation),M),timings:z,options:null}}}class Se{constructor(y){this.errors=y,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 ae(me){return!Array.isArray(me)&&"object"==typeof me}function ye(me){return me?(me=Gt(me)).params&&(me.params=function(me){return me?Gt(me):null}(me.params)):me={},me}function Je(me,y,M){return{duration:me,delay:y,easing:M}}function _t(me,y,M,z,ge,Pe,Xe=null,ot=!1){return{type:1,element:me,keyframes:y,preStyleProps:M,postStyleProps:z,duration:ge,delay:Pe,totalTime:ge+Pe,easing:Xe,subTimeline:ot}}class Ut{constructor(){this._map=new Map}consume(y){let M=this._map.get(y);return M?this._map.delete(y):M=[],M}append(y,M){let z=this._map.get(y);z||this._map.set(y,z=[]),z.push(...M)}has(y){return this._map.has(y)}clear(){this._map.clear()}}const On=new RegExp(":enter","g"),ri=new RegExp(":leave","g");function Xn(me,y,M,z,ge,Pe={},Xe={},ot,Mt,Lt=[]){return(new pi).buildKeyframes(me,y,M,z,ge,Pe,Xe,ot,Mt,Lt)}class pi{buildKeyframes(y,M,z,ge,Pe,Xe,ot,Mt,Lt,tn=[]){Lt=Lt||new Ut;const pn=new Oi(y,M,Lt,ge,Pe,tn,[]);pn.options=Mt,pn.currentTimeline.setStyles([Xe],null,pn.errors,Mt),V(this,z,pn);const Sn=pn.timelines.filter(Qn=>Qn.containsAnimation());if(Sn.length&&Object.keys(ot).length){const Qn=Sn[Sn.length-1];Qn.allowOnlyTimelineStyles()||Qn.setStyles([ot],null,pn.errors,Mt)}return Sn.length?Sn.map(Qn=>Qn.buildKeyframes()):[_t(M,[],[],[],0,0,"",!1)]}visitTrigger(y,M){}visitState(y,M){}visitTransition(y,M){}visitAnimateChild(y,M){const z=M.subInstructions.consume(M.element);if(z){const ge=M.createSubContext(y.options),Pe=M.currentTimeline.currentTime,Xe=this._visitSubInstructions(z,ge,ge.options);Pe!=Xe&&M.transformIntoNewTimeline(Xe)}M.previousNode=y}visitAnimateRef(y,M){const z=M.createSubContext(y.options);z.transformIntoNewTimeline(),this.visitReference(y.animation,z),M.transformIntoNewTimeline(z.currentTimeline.currentTime),M.previousNode=y}_visitSubInstructions(y,M,z){let Pe=M.currentTimeline.currentTime;const Xe=null!=z.duration?Ye(z.duration):null,ot=null!=z.delay?Ye(z.delay):null;return 0!==Xe&&y.forEach(Mt=>{const Lt=M.appendInstructionToTimeline(Mt,Xe,ot);Pe=Math.max(Pe,Lt.duration+Lt.delay)}),Pe}visitReference(y,M){M.updateOptions(y.options,!0),V(this,y.animation,M),M.previousNode=y}visitSequence(y,M){const z=M.subContextCount;let ge=M;const Pe=y.options;if(Pe&&(Pe.params||Pe.delay)&&(ge=M.createSubContext(Pe),ge.transformIntoNewTimeline(),null!=Pe.delay)){6==ge.previousNode.type&&(ge.currentTimeline.snapshotCurrentStyles(),ge.previousNode=ei);const Xe=Ye(Pe.delay);ge.delayNextStep(Xe)}y.steps.length&&(y.steps.forEach(Xe=>V(this,Xe,ge)),ge.currentTimeline.applyStylesToKeyframe(),ge.subContextCount>z&&ge.transformIntoNewTimeline()),M.previousNode=y}visitGroup(y,M){const z=[];let ge=M.currentTimeline.currentTime;const Pe=y.options&&y.options.delay?Ye(y.options.delay):0;y.steps.forEach(Xe=>{const ot=M.createSubContext(y.options);Pe&&ot.delayNextStep(Pe),V(this,Xe,ot),ge=Math.max(ge,ot.currentTimeline.currentTime),z.push(ot.currentTimeline)}),z.forEach(Xe=>M.currentTimeline.mergeTimelineCollectedStyles(Xe)),M.transformIntoNewTimeline(ge),M.previousNode=y}_visitTiming(y,M){if(y.dynamic){const z=y.strValue;return tt(M.params?x(z,M.params,M.errors):z,M.errors)}return{duration:y.duration,delay:y.delay,easing:y.easing}}visitAnimate(y,M){const z=M.currentAnimateTimings=this._visitTiming(y.timings,M),ge=M.currentTimeline;z.delay&&(M.incrementTime(z.delay),ge.snapshotCurrentStyles());const Pe=y.style;5==Pe.type?this.visitKeyframes(Pe,M):(M.incrementTime(z.duration),this.visitStyle(Pe,M),ge.applyStylesToKeyframe()),M.currentAnimateTimings=null,M.previousNode=y}visitStyle(y,M){const z=M.currentTimeline,ge=M.currentAnimateTimings;!ge&&z.getCurrentStyleProperties().length&&z.forwardFrame();const Pe=ge&&ge.easing||y.easing;y.isEmptyStep?z.applyEmptyStep(Pe):z.setStyles(y.styles,Pe,M.errors,M.options),M.previousNode=y}visitKeyframes(y,M){const z=M.currentAnimateTimings,ge=M.currentTimeline.duration,Pe=z.duration,ot=M.createSubContext().currentTimeline;ot.easing=z.easing,y.styles.forEach(Mt=>{ot.forwardTime((Mt.offset||0)*Pe),ot.setStyles(Mt.styles,Mt.easing,M.errors,M.options),ot.applyStylesToKeyframe()}),M.currentTimeline.mergeTimelineCollectedStyles(ot),M.transformIntoNewTimeline(ge+Pe),M.previousNode=y}visitQuery(y,M){const z=M.currentTimeline.currentTime,ge=y.options||{},Pe=ge.delay?Ye(ge.delay):0;Pe&&(6===M.previousNode.type||0==z&&M.currentTimeline.getCurrentStyleProperties().length)&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=ei);let Xe=z;const ot=M.invokeQuery(y.selector,y.originalSelector,y.limit,y.includeSelf,!!ge.optional,M.errors);M.currentQueryTotal=ot.length;let Mt=null;ot.forEach((Lt,tn)=>{M.currentQueryIndex=tn;const pn=M.createSubContext(y.options,Lt);Pe&&pn.delayNextStep(Pe),Lt===M.element&&(Mt=pn.currentTimeline),V(this,y.animation,pn),pn.currentTimeline.applyStylesToKeyframe(),Xe=Math.max(Xe,pn.currentTimeline.currentTime)}),M.currentQueryIndex=0,M.currentQueryTotal=0,M.transformIntoNewTimeline(Xe),Mt&&(M.currentTimeline.mergeTimelineCollectedStyles(Mt),M.currentTimeline.snapshotCurrentStyles()),M.previousNode=y}visitStagger(y,M){const z=M.parentContext,ge=M.currentTimeline,Pe=y.timings,Xe=Math.abs(Pe.duration),ot=Xe*(M.currentQueryTotal-1);let Mt=Xe*M.currentQueryIndex;switch(Pe.duration<0?"reverse":Pe.easing){case"reverse":Mt=ot-Mt;break;case"full":Mt=z.currentStaggerTime}const tn=M.currentTimeline;Mt&&tn.delayNextStep(Mt);const pn=tn.currentTime;V(this,y.animation,M),M.previousNode=y,z.currentStaggerTime=ge.currentTime-pn+(ge.startTime-z.currentTimeline.startTime)}}const ei={};class Oi{constructor(y,M,z,ge,Pe,Xe,ot,Mt){this._driver=y,this.element=M,this.subInstructions=z,this._enterClassName=ge,this._leaveClassName=Pe,this.errors=Xe,this.timelines=ot,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ei,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Mt||new ti(this._driver,M,0),ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(y,M){if(!y)return;const z=y;let ge=this.options;null!=z.duration&&(ge.duration=Ye(z.duration)),null!=z.delay&&(ge.delay=Ye(z.delay));const Pe=z.params;if(Pe){let Xe=ge.params;Xe||(Xe=this.options.params={}),Object.keys(Pe).forEach(ot=>{(!M||!Xe.hasOwnProperty(ot))&&(Xe[ot]=x(Pe[ot],Xe,this.errors))})}}_copyOptions(){const y={};if(this.options){const M=this.options.params;if(M){const z=y.params={};Object.keys(M).forEach(ge=>{z[ge]=M[ge]})}}return y}createSubContext(y=null,M,z){const ge=M||this.element,Pe=new Oi(this._driver,ge,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ge,z||0));return Pe.previousNode=this.previousNode,Pe.currentAnimateTimings=this.currentAnimateTimings,Pe.options=this._copyOptions(),Pe.updateOptions(y),Pe.currentQueryIndex=this.currentQueryIndex,Pe.currentQueryTotal=this.currentQueryTotal,Pe.parentContext=this,this.subContextCount++,Pe}transformIntoNewTimeline(y){return this.previousNode=ei,this.currentTimeline=this.currentTimeline.fork(this.element,y),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(y,M,z){const ge={duration:null!=M?M:y.duration,delay:this.currentTimeline.currentTime+(null!=z?z:0)+y.delay,easing:""},Pe=new Xt(this._driver,y.element,y.keyframes,y.preStyleProps,y.postStyleProps,ge,y.stretchStartingKeyframe);return this.timelines.push(Pe),ge}incrementTime(y){this.currentTimeline.forwardTime(this.currentTimeline.duration+y)}delayNextStep(y){y>0&&this.currentTimeline.delayNextStep(y)}invokeQuery(y,M,z,ge,Pe,Xe){let ot=[];if(ge&&ot.push(this.element),y.length>0){y=(y=y.replace(On,"."+this._enterClassName)).replace(ri,"."+this._leaveClassName);let Lt=this._driver.query(this.element,y,1!=z);0!==z&&(Lt=z<0?Lt.slice(Lt.length+z,Lt.length):Lt.slice(0,z)),ot.push(...Lt)}return!Pe&&0==ot.length&&Xe.push(`\`query("${M}")\` returned zero elements. (Use \`query("${M}", { optional: true })\` if you wish to allow this.)`),ot}}class ti{constructor(y,M,z,ge){this._driver=y,this.element=M,this.startTime=z,this._elementTimelineStylesLookup=ge,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(M),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(M,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(y){const M=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||M?(this.forwardTime(this.currentTime+y),M&&this.snapshotCurrentStyles()):this.startTime+=y}fork(y,M){return this.applyStylesToKeyframe(),new ti(this._driver,y,M||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(y){this.applyStylesToKeyframe(),this.duration=y,this._loadKeyframe()}_updateStyle(y,M){this._localTimelineStyles[y]=M,this._globalTimelineStyles[y]=M,this._styleSummary[y]={time:this.currentTime,value:M}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(y){y&&(this._previousKeyframe.easing=y),Object.keys(this._globalTimelineStyles).forEach(M=>{this._backFill[M]=this._globalTimelineStyles[M]||m.l3,this._currentKeyframe[M]=m.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(y,M,z,ge){M&&(this._previousKeyframe.easing=M);const Pe=ge&&ge.params||{},Xe=function(me,y){const M={};let z;return me.forEach(ge=>{"*"===ge?(z=z||Object.keys(y),z.forEach(Pe=>{M[Pe]=m.l3})):St(ge,!1,M)}),M}(y,this._globalTimelineStyles);Object.keys(Xe).forEach(ot=>{const Mt=x(Xe[ot],Pe,z);this._pendingStyles[ot]=Mt,this._localTimelineStyles.hasOwnProperty(ot)||(this._backFill[ot]=this._globalTimelineStyles.hasOwnProperty(ot)?this._globalTimelineStyles[ot]:m.l3),this._updateStyle(ot,Mt)})}applyStylesToKeyframe(){const y=this._pendingStyles,M=Object.keys(y);0!=M.length&&(this._pendingStyles={},M.forEach(z=>{this._currentKeyframe[z]=y[z]}),Object.keys(this._localTimelineStyles).forEach(z=>{this._currentKeyframe.hasOwnProperty(z)||(this._currentKeyframe[z]=this._localTimelineStyles[z])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(y=>{const M=this._localTimelineStyles[y];this._pendingStyles[y]=M,this._updateStyle(y,M)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const y=[];for(let M in this._currentKeyframe)y.push(M);return y}mergeTimelineCollectedStyles(y){Object.keys(y._styleSummary).forEach(M=>{const z=this._styleSummary[M],ge=y._styleSummary[M];(!z||ge.time>z.time)&&this._updateStyle(M,ge.value)})}buildKeyframes(){this.applyStylesToKeyframe();const y=new Set,M=new Set,z=1===this._keyframes.size&&0===this.duration;let ge=[];this._keyframes.forEach((ot,Mt)=>{const Lt=St(ot,!0);Object.keys(Lt).forEach(tn=>{const pn=Lt[tn];pn==m.k1?y.add(tn):pn==m.l3&&M.add(tn)}),z||(Lt.offset=Mt/this.duration),ge.push(Lt)});const Pe=y.size?A(y.values()):[],Xe=M.size?A(M.values()):[];if(z){const ot=ge[0],Mt=Gt(ot);ot.offset=0,Mt.offset=1,ge=[ot,Mt]}return _t(this.element,ge,Pe,Xe,this.duration,this.startTime,this.easing,!1)}}class Xt extends ti{constructor(y,M,z,ge,Pe,Xe,ot=!1){super(y,M,Xe.delay),this.keyframes=z,this.preStyleProps=ge,this.postStyleProps=Pe,this._stretchStartingKeyframe=ot,this.timings={duration:Xe.duration,delay:Xe.delay,easing:Xe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let y=this.keyframes,{delay:M,duration:z,easing:ge}=this.timings;if(this._stretchStartingKeyframe&&M){const Pe=[],Xe=z+M,ot=M/Xe,Mt=St(y[0],!1);Mt.offset=0,Pe.push(Mt);const Lt=St(y[0],!1);Lt.offset=_n(ot),Pe.push(Lt);const tn=y.length-1;for(let pn=1;pn<=tn;pn++){let Sn=St(y[pn],!1);Sn.offset=_n((M+Sn.offset*z)/Xe),Pe.push(Sn)}z=Xe,M=0,ge="",y=Pe}return _t(this.element,y,this.preStyleProps,this.postStyleProps,z,M,ge,!0)}}function _n(me,y=3){const M=Math.pow(10,y-1);return Math.round(me*M)/M}class wi{}class vi extends wi{normalizePropertyName(y,M){return S(y)}normalizeStyleValue(y,M,z,ge){let Pe="";const Xe=z.toString().trim();if(Gi[M]&&0!==z&&"0"!==z)if("number"==typeof z)Pe="px";else{const ot=z.match(/^[+-]?[\d\.]+([a-z]*)$/);ot&&0==ot[1].length&&ge.push(`Please provide a CSS unit value for ${y}:${z}`)}return Xe+Pe}}const Gi=(()=>function(me){const y={};return me.forEach(M=>y[M]=!0),y}("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 bn(me,y,M,z,ge,Pe,Xe,ot,Mt,Lt,tn,pn,Sn){return{type:0,element:me,triggerName:y,isRemovalTransition:ge,fromState:M,fromStyles:Pe,toState:z,toStyles:Xe,timelines:ot,queriedElements:Mt,preStyleProps:Lt,postStyleProps:tn,totalTime:pn,errors:Sn}}const bt={};class ct{constructor(y,M,z){this._triggerName=y,this.ast=M,this._stateStyles=z}match(y,M,z,ge){return function(me,y,M,z,ge){return me.some(Pe=>Pe(y,M,z,ge))}(this.ast.matchers,y,M,z,ge)}buildStyles(y,M,z){const ge=this._stateStyles["*"],Pe=this._stateStyles[y],Xe=ge?ge.buildStyles(M,z):{};return Pe?Pe.buildStyles(M,z):Xe}build(y,M,z,ge,Pe,Xe,ot,Mt,Lt,tn){const pn=[],Sn=this.ast.options&&this.ast.options.params||bt,yn=this.buildStyles(z,ot&&ot.params||bt,pn),gn=Mt&&Mt.params||bt,Vn=this.buildStyles(ge,gn,pn),bi=new Set,Ci=new Map,rr=new Map,Hi="void"===ge,qr={params:Object.assign(Object.assign({},Sn),gn)},Tr=tn?[]:Xn(y,M,this.ast.animation,Pe,Xe,yn,Vn,qr,Lt,pn);let qi=0;if(Tr.forEach(Yr=>{qi=Math.max(Yr.duration+Yr.delay,qi)}),pn.length)return bn(M,this._triggerName,z,ge,Hi,yn,Vn,[],[],Ci,rr,qi,pn);Tr.forEach(Yr=>{const br=Yr.element,jo=R(Ci,br,{});Yr.preStyleProps.forEach(Ti=>jo[Ti]=!0);const cs=R(rr,br,{});Yr.postStyleProps.forEach(Ti=>cs[Ti]=!0),br!==M&&bi.add(br)});const hr=A(bi.values());return bn(M,this._triggerName,z,ge,Hi,yn,Vn,Tr,hr,Ci,rr,qi)}}class Dt{constructor(y,M,z){this.styles=y,this.defaultParams=M,this.normalizer=z}buildStyles(y,M){const z={},ge=Gt(this.defaultParams);return Object.keys(y).forEach(Pe=>{const Xe=y[Pe];null!=Xe&&(ge[Pe]=Xe)}),this.styles.styles.forEach(Pe=>{if("string"!=typeof Pe){const Xe=Pe;Object.keys(Xe).forEach(ot=>{let Mt=Xe[ot];Mt.length>1&&(Mt=x(Mt,ge,M));const Lt=this.normalizer.normalizePropertyName(ot,M);Mt=this.normalizer.normalizeStyleValue(ot,Lt,Mt,M),z[Lt]=Mt})}}),z}}class fn{constructor(y,M,z){this.name=y,this.ast=M,this._normalizer=z,this.transitionFactories=[],this.states={},M.states.forEach(ge=>{this.states[ge.name]=new Dt(ge.style,ge.options&&ge.options.params||{},z)}),Nn(this.states,"true","1"),Nn(this.states,"false","0"),M.transitions.forEach(ge=>{this.transitionFactories.push(new ct(y,ge,this.states))}),this.fallbackTransition=function(me,y,M){return new ct(me,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Xe,ot)=>!0],options:null,queryCount:0,depCount:0},y)}(y,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(y,M,z,ge){return this.transitionFactories.find(Xe=>Xe.match(y,M,z,ge))||null}matchStyles(y,M,z){return this.fallbackTransition.buildStyles(y,M,z)}}function Nn(me,y,M){me.hasOwnProperty(y)?me.hasOwnProperty(M)||(me[M]=me[y]):me.hasOwnProperty(M)&&(me[y]=me[M])}const mn=new Ut;class tr{constructor(y,M,z){this.bodyNode=y,this._driver=M,this._normalizer=z,this._animations={},this._playersById={},this.players=[]}register(y,M){const z=[],ge=ln(this._driver,M,z);if(z.length)throw new Error(`Unable to build the animation due to the following errors: ${z.join("\n")}`);this._animations[y]=ge}_buildPlayer(y,M,z){const ge=y.element,Pe=I(0,this._normalizer,0,y.keyframes,M,z);return this._driver.animate(ge,Pe,y.duration,y.delay,y.easing,[],!0)}create(y,M,z={}){const ge=[],Pe=this._animations[y];let Xe;const ot=new Map;if(Pe?(Xe=Xn(this._driver,M,Pe,He,dt,{},{},z,mn,ge),Xe.forEach(tn=>{const pn=R(ot,tn.element,{});tn.postStyleProps.forEach(Sn=>pn[Sn]=null)})):(ge.push("The requested animation doesn't exist or has already been destroyed"),Xe=[]),ge.length)throw new Error(`Unable to create the animation due to the following errors: ${ge.join("\n")}`);ot.forEach((tn,pn)=>{Object.keys(tn).forEach(Sn=>{tn[Sn]=this._driver.computeStyle(pn,Sn,m.l3)})});const Lt=D(Xe.map(tn=>{const pn=ot.get(tn.element);return this._buildPlayer(tn,{},pn)}));return this._playersById[y]=Lt,Lt.onDestroy(()=>this.destroy(y)),this.players.push(Lt),Lt}destroy(y){const M=this._getPlayer(y);M.destroy(),delete this._playersById[y];const z=this.players.indexOf(M);z>=0&&this.players.splice(z,1)}_getPlayer(y){const M=this._playersById[y];if(!M)throw new Error(`Unable to find the timeline player referenced by ${y}`);return M}listen(y,M,z,ge){const Pe=U(M,"","","");return b(this._getPlayer(y),z,Pe,ge),()=>{}}command(y,M,z,ge){if("register"==z)return void this.register(y,ge[0]);if("create"==z)return void this.create(y,M,ge[0]||{});const Pe=this._getPlayer(y);switch(z){case"play":Pe.play();break;case"pause":Pe.pause();break;case"reset":Pe.reset();break;case"restart":Pe.restart();break;case"finish":Pe.finish();break;case"init":Pe.init();break;case"setPosition":Pe.setPosition(parseFloat(ge[0]));break;case"destroy":this.destroy(y)}}}const xr="ng-animate-queued",Wi="ng-animate-disabled",yi=".ng-animate-disabled",Wn=[],Er={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oi="__ng_removed";class nr{constructor(y,M=""){this.namespaceId=M;const z=y&&y.hasOwnProperty("value");if(this.value=null!=(me=z?y.value:y)?me:null,z){const Pe=Gt(y);delete Pe.value,this.options=Pe}else this.options={};var me;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(y){const M=y.params;if(M){const z=this.options.params;Object.keys(M).forEach(ge=>{null==z[ge]&&(z[ge]=M[ge])})}}}const Ve="void",Me=new nr(Ve);class he{constructor(y,M,z){this.id=y,this.hostElement=M,this._engine=z,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+y,An(M,this._hostClassName)}listen(y,M,z,ge){if(!this._triggers.hasOwnProperty(M))throw new Error(`Unable to listen on the animation trigger event "${z}" because the animation trigger "${M}" doesn't exist!`);if(null==z||0==z.length)throw new Error(`Unable to listen on the animation trigger "${M}" because the provided event is undefined!`);if("start"!=(me=z)&&"done"!=me)throw new Error(`The provided animation trigger event "${z}" for the animation trigger "${M}" is not supported!`);var me;const Pe=R(this._elementListeners,y,[]),Xe={name:M,phase:z,callback:ge};Pe.push(Xe);const ot=R(this._engine.statesByElement,y,{});return ot.hasOwnProperty(M)||(An(y,Ke),An(y,Ke+"-"+M),ot[M]=Me),()=>{this._engine.afterFlush(()=>{const Mt=Pe.indexOf(Xe);Mt>=0&&Pe.splice(Mt,1),this._triggers[M]||delete ot[M]})}}register(y,M){return!this._triggers[y]&&(this._triggers[y]=M,!0)}_getTrigger(y){const M=this._triggers[y];if(!M)throw new Error(`The provided animation trigger "${y}" has not been registered!`);return M}trigger(y,M,z,ge=!0){const Pe=this._getTrigger(M),Xe=new ke(this.id,M,y);let ot=this._engine.statesByElement.get(y);ot||(An(y,Ke),An(y,Ke+"-"+M),this._engine.statesByElement.set(y,ot={}));let Mt=ot[M];const Lt=new nr(z,this.id);if(!(z&&z.hasOwnProperty("value"))&&Mt&&Lt.absorbOptions(Mt.options),ot[M]=Lt,Mt||(Mt=Me),Lt.value!==Ve&&Mt.value===Lt.value){if(!function(me,y){const M=Object.keys(me),z=Object.keys(y);if(M.length!=z.length)return!1;for(let ge=0;ge{It(y,Vn),ze(y,bi)})}return}const Sn=R(this._engine.playersByElement,y,[]);Sn.forEach(gn=>{gn.namespaceId==this.id&&gn.triggerName==M&&gn.queued&&gn.destroy()});let Qn=Pe.matchTransition(Mt.value,Lt.value,y,Lt.params),yn=!1;if(!Qn){if(!ge)return;Qn=Pe.fallbackTransition,yn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:y,triggerName:M,transition:Qn,fromState:Mt,toState:Lt,player:Xe,isFallbackTransition:yn}),yn||(An(y,xr),Xe.onStart(()=>{kn(y,xr)})),Xe.onDone(()=>{let gn=this.players.indexOf(Xe);gn>=0&&this.players.splice(gn,1);const Vn=this._engine.playersByElement.get(y);if(Vn){let bi=Vn.indexOf(Xe);bi>=0&&Vn.splice(bi,1)}}),this.players.push(Xe),Sn.push(Xe),Xe}deregister(y){delete this._triggers[y],this._engine.statesByElement.forEach((M,z)=>{delete M[y]}),this._elementListeners.forEach((M,z)=>{this._elementListeners.set(z,M.filter(ge=>ge.name!=y))})}clearElementCache(y){this._engine.statesByElement.delete(y),this._elementListeners.delete(y);const M=this._engine.playersByElement.get(y);M&&(M.forEach(z=>z.destroy()),this._engine.playersByElement.delete(y))}_signalRemovalForInnerTriggers(y,M){const z=this._engine.driver.query(y,Be,!0);z.forEach(ge=>{if(ge[oi])return;const Pe=this._engine.fetchNamespacesByElement(ge);Pe.size?Pe.forEach(Xe=>Xe.triggerLeaveAnimation(ge,M,!1,!0)):this.clearElementCache(ge)}),this._engine.afterFlushAnimationsDone(()=>z.forEach(ge=>this.clearElementCache(ge)))}triggerLeaveAnimation(y,M,z,ge){const Pe=this._engine.statesByElement.get(y);if(Pe){const Xe=[];if(Object.keys(Pe).forEach(ot=>{if(this._triggers[ot]){const Mt=this.trigger(y,ot,Ve,ge);Mt&&Xe.push(Mt)}}),Xe.length)return this._engine.markElementAsRemoved(this.id,y,!0,M),z&&D(Xe).onDone(()=>this._engine.processLeaveNode(y)),!0}return!1}prepareLeaveAnimationListeners(y){const M=this._elementListeners.get(y),z=this._engine.statesByElement.get(y);if(M&&z){const ge=new Set;M.forEach(Pe=>{const Xe=Pe.name;if(ge.has(Xe))return;ge.add(Xe);const Mt=this._triggers[Xe].fallbackTransition,Lt=z[Xe]||Me,tn=new nr(Ve),pn=new ke(this.id,Xe,y);this._engine.totalQueuedPlayers++,this._queue.push({element:y,triggerName:Xe,transition:Mt,fromState:Lt,toState:tn,player:pn,isFallbackTransition:!0})})}}removeNode(y,M){const z=this._engine;if(y.childElementCount&&this._signalRemovalForInnerTriggers(y,M),this.triggerLeaveAnimation(y,M,!0))return;let ge=!1;if(z.totalAnimations){const Pe=z.players.length?z.playersByQueriedElement.get(y):[];if(Pe&&Pe.length)ge=!0;else{let Xe=y;for(;Xe=Xe.parentNode;)if(z.statesByElement.get(Xe)){ge=!0;break}}}if(this.prepareLeaveAnimationListeners(y),ge)z.markElementAsRemoved(this.id,y,!1,M);else{const Pe=y[oi];(!Pe||Pe===Er)&&(z.afterFlush(()=>this.clearElementCache(y)),z.destroyInnerAnimations(y),z._onRemovalComplete(y,M))}}insertNode(y,M){An(y,this._hostClassName)}drainQueuedTransitions(y){const M=[];return this._queue.forEach(z=>{const ge=z.player;if(ge.destroyed)return;const Pe=z.element,Xe=this._elementListeners.get(Pe);Xe&&Xe.forEach(ot=>{if(ot.name==z.triggerName){const Mt=U(Pe,z.triggerName,z.fromState.value,z.toState.value);Mt._data=y,b(z.player,ot.phase,Mt,ot.callback)}}),ge.markedForDestroy?this._engine.afterFlush(()=>{ge.destroy()}):M.push(z)}),this._queue=[],M.sort((z,ge)=>{const Pe=z.transition.ast.depCount,Xe=ge.transition.ast.depCount;return 0==Pe||0==Xe?Pe-Xe:this._engine.driver.containsElement(z.element,ge.element)?1:-1})}destroy(y){this.players.forEach(M=>M.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,y)}elementContainsData(y){let M=!1;return this._elementListeners.has(y)&&(M=!0),M=!!this._queue.find(z=>z.element===y)||M,M}}class ne{constructor(y,M,z){this.bodyNode=y,this.driver=M,this._normalizer=z,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=(ge,Pe)=>{}}_onRemovalComplete(y,M){this.onRemovalComplete(y,M)}get queuedPlayers(){const y=[];return this._namespaceList.forEach(M=>{M.players.forEach(z=>{z.queued&&y.push(z)})}),y}createNamespace(y,M){const z=new he(y,M,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,M)?this._balanceNamespaceList(z,M):(this.newHostElements.set(M,z),this.collectEnterElement(M)),this._namespaceLookup[y]=z}_balanceNamespaceList(y,M){const z=this._namespaceList.length-1;if(z>=0){let ge=!1;for(let Pe=z;Pe>=0;Pe--)if(this.driver.containsElement(this._namespaceList[Pe].hostElement,M)){this._namespaceList.splice(Pe+1,0,y),ge=!0;break}ge||this._namespaceList.splice(0,0,y)}else this._namespaceList.push(y);return this.namespacesByHostElement.set(M,y),y}register(y,M){let z=this._namespaceLookup[y];return z||(z=this.createNamespace(y,M)),z}registerTrigger(y,M,z){let ge=this._namespaceLookup[y];ge&&ge.register(M,z)&&this.totalAnimations++}destroy(y,M){if(!y)return;const z=this._fetchNamespace(y);this.afterFlush(()=>{this.namespacesByHostElement.delete(z.hostElement),delete this._namespaceLookup[y];const ge=this._namespaceList.indexOf(z);ge>=0&&this._namespaceList.splice(ge,1)}),this.afterFlushAnimationsDone(()=>z.destroy(M))}_fetchNamespace(y){return this._namespaceLookup[y]}fetchNamespacesByElement(y){const M=new Set,z=this.statesByElement.get(y);if(z){const ge=Object.keys(z);for(let Pe=0;Pe=0&&this.collectedLeaveElements.splice(Xe,1)}if(y){const Xe=this._fetchNamespace(y);Xe&&Xe.insertNode(M,z)}ge&&this.collectEnterElement(M)}collectEnterElement(y){this.collectedEnterElements.push(y)}markElementAsDisabled(y,M){M?this.disabledNodes.has(y)||(this.disabledNodes.add(y),An(y,Wi)):this.disabledNodes.has(y)&&(this.disabledNodes.delete(y),kn(y,Wi))}removeNode(y,M,z,ge){if(pt(M)){const Pe=y?this._fetchNamespace(y):null;if(Pe?Pe.removeNode(M,ge):this.markElementAsRemoved(y,M,!1,ge),z){const Xe=this.namespacesByHostElement.get(M);Xe&&Xe.id!==y&&Xe.removeNode(M,ge)}}else this._onRemovalComplete(M,ge)}markElementAsRemoved(y,M,z,ge){this.collectedLeaveElements.push(M),M[oi]={namespaceId:y,setForRemoval:ge,hasAnimation:z,removedBeforeQueried:!1}}listen(y,M,z,ge,Pe){return pt(M)?this._fetchNamespace(y).listen(M,z,ge,Pe):()=>{}}_buildInstruction(y,M,z,ge,Pe){return y.transition.build(this.driver,y.element,y.fromState.value,y.toState.value,z,ge,y.fromState.options,y.toState.options,M,Pe)}destroyInnerAnimations(y){let M=this.driver.query(y,Be,!0);M.forEach(z=>this.destroyActiveAnimationsForElement(z)),0!=this.playersByQueriedElement.size&&(M=this.driver.query(y,at,!0),M.forEach(z=>this.finishActiveQueriedAnimationOnElement(z)))}destroyActiveAnimationsForElement(y){const M=this.playersByElement.get(y);M&&M.forEach(z=>{z.queued?z.markedForDestroy=!0:z.destroy()})}finishActiveQueriedAnimationOnElement(y){const M=this.playersByQueriedElement.get(y);M&&M.forEach(z=>z.finish())}whenRenderingDone(){return new Promise(y=>{if(this.players.length)return D(this.players).onDone(()=>y());y()})}processLeaveNode(y){const M=y[oi];if(M&&M.setForRemoval){if(y[oi]=Er,M.namespaceId){this.destroyInnerAnimations(y);const z=this._fetchNamespace(M.namespaceId);z&&z.clearElementCache(y)}this._onRemovalComplete(y,M.setForRemoval)}this.driver.matchesElement(y,yi)&&this.markElementAsDisabled(y,!1),this.driver.query(y,yi,!0).forEach(z=>{this.markElementAsDisabled(z,!1)})}flush(y=-1){let M=[];if(this.newHostElements.size&&(this.newHostElements.forEach((z,ge)=>this._balanceNamespaceList(z,ge)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let z=0;zz()),this._flushFns=[],this._whenQuietFns.length){const z=this._whenQuietFns;this._whenQuietFns=[],M.length?D(M).onDone(()=>{z.forEach(ge=>ge())}):z.forEach(ge=>ge())}}reportError(y){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${y.join("\n")}`)}_flushAnimations(y,M){const z=new Ut,ge=[],Pe=new Map,Xe=[],ot=new Map,Mt=new Map,Lt=new Map,tn=new Set;this.disabledNodes.forEach(un=>{tn.add(un);const Cn=this.driver.query(un,".ng-animate-queued",!0);for(let Rn=0;Rn{const Rn=He+gn++;yn.set(Cn,Rn),un.forEach(ii=>An(ii,Rn))});const Vn=[],bi=new Set,Ci=new Set;for(let un=0;unbi.add(ii)):Ci.add(Cn))}const rr=new Map,Hi=hn(Sn,Array.from(bi));Hi.forEach((un,Cn)=>{const Rn=dt+gn++;rr.set(Cn,Rn),un.forEach(ii=>An(ii,Rn))}),y.push(()=>{Qn.forEach((un,Cn)=>{const Rn=yn.get(Cn);un.forEach(ii=>kn(ii,Rn))}),Hi.forEach((un,Cn)=>{const Rn=rr.get(Cn);un.forEach(ii=>kn(ii,Rn))}),Vn.forEach(un=>{this.processLeaveNode(un)})});const qr=[],Tr=[];for(let un=this._namespaceList.length-1;un>=0;un--)this._namespaceList[un].drainQueuedTransitions(M).forEach(Rn=>{const ii=Rn.player,Bi=Rn.element;if(qr.push(ii),this.collectedEnterElements.length){const Ri=Bi[oi];if(Ri&&Ri.setForMove)return void ii.destroy()}const Ar=!pn||!this.driver.containsElement(pn,Bi),Ji=rr.get(Bi),_i=yn.get(Bi),Di=this._buildInstruction(Rn,z,_i,Ji,Ar);if(Di.errors&&Di.errors.length)Tr.push(Di);else{if(Ar)return ii.onStart(()=>It(Bi,Di.fromStyles)),ii.onDestroy(()=>ze(Bi,Di.toStyles)),void ge.push(ii);if(Rn.isFallbackTransition)return ii.onStart(()=>It(Bi,Di.fromStyles)),ii.onDestroy(()=>ze(Bi,Di.toStyles)),void ge.push(ii);Di.timelines.forEach(Ri=>Ri.stretchStartingKeyframe=!0),z.append(Bi,Di.timelines),Xe.push({instruction:Di,player:ii,element:Bi}),Di.queriedElements.forEach(Ri=>R(ot,Ri,[]).push(ii)),Di.preStyleProps.forEach((Ri,Bt)=>{const Xi=Object.keys(Ri);if(Xi.length){let Ir=Mt.get(Bt);Ir||Mt.set(Bt,Ir=new Set),Xi.forEach(mo=>Ir.add(mo))}}),Di.postStyleProps.forEach((Ri,Bt)=>{const Xi=Object.keys(Ri);let Ir=Lt.get(Bt);Ir||Lt.set(Bt,Ir=new Set),Xi.forEach(mo=>Ir.add(mo))})}});if(Tr.length){const un=[];Tr.forEach(Cn=>{un.push(`@${Cn.triggerName} has failed due to:\n`),Cn.errors.forEach(Rn=>un.push(`- ${Rn}\n`))}),qr.forEach(Cn=>Cn.destroy()),this.reportError(un)}const qi=new Map,hr=new Map;Xe.forEach(un=>{const Cn=un.element;z.has(Cn)&&(hr.set(Cn,Cn),this._beforeAnimationBuild(un.player.namespaceId,un.instruction,qi))}),ge.forEach(un=>{const Cn=un.element;this._getPreviousPlayers(Cn,!1,un.namespaceId,un.triggerName,null).forEach(ii=>{R(qi,Cn,[]).push(ii),ii.destroy()})});const Yr=Vn.filter(un=>Fi(un,Mt,Lt)),br=new Map;$t(br,this.driver,Ci,Lt,m.l3).forEach(un=>{Fi(un,Mt,Lt)&&Yr.push(un)});const cs=new Map;Qn.forEach((un,Cn)=>{$t(cs,this.driver,new Set(un),Mt,m.k1)}),Yr.forEach(un=>{const Cn=br.get(un),Rn=cs.get(un);br.set(un,Object.assign(Object.assign({},Cn),Rn))});const Ti=[],jr=[],di={};Xe.forEach(un=>{const{element:Cn,player:Rn,instruction:ii}=un;if(z.has(Cn)){if(tn.has(Cn))return Rn.onDestroy(()=>ze(Cn,ii.toStyles)),Rn.disabled=!0,Rn.overrideTotalTime(ii.totalTime),void ge.push(Rn);let Bi=di;if(hr.size>1){let Ji=Cn;const _i=[];for(;Ji=Ji.parentNode;){const Di=hr.get(Ji);if(Di){Bi=Di;break}_i.push(Ji)}_i.forEach(Di=>hr.set(Di,Bi))}const Ar=this._buildAnimation(Rn.namespaceId,ii,qi,Pe,cs,br);if(Rn.setRealPlayer(Ar),Bi===di)Ti.push(Rn);else{const Ji=this.playersByElement.get(Bi);Ji&&Ji.length&&(Rn.parentPlayer=D(Ji)),ge.push(Rn)}}else It(Cn,ii.fromStyles),Rn.onDestroy(()=>ze(Cn,ii.toStyles)),jr.push(Rn),tn.has(Cn)&&ge.push(Rn)}),jr.forEach(un=>{const Cn=Pe.get(un.element);if(Cn&&Cn.length){const Rn=D(Cn);un.setRealPlayer(Rn)}}),ge.forEach(un=>{un.parentPlayer?un.syncPlayerEvents(un.parentPlayer):un.destroy()});for(let un=0;un!Ar.destroyed);Bi.length?hi(this,Cn,Bi):this.processLeaveNode(Cn)}return Vn.length=0,Ti.forEach(un=>{this.players.push(un),un.onDone(()=>{un.destroy();const Cn=this.players.indexOf(un);this.players.splice(Cn,1)}),un.play()}),Ti}elementContainsData(y,M){let z=!1;const ge=M[oi];return ge&&ge.setForRemoval&&(z=!0),this.playersByElement.has(M)&&(z=!0),this.playersByQueriedElement.has(M)&&(z=!0),this.statesByElement.has(M)&&(z=!0),this._fetchNamespace(y).elementContainsData(M)||z}afterFlush(y){this._flushFns.push(y)}afterFlushAnimationsDone(y){this._whenQuietFns.push(y)}_getPreviousPlayers(y,M,z,ge,Pe){let Xe=[];if(M){const ot=this.playersByQueriedElement.get(y);ot&&(Xe=ot)}else{const ot=this.playersByElement.get(y);if(ot){const Mt=!Pe||Pe==Ve;ot.forEach(Lt=>{Lt.queued||!Mt&&Lt.triggerName!=ge||Xe.push(Lt)})}}return(z||ge)&&(Xe=Xe.filter(ot=>!(z&&z!=ot.namespaceId||ge&&ge!=ot.triggerName))),Xe}_beforeAnimationBuild(y,M,z){const Pe=M.element,Xe=M.isRemovalTransition?void 0:y,ot=M.isRemovalTransition?void 0:M.triggerName;for(const Mt of M.timelines){const Lt=Mt.element,tn=Lt!==Pe,pn=R(z,Lt,[]);this._getPreviousPlayers(Lt,tn,Xe,ot,M.toState).forEach(Qn=>{const yn=Qn.getRealPlayer();yn.beforeDestroy&&yn.beforeDestroy(),Qn.destroy(),pn.push(Qn)})}It(Pe,M.fromStyles)}_buildAnimation(y,M,z,ge,Pe,Xe){const ot=M.triggerName,Mt=M.element,Lt=[],tn=new Set,pn=new Set,Sn=M.timelines.map(yn=>{const gn=yn.element;tn.add(gn);const Vn=gn[oi];if(Vn&&Vn.removedBeforeQueried)return new m.ZN(yn.duration,yn.delay);const bi=gn!==Mt,Ci=function(me){const y=[];return gi(me,y),y}((z.get(gn)||Wn).map(qi=>qi.getRealPlayer())).filter(qi=>!!qi.element&&qi.element===gn),rr=Pe.get(gn),Hi=Xe.get(gn),qr=I(0,this._normalizer,0,yn.keyframes,rr,Hi),Tr=this._buildPlayer(yn,qr,Ci);if(yn.subTimeline&&ge&&pn.add(gn),bi){const qi=new ke(y,ot,gn);qi.setRealPlayer(Tr),Lt.push(qi)}return Tr});Lt.forEach(yn=>{R(this.playersByQueriedElement,yn.element,[]).push(yn),yn.onDone(()=>function(me,y,M){let z;if(me instanceof Map){if(z=me.get(y),z){if(z.length){const ge=z.indexOf(M);z.splice(ge,1)}0==z.length&&me.delete(y)}}else if(z=me[y],z){if(z.length){const ge=z.indexOf(M);z.splice(ge,1)}0==z.length&&delete me[y]}return z}(this.playersByQueriedElement,yn.element,yn))}),tn.forEach(yn=>An(yn,At));const Qn=D(Sn);return Qn.onDestroy(()=>{tn.forEach(yn=>kn(yn,At)),ze(Mt,M.toStyles)}),pn.forEach(yn=>{R(ge,yn,[]).push(Qn)}),Qn}_buildPlayer(y,M,z){return M.length>0?this.driver.animate(y.element,M,y.duration,y.delay,y.easing,z):new m.ZN(y.duration,y.delay)}}class ke{constructor(y,M,z){this.namespaceId=y,this.triggerName=M,this.element=z,this._player=new m.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(y){this._containsRealPlayer||(this._player=y,Object.keys(this._queuedCallbacks).forEach(M=>{this._queuedCallbacks[M].forEach(z=>b(y,M,void 0,z))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(y.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(y){this.totalTime=y}syncPlayerEvents(y){const M=this._player;M.triggerCallback&&y.onStart(()=>M.triggerCallback("start")),y.onDone(()=>this.finish()),y.onDestroy(()=>this.destroy())}_queueEvent(y,M){R(this._queuedCallbacks,y,[]).push(M)}onDone(y){this.queued&&this._queueEvent("done",y),this._player.onDone(y)}onStart(y){this.queued&&this._queueEvent("start",y),this._player.onStart(y)}onDestroy(y){this.queued&&this._queueEvent("destroy",y),this._player.onDestroy(y)}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(y){this.queued||this._player.setPosition(y)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(y){const M=this._player;M.triggerCallback&&M.triggerCallback(y)}}function pt(me){return me&&1===me.nodeType}function Nt(me,y){const M=me.style.display;return me.style.display=null!=y?y:"none",M}function $t(me,y,M,z,ge){const Pe=[];M.forEach(Mt=>Pe.push(Nt(Mt)));const Xe=[];z.forEach((Mt,Lt)=>{const tn={};Mt.forEach(pn=>{const Sn=tn[pn]=y.computeStyle(Lt,pn,ge);(!Sn||0==Sn.length)&&(Lt[oi]=Pi,Xe.push(Lt))}),me.set(Lt,tn)});let ot=0;return M.forEach(Mt=>Nt(Mt,Pe[ot++])),Xe}function hn(me,y){const M=new Map;if(me.forEach(ot=>M.set(ot,[])),0==y.length)return M;const ge=new Set(y),Pe=new Map;function Xe(ot){if(!ot)return 1;let Mt=Pe.get(ot);if(Mt)return Mt;const Lt=ot.parentNode;return Mt=M.has(Lt)?Lt:ge.has(Lt)?1:Xe(Lt),Pe.set(ot,Mt),Mt}return y.forEach(ot=>{const Mt=Xe(ot);1!==Mt&&M.get(Mt).push(ot)}),M}const cn="$$classes";function An(me,y){if(me.classList)me.classList.add(y);else{let M=me[cn];M||(M=me[cn]={}),M[y]=!0}}function kn(me,y){if(me.classList)me.classList.remove(y);else{let M=me[cn];M&&delete M[y]}}function hi(me,y,M){D(M).onDone(()=>me.processLeaveNode(y))}function gi(me,y){for(let M=0;Mge.add(Pe)):y.set(me,z),M.delete(me),!0}class Ki{constructor(y,M,z){this.bodyNode=y,this._driver=M,this._normalizer=z,this._triggerCache={},this.onRemovalComplete=(ge,Pe)=>{},this._transitionEngine=new ne(y,M,z),this._timelineEngine=new tr(y,M,z),this._transitionEngine.onRemovalComplete=(ge,Pe)=>this.onRemovalComplete(ge,Pe)}registerTrigger(y,M,z,ge,Pe){const Xe=y+"-"+ge;let ot=this._triggerCache[Xe];if(!ot){const Mt=[],Lt=ln(this._driver,Pe,Mt);if(Mt.length)throw new Error(`The animation trigger "${ge}" has failed to build due to the following errors:\n - ${Mt.join("\n - ")}`);ot=function(me,y,M){return new fn(me,y,M)}(ge,Lt,this._normalizer),this._triggerCache[Xe]=ot}this._transitionEngine.registerTrigger(M,ge,ot)}register(y,M){this._transitionEngine.register(y,M)}destroy(y,M){this._transitionEngine.destroy(y,M)}onInsert(y,M,z,ge){this._transitionEngine.insertNode(y,M,z,ge)}onRemove(y,M,z,ge){this._transitionEngine.removeNode(y,M,ge||!1,z)}disableAnimations(y,M){this._transitionEngine.markElementAsDisabled(y,M)}process(y,M,z,ge){if("@"==z.charAt(0)){const[Pe,Xe]=G(z);this._timelineEngine.command(Pe,M,Xe,ge)}else this._transitionEngine.trigger(y,M,z,ge)}listen(y,M,z,ge,Pe){if("@"==z.charAt(0)){const[Xe,ot]=G(z);return this._timelineEngine.listen(Xe,M,ot,Pe)}return this._transitionEngine.listen(y,M,z,ge,Pe)}flush(y=-1){this._transitionEngine.flush(y)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function cr(me,y){let M=null,z=null;return Array.isArray(y)&&y.length?(M=fi(y[0]),y.length>1&&(z=fi(y[y.length-1]))):y&&(M=fi(y)),M||z?new ir(me,M,z):null}let ir=(()=>{class me{constructor(M,z,ge){this._element=M,this._startStyles=z,this._endStyles=ge,this._state=0;let Pe=me.initialStylesByElement.get(M);Pe||me.initialStylesByElement.set(M,Pe={}),this._initialStyles=Pe}start(){this._state<1&&(this._startStyles&&ze(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ze(this._element,this._initialStyles),this._endStyles&&(ze(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(me.initialStylesByElement.delete(this._element),this._startStyles&&(It(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(It(this._element,this._endStyles),this._endStyles=null),ze(this._element,this._initialStyles),this._state=3)}}return me.initialStylesByElement=new WeakMap,me})();function fi(me){let y=null;const M=Object.keys(me);for(let z=0;zthis._handleCallback(Mt)}apply(){(function(me,y){const M=is(me,"").trim();let z=0;M.length&&(function(me,y){let M=0;for(let z=0;z=this._delay&&z>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dr(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(me,y){const z=is(me,"").split(","),ge=Qr(z,y);ge>=0&&(z.splice(ge,1),xi(me,"",z.join(",")))}(this._element,this._name))}}function Qi(me,y,M){xi(me,"PlayState",M,Ts(me,y))}function Ts(me,y){const M=is(me,"");return M.indexOf(",")>0?Qr(M.split(","),y):Qr([M],y)}function Qr(me,y){for(let M=0;M=0)return M;return-1}function dr(me,y,M){M?me.removeEventListener(Ni,y):me.addEventListener(Ni,y)}function xi(me,y,M,z){const ge=vr+y;if(null!=z){const Pe=me.style[ge];if(Pe.length){const Xe=Pe.split(",");Xe[z]=M,M=Xe.join(",")}}me.style[ge]=M}function is(me,y){return me.style[vr+y]||""}class Sr{constructor(y,M,z,ge,Pe,Xe,ot,Mt){this.element=y,this.keyframes=M,this.animationName=z,this._duration=ge,this._delay=Pe,this._finalStyles=ot,this._specialStyles=Mt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Xe||"linear",this.totalTime=ge+Pe,this._buildStyler()}onStart(y){this._onStartFns.push(y)}onDone(y){this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(y=>y()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(y=>y()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(y=>y()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(y){this._styler.setPosition(y)}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 yr(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(y){const M="start"==y?this._onStartFns:this._onDoneFns;M.forEach(z=>z()),M.length=0}beforeDestroy(){this.init();const y={};if(this.hasStarted()){const M=this._state>=3;Object.keys(this._finalStyles).forEach(z=>{"offset"!=z&&(y[z]=M?this._finalStyles[z]:q(this.element,z))})}this.currentSnapshot=y}}class Vi extends m.ZN{constructor(y,M){super(),this.element=y,this._startingStyles={},this.__initialized=!1,this._styles=pe(M)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(y=>{this._startingStyles[y]=this.element.style[y]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(y=>this.element.style.setProperty(y,this._styles[y])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(y=>{const M=this._startingStyles[y];M?this.element.style.setProperty(y,M):this.element.style.removeProperty(y)}),this._startingStyles=null,super.destroy())}}class X{constructor(){this._count=0}validateStyleProperty(y){return ve(y)}matchesElement(y,M){return ie(y,M)}containsElement(y,M){return se(y,M)}query(y,M,z){return Ie(y,M,z)}computeStyle(y,M,z){return window.getComputedStyle(y)[M]}buildKeyframeElement(y,M,z){z=z.map(ot=>pe(ot));let ge=`@keyframes ${M} {\n`,Pe="";z.forEach(ot=>{Pe=" ";const Mt=parseFloat(ot.offset);ge+=`${Pe}${100*Mt}% {\n`,Pe+=" ",Object.keys(ot).forEach(Lt=>{const tn=ot[Lt];switch(Lt){case"offset":return;case"easing":return void(tn&&(ge+=`${Pe}animation-timing-function: ${tn};\n`));default:return void(ge+=`${Pe}${Lt}: ${tn};\n`)}}),ge+=`${Pe}}\n`}),ge+="}\n";const Xe=document.createElement("style");return Xe.textContent=ge,Xe}animate(y,M,z,ge,Pe,Xe=[],ot){const Mt=Xe.filter(Vn=>Vn instanceof Sr),Lt={};H(z,ge)&&Mt.forEach(Vn=>{let bi=Vn.currentSnapshot;Object.keys(bi).forEach(Ci=>Lt[Ci]=bi[Ci])});const tn=function(me){let y={};return me&&(Array.isArray(me)?me:[me]).forEach(z=>{Object.keys(z).forEach(ge=>{"offset"==ge||"easing"==ge||(y[ge]=z[ge])})}),y}(M=v(y,M,Lt));if(0==z)return new Vi(y,tn);const pn="gen_css_kf_"+this._count++,Sn=this.buildKeyframeElement(y,pn,M);(function(me){var y;const M=null===(y=me.getRootNode)||void 0===y?void 0:y.call(me);return"undefined"!=typeof ShadowRoot&&M instanceof ShadowRoot?M:document.head})(y).appendChild(Sn);const yn=cr(y,M),gn=new Sr(y,M,pn,z,ge,Pe,tn,yn);return gn.onDestroy(()=>{var me;(me=Sn).parentNode.removeChild(me)}),gn}}class zt{constructor(y,M,z,ge){this.element=y,this.keyframes=M,this.options=z,this._specialStyles=ge,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=z.duration,this._delay=z.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const y=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,y,this.options),this._finalKeyframe=y.length?y[y.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(y,M,z){return y.animate(M,z)}onStart(y){this._onStartFns.push(y)}onDone(y){this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(y=>y()),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(y=>y()),this._onDestroyFns=[])}setPosition(y){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=y*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const y={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(M=>{"offset"!=M&&(y[M]=this._finished?this._finalKeyframe[M]:q(this.element,M))}),this.currentSnapshot=y}triggerCallback(y){const M="start"==y?this._onStartFns:this._onDoneFns;M.forEach(z=>z()),M.length=0}}class wn{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(En().toString()),this._cssKeyframesDriver=new X}validateStyleProperty(y){return ve(y)}matchesElement(y,M){return ie(y,M)}containsElement(y,M){return se(y,M)}query(y,M,z){return Ie(y,M,z)}computeStyle(y,M,z){return window.getComputedStyle(y)[M]}overrideWebAnimationsSupport(y){this._isNativeImpl=y}animate(y,M,z,ge,Pe,Xe=[],ot){if(!ot&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(y,M,z,ge,Pe,Xe);const tn={duration:z,delay:ge,fill:0==ge?"both":"forwards"};Pe&&(tn.easing=Pe);const pn={},Sn=Xe.filter(yn=>yn instanceof zt);H(z,ge)&&Sn.forEach(yn=>{let gn=yn.currentSnapshot;Object.keys(gn).forEach(Vn=>pn[Vn]=gn[Vn])});const Qn=cr(y,M=v(y,M=M.map(yn=>St(yn,!1)),pn));return new zt(y,M,tn,Qn)}}function En(){return P()&&Element.prototype.animate||{}}var Jn=p(8583);let ci=(()=>{class me extends m._j{constructor(M,z){super(),this._nextAnimationId=0,this._renderer=M.createRenderer(z.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(M){const z=this._nextAnimationId.toString();this._nextAnimationId++;const ge=Array.isArray(M)?(0,m.vP)(M):M;return Ii(this._renderer,null,z,"register",[ge]),new Ei(z,this._renderer)}}return me.\u0275fac=function(M){return new(M||me)(l.LFG(l.FYo),l.LFG(Jn.K0))},me.\u0275prov=l.Yz7({token:me,factory:me.\u0275fac}),me})();class Ei extends m.LC{constructor(y,M){super(),this._id=y,this._renderer=M}create(y,M){return new Br(this._id,y,M||{},this._renderer)}}class Br{constructor(y,M,z,ge){this.id=y,this.element=M,this._renderer=ge,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",z)}_listen(y,M){return this._renderer.listen(this.element,`@@${this.id}:${y}`,M)}_command(y,...M){return Ii(this._renderer,this.element,this.id,y,M)}onDone(y){this._listen("done",y)}onStart(y){this._listen("start",y)}onDestroy(y){this._listen("destroy",y)}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(y){this._command("setPosition",y)}getPosition(){var y,M;return null!==(M=null===(y=this._renderer.engine.players[+this.id])||void 0===y?void 0:y.getPosition())&&void 0!==M?M:0}}function Ii(me,y,M,z,ge){return me.setProperty(y,`@@${M}:${z}`,ge)}const Vr="@.disabled";let xn=(()=>{class me{constructor(M,z,ge){this.delegate=M,this.engine=z,this._zone=ge,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),z.onRemovalComplete=(Pe,Xe)=>{Xe&&Xe.parentNode(Pe)&&Xe.removeChild(Pe.parentNode,Pe)}}createRenderer(M,z){const Pe=this.delegate.createRenderer(M,z);if(!(M&&z&&z.data&&z.data.animation)){let tn=this._rendererCache.get(Pe);return tn||(tn=new Hr("",Pe,this.engine),this._rendererCache.set(Pe,tn)),tn}const Xe=z.id,ot=z.id+"-"+this._currentId;this._currentId++,this.engine.register(ot,M);const Mt=tn=>{Array.isArray(tn)?tn.forEach(Mt):this.engine.registerTrigger(Xe,ot,M,tn.name,tn)};return z.data.animation.forEach(Mt),new as(this,ot,Pe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(M,z,ge){M>=0&&Mz(ge)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Pe=>{const[Xe,ot]=Pe;Xe(ot)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([z,ge]))}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 me.\u0275fac=function(M){return new(M||me)(l.LFG(l.FYo),l.LFG(Ki),l.LFG(l.R0b))},me.\u0275prov=l.Yz7({token:me,factory:me.\u0275fac}),me})();class Hr{constructor(y,M,z){this.namespaceId=y,this.delegate=M,this.engine=z,this.destroyNode=this.delegate.destroyNode?ge=>M.destroyNode(ge):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(y,M){return this.delegate.createElement(y,M)}createComment(y){return this.delegate.createComment(y)}createText(y){return this.delegate.createText(y)}appendChild(y,M){this.delegate.appendChild(y,M),this.engine.onInsert(this.namespaceId,M,y,!1)}insertBefore(y,M,z,ge=!0){this.delegate.insertBefore(y,M,z),this.engine.onInsert(this.namespaceId,M,y,ge)}removeChild(y,M,z){this.engine.onRemove(this.namespaceId,M,this.delegate,z)}selectRootElement(y,M){return this.delegate.selectRootElement(y,M)}parentNode(y){return this.delegate.parentNode(y)}nextSibling(y){return this.delegate.nextSibling(y)}setAttribute(y,M,z,ge){this.delegate.setAttribute(y,M,z,ge)}removeAttribute(y,M,z){this.delegate.removeAttribute(y,M,z)}addClass(y,M){this.delegate.addClass(y,M)}removeClass(y,M){this.delegate.removeClass(y,M)}setStyle(y,M,z,ge){this.delegate.setStyle(y,M,z,ge)}removeStyle(y,M,z){this.delegate.removeStyle(y,M,z)}setProperty(y,M,z){"@"==M.charAt(0)&&M==Vr?this.disableAnimations(y,!!z):this.delegate.setProperty(y,M,z)}setValue(y,M){this.delegate.setValue(y,M)}listen(y,M,z){return this.delegate.listen(y,M,z)}disableAnimations(y,M){this.engine.disableAnimations(y,M)}}class as extends Hr{constructor(y,M,z,ge){super(M,z,ge),this.factory=y,this.namespaceId=M}setProperty(y,M,z){"@"==M.charAt(0)?"."==M.charAt(1)&&M==Vr?this.disableAnimations(y,z=void 0===z||!!z):this.engine.process(this.namespaceId,y,M.substr(1),z):this.delegate.setProperty(y,M,z)}listen(y,M,z){if("@"==M.charAt(0)){const ge=function(me){switch(me){case"body":return document.body;case"document":return document;case"window":return window;default:return me}}(y);let Pe=M.substr(1),Xe="";return"@"!=Pe.charAt(0)&&([Pe,Xe]=function(me){const y=me.indexOf(".");return[me.substring(0,y),me.substr(y+1)]}(Pe)),this.engine.listen(this.namespaceId,ge,Pe,Xe,ot=>{this.factory.scheduleListenerCallback(ot._data||-1,z,ot)})}return this.delegate.listen(y,M,z)}}let Gs=(()=>{class me extends Ki{constructor(M,z,ge){super(M.body,z,ge)}ngOnDestroy(){this.flush()}}return me.\u0275fac=function(M){return new(M||me)(l.LFG(Jn.K0),l.LFG(Ue),l.LFG(wi))},me.\u0275prov=l.Yz7({token:me,factory:me.\u0275fac}),me})();const Pn=new l.OlP("AnimationModuleType"),ls=[{provide:m._j,useClass:ci},{provide:wi,useFactory:function(){return new vi}},{provide:Ki,useClass:Gs},{provide:l.FYo,useFactory:function(me,y,M){return new xn(me,y,M)},deps:[n.se,Ki,l.R0b]}],ki=[{provide:Ue,useFactory:function(){return"function"==typeof En()?new wn:new X}},{provide:Pn,useValue:"BrowserAnimations"},...ls],Ur=[{provide:Ue,useClass:be},{provide:Pn,useValue:"NoopAnimations"},...ls];let zs=(()=>{class me{static withConfig(M){return{ngModule:me,providers:M.disableAnimations?Ur:ki}}}return me.\u0275fac=function(M){return new(M||me)},me.\u0275mod=l.oAB({type:me}),me.\u0275inj=l.cJS({providers:ki,imports:[n.b2]}),me})()},9075:(ft,Fe,p)=>{"use strict";p.d(Fe,{b2:()=>Ut,H7:()=>Jt,q6:()=>Je,se:()=>Gt});var l=p(8583),n=p(7716);class m extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class P extends m{static makeCurrent(){(0,l.HT)(new P)}onAndCancel(ct,$e,Dt){return ct.addEventListener($e,Dt,!1),()=>{ct.removeEventListener($e,Dt,!1)}}dispatchEvent(ct,$e){ct.dispatchEvent($e)}remove(ct){ct.parentNode&&ct.parentNode.removeChild(ct)}createElement(ct,$e){return($e=$e||this.getDefaultDocument()).createElement(ct)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ct){return ct.nodeType===Node.ELEMENT_NODE}isShadowRoot(ct){return ct instanceof DocumentFragment}getGlobalEventTarget(ct,$e){return"window"===$e?window:"document"===$e?ct:"body"===$e?ct.body:null}getBaseHref(ct){const $e=(g=g||document.querySelector("base"),g?g.getAttribute("href"):null);return null==$e?null:function(bt){I=I||document.createElement("a"),I.setAttribute("href",bt);const ct=I.pathname;return"/"===ct.charAt(0)?ct:`/${ct}`}($e)}resetBaseElement(){g=null}getUserAgent(){return window.navigator.userAgent}getCookie(ct){return(0,l.Mx)(document.cookie,ct)}}let I,g=null;const E=new n.OlP("TRANSITION_ID"),R=[{provide:n.ip1,useFactory:function(bt,ct,$e){return()=>{$e.get(n.CZH).donePromise.then(()=>{const Dt=(0,l.q)(),Ft=ct.querySelectorAll(`style[ng-transition="${bt}"]`);for(let fn=0;fn{const fn=ct.findTestabilityInTree(Dt,Ft);if(null==fn)throw new Error("Could not find testability for element.");return fn},n.dqk.getAllAngularTestabilities=()=>ct.getAllTestabilities(),n.dqk.getAllAngularRootElements=()=>ct.getAllRootElements(),n.dqk.frameworkStabilizers||(n.dqk.frameworkStabilizers=[]),n.dqk.frameworkStabilizers.push(Dt=>{const Ft=n.dqk.getAllAngularTestabilities();let fn=Ft.length,vn=!1;const Nn=function(mn){vn=vn||mn,fn--,0==fn&&Dt(vn)};Ft.forEach(function(mn){mn.whenStable(Nn)})})}findTestabilityInTree(ct,$e,Dt){if(null==$e)return null;const Ft=ct.getTestability($e);return null!=Ft?Ft:Dt?(0,l.q)().isShadowRoot($e)?this.findTestabilityInTree(ct,$e.host,!0):this.findTestabilityInTree(ct,$e.parentElement,!0):null}}let K=(()=>{class bt{build(){return new XMLHttpRequest}}return bt.\u0275fac=function($e){return new($e||bt)},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})();const be=new n.OlP("EventManagerPlugins");let Ue=(()=>{class bt{constructor($e,Dt){this._zone=Dt,this._eventNameToPlugin=new Map,$e.forEach(Ft=>Ft.manager=this),this._plugins=$e.slice().reverse()}addEventListener($e,Dt,Ft){return this._findPluginFor(Dt).addEventListener($e,Dt,Ft)}addGlobalEventListener($e,Dt,Ft){return this._findPluginFor(Dt).addGlobalEventListener($e,Dt,Ft)}getZone(){return this._zone}_findPluginFor($e){const Dt=this._eventNameToPlugin.get($e);if(Dt)return Dt;const Ft=this._plugins;for(let fn=0;fn{class bt{constructor(){this._stylesSet=new Set}addStyles($e){const Dt=new Set;$e.forEach(Ft=>{this._stylesSet.has(Ft)||(this._stylesSet.add(Ft),Dt.add(Ft))}),this.onStylesAdded(Dt)}onStylesAdded($e){}getAllStyles(){return Array.from(this._stylesSet)}}return bt.\u0275fac=function($e){return new($e||bt)},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),Tt=(()=>{class bt extends et{constructor($e){super(),this._doc=$e,this._hostNodes=new Map,this._hostNodes.set($e.head,[])}_addStylesToHost($e,Dt,Ft){$e.forEach(fn=>{const vn=this._doc.createElement("style");vn.textContent=fn,Ft.push(Dt.appendChild(vn))})}addHost($e){const Dt=[];this._addStylesToHost(this._stylesSet,$e,Dt),this._hostNodes.set($e,Dt)}removeHost($e){const Dt=this._hostNodes.get($e);Dt&&Dt.forEach(He),this._hostNodes.delete($e)}onStylesAdded($e){this._hostNodes.forEach((Dt,Ft)=>{this._addStylesToHost($e,Ft,Dt)})}ngOnDestroy(){this._hostNodes.forEach($e=>$e.forEach(He))}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(l.K0))},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})();function He(bt){(0,l.q)().remove(bt)}const dt={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/"},Oe=/%COMP%/g;function lt(bt,ct,$e){for(let Dt=0;Dt{if("__ngUnwrap__"===ct)return bt;!1===bt(ct)&&(ct.preventDefault(),ct.returnValue=!1)}}let Gt=(()=>{class bt{constructor($e,Dt,Ft){this.eventManager=$e,this.sharedStylesHost=Dt,this.appId=Ft,this.rendererByCompId=new Map,this.defaultRenderer=new en($e)}createRenderer($e,Dt){if(!$e||!Dt)return this.defaultRenderer;switch(Dt.encapsulation){case n.ifc.Emulated:{let Ft=this.rendererByCompId.get(Dt.id);return Ft||(Ft=new ze(this.eventManager,this.sharedStylesHost,Dt,this.appId),this.rendererByCompId.set(Dt.id,Ft)),Ft.applyToHost($e),Ft}case 1:case n.ifc.ShadowDom:return new It(this.eventManager,this.sharedStylesHost,$e,Dt);default:if(!this.rendererByCompId.has(Dt.id)){const Ft=lt(Dt.id,Dt.styles,[]);this.sharedStylesHost.addStyles(Ft),this.rendererByCompId.set(Dt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(Ue),n.LFG(Tt),n.LFG(n.AFp))},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class en{constructor(ct){this.eventManager=ct,this.data=Object.create(null)}destroy(){}createElement(ct,$e){return $e?document.createElementNS(dt[$e]||$e,ct):document.createElement(ct)}createComment(ct){return document.createComment(ct)}createText(ct){return document.createTextNode(ct)}appendChild(ct,$e){ct.appendChild($e)}insertBefore(ct,$e,Dt){ct&&ct.insertBefore($e,Dt)}removeChild(ct,$e){ct&&ct.removeChild($e)}selectRootElement(ct,$e){let Dt="string"==typeof ct?document.querySelector(ct):ct;if(!Dt)throw new Error(`The selector "${ct}" did not match any elements`);return $e||(Dt.textContent=""),Dt}parentNode(ct){return ct.parentNode}nextSibling(ct){return ct.nextSibling}setAttribute(ct,$e,Dt,Ft){if(Ft){$e=Ft+":"+$e;const fn=dt[Ft];fn?ct.setAttributeNS(fn,$e,Dt):ct.setAttribute($e,Dt)}else ct.setAttribute($e,Dt)}removeAttribute(ct,$e,Dt){if(Dt){const Ft=dt[Dt];Ft?ct.removeAttributeNS(Ft,$e):ct.removeAttribute(`${Dt}:${$e}`)}else ct.removeAttribute($e)}addClass(ct,$e){ct.classList.add($e)}removeClass(ct,$e){ct.classList.remove($e)}setStyle(ct,$e,Dt,Ft){Ft&(n.JOm.DashCase|n.JOm.Important)?ct.style.setProperty($e,Dt,Ft&n.JOm.Important?"important":""):ct.style[$e]=Dt}removeStyle(ct,$e,Dt){Dt&n.JOm.DashCase?ct.style.removeProperty($e):ct.style[$e]=""}setProperty(ct,$e,Dt){ct[$e]=Dt}setValue(ct,$e){ct.nodeValue=$e}listen(ct,$e,Dt){return"string"==typeof ct?this.eventManager.addGlobalEventListener(ct,$e,tt(Dt)):this.eventManager.addEventListener(ct,$e,tt(Dt))}}class ze extends en{constructor(ct,$e,Dt,Ft){super(ct),this.component=Dt;const fn=lt(Ft+"-"+Dt.id,Dt.styles,[]);$e.addStyles(fn),this.contentAttr="_ngcontent-%COMP%".replace(Oe,Ft+"-"+Dt.id),this.hostAttr="_nghost-%COMP%".replace(Oe,Ft+"-"+Dt.id)}applyToHost(ct){super.setAttribute(ct,this.hostAttr,"")}createElement(ct,$e){const Dt=super.createElement(ct,$e);return super.setAttribute(Dt,this.contentAttr,""),Dt}}class It extends en{constructor(ct,$e,Dt,Ft){super(ct),this.sharedStylesHost=$e,this.hostEl=Dt,this.shadowRoot=Dt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const fn=lt(Ft.id,Ft.styles,[]);for(let vn=0;vn{class bt extends rt{constructor($e){super($e)}supports($e){return!0}addEventListener($e,Dt,Ft){return $e.addEventListener(Dt,Ft,!1),()=>this.removeEventListener($e,Dt,Ft)}removeEventListener($e,Dt,Ft){return $e.removeEventListener(Dt,Ft)}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(l.K0))},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})();const v=["alt","control","meta","shift"],q={"\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"},xe={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"},Zt={alt:bt=>bt.altKey,control:bt=>bt.ctrlKey,meta:bt=>bt.metaKey,shift:bt=>bt.shiftKey};let Wt=(()=>{class bt extends rt{constructor($e){super($e)}supports($e){return null!=bt.parseEventName($e)}addEventListener($e,Dt,Ft){const fn=bt.parseEventName(Dt),vn=bt.eventCallback(fn.fullKey,Ft,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel($e,fn.domEventName,vn))}static parseEventName($e){const Dt=$e.toLowerCase().split("."),Ft=Dt.shift();if(0===Dt.length||"keydown"!==Ft&&"keyup"!==Ft)return null;const fn=bt._normalizeKey(Dt.pop());let vn="";if(v.forEach(mn=>{const tr=Dt.indexOf(mn);tr>-1&&(Dt.splice(tr,1),vn+=mn+".")}),vn+=fn,0!=Dt.length||0===fn.length)return null;const Nn={};return Nn.domEventName=Ft,Nn.fullKey=vn,Nn}static getEventFullKey($e){let Dt="",Ft=function(bt){let ct=bt.key;if(null==ct){if(ct=bt.keyIdentifier,null==ct)return"Unidentified";ct.startsWith("U+")&&(ct=String.fromCharCode(parseInt(ct.substring(2),16)),3===bt.location&&xe.hasOwnProperty(ct)&&(ct=xe[ct]))}return q[ct]||ct}($e);return Ft=Ft.toLowerCase()," "===Ft?Ft="space":"."===Ft&&(Ft="dot"),v.forEach(fn=>{fn!=Ft&&Zt[fn]($e)&&(Dt+=fn+".")}),Dt+=Ft,Dt}static eventCallback($e,Dt,Ft){return fn=>{bt.getEventFullKey(fn)===$e&&Ft.runGuarded(()=>Dt(fn))}}static _normalizeKey($e){switch($e){case"esc":return"escape";default:return $e}}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(l.K0))},bt.\u0275prov=n.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),Jt=(()=>{class bt{}return bt.\u0275fac=function($e){return new($e||bt)},bt.\u0275prov=(0,n.Yz7)({factory:function(){return(0,n.LFG)(ht)},token:bt,providedIn:"root"}),bt})(),ht=(()=>{class bt extends Jt{constructor($e){super(),this._doc=$e}sanitize($e,Dt){if(null==Dt)return null;switch($e){case n.q3G.NONE:return Dt;case n.q3G.HTML:return(0,n.qzn)(Dt,"HTML")?(0,n.z3N)(Dt):(0,n.EiD)(this._doc,String(Dt)).toString();case n.q3G.STYLE:return(0,n.qzn)(Dt,"Style")?(0,n.z3N)(Dt):Dt;case n.q3G.SCRIPT:if((0,n.qzn)(Dt,"Script"))return(0,n.z3N)(Dt);throw new Error("unsafe value used in a script context");case n.q3G.URL:return(0,n.yhl)(Dt),(0,n.qzn)(Dt,"URL")?(0,n.z3N)(Dt):(0,n.mCW)(String(Dt));case n.q3G.RESOURCE_URL:if((0,n.qzn)(Dt,"ResourceURL"))return(0,n.z3N)(Dt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${$e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml($e){return(0,n.JVY)($e)}bypassSecurityTrustStyle($e){return(0,n.L6k)($e)}bypassSecurityTrustScript($e){return(0,n.eBb)($e)}bypassSecurityTrustUrl($e){return(0,n.LAX)($e)}bypassSecurityTrustResourceUrl($e){return(0,n.pB0)($e)}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(l.K0))},bt.\u0275prov=(0,n.Yz7)({factory:function(){return function(bt){return new ht(bt.get(l.K0))}((0,n.LFG)(n.gxx))},token:bt,providedIn:"root"}),bt})();const Je=(0,n.eFA)(n._c5,"browser",[{provide:n.Lbi,useValue:l.bD},{provide:n.g9A,useValue:function(){P.makeCurrent(),G.init()},multi:!0},{provide:l.K0,useFactory:function(){return(0,n.RDi)(document),document},deps:[]}]),_t=[[],{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function(){return new n.qLn},deps:[]},{provide:be,useClass:qt,multi:!0,deps:[l.K0,n.R0b,n.Lbi]},{provide:be,useClass:Wt,multi:!0,deps:[l.K0]},[],{provide:Gt,useClass:Gt,deps:[Ue,Tt,n.AFp]},{provide:n.FYo,useExisting:Gt},{provide:et,useExisting:Tt},{provide:Tt,useClass:Tt,deps:[l.K0]},{provide:n.dDg,useClass:n.dDg,deps:[n.R0b]},{provide:Ue,useClass:Ue,deps:[be,n.R0b]},{provide:l.JF,useClass:K,deps:[]},[]];let Ut=(()=>{class bt{constructor($e){if($e)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:bt,providers:[{provide:n.AFp,useValue:$e.appId},{provide:E,useExisting:n.AFp},R]}}}return bt.\u0275fac=function($e){return new($e||bt)(n.LFG(bt,12))},bt.\u0275mod=n.oAB({type:bt}),bt.\u0275inj=n.cJS({providers:_t,imports:[l.ez,n.hGG]}),bt})();"undefined"!=typeof window&&window},4655:(ft,Fe,p)=>{"use strict";p.d(Fe,{gz:()=>yi,F0:()=>_i,rH:()=>Ri,Od:()=>Ir,Bz:()=>As,lC:()=>Go});var l=p(8583),n=p(7716);const P=(()=>{function j(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return j.prototype=Object.create(Error.prototype),j})();var g=p(4402),D=p(5917),I=p(6215),b=p(739),E=p(7574),U=p(8071),R=p(1439),G=p(9193),K=p(2441),J=p(9765),$=p(7393);function ee(j,O){let T=!1;return arguments.length>=2&&(T=!0),function(oe){return oe.lift(new te(j,O,T))}}class te{constructor(O,T,Q=!1){this.accumulator=O,this.seed=T,this.hasSeed=Q}call(O,T){return T.subscribe(new ce(O,this.accumulator,this.seed,this.hasSeed))}}class ce extends $.L{constructor(O,T,Q,oe){super(O),this.accumulator=T,this._seed=Q,this.hasSeed=oe,this.index=0}get seed(){return this._seed}set seed(O){this.hasSeed=!0,this._seed=O}_next(O){if(this.hasSeed)return this._tryNext(O);this.seed=O,this.destination.next(O)}_tryNext(O){const T=this.index++;let Q;try{Q=this.accumulator(this.seed,O,T)}catch(oe){this.destination.error(oe)}this.seed=Q,this.destination.next(Q)}}var De=p(5435),qe=p(7108);function Le(j){return function(T){return 0===j?(0,G.c)():T.lift(new de(j))}}class de{constructor(O){if(this.total=O,this.total<0)throw new qe.W}call(O,T){return T.subscribe(new ve(O,this.total))}}class ve extends $.L{constructor(O,T){super(O),this.total=T,this.ring=new Array,this.count=0}_next(O){const T=this.ring,Q=this.total,oe=this.count++;T.length0){const Q=this.count>=this.total?this.total:this.count,oe=this.ring;for(let Ee=0;EeO.lift(new ie(j))}class ie{constructor(O){this.errorFactory=O}call(O,T){return T.subscribe(new se(O,this.errorFactory))}}class se extends $.L{constructor(O,T){super(O),this.errorFactory=T,this.hasValue=!1}_next(O){this.hasValue=!0,this.destination.next(O)}_complete(){if(this.hasValue)return this.destination.complete();{let O;try{O=this.errorFactory()}catch(T){O=T}this.destination.error(O)}}}function Ie(){return new P}function pe(j=null){return O=>O.lift(new be(j))}class be{constructor(O){this.defaultValue=O}call(O,T){return T.subscribe(new Ue(O,this.defaultValue))}}class Ue extends $.L{constructor(O,T){super(O),this.defaultValue=T,this.isEmpty=!0}_next(O){this.isEmpty=!1,this.destination.next(O)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var rt=p(4487),Tt=p(5257);function He(j,O){const T=arguments.length>=2;return Q=>Q.pipe(j?(0,De.h)((oe,Ee)=>j(oe,Ee,Q)):rt.y,(0,Tt.q)(1),T?pe(O):re(()=>new P))}var dt=p(8002),Oe=p(3190),je=p(9761),Ke=p(5304),Be=p(4612),At=p(9773),at=p(3342),Ye=p(1307),lt=p(8939),tt=p(3282);class wt{constructor(O,T){this.id=O,this.url=T}}class Gt extends wt{constructor(O,T,Q="imperative",oe=null){super(O,T),this.navigationTrigger=Q,this.restoredState=oe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class en extends wt{constructor(O,T,Q){super(O,T),this.urlAfterRedirects=Q}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class St extends wt{constructor(O,T,Q){super(O,T),this.reason=Q}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gt extends wt{constructor(O,T,Q){super(O,T),this.error=Q}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Qe extends wt{constructor(O,T,Q,oe){super(O,T),this.urlAfterRedirects=Q,this.state=oe}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends wt{constructor(O,T,Q,oe){super(O,T),this.urlAfterRedirects=Q,this.state=oe}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class It extends wt{constructor(O,T,Q,oe,Ee){super(O,T),this.urlAfterRedirects=Q,this.state=oe,this.shouldActivate=Ee}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qt extends wt{constructor(O,T,Q,oe){super(O,T),this.urlAfterRedirects=Q,this.state=oe}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends wt{constructor(O,T,Q,oe){super(O,T),this.urlAfterRedirects=Q,this.state=oe}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fe{constructor(O){this.route=O}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Y{constructor(O){this.route=O}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class x{constructor(O){this.snapshot=O}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class A{constructor(O){this.snapshot=O}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class C{constructor(O){this.snapshot=O}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S{constructor(O){this.snapshot=O}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class F{constructor(O,T,Q){this.routerEvent=O,this.position=T,this.anchor=Q}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const H="primary";class v{constructor(O){this.params=O||{}}has(O){return Object.prototype.hasOwnProperty.call(this.params,O)}get(O){if(this.has(O)){const T=this.params[O];return Array.isArray(T)?T[0]:T}return null}getAll(O){if(this.has(O)){const T=this.params[O];return Array.isArray(T)?T:[T]}return[]}get keys(){return Object.keys(this.params)}}function V(j){return new v(j)}const q="ngNavigationCancelingError";function xe(j){const O=Error("NavigationCancelingError: "+j);return O[q]=!0,O}function xt(j,O,T){const Q=T.path.split("/");if(Q.length>j.length||"full"===T.pathMatch&&(O.hasChildren()||Q.lengthQ[Ee]===oe)}return j===O}function Wt(j){return Array.prototype.concat.apply([],j)}function an(j){return j.length>0?j[j.length-1]:null}function ln(j,O){for(const T in j)j.hasOwnProperty(T)&&O(j[T],T)}function ht(j){return(0,n.CqO)(j)?j:(0,n.QGY)(j)?(0,g.D)(Promise.resolve(j)):(0,D.of)(j)}const Re={exact:function ae(j,O,T){if(!qn(j.segments,O.segments)||!_t(j.segments,O.segments,T)||j.numberOfChildren!==O.numberOfChildren)return!1;for(const Q in O.children)if(!j.children[Q]||!ae(j.children[Q],O.children[Q],T))return!1;return!0},subset:ye},We={exact:function(j,O){return Yt(j,O)},subset:function(j,O){return Object.keys(O).length<=Object.keys(j).length&&Object.keys(O).every(T=>Zt(j[T],O[T]))},ignored:()=>!0};function Se(j,O,T){return Re[T.paths](j.root,O.root,T.matrixParams)&&We[T.queryParams](j.queryParams,O.queryParams)&&!("exact"===T.fragment&&j.fragment!==O.fragment)}function ye(j,O,T){return Je(j,O,O.segments,T)}function Je(j,O,T,Q){if(j.segments.length>T.length){const oe=j.segments.slice(0,T.length);return!(!qn(oe,T)||O.hasChildren()||!_t(oe,T,Q))}if(j.segments.length===T.length){if(!qn(j.segments,T)||!_t(j.segments,T,Q))return!1;for(const oe in O.children)if(!j.children[oe]||!ye(j.children[oe],O.children[oe],Q))return!1;return!0}{const oe=T.slice(0,j.segments.length),Ee=T.slice(j.segments.length);return!!(qn(j.segments,oe)&&_t(j.segments,oe,Q)&&j.children[H])&&Je(j.children[H],O,Ee,Q)}}function _t(j,O,T){return O.every((Q,oe)=>We[T](j[oe].parameters,Q.parameters))}class Ut{constructor(O,T,Q){this.root=O,this.queryParams=T,this.fragment=Q}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=V(this.queryParams)),this._queryParamMap}toString(){return ei.serialize(this)}}class Qt{constructor(O,T){this.segments=O,this.children=T,this.parent=null,ln(T,(Q,oe)=>Q.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Oi(this)}}class Hn{constructor(O,T){this.path=O,this.parameters=T}get parameterMap(){return this._parameterMap||(this._parameterMap=V(this.parameters)),this._parameterMap}toString(){return vi(this)}}function qn(j,O){return j.length===O.length&&j.every((T,Q)=>T.path===O[Q].path)}class Xn{}class pi{parse(O){const T=new Ft(O);return new Ut(T.parseRootSegment(),T.parseQueryParams(),T.parseFragment())}serialize(O){var j;return`${`/${ti(O.root,!0)}`}${function(j){const O=Object.keys(j).map(T=>{const Q=j[T];return Array.isArray(Q)?Q.map(oe=>`${_n(T)}=${_n(oe)}`).join("&"):`${_n(T)}=${_n(Q)}`}).filter(T=>!!T);return O.length?`?${O.join("&")}`:""}(O.queryParams)}${"string"==typeof O.fragment?`#${j=O.fragment,encodeURI(j)}`:""}`}}const ei=new pi;function Oi(j){return j.segments.map(O=>vi(O)).join("/")}function ti(j,O){if(!j.hasChildren())return Oi(j);if(O){const T=j.children[H]?ti(j.children[H],!1):"",Q=[];return ln(j.children,(oe,Ee)=>{Ee!==H&&Q.push(`${Ee}:${ti(oe,!1)}`)}),Q.length>0?`${T}(${Q.join("//")})`:T}{const T=function(j,O){let T=[];return ln(j.children,(Q,oe)=>{oe===H&&(T=T.concat(O(Q,oe)))}),ln(j.children,(Q,oe)=>{oe!==H&&(T=T.concat(O(Q,oe)))}),T}(j,(Q,oe)=>oe===H?[ti(j.children[H],!1)]:[`${oe}:${ti(Q,!1)}`]);return 1===Object.keys(j.children).length&&null!=j.children[H]?`${Oi(j)}/${T[0]}`:`${Oi(j)}/(${T.join("//")})`}}function Xt(j){return encodeURIComponent(j).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _n(j){return Xt(j).replace(/%3B/gi,";")}function ui(j){return Xt(j).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wi(j){return decodeURIComponent(j)}function si(j){return wi(j.replace(/\+/g,"%20"))}function vi(j){return`${ui(j.path)}${function(j){return Object.keys(j).map(O=>`;${ui(O)}=${ui(j[O])}`).join("")}(j.parameters)}`}const zi=/^[^\/()?;=#]+/;function bn(j){const O=j.match(zi);return O?O[0]:""}const bt=/^[^=?&#]+/,$e=/^[^?&#]+/;class Ft{constructor(O){this.url=O,this.remaining=O}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const O={};if(this.consumeOptional("?"))do{this.parseQueryParam(O)}while(this.consumeOptional("&"));return O}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const O=[];for(this.peekStartsWith("(")||O.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),O.push(this.parseSegment());let T={};this.peekStartsWith("/(")&&(this.capture("/"),T=this.parseParens(!0));let Q={};return this.peekStartsWith("(")&&(Q=this.parseParens(!1)),(O.length>0||Object.keys(T).length>0)&&(Q[H]=new Qt(O,T)),Q}parseSegment(){const O=bn(this.remaining);if(""===O&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(O),new Hn(wi(O),this.parseMatrixParams())}parseMatrixParams(){const O={};for(;this.consumeOptional(";");)this.parseParam(O);return O}parseParam(O){const T=bn(this.remaining);if(!T)return;this.capture(T);let Q="";if(this.consumeOptional("=")){const oe=bn(this.remaining);oe&&(Q=oe,this.capture(Q))}O[wi(T)]=wi(Q)}parseQueryParam(O){const T=function(j){const O=j.match(bt);return O?O[0]:""}(this.remaining);if(!T)return;this.capture(T);let Q="";if(this.consumeOptional("=")){const it=function(j){const O=j.match($e);return O?O[0]:""}(this.remaining);it&&(Q=it,this.capture(Q))}const oe=si(T),Ee=si(Q);if(O.hasOwnProperty(oe)){let it=O[oe];Array.isArray(it)||(it=[it],O[oe]=it),it.push(Ee)}else O[oe]=Ee}parseParens(O){const T={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Q=bn(this.remaining),oe=this.remaining[Q.length];if("/"!==oe&&")"!==oe&&";"!==oe)throw new Error(`Cannot parse url '${this.url}'`);let Ee;Q.indexOf(":")>-1?(Ee=Q.substr(0,Q.indexOf(":")),this.capture(Ee),this.capture(":")):O&&(Ee=H);const it=this.parseChildren();T[Ee]=1===Object.keys(it).length?it[H]:new Qt([],it),this.consumeOptional("//")}return T}peekStartsWith(O){return this.remaining.startsWith(O)}consumeOptional(O){return!!this.peekStartsWith(O)&&(this.remaining=this.remaining.substring(O.length),!0)}capture(O){if(!this.consumeOptional(O))throw new Error(`Expected "${O}".`)}}class fn{constructor(O){this._root=O}get root(){return this._root.value}parent(O){const T=this.pathFromRoot(O);return T.length>1?T[T.length-2]:null}children(O){const T=vn(O,this._root);return T?T.children.map(Q=>Q.value):[]}firstChild(O){const T=vn(O,this._root);return T&&T.children.length>0?T.children[0].value:null}siblings(O){const T=Nn(O,this._root);return T.length<2?[]:T[T.length-2].children.map(oe=>oe.value).filter(oe=>oe!==O)}pathFromRoot(O){return Nn(O,this._root).map(T=>T.value)}}function vn(j,O){if(j===O.value)return O;for(const T of O.children){const Q=vn(j,T);if(Q)return Q}return null}function Nn(j,O){if(j===O.value)return[O];for(const T of O.children){const Q=Nn(j,T);if(Q.length)return Q.unshift(O),Q}return[]}class mn{constructor(O,T){this.value=O,this.children=T}toString(){return`TreeNode(${this.value})`}}function tr(j){const O={};return j&&j.children.forEach(T=>O[T.value.outlet]=T),O}class xr extends fn{constructor(O,T){super(O),this.snapshot=T,Pi(this,O)}toString(){return this.snapshot.toString()}}function _r(j,O){const T=function(j,O){const it=new Wn([],{},{},"",{},H,O,null,j.root,-1,{});return new Er("",new mn(it,[]))}(j,O),Q=new I.X([new Hn("",{})]),oe=new I.X({}),Ee=new I.X({}),it=new I.X({}),ut=new I.X(""),Vt=new yi(Q,oe,it,ut,Ee,H,O,T.root);return Vt.snapshot=T.root,new xr(new mn(Vt,[]),T)}class yi{constructor(O,T,Q,oe,Ee,it,ut,Vt){this.url=O,this.params=T,this.queryParams=Q,this.fragment=oe,this.data=Ee,this.outlet=it,this.component=ut,this._futureSnapshot=Vt}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,dt.U)(O=>V(O)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,dt.U)(O=>V(O)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zn(j,O="emptyOnly"){const T=j.pathFromRoot;let Q=0;if("always"!==O)for(Q=T.length-1;Q>=1;){const oe=T[Q],Ee=T[Q-1];if(oe.routeConfig&&""===oe.routeConfig.path)Q--;else{if(Ee.component)break;Q--}}return function(j){return j.reduce((O,T)=>({params:Object.assign(Object.assign({},O.params),T.params),data:Object.assign(Object.assign({},O.data),T.data),resolve:Object.assign(Object.assign({},O.resolve),T._resolvedData)}),{params:{},data:{},resolve:{}})}(T.slice(Q))}class Wn{constructor(O,T,Q,oe,Ee,it,ut,Vt,dn,li,Mn){this.url=O,this.params=T,this.queryParams=Q,this.fragment=oe,this.data=Ee,this.outlet=it,this.component=ut,this.routeConfig=Vt,this._urlSegment=dn,this._lastPathIndex=li,this._resolve=Mn}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=V(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=V(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Q=>Q.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Er extends fn{constructor(O,T){super(T),this.url=O,Pi(this,T)}toString(){return oi(this._root)}}function Pi(j,O){O.value._routerState=j,O.children.forEach(T=>Pi(j,T))}function oi(j){const O=j.children.length>0?` { ${j.children.map(oi).join(", ")} } `:"";return`${j.value}${O}`}function nr(j){if(j.snapshot){const O=j.snapshot,T=j._futureSnapshot;j.snapshot=T,Yt(O.queryParams,T.queryParams)||j.queryParams.next(T.queryParams),O.fragment!==T.fragment&&j.fragment.next(T.fragment),Yt(O.params,T.params)||j.params.next(T.params),function(j,O){if(j.length!==O.length)return!1;for(let T=0;TYt(T.parameters,O[Q].parameters))}(j.url,O.url)&&!(!j.parent!=!O.parent)&&(!j.parent||Ve(j.parent,O.parent))}function he(j,O,T){if(T&&j.shouldReuseRoute(O.value,T.value.snapshot)){const Q=T.value;Q._futureSnapshot=O.value;const oe=function(j,O,T){return O.children.map(Q=>{for(const oe of T.children)if(j.shouldReuseRoute(Q.value,oe.value.snapshot))return he(j,Q,oe);return he(j,Q)})}(j,O,T);return new mn(Q,oe)}{if(j.shouldAttach(O.value)){const Ee=j.retrieve(O.value);if(null!==Ee){const it=Ee.route;return ne(O,it),it}}const Q=function(j){return new yi(new I.X(j.url),new I.X(j.params),new I.X(j.queryParams),new I.X(j.fragment),new I.X(j.data),j.outlet,j.component,j)}(O.value),oe=O.children.map(Ee=>he(j,Ee));return new mn(Q,oe)}}function ne(j,O){if(j.value.routeConfig!==O.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(j.children.length!==O.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");O.value._futureSnapshot=j.value;for(let T=0;T{Ee[ut]=Array.isArray(it)?it.map(Vt=>`${Vt}`):`${it}`}),new Ut(T.root===j?O:$t(T.root,j,O),Ee,oe)}function $t(j,O,T){const Q={};return ln(j.children,(oe,Ee)=>{Q[Ee]=oe===O?T:$t(oe,O,T)}),new Qt(j.segments,Q)}class hn{constructor(O,T,Q){if(this.isAbsolute=O,this.numberOfDoubleDots=T,this.commands=Q,O&&Q.length>0&&pt(Q[0]))throw new Error("Root segment cannot have matrix parameters");const oe=Q.find(Rt);if(oe&&oe!==an(Q))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bn{constructor(O,T,Q){this.segmentGroup=O,this.processChildren=T,this.index=Q}}function $n(j,O,T){if(j||(j=new Qt([],{})),0===j.segments.length&&j.hasChildren())return gi(j,O,T);const Q=function(j,O,T){let Q=0,oe=O;const Ee={match:!1,pathIndex:0,commandIndex:0};for(;oe=T.length)return Ee;const it=j.segments[oe],ut=T[Q];if(Rt(ut))break;const Vt=`${ut}`,dn=Q0&&void 0===Vt)break;if(Vt&&dn&&"object"==typeof dn&&void 0===dn.outlets){if(!ir(Vt,dn,it))return Ee;Q+=2}else{if(!ir(Vt,{},it))return Ee;Q++}oe++}return{match:!0,pathIndex:oe,commandIndex:Q}}(j,O,T),oe=T.slice(Q.commandIndex);if(Q.match&&Q.pathIndex{"string"==typeof Ee&&(Ee=[Ee]),null!==Ee&&(oe[it]=$n(j.children[it],O,Ee))}),ln(j.children,(Ee,it)=>{void 0===Q[it]&&(oe[it]=Ee)}),new Qt(j.segments,oe)}}function Fi(j,O,T){const Q=j.segments.slice(0,O);let oe=0;for(;oe{"string"==typeof T&&(T=[T]),null!==T&&(O[Q]=Fi(new Qt([],{}),0,T))}),O}function cr(j){const O={};return ln(j,(T,Q)=>O[Q]=`${T}`),O}function ir(j,O,T){return j==T.path&&Yt(O,T.parameters)}class ar{constructor(O,T,Q,oe){this.routeReuseStrategy=O,this.futureState=T,this.currState=Q,this.forwardEvent=oe}activate(O){const T=this.futureState._root,Q=this.currState?this.currState._root:null;this.deactivateChildRoutes(T,Q,O),nr(this.futureState.root),this.activateChildRoutes(T,Q,O)}deactivateChildRoutes(O,T,Q){const oe=tr(T);O.children.forEach(Ee=>{const it=Ee.value.outlet;this.deactivateRoutes(Ee,oe[it],Q),delete oe[it]}),ln(oe,(Ee,it)=>{this.deactivateRouteAndItsChildren(Ee,Q)})}deactivateRoutes(O,T,Q){const oe=O.value,Ee=T?T.value:null;if(oe===Ee)if(oe.component){const it=Q.getContext(oe.outlet);it&&this.deactivateChildRoutes(O,T,it.children)}else this.deactivateChildRoutes(O,T,Q);else Ee&&this.deactivateRouteAndItsChildren(T,Q)}deactivateRouteAndItsChildren(O,T){this.routeReuseStrategy.shouldDetach(O.value.snapshot)?this.detachAndStoreRouteSubtree(O,T):this.deactivateRouteAndOutlet(O,T)}detachAndStoreRouteSubtree(O,T){const Q=T.getContext(O.value.outlet);if(Q&&Q.outlet){const oe=Q.outlet.detach(),Ee=Q.children.onOutletDeactivated();this.routeReuseStrategy.store(O.value.snapshot,{componentRef:oe,route:O,contexts:Ee})}}deactivateRouteAndOutlet(O,T){const Q=T.getContext(O.value.outlet),oe=Q&&O.value.component?Q.children:T,Ee=tr(O);for(const it of Object.keys(Ee))this.deactivateRouteAndItsChildren(Ee[it],oe);Q&&Q.outlet&&(Q.outlet.deactivate(),Q.children.onOutletDeactivated(),Q.attachRef=null,Q.resolver=null,Q.route=null)}activateChildRoutes(O,T,Q){const oe=tr(T);O.children.forEach(Ee=>{this.activateRoutes(Ee,oe[Ee.value.outlet],Q),this.forwardEvent(new S(Ee.value.snapshot))}),O.children.length&&this.forwardEvent(new A(O.value.snapshot))}activateRoutes(O,T,Q){const oe=O.value,Ee=T?T.value:null;if(nr(oe),oe===Ee)if(oe.component){const it=Q.getOrCreateContext(oe.outlet);this.activateChildRoutes(O,T,it.children)}else this.activateChildRoutes(O,T,Q);else if(oe.component){const it=Q.getOrCreateContext(oe.outlet);if(this.routeReuseStrategy.shouldAttach(oe.snapshot)){const ut=this.routeReuseStrategy.retrieve(oe.snapshot);this.routeReuseStrategy.store(oe.snapshot,null),it.children.onOutletReAttached(ut.contexts),it.attachRef=ut.componentRef,it.route=ut.route.value,it.outlet&&it.outlet.attach(ut.componentRef,ut.route.value),Li(ut.route)}else{const ut=function(j){for(let O=j.parent;O;O=O.parent){const T=O.routeConfig;if(T&&T._loadedConfig)return T._loadedConfig;if(T&&T.component)return null}return null}(oe.snapshot),Vt=ut?ut.module.componentFactoryResolver:null;it.attachRef=null,it.route=oe,it.resolver=Vt,it.outlet&&it.outlet.activateWith(oe,Vt),this.activateChildRoutes(O,null,it.children)}}else this.activateChildRoutes(O,null,Q)}}function Li(j){nr(j.value),j.children.forEach(Li)}class Ni{constructor(O,T){this.routes=O,this.module=T}}function Ai(j){return"function"==typeof j}function Qi(j){return j instanceof Ut}const dr=Symbol("INITIAL_VALUE");function xi(){return(0,Oe.w)(j=>(0,b.aj)(j.map(O=>O.pipe((0,Tt.q)(1),(0,je.O)(dr)))).pipe(ee((O,T)=>{let Q=!1;return T.reduce((oe,Ee,it)=>oe!==dr?oe:(Ee===dr&&(Q=!0),Q||!1!==Ee&&it!==T.length-1&&!Qi(Ee)?oe:Ee),O)},dr),(0,De.h)(O=>O!==dr),(0,dt.U)(O=>Qi(O)?O:!0===O),(0,Tt.q)(1)))}let is=(()=>{class j{}return j.\u0275fac=function(T){return new(T||j)},j.\u0275cmp=n.Xpm({type:j,selectors:[["ng-component"]],decls:1,vars:0,template:function(T,Q){1&T&&n._UZ(0,"router-outlet")},directives:function(){return[Go]},encapsulation:2}),j})();function Lr(j,O=""){for(let T=0;TVi(Q)===O);return T.push(...j.filter(Q=>Vi(Q)!==O)),T}const we={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function X(j,O,T){var Q;if(""===O.path)return"full"===O.pathMatch&&(j.hasChildren()||T.length>0)?Object.assign({},we):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const Ee=(O.matcher||xt)(T,j,O);if(!Ee)return Object.assign({},we);const it={};ln(Ee.posParams,(Vt,dn)=>{it[dn]=Vt.path});const ut=Ee.consumed.length>0?Object.assign(Object.assign({},it),Ee.consumed[Ee.consumed.length-1].parameters):it;return{matched:!0,consumedSegments:Ee.consumed,lastChild:Ee.consumed.length,parameters:ut,positionalParamSegments:null!==(Q=Ee.posParams)&&void 0!==Q?Q:{}}}function k(j,O,T,Q,oe="corrected"){if(T.length>0&&function(j,O,T){return T.some(Q=>zt(j,O,Q)&&Vi(Q)!==H)}(j,T,Q)){const it=new Qt(O,function(j,O,T,Q){const oe={};oe[H]=Q,Q._sourceSegment=j,Q._segmentIndexShift=O.length;for(const Ee of T)if(""===Ee.path&&Vi(Ee)!==H){const it=new Qt([],{});it._sourceSegment=j,it._segmentIndexShift=O.length,oe[Vi(Ee)]=it}return oe}(j,O,Q,new Qt(T,j.children)));return it._sourceSegment=j,it._segmentIndexShift=O.length,{segmentGroup:it,slicedSegments:[]}}if(0===T.length&&function(j,O,T){return T.some(Q=>zt(j,O,Q))}(j,T,Q)){const it=new Qt(j.segments,function(j,O,T,Q,oe,Ee){const it={};for(const ut of Q)if(zt(j,T,ut)&&!oe[Vi(ut)]){const Vt=new Qt([],{});Vt._sourceSegment=j,Vt._segmentIndexShift="legacy"===Ee?j.segments.length:O.length,it[Vi(ut)]=Vt}return Object.assign(Object.assign({},oe),it)}(j,O,T,Q,j.children,oe));return it._sourceSegment=j,it._segmentIndexShift=O.length,{segmentGroup:it,slicedSegments:T}}const Ee=new Qt(j.segments,j.children);return Ee._sourceSegment=j,Ee._segmentIndexShift=O.length,{segmentGroup:Ee,slicedSegments:T}}function zt(j,O,T){return(!(j.hasChildren()||O.length>0)||"full"!==T.pathMatch)&&""===T.path}function wn(j,O,T,Q){return!!(Vi(j)===Q||Q!==H&&zt(O,T,j))&&("**"===j.path||X(O,j,T).matched)}function Zn(j,O,T){return 0===O.length&&!j.children[T]}class En{constructor(O){this.segmentGroup=O||null}}class Jn{constructor(O){this.urlTree=O}}function ci(j){return new E.y(O=>O.error(new En(j)))}function Ei(j){return new E.y(O=>O.error(new Jn(j)))}function Br(j){return new E.y(O=>O.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${j}'`)))}class Vr{constructor(O,T,Q,oe,Ee){this.configLoader=T,this.urlSerializer=Q,this.urlTree=oe,this.config=Ee,this.allowRedirects=!0,this.ngModule=O.get(n.h0i)}apply(){const O=k(this.urlTree.root,[],[],this.config).segmentGroup,T=new Qt(O.segments,O.children);return this.expandSegmentGroup(this.ngModule,this.config,T,H).pipe((0,dt.U)(Ee=>this.createUrlTree(Hr(Ee),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ke.K)(Ee=>{if(Ee instanceof Jn)return this.allowRedirects=!1,this.match(Ee.urlTree);throw Ee instanceof En?this.noMatchError(Ee):Ee}))}match(O){return this.expandSegmentGroup(this.ngModule,this.config,O.root,H).pipe((0,dt.U)(oe=>this.createUrlTree(Hr(oe),O.queryParams,O.fragment))).pipe((0,Ke.K)(oe=>{throw oe instanceof En?this.noMatchError(oe):oe}))}noMatchError(O){return new Error(`Cannot match any routes. URL Segment: '${O.segmentGroup}'`)}createUrlTree(O,T,Q){const oe=O.segments.length>0?new Qt([],{[H]:O}):O;return new Ut(oe,T,Q)}expandSegmentGroup(O,T,Q,oe){return 0===Q.segments.length&&Q.hasChildren()?this.expandChildren(O,T,Q).pipe((0,dt.U)(Ee=>new Qt([],Ee))):this.expandSegment(O,Q,T,Q.segments,oe,!0)}expandChildren(O,T,Q){const oe=[];for(const Ee of Object.keys(Q.children))"primary"===Ee?oe.unshift(Ee):oe.push(Ee);return(0,g.D)(oe).pipe((0,Be.b)(Ee=>{const it=Q.children[Ee],ut=Z(T,Ee);return this.expandSegmentGroup(O,ut,it,Ee).pipe((0,dt.U)(Vt=>({segment:Vt,outlet:Ee})))}),ee((Ee,it)=>(Ee[it.outlet]=it.segment,Ee),{}),function(j,O){const T=arguments.length>=2;return Q=>Q.pipe(j?(0,De.h)((oe,Ee)=>j(oe,Ee,Q)):rt.y,Le(1),T?pe(O):re(()=>new P))}())}expandSegment(O,T,Q,oe,Ee,it){return(0,g.D)(Q).pipe((0,Be.b)(ut=>this.expandSegmentAgainstRoute(O,T,Q,ut,oe,Ee,it).pipe((0,Ke.K)(dn=>{if(dn instanceof En)return(0,D.of)(null);throw dn}))),He(ut=>!!ut),(0,Ke.K)((ut,Vt)=>{if(ut instanceof P||"EmptyError"===ut.name){if(Zn(T,oe,Ee))return(0,D.of)(new Qt([],{}));throw new En(T)}throw ut}))}expandSegmentAgainstRoute(O,T,Q,oe,Ee,it,ut){return wn(oe,T,Ee,it)?void 0===oe.redirectTo?this.matchSegmentAgainstRoute(O,T,oe,Ee,it):ut&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(O,T,Q,oe,Ee,it):ci(T):ci(T)}expandSegmentAgainstRouteUsingRedirect(O,T,Q,oe,Ee,it){return"**"===oe.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(O,Q,oe,it):this.expandRegularSegmentAgainstRouteUsingRedirect(O,T,Q,oe,Ee,it)}expandWildCardWithParamsAgainstRouteUsingRedirect(O,T,Q,oe){const Ee=this.applyRedirectCommands([],Q.redirectTo,{});return Q.redirectTo.startsWith("/")?Ei(Ee):this.lineralizeSegments(Q,Ee).pipe((0,At.zg)(it=>{const ut=new Qt(it,{});return this.expandSegment(O,ut,T,it,oe,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(O,T,Q,oe,Ee,it){const{matched:ut,consumedSegments:Vt,lastChild:dn,positionalParamSegments:li}=X(T,oe,Ee);if(!ut)return ci(T);const Mn=this.applyRedirectCommands(Vt,oe.redirectTo,li);return oe.redirectTo.startsWith("/")?Ei(Mn):this.lineralizeSegments(oe,Mn).pipe((0,At.zg)(mi=>this.expandSegment(O,T,Q,mi.concat(Ee.slice(dn)),it,!1)))}matchSegmentAgainstRoute(O,T,Q,oe,Ee){if("**"===Q.path)return Q.loadChildren?(Q._loadedConfig?(0,D.of)(Q._loadedConfig):this.configLoader.load(O.injector,Q)).pipe((0,dt.U)(mi=>(Q._loadedConfig=mi,new Qt(oe,{})))):(0,D.of)(new Qt(oe,{}));const{matched:it,consumedSegments:ut,lastChild:Vt}=X(T,Q,oe);if(!it)return ci(T);const dn=oe.slice(Vt);return this.getChildConfig(O,Q,oe).pipe((0,At.zg)(Mn=>{const mi=Mn.module,Kn=Mn.routes,{segmentGroup:ys,slicedSegments:Gr}=k(T,ut,dn,Kn),kr=new Qt(ys.segments,ys.children);if(0===Gr.length&&kr.hasChildren())return this.expandChildren(mi,Kn,kr).pipe((0,dt.U)(Is=>new Qt(ut,Is)));if(0===Kn.length&&0===Gr.length)return(0,D.of)(new Qt(ut,{}));const Jr=Vi(Q)===Ee;return this.expandSegment(mi,kr,Kn,Gr,Jr?H:Ee,!0).pipe((0,dt.U)(Or=>new Qt(ut.concat(Or.segments),Or.children)))}))}getChildConfig(O,T,Q){return T.children?(0,D.of)(new Ni(T.children,O)):T.loadChildren?void 0!==T._loadedConfig?(0,D.of)(T._loadedConfig):this.runCanLoadGuards(O.injector,T,Q).pipe((0,At.zg)(oe=>{return oe?this.configLoader.load(O.injector,T).pipe((0,dt.U)(Ee=>(T._loadedConfig=Ee,Ee))):(j=T,new E.y(O=>O.error(xe(`Cannot load children because the guard of the route "path: '${j.path}'" returned false`))));var j})):(0,D.of)(new Ni([],O))}runCanLoadGuards(O,T,Q){const oe=T.canLoad;if(!oe||0===oe.length)return(0,D.of)(!0);const Ee=oe.map(it=>{const ut=O.get(it);let Vt;if((j=ut)&&Ai(j.canLoad))Vt=ut.canLoad(T,Q);else{if(!Ai(ut))throw new Error("Invalid CanLoad guard");Vt=ut(T,Q)}var j;return ht(Vt)});return(0,D.of)(Ee).pipe(xi(),(0,at.b)(it=>{if(!Qi(it))return;const ut=xe(`Redirecting to "${this.urlSerializer.serialize(it)}"`);throw ut.url=it,ut}),(0,dt.U)(it=>!0===it))}lineralizeSegments(O,T){let Q=[],oe=T.root;for(;;){if(Q=Q.concat(oe.segments),0===oe.numberOfChildren)return(0,D.of)(Q);if(oe.numberOfChildren>1||!oe.children[H])return Br(O.redirectTo);oe=oe.children[H]}}applyRedirectCommands(O,T,Q){return this.applyRedirectCreatreUrlTree(T,this.urlSerializer.parse(T),O,Q)}applyRedirectCreatreUrlTree(O,T,Q,oe){const Ee=this.createSegmentGroup(O,T.root,Q,oe);return new Ut(Ee,this.createQueryParams(T.queryParams,this.urlTree.queryParams),T.fragment)}createQueryParams(O,T){const Q={};return ln(O,(oe,Ee)=>{if("string"==typeof oe&&oe.startsWith(":")){const ut=oe.substring(1);Q[Ee]=T[ut]}else Q[Ee]=oe}),Q}createSegmentGroup(O,T,Q,oe){const Ee=this.createSegments(O,T.segments,Q,oe);let it={};return ln(T.children,(ut,Vt)=>{it[Vt]=this.createSegmentGroup(O,ut,Q,oe)}),new Qt(Ee,it)}createSegments(O,T,Q,oe){return T.map(Ee=>Ee.path.startsWith(":")?this.findPosParam(O,Ee,oe):this.findOrReturn(Ee,Q))}findPosParam(O,T,Q){const oe=Q[T.path.substring(1)];if(!oe)throw new Error(`Cannot redirect to '${O}'. Cannot find '${T.path}'.`);return oe}findOrReturn(O,T){let Q=0;for(const oe of T){if(oe.path===O.path)return T.splice(Q),oe;Q++}return O}}function Hr(j){const O={};for(const Q of Object.keys(j.children)){const Ee=Hr(j.children[Q]);(Ee.segments.length>0||Ee.hasChildren())&&(O[Q]=Ee)}return function(j){if(1===j.numberOfChildren&&j.children[H]){const O=j.children[H];return new Qt(j.segments.concat(O.segments),O.children)}return j}(new Qt(j.segments,O))}class ho{constructor(O){this.path=O,this.route=this.path[this.path.length-1]}}class fo{constructor(O,T){this.component=O,this.route=T}}function Gs(j,O,T){const Q=j._root;return Pn(Q,O?O._root:null,T,[Q.value])}function po(j,O,T){const Q=function(j){if(!j)return null;for(let O=j.parent;O;O=O.parent){const T=O.routeConfig;if(T&&T._loadedConfig)return T._loadedConfig}return null}(O);return(Q?Q.module.injector:T).get(j)}function Pn(j,O,T,Q,oe={canDeactivateChecks:[],canActivateChecks:[]}){const Ee=tr(O);return j.children.forEach(it=>{(function(j,O,T,Q,oe={canDeactivateChecks:[],canActivateChecks:[]}){const Ee=j.value,it=O?O.value:null,ut=T?T.getContext(j.value.outlet):null;if(it&&Ee.routeConfig===it.routeConfig){const Vt=function(j,O,T){if("function"==typeof T)return T(j,O);switch(T){case"pathParamsChange":return!qn(j.url,O.url);case"pathParamsOrQueryParamsChange":return!qn(j.url,O.url)||!Yt(j.queryParams,O.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ve(j,O)||!Yt(j.queryParams,O.queryParams);case"paramsChange":default:return!Ve(j,O)}}(it,Ee,Ee.routeConfig.runGuardsAndResolvers);Vt?oe.canActivateChecks.push(new ho(Q)):(Ee.data=it.data,Ee._resolvedData=it._resolvedData),Pn(j,O,Ee.component?ut?ut.children:null:T,Q,oe),Vt&&ut&&ut.outlet&&ut.outlet.isActivated&&oe.canDeactivateChecks.push(new fo(ut.outlet.component,it))}else it&&Ur(O,ut,oe),oe.canActivateChecks.push(new ho(Q)),Pn(j,null,Ee.component?ut?ut.children:null:T,Q,oe)})(it,Ee[it.value.outlet],T,Q.concat([it.value]),oe),delete Ee[it.value.outlet]}),ln(Ee,(it,ut)=>Ur(it,T.getContext(ut),oe)),oe}function Ur(j,O,T){const Q=tr(j),oe=j.value;ln(Q,(Ee,it)=>{Ur(Ee,oe.component?O?O.children.getContext(it):null:O,T)}),T.canDeactivateChecks.push(new fo(oe.component&&O&&O.outlet&&O.outlet.isActivated?O.outlet.component:null,oe))}class Xe{}function ot(j){return new E.y(O=>O.error(j))}class Lt{constructor(O,T,Q,oe,Ee,it){this.rootComponentType=O,this.config=T,this.urlTree=Q,this.url=oe,this.paramsInheritanceStrategy=Ee,this.relativeLinkResolution=it}recognize(){const O=k(this.urlTree.root,[],[],this.config.filter(it=>void 0===it.redirectTo),this.relativeLinkResolution).segmentGroup,T=this.processSegmentGroup(this.config,O,H);if(null===T)return null;const Q=new Wn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},H,this.rootComponentType,null,this.urlTree.root,-1,{}),oe=new mn(Q,T),Ee=new Er(this.url,oe);return this.inheritParamsAndData(Ee._root),Ee}inheritParamsAndData(O){const T=O.value,Q=zn(T,this.paramsInheritanceStrategy);T.params=Object.freeze(Q.params),T.data=Object.freeze(Q.data),O.children.forEach(oe=>this.inheritParamsAndData(oe))}processSegmentGroup(O,T,Q){return 0===T.segments.length&&T.hasChildren()?this.processChildren(O,T):this.processSegment(O,T,T.segments,Q)}processChildren(O,T){const Q=[];for(const Ee of Object.keys(T.children)){const it=T.children[Ee],ut=Z(O,Ee),Vt=this.processSegmentGroup(ut,it,Ee);if(null===Vt)return null;Q.push(...Vt)}const oe=Qn(Q);return oe.sort((O,T)=>O.value.outlet===H?-1:T.value.outlet===H?1:O.value.outlet.localeCompare(T.value.outlet)),oe}processSegment(O,T,Q,oe){for(const Ee of O){const it=this.processSegmentAgainstRoute(Ee,T,Q,oe);if(null!==it)return it}return Zn(T,Q,oe)?[]:null}processSegmentAgainstRoute(O,T,Q,oe){if(O.redirectTo||!wn(O,T,Q,oe))return null;let Ee,it=[],ut=[];if("**"===O.path){const Kn=Q.length>0?an(Q).parameters:{};Ee=new Wn(Q,Kn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bi(O),Vi(O),O.component,O,gn(T),Vn(T)+Q.length,Ci(O))}else{const Kn=X(T,O,Q);if(!Kn.matched)return null;it=Kn.consumedSegments,ut=Q.slice(Kn.lastChild),Ee=new Wn(it,Kn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bi(O),Vi(O),O.component,O,gn(T),Vn(T)+it.length,Ci(O))}const Vt=(j=O).children?j.children:j.loadChildren?j._loadedConfig.routes:[],{segmentGroup:dn,slicedSegments:li}=k(T,it,ut,Vt.filter(Kn=>void 0===Kn.redirectTo),this.relativeLinkResolution);var j;if(0===li.length&&dn.hasChildren()){const Kn=this.processChildren(Vt,dn);return null===Kn?null:[new mn(Ee,Kn)]}if(0===Vt.length&&0===li.length)return[new mn(Ee,[])];const Mn=Vi(O)===oe,mi=this.processSegment(Vt,dn,li,Mn?H:oe);return null===mi?null:[new mn(Ee,mi)]}}function Sn(j){const O=j.value.routeConfig;return O&&""===O.path&&void 0===O.redirectTo}function Qn(j){const O=[],T=new Set;for(const Q of j){if(!Sn(Q)){O.push(Q);continue}const oe=O.find(Ee=>Q.value.routeConfig===Ee.value.routeConfig);void 0!==oe?(oe.children.push(...Q.children),T.add(oe)):O.push(Q)}for(const Q of T){const oe=Qn(Q.children);O.push(new mn(Q.value,oe))}return O.filter(Q=>!T.has(Q))}function gn(j){let O=j;for(;O._sourceSegment;)O=O._sourceSegment;return O}function Vn(j){let O=j,T=O._segmentIndexShift?O._segmentIndexShift:0;for(;O._sourceSegment;)O=O._sourceSegment,T+=O._segmentIndexShift?O._segmentIndexShift:0;return T-1}function bi(j){return j.data||{}}function Ci(j){return j.resolve||{}}function hr(j){return(0,Oe.w)(O=>{const T=j(O);return T?(0,g.D)(T).pipe((0,dt.U)(()=>O)):(0,D.of)(O)})}class jo extends class{shouldDetach(O){return!1}store(O,T){}shouldAttach(O){return!1}retrieve(O){return null}shouldReuseRoute(O,T){return O.routeConfig===T.routeConfig}}{}const cs=new n.OlP("ROUTES");class Ti{constructor(O,T,Q,oe){this.loader=O,this.compiler=T,this.onLoadStartListener=Q,this.onLoadEndListener=oe}load(O,T){if(T._loader$)return T._loader$;this.onLoadStartListener&&this.onLoadStartListener(T);const oe=this.loadModuleFactory(T.loadChildren).pipe((0,dt.U)(Ee=>{this.onLoadEndListener&&this.onLoadEndListener(T);const it=Ee.create(O);return new Ni(Wt(it.injector.get(cs,void 0,n.XFs.Self|n.XFs.Optional)).map(Sr),it)}),(0,Ke.K)(Ee=>{throw T._loader$=void 0,Ee}));return T._loader$=new K.c(oe,()=>new J.xQ).pipe((0,Ye.x)()),T._loader$}loadModuleFactory(O){return"string"==typeof O?(0,g.D)(this.loader.load(O)):ht(O()).pipe((0,At.zg)(T=>T instanceof n.YKP?(0,D.of)(T):(0,g.D)(this.compiler.compileModuleAsync(T))))}}class jr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new di,this.attachRef=null}}class di{constructor(){this.contexts=new Map}onChildOutletCreated(O,T){const Q=this.getOrCreateContext(O);Q.outlet=T,this.contexts.set(O,Q)}onChildOutletDestroyed(O){const T=this.getContext(O);T&&(T.outlet=null,T.attachRef=null)}onOutletDeactivated(){const O=this.contexts;return this.contexts=new Map,O}onOutletReAttached(O){this.contexts=O}getOrCreateContext(O){let T=this.getContext(O);return T||(T=new jr,this.contexts.set(O,T)),T}getContext(O){return this.contexts.get(O)||null}}class Cn{shouldProcessUrl(O){return!0}extract(O){return O}merge(O,T){return O}}function Rn(j){throw j}function ii(j,O,T){return O.parse("/")}function Bi(j,O){return(0,D.of)(null)}const Ar={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ji={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _i=(()=>{class j{constructor(T,Q,oe,Ee,it,ut,Vt,dn){this.rootComponentType=T,this.urlSerializer=Q,this.rootContexts=oe,this.location=Ee,this.config=dn,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new J.xQ,this.errorHandler=Rn,this.malformedUriErrorHandler=ii,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Bi,afterPreactivation:Bi},this.urlHandlingStrategy=new Cn,this.routeReuseStrategy=new jo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=it.get(n.h0i),this.console=it.get(n.c2e);const mi=it.get(n.R0b);this.isNgZoneEnabled=mi instanceof n.R0b&&n.R0b.isInAngularZone(),this.resetConfig(dn),this.currentUrlTree=new Ut(new Qt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ti(ut,Vt,Kn=>this.triggerEvent(new fe(Kn)),Kn=>this.triggerEvent(new Y(Kn))),this.routerState=_r(this.currentUrlTree,this.rootComponentType),this.transitions=new I.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 Q=this.events;return T.pipe((0,De.h)(oe=>0!==oe.id),(0,dt.U)(oe=>Object.assign(Object.assign({},oe),{extractedUrl:this.urlHandlingStrategy.extract(oe.rawUrl)})),(0,Oe.w)(oe=>{let Ee=!1,it=!1;return(0,D.of)(oe).pipe((0,at.b)(ut=>{this.currentNavigation={id:ut.id,initialUrl:ut.currentRawUrl,extractedUrl:ut.extractedUrl,trigger:ut.source,extras:ut.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Oe.w)(ut=>{const Vt=this.browserUrlTree.toString(),dn=!this.navigated||ut.extractedUrl.toString()!==Vt||Vt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||dn)&&this.urlHandlingStrategy.shouldProcessUrl(ut.rawUrl))return ds(ut.source)&&(this.browserUrlTree=ut.extractedUrl),(0,D.of)(ut).pipe((0,Oe.w)(Mn=>{const mi=this.transitions.getValue();return Q.next(new Gt(Mn.id,this.serializeUrl(Mn.extractedUrl),Mn.source,Mn.restoredState)),mi!==this.transitions.getValue()?G.E:Promise.resolve(Mn)}),function(j,O,T,Q){return(0,Oe.w)(oe=>function(j,O,T,Q,oe){return new Vr(j,O,T,Q,oe).apply()}(j,O,T,oe.extractedUrl,Q).pipe((0,dt.U)(Ee=>Object.assign(Object.assign({},oe),{urlAfterRedirects:Ee}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,at.b)(Mn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Mn.urlAfterRedirects})}),function(j,O,T,Q,oe){return(0,At.zg)(Ee=>function(j,O,T,Q,oe="emptyOnly",Ee="legacy"){try{const it=new Lt(j,O,T,Q,oe,Ee).recognize();return null===it?ot(new Xe):(0,D.of)(it)}catch(it){return ot(it)}}(j,O,Ee.urlAfterRedirects,T(Ee.urlAfterRedirects),Q,oe).pipe((0,dt.U)(it=>Object.assign(Object.assign({},Ee),{targetSnapshot:it}))))}(this.rootComponentType,this.config,Mn=>this.serializeUrl(Mn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,at.b)(Mn=>{"eager"===this.urlUpdateStrategy&&(Mn.extras.skipLocationChange||this.setBrowserUrl(Mn.urlAfterRedirects,Mn),this.browserUrlTree=Mn.urlAfterRedirects);const mi=new Qe(Mn.id,this.serializeUrl(Mn.extractedUrl),this.serializeUrl(Mn.urlAfterRedirects),Mn.targetSnapshot);Q.next(mi)}));if(dn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mi,extractedUrl:Kn,source:ys,restoredState:Gr,extras:kr}=ut,Jr=new Gt(mi,this.serializeUrl(Kn),ys,Gr);Q.next(Jr);const Rr=_r(Kn,this.rootComponentType).snapshot;return(0,D.of)(Object.assign(Object.assign({},ut),{targetSnapshot:Rr,urlAfterRedirects:Kn,extras:Object.assign(Object.assign({},kr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ut.rawUrl,this.browserUrlTree=ut.urlAfterRedirects,ut.resolve(null),G.E}),hr(ut=>{const{targetSnapshot:Vt,id:dn,extractedUrl:li,rawUrl:Mn,extras:{skipLocationChange:mi,replaceUrl:Kn}}=ut;return this.hooks.beforePreactivation(Vt,{navigationId:dn,appliedUrlTree:li,rawUrlTree:Mn,skipLocationChange:!!mi,replaceUrl:!!Kn})}),(0,at.b)(ut=>{const Vt=new ze(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot);this.triggerEvent(Vt)}),(0,dt.U)(ut=>Object.assign(Object.assign({},ut),{guards:Gs(ut.targetSnapshot,ut.currentSnapshot,this.rootContexts)})),function(j,O){return(0,At.zg)(T=>{const{targetSnapshot:Q,currentSnapshot:oe,guards:{canActivateChecks:Ee,canDeactivateChecks:it}}=T;return 0===it.length&&0===Ee.length?(0,D.of)(Object.assign(Object.assign({},T),{guardsResult:!0})):function(j,O,T,Q){return(0,g.D)(j).pipe((0,At.zg)(oe=>function(j,O,T,Q,oe){const Ee=O&&O.routeConfig?O.routeConfig.canDeactivate:null;if(!Ee||0===Ee.length)return(0,D.of)(!0);const it=Ee.map(ut=>{const Vt=po(ut,O,oe);let dn;if(function(j){return j&&Ai(j.canDeactivate)}(Vt))dn=ht(Vt.canDeactivate(j,O,T,Q));else{if(!Ai(Vt))throw new Error("Invalid CanDeactivate guard");dn=ht(Vt(j,O,T,Q))}return dn.pipe(He())});return(0,D.of)(it).pipe(xi())}(oe.component,oe.route,T,O,Q)),He(oe=>!0!==oe,!0))}(it,Q,oe,j).pipe((0,At.zg)(ut=>ut&&function(j){return"boolean"==typeof j}(ut)?function(j,O,T,Q){return(0,g.D)(O).pipe((0,Be.b)(oe=>(0,U.z)(function(j,O){return null!==j&&O&&O(new x(j)),(0,D.of)(!0)}(oe.route.parent,Q),function(j,O){return null!==j&&O&&O(new C(j)),(0,D.of)(!0)}(oe.route,Q),function(j,O,T){const Q=O[O.length-1],Ee=O.slice(0,O.length-1).reverse().map(it=>function(j){const O=j.routeConfig?j.routeConfig.canActivateChild:null;return O&&0!==O.length?{node:j,guards:O}:null}(it)).filter(it=>null!==it).map(it=>(0,R.P)(()=>{const ut=it.guards.map(Vt=>{const dn=po(Vt,it.node,T);let li;if(function(j){return j&&Ai(j.canActivateChild)}(dn))li=ht(dn.canActivateChild(Q,j));else{if(!Ai(dn))throw new Error("Invalid CanActivateChild guard");li=ht(dn(Q,j))}return li.pipe(He())});return(0,D.of)(ut).pipe(xi())}));return(0,D.of)(Ee).pipe(xi())}(j,oe.path,T),function(j,O,T){const Q=O.routeConfig?O.routeConfig.canActivate:null;if(!Q||0===Q.length)return(0,D.of)(!0);const oe=Q.map(Ee=>(0,R.P)(()=>{const it=po(Ee,O,T);let ut;if(function(j){return j&&Ai(j.canActivate)}(it))ut=ht(it.canActivate(O,j));else{if(!Ai(it))throw new Error("Invalid CanActivate guard");ut=ht(it(O,j))}return ut.pipe(He())}));return(0,D.of)(oe).pipe(xi())}(j,oe.route,T))),He(oe=>!0!==oe,!0))}(Q,Ee,j,O):(0,D.of)(ut)),(0,dt.U)(ut=>Object.assign(Object.assign({},T),{guardsResult:ut})))})}(this.ngModule.injector,ut=>this.triggerEvent(ut)),(0,at.b)(ut=>{if(Qi(ut.guardsResult)){const dn=xe(`Redirecting to "${this.serializeUrl(ut.guardsResult)}"`);throw dn.url=ut.guardsResult,dn}const Vt=new It(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot,!!ut.guardsResult);this.triggerEvent(Vt)}),(0,De.h)(ut=>!!ut.guardsResult||(this.restoreHistory(ut),this.cancelNavigationTransition(ut,""),!1)),hr(ut=>{if(ut.guards.canActivateChecks.length)return(0,D.of)(ut).pipe((0,at.b)(Vt=>{const dn=new qt(Vt.id,this.serializeUrl(Vt.extractedUrl),this.serializeUrl(Vt.urlAfterRedirects),Vt.targetSnapshot);this.triggerEvent(dn)}),(0,Oe.w)(Vt=>{let dn=!1;return(0,D.of)(Vt).pipe(function(j,O){return(0,At.zg)(T=>{const{targetSnapshot:Q,guards:{canActivateChecks:oe}}=T;if(!oe.length)return(0,D.of)(T);let Ee=0;return(0,g.D)(oe).pipe((0,Be.b)(it=>function(j,O,T,Q){return function(j,O,T,Q){const oe=Object.keys(j);if(0===oe.length)return(0,D.of)({});const Ee={};return(0,g.D)(oe).pipe((0,At.zg)(it=>function(j,O,T,Q){const oe=po(j,O,Q);return ht(oe.resolve?oe.resolve(O,T):oe(O,T))}(j[it],O,T,Q).pipe((0,at.b)(ut=>{Ee[it]=ut}))),Le(1),(0,At.zg)(()=>Object.keys(Ee).length===oe.length?(0,D.of)(Ee):G.E))}(j._resolve,j,O,Q).pipe((0,dt.U)(Ee=>(j._resolvedData=Ee,j.data=Object.assign(Object.assign({},j.data),zn(j,T).resolve),null)))}(it.route,Q,j,O)),(0,at.b)(()=>Ee++),Le(1),(0,At.zg)(it=>Ee===oe.length?(0,D.of)(T):G.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,at.b)({next:()=>dn=!0,complete:()=>{dn||(this.restoreHistory(Vt),this.cancelNavigationTransition(Vt,"At least one route resolver didn't emit any value."))}}))}),(0,at.b)(Vt=>{const dn=new Ct(Vt.id,this.serializeUrl(Vt.extractedUrl),this.serializeUrl(Vt.urlAfterRedirects),Vt.targetSnapshot);this.triggerEvent(dn)}))}),hr(ut=>{const{targetSnapshot:Vt,id:dn,extractedUrl:li,rawUrl:Mn,extras:{skipLocationChange:mi,replaceUrl:Kn}}=ut;return this.hooks.afterPreactivation(Vt,{navigationId:dn,appliedUrlTree:li,rawUrlTree:Mn,skipLocationChange:!!mi,replaceUrl:!!Kn})}),(0,dt.U)(ut=>{const Vt=function(j,O,T){const Q=he(j,O._root,T?T._root:void 0);return new xr(Q,O)}(this.routeReuseStrategy,ut.targetSnapshot,ut.currentRouterState);return Object.assign(Object.assign({},ut),{targetRouterState:Vt})}),(0,at.b)(ut=>{this.currentUrlTree=ut.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ut.urlAfterRedirects,ut.rawUrl),this.routerState=ut.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ut.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ut),this.browserUrlTree=ut.urlAfterRedirects)}),((j,O,T)=>(0,dt.U)(Q=>(new ar(O,Q.targetRouterState,Q.currentRouterState,T).activate(j),Q)))(this.rootContexts,this.routeReuseStrategy,ut=>this.triggerEvent(ut)),(0,at.b)({next(){Ee=!0},complete(){Ee=!0}}),(0,lt.x)(()=>{var ut;if(!Ee&&!it){const Vt=`Navigation ID ${oe.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(oe),this.cancelNavigationTransition(oe,Vt)):this.cancelNavigationTransition(oe,Vt)}(null===(ut=this.currentNavigation)||void 0===ut?void 0:ut.id)===oe.id&&(this.currentNavigation=null)}),(0,Ke.K)(ut=>{if(it=!0,function(j){return j&&j[q]}(ut)){const Vt=Qi(ut.url);Vt||(this.navigated=!0,this.restoreHistory(oe,!0));const dn=new St(oe.id,this.serializeUrl(oe.extractedUrl),ut.message);Q.next(dn),Vt?setTimeout(()=>{const li=this.urlHandlingStrategy.merge(ut.url,this.rawUrlTree),Mn={skipLocationChange:oe.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ds(oe.source)};this.scheduleNavigation(li,"imperative",null,Mn,{resolve:oe.resolve,reject:oe.reject,promise:oe.promise})},0):oe.resolve(!1)}else{this.restoreHistory(oe,!0);const Vt=new gt(oe.id,this.serializeUrl(oe.extractedUrl),ut);Q.next(Vt);try{oe.resolve(this.errorHandler(ut))}catch(dn){oe.reject(dn)}}return G.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 Q=this.extractLocationChangeInfoFromEvent(T);this.shouldScheduleNavigation(this.lastLocationChangeInfo,Q)&&setTimeout(()=>{const{source:oe,state:Ee,urlTree:it}=Q,ut={replaceUrl:!0};if(Ee){const Vt=Object.assign({},Ee);delete Vt.navigationId,delete Vt.\u0275routerPageId,0!==Object.keys(Vt).length&&(ut.state=Vt)}this.scheduleNavigation(it,oe,Ee,ut)},0),this.lastLocationChangeInfo=Q}))}extractLocationChangeInfoFromEvent(T){var Q;return{source:"popstate"===T.type?"popstate":"hashchange",urlTree:this.parseUrl(T.url),state:(null===(Q=T.state)||void 0===Q?void 0:Q.navigationId)?T.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(T,Q){if(!T)return!0;const oe=Q.urlTree.toString()===T.urlTree.toString();return Q.transitionId!==T.transitionId||!oe||!("hashchange"===Q.source&&"popstate"===T.source||"popstate"===Q.source&&"hashchange"===T.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(T){this.events.next(T)}resetConfig(T){Lr(T),this.config=T.map(Sr),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,Q={}){const{relativeTo:oe,queryParams:Ee,fragment:it,queryParamsHandling:ut,preserveFragment:Vt}=Q,dn=oe||this.routerState.root,li=Vt?this.currentUrlTree.fragment:it;let Mn=null;switch(ut){case"merge":Mn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Ee);break;case"preserve":Mn=this.currentUrlTree.queryParams;break;default:Mn=Ee||null}return null!==Mn&&(Mn=this.removeEmptyProps(Mn)),function(j,O,T,Q,oe){if(0===T.length)return Nt(O.root,O.root,O,Q,oe);const Ee=function(j){if("string"==typeof j[0]&&1===j.length&&"/"===j[0])return new hn(!0,0,j);let O=0,T=!1;const Q=j.reduce((oe,Ee,it)=>{if("object"==typeof Ee&&null!=Ee){if(Ee.outlets){const ut={};return ln(Ee.outlets,(Vt,dn)=>{ut[dn]="string"==typeof Vt?Vt.split("/"):Vt}),[...oe,{outlets:ut}]}if(Ee.segmentPath)return[...oe,Ee.segmentPath]}return"string"!=typeof Ee?[...oe,Ee]:0===it?(Ee.split("/").forEach((ut,Vt)=>{0==Vt&&"."===ut||(0==Vt&&""===ut?T=!0:".."===ut?O++:""!=ut&&oe.push(ut))}),oe):[...oe,Ee]},[]);return new hn(T,O,Q)}(T);if(Ee.toRoot())return Nt(O.root,new Qt([],{}),O,Q,oe);const it=function(j,O,T){if(j.isAbsolute)return new Bn(O.root,!0,0);if(-1===T.snapshot._lastPathIndex){const Ee=T.snapshot._urlSegment;return new Bn(Ee,Ee===O.root,0)}const Q=pt(j.commands[0])?0:1;return function(j,O,T){let Q=j,oe=O,Ee=T;for(;Ee>oe;){if(Ee-=oe,Q=Q.parent,!Q)throw new Error("Invalid number of '../'");oe=Q.segments.length}return new Bn(Q,!1,oe-Ee)}(T.snapshot._urlSegment,T.snapshot._lastPathIndex+Q,j.numberOfDoubleDots)}(Ee,O,j),ut=it.processChildren?gi(it.segmentGroup,it.index,Ee.commands):$n(it.segmentGroup,it.index,Ee.commands);return Nt(it.segmentGroup,ut,O,Q,oe)}(dn,this.currentUrlTree,T,Mn,null!=li?li:null)}navigateByUrl(T,Q={skipLocationChange:!1}){const oe=Qi(T)?T:this.parseUrl(T),Ee=this.urlHandlingStrategy.merge(oe,this.rawUrlTree);return this.scheduleNavigation(Ee,"imperative",null,Q)}navigate(T,Q={skipLocationChange:!1}){return function(j){for(let O=0;O{const Ee=T[oe];return null!=Ee&&(Q[oe]=Ee),Q},{})}processNavigations(){this.navigations.subscribe(T=>{this.navigated=!0,this.lastSuccessfulId=T.id,this.currentPageId=T.targetPageId,this.events.next(new en(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,Q,oe,Ee,it){var ut,Vt;if(this.disposed)return Promise.resolve(!1);const dn=this.getTransition(),li=ds(Q)&&dn&&!ds(dn.source),Kn=(this.lastSuccessfulId===dn.id||this.currentNavigation?dn.rawUrl:dn.urlAfterRedirects).toString()===T.toString();if(li&&Kn)return Promise.resolve(!0);let ys,Gr,kr;it?(ys=it.resolve,Gr=it.reject,kr=it.promise):kr=new Promise((Or,Is)=>{ys=Or,Gr=Is});const Jr=++this.navigationId;let Rr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(oe=this.location.getState()),Rr=oe&&oe.\u0275routerPageId?oe.\u0275routerPageId:Ee.replaceUrl||Ee.skipLocationChange?null!==(ut=this.browserPageId)&&void 0!==ut?ut:0:(null!==(Vt=this.browserPageId)&&void 0!==Vt?Vt:0)+1):Rr=0,this.setTransition({id:Jr,targetPageId:Rr,source:Q,restoredState:oe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:T,extras:Ee,resolve:ys,reject:Gr,promise:kr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kr.catch(Or=>Promise.reject(Or))}setBrowserUrl(T,Q){const oe=this.urlSerializer.serialize(T),Ee=Object.assign(Object.assign({},Q.extras.state),this.generateNgRouterState(Q.id,Q.targetPageId));this.location.isCurrentPathEqualTo(oe)||Q.extras.replaceUrl?this.location.replaceState(oe,"",Ee):this.location.go(oe,"",Ee)}restoreHistory(T,Q=!1){var oe,Ee;if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-T.targetPageId;"popstate"!==T.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(oe=this.currentNavigation)||void 0===oe?void 0:oe.finalUrl)||0===it?this.currentUrlTree===(null===(Ee=this.currentNavigation)||void 0===Ee?void 0:Ee.finalUrl)&&0===it&&(this.resetState(T),this.browserUrlTree=T.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(it)}else"replace"===this.canceledNavigationResolution&&(Q&&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,Q){const oe=new St(T.id,this.serializeUrl(T.extractedUrl),Q);this.triggerEvent(oe),T.resolve(!1)}generateNgRouterState(T,Q){return"computed"===this.canceledNavigationResolution?{navigationId:T,\u0275routerPageId:Q}:{navigationId:T}}}return j.\u0275fac=function(T){return new(T||j)(n.LFG(n.DyG),n.LFG(Xn),n.LFG(di),n.LFG(l.Ye),n.LFG(n.zs3),n.LFG(n.v3s),n.LFG(n.Sil),n.LFG(void 0))},j.\u0275prov=n.Yz7({token:j,factory:j.\u0275fac}),j})();function ds(j){return"imperative"!==j}let Ri=(()=>{class j{constructor(T,Q,oe,Ee,it){this.router=T,this.route=Q,this.commands=[],this.onChanges=new J.xQ,null==oe&&Ee.setAttribute(it.nativeElement,"tabindex","0")}ngOnChanges(T){this.onChanges.next(this)}set routerLink(T){this.commands=null!=T?Array.isArray(T)?T:[T]:[]}onClick(){const T={skipLocationChange:Xi(this.skipLocationChange),replaceUrl:Xi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,T),!0}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:Xi(this.preserveFragment)})}}return j.\u0275fac=function(T){return new(T||j)(n.Y36(_i),n.Y36(yi),n.$8M("tabindex"),n.Y36(n.Qsj),n.Y36(n.SBq))},j.\u0275dir=n.lG2({type:j,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(T,Q){1&T&&n.NdJ("click",function(){return Q.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[n.TTD]}),j})(),Bt=(()=>{class j{constructor(T,Q,oe){this.router=T,this.route=Q,this.locationStrategy=oe,this.commands=[],this.onChanges=new J.xQ,this.subscription=T.events.subscribe(Ee=>{Ee instanceof en&&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,Q,oe,Ee,it){if(0!==T||Q||oe||Ee||it||"string"==typeof this.target&&"_self"!=this.target)return!0;const ut={skipLocationChange:Xi(this.skipLocationChange),replaceUrl:Xi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ut),!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:Xi(this.preserveFragment)})}}return j.\u0275fac=function(T){return new(T||j)(n.Y36(_i),n.Y36(yi),n.Y36(l.S$))},j.\u0275dir=n.lG2({type:j,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(T,Q){1&T&&n.NdJ("click",function(Ee){return Q.onClick(Ee.button,Ee.ctrlKey,Ee.shiftKey,Ee.altKey,Ee.metaKey)}),2&T&&(n.Ikx("href",Q.href,n.LSH),n.uIk("target",Q.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[n.TTD]}),j})();function Xi(j){return""===j||!!j}let Ir=(()=>{class j{constructor(T,Q,oe,Ee,it,ut){this.router=T,this.element=Q,this.renderer=oe,this.cdr=Ee,this.link=it,this.linkWithHref=ut,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=T.events.subscribe(Vt=>{Vt instanceof en&&this.update()})}ngAfterContentInit(){(0,D.of)(this.links.changes,this.linksWithHrefs.changes,(0,D.of)(null)).pipe((0,tt.J)()).subscribe(T=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var T;null===(T=this.linkInputChangesSubscription)||void 0===T||T.unsubscribe();const Q=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(oe=>!!oe).map(oe=>oe.onChanges);this.linkInputChangesSubscription=(0,g.D)(Q).pipe((0,tt.J)()).subscribe(oe=>{this.isActive!==this.isLinkActive(this.router)(oe)&&this.update()})}set routerLinkActive(T){const Q=Array.isArray(T)?T:T.split(" ");this.classes=Q.filter(oe=>!!oe)}ngOnChanges(T){this.update()}ngOnDestroy(){var T;this.routerEventsSubscription.unsubscribe(),null===(T=this.linkInputChangesSubscription)||void 0===T||T.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const T=this.hasActiveLinks();this.isActive!==T&&(this.isActive=T,this.cdr.markForCheck(),this.classes.forEach(Q=>{T?this.renderer.addClass(this.element.nativeElement,Q):this.renderer.removeClass(this.element.nativeElement,Q)}))})}isLinkActive(T){const Q=function(j){return!!j.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return oe=>T.isActive(oe.urlTree,Q)}hasActiveLinks(){const T=this.isLinkActive(this.router);return this.link&&T(this.link)||this.linkWithHref&&T(this.linkWithHref)||this.links.some(T)||this.linksWithHrefs.some(T)}}return j.\u0275fac=function(T){return new(T||j)(n.Y36(_i),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(Ri,8),n.Y36(Bt,8))},j.\u0275dir=n.lG2({type:j,selectors:[["","routerLinkActive",""]],contentQueries:function(T,Q,oe){if(1&T&&(n.Suo(oe,Ri,5),n.Suo(oe,Bt,5)),2&T){let Ee;n.iGM(Ee=n.CRH())&&(Q.links=Ee),n.iGM(Ee=n.CRH())&&(Q.linksWithHrefs=Ee)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[n.TTD]}),j})(),Go=(()=>{class j{constructor(T,Q,oe,Ee,it){this.parentContexts=T,this.location=Q,this.resolver=oe,this.changeDetector=it,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.vpe,this.deactivateEvents=new n.vpe,this.name=Ee||H,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,Q){this.activated=T,this._activatedRoute=Q,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,Q){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=T;const it=(Q=Q||this.resolver).resolveComponentFactory(T._futureSnapshot.routeConfig.component),ut=this.parentContexts.getOrCreateContext(this.name).children,Vt=new Oo(T,ut,this.location.injector);this.activated=this.location.createComponent(it,this.location.length,Vt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return j.\u0275fac=function(T){return new(T||j)(n.Y36(di),n.Y36(n.s_b),n.Y36(n._Vd),n.$8M("name"),n.Y36(n.sBO))},j.\u0275dir=n.lG2({type:j,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),j})();class Oo{constructor(O,T,Q){this.route=O,this.childContexts=T,this.parent=Q}get(O,T){return O===yi?this.route:O===di?this.childContexts:this.parent.get(O,T)}}class go{}class Al{preload(O,T){return(0,D.of)(null)}}let ed=(()=>{class j{constructor(T,Q,oe,Ee,it){this.router=T,this.injector=Ee,this.preloadingStrategy=it,this.loader=new Ti(Q,oe,dn=>T.triggerEvent(new fe(dn)),dn=>T.triggerEvent(new Y(dn)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,De.h)(T=>T instanceof en),(0,Be.b)(()=>this.preload())).subscribe(()=>{})}preload(){const T=this.injector.get(n.h0i);return this.processRoutes(T,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(T,Q){const oe=[];for(const Ee of Q)if(Ee.loadChildren&&!Ee.canLoad&&Ee._loadedConfig){const it=Ee._loadedConfig;oe.push(this.processRoutes(it.module,it.routes))}else Ee.loadChildren&&!Ee.canLoad?oe.push(this.preloadConfig(T,Ee)):Ee.children&&oe.push(this.processRoutes(T,Ee.children));return(0,g.D)(oe).pipe((0,tt.J)(),(0,dt.U)(Ee=>{}))}preloadConfig(T,Q){return this.preloadingStrategy.preload(Q,()=>(Q._loadedConfig?(0,D.of)(Q._loadedConfig):this.loader.load(T.injector,Q)).pipe((0,At.zg)(Ee=>(Q._loadedConfig=Ee,this.processRoutes(Ee.module,Ee.routes)))))}}return j.\u0275fac=function(T){return new(T||j)(n.LFG(_i),n.LFG(n.v3s),n.LFG(n.Sil),n.LFG(n.zs3),n.LFG(go))},j.\u0275prov=n.Yz7({token:j,factory:j.\u0275fac}),j})(),Il=(()=>{class j{constructor(T,Q,oe={}){this.router=T,this.viewportScroller=Q,this.options=oe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},oe.scrollPositionRestoration=oe.scrollPositionRestoration||"disabled",oe.anchorScrolling=oe.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 Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=T.navigationTrigger,this.restoredId=T.restoredState?T.restoredState.navigationId:0):T instanceof en&&(this.lastId=T.id,this.scheduleScrollEvent(T,this.router.parseUrl(T.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(T=>{T instanceof F&&(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,Q){this.router.triggerEvent(new F(T,"popstate"===this.lastSource?this.store[this.restoredId]:null,Q))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return j.\u0275fac=function(T){return new(T||j)(n.LFG(_i),n.LFG(l.EM),n.LFG(void 0))},j.\u0275prov=n.Yz7({token:j,factory:j.\u0275fac}),j})();const vs=new n.OlP("ROUTER_CONFIGURATION"),_o=new n.OlP("ROUTER_FORROOT_GUARD"),Ma=[l.Ye,{provide:Xn,useClass:pi},{provide:_i,useFactory:function(j,O,T,Q,oe,Ee,it,ut={},Vt,dn){const li=new _i(null,j,O,T,Q,oe,Ee,Wt(it));return Vt&&(li.urlHandlingStrategy=Vt),dn&&(li.routeReuseStrategy=dn),function(j,O){j.errorHandler&&(O.errorHandler=j.errorHandler),j.malformedUriErrorHandler&&(O.malformedUriErrorHandler=j.malformedUriErrorHandler),j.onSameUrlNavigation&&(O.onSameUrlNavigation=j.onSameUrlNavigation),j.paramsInheritanceStrategy&&(O.paramsInheritanceStrategy=j.paramsInheritanceStrategy),j.relativeLinkResolution&&(O.relativeLinkResolution=j.relativeLinkResolution),j.urlUpdateStrategy&&(O.urlUpdateStrategy=j.urlUpdateStrategy)}(ut,li),ut.enableTracing&&li.events.subscribe(Mn=>{var mi,Kn;null===(mi=console.group)||void 0===mi||mi.call(console,`Router Event: ${Mn.constructor.name}`),console.log(Mn.toString()),console.log(Mn),null===(Kn=console.groupEnd)||void 0===Kn||Kn.call(console)}),li},deps:[Xn,di,l.Ye,n.zs3,n.v3s,n.Sil,cs,vs,[class{},new n.FiY],[class{},new n.FiY]]},di,{provide:yi,useFactory:function(j){return j.routerState.root},deps:[_i]},{provide:n.v3s,useClass:n.EAV},ed,Al,class{preload(O,T){return T().pipe((0,Ke.K)(()=>(0,D.of)(null)))}},{provide:vs,useValue:{enableTracing:!1}}];function Wo(){return new n.PXZ("Router",_i)}let As=(()=>{class j{constructor(T,Q){}static forRoot(T,Q){return{ngModule:j,providers:[Ma,Ks(T),{provide:_o,useFactory:Ko,deps:[[_i,new n.FiY,new n.tp0]]},{provide:vs,useValue:Q||{}},{provide:l.S$,useFactory:Ws,deps:[l.lw,[new n.tBr(l.mr),new n.FiY],vs]},{provide:Il,useFactory:kl,deps:[_i,l.EM,vs]},{provide:go,useExisting:Q&&Q.preloadingStrategy?Q.preloadingStrategy:Al},{provide:n.PXZ,multi:!0,useFactory:Wo},[$o,{provide:n.ip1,multi:!0,useFactory:Rl,deps:[$o]},{provide:Zo,useFactory:yo,deps:[$o]},{provide:n.tb,multi:!0,useExisting:Zo}]]}}static forChild(T){return{ngModule:j,providers:[Ks(T)]}}}return j.\u0275fac=function(T){return new(T||j)(n.LFG(_o,8),n.LFG(_i,8))},j.\u0275mod=n.oAB({type:j}),j.\u0275inj=n.cJS({}),j})();function kl(j,O,T){return T.scrollOffset&&O.setOffset(T.scrollOffset),new Il(j,O,T)}function Ws(j,O,T={}){return T.useHash?new l.Do(j,O):new l.b0(j,O)}function Ko(j){return"guarded"}function Ks(j){return[{provide:n.deG,multi:!0,useValue:j},{provide:cs,multi:!0,useValue:j}]}let $o=(()=>{class j{constructor(T){this.injector=T,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new J.xQ}appInitializer(){return this.injector.get(l.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Q=null;const oe=new Promise(ut=>Q=ut),Ee=this.injector.get(_i),it=this.injector.get(vs);return"disabled"===it.initialNavigation?(Ee.setUpLocationChangeListener(),Q(!0)):"enabled"===it.initialNavigation||"enabledBlocking"===it.initialNavigation?(Ee.hooks.afterPreactivation=()=>this.initNavigation?(0,D.of)(null):(this.initNavigation=!0,Q(!0),this.resultOfPreactivationDone),Ee.initialNavigation()):Q(!0),oe})}bootstrapListener(T){const Q=this.injector.get(vs),oe=this.injector.get(ed),Ee=this.injector.get(Il),it=this.injector.get(_i),ut=this.injector.get(n.z2F);T===ut.components[0]&&(("enabledNonBlocking"===Q.initialNavigation||void 0===Q.initialNavigation)&&it.initialNavigation(),oe.setUpPreloading(),Ee.init(),it.resetRootComponentType(ut.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return j.\u0275fac=function(T){return new(T||j)(n.LFG(n.zs3))},j.\u0275prov=n.Yz7({token:j,factory:j.\u0275fac}),j})();function Rl(j){return j.appInitializer.bind(j)}function yo(j){return j.bootstrapListener.bind(j)}const Zo=new n.OlP("Router Initializer")},1147:(ft,Fe,p)=>{"use strict";var n=p(6434),m=p(2658),P=p(5105);function D(){return b.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function I(fe,Y){if(D()=D())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D().toString(16)+" bytes");return 0|fe}function De(fe,Y){if(b.isBuffer(fe))return fe.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(fe)||fe instanceof ArrayBuffer))return fe.byteLength;"string"!=typeof fe&&(fe=""+fe);var x=fe.length;if(0===x)return 0;for(var A=!1;;)switch(Y){case"ascii":case"latin1":case"binary":return x;case"utf8":case"utf-8":case void 0:return gt(fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*x;case"hex":return x>>>1;case"base64":return It(fe).length;default:if(A)return gt(fe).length;Y=(""+Y).toLowerCase(),A=!0}}function qe(fe,Y,x){var A=!1;if((void 0===Y||Y<0)&&(Y=0),Y>this.length||((void 0===x||x>this.length)&&(x=this.length),x<=0)||(x>>>=0)<=(Y>>>=0))return"";for(fe||(fe="utf8");;)switch(fe){case"hex":return Oe(this,Y,x);case"utf8":case"utf-8":return rt(this,Y,x);case"ascii":return He(this,Y,x);case"latin1":case"binary":return dt(this,Y,x);case"base64":return Ue(this,Y,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return je(this,Y,x);default:if(A)throw new TypeError("Unknown encoding: "+fe);fe=(fe+"").toLowerCase(),A=!0}}function Le(fe,Y,x){var A=fe[Y];fe[Y]=fe[x],fe[x]=A}function de(fe,Y,x,A,C){if(0===fe.length)return-1;if("string"==typeof x?(A=x,x=0):x>2147483647?x=2147483647:x<-2147483648&&(x=-2147483648),x=+x,isNaN(x)&&(x=C?0:fe.length-1),x<0&&(x=fe.length+x),x>=fe.length){if(C)return-1;x=fe.length-1}else if(x<0){if(!C)return-1;x=0}if("string"==typeof Y&&(Y=b.from(Y,A)),b.isBuffer(Y))return 0===Y.length?-1:ve(fe,Y,x,A,C);if("number"==typeof Y)return Y&=255,b.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?C?Uint8Array.prototype.indexOf.call(fe,Y,x):Uint8Array.prototype.lastIndexOf.call(fe,Y,x):ve(fe,[Y],x,A,C);throw new TypeError("val must be string, number or Buffer")}function ve(fe,Y,x,A,C){var V,S=1,F=fe.length,H=Y.length;if(void 0!==A&&("ucs2"===(A=String(A).toLowerCase())||"ucs-2"===A||"utf16le"===A||"utf-16le"===A)){if(fe.length<2||Y.length<2)return-1;S=2,F/=2,H/=2,x/=2}function v(xt,kt){return 1===S?xt[kt]:xt.readUInt16BE(kt*S)}if(C){var q=-1;for(V=x;VF&&(x=F-H),V=x;V>=0;V--){for(var xe=!0,vt=0;vtC&&(A=C):A=C;var S=Y.length;if(S%2!=0)throw new TypeError("Invalid hex string");A>S/2&&(A=S/2);for(var F=0;F>8,S.push(x%256),S.push(A);return S}(Y,fe.length-x),fe,x,A)}function Ue(fe,Y,x){return n.fromByteArray(0===Y&&x===fe.length?fe:fe.slice(Y,x))}function rt(fe,Y,x){x=Math.min(fe.length,x);for(var A=[],C=Y;C239?4:S>223?3:S>191?2:1;if(C+H<=x)switch(H){case 1:S<128&&(F=S);break;case 2:128==(192&(v=fe[C+1]))&&(xe=(31&S)<<6|63&v)>127&&(F=xe);break;case 3:V=fe[C+2],128==(192&(v=fe[C+1]))&&128==(192&V)&&(xe=(15&S)<<12|(63&v)<<6|63&V)>2047&&(xe<55296||xe>57343)&&(F=xe);break;case 4:V=fe[C+2],q=fe[C+3],128==(192&(v=fe[C+1]))&&128==(192&V)&&128==(192&q)&&(xe=(15&S)<<18|(63&v)<<12|(63&V)<<6|63&q)>65535&&xe<1114112&&(F=xe)}null===F?(F=65533,H=1):F>65535&&(A.push((F-=65536)>>>10&1023|55296),F=56320|1023&F),A.push(F),C+=H}return function(fe){var Y=fe.length;if(Y<=4096)return String.fromCharCode.apply(String,fe);for(var x="",A=0;AA)&&(x=A);for(var C="",S=Y;Sx)throw new RangeError("Trying to access beyond buffer length")}function Be(fe,Y,x,A,C,S){if(!b.isBuffer(fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>C||Yfe.length)throw new RangeError("Index out of range")}function At(fe,Y,x,A){Y<0&&(Y=65535+Y+1);for(var C=0,S=Math.min(fe.length-x,2);C>>8*(A?C:1-C)}function at(fe,Y,x,A){Y<0&&(Y=4294967295+Y+1);for(var C=0,S=Math.min(fe.length-x,4);C>>8*(A?C:3-C)&255}function Ye(fe,Y,x,A,C,S){if(x+A>fe.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("Index out of range")}function lt(fe,Y,x,A,C){return C||Ye(fe,0,x,4),m.write(fe,Y,x,A,23,4),x+4}function tt(fe,Y,x,A,C){return C||Ye(fe,0,x,8),m.write(fe,Y,x,A,52,8),x+8}Fe.lW=b,Fe.h2=50,b.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var fe=new Uint8Array(1);return fe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===fe.foo()&&"function"==typeof fe.subarray&&0===fe.subarray(1,1).byteLength}catch(Y){return!1}}(),D(),b.poolSize=8192,b._augment=function(fe){return fe.__proto__=b.prototype,fe},b.from=function(fe,Y,x){return E(null,fe,Y,x)},b.TYPED_ARRAY_SUPPORT&&(b.prototype.__proto__=Uint8Array.prototype,b.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&b[Symbol.species]===b&&Object.defineProperty(b,Symbol.species,{value:null,configurable:!0})),b.alloc=function(fe,Y,x){return function(fe,Y,x,A){return U(Y),Y<=0?I(null,Y):void 0!==x?"string"==typeof A?I(null,Y).fill(x,A):I(null,Y).fill(x):I(null,Y)}(0,fe,Y,x)},b.allocUnsafe=function(fe){return G(null,fe)},b.allocUnsafeSlow=function(fe){return G(null,fe)},b.isBuffer=function(Y){return!(null==Y||!Y._isBuffer)},b.compare=function(Y,x){if(!b.isBuffer(Y)||!b.isBuffer(x))throw new TypeError("Arguments must be Buffers");if(Y===x)return 0;for(var A=Y.length,C=x.length,S=0,F=Math.min(A,C);S0&&(Y=this.toString("hex",0,x).match(/.{2}/g).join(" "),this.length>x&&(Y+=" ... ")),""},b.prototype.compare=function(Y,x,A,C,S){if(!b.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(void 0===x&&(x=0),void 0===A&&(A=Y?Y.length:0),void 0===C&&(C=0),void 0===S&&(S=this.length),x<0||A>Y.length||C<0||S>this.length)throw new RangeError("out of range index");if(C>=S&&x>=A)return 0;if(C>=S)return-1;if(x>=A)return 1;if(this===Y)return 0;for(var F=(S>>>=0)-(C>>>=0),H=(A>>>=0)-(x>>>=0),v=Math.min(F,H),V=this.slice(C,S),q=Y.slice(x,A),xe=0;xeS)&&(A=S),Y.length>0&&(A<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");for(var F=!1;;)switch(C){case"hex":return re(this,Y,x,A);case"utf8":case"utf-8":return ie(this,Y,x,A);case"ascii":return se(this,Y,x,A);case"latin1":case"binary":return Ie(this,Y,x,A);case"base64":return pe(this,Y,x,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,Y,x,A);default:if(F)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),F=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},b.prototype.slice=function(Y,x){var C,A=this.length;if((Y=~~Y)<0?(Y+=A)<0&&(Y=0):Y>A&&(Y=A),(x=void 0===x?A:~~x)<0?(x+=A)<0&&(x=0):x>A&&(x=A),x0&&(S*=256);)C+=this[Y+--x]*S;return C},b.prototype.readUInt8=function(Y,x){return x||Ke(Y,1,this.length),this[Y]},b.prototype.readUInt16LE=function(Y,x){return x||Ke(Y,2,this.length),this[Y]|this[Y+1]<<8},b.prototype.readUInt16BE=function(Y,x){return x||Ke(Y,2,this.length),this[Y]<<8|this[Y+1]},b.prototype.readUInt32LE=function(Y,x){return x||Ke(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+16777216*this[Y+3]},b.prototype.readUInt32BE=function(Y,x){return x||Ke(Y,4,this.length),16777216*this[Y]+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},b.prototype.readIntLE=function(Y,x,A){Y|=0,x|=0,A||Ke(Y,x,this.length);for(var C=this[Y],S=1,F=0;++F=(S*=128)&&(C-=Math.pow(2,8*x)),C},b.prototype.readIntBE=function(Y,x,A){Y|=0,x|=0,A||Ke(Y,x,this.length);for(var C=x,S=1,F=this[Y+--C];C>0&&(S*=256);)F+=this[Y+--C]*S;return F>=(S*=128)&&(F-=Math.pow(2,8*x)),F},b.prototype.readInt8=function(Y,x){return x||Ke(Y,1,this.length),128&this[Y]?-1*(255-this[Y]+1):this[Y]},b.prototype.readInt16LE=function(Y,x){x||Ke(Y,2,this.length);var A=this[Y]|this[Y+1]<<8;return 32768&A?4294901760|A:A},b.prototype.readInt16BE=function(Y,x){x||Ke(Y,2,this.length);var A=this[Y+1]|this[Y]<<8;return 32768&A?4294901760|A:A},b.prototype.readInt32LE=function(Y,x){return x||Ke(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},b.prototype.readInt32BE=function(Y,x){return x||Ke(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},b.prototype.readFloatLE=function(Y,x){return x||Ke(Y,4,this.length),m.read(this,Y,!0,23,4)},b.prototype.readFloatBE=function(Y,x){return x||Ke(Y,4,this.length),m.read(this,Y,!1,23,4)},b.prototype.readDoubleLE=function(Y,x){return x||Ke(Y,8,this.length),m.read(this,Y,!0,52,8)},b.prototype.readDoubleBE=function(Y,x){return x||Ke(Y,8,this.length),m.read(this,Y,!1,52,8)},b.prototype.writeUIntLE=function(Y,x,A,C){Y=+Y,x|=0,A|=0,C||Be(this,Y,x,A,Math.pow(2,8*A)-1,0);var F=1,H=0;for(this[x]=255&Y;++H=0&&(H*=256);)this[x+F]=Y/H&255;return x+A},b.prototype.writeUInt8=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,1,255,0),b.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[x]=255&Y,x+1},b.prototype.writeUInt16LE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[x]=255&Y,this[x+1]=Y>>>8):At(this,Y,x,!0),x+2},b.prototype.writeUInt16BE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[x]=Y>>>8,this[x+1]=255&Y):At(this,Y,x,!1),x+2},b.prototype.writeUInt32LE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[x+3]=Y>>>24,this[x+2]=Y>>>16,this[x+1]=Y>>>8,this[x]=255&Y):at(this,Y,x,!0),x+4},b.prototype.writeUInt32BE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[x]=Y>>>24,this[x+1]=Y>>>16,this[x+2]=Y>>>8,this[x+3]=255&Y):at(this,Y,x,!1),x+4},b.prototype.writeIntLE=function(Y,x,A,C){if(Y=+Y,x|=0,!C){var S=Math.pow(2,8*A-1);Be(this,Y,x,A,S-1,-S)}var F=0,H=1,v=0;for(this[x]=255&Y;++F>0)-v&255;return x+A},b.prototype.writeIntBE=function(Y,x,A,C){if(Y=+Y,x|=0,!C){var S=Math.pow(2,8*A-1);Be(this,Y,x,A,S-1,-S)}var F=A-1,H=1,v=0;for(this[x+F]=255&Y;--F>=0&&(H*=256);)Y<0&&0===v&&0!==this[x+F+1]&&(v=1),this[x+F]=(Y/H>>0)-v&255;return x+A},b.prototype.writeInt8=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,1,127,-128),b.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[x]=255&Y,x+1},b.prototype.writeInt16LE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[x]=255&Y,this[x+1]=Y>>>8):At(this,Y,x,!0),x+2},b.prototype.writeInt16BE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[x]=Y>>>8,this[x+1]=255&Y):At(this,Y,x,!1),x+2},b.prototype.writeInt32LE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,4,2147483647,-2147483648),b.TYPED_ARRAY_SUPPORT?(this[x]=255&Y,this[x+1]=Y>>>8,this[x+2]=Y>>>16,this[x+3]=Y>>>24):at(this,Y,x,!0),x+4},b.prototype.writeInt32BE=function(Y,x,A){return Y=+Y,x|=0,A||Be(this,Y,x,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),b.TYPED_ARRAY_SUPPORT?(this[x]=Y>>>24,this[x+1]=Y>>>16,this[x+2]=Y>>>8,this[x+3]=255&Y):at(this,Y,x,!1),x+4},b.prototype.writeFloatLE=function(Y,x,A){return lt(this,Y,x,!0,A)},b.prototype.writeFloatBE=function(Y,x,A){return lt(this,Y,x,!1,A)},b.prototype.writeDoubleLE=function(Y,x,A){return tt(this,Y,x,!0,A)},b.prototype.writeDoubleBE=function(Y,x,A){return tt(this,Y,x,!1,A)},b.prototype.copy=function(Y,x,A,C){if(A||(A=0),!C&&0!==C&&(C=this.length),x>=Y.length&&(x=Y.length),x||(x=0),C>0&&C=this.length)throw new RangeError("sourceStart out of bounds");if(C<0)throw new RangeError("sourceEnd out of bounds");C>this.length&&(C=this.length),Y.length-x=0;--F)Y[F+x]=this[F+A];else if(S<1e3||!b.TYPED_ARRAY_SUPPORT)for(F=0;F>>=0,A=void 0===A?this.length:A>>>0,Y||(Y=0),"number"==typeof Y)for(F=x;F55295&&x<57344){if(!C){if(x>56319){(Y-=3)>-1&&S.push(239,191,189);continue}if(F+1===A){(Y-=3)>-1&&S.push(239,191,189);continue}C=x;continue}if(x<56320){(Y-=3)>-1&&S.push(239,191,189),C=x;continue}x=65536+(C-55296<<10|x-56320)}else C&&(Y-=3)>-1&&S.push(239,191,189);if(C=null,x<128){if((Y-=1)<0)break;S.push(x)}else if(x<2048){if((Y-=2)<0)break;S.push(x>>6|192,63&x|128)}else if(x<65536){if((Y-=3)<0)break;S.push(x>>12|224,x>>6&63|128,63&x|128)}else{if(!(x<1114112))throw new Error("Invalid code point");if((Y-=4)<0)break;S.push(x>>18|240,x>>12&63|128,x>>6&63|128,63&x|128)}}return S}function It(fe){return n.toByteArray(function(fe){if((fe=function(fe){return fe.trim?fe.trim():fe.replace(/^\s+|\s+$/g,"")}(fe).replace(wt,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(fe))}function qt(fe,Y,x,A){for(var C=0;C=Y.length||C>=fe.length);++C)Y[C+x]=fe[C];return C}},6434:(ft,Fe)=>{"use strict";Fe.byteLength=function(K){var J=D(K),ee=J[1];return 3*(J[0]+ee)/4-ee},Fe.toByteArray=function(K){var J,Le,$=D(K),ee=$[0],te=$[1],ce=new n(function(K,J,$){return 3*(J+$)/4-$}(0,ee,te)),De=0,qe=te>0?ee-4:ee;for(Le=0;Le>16&255,ce[De++]=J>>8&255,ce[De++]=255&J;return 2===te&&(J=l[K.charCodeAt(Le)]<<2|l[K.charCodeAt(Le+1)]>>4,ce[De++]=255&J),1===te&&(J=l[K.charCodeAt(Le)]<<10|l[K.charCodeAt(Le+1)]<<4|l[K.charCodeAt(Le+2)]>>2,ce[De++]=J>>8&255,ce[De++]=255&J),ce},Fe.fromByteArray=function(K){for(var J,$=K.length,ee=$%3,te=[],De=0,qe=$-ee;Deqe?qe:De+16383));return 1===ee?te.push(p[(J=K[$-1])>>2]+p[J<<4&63]+"=="):2===ee&&te.push(p[(J=(K[$-2]<<8)+K[$-1])>>10]+p[J>>4&63]+p[J<<2&63]+"="),te.join("")};for(var p=[],l=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=0,g=m.length;P0)throw new Error("Invalid string. Length must be a multiple of 4");var $=K.indexOf("=");return-1===$&&($=J),[$,$===J?0:4-$%4]}function U(K){return p[K>>18&63]+p[K>>12&63]+p[K>>6&63]+p[63&K]}function R(K,J,$){for(var te=[],ce=J;ce<$;ce+=3)te.push(U((K[ce]<<16&16711680)+(K[ce+1]<<8&65280)+(255&K[ce+2])));return te.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},7832:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8341),p(916),p(4369),p(8822),function(){var n=l,P=n.lib.BlockCipher,g=n.algo,D=[],I=[],b=[],E=[],U=[],R=[],G=[],K=[],J=[],$=[];!function(){for(var ce=[],De=0;De<256;De++)ce[De]=De<128?De<<1:De<<1^283;var qe=0,Le=0;for(De=0;De<256;De++){var de=Le^Le<<1^Le<<2^Le<<3^Le<<4;D[qe]=de=de>>>8^255&de^99,I[de]=qe;var se,ve=ce[qe],re=ce[ve],ie=ce[re];b[qe]=(se=257*ce[de]^16843008*de)<<24|se>>>8,E[qe]=se<<16|se>>>16,U[qe]=se<<8|se>>>24,R[qe]=se,G[de]=(se=16843009*ie^65537*re^257*ve^16843008*qe)<<24|se>>>8,K[de]=se<<16|se>>>16,J[de]=se<<8|se>>>24,$[de]=se,qe?(qe=ve^ce[ce[ce[ie^ve]]],Le^=ce[ce[Le]]):qe=Le=1}}();var ee=[0,1,2,4,8,16,32,64,128,27,54],te=g.AES=P.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var De=this._keyPriorReset=this._key,qe=De.words,Le=De.sigBytes/4,ve=4*((this._nRounds=Le+6)+1),re=this._keySchedule=[],ie=0;ie6&&ie%Le==4&&(ce=D[ce>>>24]<<24|D[ce>>>16&255]<<16|D[ce>>>8&255]<<8|D[255&ce]):(ce=D[(ce=ce<<8|ce>>>24)>>>24]<<24|D[ce>>>16&255]<<16|D[ce>>>8&255]<<8|D[255&ce],ce^=ee[ie/Le|0]<<24),re[ie]=re[ie-Le]^ce);for(var se=this._invKeySchedule=[],Ie=0;Ie>>24]]^K[D[ce>>>16&255]]^J[D[ce>>>8&255]]^$[D[255&ce]]}}},encryptBlock:function(ce,De){this._doCryptBlock(ce,De,this._keySchedule,b,E,U,R,D)},decryptBlock:function(ce,De){var qe=ce[De+1];ce[De+1]=ce[De+3],ce[De+3]=qe,this._doCryptBlock(ce,De,this._invKeySchedule,G,K,J,$,I),qe=ce[De+1],ce[De+1]=ce[De+3],ce[De+3]=qe},_doCryptBlock:function(ce,De,qe,Le,de,ve,re,ie){for(var se=this._nRounds,Ie=ce[De]^qe[0],pe=ce[De+1]^qe[1],be=ce[De+2]^qe[2],Ue=ce[De+3]^qe[3],rt=4,et=1;et>>24]^de[pe>>>16&255]^ve[be>>>8&255]^re[255&Ue]^qe[rt++],He=Le[pe>>>24]^de[be>>>16&255]^ve[Ue>>>8&255]^re[255&Ie]^qe[rt++],dt=Le[be>>>24]^de[Ue>>>16&255]^ve[Ie>>>8&255]^re[255&pe]^qe[rt++],Oe=Le[Ue>>>24]^de[Ie>>>16&255]^ve[pe>>>8&255]^re[255&be]^qe[rt++];Ie=Tt,pe=He,be=dt,Ue=Oe}Tt=(ie[Ie>>>24]<<24|ie[pe>>>16&255]<<16|ie[be>>>8&255]<<8|ie[255&Ue])^qe[rt++],He=(ie[pe>>>24]<<24|ie[be>>>16&255]<<16|ie[Ue>>>8&255]<<8|ie[255&Ie])^qe[rt++],dt=(ie[be>>>24]<<24|ie[Ue>>>16&255]<<16|ie[Ie>>>8&255]<<8|ie[255&pe])^qe[rt++],Oe=(ie[Ue>>>24]<<24|ie[Ie>>>16&255]<<16|ie[pe>>>8&255]<<8|ie[255&be])^qe[rt++],ce[De]=Tt,ce[De+1]=He,ce[De+2]=dt,ce[De+3]=Oe},keySize:8});n.AES=P._createHelper(te)}(),l.AES)},8822:function(ft,Fe,p){var m,P,g,D,I,b,U,G,K,$,ee,te,De,Le,ve,re,se,Ie,l;ft.exports=(l=p(1823),p(4369),void(l.lib.Cipher||(m=l,P=m.lib,g=P.Base,D=P.WordArray,I=P.BufferedBlockAlgorithm,b=m.enc,U=b.Base64,G=m.algo.EvpKDF,K=P.Cipher=I.extend({cfg:g.extend(),createEncryptor:function(pe,be){return this.create(this._ENC_XFORM_MODE,pe,be)},createDecryptor:function(pe,be){return this.create(this._DEC_XFORM_MODE,pe,be)},init:function(pe,be,Ue){this.cfg=this.cfg.extend(Ue),this._xformMode=pe,this._key=be,this.reset()},reset:function(){I.reset.call(this),this._doReset()},process:function(pe){return this._append(pe),this._process()},finalize:function(pe){return pe&&this._append(pe),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function pe(be){return"string"==typeof be?Ie:re}return function(be){return{encrypt:function(Ue,rt,et){return pe(rt).encrypt(be,Ue,rt,et)},decrypt:function(Ue,rt,et){return pe(rt).decrypt(be,Ue,rt,et)}}}}()}),P.StreamCipher=K.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),$=m.mode={},ee=P.BlockCipherMode=g.extend({createEncryptor:function(pe,be){return this.Encryptor.create(pe,be)},createDecryptor:function(pe,be){return this.Decryptor.create(pe,be)},init:function(pe,be){this._cipher=pe,this._iv=be}}),te=$.CBC=function(){var pe=ee.extend();function be(Ue,rt,et){var Tt,He=this._iv;He?(Tt=He,this._iv=undefined):Tt=this._prevBlock;for(var dt=0;dt>>2]}},P.BlockCipher=K.extend({cfg:K.cfg.extend({mode:te,padding:De}),reset:function(){var pe;K.reset.call(this);var be=this.cfg,Ue=be.iv,rt=be.mode;this._xformMode==this._ENC_XFORM_MODE?pe=rt.createEncryptor:(pe=rt.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==pe?this._mode.init(this,Ue&&Ue.words):(this._mode=pe.call(rt,this,Ue&&Ue.words),this._mode.__creator=pe)},_doProcessBlock:function(pe,be){this._mode.processBlock(pe,be)},_doFinalize:function(){var pe,be=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(be.pad(this._data,this.blockSize),pe=this._process(!0)):(pe=this._process(!0),be.unpad(pe)),pe},blockSize:4}),Le=P.CipherParams=g.extend({init:function(pe){this.mixIn(pe)},toString:function(pe){return(pe||this.formatter).stringify(this)}}),ve=(m.format={}).OpenSSL={stringify:function(pe){var Ue=pe.ciphertext,rt=pe.salt;return(rt?D.create([1398893684,1701076831]).concat(rt).concat(Ue):Ue).toString(U)},parse:function(pe){var be,Ue=U.parse(pe),rt=Ue.words;return 1398893684==rt[0]&&1701076831==rt[1]&&(be=D.create(rt.slice(2,4)),rt.splice(0,4),Ue.sigBytes-=16),Le.create({ciphertext:Ue,salt:be})}},re=P.SerializableCipher=g.extend({cfg:g.extend({format:ve}),encrypt:function(pe,be,Ue,rt){rt=this.cfg.extend(rt);var et=pe.createEncryptor(Ue,rt),Tt=et.finalize(be),He=et.cfg;return Le.create({ciphertext:Tt,key:Ue,iv:He.iv,algorithm:pe,mode:He.mode,padding:He.padding,blockSize:pe.blockSize,formatter:rt.format})},decrypt:function(pe,be,Ue,rt){return rt=this.cfg.extend(rt),be=this._parse(be,rt.format),pe.createDecryptor(Ue,rt).finalize(be.ciphertext)},_parse:function(pe,be){return"string"==typeof pe?be.parse(pe,this):pe}}),se=(m.kdf={}).OpenSSL={execute:function(pe,be,Ue,rt){rt||(rt=D.random(8));var et=G.create({keySize:be+Ue}).compute(pe,rt),Tt=D.create(et.words.slice(be),4*Ue);return et.sigBytes=4*be,Le.create({key:et,iv:Tt,salt:rt})}},Ie=P.PasswordBasedCipher=re.extend({cfg:re.cfg.extend({kdf:se}),encrypt:function(pe,be,Ue,rt){var et=(rt=this.cfg.extend(rt)).kdf.execute(Ue,pe.keySize,pe.ivSize);rt.iv=et.iv;var Tt=re.encrypt.call(this,pe,be,et.key,rt);return Tt.mixIn(et),Tt},decrypt:function(pe,be,Ue,rt){rt=this.cfg.extend(rt),be=this._parse(be,rt.format);var et=rt.kdf.execute(Ue,pe.keySize,pe.ivSize,be.salt);return rt.iv=et.iv,re.decrypt.call(this,pe,be,et.key,rt)}}))))},1823:function(ft,Fe,p){var l;ft.exports=l=l||function(n,m){var P;if("undefined"!=typeof window&&window.crypto&&(P=window.crypto),"undefined"!=typeof self&&self.crypto&&(P=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(P=globalThis.crypto),!P&&"undefined"!=typeof window&&window.msCrypto&&(P=window.msCrypto),!P&&"undefined"!=typeof global&&global.crypto&&(P=global.crypto),!P)try{P=p(2480)}catch(ce){}var g=function(){if(P){if("function"==typeof P.getRandomValues)try{return P.getRandomValues(new Uint32Array(1))[0]}catch(ce){}if("function"==typeof P.randomBytes)try{return P.randomBytes(4).readInt32LE()}catch(ce){}}throw new Error("Native crypto module could not be used to get secure random number.")},D=Object.create||function(){function ce(){}return function(De){var qe;return ce.prototype=De,qe=new ce,ce.prototype=null,qe}}(),I={},b=I.lib={},E=b.Base={extend:function(ce){var De=D(this);return ce&&De.mixIn(ce),(!De.hasOwnProperty("init")||this.init===De.init)&&(De.init=function(){De.$super.init.apply(this,arguments)}),De.init.prototype=De,De.$super=this,De},create:function(){var ce=this.extend();return ce.init.apply(ce,arguments),ce},init:function(){},mixIn:function(ce){for(var De in ce)ce.hasOwnProperty(De)&&(this[De]=ce[De]);ce.hasOwnProperty("toString")&&(this.toString=ce.toString)},clone:function(){return this.init.prototype.extend(this)}},U=b.WordArray=E.extend({init:function(ce,De){ce=this.words=ce||[],this.sigBytes=null!=De?De:4*ce.length},toString:function(ce){return(ce||G).stringify(this)},concat:function(ce){var De=this.words,qe=ce.words,Le=this.sigBytes,de=ce.sigBytes;if(this.clamp(),Le%4)for(var ve=0;ve>>2]|=(qe[ve>>>2]>>>24-ve%4*8&255)<<24-(Le+ve)%4*8;else for(var ie=0;ie>>2]=qe[ie>>>2];return this.sigBytes+=de,this},clamp:function(){var ce=this.words,De=this.sigBytes;ce[De>>>2]&=4294967295<<32-De%4*8,ce.length=n.ceil(De/4)},clone:function(){var ce=E.clone.call(this);return ce.words=this.words.slice(0),ce},random:function(ce){for(var De=[],qe=0;qe>>2]>>>24-de%4*8&255;Le.push((ve>>>4).toString(16)),Le.push((15&ve).toString(16))}return Le.join("")},parse:function(ce){for(var De=ce.length,qe=[],Le=0;Le>>3]|=parseInt(ce.substr(Le,2),16)<<24-Le%8*4;return new U.init(qe,De/2)}},K=R.Latin1={stringify:function(ce){for(var De=ce.words,qe=ce.sigBytes,Le=[],de=0;de>>2]>>>24-de%4*8&255));return Le.join("")},parse:function(ce){for(var De=ce.length,qe=[],Le=0;Le>>2]|=(255&ce.charCodeAt(Le))<<24-Le%4*8;return new U.init(qe,De)}},J=R.Utf8={stringify:function(ce){try{return decodeURIComponent(escape(K.stringify(ce)))}catch(De){throw new Error("Malformed UTF-8 data")}},parse:function(ce){return K.parse(unescape(encodeURIComponent(ce)))}},$=b.BufferedBlockAlgorithm=E.extend({reset:function(){this._data=new U.init,this._nDataBytes=0},_append:function(ce){"string"==typeof ce&&(ce=J.parse(ce)),this._data.concat(ce),this._nDataBytes+=ce.sigBytes},_process:function(ce){var De,qe=this._data,Le=qe.words,de=qe.sigBytes,ve=this.blockSize,ie=de/(4*ve),se=(ie=ce?n.ceil(ie):n.max((0|ie)-this._minBufferSize,0))*ve,Ie=n.min(4*se,de);if(se){for(var pe=0;pe>>2]>>>24-K%4*8&255)<<16|(E[K+1>>>2]>>>24-(K+1)%4*8&255)<<8|E[K+2>>>2]>>>24-(K+2)%4*8&255,ce=0;ce<4&&K+.75*ce>>6*(3-ce)&63));var De=R.charAt(64);if(De)for(;G.length%4;)G.push(De);return G.join("")},parse:function(b){var E=b.length,U=this._map,R=this._reverseMap;if(!R){R=this._reverseMap=[];for(var G=0;G>>6-K%4*2;R[G>>>2]|=(J|$)<<24-G%4*8,G++}return P.create(R,G)}(b,E,R)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},l.enc.Base64)},9237:function(ft,Fe,p){var l,P;ft.exports=(l=p(1823),P=l.lib.WordArray,l.enc.Base64url={stringify:function(b,E=!0){var U=b.words,R=b.sigBytes,G=E?this._safe_map:this._map;b.clamp();for(var K=[],J=0;J>>2]>>>24-J%4*8&255)<<16|(U[J+1>>>2]>>>24-(J+1)%4*8&255)<<8|U[J+2>>>2]>>>24-(J+2)%4*8&255,De=0;De<4&&J+.75*De>>6*(3-De)&63));var qe=G.charAt(64);if(qe)for(;K.length%4;)K.push(qe);return K.join("")},parse:function(b,E=!0){var U=b.length,R=E?this._safe_map:this._map,G=this._reverseMap;if(!G){G=this._reverseMap=[];for(var K=0;K>>6-K%4*2;R[G>>>2]|=(J|$)<<24-G%4*8,G++}return P.create(R,G)}(b,U,G)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},l.enc.Base64url)},4153:function(ft,Fe,p){var l;ft.exports=(l=p(1823),function(){var P=l.lib.WordArray,g=l.enc;function I(b){return b<<8&4278255360|b>>>8&16711935}g.Utf16=g.Utf16BE={stringify:function(b){for(var E=b.words,U=b.sigBytes,R=[],G=0;G>>2]>>>16-G%4*8&65535));return R.join("")},parse:function(b){for(var E=b.length,U=[],R=0;R>>1]|=b.charCodeAt(R)<<16-R%2*16;return P.create(U,2*E)}},g.Utf16LE={stringify:function(b){for(var E=b.words,U=b.sigBytes,R=[],G=0;G>>2]>>>16-G%4*8&65535);R.push(String.fromCharCode(K))}return R.join("")},parse:function(b){for(var E=b.length,U=[],R=0;R>>1]|=I(b.charCodeAt(R)<<16-R%2*16);return P.create(U,2*E)}}}(),l.enc.Utf16)},4369:function(ft,Fe,p){var n,m,P,g,D,b,l;ft.exports=(l=p(1823),p(6496),p(3331),g=(m=(n=l).lib).WordArray,b=(D=n.algo).EvpKDF=(P=m.Base).extend({cfg:P.extend({keySize:4,hasher:D.MD5,iterations:1}),init:function(E){this.cfg=this.cfg.extend(E)},compute:function(E,U){for(var R,G=this.cfg,K=G.hasher.create(),J=g.create(),$=J.words,ee=G.keySize,te=G.iterations;$.lengthG&&(U=E.finalize(U)),U.clamp();for(var K=this._oKey=U.clone(),J=this._iKey=U.clone(),$=K.words,ee=J.words,te=0;te>>2]|=I[U]<<24-U%4*8;g.call(this,E,b)}else g.apply(this,arguments)}).prototype=P}}(),l.lib.WordArray)},916:function(ft,Fe,p){var l;ft.exports=(l=p(1823),function(n){var m=l,P=m.lib,g=P.WordArray,D=P.Hasher,I=m.algo,b=[];!function(){for(var J=0;J<64;J++)b[J]=4294967296*n.abs(n.sin(J+1))|0}();var E=I.MD5=D.extend({_doReset:function(){this._hash=new g.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(J,$){for(var ee=0;ee<16;ee++){var te=$+ee,ce=J[te];J[te]=16711935&(ce<<8|ce>>>24)|4278255360&(ce<<24|ce>>>8)}var De=this._hash.words,qe=J[$+0],Le=J[$+1],de=J[$+2],ve=J[$+3],re=J[$+4],ie=J[$+5],se=J[$+6],Ie=J[$+7],pe=J[$+8],be=J[$+9],Ue=J[$+10],rt=J[$+11],et=J[$+12],Tt=J[$+13],He=J[$+14],dt=J[$+15],Oe=De[0],je=De[1],Ke=De[2],Be=De[3];Oe=U(Oe,je,Ke,Be,qe,7,b[0]),Be=U(Be,Oe,je,Ke,Le,12,b[1]),Ke=U(Ke,Be,Oe,je,de,17,b[2]),je=U(je,Ke,Be,Oe,ve,22,b[3]),Oe=U(Oe,je,Ke,Be,re,7,b[4]),Be=U(Be,Oe,je,Ke,ie,12,b[5]),Ke=U(Ke,Be,Oe,je,se,17,b[6]),je=U(je,Ke,Be,Oe,Ie,22,b[7]),Oe=U(Oe,je,Ke,Be,pe,7,b[8]),Be=U(Be,Oe,je,Ke,be,12,b[9]),Ke=U(Ke,Be,Oe,je,Ue,17,b[10]),je=U(je,Ke,Be,Oe,rt,22,b[11]),Oe=U(Oe,je,Ke,Be,et,7,b[12]),Be=U(Be,Oe,je,Ke,Tt,12,b[13]),Ke=U(Ke,Be,Oe,je,He,17,b[14]),Oe=R(Oe,je=U(je,Ke,Be,Oe,dt,22,b[15]),Ke,Be,Le,5,b[16]),Be=R(Be,Oe,je,Ke,se,9,b[17]),Ke=R(Ke,Be,Oe,je,rt,14,b[18]),je=R(je,Ke,Be,Oe,qe,20,b[19]),Oe=R(Oe,je,Ke,Be,ie,5,b[20]),Be=R(Be,Oe,je,Ke,Ue,9,b[21]),Ke=R(Ke,Be,Oe,je,dt,14,b[22]),je=R(je,Ke,Be,Oe,re,20,b[23]),Oe=R(Oe,je,Ke,Be,be,5,b[24]),Be=R(Be,Oe,je,Ke,He,9,b[25]),Ke=R(Ke,Be,Oe,je,ve,14,b[26]),je=R(je,Ke,Be,Oe,pe,20,b[27]),Oe=R(Oe,je,Ke,Be,Tt,5,b[28]),Be=R(Be,Oe,je,Ke,de,9,b[29]),Ke=R(Ke,Be,Oe,je,Ie,14,b[30]),Oe=G(Oe,je=R(je,Ke,Be,Oe,et,20,b[31]),Ke,Be,ie,4,b[32]),Be=G(Be,Oe,je,Ke,pe,11,b[33]),Ke=G(Ke,Be,Oe,je,rt,16,b[34]),je=G(je,Ke,Be,Oe,He,23,b[35]),Oe=G(Oe,je,Ke,Be,Le,4,b[36]),Be=G(Be,Oe,je,Ke,re,11,b[37]),Ke=G(Ke,Be,Oe,je,Ie,16,b[38]),je=G(je,Ke,Be,Oe,Ue,23,b[39]),Oe=G(Oe,je,Ke,Be,Tt,4,b[40]),Be=G(Be,Oe,je,Ke,qe,11,b[41]),Ke=G(Ke,Be,Oe,je,ve,16,b[42]),je=G(je,Ke,Be,Oe,se,23,b[43]),Oe=G(Oe,je,Ke,Be,be,4,b[44]),Be=G(Be,Oe,je,Ke,et,11,b[45]),Ke=G(Ke,Be,Oe,je,dt,16,b[46]),Oe=K(Oe,je=G(je,Ke,Be,Oe,de,23,b[47]),Ke,Be,qe,6,b[48]),Be=K(Be,Oe,je,Ke,Ie,10,b[49]),Ke=K(Ke,Be,Oe,je,He,15,b[50]),je=K(je,Ke,Be,Oe,ie,21,b[51]),Oe=K(Oe,je,Ke,Be,et,6,b[52]),Be=K(Be,Oe,je,Ke,ve,10,b[53]),Ke=K(Ke,Be,Oe,je,Ue,15,b[54]),je=K(je,Ke,Be,Oe,Le,21,b[55]),Oe=K(Oe,je,Ke,Be,pe,6,b[56]),Be=K(Be,Oe,je,Ke,dt,10,b[57]),Ke=K(Ke,Be,Oe,je,se,15,b[58]),je=K(je,Ke,Be,Oe,Tt,21,b[59]),Oe=K(Oe,je,Ke,Be,re,6,b[60]),Be=K(Be,Oe,je,Ke,rt,10,b[61]),Ke=K(Ke,Be,Oe,je,de,15,b[62]),je=K(je,Ke,Be,Oe,be,21,b[63]),De[0]=De[0]+Oe|0,De[1]=De[1]+je|0,De[2]=De[2]+Ke|0,De[3]=De[3]+Be|0},_doFinalize:function(){var J=this._data,$=J.words,ee=8*this._nDataBytes,te=8*J.sigBytes;$[te>>>5]|=128<<24-te%32;var ce=n.floor(ee/4294967296),De=ee;$[15+(te+64>>>9<<4)]=16711935&(ce<<8|ce>>>24)|4278255360&(ce<<24|ce>>>8),$[14+(te+64>>>9<<4)]=16711935&(De<<8|De>>>24)|4278255360&(De<<24|De>>>8),J.sigBytes=4*($.length+1),this._process();for(var qe=this._hash,Le=qe.words,de=0;de<4;de++){var ve=Le[de];Le[de]=16711935&(ve<<8|ve>>>24)|4278255360&(ve<<24|ve>>>8)}return qe},clone:function(){var J=D.clone.call(this);return J._hash=this._hash.clone(),J}});function U(J,$,ee,te,ce,De,qe){var Le=J+($&ee|~$&te)+ce+qe;return(Le<>>32-De)+$}function R(J,$,ee,te,ce,De,qe){var Le=J+($&te|ee&~te)+ce+qe;return(Le<>>32-De)+$}function G(J,$,ee,te,ce,De,qe){var Le=J+($^ee^te)+ce+qe;return(Le<>>32-De)+$}function K(J,$,ee,te,ce,De,qe){var Le=J+(ee^($|~te))+ce+qe;return(Le<>>32-De)+$}m.MD5=D._createHelper(E),m.HmacMD5=D._createHmacHelper(E)}(Math),l.MD5)},8915:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8822),l.mode.CFB=function(){var n=l.lib.BlockCipherMode.extend();function m(P,g,D,I){var b,E=this._iv;E?(b=E.slice(0),this._iv=void 0):b=this._prevBlock,I.encryptBlock(b,0);for(var U=0;U>24&255)){var I=D>>16&255,b=D>>8&255,E=255&D;255===I?(I=0,255===b?(b=0,255===E?E=0:++E):++b):++I,D=0,D+=I<<16,D+=b<<8,D+=E}else D+=1<<24;return D}var g=n.Encryptor=n.extend({processBlock:function(D,I){var b=this._cipher,E=b.blockSize,U=this._iv,R=this._counter;U&&(R=this._counter=U.slice(0),this._iv=void 0),function(D){0===(D[0]=m(D[0]))&&(D[1]=m(D[1]))}(R);var G=R.slice(0);b.encryptBlock(G,0);for(var K=0;K>>2]|=D<<24-I%4*8,n.sigBytes+=D},unpad:function(n){n.sigBytes-=255&n.words[n.sigBytes-1>>>2]}},l.pad.Ansix923)},9049:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8822),l.pad.Iso10126={pad:function(n,m){var P=4*m,g=P-n.sigBytes%P;n.concat(l.lib.WordArray.random(g-1)).concat(l.lib.WordArray.create([g<<24],1))},unpad:function(n){n.sigBytes-=255&n.words[n.sigBytes-1>>>2]}},l.pad.Iso10126)},2812:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8822),l.pad.Iso97971={pad:function(n,m){n.concat(l.lib.WordArray.create([2147483648],1)),l.pad.ZeroPadding.pad(n,m)},unpad:function(n){l.pad.ZeroPadding.unpad(n),n.sigBytes--}},l.pad.Iso97971)},1247:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8822),l.pad.NoPadding={pad:function(){},unpad:function(){}},l.pad.NoPadding)},5355:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8822),l.pad.ZeroPadding={pad:function(n,m){var P=4*m;n.clamp(),n.sigBytes+=P-(n.sigBytes%P||P)},unpad:function(n){var m=n.words,P=n.sigBytes-1;for(P=n.sigBytes-1;P>=0;P--)if(m[P>>>2]>>>24-P%4*8&255){n.sigBytes=P+1;break}}},l.pad.ZeroPadding)},3096:function(ft,Fe,p){var n,m,P,g,D,b,E,l;ft.exports=(l=p(1823),p(6496),p(3331),g=(m=(n=l).lib).WordArray,b=(D=n.algo).HMAC,E=D.PBKDF2=(P=m.Base).extend({cfg:P.extend({keySize:4,hasher:D.SHA1,iterations:1}),init:function(U){this.cfg=this.cfg.extend(U)},compute:function(U,R){for(var G=this.cfg,K=b.create(G.hasher,U),J=g.create(),$=g.create([1]),ee=J.words,te=$.words,ce=G.keySize,De=G.iterations;ee.length>>16,R[1],R[0]<<16|R[3]>>>16,R[2],R[1]<<16|R[0]>>>16,R[3],R[2]<<16|R[1]>>>16],J=this._C=[R[2]<<16|R[2]>>>16,4294901760&R[0]|65535&R[1],R[3]<<16|R[3]>>>16,4294901760&R[1]|65535&R[2],R[0]<<16|R[0]>>>16,4294901760&R[2]|65535&R[3],R[1]<<16|R[1]>>>16,4294901760&R[3]|65535&R[0]];this._b=0;for(var $=0;$<4;$++)U.call(this);for($=0;$<8;$++)J[$]^=K[$+4&7];if(G){var ee=G.words,te=ee[0],ce=ee[1],De=16711935&(te<<8|te>>>24)|4278255360&(te<<24|te>>>8),qe=16711935&(ce<<8|ce>>>24)|4278255360&(ce<<24|ce>>>8),Le=De>>>16|4294901760&qe,de=qe<<16|65535&De;for(J[0]^=De,J[1]^=Le,J[2]^=qe,J[3]^=de,J[4]^=De,J[5]^=Le,J[6]^=qe,J[7]^=de,$=0;$<4;$++)U.call(this)}},_doProcessBlock:function(R,G){var K=this._X;U.call(this),D[0]=K[0]^K[5]>>>16^K[3]<<16,D[1]=K[2]^K[7]>>>16^K[5]<<16,D[2]=K[4]^K[1]>>>16^K[7]<<16,D[3]=K[6]^K[3]>>>16^K[1]<<16;for(var J=0;J<4;J++)D[J]=16711935&(D[J]<<8|D[J]>>>24)|4278255360&(D[J]<<24|D[J]>>>8),R[G+J]^=D[J]},blockSize:4,ivSize:2});function U(){for(var R=this._X,G=this._C,K=0;K<8;K++)I[K]=G[K];for(G[0]=G[0]+1295307597+this._b|0,G[1]=G[1]+3545052371+(G[0]>>>0>>0?1:0)|0,G[2]=G[2]+886263092+(G[1]>>>0>>0?1:0)|0,G[3]=G[3]+1295307597+(G[2]>>>0>>0?1:0)|0,G[4]=G[4]+3545052371+(G[3]>>>0>>0?1:0)|0,G[5]=G[5]+886263092+(G[4]>>>0>>0?1:0)|0,G[6]=G[6]+1295307597+(G[5]>>>0>>0?1:0)|0,G[7]=G[7]+3545052371+(G[6]>>>0>>0?1:0)|0,this._b=G[7]>>>0>>0?1:0,K=0;K<8;K++){var J=R[K]+G[K],$=65535&J,ee=J>>>16;b[K]=(($*$>>>17)+$*ee>>>15)+ee*ee^((4294901760&J)*J|0)+((65535&J)*J|0)}R[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,R[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,R[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,R[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,R[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,R[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,R[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,R[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}n.RabbitLegacy=P._createHelper(E)}(),l.RabbitLegacy)},7076:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8341),p(916),p(4369),p(8822),function(){var n=l,P=n.lib.StreamCipher,D=[],I=[],b=[],E=n.algo.Rabbit=P.extend({_doReset:function(){for(var R=this._key.words,G=this.cfg.iv,K=0;K<4;K++)R[K]=16711935&(R[K]<<8|R[K]>>>24)|4278255360&(R[K]<<24|R[K]>>>8);var J=this._X=[R[0],R[3]<<16|R[2]>>>16,R[1],R[0]<<16|R[3]>>>16,R[2],R[1]<<16|R[0]>>>16,R[3],R[2]<<16|R[1]>>>16],$=this._C=[R[2]<<16|R[2]>>>16,4294901760&R[0]|65535&R[1],R[3]<<16|R[3]>>>16,4294901760&R[1]|65535&R[2],R[0]<<16|R[0]>>>16,4294901760&R[2]|65535&R[3],R[1]<<16|R[1]>>>16,4294901760&R[3]|65535&R[0]];for(this._b=0,K=0;K<4;K++)U.call(this);for(K=0;K<8;K++)$[K]^=J[K+4&7];if(G){var ee=G.words,te=ee[0],ce=ee[1],De=16711935&(te<<8|te>>>24)|4278255360&(te<<24|te>>>8),qe=16711935&(ce<<8|ce>>>24)|4278255360&(ce<<24|ce>>>8),Le=De>>>16|4294901760&qe,de=qe<<16|65535&De;for($[0]^=De,$[1]^=Le,$[2]^=qe,$[3]^=de,$[4]^=De,$[5]^=Le,$[6]^=qe,$[7]^=de,K=0;K<4;K++)U.call(this)}},_doProcessBlock:function(R,G){var K=this._X;U.call(this),D[0]=K[0]^K[5]>>>16^K[3]<<16,D[1]=K[2]^K[7]>>>16^K[5]<<16,D[2]=K[4]^K[1]>>>16^K[7]<<16,D[3]=K[6]^K[3]>>>16^K[1]<<16;for(var J=0;J<4;J++)D[J]=16711935&(D[J]<<8|D[J]>>>24)|4278255360&(D[J]<<24|D[J]>>>8),R[G+J]^=D[J]},blockSize:4,ivSize:2});function U(){for(var R=this._X,G=this._C,K=0;K<8;K++)I[K]=G[K];for(G[0]=G[0]+1295307597+this._b|0,G[1]=G[1]+3545052371+(G[0]>>>0>>0?1:0)|0,G[2]=G[2]+886263092+(G[1]>>>0>>0?1:0)|0,G[3]=G[3]+1295307597+(G[2]>>>0>>0?1:0)|0,G[4]=G[4]+3545052371+(G[3]>>>0>>0?1:0)|0,G[5]=G[5]+886263092+(G[4]>>>0>>0?1:0)|0,G[6]=G[6]+1295307597+(G[5]>>>0>>0?1:0)|0,G[7]=G[7]+3545052371+(G[6]>>>0>>0?1:0)|0,this._b=G[7]>>>0>>0?1:0,K=0;K<8;K++){var J=R[K]+G[K],$=65535&J,ee=J>>>16;b[K]=(($*$>>>17)+$*ee>>>15)+ee*ee^((4294901760&J)*J|0)+((65535&J)*J|0)}R[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,R[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,R[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,R[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,R[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,R[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,R[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,R[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}n.Rabbit=P._createHelper(E)}(),l.Rabbit)},1093:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8341),p(916),p(4369),p(8822),function(){var n=l,P=n.lib.StreamCipher,g=n.algo,D=g.RC4=P.extend({_doReset:function(){for(var E=this._key,U=E.words,R=E.sigBytes,G=this._S=[],K=0;K<256;K++)G[K]=K;K=0;for(var J=0;K<256;K++){var $=K%R,te=G[K];G[K]=G[J=(J+G[K]+(U[$>>>2]>>>24-$%4*8&255))%256],G[J]=te}this._i=this._j=0},_doProcessBlock:function(E,U){E[U]^=I.call(this)},keySize:8,ivSize:0});function I(){for(var E=this._S,U=this._i,R=this._j,G=0,K=0;K<4;K++){var J=E[U=(U+1)%256];E[U]=E[R=(R+E[U])%256],E[R]=J,G|=E[(E[U]+E[R])%256]<<24-8*K}return this._i=U,this._j=R,G}n.RC4=P._createHelper(D);var b=g.RC4Drop=D.extend({cfg:D.cfg.extend({drop:192}),_doReset:function(){D._doReset.call(this);for(var E=this.cfg.drop;E>0;E--)I.call(this)}});n.RC4Drop=P._createHelper(b)}(),l.RC4)},5508:function(ft,Fe,p){var l;ft.exports=(l=p(1823),function(n){var m=l,P=m.lib,g=P.WordArray,D=P.Hasher,I=m.algo,b=g.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),E=g.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),U=g.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),R=g.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),G=g.create([0,1518500249,1859775393,2400959708,2840853838]),K=g.create([1352829926,1548603684,1836072691,2053994217,0]),J=I.RIPEMD160=D.extend({_doReset:function(){this._hash=g.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Le,de){for(var ve=0;ve<16;ve++){var re=de+ve,ie=Le[re];Le[re]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8)}var Tt,He,dt,Oe,je,Ke,Be,At,at,Ye,lt,se=this._hash.words,Ie=G.words,pe=K.words,be=b.words,Ue=E.words,rt=U.words,et=R.words;for(Ke=Tt=se[0],Be=He=se[1],At=dt=se[2],at=Oe=se[3],Ye=je=se[4],ve=0;ve<80;ve+=1)lt=Tt+Le[de+be[ve]]|0,lt+=ve<16?$(He,dt,Oe)+Ie[0]:ve<32?ee(He,dt,Oe)+Ie[1]:ve<48?te(He,dt,Oe)+Ie[2]:ve<64?ce(He,dt,Oe)+Ie[3]:De(He,dt,Oe)+Ie[4],lt=(lt=qe(lt|=0,rt[ve]))+je|0,Tt=je,je=Oe,Oe=qe(dt,10),dt=He,He=lt,lt=Ke+Le[de+Ue[ve]]|0,lt+=ve<16?De(Be,At,at)+pe[0]:ve<32?ce(Be,At,at)+pe[1]:ve<48?te(Be,At,at)+pe[2]:ve<64?ee(Be,At,at)+pe[3]:$(Be,At,at)+pe[4],lt=(lt=qe(lt|=0,et[ve]))+Ye|0,Ke=Ye,Ye=at,at=qe(At,10),At=Be,Be=lt;lt=se[1]+dt+at|0,se[1]=se[2]+Oe+Ye|0,se[2]=se[3]+je+Ke|0,se[3]=se[4]+Tt+Be|0,se[4]=se[0]+He+At|0,se[0]=lt},_doFinalize:function(){var Le=this._data,de=Le.words,ve=8*this._nDataBytes,re=8*Le.sigBytes;de[re>>>5]|=128<<24-re%32,de[14+(re+64>>>9<<4)]=16711935&(ve<<8|ve>>>24)|4278255360&(ve<<24|ve>>>8),Le.sigBytes=4*(de.length+1),this._process();for(var ie=this._hash,se=ie.words,Ie=0;Ie<5;Ie++){var pe=se[Ie];se[Ie]=16711935&(pe<<8|pe>>>24)|4278255360&(pe<<24|pe>>>8)}return ie},clone:function(){var Le=D.clone.call(this);return Le._hash=this._hash.clone(),Le}});function $(Le,de,ve){return Le^de^ve}function ee(Le,de,ve){return Le&de|~Le&ve}function te(Le,de,ve){return(Le|~de)^ve}function ce(Le,de,ve){return Le&ve|de&~ve}function De(Le,de,ve){return Le^(de|~ve)}function qe(Le,de){return Le<>>32-de}m.RIPEMD160=D._createHelper(J),m.HmacRIPEMD160=D._createHmacHelper(J)}(Math),l.RIPEMD160)},6496:function(ft,Fe,p){var n,m,P,g,I,b,l;ft.exports=(l=p(1823),P=(m=(n=l).lib).WordArray,I=[],b=n.algo.SHA1=(g=m.Hasher).extend({_doReset:function(){this._hash=new P.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,U){for(var R=this._hash.words,G=R[0],K=R[1],J=R[2],$=R[3],ee=R[4],te=0;te<80;te++){if(te<16)I[te]=0|E[U+te];else{var ce=I[te-3]^I[te-8]^I[te-14]^I[te-16];I[te]=ce<<1|ce>>>31}var De=(G<<5|G>>>27)+ee+I[te];De+=te<20?1518500249+(K&J|~K&$):te<40?1859775393+(K^J^$):te<60?(K&J|K&$|J&$)-1894007588:(K^J^$)-899497514,ee=$,$=J,J=K<<30|K>>>2,K=G,G=De}R[0]=R[0]+G|0,R[1]=R[1]+K|0,R[2]=R[2]+J|0,R[3]=R[3]+$|0,R[4]=R[4]+ee|0},_doFinalize:function(){var E=this._data,U=E.words,R=8*this._nDataBytes,G=8*E.sigBytes;return U[G>>>5]|=128<<24-G%32,U[14+(G+64>>>9<<4)]=Math.floor(R/4294967296),U[15+(G+64>>>9<<4)]=R,E.sigBytes=4*U.length,this._process(),this._hash},clone:function(){var E=g.clone.call(this);return E._hash=this._hash.clone(),E}}),n.SHA1=g._createHelper(b),n.HmacSHA1=g._createHmacHelper(b),l.SHA1)},6538:function(ft,Fe,p){var n,P,g,D,I,l;ft.exports=(l=p(1823),p(6946),P=(n=l).lib.WordArray,I=(g=n.algo).SHA224=(D=g.SHA256).extend({_doReset:function(){this._hash=new P.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var b=D._doFinalize.call(this);return b.sigBytes-=4,b}}),n.SHA224=D._createHelper(I),n.HmacSHA224=D._createHmacHelper(I),l.SHA224)},6946:function(ft,Fe,p){var l;ft.exports=(l=p(1823),function(n){var m=l,P=m.lib,g=P.WordArray,D=P.Hasher,I=m.algo,b=[],E=[];!function(){function G(ee){for(var te=n.sqrt(ee),ce=2;ce<=te;ce++)if(!(ee%ce))return!1;return!0}function K(ee){return 4294967296*(ee-(0|ee))|0}for(var J=2,$=0;$<64;)G(J)&&($<8&&(b[$]=K(n.pow(J,.5))),E[$]=K(n.pow(J,1/3)),$++),J++}();var U=[],R=I.SHA256=D.extend({_doReset:function(){this._hash=new g.init(b.slice(0))},_doProcessBlock:function(G,K){for(var J=this._hash.words,$=J[0],ee=J[1],te=J[2],ce=J[3],De=J[4],qe=J[5],Le=J[6],de=J[7],ve=0;ve<64;ve++){if(ve<16)U[ve]=0|G[K+ve];else{var re=U[ve-15],se=U[ve-2];U[ve]=((re<<25|re>>>7)^(re<<14|re>>>18)^re>>>3)+U[ve-7]+((se<<15|se>>>17)^(se<<13|se>>>19)^se>>>10)+U[ve-16]}var be=$&ee^$&te^ee&te,et=de+((De<<26|De>>>6)^(De<<21|De>>>11)^(De<<7|De>>>25))+(De&qe^~De&Le)+E[ve]+U[ve];de=Le,Le=qe,qe=De,De=ce+et|0,ce=te,te=ee,ee=$,$=et+((($<<30|$>>>2)^($<<19|$>>>13)^($<<10|$>>>22))+be)|0}J[0]=J[0]+$|0,J[1]=J[1]+ee|0,J[2]=J[2]+te|0,J[3]=J[3]+ce|0,J[4]=J[4]+De|0,J[5]=J[5]+qe|0,J[6]=J[6]+Le|0,J[7]=J[7]+de|0},_doFinalize:function(){var G=this._data,K=G.words,J=8*this._nDataBytes,$=8*G.sigBytes;return K[$>>>5]|=128<<24-$%32,K[14+($+64>>>9<<4)]=n.floor(J/4294967296),K[15+($+64>>>9<<4)]=J,G.sigBytes=4*K.length,this._process(),this._hash},clone:function(){var G=D.clone.call(this);return G._hash=this._hash.clone(),G}});m.SHA256=D._createHelper(R),m.HmacSHA256=D._createHmacHelper(R)}(Math),l.SHA256)},2633:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(4615),function(n){var m=l,P=m.lib,g=P.WordArray,D=P.Hasher,b=m.x64.Word,E=m.algo,U=[],R=[],G=[];!function(){for(var $=1,ee=0,te=0;te<24;te++){U[$+5*ee]=(te+1)*(te+2)/2%64;var De=(2*$+3*ee)%5;$=ee%5,ee=De}for($=0;$<5;$++)for(ee=0;ee<5;ee++)R[$+5*ee]=ee+(2*$+3*ee)%5*5;for(var qe=1,Le=0;Le<24;Le++){for(var de=0,ve=0,re=0;re<7;re++){if(1&qe){var ie=(1<>>24)|4278255360&(qe<<24|qe>>>8),(de=te[De]).high^=Le=16711935&(Le<<8|Le>>>24)|4278255360&(Le<<24|Le>>>8),de.low^=qe}for(var ve=0;ve<24;ve++){for(var re=0;re<5;re++){for(var ie=0,se=0,Ie=0;Ie<5;Ie++)ie^=(de=te[re+5*Ie]).high,se^=de.low;var pe=K[re];pe.high=ie,pe.low=se}for(re=0;re<5;re++){var be=K[(re+4)%5],Ue=K[(re+1)%5],rt=Ue.high,et=Ue.low;for(ie=be.high^(rt<<1|et>>>31),se=be.low^(et<<1|rt>>>31),Ie=0;Ie<5;Ie++)(de=te[re+5*Ie]).high^=ie,de.low^=se}for(var Tt=1;Tt<25;Tt++){var He=(de=te[Tt]).high,dt=de.low,Oe=U[Tt];Oe<32?(ie=He<>>32-Oe,se=dt<>>32-Oe):(ie=dt<>>64-Oe,se=He<>>64-Oe);var je=K[R[Tt]];je.high=ie,je.low=se}var Ke=K[0],Be=te[0];for(Ke.high=Be.high,Ke.low=Be.low,re=0;re<5;re++)for(Ie=0;Ie<5;Ie++){var At=K[Tt=re+5*Ie],at=K[(re+1)%5+5*Ie],Ye=K[(re+2)%5+5*Ie];(de=te[Tt]).high=At.high^~at.high&Ye.high,de.low=At.low^~at.low&Ye.low}var de,lt=G[ve];(de=te[0]).high^=lt.high,de.low^=lt.low}},_doFinalize:function(){var $=this._data,ee=$.words,ce=8*$.sigBytes,De=32*this.blockSize;ee[ce>>>5]|=1<<24-ce%32,ee[(n.ceil((ce+1)/De)*De>>>5)-1]|=128,$.sigBytes=4*ee.length,this._process();for(var qe=this._state,Le=this.cfg.outputLength/8,de=Le/8,ve=[],re=0;re>>24)|4278255360&(se<<24|se>>>8),ve.push(Ie=16711935&(Ie<<8|Ie>>>24)|4278255360&(Ie<<24|Ie>>>8)),ve.push(se)}return new g.init(ve,Le)},clone:function(){for(var $=D.clone.call(this),ee=$._state=this._state.slice(0),te=0;te<25;te++)ee[te]=ee[te].clone();return $}});m.SHA3=D._createHelper(J),m.HmacSHA3=D._createHmacHelper(J)}(Math),l.SHA3)},7098:function(ft,Fe,p){var n,m,P,g,D,I,b,l;ft.exports=(l=p(1823),p(4615),p(1206),P=(m=(n=l).x64).Word,g=m.WordArray,b=(D=n.algo).SHA384=(I=D.SHA512).extend({_doReset:function(){this._hash=new g.init([new P.init(3418070365,3238371032),new P.init(1654270250,914150663),new P.init(2438529370,812702999),new P.init(355462360,4144912697),new P.init(1731405415,4290775857),new P.init(2394180231,1750603025),new P.init(3675008525,1694076839),new P.init(1203062813,3204075428)])},_doFinalize:function(){var E=I._doFinalize.call(this);return E.sigBytes-=16,E}}),n.SHA384=I._createHelper(b),n.HmacSHA384=I._createHmacHelper(b),l.SHA384)},1206:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(4615),function(){var n=l,P=n.lib.Hasher,g=n.x64,D=g.Word,I=g.WordArray,b=n.algo;function E(){return D.create.apply(D,arguments)}var U=[E(1116352408,3609767458),E(1899447441,602891725),E(3049323471,3964484399),E(3921009573,2173295548),E(961987163,4081628472),E(1508970993,3053834265),E(2453635748,2937671579),E(2870763221,3664609560),E(3624381080,2734883394),E(310598401,1164996542),E(607225278,1323610764),E(1426881987,3590304994),E(1925078388,4068182383),E(2162078206,991336113),E(2614888103,633803317),E(3248222580,3479774868),E(3835390401,2666613458),E(4022224774,944711139),E(264347078,2341262773),E(604807628,2007800933),E(770255983,1495990901),E(1249150122,1856431235),E(1555081692,3175218132),E(1996064986,2198950837),E(2554220882,3999719339),E(2821834349,766784016),E(2952996808,2566594879),E(3210313671,3203337956),E(3336571891,1034457026),E(3584528711,2466948901),E(113926993,3758326383),E(338241895,168717936),E(666307205,1188179964),E(773529912,1546045734),E(1294757372,1522805485),E(1396182291,2643833823),E(1695183700,2343527390),E(1986661051,1014477480),E(2177026350,1206759142),E(2456956037,344077627),E(2730485921,1290863460),E(2820302411,3158454273),E(3259730800,3505952657),E(3345764771,106217008),E(3516065817,3606008344),E(3600352804,1432725776),E(4094571909,1467031594),E(275423344,851169720),E(430227734,3100823752),E(506948616,1363258195),E(659060556,3750685593),E(883997877,3785050280),E(958139571,3318307427),E(1322822218,3812723403),E(1537002063,2003034995),E(1747873779,3602036899),E(1955562222,1575990012),E(2024104815,1125592928),E(2227730452,2716904306),E(2361852424,442776044),E(2428436474,593698344),E(2756734187,3733110249),E(3204031479,2999351573),E(3329325298,3815920427),E(3391569614,3928383900),E(3515267271,566280711),E(3940187606,3454069534),E(4118630271,4000239992),E(116418474,1914138554),E(174292421,2731055270),E(289380356,3203993006),E(460393269,320620315),E(685471733,587496836),E(852142971,1086792851),E(1017036298,365543100),E(1126000580,2618297676),E(1288033470,3409855158),E(1501505948,4234509866),E(1607167915,987167468),E(1816402316,1246189591)],R=[];!function(){for(var K=0;K<80;K++)R[K]=E()}();var G=b.SHA512=P.extend({_doReset:function(){this._hash=new I.init([new D.init(1779033703,4089235720),new D.init(3144134277,2227873595),new D.init(1013904242,4271175723),new D.init(2773480762,1595750129),new D.init(1359893119,2917565137),new D.init(2600822924,725511199),new D.init(528734635,4215389547),new D.init(1541459225,327033209)])},_doProcessBlock:function(K,J){for(var $=this._hash.words,ee=$[0],te=$[1],ce=$[2],De=$[3],qe=$[4],Le=$[5],de=$[6],ve=$[7],re=ee.high,ie=ee.low,se=te.high,Ie=te.low,pe=ce.high,be=ce.low,Ue=De.high,rt=De.low,et=qe.high,Tt=qe.low,He=Le.high,dt=Le.low,Oe=de.high,je=de.low,Ke=ve.high,Be=ve.low,At=re,at=ie,Ye=se,lt=Ie,tt=pe,wt=be,Gt=Ue,en=rt,St=et,gt=Tt,Qe=He,ze=dt,It=Oe,qt=je,Ct=Ke,fe=Be,Y=0;Y<80;Y++){var x,A,C=R[Y];if(Y<16)A=C.high=0|K[J+2*Y],x=C.low=0|K[J+2*Y+1];else{var S=R[Y-15],F=S.high,H=S.low,V=(H>>>1|F<<31)^(H>>>8|F<<24)^(H>>>7|F<<25),q=R[Y-2],xe=q.high,vt=q.low,kt=(vt>>>19|xe<<13)^(vt<<3|xe>>>29)^(vt>>>6|xe<<26),Yt=R[Y-7],an=R[Y-16],ln=an.low;C.high=A=(A=(A=((F>>>1|H<<31)^(F>>>8|H<<24)^F>>>7)+Yt.high+((x=V+Yt.low)>>>0>>0?1:0))+((xe>>>19|vt<<13)^(xe<<3|vt>>>29)^xe>>>6)+((x+=kt)>>>0>>0?1:0))+an.high+((x+=ln)>>>0>>0?1:0),C.low=x}var Ut,ht=St&Qe^~St&It,jt=gt&ze^~gt&qt,Re=At&Ye^At&tt^Ye&tt,Ge=(at>>>28|At<<4)^(at<<30|At>>>2)^(at<<25|At>>>7),ye=U[Y],_t=ye.low,Qt=Ct+((St>>>14|gt<<18)^(St>>>18|gt<<14)^(St<<23|gt>>>9))+((Ut=fe+((gt>>>14|St<<18)^(gt>>>18|St<<14)^(gt<<23|St>>>9)))>>>0>>0?1:0),Hn=Ge+(at<^at&wt^lt&wt);Ct=It,fe=qt,It=Qe,qt=ze,Qe=St,ze=gt,St=Gt+(Qt=(Qt=(Qt=Qt+ht+((Ut+=jt)>>>0>>0?1:0))+ye.high+((Ut+=_t)>>>0<_t>>>0?1:0))+A+((Ut+=x)>>>0>>0?1:0))+((gt=en+Ut|0)>>>0>>0?1:0)|0,Gt=tt,en=wt,tt=Ye,wt=lt,Ye=At,lt=at,At=Qt+(((At>>>28|at<<4)^(At<<30|at>>>2)^(At<<25|at>>>7))+Re+(Hn>>>0>>0?1:0))+((at=Ut+Hn|0)>>>0>>0?1:0)|0}ie=ee.low=ie+at,ee.high=re+At+(ie>>>0>>0?1:0),Ie=te.low=Ie+lt,te.high=se+Ye+(Ie>>>0>>0?1:0),be=ce.low=be+wt,ce.high=pe+tt+(be>>>0>>0?1:0),rt=De.low=rt+en,De.high=Ue+Gt+(rt>>>0>>0?1:0),Tt=qe.low=Tt+gt,qe.high=et+St+(Tt>>>0>>0?1:0),dt=Le.low=dt+ze,Le.high=He+Qe+(dt>>>0>>0?1:0),je=de.low=je+qt,de.high=Oe+It+(je>>>0>>0?1:0),Be=ve.low=Be+fe,ve.high=Ke+Ct+(Be>>>0>>0?1:0)},_doFinalize:function(){var K=this._data,J=K.words,$=8*this._nDataBytes,ee=8*K.sigBytes;return J[ee>>>5]|=128<<24-ee%32,J[30+(ee+128>>>10<<5)]=Math.floor($/4294967296),J[31+(ee+128>>>10<<5)]=$,K.sigBytes=4*J.length,this._process(),this._hash.toX32()},clone:function(){var K=P.clone.call(this);return K._hash=this._hash.clone(),K},blockSize:32});n.SHA512=P._createHelper(G),n.HmacSHA512=P._createHmacHelper(G)}(),l.SHA512)},4994:function(ft,Fe,p){var l;ft.exports=(l=p(1823),p(8341),p(916),p(4369),p(8822),function(){var n=l,m=n.lib,P=m.WordArray,g=m.BlockCipher,D=n.algo,I=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],b=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],E=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],U=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],R=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],G=D.DES=g.extend({_doReset:function(){for(var te=this._key.words,ce=[],De=0;De<56;De++){var qe=I[De]-1;ce[De]=te[qe>>>5]>>>31-qe%32&1}for(var Le=this._subKeys=[],de=0;de<16;de++){var ve=Le[de]=[],re=E[de];for(De=0;De<24;De++)ve[De/6|0]|=ce[(b[De]-1+re)%28]<<31-De%6,ve[4+(De/6|0)]|=ce[28+(b[De+24]-1+re)%28]<<31-De%6;for(ve[0]=ve[0]<<1|ve[0]>>>31,De=1;De<7;De++)ve[De]=ve[De]>>>4*(De-1)+3;ve[7]=ve[7]<<5|ve[7]>>>27}var ie=this._invSubKeys=[];for(De=0;De<16;De++)ie[De]=Le[15-De]},encryptBlock:function(ee,te){this._doCryptBlock(ee,te,this._subKeys)},decryptBlock:function(ee,te){this._doCryptBlock(ee,te,this._invSubKeys)},_doCryptBlock:function(ee,te,ce){this._lBlock=ee[te],this._rBlock=ee[te+1],K.call(this,4,252645135),K.call(this,16,65535),J.call(this,2,858993459),J.call(this,8,16711935),K.call(this,1,1431655765);for(var De=0;De<16;De++){for(var qe=ce[De],Le=this._lBlock,de=this._rBlock,ve=0,re=0;re<8;re++)ve|=U[re][((de^qe[re])&R[re])>>>0];this._lBlock=de,this._rBlock=Le^ve}var ie=this._lBlock;this._lBlock=this._rBlock,this._rBlock=ie,K.call(this,1,1431655765),J.call(this,8,16711935),J.call(this,2,858993459),K.call(this,16,65535),K.call(this,4,252645135),ee[te]=this._lBlock,ee[te+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function K(ee,te){var ce=(this._lBlock>>>ee^this._rBlock)&te;this._rBlock^=ce,this._lBlock^=ce<>>ee^this._lBlock)&te;this._lBlock^=ce,this._rBlock^=ce<192.");var ce=te.slice(0,2),De=te.length<4?te.slice(0,2):te.slice(2,4),qe=te.length<6?te.slice(0,2):te.slice(4,6);this._des1=G.createEncryptor(P.create(ce)),this._des2=G.createEncryptor(P.create(De)),this._des3=G.createEncryptor(P.create(qe))},encryptBlock:function(ee,te){this._des1.encryptBlock(ee,te),this._des2.decryptBlock(ee,te),this._des3.encryptBlock(ee,te)},decryptBlock:function(ee,te){this._des3.decryptBlock(ee,te),this._des2.encryptBlock(ee,te),this._des1.decryptBlock(ee,te)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=g._createHelper($)}(),l.TripleDES)},4615:function(ft,Fe,p){var P,g,D,I,l;ft.exports=(l=p(1823),g=(P=l.lib).Base,D=P.WordArray,(I=l.x64={}).Word=g.extend({init:function(U,R){this.high=U,this.low=R}}),I.WordArray=g.extend({init:function(U,R){U=this.words=U||[],this.sigBytes=null!=R?R:8*U.length},toX32:function(){for(var U=this.words,R=U.length,G=[],K=0;K{Fe.read=function(p,l,n,m,P){var g,D,I=8*P-m-1,b=(1<>1,U=-7,R=n?P-1:0,G=n?-1:1,K=p[l+R];for(R+=G,g=K&(1<<-U)-1,K>>=-U,U+=I;U>0;g=256*g+p[l+R],R+=G,U-=8);for(D=g&(1<<-U)-1,g>>=-U,U+=m;U>0;D=256*D+p[l+R],R+=G,U-=8);if(0===g)g=1-E;else{if(g===b)return D?NaN:1/0*(K?-1:1);D+=Math.pow(2,m),g-=E}return(K?-1:1)*D*Math.pow(2,g-m)},Fe.write=function(p,l,n,m,P,g){var D,I,b,E=8*g-P-1,U=(1<>1,G=23===P?Math.pow(2,-24)-Math.pow(2,-77):0,K=m?0:g-1,J=m?1:-1,$=l<0||0===l&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(I=isNaN(l)?1:0,D=U):(D=Math.floor(Math.log(l)/Math.LN2),l*(b=Math.pow(2,-D))<1&&(D--,b*=2),(l+=D+R>=1?G/b:G*Math.pow(2,1-R))*b>=2&&(D++,b/=2),D+R>=U?(I=0,D=U):D+R>=1?(I=(l*b-1)*Math.pow(2,P),D+=R):(I=l*Math.pow(2,R-1)*Math.pow(2,P),D=0));P>=8;p[n+K]=255&I,K+=J,I/=256,P-=8);for(D=D<0;p[n+K]=255&D,K+=J,D/=256,E-=8);p[n+K-J]|=128*$}},5105:ft=>{var Fe={}.toString;ft.exports=Array.isArray||function(p){return"[object Array]"==Fe.call(p)}},8143:(ft,Fe,p)=>{ft.exports=self.fetch||(self.fetch=p(6643).default||p(6643))},7530:(ft,Fe,p)=>{var l,n,m;void 0!==(n="function"==typeof(l=m=function(){function m(){for(var D=0,I={};D{"use strict";p.d(Fe,{Bp:()=>dt,x7:()=>rt});var l=p(7716),n=p(8583),m=p(7238),P=p(9765);function g(Be,At){}const D=function(Be){return{duration:Be}},I=function(Be){return{value:"*",params:Be}};function b(Be,At){if(1&Be&&l._UZ(0,"div",13),2&Be){const at=l.oxw().$implicit;l.Q6J("@progress",l.VKq(3,I,l.VKq(1,D,at.duration+"ms")))}}function E(Be,At){if(1&Be&&(l.TgZ(0,"div"),l.TgZ(1,"div",10),l.YNc(2,g,0,0,"ng-template",11),l.YNc(3,b,1,5,"div",12),l.qZA(),l.qZA()),2&Be){const at=At.$implicit;l.Q6J("@nested",void 0),l.xp6(1),l.Q6J("ngClass",at.type||"light")("@shrink",void 0),l.xp6(1),l.Q6J("toast",at),l.xp6(1),l.Q6J("ngIf",at.autoClose)}}function U(Be,At){1&Be&&l.YNc(0,E,4,5,"div",9),2&Be&&l.Q6J("ngForOf",At.$implicit)}function R(Be,At){1&Be&&l.GkF(0)}function G(Be,At){1&Be&&l.GkF(0)}function K(Be,At){1&Be&&l.GkF(0)}function J(Be,At){1&Be&&l.GkF(0)}function $(Be,At){1&Be&&l.GkF(0)}function ee(Be,At){1&Be&&l.GkF(0)}const te=function(Be){return{$implicit:Be}};function ce(Be,At){if(1&Be&&(l.TgZ(0,"div",3),l._uU(1),l.qZA()),2&Be){const at=l.oxw();l.xp6(1),l.Oqu(at.toast.caption)}}class De{constructor(At,at){this._onClose=new P.xQ,this.autoClose=At.autoClose,this.duration=At.duration>0?At.duration:0,this.text=At.text,this.caption=At.caption,this.type=At.type,this.component=At.component,this._closeFunction=at,this._setTimeout()}get onClose(){return this._onClose.asObservable()}close(At){this._onClose.closed||(this._onClose.next(At),this._onClose.complete()),this._closeFunction(this),this._clearTimeout()}_setTimeout(){this.autoClose&&this.duration>0&&(this._timeoutId=setTimeout(()=>this.close(),this.duration))}_clearTimeout(){this._timeoutId&&clearTimeout(this._timeoutId)}}const qe=(0,m.eR)("* => *",[(0,m.IO)("@*",(0,m.pV)(),{optional:!0})]),Le=(0,m.eR)("void => *",[(0,m.oB)({height:0,opacity:0,"margin-top":0}),(0,m.jt)(200,(0,m.oB)({height:"*",opacity:1,"margin-top":"1rem"}))]),de=(0,m.eR)("* => void",[(0,m.oB)({height:"!",opacity:1,"margin-top":"1rem"}),(0,m.jt)(150,(0,m.oB)({height:0,opacity:0,"margin-top":0}))]),ve=(0,m.eR)("void => *",[(0,m.oB)({width:0,opacity:0}),(0,m.jt)("{{duration}}",(0,m.oB)({width:"100%",opacity:1}))]);let re=(()=>{class Be{constructor(at){this._changeDetector=at,this.tl=[],this.tc=[],this.tr=[],this.bl=[],this.bc=[],this.br=[]}add(at){const Ye=this._getCollection(at.position);if(at.preventDuplicates&&this._isDuplicate(Ye,at))return null;const lt=new De(at,tt=>this._delete(Ye,tt));return Ye.push(lt),this._changeDetector.detectChanges(),lt}_delete(at,Ye){at.splice(at.indexOf(Ye),1),this._changeDetector.detectChanges()}_isDuplicate(at,Ye){return at.some(lt=>lt.type===Ye.type&<.component===Ye.component&<.caption===Ye.caption&<.text===Ye.text)}_getCollection(at){switch(at){case"top-left":return this.tl;case"top-center":return this.tc;case"top-right":return this.tr;case"bottom-left":return this.bl;case"bottom-center":return this.bc;default:return this.br}}}return Be.\u0275fac=function(at){return new(at||Be)(l.Y36(l.sBO))},Be.\u0275cmp=l.Xpm({type:Be,selectors:[["ng-component"]],decls:15,vars:24,consts:[["toastPanel",""],[1,"toast-overlay"],[1,"toast-panel","top-center"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"toast-panel","top-left"],[1,"toast-panel","top-right"],[1,"toast-panel","bottom-center"],[1,"toast-panel","bottom-left"],[1,"toast-panel","bottom-right"],[4,"ngFor","ngForOf"],[1,"toast-card",3,"ngClass"],["toastContent","",3,"toast"],["class","lifetime-progress","role","progressbar",4,"ngIf"],["role","progressbar",1,"lifetime-progress"]],template:function(at,Ye){if(1&at&&(l.YNc(0,U,1,1,"ng-template",null,0,l.W1O),l.TgZ(2,"div",1),l.TgZ(3,"div",2),l.YNc(4,R,1,0,"ng-container",3),l.qZA(),l.TgZ(5,"div",4),l.YNc(6,G,1,0,"ng-container",3),l.qZA(),l.TgZ(7,"div",5),l.YNc(8,K,1,0,"ng-container",3),l.qZA(),l.TgZ(9,"div",6),l.YNc(10,J,1,0,"ng-container",3),l.qZA(),l.TgZ(11,"div",7),l.YNc(12,$,1,0,"ng-container",3),l.qZA(),l.TgZ(13,"div",8),l.YNc(14,ee,1,0,"ng-container",3),l.qZA(),l.qZA()),2&at){const lt=l.MAs(1);l.xp6(4),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(12,te,Ye.tc)),l.xp6(2),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(14,te,Ye.tl)),l.xp6(2),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(16,te,Ye.tr)),l.xp6(2),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(18,te,Ye.bc)),l.xp6(2),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(20,te,Ye.bl)),l.xp6(2),l.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",l.VKq(22,te,Ye.br))}},directives:function(){return[n.tP,n.sg,n.mk,Tt,n.O5]},styles:['.toast-overlay[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:9000;left:0;top:0;width:100%;height:100%}@media (max-width:575px){.toast-overlay[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex-direction:column}}.toast-panel[_ngcontent-%COMP%]{width:100%;font-size:1rem;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}.toast-card[_ngcontent-%COMP%]{pointer-events:auto;overflow:hidden;background-clip:border-box;min-width:0;background-color:#f8f9fa;color:#212529;margin-top:1rem;box-shadow:rgba(0,0,0,.15) 0 .2rem 1.5rem .3rem}@media (min-width:576px){.toast-panel[_ngcontent-%COMP%]{position:absolute;max-width:20rem}.toast-panel.top-left[_ngcontent-%COMP%]{top:0;left:1rem}.toast-panel.top-center[_ngcontent-%COMP%]{top:0;left:50%;margin-left:-10rem}.toast-panel.top-right[_ngcontent-%COMP%]{top:0;right:1rem}.toast-panel.bottom-left[_ngcontent-%COMP%]{bottom:1rem;left:1rem}.toast-panel.bottom-center[_ngcontent-%COMP%]{bottom:1rem;left:50%;margin-left:-10rem}.toast-panel.bottom-right[_ngcontent-%COMP%]{bottom:1rem;right:1rem}.toast-card[_ngcontent-%COMP%]{border-radius:.15rem;box-shadow:rgba(0,0,0,.2) 0 .3rem .4rem -.2rem,rgba(0,0,0,.15) 0 .2rem 1.5rem .3rem}}.toast-card.danger[_ngcontent-%COMP%], .toast-card.dark[_ngcontent-%COMP%], .toast-card.info[_ngcontent-%COMP%], .toast-card.primary[_ngcontent-%COMP%], .toast-card.secondary[_ngcontent-%COMP%], .toast-card.success[_ngcontent-%COMP%]{color:#f8f9fa}.toast-card.danger[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.dark[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.info[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.primary[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.secondary[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.success[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%]{background-color:#f8f9fa}.toast-card.light[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%], .toast-card.primary[_ngcontent-%COMP%], .toast-card.warning[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%]{background-color:#007bff}.toast-card.secondary[_ngcontent-%COMP%]{background-color:#868e96}.toast-card.success[_ngcontent-%COMP%]{background-color:#28a745}.toast-card.danger[_ngcontent-%COMP%]{background-color:#dc3545}.toast-card.warning[_ngcontent-%COMP%]{background-color:#ffc107}.toast-card.info[_ngcontent-%COMP%]{background-color:#17a2b8}.toast-card.light[_ngcontent-%COMP%]{background-color:#f8f9fa}.toast-card.dark[_ngcontent-%COMP%]{background-color:#343a40}.toast-card[_ngcontent-%COMP%] .lifetime-progress[_ngcontent-%COMP%]{display:flex;height:2px;width:0;border-radius:1px}'],data:{animation:[(0,m.X$)("nested",[qe]),(0,m.X$)("shrink",[Le,de]),(0,m.X$)("progress",[ve])]},changeDetection:0}),Be})(),se=(()=>{class Be{constructor(at,Ye,lt,tt,wt){this._document=Ye,this._factoryResolver=lt,this._appRef=tt,this._injector=wt,this._renderer=at.createRenderer(null,null)}get ref(){return this._componentRef||this._attach(),this._componentRef}get containerElement(){return this._containerElement||(this._containerElement=this._renderer.createElement("div"),this._renderer.addClass(this._containerElement,"toast-container"),this._renderer.appendChild(this._document.body,this._containerElement)),this._containerElement}ngOnDestroy(){this._detach(),this._destroyContainer()}_attach(){this._detach();const at=this._factoryResolver.resolveComponentFactory(re);this._componentRef=at.create(this._injector);const Ye=this._componentRef.hostView;this._appRef.attachView(Ye),this._renderer.appendChild(this.containerElement,Ye.rootNodes[0])}_detach(){this._componentRef&&(this._appRef.detachView(this._componentRef.hostView),this._componentRef.destroy(),this._componentRef=null)}_destroyContainer(){this._containerElement&&this._containerElement.parentNode&&(this._renderer.removeChild(this._containerElement.parentNode,this._containerElement),this._containerElement=null)}}return Be.\u0275fac=function(at){return new(at||Be)(l.LFG(l.FYo),l.LFG(n.K0),l.LFG(l._Vd),l.LFG(l.z2F),l.LFG(l.zs3))},Be.\u0275prov=l.Yz7({token:Be,factory:Be.\u0275fac}),Be})();const Ie=new l.OlP("ToastNotificationsConfig"),Ue={autoClose:!0,duration:8e3,type:"light",position:"bottom-right",component:(()=>{class Be{}return Be.\u0275fac=function(at){return new(at||Be)},Be.\u0275cmp=l.Xpm({type:Be,selectors:[["ng-component"]],inputs:{toast:"toast"},decls:6,vars:2,consts:[[1,"close-button",3,"click"],[1,"content-body"],["class","title",4,"ngIf"],[1,"title"]],template:function(at,Ye){1&at&&(l.TgZ(0,"div",0),l.NdJ("click",function(){return Ye.toast.close()}),l._uU(1,"\xd7"),l.qZA(),l.TgZ(2,"div",1),l.YNc(3,ce,2,1,"div",2),l.TgZ(4,"div"),l._uU(5),l.qZA(),l.qZA()),2&at&&(l.xp6(3),l.Q6J("ngIf",Ye.toast.caption),l.xp6(2),l.Oqu(Ye.toast.text))},directives:[n.O5],styles:["[_nghost-%COMP%]{display:block;position:relative}.close-button[_ngcontent-%COMP%]{border:0;background:0 0;position:absolute;font-size:1.6rem;top:.5rem;right:.8rem;line-height:.6;font-weight:700;opacity:.3;color:inherit;cursor:pointer}@media (min-width:576px){.close-button[_ngcontent-%COMP%]{font-size:1rem;top:.3rem;right:.4rem}}.close-button[_ngcontent-%COMP%]:hover{opacity:1}.content-body[_ngcontent-%COMP%]{padding:.5rem 2.2rem .5rem .5rem;font-size:.85rem;min-height:1rem}@media (min-width:576px){.content-body[_ngcontent-%COMP%]{padding-right:1rem}}.content-body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700}"]}),Be})()};let rt=(()=>{class Be{constructor(at,Ye){this._config=at,this._containerService=Ye}open(at,Ye){return"string"==typeof at&&(at=Object.assign({text:at},Ye)),at instanceof l.DyG&&(at=Object.assign({},Ye,{component:at})),at=Object.assign({},Ue,this._config,at),this._containerService.ref.instance.add(at)}}return Be.\u0275fac=function(at){return new(at||Be)(l.LFG(Ie),l.LFG(se))},Be.\u0275prov=l.Yz7({token:Be,factory:Be.\u0275fac}),Be})(),Tt=(()=>{class Be{constructor(at,Ye){this._viewContainerRef=at,this._componentFactoryResolver=Ye}ngOnInit(){const at=this._componentFactoryResolver.resolveComponentFactory(this.toast.component);this._componentRef=this._viewContainerRef.createComponent(at),this._componentRef.instance.toast=this.toast}ngOnDestroy(){this._componentRef&&(this._componentRef.destroy(),this._componentRef=null)}}return Be.\u0275fac=function(at){return new(at||Be)(l.Y36(l.s_b),l.Y36(l._Vd))},Be.\u0275dir=l.lG2({type:Be,selectors:[["","toastContent",""]],inputs:{toast:"toast"}}),Be})();const He={};let dt=(()=>{class Be{constructor(at){if(at)throw new Error("ToastNotificationsModule is already loaded. Import it in the root module only")}static forRoot(at={}){return{ngModule:Be,providers:[{provide:Ie,useValue:at}]}}}return Be.\u0275fac=function(at){return new(at||Be)(l.LFG(Be,12))},Be.\u0275mod=l.oAB({type:Be}),Be.\u0275inj=l.cJS({providers:[rt,se,{provide:Ie,useValue:He}],imports:[[n.ez]]}),Be})()},3013:(ft,Fe,p)=>{"use strict";p.d(Fe,{a6:()=>D,pg:()=>ee,iZ:()=>R,$_:()=>ce,h4:()=>te,F0:()=>J,b4:()=>I,jx:()=>De,m8:()=>qe,ws:()=>b});var l=p(7716),n=p(9765),m=p(6988),P=p(8583);const g=["*"];let D=(()=>{class de{}return de.STARTS_WITH="startsWith",de.CONTAINS="contains",de.NOT_CONTAINS="notContains",de.ENDS_WITH="endsWith",de.EQUALS="equals",de.NOT_EQUALS="notEquals",de.IN="in",de.LESS_THAN="lt",de.LESS_THAN_OR_EQUAL_TO="lte",de.GREATER_THAN="gt",de.GREATER_THAN_OR_EQUAL_TO="gte",de.BETWEEN="between",de.IS="is",de.IS_NOT="isNot",de.BEFORE="before",de.AFTER="after",de.DATE_IS="dateIs",de.DATE_IS_NOT="dateIsNot",de.DATE_BEFORE="dateBefore",de.DATE_AFTER="dateAfter",de})(),I=(()=>{class de{constructor(){this.ripple=!1,this.filterMatchModeOptions={text:[D.STARTS_WITH,D.CONTAINS,D.NOT_CONTAINS,D.ENDS_WITH,D.EQUALS,D.NOT_EQUALS],numeric:[D.EQUALS,D.NOT_EQUALS,D.LESS_THAN,D.LESS_THAN_OR_EQUAL_TO,D.GREATER_THAN,D.GREATER_THAN_OR_EQUAL_TO],date:[D.DATE_IS,D.DATE_IS_NOT,D.DATE_BEFORE,D.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new n.xQ,this.translationObserver=this.translationSource.asObservable()}getTranslation(re){return this.translation[re]}setTranslation(re){this.translation=Object.assign(Object.assign({},this.translation),re),this.translationSource.next(this.translation)}}return de.\u0275fac=function(re){return new(re||de)},de.\u0275prov=l.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),b=(()=>{class de{}return de.STARTS_WITH="startsWith",de.CONTAINS="contains",de.NOT_CONTAINS="notContains",de.ENDS_WITH="endsWith",de.EQUALS="equals",de.NOT_EQUALS="notEquals",de.NO_FILTER="noFilter",de.LT="lt",de.LTE="lte",de.GT="gt",de.GTE="gte",de.IS="is",de.IS_NOT="isNot",de.BEFORE="before",de.AFTER="after",de.CLEAR="clear",de.APPLY="apply",de.MATCH_ALL="matchAll",de.MATCH_ANY="matchAny",de.ADD_RULE="addRule",de.REMOVE_RULE="removeRule",de.ACCEPT="accept",de.REJECT="reject",de.CHOOSE="choose",de.UPLOAD="upload",de.CANCEL="cancel",de.DAY_NAMES="dayNames",de.DAY_NAMES_SHORT="dayNamesShort",de.DAY_NAMES_MIN="dayNamesMin",de.MONTH_NAMES="monthNames",de.MONTH_NAMES_SHORT="monthNamesShort",de.TODAY="today",de.WEEK_HEADER="weekHeader",de.WEAK="weak",de.MEDIUM="medium",de.STRONG="strong",de.PASSWORD_PROMPT="passwordPrompt",de.EMPTY_MESSAGE="emptyMessage",de.EMPTY_FILTER_MESSAGE="emptyFilterMessage",de})(),R=(()=>{class de{constructor(){this.filters={startsWith:(re,ie,se)=>{if(null==ie||""===ie.trim())return!0;if(null==re)return!1;let Ie=m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se);return m.gb.removeAccents(re.toString()).toLocaleLowerCase(se).slice(0,Ie.length)===Ie},contains:(re,ie,se)=>{if(null==ie||"string"==typeof ie&&""===ie.trim())return!0;if(null==re)return!1;let Ie=m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se);return-1!==m.gb.removeAccents(re.toString()).toLocaleLowerCase(se).indexOf(Ie)},notContains:(re,ie,se)=>{if(null==ie||"string"==typeof ie&&""===ie.trim())return!0;if(null==re)return!1;let Ie=m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se);return-1===m.gb.removeAccents(re.toString()).toLocaleLowerCase(se).indexOf(Ie)},endsWith:(re,ie,se)=>{if(null==ie||""===ie.trim())return!0;if(null==re)return!1;let Ie=m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se),pe=m.gb.removeAccents(re.toString()).toLocaleLowerCase(se);return-1!==pe.indexOf(Ie,pe.length-Ie.length)},equals:(re,ie,se)=>null==ie||"string"==typeof ie&&""===ie.trim()||null!=re&&(re.getTime&&ie.getTime?re.getTime()===ie.getTime():m.gb.removeAccents(re.toString()).toLocaleLowerCase(se)==m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se)),notEquals:(re,ie,se)=>!(null==ie||"string"==typeof ie&&""===ie.trim()||null!=re&&(re.getTime&&ie.getTime?re.getTime()===ie.getTime():m.gb.removeAccents(re.toString()).toLocaleLowerCase(se)==m.gb.removeAccents(ie.toString()).toLocaleLowerCase(se))),in:(re,ie)=>{if(null==ie||0===ie.length)return!0;for(let se=0;senull==ie||null==ie[0]||null==ie[1]||null!=re&&(re.getTime?ie[0].getTime()<=re.getTime()&&re.getTime()<=ie[1].getTime():ie[0]<=re&&re<=ie[1]),lt:(re,ie,se)=>null==ie||null!=re&&(re.getTime&&ie.getTime?re.getTime()null==ie||null!=re&&(re.getTime&&ie.getTime?re.getTime()<=ie.getTime():re<=ie),gt:(re,ie,se)=>null==ie||null!=re&&(re.getTime&&ie.getTime?re.getTime()>ie.getTime():re>ie),gte:(re,ie,se)=>null==ie||null!=re&&(re.getTime&&ie.getTime?re.getTime()>=ie.getTime():re>=ie),is:(re,ie,se)=>this.filters.equals(re,ie,se),isNot:(re,ie,se)=>this.filters.notEquals(re,ie,se),before:(re,ie,se)=>this.filters.lt(re,ie,se),after:(re,ie,se)=>this.filters.gt(re,ie,se),dateIs:(re,ie)=>null==ie||null!=re&&re.toDateString()===ie.toDateString(),dateIsNot:(re,ie)=>null==ie||null!=re&&re.toDateString()!==ie.toDateString(),dateBefore:(re,ie)=>null==ie||null!=re&&re.getTime()null==ie||null!=re&&re.getTime()>ie.getTime()}}filter(re,ie,se,Ie,pe){let be=[];if(re)for(let Ue of re)for(let rt of ie){let et=m.gb.resolveFieldData(Ue,rt);if(this.filters[Ie](et,se,pe)){be.push(Ue);break}}return be}register(re,ie){this.filters[re]=ie}}return de.\u0275fac=function(re){return new(re||de)},de.\u0275prov=l.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),J=(()=>{class de{constructor(){this.clickSource=new n.xQ,this.clickObservable=this.clickSource.asObservable()}add(re){re&&this.clickSource.next(re)}}return de.\u0275fac=function(re){return new(re||de)},de.\u0275prov=l.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),ee=(()=>{class de{}return de.AND="and",de.OR="or",de})(),te=(()=>{class de{}return de.\u0275fac=function(re){return new(re||de)},de.\u0275cmp=l.Xpm({type:de,selectors:[["p-header"]],ngContentSelectors:g,decls:1,vars:0,template:function(re,ie){1&re&&(l.F$t(),l.Hsn(0))},encapsulation:2}),de})(),ce=(()=>{class de{}return de.\u0275fac=function(re){return new(re||de)},de.\u0275cmp=l.Xpm({type:de,selectors:[["p-footer"]],ngContentSelectors:g,decls:1,vars:0,template:function(re,ie){1&re&&(l.F$t(),l.Hsn(0))},encapsulation:2}),de})(),De=(()=>{class de{constructor(re){this.template=re}getType(){return this.name}}return de.\u0275fac=function(re){return new(re||de)(l.Y36(l.Rgc))},de.\u0275dir=l.lG2({type:de,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),de})(),qe=(()=>{class de{}return de.\u0275fac=function(re){return new(re||de)},de.\u0275mod=l.oAB({type:de}),de.\u0275inj=l.cJS({imports:[[P.ez]]}),de})()},4207:(ft,Fe,p)=>{"use strict";p.d(Fe,{Hq:()=>G,hJ:()=>J});var l=p(7716),n=p(1818),m=p(8583),P=p(9309);let G=(()=>{class ${constructor(te){this.el=te,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1}ngAfterViewInit(){this._initialStyleClass=this.el.nativeElement.className,n.p.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),(this.icon||this.loading)&&this.createIconEl();let te=document.createElement("span");this.icon&&!this.label&&te.setAttribute("aria-hidden","true"),te.className="p-button-label",this.label?te.appendChild(document.createTextNode(this.label)):te.innerHTML=" ",this.el.nativeElement.appendChild(te),this.initialized=!0}getStyleClass(){let te="p-button p-component";return this.icon&&!this.label&&(te+=" p-button-icon-only"),this.loading&&(te+=" p-disabled p-button-loading",!this.icon&&this.label&&(te+=" p-button-loading-label-only")),te}setStyleClass(){let te=this.getStyleClass();this.el.nativeElement.className=te+" "+this._initialStyleClass}createIconEl(){let te=document.createElement("span");te.className="p-button-icon",te.setAttribute("aria-hidden","true");let ce=this.label?"p-button-icon-"+this.iconPos:null;ce&&n.p.addClass(te,ce);let De=this.getIconClass();De&&n.p.addMultipleClasses(te,De);let qe=n.p.findSingle(this.el.nativeElement,".p-button-label");qe?this.el.nativeElement.insertBefore(te,qe):this.el.nativeElement.appendChild(te)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}setIconClass(){let te=n.p.findSingle(this.el.nativeElement,".p-button-icon");te?te.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIconEl()}removeIconElement(){let te=n.p.findSingle(this.el.nativeElement,".p-button-icon");this.el.nativeElement.removeChild(te)}get label(){return this._label}set label(te){this._label=te,this.initialized&&(n.p.findSingle(this.el.nativeElement,".p-button-label").textContent=this._label||" ",(this.loading||this.icon)&&this.setIconClass(),this.setStyleClass())}get icon(){return this._icon}set icon(te){this._icon=te,this.initialized&&(this.setIconClass(),this.setStyleClass())}get loading(){return this._loading}set loading(te){this._loading=te,this.initialized&&(this.loading||this.icon?this.setIconClass():this.removeIconElement(),this.setStyleClass())}ngOnDestroy(){this.initialized=!1}}return $.\u0275fac=function(te){return new(te||$)(l.Y36(l.SBq))},$.\u0275dir=l.lG2({type:$,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),$})(),J=(()=>{class ${}return $.\u0275fac=function(te){return new(te||$)},$.\u0275mod=l.oAB({type:$}),$.\u0275inj=l.cJS({imports:[[m.ez,P.T]]}),$})()},8598:(ft,Fe,p)=>{"use strict";p.d(Fe,{f:()=>C,_8:()=>S});var l=p(7716),n=p(7238),m=p(8583),P=p(4207),g=p(9309),D=p(1818),I=p(3013),b=p(3679),E=p(6988);const U=["container"],R=["inputfield"],G=["contentWrapper"];function K(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"button",7),l.NdJ("click",function(q){l.CHM(v),l.oxw();const xe=l.MAs(1);return l.oxw().onButtonClick(q,xe)}),l.qZA()}if(2&F){const v=l.oxw(2);l.Q6J("icon",v.icon)("disabled",v.disabled),l.uIk("aria-label",v.iconAriaLabel)}}function J(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"input",4,5),l.NdJ("focus",function(q){return l.CHM(v),l.oxw().onInputFocus(q)})("keydown",function(q){return l.CHM(v),l.oxw().onInputKeydown(q)})("click",function(){return l.CHM(v),l.oxw().onInputClick()})("blur",function(q){return l.CHM(v),l.oxw().onInputBlur(q)})("input",function(q){return l.CHM(v),l.oxw().onUserInput(q)}),l.qZA(),l.YNc(2,K,1,3,"button",6)}if(2&F){const v=l.oxw();l.Tol(v.inputStyleClass),l.Q6J("value",v.inputFieldValue)("readonly",v.readonlyInput)("ngStyle",v.inputStyle)("placeholder",v.placeholder||"")("disabled",v.disabled)("ngClass","p-inputtext p-component"),l.uIk("id",v.inputId)("name",v.name)("required",v.required)("aria-required",v.required)("tabindex",v.tabindex)("inputmode",v.touchUI?"off":null)("aria-labelledby",v.ariaLabelledBy),l.xp6(2),l.Q6J("ngIf",v.showIcon)}}function $(F,H){1&F&&l.GkF(0)}function ee(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"button",27),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(4).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(4).onPrevButtonClick(q)}),l._UZ(1,"span",28),l.qZA()}}function te(F,H){if(1&F&&(l.TgZ(0,"span",29),l._uU(1),l.qZA()),2&F){const v=l.oxw().$implicit,V=l.oxw(3);l.xp6(1),l.Oqu(V.getTranslation("monthNames")[v.month])}}function ce(F,H){if(1&F&&(l.TgZ(0,"option",32),l._uU(1),l.qZA()),2&F){const v=H.$implicit,V=H.index,q=l.oxw(2).$implicit;l.Q6J("value",V)("selected",V===q.month),l.xp6(1),l.Oqu(v)}}function De(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"select",30),l.NdJ("change",function(q){return l.CHM(v),l.oxw(4).onMonthDropdownChange(q.target.value)}),l.YNc(1,ce,2,3,"option",31),l.qZA()}if(2&F){const v=l.oxw(4);l.xp6(1),l.Q6J("ngForOf",v.getTranslation("monthNames"))}}function qe(F,H){if(1&F&&(l.TgZ(0,"option",32),l._uU(1),l.qZA()),2&F){const v=H.$implicit,V=l.oxw(5);l.Q6J("value",v)("selected",v===V.currentYear),l.xp6(1),l.Oqu(v)}}function Le(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"select",33),l.NdJ("change",function(q){return l.CHM(v),l.oxw(4).onYearDropdownChange(q.target.value)}),l.YNc(1,qe,2,3,"option",31),l.qZA()}if(2&F){const v=l.oxw(4);l.xp6(1),l.Q6J("ngForOf",v.yearOptions)}}function de(F,H){if(1&F&&(l.TgZ(0,"span",34),l._uU(1),l.qZA()),2&F){const v=l.oxw().$implicit,V=l.oxw(3);l.xp6(1),l.Oqu("month"===V.view?V.currentYear:v.year)}}function ve(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"button",35),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(4).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(4).onNextButtonClick(q)}),l._UZ(1,"span",36),l.qZA()}}function re(F,H){if(1&F&&(l.TgZ(0,"th",42),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()),2&F){const v=l.oxw(5);l.xp6(2),l.Oqu(v.getTranslation("weekHeader"))}}function ie(F,H){if(1&F&&(l.TgZ(0,"th",43),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()),2&F){const v=H.$implicit;l.xp6(2),l.Oqu(v)}}function se(F,H){if(1&F&&(l.TgZ(0,"td",46),l.TgZ(1,"span",47),l._uU(2),l.qZA(),l.qZA()),2&F){const v=l.oxw().index,V=l.oxw(2).$implicit;l.xp6(2),l.hij(" ",V.weekNumbers[v]," ")}}function Ie(F,H){if(1&F&&(l.ynx(0),l._uU(1),l.BQk()),2&F){const v=l.oxw(2).$implicit;l.xp6(1),l.Oqu(v.day)}}function pe(F,H){1&F&&l.GkF(0)}const be=function(F,H){return{"p-highlight":F,"p-disabled":H}},Ue=function(F){return{$implicit:F}};function rt(F,H){if(1&F){const v=l.EpF();l.ynx(0),l.TgZ(1,"span",49),l.NdJ("click",function(q){l.CHM(v);const xe=l.oxw().$implicit;return l.oxw(6).onDateSelect(q,xe)})("keydown",function(q){l.CHM(v);const xe=l.oxw().$implicit,vt=l.oxw(3).index;return l.oxw(3).onDateCellKeydown(q,xe,vt)}),l.YNc(2,Ie,2,1,"ng-container",11),l.YNc(3,pe,1,0,"ng-container",50),l.qZA(),l.BQk()}if(2&F){const v=l.oxw().$implicit,V=l.oxw(6);l.xp6(1),l.Q6J("ngClass",l.WLB(4,be,V.isSelected(v),!v.selectable)),l.xp6(1),l.Q6J("ngIf",!V.dateTemplate),l.xp6(1),l.Q6J("ngTemplateOutlet",V.dateTemplate)("ngTemplateOutletContext",l.VKq(7,Ue,v))}}const et=function(F,H){return{"p-datepicker-other-month":F,"p-datepicker-today":H}};function Tt(F,H){if(1&F&&(l.TgZ(0,"td",48),l.YNc(1,rt,4,9,"ng-container",11),l.qZA()),2&F){const v=H.$implicit,V=l.oxw(6);l.Q6J("ngClass",l.WLB(2,et,v.otherMonth,v.today)),l.xp6(1),l.Q6J("ngIf",!v.otherMonth||V.showOtherMonths)}}function He(F,H){if(1&F&&(l.TgZ(0,"tr"),l.YNc(1,se,3,1,"td",44),l.YNc(2,Tt,2,5,"td",45),l.qZA()),2&F){const v=H.$implicit,V=l.oxw(5);l.xp6(1),l.Q6J("ngIf",V.showWeek),l.xp6(1),l.Q6J("ngForOf",v)}}function dt(F,H){if(1&F&&(l.TgZ(0,"div",37),l.TgZ(1,"table",38),l.TgZ(2,"thead"),l.TgZ(3,"tr"),l.YNc(4,re,3,1,"th",39),l.YNc(5,ie,3,1,"th",40),l.qZA(),l.qZA(),l.TgZ(6,"tbody"),l.YNc(7,He,3,2,"tr",41),l.qZA(),l.qZA(),l.qZA()),2&F){const v=l.oxw().$implicit,V=l.oxw(3);l.xp6(4),l.Q6J("ngIf",V.showWeek),l.xp6(1),l.Q6J("ngForOf",V.weekDays),l.xp6(2),l.Q6J("ngForOf",v.dates)}}function Oe(F,H){if(1&F&&(l.TgZ(0,"div",17),l.TgZ(1,"div",18),l.YNc(2,ee,2,0,"button",19),l.TgZ(3,"div",20),l.YNc(4,te,2,1,"span",21),l.YNc(5,De,2,1,"select",22),l.YNc(6,Le,2,1,"select",23),l.YNc(7,de,2,1,"span",24),l.qZA(),l.YNc(8,ve,2,0,"button",25),l.qZA(),l.YNc(9,dt,8,3,"div",26),l.qZA()),2&F){const v=H.index,V=l.oxw(3);l.xp6(2),l.Q6J("ngIf",0===v),l.xp6(2),l.Q6J("ngIf",!V.monthNavigator&&"month"!==V.view),l.xp6(1),l.Q6J("ngIf",V.monthNavigator&&"month"!==V.view&&1===V.numberOfMonths),l.xp6(1),l.Q6J("ngIf",V.yearNavigator&&1===V.numberOfMonths),l.xp6(1),l.Q6J("ngIf",!V.yearNavigator),l.xp6(1),l.Q6J("ngIf",1===V.numberOfMonths||v===V.numberOfMonths-1),l.xp6(1),l.Q6J("ngIf","date"===V.view)}}function je(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"span",53),l.NdJ("click",function(q){const vt=l.CHM(v).index;return l.oxw(4).onMonthSelect(q,vt)})("keydown",function(q){const vt=l.CHM(v).index;return l.oxw(4).onMonthCellKeydown(q,vt)}),l._uU(1),l.qZA()}if(2&F){const v=H.$implicit,V=H.index,q=l.oxw(4);l.Q6J("ngClass",l.WLB(2,be,q.isMonthSelected(V),!q.isSelectable(1,V,q.currentYear,!1))),l.xp6(1),l.hij(" ",v," ")}}function Ke(F,H){if(1&F&&(l.TgZ(0,"div",51),l.YNc(1,je,2,5,"span",52),l.qZA()),2&F){const v=l.oxw(3);l.xp6(1),l.Q6J("ngForOf",v.monthPickerValues)}}function Be(F,H){if(1&F&&(l.ynx(0),l.TgZ(1,"div",14),l.YNc(2,Oe,10,7,"div",15),l.qZA(),l.YNc(3,Ke,2,1,"div",16),l.BQk()),2&F){const v=l.oxw(2);l.xp6(2),l.Q6J("ngForOf",v.months),l.xp6(1),l.Q6J("ngIf","month"===v.view)}}function At(F,H){1&F&&(l.ynx(0),l._uU(1,"0"),l.BQk())}function at(F,H){1&F&&(l.ynx(0),l._uU(1,"0"),l.BQk())}function Ye(F,H){if(1&F&&(l.TgZ(0,"div",59),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()),2&F){const v=l.oxw(3);l.xp6(2),l.Oqu(v.timeSeparator)}}function lt(F,H){1&F&&(l.ynx(0),l._uU(1,"0"),l.BQk())}function tt(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"div",64),l.TgZ(1,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(3).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(3).incrementSecond(q)})("mousedown",function(q){return l.CHM(v),l.oxw(3).onTimePickerElementMouseDown(q,2,1)})("mouseup",function(q){return l.CHM(v),l.oxw(3).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(3).onTimePickerElementMouseLeave()}),l._UZ(2,"span",57),l.qZA(),l.TgZ(3,"span"),l.YNc(4,lt,2,0,"ng-container",11),l._uU(5),l.qZA(),l.TgZ(6,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(3).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(3).decrementSecond(q)})("mousedown",function(q){return l.CHM(v),l.oxw(3).onTimePickerElementMouseDown(q,2,-1)})("mouseup",function(q){return l.CHM(v),l.oxw(3).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(3).onTimePickerElementMouseLeave()}),l._UZ(7,"span",58),l.qZA(),l.qZA()}if(2&F){const v=l.oxw(3);l.xp6(4),l.Q6J("ngIf",v.currentSecond<10),l.xp6(1),l.Oqu(v.currentSecond)}}function wt(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"div",65),l.TgZ(1,"button",66),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(3).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(3).toggleAMPM(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(3).toggleAMPM(q)}),l._UZ(2,"span",57),l.qZA(),l.TgZ(3,"span"),l._uU(4),l.qZA(),l.TgZ(5,"button",66),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(3).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(3).toggleAMPM(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(3).toggleAMPM(q)}),l._UZ(6,"span",58),l.qZA(),l.qZA()}if(2&F){const v=l.oxw(3);l.xp6(4),l.Oqu(v.pm?"PM":"AM")}}function Gt(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"div",54),l.TgZ(1,"div",55),l.TgZ(2,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(2).incrementHour(q)})("mousedown",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseDown(q,0,1)})("mouseup",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(2).onTimePickerElementMouseLeave()}),l._UZ(3,"span",57),l.qZA(),l.TgZ(4,"span"),l.YNc(5,At,2,0,"ng-container",11),l._uU(6),l.qZA(),l.TgZ(7,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(2).decrementHour(q)})("mousedown",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseDown(q,0,-1)})("mouseup",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(2).onTimePickerElementMouseLeave()}),l._UZ(8,"span",58),l.qZA(),l.qZA(),l.TgZ(9,"div",59),l.TgZ(10,"span"),l._uU(11),l.qZA(),l.qZA(),l.TgZ(12,"div",60),l.TgZ(13,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(2).incrementMinute(q)})("mousedown",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseDown(q,1,1)})("mouseup",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(2).onTimePickerElementMouseLeave()}),l._UZ(14,"span",57),l.qZA(),l.TgZ(15,"span"),l.YNc(16,at,2,0,"ng-container",11),l._uU(17),l.qZA(),l.TgZ(18,"button",56),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("keydown.enter",function(q){return l.CHM(v),l.oxw(2).decrementMinute(q)})("mousedown",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseDown(q,1,-1)})("mouseup",function(q){return l.CHM(v),l.oxw(2).onTimePickerElementMouseUp(q)})("mouseleave",function(){return l.CHM(v),l.oxw(2).onTimePickerElementMouseLeave()}),l._UZ(19,"span",58),l.qZA(),l.qZA(),l.YNc(20,Ye,3,1,"div",61),l.YNc(21,tt,8,2,"div",62),l.YNc(22,wt,7,1,"div",63),l.qZA()}if(2&F){const v=l.oxw(2);l.xp6(5),l.Q6J("ngIf",v.currentHour<10),l.xp6(1),l.Oqu(v.currentHour),l.xp6(5),l.Oqu(v.timeSeparator),l.xp6(5),l.Q6J("ngIf",v.currentMinute<10),l.xp6(1),l.Oqu(v.currentMinute),l.xp6(3),l.Q6J("ngIf",v.showSeconds),l.xp6(1),l.Q6J("ngIf",v.showSeconds),l.xp6(1),l.Q6J("ngIf","12"==v.hourFormat)}}const en=function(F){return[F]};function St(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"div",67),l.TgZ(1,"button",68),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(2).onTodayButtonClick(q)}),l.qZA(),l.TgZ(2,"button",68),l.NdJ("keydown",function(q){return l.CHM(v),l.oxw(2).onContainerButtonKeydown(q)})("click",function(q){return l.CHM(v),l.oxw(2).onClearButtonClick(q)}),l.qZA(),l.qZA()}if(2&F){const v=l.oxw(2);l.xp6(1),l.Q6J("label",v.getTranslation("today"))("ngClass",l.VKq(4,en,v.todayButtonStyleClass)),l.xp6(1),l.Q6J("label",v.getTranslation("clear"))("ngClass",l.VKq(6,en,v.clearButtonStyleClass))}}function gt(F,H){1&F&&l.GkF(0)}const Qe=function(F,H,v,V,q,xe){return{"p-datepicker p-component":!0,"p-datepicker-inline":F,"p-disabled":H,"p-datepicker-timeonly":v,"p-datepicker-multiple-month":V,"p-datepicker-monthpicker":q,"p-datepicker-touch-ui":xe}},ze=function(F,H){return{showTransitionParams:F,hideTransitionParams:H}},It=function(F){return{value:"visibleTouchUI",params:F}},qt=function(F){return{value:"visible",params:F}};function Ct(F,H){if(1&F){const v=l.EpF();l.TgZ(0,"div",8,9),l.NdJ("@overlayAnimation.start",function(q){return l.CHM(v),l.oxw().onOverlayAnimationStart(q)})("@overlayAnimation.done",function(q){return l.CHM(v),l.oxw().onOverlayAnimationDone(q)})("click",function(q){return l.CHM(v),l.oxw().onOverlayClick(q)}),l.Hsn(2),l.YNc(3,$,1,0,"ng-container",10),l.YNc(4,Be,4,2,"ng-container",11),l.YNc(5,Gt,23,8,"div",12),l.YNc(6,St,3,8,"div",13),l.Hsn(7,1),l.YNc(8,gt,1,0,"ng-container",10),l.qZA()}if(2&F){const v=l.oxw();l.Tol(v.panelStyleClass),l.Q6J("ngStyle",v.panelStyle)("ngClass",l.HTZ(11,Qe,v.inline,v.disabled,v.timeOnly,v.numberOfMonths>1,"month"===v.view,v.touchUI))("@overlayAnimation",v.touchUI?l.VKq(21,It,l.WLB(18,ze,v.showTransitionOptions,v.hideTransitionOptions)):l.VKq(26,qt,l.WLB(23,ze,v.showTransitionOptions,v.hideTransitionOptions)))("@.disabled",!0===v.inline),l.xp6(3),l.Q6J("ngTemplateOutlet",v.headerTemplate),l.xp6(1),l.Q6J("ngIf",!v.timeOnly),l.xp6(1),l.Q6J("ngIf",v.showTime||v.timeOnly),l.xp6(1),l.Q6J("ngIf",v.showButtonBar),l.xp6(2),l.Q6J("ngTemplateOutlet",v.footerTemplate)}}const fe=[[["p-header"]],[["p-footer"]]],Y=function(F,H,v,V){return{"p-calendar":!0,"p-calendar-w-btn":F,"p-calendar-timeonly":H,"p-calendar-disabled":v,"p-focus":V}},x=["p-header","p-footer"],A={provide:b.JU,useExisting:(0,l.Gpc)(()=>C),multi:!0};let C=(()=>{class F{constructor(v,V,q,xe,vt,xt){this.el=v,this.renderer=V,this.cd=q,this.zone=xe,this.config=vt,this.overlayService=xt,this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.icon="pi pi-calendar",this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="p-button-text",this.clearButtonStyleClass="p-button-text",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.numberOfMonths=1,this.view="date",this.timeSeparator=":",this.focusTrap=!0,this.firstDayOfWeek=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.onFocus=new l.vpe,this.onBlur=new l.vpe,this.onClose=new l.vpe,this.onSelect=new l.vpe,this.onInput=new l.vpe,this.onTodayClick=new l.vpe,this.onClearClick=new l.vpe,this.onMonthChange=new l.vpe,this.onYearChange=new l.vpe,this.onClickOutside=new l.vpe,this.onShow=new l.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.inputFieldValue=null,this.navigationState=null,this.convertTo24Hour=function(kt,Yt){return"12"==this.hourFormat?12===kt?Yt?12:0:Yt?kt+12:kt:kt}}set content(v){this.contentViewChild=v,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):this.initFocusableCell())}get defaultDate(){return this._defaultDate}set defaultDate(v){if(this._defaultDate=v,this.initialized){const V=v||new Date;this.currentMonth=V.getMonth(),this.currentYear=V.getFullYear(),this.initTime(V),this.createMonths(this.currentMonth,this.currentYear)}}get minDate(){return this._minDate}set minDate(v){this._minDate=v,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(v){this._maxDate=v,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(v){this._disabledDates=v,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(v){this._disabledDays=v,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(v){if(this._yearRange=v,v){const V=v.split(":"),q=parseInt(V[0]),xe=parseInt(V[1]);this.populateYearOptions(q,xe)}}get showTime(){return this._showTime}set showTime(v){this._showTime=v,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get locale(){return this._locale}set locale(v){console.warn("Locale property has no effect, use new i18n API instead.")}ngOnInit(){const v=this.defaultDate||new Date;this.currentMonth=v.getMonth(),this.currentYear=v.getFullYear(),"date"===this.view?(this.createWeekDays(),this.initTime(v),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7):"month"===this.view&&this.createMonthPickerValues(),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(v=>{switch(v.getType()){case"date":this.dateTemplate=v.template;break;case"disabledDate":this.disabledDateTemplate=v.template;break;case"header":this.headerTemplate=v.template;break;case"footer":this.footerTemplate=v.template;break;default:this.dateTemplate=v.template}})}getTranslation(v){return this.config.getTranslation(v)}populateYearOptions(v,V){this.yearOptions=[];for(let q=v;q<=V;q++)this.yearOptions.push(q)}createWeekDays(){this.weekDays=[];let v=this.firstDayOfWeek,V=this.getTranslation(I.ws.DAY_NAMES_MIN);for(let q=0;q<7;q++)this.weekDays.push(V[v]),v=6==v?0:++v}createMonthPickerValues(){this.monthPickerValues=[];let v=this.getTranslation(I.ws.MONTH_NAMES_SHORT);for(let V=0;V<=11;V++)this.monthPickerValues.push(v[V])}createMonths(v,V){this.months=this.months=[];for(let q=0;q11&&(xe=xe%11-1,vt=V+1),this.months.push(this.createMonth(xe,vt))}}getWeekNumber(v){let V=new Date(v.getTime());V.setDate(V.getDate()+4-(V.getDay()||7));let q=V.getTime();return V.setMonth(0),V.setDate(1),Math.floor(Math.round((q-V.getTime())/864e5)/7)+1}createMonth(v,V){let q=[],xe=this.getFirstDayOfMonthIndex(v,V),vt=this.getDaysCountInMonth(v,V),xt=this.getDaysCountInPrevMonth(v,V),kt=1,Yt=new Date,Zt=[],Wt=Math.ceil((vt+xe)/7);for(let an=0;anvt){let ht=this.getNextMonthAndYear(v,V);Jt.push({day:kt-vt,month:ht.month,year:ht.year,otherMonth:!0,today:this.isToday(Yt,kt-vt,ht.month,ht.year),selectable:this.isSelectable(kt-vt,ht.month,ht.year,!0)})}else Jt.push({day:kt,month:v,year:V,today:this.isToday(Yt,kt,v,V),selectable:this.isSelectable(kt,v,V,!1)});kt++}this.showWeek&&Zt.push(this.getWeekNumber(new Date(Jt[0].year,Jt[0].month,Jt[0].day))),q.push(Jt)}return{month:v,year:V,dates:q,weekNumbers:Zt}}initTime(v){this.pm=v.getHours()>11,this.showTime?(this.currentMinute=v.getMinutes(),this.currentSecond=v.getSeconds(),this.setCurrentHourPM(v.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(v){v.stopPropagation(),this.disabled?v.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(v){v.stopPropagation(),this.disabled?v.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){if(this.currentYear--,this.yearNavigator&&this.currentYearthis.yearOptions[this.yearOptions.length-1]){let v=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+v,this.yearOptions[this.yearOptions.length-1]+v)}}onDateSelect(v,V){!this.disabled&&V.selectable?(this.isMultipleSelection()&&this.isSelected(V)?(this.value=this.value.filter((q,xe)=>!this.isDateEquals(q,V)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(V)&&this.selectDate(V),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{v.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),v.preventDefault()):v.preventDefault()}shouldSelectDate(v){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(v,V){D.p.hasClass(v.target,"p-disabled")||this.onDateSelect(v,{year:this.currentYear,month:V,day:1,selectable:!0})}updateInputfield(){let v="";if(this.value)if(this.isSingleSelection())v=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let V=0;V11,this.currentHour=v>=12?12==v?12:v-12:0==v?12:v):this.currentHour=v}selectDate(v){let V=new Date(v.year,v.month,v.day);if(this.showTime&&(V.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),V.setMinutes(this.currentMinute),V.setSeconds(this.currentSecond)),this.minDate&&this.minDate>V&&(V=this.minDate,this.setCurrentHourPM(V.getHours()),this.currentMinute=V.getMinutes(),this.currentSecond=V.getSeconds()),this.maxDate&&this.maxDate=q.getTime()?xe=V:(q=V,xe=null),this.updateModel([q,xe])}else this.updateModel([V,null]);this.onSelect.emit(V)}updateModel(v){if(this.value=v,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let V=null;this.value&&(V=this.value.map(q=>this.formatDateTime(q))),this.onModelChange(V)}}getFirstDayOfMonthIndex(v,V){let q=new Date;q.setDate(1),q.setMonth(v),q.setFullYear(V);let xe=q.getDay()+this.getSundayIndex();return xe>=7?xe-7:xe}getDaysCountInMonth(v,V){return 32-this.daylightSavingAdjust(new Date(V,v,32)).getDate()}getDaysCountInPrevMonth(v,V){let q=this.getPreviousMonthAndYear(v,V);return this.getDaysCountInMonth(q.month,q.year)}getPreviousMonthAndYear(v,V){let q,xe;return 0===v?(q=11,xe=V-1):(q=v-1,xe=V),{month:q,year:xe}}getNextMonthAndYear(v,V){let q,xe;return 11===v?(q=0,xe=V+1):(q=v+1,xe=V),{month:q,year:xe}}getSundayIndex(){return this.firstDayOfWeek>0?7-this.firstDayOfWeek:0}isSelected(v){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,v);if(this.isMultipleSelection()){let V=!1;for(let q of this.value)if(V=this.isDateEquals(q,v),V)break;return V}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],v)||this.isDateEquals(this.value[1],v)||this.isDateBetween(this.value[0],this.value[1],v):this.isDateEquals(this.value[0],v):void 0}isMonthSelected(v){let V=this.value?Array.isArray(this.value)?this.value[0].getDate():this.value.getDate():1;return this.isSelected({year:this.currentYear,month:v,day:V,selectable:!0})}isDateEquals(v,V){return!!v&&v.getDate()===V.day&&v.getMonth()===V.month&&v.getFullYear()===V.year}isDateBetween(v,V,q){if(v&&V){let vt=new Date(q.year,q.month,q.day);return v.getTime()<=vt.getTime()&&V.getTime()>=vt.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(v,V,q,xe){return v.getDate()===V&&v.getMonth()===q&&v.getFullYear()===xe}isSelectable(v,V,q,xe){let vt=!0,xt=!0,kt=!0,Yt=!0;return!(xe&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>q||this.minDate.getFullYear()===q&&(this.minDate.getMonth()>V||this.minDate.getMonth()===V&&this.minDate.getDate()>v))&&(vt=!1),this.maxDate&&(this.maxDate.getFullYear()V.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(v,V,q){const xe=v.currentTarget,vt=xe.parentElement;switch(v.which){case 40:{xe.tabIndex="-1";let xt=D.p.index(vt),kt=vt.parentElement.nextElementSibling;kt?D.p.hasClass(kt.children[xt].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(v)):(kt.children[xt].children[0].tabIndex="0",kt.children[xt].children[0].focus()):(this.navigationState={backward:!1},this.navForward(v)),v.preventDefault();break}case 38:{xe.tabIndex="-1";let xt=D.p.index(vt),kt=vt.parentElement.previousElementSibling;if(kt){let Yt=kt.children[xt].children[0];D.p.hasClass(Yt,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(v)):(Yt.tabIndex="0",Yt.focus())}else this.navigationState={backward:!0},this.navBackward(v);v.preventDefault();break}case 37:{xe.tabIndex="-1";let xt=vt.previousElementSibling;if(xt){let kt=xt.children[0];D.p.hasClass(kt,"p-disabled")||D.p.hasClass(kt.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,q):(kt.tabIndex="0",kt.focus())}else this.navigateToMonth(!0,q);v.preventDefault();break}case 39:{xe.tabIndex="-1";let xt=vt.nextElementSibling;if(xt){let kt=xt.children[0];D.p.hasClass(kt,"p-disabled")?this.navigateToMonth(!1,q):(kt.tabIndex="0",kt.focus())}else this.navigateToMonth(!1,q);v.preventDefault();break}case 13:this.onDateSelect(v,V),v.preventDefault();break;case 27:this.overlayVisible=!1,v.preventDefault();break;case 9:this.inline||this.trapFocus(v)}}onMonthCellKeydown(v,V){const q=v.currentTarget;switch(v.which){case 38:case 40:{q.tabIndex="-1";var xe=q.parentElement.children,vt=D.p.index(q);let xt=xe[40===v.which?vt+3:vt-3];xt&&(xt.tabIndex="0",xt.focus()),v.preventDefault();break}case 37:{q.tabIndex="-1";let xt=q.previousElementSibling;xt&&(xt.tabIndex="0",xt.focus()),v.preventDefault();break}case 39:{q.tabIndex="-1";let xt=q.nextElementSibling;xt&&(xt.tabIndex="0",xt.focus()),v.preventDefault();break}case 13:this.onMonthSelect(v,V),v.preventDefault();break;case 27:this.overlayVisible=!1,v.preventDefault();break;case 9:this.inline||this.trapFocus(v)}}navigateToMonth(v,V){if(v)if(1===this.numberOfMonths||0===V)this.navigationState={backward:!0},this.navBackward(event);else{let xe=D.p.find(this.contentViewChild.nativeElement.children[V-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),vt=xe[xe.length-1];vt.tabIndex="0",vt.focus()}else if(1===this.numberOfMonths||V===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let xe=D.p.findSingle(this.contentViewChild.nativeElement.children[V+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");xe.tabIndex="0",xe.focus()}}updateFocus(){let v;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?D.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():D.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let V=D.p.find(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");v=V[V.length-1]}else v=D.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");v&&(v.tabIndex="0",v.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){let v;if("month"===this.view){let V=D.p.find(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),q=D.p.findSingle(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month.p-highlight");V.forEach(xe=>xe.tabIndex=-1),v=q||V[0],0===V.length&&D.p.find(this.contentViewChild.nativeElement,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(vt=>vt.tabIndex=-1)}else if(v=D.p.findSingle(this.contentViewChild.nativeElement,"span.p-highlight"),!v){v=D.p.findSingle(this.contentViewChild.nativeElement,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)")||D.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}v&&(v.tabIndex="0")}trapFocus(v){let V=D.p.getFocusableElements(this.contentViewChild.nativeElement);if(V&&V.length>0)if(V[0].ownerDocument.activeElement){let q=V.indexOf(V[0].ownerDocument.activeElement);if(v.shiftKey)if(-1==q||0===q)if(this.focusTrap)V[V.length-1].focus();else{if(-1===q)return this.hideOverlay();if(0===q)return}else V[q-1].focus();else if(-1==q||q===V.length-1){if(!this.focusTrap&&-1!=q)return this.hideOverlay();V[0].focus()}else V[q+1].focus()}else V[0].focus();v.preventDefault()}onMonthDropdownChange(v){this.currentMonth=parseInt(v),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}onYearDropdownChange(v){this.currentYear=parseInt(v),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}validateTime(v,V,q,xe){let vt=this.value;const xt=this.convertTo24Hour(v,xe);this.isRangeSelection()&&(vt=this.value[1]||this.value[0]),this.isMultipleSelection()&&(vt=this.value[this.value.length-1]);const kt=vt?vt.toDateString():null;return!(this.minDate&&kt&&this.minDate.toDateString()===kt&&(this.minDate.getHours()>xt||this.minDate.getHours()===xt&&(this.minDate.getMinutes()>V||this.minDate.getMinutes()===V&&this.minDate.getSeconds()>q))||this.maxDate&&kt&&this.maxDate.toDateString()===kt&&(this.maxDate.getHours()=24?q-24:q:"12"==this.hourFormat&&(this.currentHour<12&&q>11&&(xe=!this.pm),q=q>=13?q-12:q),this.validateTime(q,this.currentMinute,this.currentSecond,xe)&&(this.currentHour=q,this.pm=xe),v.preventDefault()}onTimePickerElementMouseDown(v,V,q){this.disabled||(this.repeat(v,null,V,q),v.preventDefault())}onTimePickerElementMouseUp(v){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(v,V,q,xe){let vt=V||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(v,100,q,xe),this.cd.markForCheck()},vt),q){case 0:1===xe?this.incrementHour(v):this.decrementHour(v);break;case 1:1===xe?this.incrementMinute(v):this.decrementMinute(v);break;case 2:1===xe?this.incrementSecond(v):this.decrementSecond(v)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(v){let V=this.currentHour-this.stepHour,q=this.pm;"24"==this.hourFormat?V=V<0?24+V:V:"12"==this.hourFormat&&(12===this.currentHour&&(q=!this.pm),V=V<=0?12+V:V),this.validateTime(V,this.currentMinute,this.currentSecond,q)&&(this.currentHour=V,this.pm=q),v.preventDefault()}incrementMinute(v){let V=this.currentMinute+this.stepMinute;V=V>59?V-60:V,this.validateTime(this.currentHour,V,this.currentSecond,this.pm)&&(this.currentMinute=V),v.preventDefault()}decrementMinute(v){let V=this.currentMinute-this.stepMinute;V=V<0?60+V:V,this.validateTime(this.currentHour,V,this.currentSecond,this.pm)&&(this.currentMinute=V),v.preventDefault()}incrementSecond(v){let V=this.currentSecond+this.stepSecond;V=V>59?V-60:V,this.validateTime(this.currentHour,this.currentMinute,V,this.pm)&&(this.currentSecond=V),v.preventDefault()}decrementSecond(v){let V=this.currentSecond-this.stepSecond;V=V<0?60+V:V,this.validateTime(this.currentHour,this.currentMinute,V,this.pm)&&(this.currentSecond=V),v.preventDefault()}updateTime(){let v=this.value;this.isRangeSelection()&&(v=this.value[1]||this.value[0]),this.isMultipleSelection()&&(v=this.value[this.value.length-1]),v=v?new Date(v.getTime()):new Date,v.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),v.setMinutes(this.currentMinute),v.setSeconds(this.currentSecond),this.isRangeSelection()&&(v=this.value[1]?[this.value[0],v]:[v,null]),this.isMultipleSelection()&&(v=[...this.value.slice(0,-1),v]),this.updateModel(v),this.onSelect.emit(v),this.updateInputfield()}toggleAMPM(v){const V=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,V)&&(this.pm=V,this.updateTime()),v.preventDefault()}onUserInput(v){if(!this.isKeydown)return;this.isKeydown=!1;let V=v.target.value;try{let q=this.parseValueFromString(V);this.isValidSelection(q)&&(this.updateModel(q),this.updateUI())}catch(q){this.updateModel(null)}this.filled=null!=V&&V.length,this.onInput.emit(v)}isValidSelection(v){let V=!0;return this.isSingleSelection()?this.isSelectable(v.getDate(),v.getMonth(),v.getFullYear(),!1)||(V=!1):v.every(q=>this.isSelectable(q.getDate(),q.getMonth(),q.getFullYear(),!1))&&this.isRangeSelection()&&(V=v.length>1&&v[1]>v[0]),V}parseValueFromString(v){if(!v||0===v.trim().length)return null;let V;if(this.isSingleSelection())V=this.parseDateTime(v);else if(this.isMultipleSelection()){let q=v.split(this.multipleSeparator);V=[];for(let xe of q)V.push(this.parseDateTime(xe.trim()))}else if(this.isRangeSelection()){let q=v.split(" "+this.rangeSeparator+" ");V=[];for(let xe=0;xe{this.disableModality()}),document.body.appendChild(this.mask),D.p.addClass(document.body,"p-overflow-hidden"))}disableModality(){this.mask&&(D.p.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.destroyMask.bind(this),this.mask.addEventListener("animationend",this.animationEndListener))}destroyMask(){document.body.removeChild(this.mask);let V,v=document.body.children;for(let q=0;q{const Wt=q+1{let Jt=""+Wt;if(xe(Zt))for(;Jt.lengthxe(Zt)?Jt[Wt]:an[Wt];let kt="",Yt=!1;if(v)for(q=0;q11&&12!=q&&(q-=12),V+="12"==this.hourFormat&&0===q?12:q<10?"0"+q:q,V+=":",V+=xe<10?"0"+xe:xe,this.showSeconds&&(V+=":",V+=vt<10?"0"+vt:vt),"12"==this.hourFormat&&(V+=v.getHours()>11?" PM":" AM"),V}parseTime(v){let V=v.split(":");if(V.length!==(this.showSeconds?3:2))throw"Invalid time";let xe=parseInt(V[0]),vt=parseInt(V[1]),xt=this.showSeconds?parseInt(V[2]):null;if(isNaN(xe)||isNaN(vt)||xe>23||vt>59||"12"==this.hourFormat&&xe>12||this.showSeconds&&(isNaN(xt)||xt>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==xe&&this.pm?xe+=12:!this.pm&&12===xe&&(xe-=12)),{hour:xe,minute:vt,second:xt}}parseDate(v,V){if(null==V||null==v)throw"Invalid arguments";if(""===(v="object"==typeof v?v.toString():v+""))return null;let q,xe,vt,ln,xt=0,kt="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),Yt=-1,Zt=-1,Wt=-1,an=-1,Jt=!1,ht=Se=>{let Ge=q+1{let Ge=ht(Se),ae="@"===Se?14:"!"===Se?20:"y"===Se&&Ge?4:"o"===Se?3:2,ye=new RegExp("^\\d{"+("y"===Se?ae:1)+","+ae+"}"),Je=v.substring(xt).match(ye);if(!Je)throw"Missing number at position "+xt;return xt+=Je[0].length,parseInt(Je[0],10)},Re=(Se,Ge,ae)=>{let _e=-1,ye=ht(Se)?ae:Ge,Je=[];for(let _t=0;_t-(_t[1].length-Ut[1].length));for(let _t=0;_t{if(v.charAt(xt)!==V.charAt(q))throw"Unexpected literal at position "+xt;xt++};for("month"===this.view&&(Wt=1),q=0;q-1)for(Zt=1,Wt=an;xe=this.getDaysCountInMonth(Yt,Zt-1),!(Wt<=xe);)Zt++,Wt-=xe;if(ln=this.daylightSavingAdjust(new Date(Yt,Zt-1,Wt)),ln.getFullYear()!==Yt||ln.getMonth()+1!==Zt||ln.getDate()!==Wt)throw"Invalid date";return ln}daylightSavingAdjust(v){return v?(v.setHours(v.getHours()>12?v.getHours()+2:0),v):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(v){let V=new Date,q={day:V.getDate(),month:V.getMonth(),year:V.getFullYear(),otherMonth:V.getMonth()!==this.currentMonth||V.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(v,q),this.onTodayClick.emit(v)}onClearButtonClick(v){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(v)}bindDocumentClickListener(){this.documentClickListener||this.zone.runOutsideAngular(()=>{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",V=>{this.isOutsideClicked(V)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(V),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener))}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new D.V(this.containerViewChild.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(v){return!(this.el.nativeElement.isSameNode(v.target)||this.isNavIconClicked(v)||this.el.nativeElement.contains(v.target)||this.overlay&&this.overlay.contains(v.target))}isNavIconClicked(v){return D.p.hasClass(v.target,"p-datepicker-prev")||D.p.hasClass(v.target,"p-datepicker-prev-icon")||D.p.hasClass(v.target,"p-datepicker-next")||D.p.hasClass(v.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!D.p.isAndroid()&&this.hideOverlay()}onOverlayHide(){this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&E.P9.clear(this.overlay),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}}return F.\u0275fac=function(v){return new(v||F)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(l.R0b),l.Y36(I.b4),l.Y36(I.F0))},F.\u0275cmp=l.Xpm({type:F,selectors:[["p-calendar"]],contentQueries:function(v,V,q){if(1&v&&l.Suo(q,I.jx,4),2&v){let xe;l.iGM(xe=l.CRH())&&(V.templates=xe)}},viewQuery:function(v,V){if(1&v&&(l.Gf(U,5),l.Gf(R,5),l.Gf(G,5)),2&v){let q;l.iGM(q=l.CRH())&&(V.containerViewChild=q.first),l.iGM(q=l.CRH())&&(V.inputfieldViewChild=q.first),l.iGM(q=l.CRH())&&(V.content=q.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(v,V){2&v&&l.ekj("p-inputwrapper-filled",V.filled)("p-inputwrapper-focus",V.focus)},inputs:{style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",numberOfMonths:"numberOfMonths",view:"view",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",firstDayOfWeek:"firstDayOfWeek",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",defaultDate:"defaultDate",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",locale:"locale"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[l._Bn([A])],ngContentSelectors:x,decls:4,vars:11,consts:[[3,"ngClass","ngStyle"],["container",""],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","autocomplete","off",3,"value","readonly","ngStyle","placeholder","disabled","ngClass","focus","keydown","click","blur","input"],["inputfield",""],["type","button","pButton","","pRipple","","class","p-datepicker-trigger","tabindex","0",3,"icon","disabled","click",4,"ngIf"],["type","button","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger",3,"icon","disabled","click"],[3,"ngStyle","ngClass","click"],["contentWrapper",""],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["class","p-datepicker-month",4,"ngIf"],["tabindex","0","class","p-datepicker-month",3,"change",4,"ngIf"],["tabindex","0","class","p-datepicker-year",3,"change",4,"ngIf"],["class","p-datepicker-year",4,"ngIf"],["class","p-datepicker-next p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],[1,"p-datepicker-prev-icon","pi","pi-chevron-left"],[1,"p-datepicker-month"],["tabindex","0",1,"p-datepicker-month",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["tabindex","0",1,"p-datepicker-year",3,"change"],[1,"p-datepicker-year"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[1,"p-datepicker-next-icon","pi","pi-chevron-right"],[1,"p-datepicker-calendar-container"],[1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],[3,"ngClass"],["draggable","false","pRipple","",3,"ngClass","click","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"ngClass","click","keydown"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","mousedown","mouseup","mouseleave"],[1,"pi","pi-chevron-up"],[1,"pi","pi-chevron-down"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"label","ngClass","keydown","click"]],template:function(v,V){1&v&&(l.F$t(fe),l.TgZ(0,"span",0,1),l.YNc(2,J,3,16,"ng-template",2),l.YNc(3,Ct,9,28,"div",3),l.qZA()),2&v&&(l.Tol(V.styleClass),l.Q6J("ngClass",l.l5B(6,Y,V.showIcon,V.timeOnly,V.disabled,V.focus))("ngStyle",V.style),l.xp6(2),l.Q6J("ngIf",!V.inline),l.xp6(1),l.Q6J("ngIf",V.inline||V.overlayVisible))},directives:[m.mk,m.PC,m.O5,P.Hq,g.H,m.tP,m.sg],styles:[".p-calendar{position:relative;display:inline-flex}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{position:static}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-next,.p-datepicker-prev{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;margin:0 auto}.p-datepicker td>span,.p-monthpicker-month{justify-content:center;align-items:center;cursor:pointer;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker,.p-timepicker button{display:flex;justify-content:center;align-items:center}.p-timepicker button{cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-calendar .p-datepicker-touch-ui,.p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}"],encapsulation:2,data:{animation:[(0,n.X$)("overlayAnimation",[(0,n.SB)("visibleTouchUI",(0,n.oB)({transform:"translate(-50%,-50%)",opacity:1})),(0,n.eR)("void => visible",[(0,n.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,n.jt)("{{showTransitionParams}}",(0,n.oB)({opacity:1,transform:"*"}))]),(0,n.eR)("visible => void",[(0,n.jt)("{{hideTransitionParams}}",(0,n.oB)({opacity:0}))]),(0,n.eR)("void => visibleTouchUI",[(0,n.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,n.jt)("{{showTransitionParams}}")]),(0,n.eR)("visibleTouchUI => void",[(0,n.jt)("{{hideTransitionParams}}",(0,n.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0}),F})(),S=(()=>{class F{}return F.\u0275fac=function(v){return new(v||F)},F.\u0275mod=l.oAB({type:F}),F.\u0275inj=l.cJS({imports:[[m.ez,P.hJ,I.m8,g.T],P.hJ,I.m8]}),F})()},1818:(ft,Fe,p)=>{"use strict";p.d(Fe,{V:()=>n,p:()=>l});let l=(()=>{class m{static addClass(g,D){g.classList?g.classList.add(D):g.className+=" "+D}static addMultipleClasses(g,D){if(g.classList){let I=D.trim().split(" ");for(let b=0;bU.height?(R=-1*I.height,g.style.transformOrigin="bottom",E.top+R<0&&(R=-1*E.top)):(R=b,g.style.transformOrigin="top"),G=I.width>U.width?-1*E.left:E.left+I.width>U.width?-1*(E.left+I.width-U.width):0,g.style.top=R+"px",g.style.left=G+"px"}static absolutePosition(g,D){let ee,te,I=g.offsetParent?{width:g.offsetWidth,height:g.offsetHeight}:this.getHiddenElementDimensions(g),b=I.height,E=I.width,U=D.offsetHeight,R=D.offsetWidth,G=D.getBoundingClientRect(),K=this.getWindowScrollTop(),J=this.getWindowScrollLeft(),$=this.getViewport();G.top+U+b>$.height?(ee=G.top+K-b,g.style.transformOrigin="bottom",ee<0&&(ee=K)):(ee=U+G.top+K,g.style.transformOrigin="top"),te=G.left+E>$.width?Math.max(0,G.left+J+R-E):G.left+J,g.style.top=ee+"px",g.style.left=te+"px"}static getParents(g,D=[]){return null===g.parentNode?D:this.getParents(g.parentNode,D.concat([g.parentNode]))}static getScrollableParents(g){let D=[];if(g){let I=this.getParents(g);const b=/(auto|scroll)/,E=U=>{let R=window.getComputedStyle(U,null);return b.test(R.getPropertyValue("overflow"))||b.test(R.getPropertyValue("overflowX"))||b.test(R.getPropertyValue("overflowY"))};for(let U of I){let R=1===U.nodeType&&U.dataset.scrollselectors;if(R){let G=R.split(",");for(let K of G){let J=this.findSingle(U,K);J&&E(J)&&D.push(J)}}9!==U.nodeType&&E(U)&&D.push(U)}}return D}static getHiddenElementOuterHeight(g){g.style.visibility="hidden",g.style.display="block";let D=g.offsetHeight;return g.style.display="none",g.style.visibility="visible",D}static getHiddenElementOuterWidth(g){g.style.visibility="hidden",g.style.display="block";let D=g.offsetWidth;return g.style.display="none",g.style.visibility="visible",D}static getHiddenElementDimensions(g){let D={};return g.style.visibility="hidden",g.style.display="block",D.width=g.offsetWidth,D.height=g.offsetHeight,g.style.display="none",g.style.visibility="visible",D}static scrollInView(g,D){let I=getComputedStyle(g).getPropertyValue("borderTopWidth"),b=I?parseFloat(I):0,E=getComputedStyle(g).getPropertyValue("paddingTop"),U=E?parseFloat(E):0,R=g.getBoundingClientRect(),K=D.getBoundingClientRect().top+document.body.scrollTop-(R.top+document.body.scrollTop)-b-U,J=g.scrollTop,$=g.clientHeight,ee=this.getOuterHeight(D);K<0?g.scrollTop=J+K:K+ee>$&&(g.scrollTop=J+K-$+ee)}static fadeIn(g,D){g.style.opacity=0;let I=+new Date,b=0,E=function(){b=+g.style.opacity.replace(",",".")+((new Date).getTime()-I)/D,g.style.opacity=b,I=+new Date,+b<1&&(window.requestAnimationFrame&&requestAnimationFrame(E)||setTimeout(E,16))};E()}static fadeOut(g,D){var I=1,U=50/D;let R=setInterval(()=>{(I-=U)<=0&&(I=0,clearInterval(R)),g.style.opacity=I},50)}static getWindowScrollTop(){let g=document.documentElement;return(window.pageYOffset||g.scrollTop)-(g.clientTop||0)}static getWindowScrollLeft(){let g=document.documentElement;return(window.pageXOffset||g.scrollLeft)-(g.clientLeft||0)}static matches(g,D){var I=Element.prototype;return(I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.msMatchesSelector||function(E){return-1!==[].indexOf.call(document.querySelectorAll(E),this)}).call(g,D)}static getOuterWidth(g,D){let I=g.offsetWidth;if(D){let b=getComputedStyle(g);I+=parseFloat(b.marginLeft)+parseFloat(b.marginRight)}return I}static getHorizontalPadding(g){let D=getComputedStyle(g);return parseFloat(D.paddingLeft)+parseFloat(D.paddingRight)}static getHorizontalMargin(g){let D=getComputedStyle(g);return parseFloat(D.marginLeft)+parseFloat(D.marginRight)}static innerWidth(g){let D=g.offsetWidth,I=getComputedStyle(g);return D+=parseFloat(I.paddingLeft)+parseFloat(I.paddingRight),D}static width(g){let D=g.offsetWidth,I=getComputedStyle(g);return D-=parseFloat(I.paddingLeft)+parseFloat(I.paddingRight),D}static getInnerHeight(g){let D=g.offsetHeight,I=getComputedStyle(g);return D+=parseFloat(I.paddingTop)+parseFloat(I.paddingBottom),D}static getOuterHeight(g,D){let I=g.offsetHeight;if(D){let b=getComputedStyle(g);I+=parseFloat(b.marginTop)+parseFloat(b.marginBottom)}return I}static getHeight(g){let D=g.offsetHeight,I=getComputedStyle(g);return D-=parseFloat(I.paddingTop)+parseFloat(I.paddingBottom)+parseFloat(I.borderTopWidth)+parseFloat(I.borderBottomWidth),D}static getWidth(g){let D=g.offsetWidth,I=getComputedStyle(g);return D-=parseFloat(I.paddingLeft)+parseFloat(I.paddingRight)+parseFloat(I.borderLeftWidth)+parseFloat(I.borderRightWidth),D}static getViewport(){let g=window,D=document,I=D.documentElement,b=D.getElementsByTagName("body")[0];return{width:g.innerWidth||I.clientWidth||b.clientWidth,height:g.innerHeight||I.clientHeight||b.clientHeight}}static getOffset(g){var D=g.getBoundingClientRect();return{top:D.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:D.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(g,D){let I=g.parentNode;if(!I)throw"Can't replace element";return I.replaceChild(D,g)}static getUserAgent(){return navigator.userAgent}static isIE(){var g=window.navigator.userAgent;return g.indexOf("MSIE ")>0||(g.indexOf("Trident/")>0?(g.indexOf("rv:"),!0):g.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}static appendChild(g,D){if(this.isElement(D))D.appendChild(g);else{if(!D.el||!D.el.nativeElement)throw"Cannot append "+D+" to "+g;D.el.nativeElement.appendChild(g)}}static removeChild(g,D){if(this.isElement(D))D.removeChild(g);else{if(!D.el||!D.el.nativeElement)throw"Cannot remove "+g+" from "+D;D.el.nativeElement.removeChild(g)}}static removeElement(g){"remove"in Element.prototype?g.remove():g.parentNode.removeChild(g)}static isElement(g){return"object"==typeof HTMLElement?g instanceof HTMLElement:g&&"object"==typeof g&&null!==g&&1===g.nodeType&&"string"==typeof g.nodeName}static calculateScrollbarWidth(g){if(g){let D=getComputedStyle(g);return g.offsetWidth-g.clientWidth-parseFloat(D.borderLeftWidth)-parseFloat(D.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let D=document.createElement("div");D.className="p-scrollbar-measure",document.body.appendChild(D);let I=D.offsetWidth-D.clientWidth;return document.body.removeChild(D),this.calculatedScrollbarWidth=I,I}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let g=document.createElement("div");g.className="p-scrollbar-measure",document.body.appendChild(g);let D=g.offsetHeight-g.clientHeight;return document.body.removeChild(g),this.calculatedScrollbarWidth=D,D}static invokeElementMethod(g,D,I){g[D].apply(g,I)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(g){}}static getBrowser(){if(!this.browser){let g=this.resolveUserAgent();this.browser={},g.browser&&(this.browser[g.browser]=!0,this.browser.version=g.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let g=navigator.userAgent.toLowerCase(),D=/(chrome)[ \/]([\w.]+)/.exec(g)||/(webkit)[ \/]([\w.]+)/.exec(g)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(g)||/(msie) ([\w.]+)/.exec(g)||g.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(g)||[];return{browser:D[1]||"",version:D[2]||"0"}}static isInteger(g){return Number.isInteger?Number.isInteger(g):"number"==typeof g&&isFinite(g)&&Math.floor(g)===g}static isHidden(g){return null===g.offsetParent}static getFocusableElements(g){let D=m.find(g,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]:not(.p-disabled))'),I=[];for(let b of D)"none"!=getComputedStyle(b).display&&"hidden"!=getComputedStyle(b).visibility&&I.push(b);return I}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}}return m.zindex=1e3,m.calculatedScrollbarWidth=null,m.calculatedScrollbarHeight=null,m})();class n{constructor(P,g=(()=>{})){this.element=P,this.listener=g}bindScrollListener(){this.scrollableParents=l.getScrollableParents(this.element);for(let P=0;P{"use strict";p.d(Fe,{H:()=>g,T:()=>D});var l=p(7716),n=p(8583),m=p(1818),P=p(3013);let g=(()=>{class I{constructor(E,U,R){this.el=E,this.zone=U,this.config=R}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(E){let U=this.getInk();if(!U||"none"===getComputedStyle(U,null).display)return;if(m.p.removeClass(U,"p-ink-active"),!m.p.getHeight(U)&&!m.p.getWidth(U)){let J=Math.max(m.p.getOuterWidth(this.el.nativeElement),m.p.getOuterHeight(this.el.nativeElement));U.style.height=J+"px",U.style.width=J+"px"}let R=m.p.getOffset(this.el.nativeElement),G=E.pageX-R.left+document.body.scrollTop-m.p.getWidth(U)/2,K=E.pageY-R.top+document.body.scrollLeft-m.p.getHeight(U)/2;U.style.top=K+"px",U.style.left=G+"px",m.p.addClass(U,"p-ink-active")}getInk(){for(let E=0;E{class I{}return I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=l.oAB({type:I}),I.\u0275inj=l.cJS({imports:[[n.ez]]}),I})()},6988:(ft,Fe,p)=>{"use strict";p.d(Fe,{gb:()=>l,Th:()=>m,P9:()=>g});class l{static equals(I,b,E){return E?this.resolveFieldData(I,E)===this.resolveFieldData(b,E):this.equalsByValue(I,b)}static equalsByValue(I,b){if(I===b)return!0;if(I&&b&&"object"==typeof I&&"object"==typeof b){var R,G,K,E=Array.isArray(I),U=Array.isArray(b);if(E&&U){if((G=I.length)!=b.length)return!1;for(R=G;0!=R--;)if(!this.equalsByValue(I[R],b[R]))return!1;return!0}if(E!=U)return!1;var J=I instanceof Date,$=b instanceof Date;if(J!=$)return!1;if(J&&$)return I.getTime()==b.getTime();var ee=I instanceof RegExp,te=b instanceof RegExp;if(ee!=te)return!1;if(ee&&te)return I.toString()==b.toString();var ce=Object.keys(I);if((G=ce.length)!==Object.keys(b).length)return!1;for(R=G;0!=R--;)if(!Object.prototype.hasOwnProperty.call(b,ce[R]))return!1;for(R=G;0!=R--;)if(!this.equalsByValue(I[K=ce[R]],b[K]))return!1;return!0}return I!=I&&b!=b}static resolveFieldData(I,b){if(I&&b){if(this.isFunction(b))return b(I);if(-1==b.indexOf("."))return I[b];{let E=b.split("."),U=I;for(let R=0,G=E.length;R=I.length&&(E%=I.length,b%=I.length),I.splice(E,0,I.splice(b,1)[0]))}static insertIntoOrderedArray(I,b,E,U){if(E.length>0){let R=!1;for(let G=0;Gb){E.splice(G,0,I),R=!0;break}R||E.push(I)}else E.push(I)}static findIndexInList(I,b){let E=-1;if(b)for(let U=0;U-1&&(I=I.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),I}}var n=0;function m(){return"pr_id_"+ ++n}var g=function(){let D=[];const U=R=>R&&parseInt(R.style.zIndex,10)||0;return{get:U,set:(R,G,K)=>{G&&(G.style.zIndex=String(((R,G)=>{let K=D.length>0?D[D.length-1]:{key:R,value:G},J=K.value+(K.key===R?0:G)+1;return D.push({key:R,value:J}),J})(R,K)))},clear:R=>{R&&((R=>{D=D.filter(G=>G.value!==R)})(U(R)),R.style.zIndex="")},getCurrent:()=>D.length>0?D[D.length-1].value:0}}()},6215:(ft,Fe,p)=>{"use strict";p.d(Fe,{X:()=>m});var l=p(9765),n=p(7971);class m extends l.xQ{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const D=super._subscribe(g);return D&&!D.closed&&g.next(this._value),D}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new n.N;return this._value}next(g){super.next(this._value=g)}}},3098:(ft,Fe,p)=>{"use strict";p.d(Fe,{P:()=>g});var l=p(9193),n=p(5917),m=p(205);class g{constructor(I,b,E){this.kind=I,this.value=b,this.error=E,this.hasValue="N"===I}observe(I){switch(this.kind){case"N":return I.next&&I.next(this.value);case"E":return I.error&&I.error(this.error);case"C":return I.complete&&I.complete()}}do(I,b,E){switch(this.kind){case"N":return I&&I(this.value);case"E":return b&&b(this.error);case"C":return E&&E()}}accept(I,b,E){return I&&"function"==typeof I.next?this.observe(I):this.do(I,b,E)}toObservable(){switch(this.kind){case"N":return(0,n.of)(this.value);case"E":return(0,m._)(this.error);case"C":return(0,l.c)()}throw new Error("unexpected notification kind value")}static createNext(I){return void 0!==I?new g("N",I):g.undefinedValueNotification}static createError(I){return new g("E",void 0,I)}static createComplete(){return g.completeNotification}}g.completeNotification=new g("C"),g.undefinedValueNotification=new g("N",void 0)},7574:(ft,Fe,p)=>{"use strict";p.d(Fe,{y:()=>R});var l=p(7393),m=p(9181),P=p(6490),D=p(6554),I=p(4487);var U=p(2494);let R=(()=>{class K{constructor($){this._isScalar=!1,$&&(this._subscribe=$)}lift($){const ee=new K;return ee.source=this,ee.operator=$,ee}subscribe($,ee,te){const{operator:ce}=this,De=function(K,J,$){if(K){if(K instanceof l.L)return K;if(K[m.b])return K[m.b]()}return K||J||$?new l.L(K,J,$):new l.L(P.c)}($,ee,te);if(De.add(ce?ce.call(De,this.source):this.source||U.v.useDeprecatedSynchronousErrorHandling&&!De.syncErrorThrowable?this._subscribe(De):this._trySubscribe(De)),U.v.useDeprecatedSynchronousErrorHandling&&De.syncErrorThrowable&&(De.syncErrorThrowable=!1,De.syncErrorThrown))throw De.syncErrorValue;return De}_trySubscribe($){try{return this._subscribe($)}catch(ee){U.v.useDeprecatedSynchronousErrorHandling&&($.syncErrorThrown=!0,$.syncErrorValue=ee),function(K){for(;K;){const{closed:J,destination:$,isStopped:ee}=K;if(J||ee)return!1;K=$&&$ instanceof l.L?$:null}return!0}($)?$.error(ee):console.warn(ee)}}forEach($,ee){return new(ee=G(ee))((te,ce)=>{let De;De=this.subscribe(qe=>{try{$(qe)}catch(Le){ce(Le),De&&De.unsubscribe()}},ce,te)})}_subscribe($){const{source:ee}=this;return ee&&ee.subscribe($)}[D.L](){return this}pipe(...$){return 0===$.length?this:function(K){return 0===K.length?I.y:1===K.length?K[0]:function($){return K.reduce((ee,te)=>te(ee),$)}}($)(this)}toPromise($){return new($=G($))((ee,te)=>{let ce;this.subscribe(De=>ce=De,De=>te(De),()=>ee(ce))})}}return K.create=J=>new K(J),K})();function G(K){if(K||(K=U.v.Promise||Promise),!K)throw new Error("no Promise impl found");return K}},6490:(ft,Fe,p)=>{"use strict";p.d(Fe,{c:()=>m});var l=p(2494),n=p(3047);const m={closed:!0,next(P){},error(P){if(l.v.useDeprecatedSynchronousErrorHandling)throw P;(0,n.z)(P)},complete(){}}},9765:(ft,Fe,p)=>{"use strict";p.d(Fe,{Yc:()=>I,xQ:()=>b});var l=p(7574),n=p(7393),m=p(5319),P=p(7971),g=p(8858),D=p(9181);class I extends n.L{constructor(R){super(R),this.destination=R}}let b=(()=>{class U extends l.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[D.b](){return new I(this)}lift(G){const K=new E(this,this);return K.operator=G,K}next(G){if(this.closed)throw new P.N;if(!this.isStopped){const{observers:K}=this,J=K.length,$=K.slice();for(let ee=0;eenew E(R,G),U})();class E extends b{constructor(R,G){super(),this.destination=R,this.source=G}next(R){const{destination:G}=this;G&&G.next&&G.next(R)}error(R){const{destination:G}=this;G&&G.error&&this.destination.error(R)}complete(){const{destination:R}=this;R&&R.complete&&this.destination.complete()}_subscribe(R){const{source:G}=this;return G?this.source.subscribe(R):m.w.EMPTY}}},8858:(ft,Fe,p)=>{"use strict";p.d(Fe,{W:()=>n});var l=p(5319);class n extends l.w{constructor(P,g){super(),this.subject=P,this.subscriber=g,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const P=this.subject,g=P.observers;if(this.subject=null,!g||0===g.length||P.isStopped||P.closed)return;const D=g.indexOf(this.subscriber);-1!==D&&g.splice(D,1)}}},7393:(ft,Fe,p)=>{"use strict";p.d(Fe,{L:()=>I});var l=p(9105),n=p(6490),m=p(5319),P=p(9181),g=p(2494),D=p(3047);class I extends m.w{constructor(U,R,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=n.c;break;case 1:if(!U){this.destination=n.c;break}if("object"==typeof U){U instanceof I?(this.syncErrorThrowable=U.syncErrorThrowable,this.destination=U,U.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,U));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,U,R,G)}}[P.b](){return this}static create(U,R,G){const K=new I(U,R,G);return K.syncErrorThrowable=!1,K}next(U){this.isStopped||this._next(U)}error(U){this.isStopped||(this.isStopped=!0,this._error(U))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(U){this.destination.next(U)}_error(U){this.destination.error(U),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:U}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=U,this}}class b extends I{constructor(U,R,G,K){super(),this._parentSubscriber=U;let J,$=this;(0,l.m)(R)?J=R:R&&(J=R.next,G=R.error,K=R.complete,R!==n.c&&($=Object.create(R),(0,l.m)($.unsubscribe)&&this.add($.unsubscribe.bind($)),$.unsubscribe=this.unsubscribe.bind(this))),this._context=$,this._next=J,this._error=G,this._complete=K}next(U){if(!this.isStopped&&this._next){const{_parentSubscriber:R}=this;g.v.useDeprecatedSynchronousErrorHandling&&R.syncErrorThrowable?this.__tryOrSetError(R,this._next,U)&&this.unsubscribe():this.__tryOrUnsub(this._next,U)}}error(U){if(!this.isStopped){const{_parentSubscriber:R}=this,{useDeprecatedSynchronousErrorHandling:G}=g.v;if(this._error)G&&R.syncErrorThrowable?(this.__tryOrSetError(R,this._error,U),this.unsubscribe()):(this.__tryOrUnsub(this._error,U),this.unsubscribe());else if(R.syncErrorThrowable)G?(R.syncErrorValue=U,R.syncErrorThrown=!0):(0,D.z)(U),this.unsubscribe();else{if(this.unsubscribe(),G)throw U;(0,D.z)(U)}}}complete(){if(!this.isStopped){const{_parentSubscriber:U}=this;if(this._complete){const R=()=>this._complete.call(this._context);g.v.useDeprecatedSynchronousErrorHandling&&U.syncErrorThrowable?(this.__tryOrSetError(U,R),this.unsubscribe()):(this.__tryOrUnsub(R),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(U,R){try{U.call(this._context,R)}catch(G){if(this.unsubscribe(),g.v.useDeprecatedSynchronousErrorHandling)throw G;(0,D.z)(G)}}__tryOrSetError(U,R,G){if(!g.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{R.call(this._context,G)}catch(K){return g.v.useDeprecatedSynchronousErrorHandling?(U.syncErrorValue=K,U.syncErrorThrown=!0,!0):((0,D.z)(K),!0)}return!1}_unsubscribe(){const{_parentSubscriber:U}=this;this._context=null,this._parentSubscriber=null,U.unsubscribe()}}},5319:(ft,Fe,p)=>{"use strict";p.d(Fe,{w:()=>D});var l=p(9796),n=p(1555),m=p(9105);const g=(()=>{function b(E){return Error.call(this),this.message=E?`${E.length} errors occurred during unsubscription:\n${E.map((U,R)=>`${R+1}) ${U.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=E,this}return b.prototype=Object.create(Error.prototype),b})();class D{constructor(E){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,E&&(this._ctorUnsubscribe=!0,this._unsubscribe=E)}unsubscribe(){let E;if(this.closed)return;let{_parentOrParents:U,_ctorUnsubscribe:R,_unsubscribe:G,_subscriptions:K}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,U instanceof D)U.remove(this);else if(null!==U)for(let J=0;JE.concat(U instanceof g?U.errors:U),[])}D.EMPTY=((b=new D).closed=!0,b)},2494:(ft,Fe,p)=>{"use strict";p.d(Fe,{v:()=>n});let l=!1;const n={Promise:void 0,set useDeprecatedSynchronousErrorHandling(m){if(m){const P=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+P.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=m},get useDeprecatedSynchronousErrorHandling(){return l}}},5345:(ft,Fe,p)=>{"use strict";p.d(Fe,{IY:()=>P,Ds:()=>D,ft:()=>b});var l=p(7393),n=p(7574),m=p(7444);class P extends l.L{constructor(U){super(),this.parent=U}_next(U){this.parent.notifyNext(U)}_error(U){this.parent.notifyError(U),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class D extends l.L{notifyNext(U){this.destination.next(U)}notifyError(U){this.destination.error(U)}notifyComplete(){this.destination.complete()}}function b(E,U){if(U.closed)return;if(E instanceof n.y)return E.subscribe(U);let R;try{R=(0,m.s)(E)(U)}catch(G){U.error(G)}return R}},2441:(ft,Fe,p)=>{"use strict";p.d(Fe,{c:()=>g,N:()=>D});var l=p(9765),n=p(7574),m=p(5319),P=p(1307);class g extends n.y{constructor(R,G){super(),this.source=R,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(R){return this.getSubject().subscribe(R)}getSubject(){const R=this._subject;return(!R||R.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let R=this._connection;return R||(this._isComplete=!1,R=this._connection=new m.w,R.add(this.source.subscribe(new I(this.getSubject(),this))),R.closed&&(this._connection=null,R=m.w.EMPTY)),R}refCount(){return(0,P.x)()(this)}}const D=(()=>{const U=g.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:U._subscribe},_isComplete:{value:U._isComplete,writable:!0},getSubject:{value:U.getSubject},connect:{value:U.connect},refCount:{value:U.refCount}}})();class I extends l.Yc{constructor(R,G){super(R),this.connectable=G}_error(R){this._unsubscribe(),super._error(R)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const R=this.connectable;if(R){this.connectable=null;const G=R._connection;R._refCount=0,R._subject=null,R._connection=null,G&&G.unsubscribe()}}}},739:(ft,Fe,p)=>{"use strict";p.d(Fe,{aj:()=>R});var l=p(4869),n=p(9796),m=p(7393);class P extends m.L{notifyNext($,ee,te,ce,De){this.destination.next(ee)}notifyError($,ee){this.destination.error($)}notifyComplete($){this.destination.complete()}}class g extends m.L{constructor($,ee,te){super(),this.parent=$,this.outerValue=ee,this.outerIndex=te,this.index=0}_next($){this.parent.notifyNext(this.outerValue,$,this.outerIndex,this.index++,this)}_error($){this.parent.notifyError($,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var D=p(7444),I=p(7574);function b(J,$,ee,te,ce=new g(J,ee,te)){if(!ce.closed)return $ instanceof I.y?$.subscribe(ce):(0,D.s)($)(ce)}var E=p(6693);const U={};function R(...J){let $,ee;return(0,l.K)(J[J.length-1])&&(ee=J.pop()),"function"==typeof J[J.length-1]&&($=J.pop()),1===J.length&&(0,n.k)(J[0])&&(J=J[0]),(0,E.n)(J,ee).lift(new G($))}class G{constructor($){this.resultSelector=$}call($,ee){return ee.subscribe(new K($,this.resultSelector))}}class K extends P{constructor($,ee){super($),this.resultSelector=ee,this.active=0,this.values=[],this.observables=[]}_next($){this.values.push(U),this.observables.push($)}_complete(){const $=this.observables,ee=$.length;if(0===ee)this.destination.complete();else{this.active=ee,this.toRespond=ee;for(let te=0;te{"use strict";p.d(Fe,{z:()=>P});var l=p(5917),n=p(3282);function P(...g){return(0,n.J)(1)((0,l.of)(...g))}},1439:(ft,Fe,p)=>{"use strict";p.d(Fe,{P:()=>P});var l=p(7574),n=p(4402),m=p(9193);function P(g){return new l.y(D=>{let I;try{I=g()}catch(E){return void D.error(E)}return(I?(0,n.D)(I):(0,m.c)()).subscribe(D)})}},9193:(ft,Fe,p)=>{"use strict";p.d(Fe,{E:()=>n,c:()=>m});var l=p(7574);const n=new l.y(g=>g.complete());function m(g){return g?function(g){return new l.y(D=>g.schedule(()=>D.complete()))}(g):n}},5758:(ft,Fe,p)=>{"use strict";p.d(Fe,{D:()=>D});var l=p(7574),n=p(9796),m=p(8002),P=p(1555),g=p(4402);function D(...b){if(1===b.length){const E=b[0];if((0,n.k)(E))return I(E,null);if((0,P.K)(E)&&Object.getPrototypeOf(E)===Object.prototype){const U=Object.keys(E);return I(U.map(R=>E[R]),U)}}if("function"==typeof b[b.length-1]){const E=b.pop();return I(b=1===b.length&&(0,n.k)(b[0])?b[0]:b,null).pipe((0,m.U)(U=>E(...U)))}return I(b,null)}function I(b,E){return new l.y(U=>{const R=b.length;if(0===R)return void U.complete();const G=new Array(R);let K=0,J=0;for(let $=0;${te||(te=!0,J++),G[$]=ce},error:ce=>U.error(ce),complete:()=>{K++,(K===R||!te)&&(J===R&&U.next(E?E.reduce((ce,De,qe)=>(ce[De]=G[qe],ce),{}):G),U.complete())}}))}})}},4402:(ft,Fe,p)=>{"use strict";p.d(Fe,{D:()=>$});var l=p(7574),n=p(7444),m=p(5319),P=p(6554),I=p(4087),b=p(377),R=p(4072),G=p(9489);function $(ee,te){return te?function(ee,te){if(null!=ee){if(function(ee){return ee&&"function"==typeof ee[P.L]}(ee))return function(ee,te){return new l.y(ce=>{const De=new m.w;return De.add(te.schedule(()=>{const qe=ee[P.L]();De.add(qe.subscribe({next(Le){De.add(te.schedule(()=>ce.next(Le)))},error(Le){De.add(te.schedule(()=>ce.error(Le)))},complete(){De.add(te.schedule(()=>ce.complete()))}}))})),De})}(ee,te);if((0,R.t)(ee))return function(ee,te){return new l.y(ce=>{const De=new m.w;return De.add(te.schedule(()=>ee.then(qe=>{De.add(te.schedule(()=>{ce.next(qe),De.add(te.schedule(()=>ce.complete()))}))},qe=>{De.add(te.schedule(()=>ce.error(qe)))}))),De})}(ee,te);if((0,G.z)(ee))return(0,I.r)(ee,te);if(function(ee){return ee&&"function"==typeof ee[b.hZ]}(ee)||"string"==typeof ee)return function(ee,te){if(!ee)throw new Error("Iterable cannot be null");return new l.y(ce=>{const De=new m.w;let qe;return De.add(()=>{qe&&"function"==typeof qe.return&&qe.return()}),De.add(te.schedule(()=>{qe=ee[b.hZ](),De.add(te.schedule(function(){if(ce.closed)return;let Le,de;try{const ve=qe.next();Le=ve.value,de=ve.done}catch(ve){return void ce.error(ve)}de?ce.complete():(ce.next(Le),this.schedule())}))})),De})}(ee,te)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,te):ee instanceof l.y?ee:new l.y((0,n.s)(ee))}},6693:(ft,Fe,p)=>{"use strict";p.d(Fe,{n:()=>P});var l=p(7574),n=p(5015),m=p(4087);function P(g,D){return D?(0,m.r)(g,D):new l.y((0,n.V)(g))}},2759:(ft,Fe,p)=>{"use strict";p.d(Fe,{R:()=>D});var l=p(7574),n=p(9796),m=p(9105),P=p(8002);function D(R,G,K,J){return(0,m.m)(K)&&(J=K,K=void 0),J?D(R,G,K).pipe((0,P.U)($=>(0,n.k)($)?J(...$):J($))):new l.y($=>{I(R,G,function(te){$.next(arguments.length>1?Array.prototype.slice.call(arguments):te)},$,K)})}function I(R,G,K,J,$){let ee;if(function(R){return R&&"function"==typeof R.addEventListener&&"function"==typeof R.removeEventListener}(R)){const te=R;R.addEventListener(G,K,$),ee=()=>te.removeEventListener(G,K,$)}else if(function(R){return R&&"function"==typeof R.on&&"function"==typeof R.off}(R)){const te=R;R.on(G,K),ee=()=>te.off(G,K)}else if(function(R){return R&&"function"==typeof R.addListener&&"function"==typeof R.removeListener}(R)){const te=R;R.addListener(G,K),ee=()=>te.removeListener(G,K)}else{if(!R||!R.length)throw new TypeError("Invalid event target");for(let te=0,ce=R.length;te{"use strict";p.d(Fe,{T:()=>g});var l=p(7574),n=p(4869),m=p(3282),P=p(6693);function g(...D){let I=Number.POSITIVE_INFINITY,b=null,E=D[D.length-1];return(0,n.K)(E)?(b=D.pop(),D.length>1&&"number"==typeof D[D.length-1]&&(I=D.pop())):"number"==typeof E&&(I=D.pop()),null===b&&1===D.length&&D[0]instanceof l.y?D[0]:(0,m.J)(I)((0,P.n)(D,b))}},5917:(ft,Fe,p)=>{"use strict";p.d(Fe,{of:()=>P});var l=p(4869),n=p(6693),m=p(4087);function P(...g){let D=g[g.length-1];return(0,l.K)(D)?(g.pop(),(0,m.r)(g,D)):(0,n.n)(g)}},205:(ft,Fe,p)=>{"use strict";p.d(Fe,{_:()=>n});var l=p(7574);function n(P,g){return new l.y(g?D=>g.schedule(m,0,{error:P,subscriber:D}):D=>D.error(P))}function m({error:P,subscriber:g}){g.error(P)}},6797:(ft,Fe,p)=>{"use strict";p.d(Fe,{H:()=>g});var l=p(7574),n=p(3637),m=p(6561),P=p(4869);function g(I=0,b,E){let U=-1;return(0,m.k)(b)?U=Number(b)<1?1:Number(b):(0,P.K)(b)&&(E=b),(0,P.K)(E)||(E=n.P),new l.y(R=>{const G=(0,m.k)(I)?I:+I-E.now();return E.schedule(D,G,{index:0,period:U,subscriber:R})})}function D(I){const{index:b,period:E,subscriber:U}=I;if(U.next(b),!U.closed){if(-1===E)return U.complete();I.index=b+1,this.schedule(I,E)}}},13:(ft,Fe,p)=>{"use strict";p.d(Fe,{e:()=>I});var l=p(3637),n=p(5345);class P{constructor(E){this.durationSelector=E}call(E,U){return U.subscribe(new g(E,this.durationSelector))}}class g extends n.Ds{constructor(E,U){super(E),this.durationSelector=U,this.hasValue=!1}_next(E){if(this.value=E,this.hasValue=!0,!this.throttled){let U;try{const{durationSelector:G}=this;U=G(E)}catch(G){return this.destination.error(G)}const R=(0,n.ft)(U,new n.IY(this));!R||R.closed?this.clearThrottle():this.add(this.throttled=R)}}clearThrottle(){const{value:E,hasValue:U,throttled:R}=this;R&&(this.remove(R),this.throttled=void 0,R.unsubscribe()),U&&(this.value=void 0,this.hasValue=!1,this.destination.next(E))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var D=p(6797);function I(b,E=l.P){return function(b){return function(U){return U.lift(new P(b))}}(()=>(0,D.H)(b,E))}},5304:(ft,Fe,p)=>{"use strict";p.d(Fe,{K:()=>n});var l=p(5345);function n(g){return function(I){const b=new m(g),E=I.lift(b);return b.caught=E}}class m{constructor(D){this.selector=D}call(D,I){return I.subscribe(new P(D,this.selector,this.caught))}}class P extends l.Ds{constructor(D,I,b){super(D),this.selector=I,this.caught=b}error(D){if(!this.isStopped){let I;try{I=this.selector(D,this.caught)}catch(U){return void super.error(U)}this._unsubscribeAndRecycle();const b=new l.IY(this);this.add(b);const E=(0,l.ft)(I,b);E!==b&&this.add(E)}}}},4612:(ft,Fe,p)=>{"use strict";p.d(Fe,{b:()=>n});var l=p(9773);function n(m,P){return(0,l.zg)(m,P,1)}},4395:(ft,Fe,p)=>{"use strict";p.d(Fe,{b:()=>m});var l=p(7393),n=p(3637);function m(I,b=n.P){return E=>E.lift(new P(I,b))}class P{constructor(b,E){this.dueTime=b,this.scheduler=E}call(b,E){return E.subscribe(new g(b,this.dueTime,this.scheduler))}}class g extends l.L{constructor(b,E,U){super(b),this.dueTime=E,this.scheduler=U,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(D,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function D(I){I.debouncedNext()}},1289:(ft,Fe,p)=>{"use strict";p.d(Fe,{g:()=>g});var l=p(3637),m=p(7393),P=p(3098);function g(E,U=l.P){const G=function(E){return E instanceof Date&&!isNaN(+E)}(E)?+E-U.now():Math.abs(E);return K=>K.lift(new D(G,U))}class D{constructor(U,R){this.delay=U,this.scheduler=R}call(U,R){return R.subscribe(new I(U,this.delay,this.scheduler))}}class I extends m.L{constructor(U,R,G){super(U),this.delay=R,this.scheduler=G,this.queue=[],this.active=!1,this.errored=!1}static dispatch(U){const R=U.source,G=R.queue,K=U.scheduler,J=U.destination;for(;G.length>0&&G[0].time-K.now()<=0;)G.shift().notification.observe(J);if(G.length>0){const $=Math.max(0,G[0].time-K.now());this.schedule(U,$)}else this.unsubscribe(),R.active=!1}_schedule(U){this.active=!0,this.destination.add(U.schedule(I.dispatch,this.delay,{source:this,destination:this.destination,scheduler:U}))}scheduleNotification(U){if(!0===this.errored)return;const R=this.scheduler,G=new b(R.now()+this.delay,U);this.queue.push(G),!1===this.active&&this._schedule(R)}_next(U){this.scheduleNotification(P.P.createNext(U))}_error(U){this.errored=!0,this.queue=[],this.destination.error(U),this.unsubscribe()}_complete(){this.scheduleNotification(P.P.createComplete()),this.unsubscribe()}}class b{constructor(U,R){this.time=U,this.notification=R}}},7519:(ft,Fe,p)=>{"use strict";p.d(Fe,{x:()=>n});var l=p(7393);function n(g,D){return I=>I.lift(new m(g,D))}class m{constructor(D,I){this.compare=D,this.keySelector=I}call(D,I){return I.subscribe(new P(D,this.compare,this.keySelector))}}class P extends l.L{constructor(D,I,b){super(D),this.keySelector=b,this.hasKey=!1,"function"==typeof I&&(this.compare=I)}compare(D,I){return D===I}_next(D){let I;try{const{keySelector:E}=this;I=E?E(D):D}catch(E){return this.destination.error(E)}let b=!1;if(this.hasKey)try{const{compare:E}=this;b=E(this.key,I)}catch(E){return this.destination.error(E)}else this.hasKey=!0;b||(this.key=I,this.destination.next(D))}}},5435:(ft,Fe,p)=>{"use strict";p.d(Fe,{h:()=>n});var l=p(7393);function n(g,D){return function(b){return b.lift(new m(g,D))}}class m{constructor(D,I){this.predicate=D,this.thisArg=I}call(D,I){return I.subscribe(new P(D,this.predicate,this.thisArg))}}class P extends l.L{constructor(D,I,b){super(D),this.predicate=I,this.thisArg=b,this.count=0}_next(D){let I;try{I=this.predicate.call(this.thisArg,D,this.count++)}catch(b){return void this.destination.error(b)}I&&this.destination.next(D)}}},8939:(ft,Fe,p)=>{"use strict";p.d(Fe,{x:()=>m});var l=p(7393),n=p(5319);function m(D){return I=>I.lift(new P(D))}class P{constructor(I){this.callback=I}call(I,b){return b.subscribe(new g(I,this.callback))}}class g extends l.L{constructor(I,b){super(I),this.add(new n.w(b))}}},8002:(ft,Fe,p)=>{"use strict";p.d(Fe,{U:()=>n});var l=p(7393);function n(g,D){return function(b){if("function"!=typeof g)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new m(g,D))}}class m{constructor(D,I){this.project=D,this.thisArg=I}call(D,I){return I.subscribe(new P(D,this.project,this.thisArg))}}class P extends l.L{constructor(D,I,b){super(D),this.project=I,this.count=0,this.thisArg=b||this}_next(D){let I;try{I=this.project.call(this.thisArg,D,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(I)}}},3282:(ft,Fe,p)=>{"use strict";p.d(Fe,{J:()=>m});var l=p(9773),n=p(4487);function m(P=Number.POSITIVE_INFINITY){return(0,l.zg)(n.y,P)}},9773:(ft,Fe,p)=>{"use strict";p.d(Fe,{zg:()=>P});var l=p(8002),n=p(4402),m=p(5345);function P(b,E,U=Number.POSITIVE_INFINITY){return"function"==typeof E?R=>R.pipe(P((G,K)=>(0,n.D)(b(G,K)).pipe((0,l.U)((J,$)=>E(G,J,K,$))),U)):("number"==typeof E&&(U=E),R=>R.lift(new g(b,U)))}class g{constructor(E,U=Number.POSITIVE_INFINITY){this.project=E,this.concurrent=U}call(E,U){return U.subscribe(new D(E,this.project,this.concurrent))}}class D extends m.Ds{constructor(E,U,R=Number.POSITIVE_INFINITY){super(E),this.project=U,this.concurrent=R,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(E){this.active0?this._next(E.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:(ft,Fe,p)=>{"use strict";p.d(Fe,{x:()=>n});var l=p(7393);function n(){return function(D){return D.lift(new m(D))}}class m{constructor(D){this.connectable=D}call(D,I){const{connectable:b}=this;b._refCount++;const E=new P(D,b),U=I.subscribe(E);return E.closed||(E.connection=b.connect()),U}}class P extends l.L{constructor(D,I){super(D),this.connectable=I}_unsubscribe(){const{connectable:D}=this;if(!D)return void(this.connection=null);this.connectable=null;const I=D._refCount;if(I<=0)return void(this.connection=null);if(D._refCount=I-1,I>1)return void(this.connection=null);const{connection:b}=this,E=D._connection;this.connection=null,E&&(!b||E===b)&&E.unsubscribe()}}},8819:(ft,Fe,p)=>{"use strict";p.d(Fe,{B:()=>I});var l=p(2441);var P=p(1307),g=p(9765);function D(){return new g.xQ}function I(){return b=>(0,P.x)()(function(b,E){return function(R){let G;G="function"==typeof b?b:function(){return b};const K=Object.create(R,l.N);return K.source=R,K.subjectFactory=G,K}}(D)(b))}},3653:(ft,Fe,p)=>{"use strict";p.d(Fe,{T:()=>n});var l=p(7393);function n(g){return D=>D.lift(new m(g))}class m{constructor(D){this.total=D}call(D,I){return I.subscribe(new P(D,this.total))}}class P extends l.L{constructor(D,I){super(D),this.total=I,this.count=0}_next(D){++this.count>this.total&&this.destination.next(D)}}},9761:(ft,Fe,p)=>{"use strict";p.d(Fe,{O:()=>m});var l=p(8071),n=p(4869);function m(...P){const g=P[P.length-1];return(0,n.K)(g)?(P.pop(),D=>(0,l.z)(P,D,g)):D=>(0,l.z)(P,D)}},3190:(ft,Fe,p)=>{"use strict";p.d(Fe,{w:()=>P});var l=p(8002),n=p(4402),m=p(5345);function P(I,b){return"function"==typeof b?E=>E.pipe(P((U,R)=>(0,n.D)(I(U,R)).pipe((0,l.U)((G,K)=>b(U,G,R,K))))):E=>E.lift(new g(I))}class g{constructor(b){this.project=b}call(b,E){return E.subscribe(new D(b,this.project))}}class D extends m.Ds{constructor(b,E){super(b),this.project=E,this.index=0}_next(b){let E;const U=this.index++;try{E=this.project(b,U)}catch(R){return void this.destination.error(R)}this._innerSub(E)}_innerSub(b){const E=this.innerSubscription;E&&E.unsubscribe();const U=new m.IY(this),R=this.destination;R.add(U),this.innerSubscription=(0,m.ft)(b,U),this.innerSubscription!==U&&R.add(this.innerSubscription)}_complete(){const{innerSubscription:b}=this;(!b||b.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(b){this.destination.next(b)}}},5257:(ft,Fe,p)=>{"use strict";p.d(Fe,{q:()=>P});var l=p(7393),n=p(7108),m=p(9193);function P(I){return b=>0===I?(0,m.c)():b.lift(new g(I))}class g{constructor(b){if(this.total=b,this.total<0)throw new n.W}call(b,E){return E.subscribe(new D(b,this.total))}}class D extends l.L{constructor(b,E){super(b),this.total=E,this.count=0}_next(b){const E=this.total,U=++this.count;U<=E&&(this.destination.next(b),U===E&&(this.destination.complete(),this.unsubscribe()))}}},6782:(ft,Fe,p)=>{"use strict";p.d(Fe,{R:()=>n});var l=p(5345);function n(g){return D=>D.lift(new m(g))}class m{constructor(D){this.notifier=D}call(D,I){const b=new P(D),E=(0,l.ft)(this.notifier,new l.IY(b));return E&&!b.seenValue?(b.add(E),I.subscribe(b)):b}}class P extends l.Ds{constructor(D){super(D),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},3342:(ft,Fe,p)=>{"use strict";p.d(Fe,{b:()=>P});var l=p(7393);function n(){}var m=p(9105);function P(I,b,E){return function(R){return R.lift(new g(I,b,E))}}class g{constructor(b,E,U){this.nextOrObserver=b,this.error=E,this.complete=U}call(b,E){return E.subscribe(new D(b,this.nextOrObserver,this.error,this.complete))}}class D extends l.L{constructor(b,E,U,R){super(b),this._tapNext=n,this._tapError=n,this._tapComplete=n,this._tapError=U||n,this._tapComplete=R||n,(0,m.m)(E)?(this._context=this,this._tapNext=E):E&&(this._context=E,this._tapNext=E.next||n,this._tapError=E.error||n,this._tapComplete=E.complete||n)}_next(b){try{this._tapNext.call(this._context,b)}catch(E){return void this.destination.error(E)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(E){return void this.destination.error(E)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},4087:(ft,Fe,p)=>{"use strict";p.d(Fe,{r:()=>m});var l=p(7574),n=p(5319);function m(P,g){return new l.y(D=>{const I=new n.w;let b=0;return I.add(g.schedule(function(){b!==P.length?(D.next(P[b++]),D.closed||I.add(this.schedule())):D.complete()})),I})}},6465:(ft,Fe,p)=>{"use strict";p.d(Fe,{o:()=>m});var l=p(5319);class n extends l.w{constructor(g,D){super()}schedule(g,D=0){return this}}class m extends n{constructor(g,D){super(g,D),this.scheduler=g,this.work=D,this.pending=!1}schedule(g,D=0){if(this.closed)return this;this.state=g;const I=this.id,b=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(b,I,D)),this.pending=!0,this.delay=D,this.id=this.id||this.requestAsyncId(b,this.id,D),this}requestAsyncId(g,D,I=0){return setInterval(g.flush.bind(g,this),I)}recycleAsyncId(g,D,I=0){if(null!==I&&this.delay===I&&!1===this.pending)return D;clearInterval(D)}execute(g,D){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const I=this._execute(g,D);if(I)return I;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(g,D){let b,I=!1;try{this.work(g)}catch(E){I=!0,b=!!E&&E||new Error(E)}if(I)return this.unsubscribe(),b}_unsubscribe(){const g=this.id,D=this.scheduler,I=D.actions,b=I.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&I.splice(b,1),null!=g&&(this.id=this.recycleAsyncId(D,g,null)),this.delay=null}}},6102:(ft,Fe,p)=>{"use strict";p.d(Fe,{v:()=>n});let l=(()=>{class m{constructor(g,D=m.now){this.SchedulerAction=g,this.now=D}schedule(g,D=0,I){return new this.SchedulerAction(this,g).schedule(I,D)}}return m.now=()=>Date.now(),m})();class n extends l{constructor(P,g=l.now){super(P,()=>n.delegate&&n.delegate!==this?n.delegate.now():g()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(P,g=0,D){return n.delegate&&n.delegate!==this?n.delegate.schedule(P,g,D):super.schedule(P,g,D)}flush(P){const{actions:g}=this;if(this.active)return void g.push(P);let D;this.active=!0;do{if(D=P.execute(P.state,P.delay))break}while(P=g.shift());if(this.active=!1,D){for(;P=g.shift();)P.unsubscribe();throw D}}}},1927:(ft,Fe,p)=>{"use strict";p.d(Fe,{Z:()=>g});var l=p(6465),m=p(6102);const g=new class extends m.v{flush(b){this.active=!0,this.scheduled=void 0;const{actions:E}=this;let U,R=-1,G=E.length;b=b||E.shift();do{if(U=b.execute(b.state,b.delay))break}while(++R0?super.requestAsyncId(b,E,U):(b.actions.push(this),b.scheduled||(b.scheduled=requestAnimationFrame(()=>b.flush(null))))}recycleAsyncId(b,E,U=0){if(null!==U&&U>0||null===U&&this.delay>0)return super.recycleAsyncId(b,E,U);0===b.actions.length&&(cancelAnimationFrame(E),b.scheduled=void 0)}})},4581:(ft,Fe,p)=>{"use strict";p.d(Fe,{E:()=>R});let l=1;const n=Promise.resolve(),m={};function P(K){return K in m&&(delete m[K],!0)}const g={setImmediate(K){const J=l++;return m[J]=!0,n.then(()=>P(J)&&K()),J},clearImmediate(K){P(K)}};var I=p(6465),E=p(6102);const R=new class extends E.v{flush(J){this.active=!0,this.scheduled=void 0;const{actions:$}=this;let ee,te=-1,ce=$.length;J=J||$.shift();do{if(ee=J.execute(J.state,J.delay))break}while(++te0?super.requestAsyncId(J,$,ee):(J.actions.push(this),J.scheduled||(J.scheduled=g.setImmediate(J.flush.bind(J,null))))}recycleAsyncId(J,$,ee=0){if(null!==ee&&ee>0||null===ee&&this.delay>0)return super.recycleAsyncId(J,$,ee);0===J.actions.length&&(g.clearImmediate($),J.scheduled=void 0)}})},3637:(ft,Fe,p)=>{"use strict";p.d(Fe,{P:()=>P});var l=p(6465);const P=new(p(6102).v)(l.o)},377:(ft,Fe,p)=>{"use strict";p.d(Fe,{hZ:()=>n});const n="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(ft,Fe,p)=>{"use strict";p.d(Fe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(ft,Fe,p)=>{"use strict";p.d(Fe,{b:()=>l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(ft,Fe,p)=>{"use strict";p.d(Fe,{W:()=>n});const n=(()=>{function m(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return m.prototype=Object.create(Error.prototype),m})()},7971:(ft,Fe,p)=>{"use strict";p.d(Fe,{N:()=>n});const n=(()=>{function m(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return m.prototype=Object.create(Error.prototype),m})()},3047:(ft,Fe,p)=>{"use strict";function l(n){setTimeout(()=>{throw n},0)}p.d(Fe,{z:()=>l})},4487:(ft,Fe,p)=>{"use strict";function l(n){return n}p.d(Fe,{y:()=>l})},9796:(ft,Fe,p)=>{"use strict";p.d(Fe,{k:()=>l});const l=Array.isArray||(n=>n&&"number"==typeof n.length)},9489:(ft,Fe,p)=>{"use strict";p.d(Fe,{z:()=>l});const l=n=>n&&"number"==typeof n.length&&"function"!=typeof n},9105:(ft,Fe,p)=>{"use strict";function l(n){return"function"==typeof n}p.d(Fe,{m:()=>l})},6561:(ft,Fe,p)=>{"use strict";p.d(Fe,{k:()=>n});var l=p(9796);function n(m){return!(0,l.k)(m)&&m-parseFloat(m)+1>=0}},1555:(ft,Fe,p)=>{"use strict";function l(n){return null!==n&&"object"==typeof n}p.d(Fe,{K:()=>l})},5639:(ft,Fe,p)=>{"use strict";p.d(Fe,{b:()=>n});var l=p(7574);function n(m){return!!m&&(m instanceof l.y||"function"==typeof m.lift&&"function"==typeof m.subscribe)}},4072:(ft,Fe,p)=>{"use strict";function l(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}p.d(Fe,{t:()=>l})},4869:(ft,Fe,p)=>{"use strict";function l(n){return n&&"function"==typeof n.schedule}p.d(Fe,{K:()=>l})},7444:(ft,Fe,p)=>{"use strict";p.d(Fe,{s:()=>R});var l=p(5015),n=p(3047),P=p(377),D=p(6554),b=p(9489),E=p(4072),U=p(1555);const R=G=>{if(G&&"function"==typeof G[D.L])return(G=>K=>{const J=G[D.L]();if("function"!=typeof J.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return J.subscribe(K)})(G);if((0,b.z)(G))return(0,l.V)(G);if((0,E.t)(G))return(G=>K=>(G.then(J=>{K.closed||(K.next(J),K.complete())},J=>K.error(J)).then(null,n.z),K))(G);if(G&&"function"==typeof G[P.hZ])return(G=>K=>{const J=G[P.hZ]();for(;;){let $;try{$=J.next()}catch(ee){return K.error(ee),K}if($.done){K.complete();break}if(K.next($.value),K.closed)break}return"function"==typeof J.return&&K.add(()=>{J.return&&J.return()}),K})(G);{const J=`You provided ${(0,U.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(J)}}},5015:(ft,Fe,p)=>{"use strict";p.d(Fe,{V:()=>l});const l=n=>m=>{for(let P=0,g=n.length;P{"use strict";function l(n,m){return m=m||{},new Promise(function(P,g){var D=new XMLHttpRequest,I=[],b=[],E={},U=function(){return{ok:2==(D.status/100|0),statusText:D.statusText,status:D.status,url:D.responseURL,text:function(){return Promise.resolve(D.responseText)},json:function(){return Promise.resolve(D.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([D.response]))},clone:U,headers:{keys:function(){return I},entries:function(){return b},get:function(G){return E[G.toLowerCase()]},has:function(G){return G.toLowerCase()in E}}}};for(var R in D.open(m.method||"get",n,!0),D.onload=function(){D.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(G,K,J){I.push(K=K.toLowerCase()),b.push([K,J]),E[K]=E[K]?E[K]+","+J:J}),P(U())},D.onerror=g,D.withCredentials="include"==m.credentials,m.headers)D.setRequestHeader(R,m.headers[R]);D.send(m.body||null)})}p.r(Fe),p.d(Fe,{default:()=>l})},3702:(ft,Fe,p)=>{"use strict";p.d(Fe,{$:()=>nr});var R,l=p(8239),n=function(){function Ve(he){var ne=he||{},Te=ne.Username,nt=ne.Password,pt=ne.AuthParameters,Rt=ne.ClientMetadata;this.validationData=ne.ValidationData||{},this.authParameters=pt||{},this.clientMetadata=Rt||{},this.username=Te,this.password=nt}var Me=Ve.prototype;return Me.getUsername=function(){return this.username},Me.getPassword=function(){return this.password},Me.getValidationData=function(){return this.validationData},Me.getAuthParameters=function(){return this.authParameters},Me.getClientMetadata=function(){return this.clientMetadata},Ve}(),m=p(1147),P=p(1823),g=p.n(P),I=(p(4194),p(6946)),b=p.n(I),E=p(4449),U=p.n(E);if("undefined"!=typeof window&&window.crypto&&(R=window.crypto),!R&&"undefined"!=typeof window&&window.msCrypto&&(R=window.msCrypto),!R&&"undefined"!=typeof global&&global.crypto&&(R=global.crypto),!R)try{R=p(6249)}catch(Ve){}function G(){if(R){if("function"==typeof R.getRandomValues)try{return R.getRandomValues(new Uint32Array(1))[0]}catch(Ve){}if("function"==typeof R.randomBytes)try{return R.randomBytes(4).readInt32LE()}catch(Ve){}}throw new Error("Native crypto module could not be used to get secure random number.")}var J=function(){function Ve(he,ne){he=this.words=he||[],this.sigBytes=null!=ne?ne:4*he.length}var Me=Ve.prototype;return Me.random=function(ne){for(var ke=[],Te=0;Te>>2]>>>24-ke%4*8&255;ne.push((Te>>>4).toString(16)),ne.push((15&Te).toString(16))}return ne.join("")}(this)},Ve}();const $=ee;function ee(Ve,Me){null!=Ve&&this.fromString(Ve,Me)}function te(){return new ee(null)}var ce,re="undefined"!=typeof navigator;re&&"Microsoft Internet Explorer"==navigator.appName?(ee.prototype.am=function(Ve,Me,he,ne,ke,Te){for(var nt=32767&Me,pt=Me>>15;--Te>=0;){var Rt=32767&this[Ve],Nt=this[Ve++]>>15,$t=pt*Rt+Nt*nt;ke=((Rt=nt*Rt+((32767&$t)<<15)+he[ne]+(1073741823&ke))>>>30)+($t>>>15)+pt*Nt+(ke>>>30),he[ne++]=1073741823&Rt}return ke},ce=30):re&&"Netscape"!=navigator.appName?(ee.prototype.am=function(Ve,Me,he,ne,ke,Te){for(;--Te>=0;){var nt=Me*this[Ve++]+he[ne]+ke;ke=Math.floor(nt/67108864),he[ne++]=67108863&nt}return ke},ce=26):(ee.prototype.am=function(Ve,Me,he,ne,ke,Te){for(var nt=16383&Me,pt=Me>>14;--Te>=0;){var Rt=16383&this[Ve],Nt=this[Ve++]>>14,$t=pt*Rt+Nt*nt;ke=((Rt=nt*Rt+((16383&$t)<<14)+he[ne]+ke)>>28)+($t>>14)+pt*Nt,he[ne++]=268435455&Rt}return ke},ce=28),ee.prototype.DB=ce,ee.prototype.DM=(1<>>16)&&(Ve=he,Me+=16),0!=(he=Ve>>8)&&(Ve=he,Me+=8),0!=(he=Ve>>4)&&(Ve=he,Me+=4),0!=(he=Ve>>2)&&(Ve=he,Me+=2),0!=(he=Ve>>1)&&(Ve=he,Me+=1),Me}function C(Ve){this.m=Ve,this.mp=Ve.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(Me,Me),Me},C.prototype.revert=function(Ve){var Me=te();return Ve.copyTo(Me),this.reduce(Me),Me},C.prototype.reduce=function(Ve){for(;Ve.t<=this.mt2;)Ve[Ve.t++]=0;for(var Me=0;Me>15)*this.mpl&this.um)<<15)&Ve.DM;for(Ve[he=Me+this.m.t]+=this.m.am(0,ne,Ve,Me,0,this.m.t);Ve[he]>=Ve.DV;)Ve[he]-=Ve.DV,Ve[++he]++}Ve.clamp(),Ve.drShiftTo(this.m.t,Ve),Ve.compareTo(this.m)>=0&&Ve.subTo(this.m,Ve)},C.prototype.mulTo=function(Ve,Me,he){Ve.multiplyTo(Me,he),this.reduce(he)},C.prototype.sqrTo=function(Ve,Me){Ve.squareTo(Me),this.reduce(Me)},ee.prototype.copyTo=function(Ve){for(var Me=this.t-1;Me>=0;--Me)Ve[Me]=this[Me];Ve.t=this.t,Ve.s=this.s},ee.prototype.fromInt=function(Ve){this.t=1,this.s=Ve<0?-1:0,Ve>0?this[0]=Ve:Ve<-1?this[0]=Ve+this.DV:this.t=0},ee.prototype.fromString=function(Ve,Me){var he;if(16==Me)he=4;else if(8==Me)he=3;else if(2==Me)he=1;else if(32==Me)he=5;else{if(4!=Me)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");he=2}this.t=0,this.s=0;for(var ne=Ve.length,ke=!1,Te=0;--ne>=0;){var nt=rt(Ve,ne);nt<0?"-"==Ve.charAt(ne)&&(ke=!0):(ke=!1,0==Te?this[this.t++]=nt:Te+he>this.DB?(this[this.t-1]|=(nt&(1<>this.DB-Te):this[this.t-1]|=nt<=this.DB&&(Te-=this.DB))}this.clamp(),ke&&ee.ZERO.subTo(this,this)},ee.prototype.clamp=function(){for(var Ve=this.s&this.DM;this.t>0&&this[this.t-1]==Ve;)--this.t},ee.prototype.dlShiftTo=function(Ve,Me){var he;for(he=this.t-1;he>=0;--he)Me[he+Ve]=this[he];for(he=Ve-1;he>=0;--he)Me[he]=0;Me.t=this.t+Ve,Me.s=this.s},ee.prototype.drShiftTo=function(Ve,Me){for(var he=Ve;he=0;--pt)Me[pt+Te+1]=this[pt]>>ne|nt,nt=(this[pt]&ke)<=0;--pt)Me[pt]=0;Me[Te]=nt,Me.t=this.t+Te+1,Me.s=this.s,Me.clamp()},ee.prototype.rShiftTo=function(Ve,Me){Me.s=this.s;var he=Math.floor(Ve/this.DB);if(he>=this.t)Me.t=0;else{var ne=Ve%this.DB,ke=this.DB-ne,Te=(1<>ne;for(var nt=he+1;nt>ne;ne>0&&(Me[this.t-he-1]|=(this.s&Te)<>=this.DB;if(Ve.t>=this.DB;ne+=this.s}else{for(ne+=this.s;he>=this.DB;ne-=Ve.s}Me.s=ne<0?-1:0,ne<-1?Me[he++]=this.DV+ne:ne>0&&(Me[he++]=ne),Me.t=he,Me.clamp()},ee.prototype.multiplyTo=function(Ve,Me){var he=this.abs(),ne=Ve.abs(),ke=he.t;for(Me.t=ke+ne.t;--ke>=0;)Me[ke]=0;for(ke=0;ke=0;)Ve[he]=0;for(he=0;he=Me.DV&&(Ve[he+Me.t]-=Me.DV,Ve[he+Me.t+1]=1)}Ve.t>0&&(Ve[Ve.t-1]+=Me.am(he,Me[he],Ve,2*he,0,1)),Ve.s=0,Ve.clamp()},ee.prototype.divRemTo=function(Ve,Me,he){var ne=Ve.abs();if(!(ne.t<=0)){var ke=this.abs();if(ke.t0?(ne.lShiftTo(Rt,Te),ke.lShiftTo(Rt,he)):(ne.copyTo(Te),ke.copyTo(he));var Nt=Te.t,$t=Te[Nt-1];if(0!=$t){var hn=$t*(1<1?Te[Nt-2]>>this.F2:0),cn=this.FV/hn,Bn=(1<=0&&(he[he.t++]=1,he.subTo($n,he)),ee.ONE.dlShiftTo(Nt,$n),$n.subTo(Te,Te);Te.t=0;){var gi=he[--kn]==$t?this.DM:Math.floor(he[kn]*cn+(he[kn-1]+An)*Bn);if((he[kn]+=Te.am(0,gi,he,hi,0,Nt))0&&he.rShiftTo(Rt,he),nt<0&&ee.ZERO.subTo(he,he)}}},ee.prototype.invDigit=function(){if(this.t<1)return 0;var Ve=this[0];if(0==(1&Ve))return 0;var Me=3&Ve;return(Me=(Me=(Me=(Me=Me*(2-(15&Ve)*Me)&15)*(2-(255&Ve)*Me)&255)*(2-((65535&Ve)*Me&65535))&65535)*(2-Ve*Me%this.DV)%this.DV)>0?this.DV-Me:-Me},ee.prototype.addTo=function(Ve,Me){for(var he=0,ne=0,ke=Math.min(Ve.t,this.t);he>=this.DB;if(Ve.t>=this.DB;ne+=this.s}else{for(ne+=this.s;he>=this.DB;ne+=Ve.s}Me.s=ne<0?-1:0,ne>0?Me[he++]=ne:ne<-1&&(Me[he++]=this.DV+ne),Me.t=he,Me.clamp()},ee.prototype.toString=function(Ve){if(this.s<0)return"-"+this.negate().toString(Ve);var Me;if(16==Ve)Me=4;else if(8==Ve)Me=3;else if(2==Ve)Me=1;else if(32==Ve)Me=5;else{if(4!=Ve)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");Me=2}var ne,he=(1<0)for(pt>pt)>0&&(ke=!0,Te=Ue(ne));nt>=0;)pt>(pt+=this.DB-Me)):(ne=this[nt]>>(pt-=Me)&he,pt<=0&&(pt+=this.DB,--nt)),ne>0&&(ke=!0),ke&&(Te+=Ue(ne));return ke?Te:"0"},ee.prototype.negate=function(){var Ve=te();return ee.ZERO.subTo(this,Ve),Ve},ee.prototype.abs=function(){return this.s<0?this.negate():this},ee.prototype.compareTo=function(Ve){var Me=this.s-Ve.s;if(0!=Me)return Me;var he=this.t;if(0!=(Me=he-Ve.t))return this.s<0?-Me:Me;for(;--he>=0;)if(0!=(Me=this[he]-Ve[he]))return Me;return 0},ee.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+at(this[this.t-1]^this.s&this.DM)},ee.prototype.mod=function(Ve){var Me=te();return this.abs().divRemTo(Ve,null,Me),this.s<0&&Me.compareTo(ee.ZERO)>0&&Ve.subTo(Me,Me),Me},ee.prototype.equals=function(Ve){return 0==this.compareTo(Ve)},ee.prototype.add=function(Ve){var Me=te();return this.addTo(Ve,Me),Me},ee.prototype.subtract=function(Ve){var Me=te();return this.subTo(Ve,Me),Me},ee.prototype.multiply=function(Ve){var Me=te();return this.multiplyTo(Ve,Me),Me},ee.prototype.divide=function(Ve){var Me=te();return this.divRemTo(Ve,Me,null),Me},ee.prototype.modPow=function(Ve,Me,he){var ke,ne=Ve.bitLength(),Te=He(1),nt=new C(Me);if(ne<=0)return Te;ke=ne<18?1:ne<48?3:ne<144?4:ne<768?5:6;var pt=new Array,Rt=3,Nt=ke-1,$t=(1<1){var hn=te();for(nt.sqrTo(pt[1],hn);Rt<=$t;)pt[Rt]=te(),nt.mulTo(hn,pt[Rt-2],pt[Rt]),Rt+=2}var Bn,hi,cn=Ve.t-1,An=!0,kn=te();for(ne=at(Ve[cn])-1;cn>=0;){for(ne>=Nt?Bn=Ve[cn]>>ne-Nt&$t:(Bn=(Ve[cn]&(1<0&&(Bn|=Ve[cn-1]>>this.DB+ne-Nt)),Rt=ke;0==(1&Bn);)Bn>>=1,--Rt;if((ne-=Rt)<0&&(ne+=this.DB,--cn),An)pt[Bn].copyTo(Te),An=!1;else{for(;Rt>1;)nt.sqrTo(Te,kn),nt.sqrTo(kn,Te),Rt-=2;Rt>0?nt.sqrTo(Te,kn):(hi=Te,Te=kn,kn=hi),nt.mulTo(kn,pt[Bn],Te)}for(;cn>=0&&0==(Ve[cn]&1<Ve)&&ke}}(he))})(0,[ke],5e3).then(function(Rt){return Te(null,Rt)}).catch(function(Rt){return Te(Rt)})},Me.request=function(ne,ke,Te){var Rt,pt=Object.assign({},this.fetchOptions,{headers:{"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+ne,"X-Amz-User-Agent":Un.prototype.userAgent},method:"POST",mode:"cors",cache:"no-cache",body:JSON.stringify(ke)});fetch(this.endpoint,pt).then(function($t){return Rt=$t,$t},function($t){throw $t instanceof TypeError?new Error("Network error"):$t}).then(function($t){return $t.json().catch(function(){return{}})}).then(function($t){if(Rt.ok)return Te(null,$t);var hn=($t.__type||$t.code).split("#").pop(),cn=new Error($t.message||$t.Message||null);return cn.name=hn,cn.code=hn,Te(cn)}).catch(function($t){if(Rt&&Rt.headers&&Rt.headers.get("x-amzn-errortype"))try{var hn=Rt.headers.get("x-amzn-errortype").split(":")[0],cn=new Error(Rt.status?Rt.status.toString():null);return cn.code=hn,cn.name=hn,cn.statusCode=Rt.status,Te(cn)}catch(Bn){return Te($t)}else $t instanceof Error&&"Network error"===$t.message&&($t.code="NetworkError");return Te($t)})},Ve}();function Ft(Ve,Me,he,ne){if(void 0===ne&&(ne=1),"function"!=typeof Ve)throw Error("functionToRetry must be a function");return JSON.stringify(Me),Ve.apply(void 0,Me).catch(function(ke){if(function(Me){return Me&&Me.nonRetryable}(ke))throw ke;var Te=he(ne,Me,ke);if(!1!==Te)return new Promise(function(nt){return setTimeout(nt,Te)}).then(function(){return Ft(Ve,Me,he,ne+1)});throw ke})}Error;var tr=function(){function Ve(he,ne){var ke=he||{},Te=ke.UserPoolId,nt=ke.ClientId,pt=ke.endpoint,Rt=ke.fetchOptions,Nt=ke.AdvancedSecurityDataCollectionFlag;if(!Te||!nt)throw new Error("Both UserPoolId and ClientId are required.");if(Te.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(Te))throw new Error("Invalid UserPoolId format.");var $t=Te.split("_")[0];this.userPoolId=Te,this.clientId=nt,this.client=new bt($t,pt,Rt),this.advancedSecurityDataCollectionFlag=!1!==Nt,this.storage=he.Storage||(new Qt).getStorage(),ne&&(this.wrapRefreshSessionCallback=ne)}var Me=Ve.prototype;return Me.getUserPoolId=function(){return this.userPoolId},Me.getClientId=function(){return this.clientId},Me.signUp=function(ne,ke,Te,nt,pt,Rt){var Nt=this,$t={ClientId:this.clientId,Username:ne,Password:ke,UserAttributes:Te,ValidationData:nt,ClientMetadata:Rt};this.getUserContextData(ne)&&($t.UserContextData=this.getUserContextData(ne)),this.client.request("SignUp",$t,function(hn,cn){if(hn)return pt(hn,null);var An={user:new qn({Username:ne,Pool:Nt,Storage:Nt.storage}),userConfirmed:cn.UserConfirmed,userSub:cn.UserSub,codeDeliveryDetails:cn.CodeDeliveryDetails};return pt(null,An)})},Me.getCurrentUser=function(){var ke=this.storage.getItem("CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser");return ke?new qn({Username:ke,Pool:this,Storage:this.storage}):null},Me.getUserContextData=function(ne){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var ke=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var Te=ke.getData(ne,this.userPoolId,this.clientId);if(Te)return{EncodedData:Te}}return{}}},Ve}(),Wi=(p(7530),p(6215)),yi=p(205),zn=p(7716),nn=p(2160),Wn=p(1841),Er=p(2238),Pi=p(9565),oi=p(2527);let nr=(()=>{class Ve{constructor(he,ne,ke,Te){this.cookieService=he,this.http=ne,this.dialog=ke,this.navigationService=Te,this.onLoadUserRoles=new Wi.X({}),this.resetLoginForm=new Wi.X(!1),this.isAdmin=!1,this.isSupervisor=!1,this.isUser=!1,this.isDeleteCall=!1,this.isviewCall=!1,this.isDownloadCall=!1,this.isTagCall=!1,this.isCreateUser=!1,this.IsDeleteUser=!1,this.IsUpdateUser=!1,this.customerID="",console.log("Auth service initialized")}setConfig(he){try{this.config=he,this.userPool=new tr({UserPoolId:this.config.aws_user_pools_id,ClientId:this.config.aws_user_pools_web_client_id})}catch(ne){console.log("config error ",ne)}}getCognitoUser(he){return he?new qn(this.getCognitoUserData(he)):this.userPool.getCurrentUser()}getCognitoUserData(he){return{Username:he,Pool:this.userPool}}getAuthenticationDetails(he,ne){return new n({Username:he,Password:ne})}signIn(he,ne,ke){return new Promise((Te,nt)=>{let pt=this.getAuthenticationDetails(he,ne);const Rt=this.getCognitoUser(he);sessionStorage.setItem("username",he),Rt.authenticateUser(pt,{onSuccess:Nt=>{console.log("refreshToken",Nt.getRefreshToken()),this.setAccessToken(Nt.getIdToken().getJwtToken()),this.setTokenExpiry(Nt.getIdToken().getExpiration()),this.setRefreshToken(Nt.getRefreshToken()),this.setUserName(he),Te(this._accessToken)},newPasswordRequired:(Nt,$t)=>{delete Nt.email_verified,delete Nt.phone_number_verified,Nt.preferred_username=he,this.sessionUserAttributes=Nt,this.sessionUserAttributes.name=he,console.log("index ")},onFailure:Nt=>{console.error("failure",Nt.message||JSON.stringify(Nt)),nt(Nt)}})})}updateNewPassword(he){this.getCognitoUser()}refreshToken(){var he=this;return(0,l.Z)(function*(){return new Promise((ne,ke)=>{const Te=he.getCognitoUser();Te||ke(new Error("User not logged in.")),Te.refreshSession(he.getRefreshToken(),(nt,pt)=>{nt?(console.error("AuthenticationService=>refreshToken()=>refreshSession()",nt),ke(nt)):(he.setAccessToken(pt.getIdToken().getJwtToken()),he.setTokenExpiry(pt.getIdToken().getExpiration()),he.setRefreshToken(pt.getRefreshToken()),ne(he._accessToken))})})})()}isTokenExpired(){return this.getTokenExpiry()&&(new Date).getTime(),!0}isLoggedIn(){return!!sessionStorage.getItem("username")}getAuthenticatedUser(){return this.userPool.getCurrentUser()}logOut(){let he=this.getAuthenticatedUser();null==he||he.signOut(),this.cookieService.deleteAll(),sessionStorage.removeItem("username"),sessionStorage.removeItem("CustomersList"),localStorage.removeItem("CustomerID")}logOutAfterPasswordUpdate(){this.resetLoginForm.next(!0),this.logOut(),this.cookieService.deleteAll()}setTokenExpiry(he){this._tokenExpirtyTime=he,this.cookieService.set("tokenExpiry",he.toString())}getTokenExpiry(){if(this._tokenExpirtyTime)return this._tokenExpirtyTime;const he=this.cookieService.get("tokenExpiry");return he&&(this._tokenExpirtyTime=parseInt(he)),this._tokenExpirtyTime}setAccessToken(he){this._accessToken=he,this.cookieService.set("token",he)}getAccessToken(){if(this._accessToken)return this._accessToken;const he=this.cookieService.get("token");return this._accessToken=he||null,this._accessToken}setRefreshToken(he){this._refreshToken=he,this.cookieService.set("refreshToken",JSON.stringify(he))}getRefreshToken(){if(this._refreshToken)return this._refreshToken;let he=this.cookieService.get("refreshToken");return he&&(he=JSON.parse(he),this._refreshToken=new Re({RefreshToken:he.token})),this._refreshToken}setUserName(he){this.cookieService.set("username",he)}getUserName(){return this.cookieService.get("username")||null}handleError(he){return 0===he.status?console.error("An error occurred:",he.error):console.error(`Backend returned code ${he.status}, body was: ${he.error}`),(0,yi._)("Something bad happened; please try again later.")}getCustomerID(he){localStorage.removeItem("CustomerID"),he&&(this.customerID=he,localStorage.setItem("CustomerID",this.customerID))}returnCustomerID(){return this.customerID}encryptUsingAES256(he){let ke=oi.AES.encrypt(he,"awslambda-aes-encryption-key");return console.log("Encripted Id",ke.toString()),ke.toString()}}return Ve.\u0275fac=function(he){return new(he||Ve)(zn.LFG(nn.N),zn.LFG(Wn.eN),zn.LFG(Er.uw),zn.LFG(Pi.f))},Ve.\u0275prov=zn.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})()},946:(ft,Fe,p)=>{"use strict";p.d(Fe,{E:()=>g});var l=p(6215),n=p(7716),m=p(1841),P=p(3702);let g=(()=>{class D{constructor(b,E){this.http=b,this.authService=E,this.onConfigLoad=new l.X(null),this._reload_interval=120,this.congnito_pool_id="",this.congnito_client_id="",this.aws_api_url="",this.aws_IE_filter="",console.log("config service initialized"),this.loadConfig()}loadConfig(){this.http.get("assets/config/config.json").subscribe(b=>{try{this._api_url=b.api_url,this._aws_region=b.region,this.congnito_pool_id=b.aws_user_pools_id,this.congnito_client_id=b.aws_user_pools_web_client_id,this.aws_api_url=b.api_url_customer,this.aws_IE_filter=b.api_URL_filter,this.authService.setConfig(b),this.onConfigLoad.next(b)}catch(E){console.log("config error ",E)}})}get api_url(){return this._api_url}get aws_region(){return this._aws_region}get poolId(){return this.congnito_pool_id}get clientId(){return this.congnito_client_id}get s3Bucket(){return this._s3_bucket}get aws_api_url_function(){return this.aws_api_url}get aws_api_url_filter_function(){return this.aws_IE_filter}}return D.\u0275fac=function(b){return new(b||D)(n.LFG(m.eN),n.LFG(P.$))},D.\u0275prov=n.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})()},9762:(ft,Fe,p)=>{"use strict";p.d(Fe,{Z:()=>I});var l=p(8239),n=p(6215),m=p(7716),P=p(946),g=p(9565),D=p(1841);let I=(()=>{class b{constructor(U,R,G){this.config=U,this.navigate=R,this.http=G,this.getCustomerConfigurations=new n.X({}),this.subscriptions=[]}ngOnInit(){}getCustomerData(){try{return this.http.get(this.config.aws_api_url_function+"/details/").toPromise()}catch(U){return console.log("error in customer data ",U),0}}fetchCustomerData(U){var R=this;return(0,l.Z)(function*(){try{let G={};G=yield R.http.get(R.config.aws_api_url_function+"/"+U+"/configuration").toPromise(),G&&R.getCustomerConfigurations.next(G)}catch(G){console.log("error in fetch CustomerData ",G)}})()}updateCustomerConfigurations(U,R){return 1==R.Email?R.Email=1:0==R.Email&&(R.Email=0),1==R.Wallboard?R.Wallboard=1:0==R.Wallboard&&(R.Wallboard=0),1==R.VideoCalling?R.VideoCalling=1:0==R.VideoCalling&&(R.VideoCalling=0),1==R.MSTeams?R.MSTeams=1:0==R.MSTeams&&(R.MSTeams=0),1==R.Facebook?R.Facebook=1:0==R.Facebook&&(R.Facebook=0),1==R.Whatsapp?R.Whatsapp=1:0==R.Whatsapp&&(R.Whatsapp=0),1==R.ConnectAdmin?R.ConnectAdmin=1:0==R.ConnectAdmin&&(R.ConnectAdmin=0),1==R.IQ?R.IQ=1:0==R.IQ&&(R.IQ=0),1==R.InternalChat?R.InternalChat=1:0==R.InternalChat&&(R.InternalChat=0),1==R.IqType?R.IqType=1:0==R.IqType&&(R.IqType=0),1==R.SMS?R.SMS=1:0==R.SMS&&(R.SMS=0),1==R.CrmLite?R.CrmLite=!0:0==R.CrmLite&&(R.CrmLite=!1),this.http.put(this.config.aws_api_url_function+"/"+U+"/configuration",R).toPromise()}}return b.\u0275fac=function(U){return new(U||b)(m.LFG(P.E),m.LFG(g.f),m.LFG(D.eN))},b.\u0275prov=m.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})()},9565:(ft,Fe,p)=>{"use strict";p.d(Fe,{f:()=>m});var l=p(7716),n=p(4655);let m=(()=>{class P{constructor(D){this.router=D,this.subscriptions=[],this.directories={},console.log("NavigationService initialized")}givenUrl(D){this.router.navigate([D])}loginScreen(){this.router.navigate(["/"])}roleHomeScreen(){this.router.navigate(["/customers"])}CustomerConfigurationSettingScreen(){}updatePasswordScreen(){this.router.navigate(["/update-password"])}}return P.\u0275fac=function(D){return new(D||P)(l.LFG(n.F0))},P.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})()},292:(ft,Fe,p)=>{"use strict";p.d(Fe,{D:()=>P});var l=p(7716),n=p(8583);const m=function(g){return{"background-color":g}};let P=(()=>{class g{constructor(){}ngOnInit(){}}return g.\u0275fac=function(I){return new(I||g)},g.\u0275cmp=l.Xpm({type:g,selectors:[["app-custom-spinner"]],inputs:{color:"color"},decls:6,vars:15,consts:[[1,"spinner"],[1,"rect1",3,"ngStyle"],[1,"rect2",3,"ngStyle"],[1,"rect3",3,"ngStyle"],[1,"rect4",3,"ngStyle"],[1,"rect5",3,"ngStyle"]],template:function(I,b){1&I&&(l.TgZ(0,"div",0),l._UZ(1,"div",1),l._UZ(2,"div",2),l._UZ(3,"div",3),l._UZ(4,"div",4),l._UZ(5,"div",5),l.qZA()),2&I&&(l.xp6(1),l.Q6J("ngStyle",l.VKq(5,m,b.color?b.color:"")),l.xp6(1),l.Q6J("ngStyle",l.VKq(7,m,b.color?b.color:"")),l.xp6(1),l.Q6J("ngStyle",l.VKq(9,m,b.color?b.color:"")),l.xp6(1),l.Q6J("ngStyle",l.VKq(11,m,b.color?b.color:"")),l.xp6(1),l.Q6J("ngStyle",l.VKq(13,m,b.color?b.color:"")))},directives:[n.PC],styles:[".spinner[_ngcontent-%COMP%]{margin:0 auto;width:50px;height:40px;text-align:center;font-size:10px}.spinner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#0097cf;height:100%;margin-right:2px;width:6px;display:inline-block;animation:sk-stretchdelay 1.2s infinite ease-in-out}.spinner[_ngcontent-%COMP%] .rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.spinner[_ngcontent-%COMP%] .rect3[_ngcontent-%COMP%]{animation-delay:-1s}.spinner[_ngcontent-%COMP%] .rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.spinner[_ngcontent-%COMP%] .rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-stretchdelay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}"]}),g})()},9188:(ft,Fe,p)=>{"use strict";p.d(Fe,{m:()=>rt});var l=p(8583),n=p(4436),m=p(1436),P=p(7539),g=p(3935),D=p(2458),I=p(7716),b=p(1818),E=p(3679);const U=["sliderHandle"],R=["sliderHandleStart"],G=["sliderHandleEnd"],K=function(et,Tt){return{left:et,width:Tt}};function J(et,Tt){if(1&et&&I._UZ(0,"span",4),2&et){const He=I.oxw();I.Q6J("ngStyle",I.WLB(1,K,He.handleValues[0]+"%",He.handleValues[1]-He.handleValues[0]+"%"))}}const $=function(et,Tt){return{bottom:et,height:Tt}};function ee(et,Tt){if(1&et&&I._UZ(0,"span",4),2&et){const He=I.oxw();I.Q6J("ngStyle",I.WLB(1,$,He.handleValues[0]+"%",He.handleValues[1]-He.handleValues[0]+"%"))}}const te=function(et){return{height:et}};function ce(et,Tt){if(1&et&&I._UZ(0,"span",4),2&et){const He=I.oxw();I.Q6J("ngStyle",I.VKq(1,te,He.handleValue+"%"))}}const De=function(et){return{width:et}};function qe(et,Tt){if(1&et&&I._UZ(0,"span",4),2&et){const He=I.oxw();I.Q6J("ngStyle",I.VKq(1,De,He.handleValue+"%"))}}const Le=function(et,Tt){return{left:et,bottom:Tt}};function de(et,Tt){if(1&et){const He=I.EpF();I.TgZ(0,"span",5,6),I.NdJ("keydown",function(Oe){return I.CHM(He),I.oxw().onHandleKeydown(Oe)})("mousedown",function(Oe){return I.CHM(He),I.oxw().onMouseDown(Oe)})("touchstart",function(Oe){return I.CHM(He),I.oxw().onTouchStart(Oe)})("touchmove",function(Oe){return I.CHM(He),I.oxw().onTouchMove(Oe)})("touchend",function(Oe){return I.CHM(He),I.oxw().onTouchEnd(Oe)}),I.qZA()}if(2&et){const He=I.oxw();I.Udp("transition",He.dragging?"none":null),I.Q6J("ngStyle",I.WLB(8,Le,"horizontal"==He.orientation?He.handleValue+"%":null,"vertical"==He.orientation?He.handleValue+"%":null)),I.uIk("tabindex",He.disabled?null:He.tabindex)("aria-valuemin",He.min)("aria-valuenow",He.value)("aria-valuemax",He.max)("aria-labelledby",He.ariaLabelledBy)}}const ve=function(et){return{"p-slider-handle-active":et}};function re(et,Tt){if(1&et){const He=I.EpF();I.TgZ(0,"span",7,8),I.NdJ("keydown",function(Oe){return I.CHM(He),I.oxw().onHandleKeydown(Oe,0)})("mousedown",function(Oe){return I.CHM(He),I.oxw().onMouseDown(Oe,0)})("touchstart",function(Oe){return I.CHM(He),I.oxw().onTouchStart(Oe,0)})("touchmove",function(Oe){return I.CHM(He),I.oxw().onTouchMove(Oe,0)})("touchend",function(Oe){return I.CHM(He),I.oxw().onTouchEnd(Oe)}),I.qZA()}if(2&et){const He=I.oxw();I.Udp("transition",He.dragging?"none":null),I.Q6J("ngStyle",I.WLB(9,Le,He.rangeStartLeft,He.rangeStartBottom))("ngClass",I.VKq(12,ve,0==He.handleIndex)),I.uIk("tabindex",He.disabled?null:He.tabindex)("aria-valuemin",He.min)("aria-valuenow",He.value?He.value[0]:null)("aria-valuemax",He.max)("aria-labelledby",He.ariaLabelledBy)}}function ie(et,Tt){if(1&et){const He=I.EpF();I.TgZ(0,"span",7,9),I.NdJ("keydown",function(Oe){return I.CHM(He),I.oxw().onHandleKeydown(Oe,1)})("mousedown",function(Oe){return I.CHM(He),I.oxw().onMouseDown(Oe,1)})("touchstart",function(Oe){return I.CHM(He),I.oxw().onTouchStart(Oe,1)})("touchmove",function(Oe){return I.CHM(He),I.oxw().onTouchMove(Oe,1)})("touchend",function(Oe){return I.CHM(He),I.oxw().onTouchEnd(Oe)}),I.qZA()}if(2&et){const He=I.oxw();I.Udp("transition",He.dragging?"none":null),I.Q6J("ngStyle",I.WLB(9,Le,He.rangeEndLeft,He.rangeEndBottom))("ngClass",I.VKq(12,ve,1==He.handleIndex)),I.uIk("tabindex",He.disabled?null:He.tabindex)("aria-valuemin",He.min)("aria-valuenow",He.value?He.value[1]:null)("aria-valuemax",He.max)("aria-labelledby",He.ariaLabelledBy)}}const se=function(et,Tt,He,dt){return{"p-slider p-component":!0,"p-disabled":et,"p-slider-horizontal":Tt,"p-slider-vertical":He,"p-slider-animate":dt}},Ie={provide:E.JU,useExisting:(0,I.Gpc)(()=>pe),multi:!0};let pe=(()=>{class et{constructor(He,dt,Oe,je){this.el=He,this.renderer=dt,this.ngZone=Oe,this.cd=je,this.min=0,this.max=100,this.orientation="horizontal",this.tabindex=0,this.onChange=new I.vpe,this.onSlideEnd=new I.vpe,this.handleValues=[],this.onModelChange=()=>{},this.onModelTouched=()=>{},this.handleIndex=0}onMouseDown(He,dt){this.disabled||(this.dragging=!0,this.updateDomData(),this.sliderHandleClick=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:dt,this.bindDragListeners(),He.target.focus(),He.preventDefault(),this.animate&&b.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"))}onTouchStart(He,dt){if(!this.disabled){var Oe=He.changedTouches[0];this.startHandleValue=this.range?this.handleValues[dt]:this.handleValue,this.dragging=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:dt,"horizontal"===this.orientation?(this.startx=parseInt(Oe.clientX,10),this.barWidth=this.el.nativeElement.children[0].offsetWidth):(this.starty=parseInt(Oe.clientY,10),this.barHeight=this.el.nativeElement.children[0].offsetHeight),this.animate&&b.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"),He.preventDefault()}}onTouchMove(He,dt){if(!this.disabled){var je,Oe=He.changedTouches[0];je="horizontal"===this.orientation?Math.floor(100*(parseInt(Oe.clientX,10)-this.startx)/this.barWidth)+this.startHandleValue:Math.floor(100*(this.starty-parseInt(Oe.clientY,10))/this.barHeight)+this.startHandleValue,this.setValueFromHandle(He,je),He.preventDefault()}}onTouchEnd(He,dt){this.disabled||(this.dragging=!1,this.onSlideEnd.emit(this.range?{originalEvent:He,values:this.values}:{originalEvent:He,value:this.value}),this.animate&&b.p.addClass(this.el.nativeElement.children[0],"p-slider-animate"),He.preventDefault())}onBarClick(He){this.disabled||(this.sliderHandleClick||(this.updateDomData(),this.handleChange(He)),this.sliderHandleClick=!1)}onHandleKeydown(He,dt){this.disabled||(38==He.which||39==He.which?this.spin(He,1,dt):(37==He.which||40==He.which)&&this.spin(He,-1,dt))}spin(He,dt,Oe){let je=(this.step||1)*dt;this.range?(this.handleIndex=Oe,this.updateValue(this.values[this.handleIndex]+je),this.updateHandleValue()):(this.updateValue(this.value+je),this.updateHandleValue()),He.preventDefault()}handleChange(He){let dt=this.calculateHandleValue(He);this.setValueFromHandle(He,dt)}bindDragListeners(){this.ngZone.runOutsideAngular(()=>{const He=this.el?this.el.nativeElement.ownerDocument:"document";this.dragListener||(this.dragListener=this.renderer.listen(He,"mousemove",dt=>{this.dragging&&this.ngZone.run(()=>{this.handleChange(dt)})})),this.mouseupListener||(this.mouseupListener=this.renderer.listen(He,"mouseup",dt=>{this.dragging&&(this.dragging=!1,this.ngZone.run(()=>{this.onSlideEnd.emit(this.range?{originalEvent:dt,values:this.values}:{originalEvent:dt,value:this.value}),this.animate&&b.p.addClass(this.el.nativeElement.children[0],"p-slider-animate")}))}))})}unbindDragListeners(){this.dragListener&&this.dragListener(),this.mouseupListener&&this.mouseupListener()}setValueFromHandle(He,dt){this.sliderHandleClick=!1;let Oe=this.getValueFromHandle(dt);this.range?this.step?this.handleStepChange(Oe,this.values[this.handleIndex]):(this.handleValues[this.handleIndex]=dt,this.updateValue(Oe,He)):this.step?this.handleStepChange(Oe,this.value):(this.handleValue=dt,this.updateValue(Oe,He)),this.cd.markForCheck()}handleStepChange(He,dt){let Oe=He-dt,je=dt;Oe<0?je=dt+Math.ceil(He/this.step-dt/this.step)*this.step:Oe>0&&(je=dt+Math.floor(He/this.step-dt/this.step)*this.step),this.updateValue(je),this.updateHandleValue()}writeValue(He){this.range?this.values=He||[0,0]:this.value=He||0,this.updateHandleValue(),this.cd.markForCheck()}registerOnChange(He){this.onModelChange=He}registerOnTouched(He){this.onModelTouched=He}setDisabledState(He){this.disabled=He,this.cd.markForCheck()}get rangeStartLeft(){return this.isVertical()?"auto":this.handleValues[0]+"%"}get rangeStartBottom(){return this.isVertical()?this.handleValues[0]+"%":"auto"}get rangeEndLeft(){return this.isVertical()?"auto":this.handleValues[1]+"%"}get rangeEndBottom(){return this.isVertical()?this.handleValues[1]+"%":"auto"}isVertical(){return"vertical"===this.orientation}updateDomData(){let He=this.el.nativeElement.children[0].getBoundingClientRect();this.initX=He.left+b.p.getWindowScrollLeft(),this.initY=He.top+b.p.getWindowScrollTop(),this.barWidth=this.el.nativeElement.children[0].offsetWidth,this.barHeight=this.el.nativeElement.children[0].offsetHeight}calculateHandleValue(He){return"horizontal"===this.orientation?100*(He.pageX-this.initX)/this.barWidth:100*(this.initY+this.barHeight-He.pageY)/this.barHeight}updateHandleValue(){this.range?(this.handleValues[0]=100*(this.values[0]this.max?100:this.values[1]-this.min)/(this.max-this.min)):this.handleValue=this.valuethis.max?100:100*(this.value-this.min)/(this.max-this.min)}updateValue(He,dt){if(this.range){let Oe=He;0==this.handleIndex?(Oethis.values[1]&&(Oe=this.values[1],this.handleValues[0]=this.handleValues[1]),this.sliderHandleStart.nativeElement.focus()):(Oe>this.max?(Oe=this.max,this.handleValues[1]=100):Oethis.max&&(He=this.max,this.handleValue=100),this.value=this.getNormalizedValue(He),this.onModelChange(this.value),this.onChange.emit({event:dt,value:this.value}),this.sliderHandle.nativeElement.focus()}getValueFromHandle(He){return He/100*(this.max-this.min)+this.min}getDecimalsCount(He){return He&&Math.floor(He)!==He&&He.toString().split(".")[1].length||0}getNormalizedValue(He){let dt=this.getDecimalsCount(this.step);return dt>0?+He.toFixed(dt):Math.floor(He)}ngOnDestroy(){this.unbindDragListeners()}}return et.\u0275fac=function(He){return new(He||et)(I.Y36(I.SBq),I.Y36(I.Qsj),I.Y36(I.R0b),I.Y36(I.sBO))},et.\u0275cmp=I.Xpm({type:et,selectors:[["p-slider"]],viewQuery:function(He,dt){if(1&He&&(I.Gf(U,5),I.Gf(R,5),I.Gf(G,5)),2&He){let Oe;I.iGM(Oe=I.CRH())&&(dt.sliderHandle=Oe.first),I.iGM(Oe=I.CRH())&&(dt.sliderHandleStart=Oe.first),I.iGM(Oe=I.CRH())&&(dt.sliderHandleEnd=Oe.first)}},hostAttrs:[1,"p-element"],inputs:{animate:"animate",disabled:"disabled",min:"min",max:"max",orientation:"orientation",step:"step",range:"range",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex"},outputs:{onChange:"onChange",onSlideEnd:"onSlideEnd"},features:[I._Bn([Ie])],decls:8,vars:16,consts:[[3,"ngStyle","ngClass","click"],["class","p-slider-range",3,"ngStyle",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],[1,"p-slider-range",3,"ngStyle"],[1,"p-slider-handle",3,"ngStyle","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandle",""],[1,"p-slider-handle",3,"ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandleStart",""],["sliderHandleEnd",""]],template:function(He,dt){1&He&&(I.TgZ(0,"div",0),I.NdJ("click",function(je){return dt.onBarClick(je)}),I.YNc(1,J,1,4,"span",1),I.YNc(2,ee,1,4,"span",1),I.YNc(3,ce,1,3,"span",1),I.YNc(4,qe,1,3,"span",1),I.YNc(5,de,2,11,"span",2),I.YNc(6,re,2,14,"span",3),I.YNc(7,ie,2,14,"span",3),I.qZA()),2&He&&(I.Tol(dt.styleClass),I.Q6J("ngStyle",dt.style)("ngClass",I.l5B(11,se,dt.disabled,"horizontal"==dt.orientation,"vertical"==dt.orientation,dt.animate)),I.xp6(1),I.Q6J("ngIf",dt.range&&"horizontal"==dt.orientation),I.xp6(1),I.Q6J("ngIf",dt.range&&"vertical"==dt.orientation),I.xp6(1),I.Q6J("ngIf",!dt.range&&"vertical"==dt.orientation),I.xp6(1),I.Q6J("ngIf",!dt.range&&"horizontal"==dt.orientation),I.xp6(1),I.Q6J("ngIf",!dt.range),I.xp6(1),I.Q6J("ngIf",dt.range),I.xp6(1),I.Q6J("ngIf",dt.range))},directives:[l.PC,l.mk,l.O5],styles:[".p-slider{position:relative}.p-slider .p-slider-handle{cursor:grab;touch-action:none}.p-slider-range,.p-slider .p-slider-handle{position:absolute;display:block}.p-slider-horizontal .p-slider-range{top:0;left:0;height:100%}.p-slider-horizontal .p-slider-handle{top:50%}.p-slider-vertical{height:100px}.p-slider-vertical .p-slider-handle{left:50%}.p-slider-vertical .p-slider-range{bottom:0;left:0;width:100%}"],encapsulation:2,changeDetection:0}),et})(),be=(()=>{class et{}return et.\u0275fac=function(He){return new(He||et)},et.\u0275mod=I.oAB({type:et}),et.\u0275inj=I.cJS({imports:[[l.ez]]}),et})();var Ue=p(9983);let rt=(()=>{class et{}return et.\u0275fac=function(He){return new(He||et)},et.\u0275mod=I.oAB({type:et}),et.\u0275inj=I.cJS({imports:[[l.ez,n.KP,m.AV,P.p9,g.Tx,D.si,be,E.u5,E.UX,Ue.c],m.AV]}),et})()},3036:(ft,Fe,p)=>{"use strict";var l=p(9075),n=p(7716),m=p(4655),P=p(8239),g=p(9762),D=p(9565),I=p(8295),b=p(7441),E=p(2458),U=p(3679),R=p(8583),G=p(1095);const K=["selectform"];function J(c,u){if(1&c){const i=n.EpF();n.ynx(0),n.TgZ(1,"mat-option",12),n.NdJ("click",function(){const w=n.CHM(i).$implicit;return n.oxw().activeSave(w.AWSCustomerID)}),n._uU(2),n.qZA(),n.BQk()}if(2&c){const i=u.$implicit;n.xp6(1),n.Q6J("value",i),n.xp6(1),n.hij(" ",i.CompanyName," ")}}function $(c,u){1&c&&n._UZ(0,"img",15)}function ee(c,u){if(1&c&&(n.TgZ(0,"div",13),n.YNc(1,$,1,0,"img",14),n._uU(2),n.qZA()),2&c){const i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.error),n.xp6(1),n.hij(" ",i.error," ")}}let te=(()=>{class c{constructor(i,o,h){this.navigationService=i,this.router=o,this.customerData=h,this.loading=!0,this.CustomerDataArray=[],this.searchQry="",this.filterCustomer=[]}ngOnInit(){this.filterCustomer=JSON.parse(sessionStorage.getItem("CustomersList")),this.callApi()}onDocumentClick(i){}callApi(){var i=this;return(0,P.Z)(function*(){i.loading=!0,i.CustomerDataArray=yield i.customerData.getCustomerData(),sessionStorage.setItem("CustomersList",JSON.stringify(i.CustomerDataArray)),i.searchCustomer(),i.loading=!1,console.log(i.CustomerDataArray)})()}activeSave(i){this.customerID=i}NextButton(i){this.error=null,(null==i||null==i||""==i)&&(this.error="*Please select a customer"),this.error||this.router.navigate(["/main"],{queryParams:{id:i}})}searchCustomer(){this.filterCustomer=""==this.searchQry?this.CustomerDataArray:this.CustomerDataArray.filter(i=>i.CompanyName.toLowerCase().includes(this.searchQry.toLowerCase()))}}return c.\u0275fac=function(i){return new(i||c)(n.Y36(D.f),n.Y36(m.F0),n.Y36(g.Z))},c.\u0275cmp=n.Xpm({type:c,selectors:[["app-customers"]],viewQuery:function(i,o){if(1&i&&n.Gf(K,5),2&i){let h;n.iGM(h=n.CRH())&&(o.contactForm=h.first)}},hostBindings:function(i,o){1&i&&n.NdJ("click",function(w){return o.onDocumentClick(w)},!1,n.evT)},decls:15,vars:3,consts:[[1,"mainContent"],[1,"container"],[1,"form"],[1,"mb-3"],["appearance","fill"],["placeholder","Select",3,"keyup.enter"],[1,"search-in"],["type","text","placeholder","search",1,"search-bar",3,"ngModel","ngModelChange","keyup","click"],[4,"ngFor","ngForOf"],["class","wronginfotext robotoLight",4,"ngIf"],[1,"text-center"],["mat-button","","type","button",1,"login-button",3,"click"],[3,"value","click"],[1,"wronginfotext","robotoLight"],["class","iconleft","src","/assets/icons/erroricon.png",4,"ngIf"],["src","/assets/icons/erroricon.png",1,"iconleft"]],template:function(i,o){1&i&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"div",3),n.TgZ(4,"p"),n._uU(5,"Please Select the Customer form below"),n.qZA(),n.TgZ(6,"mat-form-field",4),n.TgZ(7,"mat-select",5),n.NdJ("keyup.enter",function(){return o.NextButton(o.customerID)}),n.TgZ(8,"mat-option",6),n.TgZ(9,"input",7),n.NdJ("ngModelChange",function(w){return o.searchQry=w})("keyup",function(){return o.searchCustomer()})("click",function(w){return w.stopPropagation()}),n.qZA(),n.qZA(),n.YNc(10,J,3,2,"ng-container",8),n.qZA(),n.qZA(),n.qZA(),n.YNc(11,ee,3,2,"div",9),n.TgZ(12,"div",10),n.TgZ(13,"button",11),n.NdJ("click",function(){return o.NextButton(o.customerID)}),n._uU(14,"next"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&i&&(n.xp6(9),n.Q6J("ngModel",o.searchQry),n.xp6(1),n.Q6J("ngForOf",o.filterCustomer),n.xp6(1),n.Q6J("ngIf",o.error))},directives:[I.KE,b.gD,E.ey,U.Fj,U.JJ,U.On,R.sg,R.O5,G.lW],styles:['.mainContent[_ngcontent-%COMP%]{height:100vh;width:100%;display:flex;align-items:center;text-align:center;background:#fff}.container[_ngcontent-%COMP%]{max-width:540px;margin:0 auto;width:540px}.mainLogo[_ngcontent-%COMP%]{position:relative;top:0%;left:0%;transform:translate(0)}.form[_ngcontent-%COMP%]{margin:40px 0 0;padding:0 20px}.form[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]{font-size:14px;font-family:"Roboto";font-weight:400;padding:2px;border-radius:5px;color:#fff;background:#0097cf;transition:all .3s ease;transform:translateZ(0);z-index:2;margin-top:10px;width:200px;text-transform:uppercase;cursor:pointer;border:solid 1px #0097cf;overflow:hidden}.form[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:after{position:absolute;content:" ";top:0;left:0;z-index:-1;width:100%;height:100%;transition:all .3s ease;transform:scale(.1)}.form[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:hover:after{background:#323E48;transform:scale(1)}.form[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:hover{border:solid 1px #323E48}.search-bar[_ngcontent-%COMP%]{width:100%;padding:10px;font-size:14px;border:none;height:3em;border-bottom:solid 1px #ddd}input.search-bar[_ngcontent-%COMP%]:focus-visible{outline:none}.mb-3[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:17px;margin:0 0 1em} .mat-select-panel .mat-option.search-in{padding:0;position:sticky;top:0;z-index:2} .mat-option:hover:not(.mat-option-disabled), .mat-option:focus:not(.mat-option-disabled), .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(94,94,94,.17)} .mat-select-panel{background:white}[_nghost-%COMP%] .mat-select-value, .mat-option.mat-active, .mat-option, .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#222}[_nghost-%COMP%] .mat-form-field{display:block!important}[_nghost-%COMP%] .mat-select-arrow{color:#000!important}[_nghost-%COMP%] .mat-select-placeholder{color:#000}@media screen and (max-width: 769px){.form[_ngcontent-%COMP%] .mb-3[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:92%}}.wronginfotext[_ngcontent-%COMP%]{color:red;text-align:left}']}),c})();var ce=p(3702);let De=(()=>{class c{constructor(i,o){this.navigationService=i,this.authService=o}canActivate(i,o){return!!this.authService.isLoggedIn()||(this.navigationService.loginScreen(),!1)}}return c.\u0275fac=function(i){return new(i||c)(n.LFG(D.f),n.LFG(ce.$))},c.\u0275prov=n.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),qe=(()=>{class c{constructor(i,o){this.navigationService=i,this.authService=o}canActivate(i,o){return console.log("current route ",o.url),!("/login"==o.url||this.authService.isLoggedIn()&&(this.navigationService.roleHomeScreen(),1))}}return c.\u0275fac=function(i){return new(i||c)(n.LFG(D.f),n.LFG(ce.$))},c.\u0275prov=n.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();var Le=p(946),de=p(292);function ve(c,u){1&c&&n._UZ(0,"img",16)}function re(c,u){if(1&c&&(n.TgZ(0,"div",14),n.YNc(1,ve,1,0,"img",15),n._uU(2),n.qZA()),2&c){const i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.error),n.xp6(1),n.hij(" ",i.error," ")}}function ie(c,u){if(1&c){const i=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){return n.CHM(i),n.oxw().signIn()}),n._uU(1,"Sign in"),n.qZA()}}function se(c,u){1&c&&(n.TgZ(0,"div",18),n._UZ(1,"app-custom-spinner",19),n.qZA()),2&c&&(n.xp6(1),n.Q6J("color","#fff"))}const pe=[{path:"",component:(()=>{class c{constructor(i,o,h,w){this.formBuilder=i,this.authService=o,this.config=h,this.navigationService=w,this.loading=!1,this.endPoint=[],this.AWSRegion=[],this.showToaster=!0,this.LoginObject={},this.ButtonSignup=!0,this.buttonSignInCheck=!1}ngOnInit(){this.config.onConfigLoad.subscribe(i=>{this.endPoint=this.config.api_url})}createForm(){this.loginForm=this.formBuilder.group({username:[null,[U.kI.required]],password:[null,[U.kI.required]],remember:[!1]})}signIn(){var i=this;return(0,P.Z)(function*(){try{if(i.error=null,null==i.LoginObject.username||null==i.LoginObject.username||""==i.LoginObject.username)return i.error="Username is required.",void(i.ButtonSignup=!1);if(null==i.LoginObject.password||null==i.LoginObject.password||""==i.LoginObject.password)return i.error="Password is required.",void(i.ButtonSignup=!1);i.loading=!0,yield i.authService.signIn(i.LoginObject.username,i.LoginObject.password,i.endPoint),i.buttonSignInCheck=!1,i.navigationService.roleHomeScreen()}catch(o){i.loading=!1,i.ButtonSignup=!1,i.LoginObject.username="",i.LoginObject.password="",sessionStorage.removeItem("username"),i.error=o.message}})()}}return c.\u0275fac=function(i){return new(i||c)(n.Y36(U.qu),n.Y36(ce.$),n.Y36(Le.E),n.Y36(D.f))},c.\u0275cmp=n.Xpm({type:c,selectors:[["app-login"]],decls:24,vars:5,consts:[[1,"mainContent"],[1,"container"],[1,"mainLogo"],["src","../../assets/LOGO V1-14.svg","alt","Omnigage Logo"],[1,"form"],[1,"mb-3"],["type","text","id","email","name","email","placeholder","Username",1,"form-control","mb-4",3,"ngModel","ngModelChange","keyup.enter"],["type","password","id","password","name","password","placeholder","Password",1,"form-control","mb-4",3,"ngModel","ngModelChange","keyup.enter"],["class","wronginfotext robotoLight",4,"ngIf"],[1,"mt-3"],["mat-button","","class","login-button","type","button","id","SignupButton",3,"click",4,"ngIf"],["class","z-1",4,"ngIf"],[1,"d-forget","mt-4"],["href","","disabled",""],[1,"wronginfotext","robotoLight"],["class","iconleft","src","/assets/icons/erroricon.png",4,"ngIf"],["src","/assets/icons/erroricon.png",1,"iconleft"],["mat-button","","type","button","id","SignupButton",1,"login-button",3,"click"],[1,"z-1"],[3,"color"]],template:function(i,o){1&i&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n._UZ(3,"img",3),n.qZA(),n.TgZ(4,"div",4),n.TgZ(5,"form"),n.TgZ(6,"div",5),n.TgZ(7,"label"),n._uU(8,"Username"),n.qZA(),n.TgZ(9,"input",6),n.NdJ("ngModelChange",function(w){return o.LoginObject.username=w})("keyup.enter",function(){return o.signIn()}),n.qZA(),n.qZA(),n.TgZ(10,"div",5),n.TgZ(11,"label"),n._uU(12,"Password"),n.qZA(),n.TgZ(13,"input",7),n.NdJ("ngModelChange",function(w){return o.LoginObject.password=w})("keyup.enter",function(){return o.signIn()}),n.qZA(),n.qZA(),n.YNc(14,re,3,2,"div",8),n.TgZ(15,"div",9),n.YNc(16,ie,2,0,"button",10),n.qZA(),n.YNc(17,se,2,1,"div",11),n.TgZ(18,"div",12),n.TgZ(19,"a",13),n._uU(20,"Forgot password?"),n.qZA(),n.qZA(),n.TgZ(21,"div",12),n.TgZ(22,"p"),n._uU(23,"Copyright @ 2021 OMNINGAGE Limited, All rights reserved"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&i&&(n.xp6(9),n.Q6J("ngModel",o.LoginObject.username),n.xp6(4),n.Q6J("ngModel",o.LoginObject.password),n.xp6(1),n.Q6J("ngIf",o.error),n.xp6(2),n.Q6J("ngIf",o.LoginObject.username&&o.LoginObject.password),n.xp6(1),n.Q6J("ngIf",o.loading))},directives:[U._Y,U.JL,U.F,U.Fj,U.JJ,U.On,R.O5,G.lW,de.D],styles:['.mainContent[_ngcontent-%COMP%]{height:100vh;width:100%;display:flex;align-items:center;text-align:center;background:#202A33}.container[_ngcontent-%COMP%]{max-width:540px;margin:0 auto;width:540px}.mainLogo[_ngcontent-%COMP%]{position:relative;top:0%;left:0%;transform:translate(0)}.form[_ngcontent-%COMP%]{margin:40px 0 0;padding:0 20px}.form[_ngcontent-%COMP%] .mb-3[_ngcontent-%COMP%]{margin-bottom:20px}.form[_ngcontent-%COMP%] .mb-3[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;text-align:left;margin-bottom:10px;font-size:14px;color:#fff}.form[_ngcontent-%COMP%] .mb-3[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;width:100%;height:calc(1.7em + .75rem + 1.7px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form[_ngcontent-%COMP%] .mt-3[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]{font-size:14px;font-family:"Roboto";font-weight:400;padding:2px;border-radius:5px;color:#fff;background:#0097cf;transition:all .3s ease;transform:translateZ(0);z-index:2;width:200px;cursor:pointer;border:solid 1px #0097cf;overflow:hidden}.form[_ngcontent-%COMP%] .mt-3[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:after{position:absolute;content:" ";top:0;left:0;z-index:-1;width:100%;height:100%;transition:all .3s ease;transform:scale(.1)}.form[_ngcontent-%COMP%] .mt-3[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:hover:after{background:#323E48;transform:scale(1)}.form[_ngcontent-%COMP%] .mt-3[_ngcontent-%COMP%] .login-button[_ngcontent-%COMP%]:hover{border:solid 1px #323E48}.form[_ngcontent-%COMP%] .mt-3[_ngcontent-%COMP%] .login-button.disabled[_ngcontent-%COMP%]{opacity:.5}.d-forget[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-weight:500;opacity:.3;pointer-events:none}.d-forget[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#5bd2fe}.wronginfotext[_ngcontent-%COMP%]{color:red}.iconleft[_ngcontent-%COMP%]{margin-right:10px}@media screen and (max-width: 769px){.form[_ngcontent-%COMP%] .mb-3[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:92%}}']}),c})(),canActivate:[qe]},{path:"customers",component:te,canActivate:[De]},{path:"main",canActivate:[De],loadChildren:()=>p.e(275).then(p.bind(p,2275)).then(c=>c.MainModule)}];let be=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[m.Bz.forRoot(pe)],m.Bz]}),c})(),Ue=(()=>{class c{constructor(i){this._config=i,this.title="omniCustomersAdmin"}}return c.\u0275fac=function(i){return new(i||c)(n.Y36(Le.E))},c.\u0275cmp=n.Xpm({type:c,selectors:[["app-root"]],decls:1,vars:0,template:function(i,o){1&i&&n._UZ(0,"router-outlet")},directives:[m.lC],styles:[""]}),c})();var rt=p(6237),et=p(1841),Tt=p(2238),He=p(9188),dt=p(4402);let Oe=(()=>{class c{constructor(i){this.authService=i,this.customerID=""}intercept(i,o){return(0,dt.D)(this.handle(i,o))}handle(i,o){var h=this;return(0,P.Z)(function*(){try{var w=localStorage.getItem("CustomerID");return w&&(h.customerID=w),h.authService&&h.authService.isLoggedIn()&&(i=i.headers.has("skip")?i.clone({setHeaders:{Authorization:"Bearer "+h.authService.getAccessToken(),userid:h.customerID}}):i.clone({setHeaders:{Authorization:"Bearer "+h.authService.getAccessToken()}})),o.handle(i).toPromise()}catch(Ce){return console.error("JwtInterceptor=>intercept()=>handle()",Ce),o.handle(i).toPromise()}})()}}return c.\u0275fac=function(i){return new(i||c)(n.LFG(ce.$))},c.\u0275prov=n.Yz7({token:c,factory:c.\u0275fac}),c})();var je=p(2160),Ke=p(6827),Be=p(9238),At=p(6994),at=p(521),Ye=p(9490),lt=p(9765),tt=p(5319),wt=p(7574),Gt=p(3637),en=p(6561);function gt(c){const{subscriber:u,counter:i,period:o}=c;u.next(i),this.schedule({subscriber:u,counter:i+1,period:o},o)}var Qe=p(1927),ze=p(6682),It=p(6782),A=(p(9761),p(8002),p(5257),p(3342),p(3190),p(4607));function C(c,u,i){for(let o in u)if(u.hasOwnProperty(o)){const h=u[o];h?c.setProperty(o,h,(null==i?void 0:i.has(o))?"important":""):c.removeProperty(o)}return c}function S(c,u){const i=u?"":"none";C(c.style,{"touch-action":u?"":"none","-webkit-user-drag":u?"":"none","-webkit-tap-highlight-color":u?"":"transparent","user-select":i,"-ms-user-select":i,"-webkit-user-select":i,"-moz-user-select":i})}function F(c,u,i){C(c.style,{position:u?"":"fixed",top:u?"":"0",opacity:u?"":"0",left:u?"":"-999em"},i)}function H(c,u){return u&&"none"!=u?c+" "+u:c}function v(c){const u=c.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(c)*u}function q(c,u){return c.getPropertyValue(u).split(",").map(o=>o.trim())}function xe(c){const u=c.getBoundingClientRect();return{top:u.top,right:u.right,bottom:u.bottom,left:u.left,width:u.width,height:u.height}}function vt(c,u,i){const{top:o,bottom:h,left:w,right:Ce}=c;return i>=o&&i<=h&&u>=w&&u<=Ce}function xt(c,u,i){c.top+=u,c.bottom=c.top+c.height,c.left+=i,c.right=c.left+c.width}function kt(c,u,i,o){const{top:h,right:w,bottom:Ce,left:Ze,width:Ot,height:sn}=c,on=Ot*u,Tn=sn*u;return o>h-Tn&&oZe-on&&i{this.positions.set(i,{scrollPosition:{top:i.scrollTop,left:i.scrollLeft},clientRect:xe(i)})})}handleScroll(u){const i=(0,at.sA)(u),o=this.positions.get(i);if(!o)return null;const h=i===this._document?i.documentElement:i,w=o.scrollPosition;let Ce,Ze;if(i===this._document){const on=this._viewportRuler.getViewportScrollPosition();Ce=on.top,Ze=on.left}else Ce=i.scrollTop,Ze=i.scrollLeft;const Ot=w.top-Ce,sn=w.left-Ze;return this.positions.forEach((on,Tn)=>{on.clientRect&&i!==Tn&&h.contains(Tn)&&xt(on.clientRect,Ot,sn)}),w.top=Ce,w.left=Ze,{top:Ot,left:sn}}}function Zt(c){const u=c.cloneNode(!0),i=u.querySelectorAll("[id]"),o=c.nodeName.toLowerCase();u.removeAttribute("id");for(let h=0;h{if(this.beforeStarted.next(),this._handles.length){const Ot=this._handles.find(sn=>{const on=(0,at.sA)(Ze);return!!on&&(on===sn||sn.contains(on))});Ot&&!this._disabledHandles.has(Ot)&&!this.disabled&&this._initializeDragSequence(Ot,Ze)}else this.disabled||this._initializeDragSequence(this._rootElement,Ze)},this._pointerMove=Ze=>{const Ot=this._getPointerPositionOnPage(Ze);if(!this._hasStartedDragging){if(Math.abs(Ot.x-this._pickupPositionOnPage.x)+Math.abs(Ot.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Dr=Date.now()>=this._dragStartTime+this._getDragStartDelay(Ze),os=this._dropContainer;if(!Dr)return void this._endDragSequence(Ze);(!os||!os.isDragging()&&!os.isReceiving())&&(Ze.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Ze)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),Ze.preventDefault();const sn=this._getConstrainedPointerPosition(Ot);if(this._hasMoved=!0,this._lastKnownPointerPosition=Ot,this._updatePointerDirectionDelta(sn),this._dropContainer)this._updateActiveDropContainer(sn,Ot);else{const on=this._activeTransform;on.x=sn.x-this._pickupPositionOnPage.x+this._passiveTransform.x,on.y=sn.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(on.x,on.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${on.x} ${on.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:sn,event:Ze,distance:this._getDragDistance(sn),delta:this._pointerDirectionDelta})})},this._pointerUp=Ze=>{this._endDragSequence(Ze)},this.withRootElement(u).withParent(i.parentDragRef||null),this._parentPositions=new Yt(o,w),Ce.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(u){const i=(0,Ye.Ig)(u);i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEach(o=>S(o,i)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(u){this._handles=u.map(o=>(0,Ye.fI)(o)),this._handles.forEach(o=>S(o,this.disabled)),this._toggleNativeDragInteractions();const i=new Set;return this._disabledHandles.forEach(o=>{this._handles.indexOf(o)>-1&&i.add(o)}),this._disabledHandles=i,this}withPreviewTemplate(u){return this._previewTemplate=u,this}withPlaceholderTemplate(u){return this._placeholderTemplate=u,this}withRootElement(u){const i=(0,Ye.fI)(u);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{i.addEventListener("mousedown",this._pointerDown,jt),i.addEventListener("touchstart",this._pointerDown,ht)}),this._initialTransform=void 0,this._rootElement=i),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(u){return this._boundaryElement=u?(0,Ye.fI)(u):null,this._resizeSubscription.unsubscribe(),u&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(u){return this._parentDragRef=u,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&_e(this._rootElement),_e(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(u){!this._disabledHandles.has(u)&&this._handles.indexOf(u)>-1&&(this._disabledHandles.add(u),S(u,!0))}enableHandle(u){this._disabledHandles.has(u)&&(this._disabledHandles.delete(u),S(u,this.disabled))}withDirection(u){return this._direction=u,this}_withDropContainer(u){this._dropContainer=u}getFreeDragPosition(){const u=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:u.x,y:u.y}}setFreeDragPosition(u){return this._activeTransform={x:0,y:0},this._passiveTransform.x=u.x,this._passiveTransform.y=u.y,this._dropContainer||this._applyRootElementTransform(u.x,u.y),this}withPreviewContainer(u){return this._previewContainer=u,this}_sortFromLastPointerPosition(){const u=this._lastKnownPointerPosition;u&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(u),u)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&_e(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&_e(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(u){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(u),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const i=this._getPointerPositionOnPage(u);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(i),dropPoint:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(u){ye(u)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const i=this._dropContainer;if(i){const o=this._rootElement,h=o.parentNode,w=this._placeholder=this._createPlaceholderElement(),Ce=this._anchor=this._anchor||this._document.createComment(""),Ze=this._getShadowRoot();h.insertBefore(Ce,o),this._initialTransform=o.style.transform||"",this._preview=this._createPreviewElement(),F(o,!1,We),this._document.body.appendChild(h.replaceChild(w,o)),this._getPreviewInsertionPoint(h,Ze).appendChild(this._preview),this.started.next({source:this}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(u,i){this._parentDragRef&&i.stopPropagation();const o=this.isDragging(),h=ye(i),w=!h&&0!==i.button,Ce=this._rootElement,Ze=(0,at.sA)(i),Ot=!h&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),sn=h?(0,Be.yG)(i):(0,Be.X6)(i);if(Ze&&Ze.draggable&&"mousedown"===i.type&&i.preventDefault(),o||w||Ot||sn)return;this._handles.length&&(this._rootElementTapHighlight=Ce.style.webkitTapHighlightColor||"",Ce.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Fn=>this._updateOnScroll(Fn)),this._boundaryElement&&(this._boundaryRect=xe(this._boundaryElement));const on=this._previewTemplate;this._pickupPositionInElement=on&&on.template&&!on.matchSize?{x:0,y:0}:this._getPointerPositionInElement(u,i);const Tn=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(i);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Tn.x,y:Tn.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,i)}_cleanupDragArtifacts(u){F(this._rootElement,!0,We),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const i=this._dropContainer,o=i.getItemIndex(this),h=this._getPointerPositionOnPage(u),w=this._getDragDistance(h),Ce=i._isOverContainer(h.x,h.y);this.ended.next({source:this,distance:w,dropPoint:h}),this.dropped.next({item:this,currentIndex:o,previousIndex:this._initialIndex,container:i,previousContainer:this._initialContainer,isPointerOverContainer:Ce,distance:w,dropPoint:h}),i.drop(this,o,this._initialIndex,this._initialContainer,Ce,w,h),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:u,y:i},{x:o,y:h}){let w=this._initialContainer._getSiblingContainerFromPosition(this,u,i);!w&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(u,i)&&(w=this._initialContainer),w&&w!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=w,this._dropContainer.enter(this,u,i,w===this._initialContainer&&w.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:w,currentIndex:w.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,h),this._dropContainer._sortItem(this,u,i,this._pointerDirectionDelta),this._applyPreviewTransform(u-this._pickupPositionInElement.x,i-this._pickupPositionInElement.y))}_createPreviewElement(){const u=this._previewTemplate,i=this.previewClass,o=u?u.template:null;let h;if(o&&u){const w=u.matchSize?this._rootElement.getBoundingClientRect():null,Ce=u.viewContainer.createEmbeddedView(o,u.context);Ce.detectChanges(),h=Je(Ce,this._document),this._previewRef=Ce,u.matchSize?_t(h,w):h.style.transform=Ge(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const w=this._rootElement;h=Zt(w),_t(h,w.getBoundingClientRect()),this._initialTransform&&(h.style.transform=this._initialTransform)}return C(h.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},We),S(h,!1),h.classList.add("cdk-drag-preview"),h.setAttribute("dir",this._direction),i&&(Array.isArray(i)?i.forEach(w=>h.classList.add(w)):h.classList.add(i)),h}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const u=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(u.left,u.top);const i=function(c){const u=getComputedStyle(c),i=q(u,"transition-property"),o=i.find(Ze=>"transform"===Ze||"all"===Ze);if(!o)return 0;const h=i.indexOf(o),w=q(u,"transition-duration"),Ce=q(u,"transition-delay");return v(w[h])+v(Ce[h])}(this._preview);return 0===i?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(o=>{const h=Ce=>{var Ze;(!Ce||(0,at.sA)(Ce)===this._preview&&"transform"===Ce.propertyName)&&(null===(Ze=this._preview)||void 0===Ze||Ze.removeEventListener("transitionend",h),o(),clearTimeout(w))},w=setTimeout(h,1.5*i);this._preview.addEventListener("transitionend",h)}))}_createPlaceholderElement(){const u=this._placeholderTemplate,i=u?u.template:null;let o;return i?(this._placeholderRef=u.viewContainer.createEmbeddedView(i,u.context),this._placeholderRef.detectChanges(),o=Je(this._placeholderRef,this._document)):o=Zt(this._rootElement),o.classList.add("cdk-drag-placeholder"),o}_getPointerPositionInElement(u,i){const o=this._rootElement.getBoundingClientRect(),h=u===this._rootElement?null:u,w=h?h.getBoundingClientRect():o,Ce=ye(i)?i.targetTouches[0]:i,Ze=this._getViewportScrollPosition();return{x:w.left-o.left+(Ce.pageX-w.left-Ze.left),y:w.top-o.top+(Ce.pageY-w.top-Ze.top)}}_getPointerPositionOnPage(u){const i=this._getViewportScrollPosition(),o=ye(u)?u.touches[0]||u.changedTouches[0]||{pageX:0,pageY:0}:u,h=o.pageX-i.left,w=o.pageY-i.top;if(this._ownerSVGElement){const Ce=this._ownerSVGElement.getScreenCTM();if(Ce){const Ze=this._ownerSVGElement.createSVGPoint();return Ze.x=h,Ze.y=w,Ze.matrixTransform(Ce.inverse())}}return{x:h,y:w}}_getConstrainedPointerPosition(u){const i=this._dropContainer?this._dropContainer.lockAxis:null;let{x:o,y:h}=this.constrainPosition?this.constrainPosition(u,this):u;if("x"===this.lockAxis||"x"===i?h=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===i)&&(o=this._pickupPositionOnPage.x),this._boundaryRect){const{x:w,y:Ce}=this._pickupPositionInElement,Ze=this._boundaryRect,Ot=this._previewRect,sn=Ze.top+Ce,on=Ze.bottom-(Ot.height-Ce);o=ae(o,Ze.left+w,Ze.right-(Ot.width-w)),h=ae(h,sn,on)}return{x:o,y:h}}_updatePointerDirectionDelta(u){const{x:i,y:o}=u,h=this._pointerDirectionDelta,w=this._pointerPositionAtLastDirectionChange,Ce=Math.abs(i-w.x),Ze=Math.abs(o-w.y);return Ce>this._config.pointerDirectionChangeThreshold&&(h.x=i>w.x?1:-1,w.x=i),Ze>this._config.pointerDirectionChangeThreshold&&(h.y=o>w.y?1:-1,w.y=o),h}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const u=this._handles.length>0||!this.isDragging();u!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=u,S(this._rootElement,u))}_removeRootElementListeners(u){u.removeEventListener("mousedown",this._pointerDown,jt),u.removeEventListener("touchstart",this._pointerDown,ht)}_applyRootElementTransform(u,i){const o=Ge(u,i);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform&&"none"!=this._rootElement.style.transform?this._rootElement.style.transform:""),this._rootElement.style.transform=H(o,this._initialTransform)}_applyPreviewTransform(u,i){var o;const h=(null===(o=this._previewTemplate)||void 0===o?void 0:o.template)?void 0:this._initialTransform,w=Ge(u,i);this._preview.style.transform=H(w,h)}_getDragDistance(u){const i=this._pickupPositionOnPage;return i?{x:u.x-i.x,y:u.y-i.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:u,y:i}=this._passiveTransform;if(0===u&&0===i||this.isDragging()||!this._boundaryElement)return;const o=this._boundaryElement.getBoundingClientRect(),h=this._rootElement.getBoundingClientRect();if(0===o.width&&0===o.height||0===h.width&&0===h.height)return;const w=o.left-h.left,Ce=h.right-o.right,Ze=o.top-h.top,Ot=h.bottom-o.bottom;o.width>h.width?(w>0&&(u+=w),Ce>0&&(u-=Ce)):u=0,o.height>h.height?(Ze>0&&(i+=Ze),Ot>0&&(i-=Ot)):i=0,(u!==this._passiveTransform.x||i!==this._passiveTransform.y)&&this.setFreeDragPosition({y:i,x:u})}_getDragStartDelay(u){const i=this.dragStartDelay;return"number"==typeof i?i:ye(u)?i.touch:i?i.mouse:0}_updateOnScroll(u){const i=this._parentPositions.handleScroll(u);if(i){const o=(0,at.sA)(u);this._boundaryRect&&(o===this._document||o!==this._boundaryElement&&o.contains(this._boundaryElement))&&xt(this._boundaryRect,i.top,i.left),this._pickupPositionOnPage.x+=i.left,this._pickupPositionOnPage.y+=i.top,this._dropContainer||(this._activeTransform.x-=i.left,this._activeTransform.y-=i.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const u=this._parentPositions.positions.get(this._document);return u?u.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,at.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(u,i){const o=this._previewContainer||"global";if("parent"===o)return u;if("global"===o){const h=this._document;return i||h.fullscreenElement||h.webkitFullscreenElement||h.mozFullScreenElement||h.msFullscreenElement||h.body}return(0,Ye.fI)(o)}}function Ge(c,u){return`translate3d(${Math.round(c)}px, ${Math.round(u)}px, 0)`}function ae(c,u,i){return Math.max(u,Math.min(i,c))}function _e(c){c&&c.parentNode&&c.parentNode.removeChild(c)}function ye(c){return"t"===c.type[0]}function Je(c,u){const i=c.rootNodes;if(1===i.length&&i[0].nodeType===u.ELEMENT_NODE)return i[0];const o=u.createElement("div");return i.forEach(h=>o.appendChild(h)),o}function _t(c,u){c.style.width=`${u.width}px`,c.style.height=`${u.height}px`,c.style.transform=Ge(u.left,u.top)}function On(c,u){return Math.max(0,Math.min(u,c))}class Xn{constructor(u,i,o,h,w){this._dragDropRegistry=i,this._ngZone=h,this._viewportRuler=w,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new lt.xQ,this.entered=new lt.xQ,this.exited=new lt.xQ,this.dropped=new lt.xQ,this.sorted=new lt.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=tt.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new lt.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(c=0,u=Gt.P){return(!(0,en.k)(c)||c<0)&&(c=0),(!u||"function"!=typeof u.schedule)&&(u=Gt.P),new wt.y(i=>(i.add(u.schedule(gt,c,{subscriber:i,counter:0,period:c})),i))}(0,Qe.Z).pipe((0,It.R)(this._stopScrollTimers)).subscribe(()=>{const Ce=this._scrollNode,Ze=this.autoScrollStep;1===this._verticalScrollDirection?ei(Ce,-Ze):2===this._verticalScrollDirection&&ei(Ce,Ze),1===this._horizontalScrollDirection?Oi(Ce,-Ze):2===this._horizontalScrollDirection&&Oi(Ce,Ze)})},this.element=(0,Ye.fI)(u),this._document=o,this.withScrollableParents([this.element]),i.registerDropContainer(this),this._parentPositions=new Yt(o,w)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(u,i,o,h){let w;this._draggingStarted(),null==h?(w=this.sortingDisabled?this._draggables.indexOf(u):-1,-1===w&&(w=this._getItemIndexFromPointerPosition(u,i,o))):w=h;const Ce=this._activeDraggables,Ze=Ce.indexOf(u),Ot=u.getPlaceholderElement();let sn=Ce[w];if(sn===u&&(sn=Ce[w+1]),Ze>-1&&Ce.splice(Ze,1),sn&&!this._dragDropRegistry.isDragging(sn)){const on=sn.getRootElement();on.parentElement.insertBefore(Ot,on),Ce.splice(w,0,u)}else if(this._shouldEnterAsFirstChild(i,o)){const on=Ce[0].getRootElement();on.parentNode.insertBefore(Ot,on),Ce.unshift(u)}else(0,Ye.fI)(this.element).appendChild(Ot),Ce.push(u);Ot.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:u,container:this,currentIndex:this.getItemIndex(u)})}exit(u){this._reset(),this.exited.next({item:u,container:this})}drop(u,i,o,h,w,Ce,Ze){this._reset(),this.dropped.next({item:u,currentIndex:i,previousIndex:o,container:this,previousContainer:h,isPointerOverContainer:w,distance:Ce,dropPoint:Ze})}withItems(u){const i=this._draggables;return this._draggables=u,u.forEach(o=>o._withDropContainer(this)),this.isDragging()&&(i.filter(h=>h.isDragging()).every(h=>-1===u.indexOf(h))?this._reset():this._cacheItems()),this}withDirection(u){return this._direction=u,this}connectedTo(u){return this._siblings=u.slice(),this}withOrientation(u){return this._orientation=u,this}withScrollableParents(u){const i=(0,Ye.fI)(this.element);return this._scrollableElements=-1===u.indexOf(i)?[i,...u]:u.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(u){return this._isDragging?pi("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,o=>o.drag===u):this._draggables.indexOf(u)}isReceiving(){return this._activeSiblings.size>0}_sortItem(u,i,o,h){if(this.sortingDisabled||!this._clientRect||!kt(this._clientRect,.05,i,o))return;const w=this._itemPositions,Ce=this._getItemIndexFromPointerPosition(u,i,o,h);if(-1===Ce&&w.length>0)return;const Ze="horizontal"===this._orientation,Ot=pi(w,Si=>Si.drag===u),sn=w[Ce],Tn=sn.clientRect,Fn=Ot>Ce?1:-1,Dr=this._getItemOffsetPx(w[Ot].clientRect,Tn,Fn),os=this._getSiblingOffsetPx(Ot,w,Fn),pr=w.slice();(function(c,u,i){const o=On(u,c.length-1),h=On(i,c.length-1);if(o===h)return;const w=c[o],Ce=h{if(pr[pa]===Si)return;const Mf=Si.drag===u,qa=Mf?Dr:os,bc=Mf?u.getPlaceholderElement():Si.drag.getRootElement();Si.offset+=qa,Ze?(bc.style.transform=H(`translate3d(${Math.round(Si.offset)}px, 0, 0)`,Si.initialTransform),xt(Si.clientRect,0,qa)):(bc.style.transform=H(`translate3d(0, ${Math.round(Si.offset)}px, 0)`,Si.initialTransform),xt(Si.clientRect,qa,0))}),this._previousSwap.overlaps=vt(Tn,i,o),this._previousSwap.drag=sn.drag,this._previousSwap.delta=Ze?h.x:h.y}_startScrollingIfNecessary(u,i){if(this.autoScrollDisabled)return;let o,h=0,w=0;if(this._parentPositions.positions.forEach((Ce,Ze)=>{Ze===this._document||!Ce.clientRect||o||kt(Ce.clientRect,.05,u,i)&&([h,w]=function(c,u,i,o){const h=ti(u,o),w=Xt(u,i);let Ce=0,Ze=0;if(h){const Ot=c.scrollTop;1===h?Ot>0&&(Ce=1):c.scrollHeight-Ot>c.clientHeight&&(Ce=2)}if(w){const Ot=c.scrollLeft;1===w?Ot>0&&(Ze=1):c.scrollWidth-Ot>c.clientWidth&&(Ze=2)}return[Ce,Ze]}(Ze,Ce.clientRect,u,i),(h||w)&&(o=Ze))}),!h&&!w){const{width:Ce,height:Ze}=this._viewportRuler.getViewportSize(),Ot={width:Ce,height:Ze,top:0,right:Ce,bottom:Ze,left:0};h=ti(Ot,i),w=Xt(Ot,u),o=window}o&&(h!==this._verticalScrollDirection||w!==this._horizontalScrollDirection||o!==this._scrollNode)&&(this._verticalScrollDirection=h,this._horizontalScrollDirection=w,this._scrollNode=o,(h||w)&&o?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const u=(0,Ye.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=u.msScrollSnapType||u.scrollSnapType||"",u.scrollSnapType=u.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const u=(0,Ye.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(u).clientRect}_cacheItemPositions(){const u="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(i=>{const o=i.getVisibleElement();return{drag:i,offset:0,initialTransform:o.style.transform||"",clientRect:xe(o)}}).sort((i,o)=>u?i.clientRect.left-o.clientRect.left:i.clientRect.top-o.clientRect.top)}_reset(){this._isDragging=!1;const u=(0,Ye.fI)(this.element).style;u.scrollSnapType=u.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(i=>{var o;const h=i.getRootElement();if(h){const w=null===(o=this._itemPositions.find(Ce=>Ce.drag===i))||void 0===o?void 0:o.initialTransform;h.style.transform=w||""}}),this._siblings.forEach(i=>i._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(u,i,o){const h="horizontal"===this._orientation,w=i[u].clientRect,Ce=i[u+-1*o];let Ze=w[h?"width":"height"]*o;if(Ce){const Ot=h?"left":"top",sn=h?"right":"bottom";-1===o?Ze-=Ce.clientRect[Ot]-w[sn]:Ze+=w[Ot]-Ce.clientRect[sn]}return Ze}_getItemOffsetPx(u,i,o){const h="horizontal"===this._orientation;let w=h?i.left-u.left:i.top-u.top;return-1===o&&(w+=h?i.width-u.width:i.height-u.height),w}_shouldEnterAsFirstChild(u,i){if(!this._activeDraggables.length)return!1;const o=this._itemPositions,h="horizontal"===this._orientation;if(o[0].drag!==this._activeDraggables[0]){const Ce=o[o.length-1].clientRect;return h?u>=Ce.right:i>=Ce.bottom}{const Ce=o[0].clientRect;return h?u<=Ce.left:i<=Ce.top}}_getItemIndexFromPointerPosition(u,i,o,h){const w="horizontal"===this._orientation,Ce=pi(this._itemPositions,({drag:Ze,clientRect:Ot},sn,on)=>{if(Ze===u)return on.length<2;if(h){const Tn=w?h.x:h.y;if(Ze===this._previousSwap.drag&&this._previousSwap.overlaps&&Tn===this._previousSwap.delta)return!1}return w?i>=Math.floor(Ot.left)&&i=Math.floor(Ot.top)&&oh._canReceive(u,i,o))}_canReceive(u,i,o){if(!this._clientRect||!vt(this._clientRect,i,o)||!this.enterPredicate(u,this))return!1;const h=this._getShadowRoot().elementFromPoint(i,o);if(!h)return!1;const w=(0,Ye.fI)(this.element);return h===w||w.contains(h)}_startReceiving(u,i){const o=this._activeSiblings;!o.has(u)&&i.every(h=>this.enterPredicate(h,this)||this._draggables.indexOf(h)>-1)&&(o.add(u),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(u){this._activeSiblings.delete(u),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(u=>{if(this.isDragging()){const i=this._parentPositions.handleScroll(u);i&&(this._itemPositions.forEach(({clientRect:o})=>{xt(o,i.top,i.left)}),this._itemPositions.forEach(({drag:o})=>{this._dragDropRegistry.isDragging(o)&&o._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const u=(0,at.kV)((0,Ye.fI)(this.element));this._cachedShadowRoot=u||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const u=this._activeDraggables.filter(i=>i.isDragging());this._siblings.forEach(i=>i._startReceiving(this,u))}}function pi(c,u){for(let i=0;i=i-w&&u<=i+w?1:u>=o-w&&u<=o+w?2:0}function Xt(c,u){const{left:i,right:o,width:h}=c,w=.05*h;return u>=i-w&&u<=i+w?1:u>=o-w&&u<=o+w?2:0}const Un=(0,at.i$)({passive:!1,capture:!0});let ui=(()=>{class c{constructor(i,o){this._ngZone=i,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=h=>h.isDragging(),this.pointerMove=new lt.xQ,this.pointerUp=new lt.xQ,this.scroll=new lt.xQ,this._preventDefaultWhileDragging=h=>{this._activeDragInstances.length>0&&h.preventDefault()},this._persistentTouchmoveListener=h=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&h.preventDefault(),this.pointerMove.next(h))},this._document=o}registerDropContainer(i){this._dropInstances.has(i)||this._dropInstances.add(i)}registerDragItem(i){this._dragInstances.add(i),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Un)})}removeDropContainer(i){this._dropInstances.delete(i)}removeDragItem(i){this._dragInstances.delete(i),this.stopDragging(i),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Un)}startDragging(i,o){if(!(this._activeDragInstances.indexOf(i)>-1)&&(this._activeDragInstances.push(i),1===this._activeDragInstances.length)){const h=o.type.startsWith("touch");this._globalListeners.set(h?"touchend":"mouseup",{handler:w=>this.pointerUp.next(w),options:!0}).set("scroll",{handler:w=>this.scroll.next(w),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Un}),h||this._globalListeners.set("mousemove",{handler:w=>this.pointerMove.next(w),options:Un}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((w,Ce)=>{this._document.addEventListener(Ce,w.handler,w.options)})})}}stopDragging(i){const o=this._activeDragInstances.indexOf(i);o>-1&&(this._activeDragInstances.splice(o,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(i){return this._activeDragInstances.indexOf(i)>-1}scrolled(i){const o=[this.scroll];return i&&i!==this._document&&o.push(new wt.y(h=>this._ngZone.runOutsideAngular(()=>{const Ce=Ze=>{this._activeDragInstances.length&&h.next(Ze)};return i.addEventListener("scroll",Ce,!0),()=>{i.removeEventListener("scroll",Ce,!0)}}))),(0,ze.T)(...o)}ngOnDestroy(){this._dragInstances.forEach(i=>this.removeDragItem(i)),this._dropInstances.forEach(i=>this.removeDropContainer(i)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((i,o)=>{this._document.removeEventListener(o,i.handler,i.options)}),this._globalListeners.clear()}}return c.\u0275fac=function(i){return new(i||c)(n.LFG(n.R0b),n.LFG(R.K0))},c.\u0275prov=n.Yz7({factory:function(){return new c(n.LFG(n.R0b),n.LFG(R.K0))},token:c,providedIn:"root"}),c})();const wi={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let si=(()=>{class c{constructor(i,o,h,w){this._document=i,this._ngZone=o,this._viewportRuler=h,this._dragDropRegistry=w}createDrag(i,o=wi){return new Se(i,o,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(i){return new Xn(i,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return c.\u0275fac=function(i){return new(i||c)(n.LFG(R.K0),n.LFG(n.R0b),n.LFG(At.rL),n.LFG(ui))},c.\u0275prov=n.Yz7({factory:function(){return new c(n.LFG(R.K0),n.LFG(n.R0b),n.LFG(At.rL),n.LFG(ui))},token:c,providedIn:"root"}),c})(),yi=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[si],imports:[At.ZD]}),c})();var zn=p(7636),nn=p(6461);p(5917);let Rt=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[A.vT]]}),c})();p(8345),p(6215),p(5639);let Gs=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[At.Cl]]}),c})(),Sn=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({}),c})();p(1439),p(2759);var gn=p(625);p(5435),p(1289);const un={provide:new n.OlP("mat-autocomplete-scroll-strategy"),deps:[gn.aV],useFactory:function(c){return()=>c.scrollStrategies.reposition()}};let Ar=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[un],imports:[[gn.U8,E.Ng,E.BQ,R.ez],At.ZD,E.Ng,E.BQ]}),c})(),ds=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[Be.rt,E.BQ],E.BQ]}),c})();p(5072),p(7238);let go=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[gn.U8,E.BQ,zn.eL],E.BQ]}),c})(),Ks=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ,E.si],E.BQ]}),c})(),Mn=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ],E.BQ]}),c})();var mi=p(7539);const th=new n.OlP("mat-chips-default-options"),Cm={separatorKeyCodes:[nn.K5]};let sh=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[E.rD,{provide:th,useValue:Cm}],imports:[[E.BQ]]}),c})();var id=p(9983);let ka=(()=>{class c{constructor(){this.changes=new lt.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(i,o){return`${i} \u2013 ${o}`}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275prov=n.Yz7({factory:function(){return new c},token:c,providedIn:"root"}),c})();const fd={provide:new n.OlP("mat-datepicker-scroll-strategy"),deps:[gn.aV],useFactory:function(c){return()=>c.scrollStrategies.reposition()}};let Pa=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[ka,fd],imports:[[R.ez,G.ot,gn.U8,Be.rt,zn.eL,E.BQ],At.ZD]}),c})(),jl=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ],E.BQ]}),c})();var _d=p(171);let Dd=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.uc,E.BQ],E.uc,E.BQ]}),c})();p(205),p(5758),p(5304),p(8939),p(8819);let Bo=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ],E.BQ]}),c})(),Fd=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.uc,E.si,E.BQ,E.us,R.ez],E.uc,E.BQ,E.us,jl]}),c})();var Jl=p(3935),Ba=p(1436);let Ho=(()=>{class c{constructor(){this.changes=new lt.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,o,h)=>{if(0==h||0==o)return`0 of ${h}`;const w=i*o;return`${w+1} \u2013 ${w<(h=Math.max(h,0))?Math.min(w+o,h):w+o} of ${h}`}}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275prov=n.Yz7({factory:function(){return new c},token:c,providedIn:"root"}),c})();const Bd={provide:Ho,deps:[[new n.FiY,new n.tp0,Ho]],useFactory:function(c){return c||new Ho}};let xo=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[Bd],imports:[[R.ez,G.ot,b.LD,Ba.AV,E.BQ]]}),c})(),tc=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[R.ez,E.BQ],E.BQ]}),c})();function jh(c,u){if(1&c&&(n.O4$(),n._UZ(0,"circle",3)),2&c){const i=n.oxw();n.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+i._spinnerAnimationLabel)("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%"),n.uIk("r",i._getCircleRadius())}}function Gh(c,u){if(1&c&&(n.O4$(),n._UZ(0,"circle",3)),2&c){const i=n.oxw();n.Udp("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%"),n.uIk("r",i._getCircleRadius())}}const zh=(0,E.pj)(class{constructor(c){this._elementRef=c}},"primary"),Eo=new n.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class no extends zh{constructor(u,i,o,h,w){super(u),this._document=o,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const Ce=no._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Ce.has(o.head)||Ce.set(o.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===h&&!!w&&!w._forceAnimations,w&&(w.diameter&&(this.diameter=w.diameter),w.strokeWidth&&(this.strokeWidth=w.strokeWidth))}get diameter(){return this._diameter}set diameter(u){this._diameter=(0,Ye.su)(u),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(u){this._strokeWidth=(0,Ye.su)(u)}get value(){return"determinate"===this.mode?this._value:0}set value(u){this._value=Math.max(0,Math.min(100,(0,Ye.su)(u)))}ngOnInit(){const u=this._elementRef.nativeElement;this._styleRoot=(0,at.kV)(u)||this._document.head,this._attachStyleNode(),u.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const u=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${u} ${u}`}_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 u=this._styleRoot,i=this._diameter,o=no._diameters;let h=o.get(u);if(!h||!h.has(i)){const w=this._document.createElement("style");w.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),w.textContent=this._getAnimationText(),u.appendChild(w),h||(h=new Set,o.set(u,h)),h.add(i)}}_getAnimationText(){const u=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*u).replace(/END_VALUE/g,""+.2*u).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}no.\u0275fac=function(u){return new(u||no)(n.Y36(n.SBq),n.Y36(at.t4),n.Y36(R.K0,8),n.Y36(rt.Qb,8),n.Y36(Eo))},no.\u0275cmp=n.Xpm({type:no,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(u,i){2&u&&(n.uIk("aria-valuemin","determinate"===i.mode?0:null)("aria-valuemax","determinate"===i.mode?100:null)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),n.Udp("width",i.diameter,"px")("height",i.diameter,"px"),n.ekj("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[n.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(u,i){1&u&&(n.O4$(),n.TgZ(0,"svg",0),n.YNc(1,jh,1,9,"circle",1),n.YNc(2,Gh,1,7,"circle",2),n.qZA()),2&u&&(n.Udp("width",i.diameter,"px")("height",i.diameter,"px"),n.Q6J("ngSwitch","indeterminate"===i.mode),n.uIk("viewBox",i._getViewBox()),n.xp6(1),n.Q6J("ngSwitchCase",!0),n.xp6(1),n.Q6J("ngSwitchCase",!1))},directives:[R.RF,R.n9],styles:[".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"],encapsulation:2,changeDetection:0}),no._diameters=new WeakMap;let Kh=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ,R.ez],E.BQ]}),c})();var fs=p(2613),Ha=p(3017),Ua=p(5396),Yd=p(4436);let Ya=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[gn.U8,zn.eL,R.ez,G.ot,E.BQ],E.BQ]}),c})(),ca=(()=>{class c{constructor(){this.changes=new lt.xQ}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275prov=n.Yz7({factory:function(){return new c},token:c,providedIn:"root"}),c})();const Kd={provide:ca,deps:[[new n.FiY,new n.tp0,ca]],useFactory:function(c){return c||new ca}};let da=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[Kd],imports:[[R.ez,E.BQ]]}),c})();p(7519);let ha=(()=>{class c{constructor(){this.changes=new lt.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275prov=n.Yz7({factory:function(){return new c},token:c,providedIn:"root"}),c})();const lf={provide:ha,deps:[[new n.FiY,new n.tp0,ha]],useFactory:function(c){return c||new ha}};let mc=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({providers:[lf,E.rD],imports:[[E.BQ,R.ez,zn.eL,G.ot,Rt,Bo,E.si],E.BQ]}),c})(),vf=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[Gs,E.BQ],E.BQ]}),c})();var Qa=p(5939);let bf=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[E.BQ],E.BQ]}),c})(),vc=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[Sn,E.BQ],E.BQ]}),c})();var vu=p(8598);let Df=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[Be.rt,Gs,Sn,Rt,yi,Ar,ds,go,G.ot,Ks,Mn,mi.p9,sh,Pa,Tt.Is,jl,_d.To,I.lN,Dd,Bo,id.c,Fd,Jl.Tx,xo,tc,Kh,fs.Fk,E.si,b.LD,Ha.SJ,Ua.rP,Yd.KP,Ya,da,mc,vf,Qa.Nh,bf,Ba.AV,vc,At.Cl,zn.eL,E.XK,vu._8],Be.rt,Gs,Sn,Rt,yi,Ar,ds,go,G.ot,Ks,Mn,mi.p9,sh,Pa,Tt.Is,jl,_d.To,I.lN,Dd,Bo,id.c,Fd,Jl.Tx,xo,tc,Kh,fs.Fk,E.si,b.LD,Ha.SJ,Ua.rP,Yd.KP,Ya,da,mc,vf,Qa.Nh,bf,Ba.AV,vc,At.Cl,zn.eL,E.XK]}),c})();var mg=p(4207);let yc=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.oAB({type:c,bootstrap:[Ue,Le.E]}),c.\u0275inj=n.cJS({providers:[je.N,R.uU,{provide:et.TP,useClass:Oe,multi:!0}],imports:[[Df,l.b2,be,rt.PW,U.u5,U.UX,et.JF,Tt.Is,He.m,b.LD,Ke.Bp,mg.hJ]]}),c})();(0,n.G48)(),l.q6().bootstrapModule(yc).catch(c=>console.error(c))},6249:()=>{},2480:()=>{},2160:(ft,Fe,p)=>{"use strict";p.d(Fe,{N:()=>m});var l=p(7716),n=p(8583);let m=(()=>{class P{constructor(D,I){this.document=D,this.platformId=I,this.documentIsAccessible=(0,n.NF)(this.platformId)}static getCookieRegExp(D){const I=D.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+I+"|;\\s*"+I+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(D){try{return decodeURIComponent(D)}catch(I){return D}}check(D){return!!this.documentIsAccessible&&(D=encodeURIComponent(D),P.getCookieRegExp(D).test(this.document.cookie))}get(D){if(this.documentIsAccessible&&this.check(D)){D=encodeURIComponent(D);const b=P.getCookieRegExp(D).exec(this.document.cookie);return b[1]?P.safeDecodeURIComponent(b[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const D={},I=this.document;return I.cookie&&""!==I.cookie&&I.cookie.split(";").forEach(b=>{const[E,U]=b.split("=");D[P.safeDecodeURIComponent(E.replace(/^ /,""))]=P.safeDecodeURIComponent(U)}),D}set(D,I,b,E,U,R,G){if(!this.documentIsAccessible)return;if("number"==typeof b||b instanceof Date||E||U||R||G)return void this.set(D,I,{expires:b,path:E,domain:U,secure:R,sameSite:G||"Lax"});let K=encodeURIComponent(D)+"="+encodeURIComponent(I)+";";const J=b||{};J.expires&&(K+="number"==typeof J.expires?"expires="+new Date((new Date).getTime()+1e3*J.expires*60*60*24).toUTCString()+";":"expires="+J.expires.toUTCString()+";"),J.path&&(K+="path="+J.path+";"),J.domain&&(K+="domain="+J.domain+";"),!1===J.secure&&"None"===J.sameSite&&(J.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${D} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),J.secure&&(K+="secure;"),J.sameSite||(J.sameSite="Lax"),K+="sameSite="+J.sameSite+";",this.document.cookie=K}delete(D,I,b,E,U="Lax"){if(!this.documentIsAccessible)return;const R=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(D,"",{expires:R,path:I,domain:b,secure:E,sameSite:U})}deleteAll(D,I,b,E="Lax"){if(!this.documentIsAccessible)return;const U=this.getAll();for(const R in U)U.hasOwnProperty(R)&&this.delete(R,D,I,b,E)}}return P.\u0275fac=function(D){return new(D||P)(l.LFG(n.K0),l.LFG(l.Lbi))},P.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})()},8239:(ft,Fe,p)=>{"use strict";function l(m,P,g,D,I,b,E){try{var U=m[b](E),R=U.value}catch(G){return void g(G)}U.done?P(R):Promise.resolve(R).then(D,I)}function n(m){return function(){var P=this,g=arguments;return new Promise(function(D,I){var b=m.apply(P,g);function E(R){l(b,D,I,E,U,"next",R)}function U(R){l(b,D,I,E,U,"throw",R)}E(void 0)})}}p.d(Fe,{Z:()=>n})}},ft=>{ft(ft.s=3036)}]);