@sdkgen/playground 0.0.0-dev.20211026012835 → 0.0.0-dev.20211027155236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- (self.webpackChunk_sdkgen_playground=self.webpackChunk_sdkgen_playground||[]).push([[179],{8255:Qe=>{function re(f){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s})}re.keys=()=>[],re.resolve=re,re.id=8255,Qe.exports=re},1442:()=>{},608:()=>{},586:()=>{},9477:()=>{},2832:()=>{},7238:(Qe,re,f)=>{"use strict";f.d(re,{l3:()=>m,_j:()=>s,LC:()=>c,ZN:()=>Le,jt:()=>l,F4:()=>G,vP:()=>Z,SB:()=>M,oB:()=>k,eR:()=>H,X$:()=>C,ZE:()=>at,k1:()=>Mt});class s{}class c{}const m="*";function C(st,Ze){return{type:7,name:st,definitions:Ze,options:{}}}function l(st,Ze=null){return{type:4,styles:Ze,timings:st}}function Z(st,Ze=null){return{type:2,steps:st,options:Ze}}function k(st){return{type:6,styles:st,offset:null}}function M(st,Ze,we){return{type:0,name:st,styles:Ze,options:we}}function G(st){return{type:5,steps:st}}function H(st,Ze,we=null){return{type:1,expr:st,animation:Ze,options:we}}function be(st){Promise.resolve(null).then(st)}class Le{constructor(Ze=0,we=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ze+we}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ze=>Ze()),this._onDoneFns=[])}onStart(Ze){this._onStartFns.push(Ze)}onDone(Ze){this._onDoneFns.push(Ze)}onDestroy(Ze){this._onDestroyFns.push(Ze)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){be(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ze=>Ze()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ze=>Ze()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(Ze){this._position=this.totalTime?Ze*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ze){const we="start"==Ze?this._onStartFns:this._onDoneFns;we.forEach(je=>je()),we.length=0}}class at{constructor(Ze){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ze;let we=0,je=0,le=0;const Xe=this.players.length;0==Xe?be(()=>this._onFinish()):this.players.forEach(W=>{W.onDone(()=>{++we==Xe&&this._onFinish()}),W.onDestroy(()=>{++je==Xe&&this._onDestroy()}),W.onStart(()=>{++le==Xe&&this._onStart()})}),this.totalTime=this.players.reduce((W,te)=>Math.max(W,te.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ze=>Ze()),this._onDoneFns=[])}init(){this.players.forEach(Ze=>Ze.init())}onStart(Ze){this._onStartFns.push(Ze)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ze=>Ze()),this._onStartFns=[])}onDone(Ze){this._onDoneFns.push(Ze)}onDestroy(Ze){this._onDestroyFns.push(Ze)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ze=>Ze.play())}pause(){this.players.forEach(Ze=>Ze.pause())}restart(){this.players.forEach(Ze=>Ze.restart())}finish(){this._onFinish(),this.players.forEach(Ze=>Ze.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ze=>Ze.destroy()),this._onDestroyFns.forEach(Ze=>Ze()),this._onDestroyFns=[])}reset(){this.players.forEach(Ze=>Ze.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ze){const we=Ze*this.totalTime;this.players.forEach(je=>{const le=je.totalTime?Math.min(1,we/je.totalTime):1;je.setPosition(le)})}getPosition(){const Ze=this.players.reduce((we,je)=>null===we||je.totalTime>we.totalTime?je:we,null);return null!=Ze?Ze.getPosition():0}beforeDestroy(){this.players.forEach(Ze=>{Ze.beforeDestroy&&Ze.beforeDestroy()})}triggerCallback(Ze){const we="start"==Ze?this._onStartFns:this._onDoneFns;we.forEach(je=>je()),we.length=0}}const Mt="!"},9238:(Qe,re,f)=>{"use strict";f.d(re,{rt:()=>Ee,$s:()=>fe,kH:()=>Ke,Em:()=>lt,tE:()=>_n,qV:()=>wt,qm:()=>N,X6:()=>w,yG:()=>oe});var s=f(8583),c=f(7716),m=f(9765),C=f(826),l=f(6215),L=f(5917),Z=f(6461),k=f(8307),M=f(4395),G=f(5435),H=f(8002),Y=f(5257),ce=f(3653),he=f(7519),ne=f(6782),_e=f(9490),be=f(521),Le=f(8553);function Ze(Ce,V){return(Ce.getAttribute(V)||"").match(/\S+/g)||[]}const we="cdk-describedby-message-container",je="cdk-describedby-message",le="cdk-describedby-host";let Xe=0;const W=new Map;let te=null,fe=(()=>{class Ce{constructor(z){this._document=z}describe(z,S,q){if(!this._canBeDescribed(z,S))return;const tt=ae(S,q);"string"!=typeof S?(Ne(S),W.set(tt,{messageElement:S,referenceCount:0})):W.has(tt)||this._createMessageElement(S,q),this._isElementDescribedByMessage(z,tt)||this._addMessageReference(z,tt)}removeDescription(z,S,q){if(!S||!this._isElementNode(z))return;const tt=ae(S,q);if(this._isElementDescribedByMessage(z,tt)&&this._removeMessageReference(z,tt),"string"==typeof S){const gt=W.get(tt);gt&&0===gt.referenceCount&&this._deleteMessageElement(tt)}te&&0===te.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const z=this._document.querySelectorAll(`[${le}]`);for(let S=0;S<z.length;S++)this._removeCdkDescribedByReferenceIds(z[S]),z[S].removeAttribute(le);te&&this._deleteMessagesContainer(),W.clear()}_createMessageElement(z,S){const q=this._document.createElement("div");Ne(q),q.textContent=z,S&&q.setAttribute("role",S),this._createMessagesContainer(),te.appendChild(q),W.set(ae(z,S),{messageElement:q,referenceCount:0})}_deleteMessageElement(z){const S=W.get(z),q=S&&S.messageElement;te&&q&&te.removeChild(q),W.delete(z)}_createMessagesContainer(){if(!te){const z=this._document.getElementById(we);z&&z.parentNode&&z.parentNode.removeChild(z),te=this._document.createElement("div"),te.id=we,te.style.visibility="hidden",te.classList.add("cdk-visually-hidden"),this._document.body.appendChild(te)}}_deleteMessagesContainer(){te&&te.parentNode&&(te.parentNode.removeChild(te),te=null)}_removeCdkDescribedByReferenceIds(z){const S=Ze(z,"aria-describedby").filter(q=>0!=q.indexOf(je));z.setAttribute("aria-describedby",S.join(" "))}_addMessageReference(z,S){const q=W.get(S);(function(Ce,V,z){const S=Ze(Ce,V);S.some(q=>q.trim()==z.trim())||(S.push(z.trim()),Ce.setAttribute(V,S.join(" ")))})(z,"aria-describedby",q.messageElement.id),z.setAttribute(le,""),q.referenceCount++}_removeMessageReference(z,S){const q=W.get(S);q.referenceCount--,function(Ce,V,z){const q=Ze(Ce,V).filter(tt=>tt!=z.trim());q.length?Ce.setAttribute(V,q.join(" ")):Ce.removeAttribute(V)}(z,"aria-describedby",q.messageElement.id),z.removeAttribute(le)}_isElementDescribedByMessage(z,S){const q=Ze(z,"aria-describedby"),tt=W.get(S),gt=tt&&tt.messageElement.id;return!!gt&&-1!=q.indexOf(gt)}_canBeDescribed(z,S){if(!this._isElementNode(z))return!1;if(S&&"object"==typeof S)return!0;const q=null==S?"":`${S}`.trim(),tt=z.getAttribute("aria-label");return!(!q||tt&&tt.trim()===q)}_isElementNode(z){return z.nodeType===this._document.ELEMENT_NODE}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(s.DOCUMENT))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(s.DOCUMENT))},token:Ce,providedIn:"root"}),Ce})();function ae(Ce,V){return"string"==typeof Ce?`${V||""}/${Ce}`:Ce}function Ne(Ce){Ce.id||(Ce.id=`${je}-${Xe++}`)}class lt extends class{constructor(V){this._items=V,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new m.xQ,this._typeaheadSubscription=C.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=z=>z.disabled,this._pressedLetters=[],this.tabOut=new m.xQ,this.change=new m.xQ,V instanceof c.QueryList&&V.changes.subscribe(z=>{if(this._activeItem){const q=z.toArray().indexOf(this._activeItem);q>-1&&q!==this._activeItemIndex&&(this._activeItemIndex=q)}})}skipPredicate(V){return this._skipPredicateFn=V,this}withWrap(V=!0){return this._wrap=V,this}withVerticalOrientation(V=!0){return this._vertical=V,this}withHorizontalOrientation(V){return this._horizontal=V,this}withAllowedModifierKeys(V){return this._allowedModifierKeys=V,this}withTypeAhead(V=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,k.b)(z=>this._pressedLetters.push(z)),(0,M.b)(V),(0,G.h)(()=>this._pressedLetters.length>0),(0,H.U)(()=>this._pressedLetters.join(""))).subscribe(z=>{const S=this._getItemsArray();for(let q=1;q<S.length+1;q++){const tt=(this._activeItemIndex+q)%S.length,gt=S[tt];if(!this._skipPredicateFn(gt)&&0===gt.getLabel().toUpperCase().trim().indexOf(z)){this.setActiveItem(tt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(V=!0){return this._homeAndEnd=V,this}setActiveItem(V){const z=this._activeItem;this.updateActiveItem(V),this._activeItem!==z&&this.change.next(this._activeItemIndex)}onKeydown(V){const z=V.keyCode,q=["altKey","ctrlKey","metaKey","shiftKey"].every(tt=>!V[tt]||this._allowedModifierKeys.indexOf(tt)>-1);switch(z){case Z.Mf:return void this.tabOut.next();case Z.JH:if(this._vertical&&q){this.setNextItemActive();break}return;case Z.LH:if(this._vertical&&q){this.setPreviousItemActive();break}return;case Z.SV:if(this._horizontal&&q){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Z.oh:if(this._horizontal&&q){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Z.Sd:if(this._homeAndEnd&&q){this.setFirstItemActive();break}return;case Z.uR:if(this._homeAndEnd&&q){this.setLastItemActive();break}return;default:return void((q||(0,Z.Vb)(V,"shiftKey"))&&(V.key&&1===V.key.length?this._letterKeyStream.next(V.key.toLocaleUpperCase()):(z>=Z.A&&z<=Z.Z||z>=Z.xE&&z<=Z.aO)&&this._letterKeyStream.next(String.fromCharCode(z))))}this._pressedLetters=[],V.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(V){const z=this._getItemsArray(),S="number"==typeof V?V:z.indexOf(V),q=z[S];this._activeItem=null==q?null:q,this._activeItemIndex=S}_setActiveItemByDelta(V){this._wrap?this._setActiveInWrapMode(V):this._setActiveInDefaultMode(V)}_setActiveInWrapMode(V){const z=this._getItemsArray();for(let S=1;S<=z.length;S++){const q=(this._activeItemIndex+V*S+z.length)%z.length;if(!this._skipPredicateFn(z[q]))return void this.setActiveItem(q)}}_setActiveInDefaultMode(V){this._setActiveItemByIndex(this._activeItemIndex+V,V)}_setActiveItemByIndex(V,z){const S=this._getItemsArray();if(S[V]){for(;this._skipPredicateFn(S[V]);)if(!S[V+=z])return;this.setActiveItem(V)}}_getItemsArray(){return this._items instanceof c.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(V){return this._origin=V,this}setActiveItem(V){super.setActiveItem(V),this.activeItem&&this.activeItem.focus(this._origin)}}let ke=(()=>{class Ce{constructor(z){this._platform=z}isDisabled(z){return z.hasAttribute("disabled")}isVisible(z){return function(Ce){return!!(Ce.offsetWidth||Ce.offsetHeight||"function"==typeof Ce.getClientRects&&Ce.getClientRects().length)}(z)&&"visible"===getComputedStyle(z).visibility}isTabbable(z){if(!this._platform.isBrowser)return!1;const S=function(Ce){try{return Ce.frameElement}catch(V){return null}}(function(Ce){return Ce.ownerDocument&&Ce.ownerDocument.defaultView||window}(z));if(S&&(-1===ge(S)||!this.isVisible(S)))return!1;let q=z.nodeName.toLowerCase(),tt=ge(z);return z.hasAttribute("contenteditable")?-1!==tt:!("iframe"===q||"object"===q||this._platform.WEBKIT&&this._platform.IOS&&!function(Ce){let V=Ce.nodeName.toLowerCase(),z="input"===V&&Ce.type;return"text"===z||"password"===z||"select"===V||"textarea"===V}(z))&&("audio"===q?!!z.hasAttribute("controls")&&-1!==tt:"video"===q?-1!==tt&&(null!==tt||this._platform.FIREFOX||z.hasAttribute("controls")):z.tabIndex>=0)}isFocusable(z,S){return function(Ce){return!function(Ce){return function(Ce){return"input"==Ce.nodeName.toLowerCase()}(Ce)&&"hidden"==Ce.type}(Ce)&&(function(Ce){let V=Ce.nodeName.toLowerCase();return"input"===V||"select"===V||"button"===V||"textarea"===V}(Ce)||function(Ce){return function(Ce){return"a"==Ce.nodeName.toLowerCase()}(Ce)&&Ce.hasAttribute("href")}(Ce)||Ce.hasAttribute("contenteditable")||x(Ce))}(z)&&!this.isDisabled(z)&&((null==S?void 0:S.ignoreVisibility)||this.isVisible(z))}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(be.t4))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(be.t4))},token:Ce,providedIn:"root"}),Ce})();function x(Ce){if(!Ce.hasAttribute("tabindex")||void 0===Ce.tabIndex)return!1;let V=Ce.getAttribute("tabindex");return"-32768"!=V&&!(!V||isNaN(parseInt(V,10)))}function ge(Ce){if(!x(Ce))return null;const V=parseInt(Ce.getAttribute("tabindex")||"",10);return isNaN(V)?-1:V}class it{constructor(V,z,S,q,tt=!1){this._element=V,this._checker=z,this._ngZone=S,this._document=q,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,tt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(V){this._enabled=V,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}destroy(){const V=this._startAnchor,z=this._endAnchor;V&&(V.removeEventListener("focus",this.startAnchorListener),V.parentNode&&V.parentNode.removeChild(V)),z&&(z.removeEventListener("focus",this.endAnchorListener),z.parentNode&&z.parentNode.removeChild(z)),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(V){return new Promise(z=>{this._executeOnStable(()=>z(this.focusInitialElement(V)))})}focusFirstTabbableElementWhenReady(V){return new Promise(z=>{this._executeOnStable(()=>z(this.focusFirstTabbableElement(V)))})}focusLastTabbableElementWhenReady(V){return new Promise(z=>{this._executeOnStable(()=>z(this.focusLastTabbableElement(V)))})}_getRegionBoundary(V){let z=this._element.querySelectorAll(`[cdk-focus-region-${V}], [cdkFocusRegion${V}], [cdk-focus-${V}]`);for(let S=0;S<z.length;S++)z[S].hasAttribute(`cdk-focus-${V}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${V}', use 'cdkFocusRegion${V}' instead. The deprecated attribute will be removed in 8.0.0.`,z[S]):z[S].hasAttribute(`cdk-focus-region-${V}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${V}', use 'cdkFocusRegion${V}' instead. The deprecated attribute will be removed in 8.0.0.`,z[S]);return"start"==V?z.length?z[0]:this._getFirstTabbableElement(this._element):z.length?z[z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(V){const z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(z){if(z.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",z),!this._checker.isFocusable(z)){const S=this._getFirstTabbableElement(z);return null==S||S.focus(V),!!S}return z.focus(V),!0}return this.focusFirstTabbableElement(V)}focusFirstTabbableElement(V){const z=this._getRegionBoundary("start");return z&&z.focus(V),!!z}focusLastTabbableElement(V){const z=this._getRegionBoundary("end");return z&&z.focus(V),!!z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;let z=V.children||V.childNodes;for(let S=0;S<z.length;S++){let q=z[S].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(z[S]):null;if(q)return q}return null}_getLastTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;let z=V.children||V.childNodes;for(let S=z.length-1;S>=0;S--){let q=z[S].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(z[S]):null;if(q)return q}return null}_createAnchor(){const V=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,V),V.classList.add("cdk-visually-hidden"),V.classList.add("cdk-focus-trap-anchor"),V.setAttribute("aria-hidden","true"),V}_toggleAnchorTabIndex(V,z){V?z.setAttribute("tabindex","0"):z.removeAttribute("tabindex")}toggleAnchors(V){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}_executeOnStable(V){this._ngZone.isStable?V():this._ngZone.onStable.pipe((0,Y.q)(1)).subscribe(V)}}let wt=(()=>{class Ce{constructor(z,S,q){this._checker=z,this._ngZone=S,this._document=q}create(z,S=!1){return new it(z,this._checker,this._ngZone,this._document,S)}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(ke),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(s.DOCUMENT))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(ke),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(s.DOCUMENT))},token:Ce,providedIn:"root"}),Ce})();function w(Ce){return 0===Ce.offsetX&&0===Ce.offsetY}function oe(Ce){const V=Ce.touches&&Ce.touches[0]||Ce.changedTouches&&Ce.changedTouches[0];return!(!V||-1!==V.identifier||null!=V.radiusX&&1!==V.radiusX||null!=V.radiusY&&1!==V.radiusY)}"undefined"!=typeof Element&&Element;const F=new c.InjectionToken("cdk-input-modality-detector-options"),X={ignoreKeys:[Z.zL,Z.jx,Z.b2,Z.MW,Z.JU]},mt=(0,be.i$)({passive:!0,capture:!0});let Ct=(()=>{class Ce{constructor(z,S,q,tt){this._platform=z,this._mostRecentTarget=null,this._modality=new l.X(null),this._lastTouchMs=0,this._onKeydown=gt=>{var Ht,dn;(null===(dn=null===(Ht=this._options)||void 0===Ht?void 0:Ht.ignoreKeys)||void 0===dn?void 0:dn.some(cn=>cn===gt.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,be.sA)(gt))},this._onMousedown=gt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(w(gt)?"keyboard":"mouse"),this._mostRecentTarget=(0,be.sA)(gt))},this._onTouchstart=gt=>{oe(gt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,be.sA)(gt))},this._options=Object.assign(Object.assign({},X),tt),this.modalityDetected=this._modality.pipe((0,ce.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,he.x)()),z.isBrowser&&S.runOutsideAngular(()=>{q.addEventListener("keydown",this._onKeydown,mt),q.addEventListener("mousedown",this._onMousedown,mt),q.addEventListener("touchstart",this._onTouchstart,mt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,mt),document.removeEventListener("mousedown",this._onMousedown,mt),document.removeEventListener("touchstart",this._onTouchstart,mt))}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(s.DOCUMENT),c.\u0275\u0275inject(F,8))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(s.DOCUMENT),c.\u0275\u0275inject(F,8))},token:Ce,providedIn:"root"}),Ce})();const Lt=new c.InjectionToken("cdk-focus-monitor-default-options"),jt=(0,be.i$)({passive:!0,capture:!0});let _n=(()=>{class Ce{constructor(z,S,q,tt,gt){this._ngZone=z,this._platform=S,this._inputModalityDetector=q,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=Ht=>{const dn=(0,be.sA)(Ht),cn="focus"===Ht.type?this._onFocus:this._onBlur;for(let an=dn;an;an=an.parentElement)cn.call(this,Ht,an)},this._document=tt,this._detectionMode=(null==gt?void 0:gt.detectionMode)||0}monitor(z,S=!1){const q=(0,_e.fI)(z);if(!this._platform.isBrowser||1!==q.nodeType)return(0,L.of)(null);const tt=(0,be.kV)(q)||this._getDocument(),gt=this._elementInfo.get(q);if(gt)return S&&(gt.checkChildren=!0),gt.subject;const Ht={checkChildren:S,subject:new m.xQ,rootNode:tt};return this._elementInfo.set(q,Ht),this._registerGlobalListeners(Ht),Ht.subject}stopMonitoring(z){const S=(0,_e.fI)(z),q=this._elementInfo.get(S);q&&(q.subject.complete(),this._setClasses(S),this._elementInfo.delete(S),this._removeGlobalListeners(q))}focusVia(z,S,q){const tt=(0,_e.fI)(z);tt===this._getDocument().activeElement?this._getClosestElementsInfo(tt).forEach(([Ht,dn])=>this._originChanged(Ht,S,dn)):(this._setOrigin(S),"function"==typeof tt.focus&&tt.focus(q))}ngOnDestroy(){this._elementInfo.forEach((z,S)=>this.stopMonitoring(S))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(z,S,q){q?z.classList.add(S):z.classList.remove(S)}_getFocusOrigin(z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(z){return 1===this._detectionMode||!!(null==z?void 0:z.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(z,S){this._toggleClass(z,"cdk-focused",!!S),this._toggleClass(z,"cdk-touch-focused","touch"===S),this._toggleClass(z,"cdk-keyboard-focused","keyboard"===S),this._toggleClass(z,"cdk-mouse-focused","mouse"===S),this._toggleClass(z,"cdk-program-focused","program"===S)}_setOrigin(z,S=!1){this._ngZone.runOutsideAngular(()=>{this._origin=z,this._originFromTouchInteraction="touch"===z&&S,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(z,S){const q=this._elementInfo.get(S),tt=(0,be.sA)(z);!q||!q.checkChildren&&S!==tt||this._originChanged(S,this._getFocusOrigin(tt),q)}_onBlur(z,S){const q=this._elementInfo.get(S);!q||q.checkChildren&&z.relatedTarget instanceof Node&&S.contains(z.relatedTarget)||(this._setClasses(S),this._emitOrigin(q.subject,null))}_emitOrigin(z,S){this._ngZone.run(()=>z.next(S))}_registerGlobalListeners(z){if(!this._platform.isBrowser)return;const S=z.rootNode,q=this._rootNodeFocusListenerCount.get(S)||0;q||this._ngZone.runOutsideAngular(()=>{S.addEventListener("focus",this._rootNodeFocusAndBlurListener,jt),S.addEventListener("blur",this._rootNodeFocusAndBlurListener,jt)}),this._rootNodeFocusListenerCount.set(S,q+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ne.R)(this._stopInputModalityDetector)).subscribe(tt=>{this._setOrigin(tt,!0)}))}_removeGlobalListeners(z){const S=z.rootNode;if(this._rootNodeFocusListenerCount.has(S)){const q=this._rootNodeFocusListenerCount.get(S);q>1?this._rootNodeFocusListenerCount.set(S,q-1):(S.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jt),S.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jt),this._rootNodeFocusListenerCount.delete(S))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(z,S,q){this._setClasses(z,S),this._emitOrigin(q.subject,S),this._lastFocusOrigin=S}_getClosestElementsInfo(z){const S=[];return this._elementInfo.forEach((q,tt)=>{(tt===z||q.checkChildren&&tt.contains(z))&&S.push([tt,q])}),S}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(Ct),c.\u0275\u0275inject(s.DOCUMENT,8),c.\u0275\u0275inject(Lt,8))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(Ct),c.\u0275\u0275inject(s.DOCUMENT,8),c.\u0275\u0275inject(Lt,8))},token:Ce,providedIn:"root"}),Ce})(),Ke=(()=>{class Ce{constructor(z,S){this._elementRef=z,this._focusMonitor=S,this.cdkFocusChange=new c.EventEmitter}ngAfterViewInit(){const z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(z,1===z.nodeType&&z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(S=>this.cdkFocusChange.emit(S))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(_n))},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Ce})();const St="cdk-high-contrast-black-on-white",O="cdk-high-contrast-white-on-black",j="cdk-high-contrast-active";let N=(()=>{class Ce{constructor(z,S){this._platform=z,this._document=S}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const z=this._document.createElement("div");z.style.backgroundColor="rgb(1,2,3)",z.style.position="absolute",this._document.body.appendChild(z);const S=this._document.defaultView||window,q=S&&S.getComputedStyle?S.getComputedStyle(z):null,tt=(q&&q.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(z),tt){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 z=this._document.body.classList;z.remove(j),z.remove(St),z.remove(O),this._hasCheckedHighContrastMode=!0;const S=this.getHighContrastMode();1===S?(z.add(j),z.add(St)):2===S&&(z.add(j),z.add(O))}}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(s.DOCUMENT))},Ce.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ce(c.\u0275\u0275inject(be.t4),c.\u0275\u0275inject(s.DOCUMENT))},token:Ce,providedIn:"root"}),Ce})(),Ee=(()=>{class Ce{constructor(z){z._applyBodyHighContrastModeCssClasses()}}return Ce.\u0275fac=function(z){return new(z||Ce)(c.\u0275\u0275inject(N))},Ce.\u0275mod=c.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=c.\u0275\u0275defineInjector({imports:[[be.ud,Le.Q8]]}),Ce})()},946:(Qe,re,f)=>{"use strict";f.d(re,{vT:()=>Z,Is:()=>l});var s=f(7716),c=f(8583);const m=new s.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,s.inject)(c.DOCUMENT)}});let l=(()=>{class k{constructor(G){if(this.value="ltr",this.change=new s.EventEmitter,G){const Y=G.documentElement?G.documentElement.dir:null,ce=(G.body?G.body.dir:null)||Y;this.value="ltr"===ce||"rtl"===ce?ce:"ltr"}}ngOnDestroy(){this.change.complete()}}return k.\u0275fac=function(G){return new(G||k)(s.\u0275\u0275inject(m,8))},k.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new k(s.\u0275\u0275inject(m,8))},token:k,providedIn:"root"}),k})(),Z=(()=>{class k{}return k.\u0275fac=function(G){return new(G||k)},k.\u0275mod=s.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=s.\u0275\u0275defineInjector({}),k})()},8345:(Qe,re,f)=>{"use strict";f.d(re,{P3:()=>Z,o2:()=>l,Ov:()=>G,yy:()=>k,eX:()=>M,k:()=>ce,Z9:()=>L});var s=f(5639),c=f(5917),m=f(9765),C=f(7716);class l{}function L(he){return he&&"function"==typeof he.connect}class Z extends l{constructor(ne){super(),this._data=ne}connect(){return(0,s.b)(this._data)?this._data:(0,c.of)(this._data)}disconnect(){}}class k{applyChanges(ne,_e,be,Le,at){ne.forEachOperation((Mt,st,Ze)=>{let we,je;if(null==Mt.previousIndex){const le=be(Mt,st,Ze);we=_e.createEmbeddedView(le.templateRef,le.context,le.index),je=1}else null==Ze?(_e.remove(st),je=3):(we=_e.get(st),_e.move(we,Ze),je=2);at&&at({context:null==we?void 0:we.context,operation:je,record:Mt})})}detach(){}}class M{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ne,_e,be,Le,at){ne.forEachOperation((Mt,st,Ze)=>{let we,je;null==Mt.previousIndex?(we=this._insertView(()=>be(Mt,st,Ze),Ze,_e,Le(Mt)),je=we?1:0):null==Ze?(this._detachAndCacheView(st,_e),je=3):(we=this._moveView(st,Ze,_e,Le(Mt)),je=2),at&&at({context:null==we?void 0:we.context,operation:je,record:Mt})})}detach(){for(const ne of this._viewCache)ne.destroy();this._viewCache=[]}_insertView(ne,_e,be,Le){const at=this._insertViewFromCache(_e,be);if(at)return void(at.context.$implicit=Le);const Mt=ne();return be.createEmbeddedView(Mt.templateRef,Mt.context,Mt.index)}_detachAndCacheView(ne,_e){const be=_e.detach(ne);this._maybeCacheView(be,_e)}_moveView(ne,_e,be,Le){const at=be.get(ne);return be.move(at,_e),at.context.$implicit=Le,at}_maybeCacheView(ne,_e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ne);else{const be=_e.indexOf(ne);-1===be?ne.destroy():_e.remove(be)}}_insertViewFromCache(ne,_e){const be=this._viewCache.pop();return be&&_e.insert(be,ne),be||null}}class G{constructor(ne=!1,_e,be=!0){this._multiple=ne,this._emitChanges=be,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new m.xQ,_e&&_e.length&&(ne?_e.forEach(Le=>this._markSelected(Le)):this._markSelected(_e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...ne){this._verifyValueAssignment(ne),ne.forEach(_e=>this._markSelected(_e)),this._emitChangeEvent()}deselect(...ne){this._verifyValueAssignment(ne),ne.forEach(_e=>this._unmarkSelected(_e)),this._emitChangeEvent()}toggle(ne){this.isSelected(ne)?this.deselect(ne):this.select(ne)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(ne){return this._selection.has(ne)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ne){this._multiple&&this.selected&&this._selected.sort(ne)}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(ne){this.isSelected(ne)||(this._multiple||this._unmarkAll(),this._selection.add(ne),this._emitChanges&&this._selectedToEmit.push(ne))}_unmarkSelected(ne){this.isSelected(ne)&&(this._selection.delete(ne),this._emitChanges&&this._deselectedToEmit.push(ne))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ne=>this._unmarkSelected(ne))}_verifyValueAssignment(ne){}}const ce=new C.InjectionToken("_ViewRepeater")},6461:(Qe,re,f)=>{"use strict";f.d(re,{A:()=>Ot,zL:()=>k,ZH:()=>c,jx:()=>Z,yY:()=>je,JH:()=>Mt,uR:()=>ne,K5:()=>l,hY:()=>H,Sd:()=>_e,oh:()=>be,b2:()=>gi,MW:()=>Pe,aO:()=>lt,SV:()=>at,JU:()=>L,L_:()=>Y,Mf:()=>m,LH:()=>Le,Z:()=>X,xE:()=>le,Vb:()=>bi});const c=8,m=9,l=13,L=16,Z=17,k=18,H=27,Y=32,ne=35,_e=36,be=37,Le=38,at=39,Mt=40,je=46,le=48,lt=57,Ot=65,X=90,Pe=91,gi=224;function bi(li,...qn){return qn.length?qn.some(_i=>li[_i]):li.altKey||li.shiftKey||li.ctrlKey||li.metaKey}},5072:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{BreakpointObserver:()=>Mt,Breakpoints:()=>Ze,LayoutModule:()=>he,MediaMatcher:()=>be});var s=f(7716),c=f(9490),m=f(9765),C=f(9112),l=f(8071),L=f(9897),Z=f(5257),k=f(3653),M=f(4395),G=f(8002),H=f(9761),Y=f(6782),ce=f(521);let he=(()=>{class we{}return we.\u0275fac=function(le){return new(le||we)},we.\u0275mod=s.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=s.\u0275\u0275defineInjector({}),we})();const ne=new Set;let _e,be=(()=>{class we{constructor(le){this._platform=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):at}matchMedia(le){return(this._platform.WEBKIT||this._platform.BLINK)&&function(we){if(!ne.has(we))try{_e||(_e=document.createElement("style"),_e.setAttribute("type","text/css"),document.head.appendChild(_e)),_e.sheet&&(_e.sheet.insertRule(`@media ${we} {body{ }}`,0),ne.add(we))}catch(je){console.error(je)}}(le),this._matchMedia(le)}}return we.\u0275fac=function(le){return new(le||we)(s.\u0275\u0275inject(ce.t4))},we.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new we(s.\u0275\u0275inject(ce.t4))},token:we,providedIn:"root"}),we})();function at(we){return{matches:"all"===we||""===we,media:we,addListener:()=>{},removeListener:()=>{}}}let Mt=(()=>{class we{constructor(le,Xe){this._mediaMatcher=le,this._zone=Xe,this._queries=new Map,this._destroySubject=new m.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(le){return st((0,c.Eq)(le)).some(W=>this._registerQuery(W).mql.matches)}observe(le){const W=st((0,c.Eq)(le)).map(fe=>this._registerQuery(fe).observable);let te=(0,C.aj)(W);return te=(0,l.z)(te.pipe((0,Z.q)(1)),te.pipe((0,k.T)(1),(0,M.b)(0))),te.pipe((0,G.U)(fe=>{const ae={matches:!1,breakpoints:{}};return fe.forEach(({matches:Ne,query:xe})=>{ae.matches=ae.matches||Ne,ae.breakpoints[xe]=Ne}),ae}))}_registerQuery(le){if(this._queries.has(le))return this._queries.get(le);const Xe=this._mediaMatcher.matchMedia(le),te={observable:new L.y(fe=>{const ae=Ne=>this._zone.run(()=>fe.next(Ne));return Xe.addListener(ae),()=>{Xe.removeListener(ae)}}).pipe((0,H.O)(Xe),(0,G.U)(({matches:fe})=>({query:le,matches:fe})),(0,Y.R)(this._destroySubject)),mql:Xe};return this._queries.set(le,te),te}}return we.\u0275fac=function(le){return new(le||we)(s.\u0275\u0275inject(be),s.\u0275\u0275inject(s.NgZone))},we.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new we(s.\u0275\u0275inject(be),s.\u0275\u0275inject(s.NgZone))},token:we,providedIn:"root"}),we})();function st(we){return we.map(je=>je.split(",")).reduce((je,le)=>je.concat(le)).map(je=>je.trim())}const Ze={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:(Qe,re,f)=>{"use strict";f.d(re,{wD:()=>k,yq:()=>Z,Q8:()=>M});var s=f(9490),c=f(7716),m=f(9897),C=f(9765),l=f(4395);let L=(()=>{class G{create(Y){return"undefined"==typeof MutationObserver?null:new MutationObserver(Y)}}return G.\u0275fac=function(Y){return new(Y||G)},G.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new G},token:G,providedIn:"root"}),G})(),Z=(()=>{class G{constructor(Y){this._mutationObserverFactory=Y,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((Y,ce)=>this._cleanupObserver(ce))}observe(Y){const ce=(0,s.fI)(Y);return new m.y(he=>{const _e=this._observeElement(ce).subscribe(he);return()=>{_e.unsubscribe(),this._unobserveElement(ce)}})}_observeElement(Y){if(this._observedElements.has(Y))this._observedElements.get(Y).count++;else{const ce=new C.xQ,he=this._mutationObserverFactory.create(ne=>ce.next(ne));he&&he.observe(Y,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Y,{observer:he,stream:ce,count:1})}return this._observedElements.get(Y).stream}_unobserveElement(Y){this._observedElements.has(Y)&&(this._observedElements.get(Y).count--,this._observedElements.get(Y).count||this._cleanupObserver(Y))}_cleanupObserver(Y){if(this._observedElements.has(Y)){const{observer:ce,stream:he}=this._observedElements.get(Y);ce&&ce.disconnect(),he.complete(),this._observedElements.delete(Y)}}}return G.\u0275fac=function(Y){return new(Y||G)(c.\u0275\u0275inject(L))},G.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new G(c.\u0275\u0275inject(L))},token:G,providedIn:"root"}),G})(),k=(()=>{class G{constructor(Y,ce,he){this._contentObserver=Y,this._elementRef=ce,this._ngZone=he,this.event=new c.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,s.Ig)(Y),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(Y){this._debounce=(0,s.su)(Y),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Y=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?Y.pipe((0,l.b)(this.debounce)):Y).subscribe(this.event)})}_unsubscribe(){var Y;null===(Y=this._currentSubscription)||void 0===Y||Y.unsubscribe()}}return G.\u0275fac=function(Y){return new(Y||G)(c.\u0275\u0275directiveInject(Z),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))},G.\u0275dir=c.\u0275\u0275defineDirective({type:G,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),G})(),M=(()=>{class G{}return G.\u0275fac=function(Y){return new(Y||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({providers:[L]}),G})()},625:(Qe,re,f)=>{"use strict";f.d(re,{aV:()=>it,X_:()=>W,Xj:()=>ke,U8:()=>ft});var s=f(5197),c=f(7716),m=f(521),C=f(946),l=f(8583),L=f(9490),Z=f(7636),k=f(9765),M=f(826),G=f(6682);f(7393);var ne=f(5257),_e=f(6782);f(6461);const Le=(0,m.Mq)();class at{constructor(D,I){this._viewportRuler=D,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=I}attach(){}enable(){if(this._canBeEnabled()){const D=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=D.style.left||"",this._previousHTMLStyles.top=D.style.top||"",D.style.left=(0,L.HM)(-this._previousScrollPosition.left),D.style.top=(0,L.HM)(-this._previousScrollPosition.top),D.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const D=this._document.documentElement,w=D.style,oe=this._document.body.style,F=w.scrollBehavior||"",X=oe.scrollBehavior||"";this._isEnabled=!1,w.left=this._previousHTMLStyles.left,w.top=this._previousHTMLStyles.top,D.classList.remove("cdk-global-scrollblock"),Le&&(w.scrollBehavior=oe.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Le&&(w.scrollBehavior=F,oe.scrollBehavior=X)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const I=this._document.body,w=this._viewportRuler.getViewportSize();return I.scrollHeight>w.height||I.scrollWidth>w.width}}class st{constructor(D,I,w,oe){this._scrollDispatcher=D,this._ngZone=I,this._viewportRuler=w,this._config=oe,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(D){this._overlayRef=D}enable(){if(this._scrollSubscription)return;const D=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=D.subscribe(()=>{const I=this._viewportRuler.getViewportScrollPosition().top;Math.abs(I-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=D.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ze{enable(){}disable(){}attach(){}}function we(We,D){return D.some(I=>We.bottom<I.top||We.top>I.bottom||We.right<I.left||We.left>I.right)}function je(We,D){return D.some(I=>We.top<I.top||We.bottom>I.bottom||We.left<I.left||We.right>I.right)}class le{constructor(D,I,w,oe){this._scrollDispatcher=D,this._viewportRuler=I,this._ngZone=w,this._config=oe,this._scrollSubscription=null}attach(D){this._overlayRef=D}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 I=this._overlayRef.overlayElement.getBoundingClientRect(),{width:w,height:oe}=this._viewportRuler.getViewportSize();we(I,[{width:w,height:oe,bottom:oe,right:w,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 Xe=(()=>{class We{constructor(I,w,oe,F){this._scrollDispatcher=I,this._viewportRuler=w,this._ngZone=oe,this.noop=()=>new Ze,this.close=X=>new st(this._scrollDispatcher,this._ngZone,this._viewportRuler,X),this.block=()=>new at(this._viewportRuler,this._document),this.reposition=X=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,X),this._document=F}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(s.mF),c.\u0275\u0275inject(s.rL),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(l.DOCUMENT))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(s.mF),c.\u0275\u0275inject(s.rL),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(l.DOCUMENT))},token:We,providedIn:"root"}),We})();class W{constructor(D){if(this.scrollStrategy=new Ze,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,D){const I=Object.keys(D);for(const w of I)void 0!==D[w]&&(this[w]=D[w])}}}class te{constructor(D,I,w,oe,F){this.offsetX=w,this.offsetY=oe,this.panelClass=F,this.originX=D.originX,this.originY=D.originY,this.overlayX=I.overlayX,this.overlayY=I.overlayY}}class ae{constructor(D,I){this.connectionPair=D,this.scrollableViewProperties=I}}let rt=(()=>{class We{constructor(I){this._attachedOverlays=[],this._document=I}ngOnDestroy(){this.detach()}add(I){this.remove(I),this._attachedOverlays.push(I)}remove(I){const w=this._attachedOverlays.indexOf(I);w>-1&&this._attachedOverlays.splice(w,1),0===this._attachedOverlays.length&&this.detach()}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(l.DOCUMENT))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(l.DOCUMENT))},token:We,providedIn:"root"}),We})(),lt=(()=>{class We extends rt{constructor(I){super(I),this._keydownListener=w=>{const oe=this._attachedOverlays;for(let F=oe.length-1;F>-1;F--)if(oe[F]._keydownEvents.observers.length>0){oe[F]._keydownEvents.next(w);break}}}add(I){super.add(I),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 We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(l.DOCUMENT))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(l.DOCUMENT))},token:We,providedIn:"root"}),We})(),bt=(()=>{class We extends rt{constructor(I,w){super(I),this._platform=w,this._cursorStyleIsSet=!1,this._pointerDownListener=oe=>{this._pointerDownEventTarget=(0,m.sA)(oe)},this._clickListener=oe=>{const F=(0,m.sA)(oe),X="click"===oe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:F;this._pointerDownEventTarget=null;const Pe=this._attachedOverlays.slice();for(let mt=Pe.length-1;mt>-1;mt--){const Ct=Pe[mt];if(!(Ct._outsidePointerEvents.observers.length<1)&&Ct.hasAttached()){if(Ct.overlayElement.contains(F)||Ct.overlayElement.contains(X))break;Ct._outsidePointerEvents.next(oe)}}}}add(I){if(super.add(I),!this._isAttached){const w=this._document.body;w.addEventListener("pointerdown",this._pointerDownListener,!0),w.addEventListener("click",this._clickListener,!0),w.addEventListener("auxclick",this._clickListener,!0),w.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=w.style.cursor,w.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const I=this._document.body;I.removeEventListener("pointerdown",this._pointerDownListener,!0),I.removeEventListener("click",this._clickListener,!0),I.removeEventListener("auxclick",this._clickListener,!0),I.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(I.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4))},token:We,providedIn:"root"}),We})(),ke=(()=>{class We{constructor(I,w){this._platform=w,this._document=I}ngOnDestroy(){const I=this._containerElement;I&&I.parentNode&&I.parentNode.removeChild(I)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const I="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const oe=this._document.querySelectorAll(`.${I}[platform="server"], .${I}[platform="test"]`);for(let F=0;F<oe.length;F++)oe[F].parentNode.removeChild(oe[F])}const w=this._document.createElement("div");w.classList.add(I),(0,m.Oy)()?w.setAttribute("platform","test"):this._platform.isBrowser||w.setAttribute("platform","server"),this._document.body.appendChild(w),this._containerElement=w}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4))},token:We,providedIn:"root"}),We})();class nt{constructor(D,I,w,oe,F,X,Pe,mt,Ct){this._portalOutlet=D,this._host=I,this._pane=w,this._config=oe,this._ngZone=F,this._keyboardDispatcher=X,this._document=Pe,this._location=mt,this._outsideClickDispatcher=Ct,this._backdropElement=null,this._backdropClick=new k.xQ,this._attachments=new k.xQ,this._detachments=new k.xQ,this._locationChanges=M.w.EMPTY,this._backdropClickHandler=Rt=>this._backdropClick.next(Rt),this._keydownEvents=new k.xQ,this._outsidePointerEvents=new k.xQ,oe.scrollStrategy&&(this._scrollStrategy=oe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=oe.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(D){let I=this._portalOutlet.attach(D);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,ne.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),I}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const D=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),D}dispose(){const D=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,D&&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(D){D!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=D,this.hasAttached()&&(D.attach(this),this.updatePosition()))}updateSize(D){this._config=Object.assign(Object.assign({},this._config),D),this._updateElementSize()}setDirection(D){this._config=Object.assign(Object.assign({},this._config),{direction:D}),this._updateElementDirection()}addPanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!0)}removePanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!1)}getDirection(){const D=this._config.direction;return D?"string"==typeof D?D:D.value:"ltr"}updateScrollStrategy(D){D!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=D,this.hasAttached()&&(D.attach(this),D.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const D=this._pane.style;D.width=(0,L.HM)(this._config.width),D.height=(0,L.HM)(this._config.height),D.minWidth=(0,L.HM)(this._config.minWidth),D.minHeight=(0,L.HM)(this._config.minHeight),D.maxWidth=(0,L.HM)(this._config.maxWidth),D.maxHeight=(0,L.HM)(this._config.maxHeight)}_togglePointerEvents(D){this._pane.style.pointerEvents=D?"":"none"}_attachBackdrop(){const D="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(D)})}):this._backdropElement.classList.add(D)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const D=this._backdropElement;if(!D)return;let I;const w=()=>{D&&(D.removeEventListener("click",this._backdropClickHandler),D.removeEventListener("transitionend",w),this._disposeBackdrop(D)),this._config.backdropClass&&this._toggleClasses(D,this._config.backdropClass,!1),clearTimeout(I)};D.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{D.addEventListener("transitionend",w)}),D.style.pointerEvents="none",I=this._ngZone.runOutsideAngular(()=>setTimeout(w,500))}_toggleClasses(D,I,w){const oe=D.classList;(0,L.Eq)(I).forEach(F=>{F&&(w?oe.add(F):oe.remove(F))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const D=this._ngZone.onStable.pipe((0,_e.R)((0,G.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)),D.unsubscribe())})})}_disposeScrollStrategy(){const D=this._scrollStrategy;D&&(D.disable(),D.detach&&D.detach())}_disposeBackdrop(D){D&&(D.parentNode&&D.parentNode.removeChild(D),this._backdropElement===D&&(this._backdropElement=null))}}const ht="cdk-overlay-connected-position-bounding-box",Ot=/([A-Za-z%]+)$/;class Ye{constructor(D,I,w,oe,F){this._viewportRuler=I,this._document=w,this._platform=oe,this._overlayContainer=F,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 k.xQ,this._resizeSubscription=M.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(D)}get positions(){return this._preferredPositions}attach(D){this._validatePositions(),D.hostElement.classList.add(ht),this._overlayRef=D,this._boundingBox=D.hostElement,this._pane=D.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 D=this._originRect,I=this._overlayRect,w=this._viewportRect,oe=[];let F;for(let X of this._preferredPositions){let Pe=this._getOriginPoint(D,X),mt=this._getOverlayPoint(Pe,I,X),Ct=this._getOverlayFit(mt,I,w,X);if(Ct.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(X,Pe);this._canFitWithFlexibleDimensions(Ct,mt,w)?oe.push({position:X,origin:Pe,overlayRect:I,boundingBoxRect:this._calculateBoundingBoxRect(Pe,X)}):(!F||F.overlayFit.visibleArea<Ct.visibleArea)&&(F={overlayFit:Ct,overlayPoint:mt,originPoint:Pe,position:X,overlayRect:I})}if(oe.length){let X=null,Pe=-1;for(const mt of oe){const Ct=mt.boundingBoxRect.width*mt.boundingBoxRect.height*(mt.position.weight||1);Ct>Pe&&(Pe=Ct,X=mt)}return this._isPushed=!1,void this._applyPosition(X.position,X.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(F.position,F.originPoint);this._applyPosition(F.position,F.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ut(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ht),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 D=this._lastPosition||this._preferredPositions[0],I=this._getOriginPoint(this._originRect,D);this._applyPosition(D,I)}}withScrollableContainers(D){return this._scrollables=D,this}withPositions(D){return this._preferredPositions=D,-1===D.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(D){return this._viewportMargin=D,this}withFlexibleDimensions(D=!0){return this._hasFlexibleDimensions=D,this}withGrowAfterOpen(D=!0){return this._growAfterOpen=D,this}withPush(D=!0){return this._canPush=D,this}withLockedPosition(D=!0){return this._positionLocked=D,this}setOrigin(D){return this._origin=D,this}withDefaultOffsetX(D){return this._offsetX=D,this}withDefaultOffsetY(D){return this._offsetY=D,this}withTransformOriginOn(D){return this._transformOriginSelector=D,this}_getOriginPoint(D,I){let w,oe;if("center"==I.originX)w=D.left+D.width/2;else{const F=this._isRtl()?D.right:D.left,X=this._isRtl()?D.left:D.right;w="start"==I.originX?F:X}return oe="center"==I.originY?D.top+D.height/2:"top"==I.originY?D.top:D.bottom,{x:w,y:oe}}_getOverlayPoint(D,I,w){let oe,F;return oe="center"==w.overlayX?-I.width/2:"start"===w.overlayX?this._isRtl()?-I.width:0:this._isRtl()?0:-I.width,F="center"==w.overlayY?-I.height/2:"top"==w.overlayY?0:-I.height,{x:D.x+oe,y:D.y+F}}_getOverlayFit(D,I,w,oe){const F=ee(I);let{x:X,y:Pe}=D,mt=this._getOffset(oe,"x"),Ct=this._getOffset(oe,"y");mt&&(X+=mt),Ct&&(Pe+=Ct);let zt=0-Pe,Qt=Pe+F.height-w.height,At=this._subtractOverflows(F.width,0-X,X+F.width-w.width),Lt=this._subtractOverflows(F.height,zt,Qt),jt=At*Lt;return{visibleArea:jt,isCompletelyWithinViewport:F.width*F.height===jt,fitsInViewportVertically:Lt===F.height,fitsInViewportHorizontally:At==F.width}}_canFitWithFlexibleDimensions(D,I,w){if(this._hasFlexibleDimensions){const oe=w.bottom-I.y,F=w.right-I.x,X=R(this._overlayRef.getConfig().minHeight),Pe=R(this._overlayRef.getConfig().minWidth),Ct=D.fitsInViewportHorizontally||null!=Pe&&Pe<=F;return(D.fitsInViewportVertically||null!=X&&X<=oe)&&Ct}return!1}_pushOverlayOnScreen(D,I,w){if(this._previousPushAmount&&this._positionLocked)return{x:D.x+this._previousPushAmount.x,y:D.y+this._previousPushAmount.y};const oe=ee(I),F=this._viewportRect,X=Math.max(D.x+oe.width-F.width,0),Pe=Math.max(D.y+oe.height-F.height,0),mt=Math.max(F.top-w.top-D.y,0),Ct=Math.max(F.left-w.left-D.x,0);let Rt=0,Nt=0;return Rt=oe.width<=F.width?Ct||-X:D.x<this._viewportMargin?F.left-w.left-D.x:0,Nt=oe.height<=F.height?mt||-Pe:D.y<this._viewportMargin?F.top-w.top-D.y:0,this._previousPushAmount={x:Rt,y:Nt},{x:D.x+Rt,y:D.y+Nt}}_applyPosition(D,I){if(this._setTransformOrigin(D),this._setOverlayElementStyles(I,D),this._setBoundingBoxStyles(I,D),D.panelClass&&this._addPanelClasses(D.panelClass),this._lastPosition=D,this._positionChanges.observers.length){const w=this._getScrollVisibility(),oe=new ae(D,w);this._positionChanges.next(oe)}this._isInitialRender=!1}_setTransformOrigin(D){if(!this._transformOriginSelector)return;const I=this._boundingBox.querySelectorAll(this._transformOriginSelector);let w,oe=D.overlayY;w="center"===D.overlayX?"center":this._isRtl()?"start"===D.overlayX?"right":"left":"start"===D.overlayX?"left":"right";for(let F=0;F<I.length;F++)I[F].style.transformOrigin=`${w} ${oe}`}_calculateBoundingBoxRect(D,I){const w=this._viewportRect,oe=this._isRtl();let F,X,Pe,Rt,Nt,zt;if("top"===I.overlayY)X=D.y,F=w.height-X+this._viewportMargin;else if("bottom"===I.overlayY)Pe=w.height-D.y+2*this._viewportMargin,F=w.height-Pe+this._viewportMargin;else{const Qt=Math.min(w.bottom-D.y+w.top,D.y),At=this._lastBoundingBoxSize.height;F=2*Qt,X=D.y-Qt,F>At&&!this._isInitialRender&&!this._growAfterOpen&&(X=D.y-At/2)}if("end"===I.overlayX&&!oe||"start"===I.overlayX&&oe)zt=w.width-D.x+this._viewportMargin,Rt=D.x-this._viewportMargin;else if("start"===I.overlayX&&!oe||"end"===I.overlayX&&oe)Nt=D.x,Rt=w.right-D.x;else{const Qt=Math.min(w.right-D.x+w.left,D.x),At=this._lastBoundingBoxSize.width;Rt=2*Qt,Nt=D.x-Qt,Rt>At&&!this._isInitialRender&&!this._growAfterOpen&&(Nt=D.x-At/2)}return{top:X,left:Nt,bottom:Pe,right:zt,width:Rt,height:F}}_setBoundingBoxStyles(D,I){const w=this._calculateBoundingBoxRect(D,I);!this._isInitialRender&&!this._growAfterOpen&&(w.height=Math.min(w.height,this._lastBoundingBoxSize.height),w.width=Math.min(w.width,this._lastBoundingBoxSize.width));const oe={};if(this._hasExactPosition())oe.top=oe.left="0",oe.bottom=oe.right=oe.maxHeight=oe.maxWidth="",oe.width=oe.height="100%";else{const F=this._overlayRef.getConfig().maxHeight,X=this._overlayRef.getConfig().maxWidth;oe.height=(0,L.HM)(w.height),oe.top=(0,L.HM)(w.top),oe.bottom=(0,L.HM)(w.bottom),oe.width=(0,L.HM)(w.width),oe.left=(0,L.HM)(w.left),oe.right=(0,L.HM)(w.right),oe.alignItems="center"===I.overlayX?"center":"end"===I.overlayX?"flex-end":"flex-start",oe.justifyContent="center"===I.overlayY?"center":"bottom"===I.overlayY?"flex-end":"flex-start",F&&(oe.maxHeight=(0,L.HM)(F)),X&&(oe.maxWidth=(0,L.HM)(X))}this._lastBoundingBoxSize=w,ut(this._boundingBox.style,oe)}_resetBoundingBoxStyles(){ut(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ut(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(D,I){const w={},oe=this._hasExactPosition(),F=this._hasFlexibleDimensions,X=this._overlayRef.getConfig();if(oe){const Rt=this._viewportRuler.getViewportScrollPosition();ut(w,this._getExactOverlayY(I,D,Rt)),ut(w,this._getExactOverlayX(I,D,Rt))}else w.position="static";let Pe="",mt=this._getOffset(I,"x"),Ct=this._getOffset(I,"y");mt&&(Pe+=`translateX(${mt}px) `),Ct&&(Pe+=`translateY(${Ct}px)`),w.transform=Pe.trim(),X.maxHeight&&(oe?w.maxHeight=(0,L.HM)(X.maxHeight):F&&(w.maxHeight="")),X.maxWidth&&(oe?w.maxWidth=(0,L.HM)(X.maxWidth):F&&(w.maxWidth="")),ut(this._pane.style,w)}_getExactOverlayY(D,I,w){let oe={top:"",bottom:""},F=this._getOverlayPoint(I,this._overlayRect,D);this._isPushed&&(F=this._pushOverlayOnScreen(F,this._overlayRect,w));let X=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return F.y-=X,"bottom"===D.overlayY?oe.bottom=this._document.documentElement.clientHeight-(F.y+this._overlayRect.height)+"px":oe.top=(0,L.HM)(F.y),oe}_getExactOverlayX(D,I,w){let X,oe={left:"",right:""},F=this._getOverlayPoint(I,this._overlayRect,D);return this._isPushed&&(F=this._pushOverlayOnScreen(F,this._overlayRect,w)),X=this._isRtl()?"end"===D.overlayX?"left":"right":"end"===D.overlayX?"right":"left","right"===X?oe.right=this._document.documentElement.clientWidth-(F.x+this._overlayRect.width)+"px":oe.left=(0,L.HM)(F.x),oe}_getScrollVisibility(){const D=this._getOriginRect(),I=this._pane.getBoundingClientRect(),w=this._scrollables.map(oe=>oe.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:je(D,w),isOriginOutsideView:we(D,w),isOverlayClipped:je(I,w),isOverlayOutsideView:we(I,w)}}_subtractOverflows(D,...I){return I.reduce((w,oe)=>w-Math.max(oe,0),D)}_getNarrowedViewportRect(){const D=this._document.documentElement.clientWidth,I=this._document.documentElement.clientHeight,w=this._viewportRuler.getViewportScrollPosition();return{top:w.top+this._viewportMargin,left:w.left+this._viewportMargin,right:w.left+D-this._viewportMargin,bottom:w.top+I-this._viewportMargin,width:D-2*this._viewportMargin,height:I-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(D,I){return"x"===I?null==D.offsetX?this._offsetX:D.offsetX:null==D.offsetY?this._offsetY:D.offsetY}_validatePositions(){}_addPanelClasses(D){this._pane&&(0,L.Eq)(D).forEach(I=>{""!==I&&-1===this._appliedPanelClasses.indexOf(I)&&(this._appliedPanelClasses.push(I),this._pane.classList.add(I))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(D=>{this._pane.classList.remove(D)}),this._appliedPanelClasses=[])}_getOriginRect(){const D=this._origin;if(D instanceof c.ElementRef)return D.nativeElement.getBoundingClientRect();if(D instanceof Element)return D.getBoundingClientRect();const I=D.width||0,w=D.height||0;return{top:D.y,bottom:D.y+w,left:D.x,right:D.x+I,height:w,width:I}}}function ut(We,D){for(let I in D)D.hasOwnProperty(I)&&(We[I]=D[I]);return We}function R(We){if("number"!=typeof We&&null!=We){const[D,I]=We.split(Ot);return I&&"px"!==I?null:parseFloat(D)}return We||null}function ee(We){return{top:Math.floor(We.top),right:Math.floor(We.right),bottom:Math.floor(We.bottom),left:Math.floor(We.left),width:Math.floor(We.width),height:Math.floor(We.height)}}class x{constructor(D,I,w,oe,F,X,Pe){this._preferredPositions=[],this._positionStrategy=new Ye(w,oe,F,X,Pe).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(D,I),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(D){this._overlayRef=D,this._positionStrategy.attach(D),this._direction&&(D.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(D){this._positionStrategy.withScrollableContainers(D)}withFallbackPosition(D,I,w,oe){const F=new te(D,I,w,oe);return this._preferredPositions.push(F),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(D){return this._overlayRef?this._overlayRef.setDirection(D):this._direction=D,this}withOffsetX(D){return this._positionStrategy.withDefaultOffsetX(D),this}withOffsetY(D){return this._positionStrategy.withDefaultOffsetY(D),this}withLockedPosition(D){return this._positionStrategy.withLockedPosition(D),this}withPositions(D){return this._preferredPositions=D.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(D){return this._positionStrategy.setOrigin(D),this}}const ge="cdk-global-overlay-wrapper";class se{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(D){const I=D.getConfig();this._overlayRef=D,this._width&&!I.width&&D.updateSize({width:this._width}),this._height&&!I.height&&D.updateSize({height:this._height}),D.hostElement.classList.add(ge),this._isDisposed=!1}top(D=""){return this._bottomOffset="",this._topOffset=D,this._alignItems="flex-start",this}left(D=""){return this._rightOffset="",this._leftOffset=D,this._justifyContent="flex-start",this}bottom(D=""){return this._topOffset="",this._bottomOffset=D,this._alignItems="flex-end",this}right(D=""){return this._leftOffset="",this._rightOffset=D,this._justifyContent="flex-end",this}width(D=""){return this._overlayRef?this._overlayRef.updateSize({width:D}):this._width=D,this}height(D=""){return this._overlayRef?this._overlayRef.updateSize({height:D}):this._height=D,this}centerHorizontally(D=""){return this.left(D),this._justifyContent="center",this}centerVertically(D=""){return this.top(D),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const D=this._overlayRef.overlayElement.style,I=this._overlayRef.hostElement.style,w=this._overlayRef.getConfig(),{width:oe,height:F,maxWidth:X,maxHeight:Pe}=w,mt=!("100%"!==oe&&"100vw"!==oe||X&&"100%"!==X&&"100vw"!==X),Ct=!("100%"!==F&&"100vh"!==F||Pe&&"100%"!==Pe&&"100vh"!==Pe);D.position=this._cssPosition,D.marginLeft=mt?"0":this._leftOffset,D.marginTop=Ct?"0":this._topOffset,D.marginBottom=this._bottomOffset,D.marginRight=this._rightOffset,mt?I.justifyContent="flex-start":"center"===this._justifyContent?I.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?I.justifyContent="flex-end":"flex-end"===this._justifyContent&&(I.justifyContent="flex-start"):I.justifyContent=this._justifyContent,I.alignItems=Ct?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const D=this._overlayRef.overlayElement.style,I=this._overlayRef.hostElement,w=I.style;I.classList.remove(ge),w.justifyContent=w.alignItems=D.marginTop=D.marginBottom=D.marginLeft=D.marginRight=D.position="",this._overlayRef=null,this._isDisposed=!0}}let me=(()=>{class We{constructor(I,w,oe,F){this._viewportRuler=I,this._document=w,this._platform=oe,this._overlayContainer=F}global(){return new se}connectedTo(I,w,oe){return new x(w,oe,I,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(I){return new Ye(I,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(s.rL),c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4),c.\u0275\u0275inject(ke))},We.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new We(c.\u0275\u0275inject(s.rL),c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(m.t4),c.\u0275\u0275inject(ke))},token:We,providedIn:"root"}),We})(),Re=0,it=(()=>{class We{constructor(I,w,oe,F,X,Pe,mt,Ct,Rt,Nt,zt){this.scrollStrategies=I,this._overlayContainer=w,this._componentFactoryResolver=oe,this._positionBuilder=F,this._keyboardDispatcher=X,this._injector=Pe,this._ngZone=mt,this._document=Ct,this._directionality=Rt,this._location=Nt,this._outsideClickDispatcher=zt}create(I){const w=this._createHostElement(),oe=this._createPaneElement(w),F=this._createPortalOutlet(oe),X=new W(I);return X.direction=X.direction||this._directionality.value,new nt(F,w,oe,X,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(I){const w=this._document.createElement("div");return w.id="cdk-overlay-"+Re++,w.classList.add("cdk-overlay-pane"),I.appendChild(w),w}_createHostElement(){const I=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(I),I}_createPortalOutlet(I){return this._appRef||(this._appRef=this._injector.get(c.ApplicationRef)),new Z.u0(I,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return We.\u0275fac=function(I){return new(I||We)(c.\u0275\u0275inject(Xe),c.\u0275\u0275inject(ke),c.\u0275\u0275inject(c.ComponentFactoryResolver),c.\u0275\u0275inject(me),c.\u0275\u0275inject(lt),c.\u0275\u0275inject(c.Injector),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(C.Is),c.\u0275\u0275inject(l.Location),c.\u0275\u0275inject(bt))},We.\u0275prov=c.\u0275\u0275defineInjectable({token:We,factory:We.\u0275fac}),We})();const ze={provide:new c.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[it],useFactory:function(We){return()=>We.scrollStrategies.reposition()}};let ft=(()=>{class We{}return We.\u0275fac=function(I){return new(I||We)},We.\u0275mod=c.\u0275\u0275defineNgModule({type:We}),We.\u0275inj=c.\u0275\u0275defineInjector({providers:[it,ze],imports:[[C.vT,Z.eL,s.Cl],s.Cl]}),We})()},521:(Qe,re,f)=>{"use strict";f.d(re,{t4:()=>C,ud:()=>l,sA:()=>Mt,ht:()=>at,kV:()=>Le,Oy:()=>Ze,_i:()=>ne,i$:()=>H,Mq:()=>he});var s=f(7716),c=f(8583);let m;try{m="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(we){m=!1}let M,Y,ce,_e,st,C=(()=>{class we{constructor(le){this._platformId=le,this.isBrowser=this._platformId?(0,c.isPlatformBrowser)(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 we.\u0275fac=function(le){return new(le||we)(s.\u0275\u0275inject(s.PLATFORM_ID))},we.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new we(s.\u0275\u0275inject(s.PLATFORM_ID))},token:we,providedIn:"root"}),we})(),l=(()=>{class we{}return we.\u0275fac=function(le){return new(le||we)},we.\u0275mod=s.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=s.\u0275\u0275defineInjector({}),we})();function H(we){return function(){if(null==M&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>M=!0}))}finally{M=M||!1}return M}()?we:!!we.capture}function he(){if(null==ce){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ce=!1,ce;if("scrollBehavior"in document.documentElement.style)ce=!0;else{const we=Element.prototype.scrollTo;ce=!!we&&!/\{\s*\[native code\]\s*\}/.test(we.toString())}}return ce}function ne(){if("object"!=typeof document||!document)return 0;if(null==Y){const we=document.createElement("div"),je=we.style;we.dir="rtl",je.width="1px",je.overflow="auto",je.visibility="hidden",je.pointerEvents="none",je.position="absolute";const le=document.createElement("div"),Xe=le.style;Xe.width="2px",Xe.height="1px",we.appendChild(le),document.body.appendChild(we),Y=0,0===we.scrollLeft&&(we.scrollLeft=1,Y=0===we.scrollLeft?1:2),we.parentNode.removeChild(we)}return Y}function Le(we){if(function(){if(null==_e){const we="undefined"!=typeof document?document.head:null;_e=!(!we||!we.createShadowRoot&&!we.attachShadow)}return _e}()){const je=we.getRootNode?we.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&je instanceof ShadowRoot)return je}return null}function at(){let we="undefined"!=typeof document&&document?document.activeElement:null;for(;we&&we.shadowRoot;){const je=we.shadowRoot.activeElement;if(je===we)break;we=je}return we}function Mt(we){return we.composedPath?we.composedPath()[0]:we.target}function Ze(){return void 0!==st.__karma__&&!!st.__karma__||void 0!==st.jasmine&&!!st.jasmine||void 0!==st.jest&&!!st.jest||void 0!==st.Mocha&&!!st.Mocha}st="undefined"!=typeof global?global:"undefined"!=typeof window?window:{}},7636:(Qe,re,f)=>{"use strict";f.d(re,{en:()=>ce,ig:()=>be,Pl:()=>at,C5:()=>G,u0:()=>ne,eL:()=>st,UE:()=>H});var s=f(7716),c=f(8583);class M{attach(je){return this._attachedHost=je,je.attach(this)}detach(){let je=this._attachedHost;null!=je&&(this._attachedHost=null,je.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(je){this._attachedHost=je}}class G extends M{constructor(je,le,Xe,W){super(),this.component=je,this.viewContainerRef=le,this.injector=Xe,this.componentFactoryResolver=W}}class H extends M{constructor(je,le,Xe){super(),this.templateRef=je,this.viewContainerRef=le,this.context=Xe}get origin(){return this.templateRef.elementRef}attach(je,le=this.context){return this.context=le,super.attach(je)}detach(){return this.context=void 0,super.detach()}}class Y extends M{constructor(je){super(),this.element=je instanceof s.ElementRef?je.nativeElement:je}}class ce{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(je){return je instanceof G?(this._attachedPortal=je,this.attachComponentPortal(je)):je instanceof H?(this._attachedPortal=je,this.attachTemplatePortal(je)):this.attachDomPortal&&je instanceof Y?(this._attachedPortal=je,this.attachDomPortal(je)):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(je){this._disposeFn=je}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ne extends ce{constructor(je,le,Xe,W,te){super(),this.outletElement=je,this._componentFactoryResolver=le,this._appRef=Xe,this._defaultInjector=W,this.attachDomPortal=fe=>{const ae=fe.element,Ne=this._document.createComment("dom-portal");ae.parentNode.insertBefore(Ne,ae),this.outletElement.appendChild(ae),this._attachedPortal=fe,super.setDisposeFn(()=>{Ne.parentNode&&Ne.parentNode.replaceChild(ae,Ne)})},this._document=te}attachComponentPortal(je){const Xe=(je.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(je.component);let W;return je.viewContainerRef?(W=je.viewContainerRef.createComponent(Xe,je.viewContainerRef.length,je.injector||je.viewContainerRef.injector),this.setDisposeFn(()=>W.destroy())):(W=Xe.create(je.injector||this._defaultInjector),this._appRef.attachView(W.hostView),this.setDisposeFn(()=>{this._appRef.detachView(W.hostView),W.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(W)),this._attachedPortal=je,W}attachTemplatePortal(je){let le=je.viewContainerRef,Xe=le.createEmbeddedView(je.templateRef,je.context);return Xe.rootNodes.forEach(W=>this.outletElement.appendChild(W)),Xe.detectChanges(),this.setDisposeFn(()=>{let W=le.indexOf(Xe);-1!==W&&le.remove(W)}),this._attachedPortal=je,Xe}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(je){return je.hostView.rootNodes[0]}}let be=(()=>{class we extends H{constructor(le,Xe){super(le,Xe)}}return we.\u0275fac=function(le){return new(le||we)(s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef))},we.\u0275dir=s.\u0275\u0275defineDirective({type:we,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.\u0275\u0275InheritDefinitionFeature]}),we})(),at=(()=>{class we extends ce{constructor(le,Xe,W){super(),this._componentFactoryResolver=le,this._viewContainerRef=Xe,this._isInitialized=!1,this.attached=new s.EventEmitter,this.attachDomPortal=te=>{const fe=te.element,ae=this._document.createComment("dom-portal");te.setAttachedHost(this),fe.parentNode.insertBefore(ae,fe),this._getRootNode().appendChild(fe),this._attachedPortal=te,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(fe,ae)})},this._document=W}get portal(){return this._attachedPortal}set portal(le){this.hasAttached()&&!le&&!this._isInitialized||(this.hasAttached()&&super.detach(),le&&super.attach(le),this._attachedPortal=le)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(le){le.setAttachedHost(this);const Xe=null!=le.viewContainerRef?le.viewContainerRef:this._viewContainerRef,te=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component),fe=Xe.createComponent(te,Xe.length,le.injector||Xe.injector);return Xe!==this._viewContainerRef&&this._getRootNode().appendChild(fe.hostView.rootNodes[0]),super.setDisposeFn(()=>fe.destroy()),this._attachedPortal=le,this._attachedRef=fe,this.attached.emit(fe),fe}attachTemplatePortal(le){le.setAttachedHost(this);const Xe=this._viewContainerRef.createEmbeddedView(le.templateRef,le.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=le,this._attachedRef=Xe,this.attached.emit(Xe),Xe}_getRootNode(){const le=this._viewContainerRef.element.nativeElement;return le.nodeType===le.ELEMENT_NODE?le:le.parentNode}}return we.\u0275fac=function(le){return new(le||we)(s.\u0275\u0275directiveInject(s.ComponentFactoryResolver),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(c.DOCUMENT))},we.\u0275dir=s.\u0275\u0275defineDirective({type:we,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.\u0275\u0275InheritDefinitionFeature]}),we})(),st=(()=>{class we{}return we.\u0275fac=function(le){return new(le||we)},we.\u0275mod=s.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=s.\u0275\u0275defineInjector({}),we})()},5197:(Qe,re,f)=>{"use strict";f.d(re,{ZD:()=>wt,mF:()=>ut,Cl:()=>Ge,rL:()=>x});var s=f(9490),c=f(7716),m=f(9765),C=f(5917),l=f(9897),L=f(2759),H=(f(1927),f(4581),f(826),f(5639),f(3637)),Y=f(5345);class he{constructor(Be){this.durationSelector=Be}call(Be,K){return K.subscribe(new ne(Be,this.durationSelector))}}class ne extends Y.Ds{constructor(Be,K){super(Be),this.durationSelector=K,this.hasValue=!1}_next(Be){if(this.value=Be,this.hasValue=!0,!this.throttled){let K;try{const{durationSelector:ft}=this;K=ft(Be)}catch(ft){return this.destination.error(ft)}const ze=(0,Y.ft)(K,new Y.IY(this));!ze||ze.closed?this.clearThrottle():this.add(this.throttled=ze)}}clearThrottle(){const{value:Be,hasValue:K,throttled:ze}=this;ze&&(this.remove(ze),this.throttled=void 0,ze.unsubscribe()),K&&(this.value=void 0,this.hasValue=!1,this.destination.next(Be))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var _e=f(6797);function be(Ve,Be=H.P){return function(Ve){return function(K){return K.lift(new he(Ve))}}(()=>(0,_e.H)(Ve,Be))}f(7393),f(4448),f(7519);var Xe=f(5435),ae=(f(6782),f(9761),f(3190),f(521)),Ne=f(8583),xe=f(946);f(8345);let ut=(()=>{class Ve{constructor(K,ze,ft){this._ngZone=K,this._platform=ze,this._scrolled=new m.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ft}register(K){this.scrollContainers.has(K)||this.scrollContainers.set(K,K.elementScrolled().subscribe(()=>this._scrolled.next(K)))}deregister(K){const ze=this.scrollContainers.get(K);ze&&(ze.unsubscribe(),this.scrollContainers.delete(K))}scrolled(K=20){return this._platform.isBrowser?new l.y(ze=>{this._globalSubscription||this._addGlobalListener();const ft=K>0?this._scrolled.pipe(be(K)).subscribe(ze):this._scrolled.subscribe(ze);return this._scrolledCount++,()=>{ft.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,C.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((K,ze)=>this.deregister(ze)),this._scrolled.complete()}ancestorScrolled(K,ze){const ft=this.getAncestorScrollContainers(K);return this.scrolled(ze).pipe((0,Xe.h)(yt=>!yt||ft.indexOf(yt)>-1))}getAncestorScrollContainers(K){const ze=[];return this.scrollContainers.forEach((ft,yt)=>{this._scrollableContainsElement(yt,K)&&ze.push(yt)}),ze}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(K,ze){let ft=(0,s.fI)(ze),yt=K.getElementRef().nativeElement;do{if(ft==yt)return!0}while(ft=ft.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const K=this._getWindow();return(0,L.R)(K.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ve.\u0275fac=function(K){return new(K||Ve)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(ae.t4),c.\u0275\u0275inject(Ne.DOCUMENT,8))},Ve.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ve(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(ae.t4),c.\u0275\u0275inject(Ne.DOCUMENT,8))},token:Ve,providedIn:"root"}),Ve})(),x=(()=>{class Ve{constructor(K,ze,ft){this._platform=K,this._change=new m.xQ,this._changeListener=yt=>{this._change.next(yt)},this._document=ft,ze.runOutsideAngular(()=>{if(K.isBrowser){const yt=this._getWindow();yt.addEventListener("resize",this._changeListener),yt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const K=this._getWindow();K.removeEventListener("resize",this._changeListener),K.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const K={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),K}getViewportRect(){const K=this.getViewportScrollPosition(),{width:ze,height:ft}=this.getViewportSize();return{top:K.top,left:K.left,bottom:K.top+ft,right:K.left+ze,height:ft,width:ze}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const K=this._document,ze=this._getWindow(),ft=K.documentElement,yt=ft.getBoundingClientRect();return{top:-yt.top||K.body.scrollTop||ze.scrollY||ft.scrollTop||0,left:-yt.left||K.body.scrollLeft||ze.scrollX||ft.scrollLeft||0}}change(K=20){return K>0?this._change.pipe(be(K)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const K=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:K.innerWidth,height:K.innerHeight}:{width:0,height:0}}}return Ve.\u0275fac=function(K){return new(K||Ve)(c.\u0275\u0275inject(ae.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(Ne.DOCUMENT,8))},Ve.\u0275prov=c.\u0275\u0275defineInjectable({factory:function(){return new Ve(c.\u0275\u0275inject(ae.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(Ne.DOCUMENT,8))},token:Ve,providedIn:"root"}),Ve})(),wt=(()=>{class Ve{}return Ve.\u0275fac=function(K){return new(K||Ve)},Ve.\u0275mod=c.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=c.\u0275\u0275defineInjector({}),Ve})(),Ge=(()=>{class Ve{}return Ve.\u0275fac=function(K){return new(K||Ve)},Ve.\u0275mod=c.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=c.\u0275\u0275defineInjector({imports:[[xe.vT,ae.ud,wt],xe.vT,wt]}),Ve})()},9490:(Qe,re,f)=>{"use strict";f.d(re,{t6:()=>C,Eq:()=>l,Ig:()=>c,HM:()=>L,fI:()=>Z,su:()=>m});var s=f(7716);function c(M){return null!=M&&"false"!=`${M}`}function m(M,G=0){return C(M)?Number(M):G}function C(M){return!isNaN(parseFloat(M))&&!isNaN(Number(M))}function l(M){return Array.isArray(M)?M:[M]}function L(M){return null==M?"":"string"==typeof M?M:`${M}px`}function Z(M){return M instanceof s.ElementRef?M.nativeElement:M}},8583:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{APP_BASE_HREF:()=>at,AsyncPipe:()=>kr,CommonModule:()=>Ti,CurrencyPipe:()=>Br,DOCUMENT:()=>Z,DatePipe:()=>po,DecimalPipe:()=>wi,FormStyle:()=>fe,FormatWidth:()=>Ne,HashLocationStrategy:()=>st,I18nPluralPipe:()=>Mi,I18nSelectPipe:()=>mo,JsonPipe:()=>Fo,KeyValuePipe:()=>Lr,LOCATION_INITIALIZED:()=>G,Location:()=>Ze,LocationStrategy:()=>be,LowerCasePipe:()=>Nr,NgClass:()=>kt,NgComponentOutlet:()=>Ut,NgForOf:()=>Wt,NgForOfContext:()=>qt,NgIf:()=>bi,NgIfContext:()=>li,NgLocaleLocalization:()=>ue,NgLocalization:()=>Me,NgPlural:()=>Cn,NgPluralCase:()=>Ci,NgStyle:()=>ci,NgSwitch:()=>ei,NgSwitchCase:()=>Rn,NgSwitchDefault:()=>Xi,NgTemplateOutlet:()=>ui,NumberFormatStyle:()=>W,NumberSymbol:()=>xe,PathLocationStrategy:()=>Mt,PercentPipe:()=>Li,PlatformLocation:()=>k,Plural:()=>te,SlicePipe:()=>yi,TitleCasePipe:()=>to,TranslationWidth:()=>ae,UpperCasePipe:()=>Di,VERSION:()=>Pn,ViewportScroller:()=>Cr,WeekDay:()=>rt,XhrFactory:()=>go,formatCurrency:()=>Pt,formatDate:()=>mt,formatNumber:()=>ve,formatPercent:()=>Q,getCurrencySymbol:()=>yt,getLocaleCurrencyCode:()=>Re,getLocaleCurrencyName:()=>me,getLocaleCurrencySymbol:()=>se,getLocaleDateFormat:()=>ut,getLocaleDateTimeFormat:()=>ee,getLocaleDayNames:()=>ke,getLocaleDayPeriods:()=>bt,getLocaleDirection:()=>K,getLocaleEraNames:()=>ht,getLocaleExtraDayPeriodRules:()=>Ve,getLocaleExtraDayPeriods:()=>Be,getLocaleFirstDayOfWeek:()=>Ot,getLocaleId:()=>lt,getLocaleMonthNames:()=>nt,getLocaleNumberFormat:()=>ge,getLocaleNumberSymbol:()=>x,getLocalePluralCase:()=>wt,getLocaleTimeFormat:()=>R,getLocaleWeekEndRange:()=>Ye,getNumberOfCurrencyDigits:()=>D,isPlatformBrowser:()=>br,isPlatformServer:()=>Hr,isPlatformWorkerApp:()=>Ii,isPlatformWorkerUi:()=>Ur,registerLocaleData:()=>Fe,\u0275BrowserPlatformLocation:()=>H,\u0275DomAdapter:()=>L,\u0275NullViewportScroller:()=>Mr,\u0275PLATFORM_BROWSER_ID:()=>ji,\u0275PLATFORM_SERVER_ID:()=>Vr,\u0275PLATFORM_WORKER_APP_ID:()=>tr,\u0275PLATFORM_WORKER_UI_ID:()=>vr,\u0275angular_packages_common_common_a:()=>M,\u0275angular_packages_common_common_b:()=>ce,\u0275angular_packages_common_common_c:()=>we,\u0275angular_packages_common_common_d:()=>Le,\u0275angular_packages_common_common_e:()=>ni,\u0275angular_packages_common_common_f:()=>er,\u0275getDOM:()=>m,\u0275parseCookieValue:()=>ot,\u0275setRootDomAdapter:()=>l});var s=f(7716);let c=null;function m(){return c}function l(E){c||(c=E)}class L{}const Z=new s.InjectionToken("DocumentToken");let k=(()=>{class E{historyGo(T){throw new Error("Not implemented")}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:M,token:E,providedIn:"platform"}),E})();function M(){return(0,s.\u0275\u0275inject)(H)}const G=new s.InjectionToken("Location Initialized");let H=(()=>{class E extends k{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return m().getBaseHref(this._doc)}onPopState(T){const p=m().getGlobalEventTarget(this._doc,"window");return p.addEventListener("popstate",T,!1),()=>p.removeEventListener("popstate",T)}onHashChange(T){const p=m().getGlobalEventTarget(this._doc,"window");return p.addEventListener("hashchange",T,!1),()=>p.removeEventListener("hashchange",T)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(T){this.location.pathname=T}pushState(T,p,_){Y()?this._history.pushState(T,p,_):this.location.hash=_}replaceState(T,p,_){Y()?this._history.replaceState(T,p,_):this.location.hash=_}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275inject(Z))},E.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:ce,token:E,providedIn:"platform"}),E})();function Y(){return!!window.history.pushState}function ce(){return new H((0,s.\u0275\u0275inject)(Z))}function he(E,J){if(0==E.length)return J;if(0==J.length)return E;let T=0;return E.endsWith("/")&&T++,J.startsWith("/")&&T++,2==T?E+J.substring(1):1==T?E+J:E+"/"+J}function ne(E){const J=E.match(/#|\?|$/),T=J&&J.index||E.length;return E.slice(0,T-("/"===E[T-1]?1:0))+E.slice(T)}function _e(E){return E&&"?"!==E[0]?"?"+E:E}let be=(()=>{class E{historyGo(T){throw new Error("Not implemented")}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:Le,token:E,providedIn:"root"}),E})();function Le(E){const J=(0,s.\u0275\u0275inject)(Z).location;return new Mt((0,s.\u0275\u0275inject)(k),J&&J.origin||"")}const at=new s.InjectionToken("appBaseHref");let Mt=(()=>{class E extends be{constructor(T,p){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==p&&(p=this._platformLocation.getBaseHrefFromDOM()),null==p)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=p}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return he(this._baseHref,T)}path(T=!1){const p=this._platformLocation.pathname+_e(this._platformLocation.search),_=this._platformLocation.hash;return _&&T?`${p}${_}`:p}pushState(T,p,_,y){const P=this.prepareExternalUrl(_+_e(y));this._platformLocation.pushState(T,p,P)}replaceState(T,p,_,y){const P=this.prepareExternalUrl(_+_e(y));this._platformLocation.replaceState(T,p,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var p,_;null===(_=(p=this._platformLocation).historyGo)||void 0===_||_.call(p,T)}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275inject(k),s.\u0275\u0275inject(at,8))},E.\u0275prov=s.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})(),st=(()=>{class E extends be{constructor(T,p){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=p&&(this._baseHref=p)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let p=this._platformLocation.hash;return null==p&&(p="#"),p.length>0?p.substring(1):p}prepareExternalUrl(T){const p=he(this._baseHref,T);return p.length>0?"#"+p:p}pushState(T,p,_,y){let P=this.prepareExternalUrl(_+_e(y));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.pushState(T,p,P)}replaceState(T,p,_,y){let P=this.prepareExternalUrl(_+_e(y));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.replaceState(T,p,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var p,_;null===(_=(p=this._platformLocation).historyGo)||void 0===_||_.call(p,T)}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275inject(k),s.\u0275\u0275inject(at,8))},E.\u0275prov=s.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})(),Ze=(()=>{class E{constructor(T,p){this._subject=new s.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=T;const _=this._platformStrategy.getBaseHref();this._platformLocation=p,this._baseHref=ne(le(_)),this._platformStrategy.onPopState(y=>{this._subject.emit({url:this.path(!0),pop:!0,state:y.state,type:y.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,p=""){return this.path()==this.normalize(T+_e(p))}normalize(T){return E.stripTrailingSlash(function(E,J){return E&&J.startsWith(E)?J.substring(E.length):J}(this._baseHref,le(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,p="",_=null){this._platformStrategy.pushState(_,"",T,p),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+_e(p)),_)}replaceState(T,p="",_=null){this._platformStrategy.replaceState(_,"",T,p),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+_e(p)),_)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){var p,_;null===(_=(p=this._platformStrategy).historyGo)||void 0===_||_.call(p,T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(p=>{this._notifyUrlChangeListeners(p.url,p.state)}))}_notifyUrlChangeListeners(T="",p){this._urlChangeListeners.forEach(_=>_(T,p))}subscribe(T,p,_){return this._subject.subscribe({next:T,error:p,complete:_})}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275inject(be),s.\u0275\u0275inject(k))},E.normalizeQueryParams=_e,E.joinWithSlash=he,E.stripTrailingSlash=ne,E.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:we,token:E,providedIn:"root"}),E})();function we(){return new Ze((0,s.\u0275\u0275inject)(be),(0,s.\u0275\u0275inject)(k))}function le(E){return E.replace(/\/index.html$/,"")}const Xe={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var W=(()=>((W=W||{})[W.Decimal=0]="Decimal",W[W.Percent=1]="Percent",W[W.Currency=2]="Currency",W[W.Scientific=3]="Scientific",W))(),te=(()=>((te=te||{})[te.Zero=0]="Zero",te[te.One=1]="One",te[te.Two=2]="Two",te[te.Few=3]="Few",te[te.Many=4]="Many",te[te.Other=5]="Other",te))(),fe=(()=>((fe=fe||{})[fe.Format=0]="Format",fe[fe.Standalone=1]="Standalone",fe))(),ae=(()=>((ae=ae||{})[ae.Narrow=0]="Narrow",ae[ae.Abbreviated=1]="Abbreviated",ae[ae.Wide=2]="Wide",ae[ae.Short=3]="Short",ae))(),Ne=(()=>((Ne=Ne||{})[Ne.Short=0]="Short",Ne[Ne.Medium=1]="Medium",Ne[Ne.Long=2]="Long",Ne[Ne.Full=3]="Full",Ne))(),xe=(()=>((xe=xe||{})[xe.Decimal=0]="Decimal",xe[xe.Group=1]="Group",xe[xe.List=2]="List",xe[xe.PercentSign=3]="PercentSign",xe[xe.PlusSign=4]="PlusSign",xe[xe.MinusSign=5]="MinusSign",xe[xe.Exponential=6]="Exponential",xe[xe.SuperscriptingExponent=7]="SuperscriptingExponent",xe[xe.PerMille=8]="PerMille",xe[xe.Infinity=9]="Infinity",xe[xe.NaN=10]="NaN",xe[xe.TimeSeparator=11]="TimeSeparator",xe[xe.CurrencyDecimal=12]="CurrencyDecimal",xe[xe.CurrencyGroup=13]="CurrencyGroup",xe))(),rt=(()=>((rt=rt||{})[rt.Sunday=0]="Sunday",rt[rt.Monday=1]="Monday",rt[rt.Tuesday=2]="Tuesday",rt[rt.Wednesday=3]="Wednesday",rt[rt.Thursday=4]="Thursday",rt[rt.Friday=5]="Friday",rt[rt.Saturday=6]="Saturday",rt))();function lt(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.LocaleId]}function bt(E,J,T){const p=(0,s.\u0275findLocaleData)(E),y=ze([p[s.\u0275LocaleDataIndex.DayPeriodsFormat],p[s.\u0275LocaleDataIndex.DayPeriodsStandalone]],J);return ze(y,T)}function ke(E,J,T){const p=(0,s.\u0275findLocaleData)(E),y=ze([p[s.\u0275LocaleDataIndex.DaysFormat],p[s.\u0275LocaleDataIndex.DaysStandalone]],J);return ze(y,T)}function nt(E,J,T){const p=(0,s.\u0275findLocaleData)(E),y=ze([p[s.\u0275LocaleDataIndex.MonthsFormat],p[s.\u0275LocaleDataIndex.MonthsStandalone]],J);return ze(y,T)}function ht(E,J){return ze((0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.Eras],J)}function Ot(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.FirstDayOfWeek]}function Ye(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.WeekendRange]}function ut(E,J){return ze((0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.DateFormat],J)}function R(E,J){return ze((0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.TimeFormat],J)}function ee(E,J){return ze((0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.DateTimeFormat],J)}function x(E,J){const T=(0,s.\u0275findLocaleData)(E),p=T[s.\u0275LocaleDataIndex.NumberSymbols][J];if(void 0===p){if(J===xe.CurrencyDecimal)return T[s.\u0275LocaleDataIndex.NumberSymbols][xe.Decimal];if(J===xe.CurrencyGroup)return T[s.\u0275LocaleDataIndex.NumberSymbols][xe.Group]}return p}function ge(E,J){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.NumberFormats][J]}function se(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.CurrencySymbol]||null}function me(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.CurrencyName]||null}function Re(E){return(0,s.\u0275getLocaleCurrencyCode)(E)}const wt=s.\u0275getLocalePluralCase;function Ge(E){if(!E[s.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${E[s.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ve(E){const J=(0,s.\u0275findLocaleData)(E);return Ge(J),(J[s.\u0275LocaleDataIndex.ExtraData][2]||[]).map(p=>"string"==typeof p?ft(p):[ft(p[0]),ft(p[1])])}function Be(E,J,T){const p=(0,s.\u0275findLocaleData)(E);Ge(p);const y=ze([p[s.\u0275LocaleDataIndex.ExtraData][0],p[s.\u0275LocaleDataIndex.ExtraData][1]],J)||[];return ze(y,T)||[]}function K(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.Directionality]}function ze(E,J){for(let T=J;T>-1;T--)if(void 0!==E[T])return E[T];throw new Error("Locale data API: locale data undefined")}function ft(E){const[J,T]=E.split(":");return{hours:+J,minutes:+T}}function yt(E,J,T="en"){const p=function(E){return(0,s.\u0275findLocaleData)(E)[s.\u0275LocaleDataIndex.Currencies]}(T)[E]||Xe[E]||[],_=p[1];return"narrow"===J&&"string"==typeof _?_:p[0]||E}function D(E){let J;const T=Xe[E];return T&&(J=T[2]),"number"==typeof J?J:2}const I=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,w={},oe=/((?:[^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 F=(()=>((F=F||{})[F.Short=0]="Short",F[F.ShortGMT=1]="ShortGMT",F[F.Long=2]="Long",F[F.Extended=3]="Extended",F))(),X=(()=>((X=X||{})[X.FullYear=0]="FullYear",X[X.Month=1]="Month",X[X.Date=2]="Date",X[X.Hours=3]="Hours",X[X.Minutes=4]="Minutes",X[X.Seconds=5]="Seconds",X[X.FractionalSeconds=6]="FractionalSeconds",X[X.Day=7]="Day",X))(),Pe=(()=>((Pe=Pe||{})[Pe.DayPeriods=0]="DayPeriods",Pe[Pe.Days=1]="Days",Pe[Pe.Months=2]="Months",Pe[Pe.Eras=3]="Eras",Pe))();function mt(E,J,T,p){let _=function(E){if(dn(E))return E;if("number"==typeof E&&!isNaN(E))return new Date(E);if("string"==typeof E){if(E=E.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(E)){const[_,y=1,P=1]=E.split("-").map($e=>+$e);return Ct(_,y-1,P)}const T=parseFloat(E);if(!isNaN(E-T))return new Date(T);let p;if(p=E.match(I))return function(E){const J=new Date(0);let T=0,p=0;const _=E[8]?J.setUTCFullYear:J.setFullYear,y=E[8]?J.setUTCHours:J.setHours;E[9]&&(T=Number(E[9]+E[10]),p=Number(E[9]+E[11])),_.call(J,Number(E[1]),Number(E[2])-1,Number(E[3]));const P=Number(E[4]||0)-T,$e=Number(E[5]||0)-p,It=Number(E[6]||0),Jt=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return y.call(J,P,$e,It,Jt),J}(p)}const J=new Date(E);if(!dn(J))throw new Error(`Unable to convert "${E}" into a date`);return J}(E);J=Rt(T,J)||J;let $e,P=[];for(;J;){if($e=oe.exec(J),!$e){P.push(J);break}{P=P.concat($e.slice(1));const fn=P.pop();if(!fn)break;J=fn}}let It=_.getTimezoneOffset();p&&(It=S(p,It),_=function(E,J,T){const _=E.getTimezoneOffset();return function(E,J){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+J),E}(E,-1*(S(J,_)-_))}(_,p));let Jt="";return P.forEach(fn=>{const rn=function(E){if(V[E])return V[E];let J;switch(E){case"G":case"GG":case"GGG":J=jt(Pe.Eras,ae.Abbreviated);break;case"GGGG":J=jt(Pe.Eras,ae.Wide);break;case"GGGGG":J=jt(Pe.Eras,ae.Narrow);break;case"y":J=At(X.FullYear,1,0,!1,!0);break;case"yy":J=At(X.FullYear,2,0,!0,!0);break;case"yyy":J=At(X.FullYear,3,0,!1,!0);break;case"yyyy":J=At(X.FullYear,4,0,!1,!0);break;case"Y":J=Ce(1);break;case"YY":J=Ce(2,!0);break;case"YYY":J=Ce(3);break;case"YYYY":J=Ce(4);break;case"M":case"L":J=At(X.Month,1,1);break;case"MM":case"LL":J=At(X.Month,2,1);break;case"MMM":J=jt(Pe.Months,ae.Abbreviated);break;case"MMMM":J=jt(Pe.Months,ae.Wide);break;case"MMMMM":J=jt(Pe.Months,ae.Narrow);break;case"LLL":J=jt(Pe.Months,ae.Abbreviated,fe.Standalone);break;case"LLLL":J=jt(Pe.Months,ae.Wide,fe.Standalone);break;case"LLLLL":J=jt(Pe.Months,ae.Narrow,fe.Standalone);break;case"w":J=Ee(1);break;case"ww":J=Ee(2);break;case"W":J=Ee(1,!0);break;case"d":J=At(X.Date,1);break;case"dd":J=At(X.Date,2);break;case"c":case"cc":J=At(X.Day,1);break;case"ccc":J=jt(Pe.Days,ae.Abbreviated,fe.Standalone);break;case"cccc":J=jt(Pe.Days,ae.Wide,fe.Standalone);break;case"ccccc":J=jt(Pe.Days,ae.Narrow,fe.Standalone);break;case"cccccc":J=jt(Pe.Days,ae.Short,fe.Standalone);break;case"E":case"EE":case"EEE":J=jt(Pe.Days,ae.Abbreviated);break;case"EEEE":J=jt(Pe.Days,ae.Wide);break;case"EEEEE":J=jt(Pe.Days,ae.Narrow);break;case"EEEEEE":J=jt(Pe.Days,ae.Short);break;case"a":case"aa":case"aaa":J=jt(Pe.DayPeriods,ae.Abbreviated);break;case"aaaa":J=jt(Pe.DayPeriods,ae.Wide);break;case"aaaaa":J=jt(Pe.DayPeriods,ae.Narrow);break;case"b":case"bb":case"bbb":J=jt(Pe.DayPeriods,ae.Abbreviated,fe.Standalone,!0);break;case"bbbb":J=jt(Pe.DayPeriods,ae.Wide,fe.Standalone,!0);break;case"bbbbb":J=jt(Pe.DayPeriods,ae.Narrow,fe.Standalone,!0);break;case"B":case"BB":case"BBB":J=jt(Pe.DayPeriods,ae.Abbreviated,fe.Format,!0);break;case"BBBB":J=jt(Pe.DayPeriods,ae.Wide,fe.Format,!0);break;case"BBBBB":J=jt(Pe.DayPeriods,ae.Narrow,fe.Format,!0);break;case"h":J=At(X.Hours,1,-12);break;case"hh":J=At(X.Hours,2,-12);break;case"H":J=At(X.Hours,1);break;case"HH":J=At(X.Hours,2);break;case"m":J=At(X.Minutes,1);break;case"mm":J=At(X.Minutes,2);break;case"s":J=At(X.Seconds,1);break;case"ss":J=At(X.Seconds,2);break;case"S":J=At(X.FractionalSeconds,1);break;case"SS":J=At(X.FractionalSeconds,2);break;case"SSS":J=At(X.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":J=Ke(F.Short);break;case"ZZZZZ":J=Ke(F.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":J=Ke(F.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":J=Ke(F.Long);break;default:return null}return V[E]=J,J}(fn);Jt+=rn?rn(_,T,It):"''"===fn?"'":fn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jt}function Ct(E,J,T){const p=new Date(0);return p.setFullYear(E,J,T),p.setHours(0,0,0),p}function Rt(E,J){const T=lt(E);if(w[T]=w[T]||{},w[T][J])return w[T][J];let p="";switch(J){case"shortDate":p=ut(E,Ne.Short);break;case"mediumDate":p=ut(E,Ne.Medium);break;case"longDate":p=ut(E,Ne.Long);break;case"fullDate":p=ut(E,Ne.Full);break;case"shortTime":p=R(E,Ne.Short);break;case"mediumTime":p=R(E,Ne.Medium);break;case"longTime":p=R(E,Ne.Long);break;case"fullTime":p=R(E,Ne.Full);break;case"short":const _=Rt(E,"shortTime"),y=Rt(E,"shortDate");p=Nt(ee(E,Ne.Short),[_,y]);break;case"medium":const P=Rt(E,"mediumTime"),$e=Rt(E,"mediumDate");p=Nt(ee(E,Ne.Medium),[P,$e]);break;case"long":const It=Rt(E,"longTime"),Jt=Rt(E,"longDate");p=Nt(ee(E,Ne.Long),[It,Jt]);break;case"full":const fn=Rt(E,"fullTime"),rn=Rt(E,"fullDate");p=Nt(ee(E,Ne.Full),[fn,rn])}return p&&(w[T][J]=p),p}function Nt(E,J){return J&&(E=E.replace(/\{([^}]+)}/g,function(T,p){return null!=J&&p in J?J[p]:T})),E}function zt(E,J,T="-",p,_){let y="";(E<0||_&&E<=0)&&(_?E=1-E:(E=-E,y=T));let P=String(E);for(;P.length<J;)P="0"+P;return p&&(P=P.substr(P.length-J)),y+P}function At(E,J,T=0,p=!1,_=!1){return function(y,P){let $e=function(E,J){switch(E){case X.FullYear:return J.getFullYear();case X.Month:return J.getMonth();case X.Date:return J.getDate();case X.Hours:return J.getHours();case X.Minutes:return J.getMinutes();case X.Seconds:return J.getSeconds();case X.FractionalSeconds:return J.getMilliseconds();case X.Day:return J.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,y);if((T>0||$e>-T)&&($e+=T),E===X.Hours)0===$e&&-12===T&&($e=12);else if(E===X.FractionalSeconds)return function(E,J){return zt(E,3).substr(0,J)}($e,J);const It=x(P,xe.MinusSign);return zt($e,J,It,p,_)}}function jt(E,J,T=fe.Format,p=!1){return function(_,y){return function(E,J,T,p,_,y){switch(T){case Pe.Months:return nt(J,_,p)[E.getMonth()];case Pe.Days:return ke(J,_,p)[E.getDay()];case Pe.DayPeriods:const P=E.getHours(),$e=E.getMinutes();if(y){const Jt=Ve(J),fn=Be(J,_,p),rn=Jt.findIndex(bn=>{if(Array.isArray(bn)){const[Mn,Ln]=bn,zr=P>=Mn.hours&&$e>=Mn.minutes,Gn=P<Ln.hours||P===Ln.hours&&$e<Ln.minutes;if(Mn.hours<Ln.hours){if(zr&&Gn)return!0}else if(zr||Gn)return!0}else if(bn.hours===P&&bn.minutes===$e)return!0;return!1});if(-1!==rn)return fn[rn]}return bt(J,_,p)[P<12?0:1];case Pe.Eras:return ht(J,p)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${T}`)}}(_,y,E,J,T,p)}}function Ke(E){return function(J,T,p){const _=-1*p,y=x(T,xe.MinusSign),P=_>0?Math.floor(_/60):Math.ceil(_/60);switch(E){case F.Short:return(_>=0?"+":"")+zt(P,2,y)+zt(Math.abs(_%60),2,y);case F.ShortGMT:return"GMT"+(_>=0?"+":"")+zt(P,1,y);case F.Long:return"GMT"+(_>=0?"+":"")+zt(P,2,y)+":"+zt(Math.abs(_%60),2,y);case F.Extended:return 0===p?"Z":(_>=0?"+":"")+zt(P,2,y)+":"+zt(Math.abs(_%60),2,y);default:throw new Error(`Unknown zone width "${E}"`)}}}function N(E){return Ct(E.getFullYear(),E.getMonth(),E.getDate()+(4-E.getDay()))}function Ee(E,J=!1){return function(T,p){let _;if(J){const y=new Date(T.getFullYear(),T.getMonth(),1).getDay()-1,P=T.getDate();_=1+Math.floor((P+y)/7)}else{const y=N(T),P=function(E){const J=Ct(E,0,1).getDay();return Ct(E,0,1+(J<=4?4:11)-J)}(y.getFullYear()),$e=y.getTime()-P.getTime();_=1+Math.round($e/6048e5)}return zt(_,E,x(p,xe.MinusSign))}}function Ce(E,J=!1){return function(T,p){return zt(N(T).getFullYear(),E,x(p,xe.MinusSign),J)}}const V={};function S(E,J){E=E.replace(/:/g,"");const T=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(T)?J:T}function dn(E){return E instanceof Date&&!isNaN(E.valueOf())}const cn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function dt(E,J,T,p,_,y,P=!1){let $e="",It=!1;if(isFinite(E)){let Jt=function(E){let p,_,y,P,$e,J=Math.abs(E)+"",T=0;for((_=J.indexOf("."))>-1&&(J=J.replace(".","")),(y=J.search(/e/i))>0?(_<0&&(_=y),_+=+J.slice(y+1),J=J.substring(0,y)):_<0&&(_=J.length),y=0;"0"===J.charAt(y);y++);if(y===($e=J.length))p=[0],_=1;else{for($e--;"0"===J.charAt($e);)$e--;for(_-=y,p=[],P=0;y<=$e;y++,P++)p[P]=Number(J.charAt(y))}return _>22&&(p=p.splice(0,21),T=_-1,_=1),{digits:p,exponent:T,integerLen:_}}(E);P&&(Jt=function(E){if(0===E.digits[0])return E;const J=E.digits.length-E.integerLen;return E.exponent?E.exponent+=2:(0===J?E.digits.push(0,0):1===J&&E.digits.push(0),E.integerLen+=2),E}(Jt));let fn=J.minInt,rn=J.minFrac,bn=J.maxFrac;if(y){const Si=y.match(cn);if(null===Si)throw new Error(`${y} is not a valid digit info`);const Yt=Si[1],io=Si[3],_o=Si[5];null!=Yt&&(fn=Dt(Yt)),null!=io&&(rn=Dt(io)),null!=_o?bn=Dt(_o):null!=io&&rn>bn&&(bn=rn)}!function(E,J,T){if(J>T)throw new Error(`The minimum number of digits after fraction (${J}) is higher than the maximum (${T}).`);let p=E.digits,_=p.length-E.integerLen;const y=Math.min(Math.max(J,_),T);let P=y+E.integerLen,$e=p[P];if(P>0){p.splice(Math.max(E.integerLen,P));for(let rn=P;rn<p.length;rn++)p[rn]=0}else{_=Math.max(0,_),E.integerLen=1,p.length=Math.max(1,P=y+1),p[0]=0;for(let rn=1;rn<P;rn++)p[rn]=0}if($e>=5)if(P-1<0){for(let rn=0;rn>P;rn--)p.unshift(0),E.integerLen++;p.unshift(1),E.integerLen++}else p[P-1]++;for(;_<Math.max(0,y);_++)p.push(0);let It=0!==y;const Jt=J+E.integerLen,fn=p.reduceRight(function(rn,bn,Mn,Ln){return Ln[Mn]=(bn+=rn)<10?bn:bn-10,It&&(0===Ln[Mn]&&Mn>=Jt?Ln.pop():It=!1),bn>=10?1:0},0);fn&&(p.unshift(fn),E.integerLen++)}(Jt,rn,bn);let Mn=Jt.digits,Ln=Jt.integerLen;const zr=Jt.exponent;let Gn=[];for(It=Mn.every(Si=>!Si);Ln<fn;Ln++)Mn.unshift(0);for(;Ln<0;Ln++)Mn.unshift(0);Ln>0?Gn=Mn.splice(Ln,Mn.length):(Gn=Mn,Mn=[0]);const Bi=[];for(Mn.length>=J.lgSize&&Bi.unshift(Mn.splice(-J.lgSize,Mn.length).join(""));Mn.length>J.gSize;)Bi.unshift(Mn.splice(-J.gSize,Mn.length).join(""));Mn.length&&Bi.unshift(Mn.join("")),$e=Bi.join(x(T,p)),Gn.length&&($e+=x(T,_)+Gn.join("")),zr&&($e+=x(T,xe.Exponential)+"+"+zr)}else $e=x(T,xe.Infinity);return $e=E<0&&!It?J.negPre+$e+J.negSuf:J.posPre+$e+J.posSuf,$e}function Pt(E,J,T,p,_){const P=U(ge(J,W.Currency),x(J,xe.MinusSign));return P.minFrac=D(p),P.maxFrac=P.minFrac,dt(E,P,J,xe.CurrencyGroup,xe.CurrencyDecimal,_).replace("\xa4",T).replace("\xa4","").trim()}function Q(E,J,T){return dt(E,U(ge(J,W.Percent),x(J,xe.MinusSign)),J,xe.Group,xe.Decimal,T,!0).replace(new RegExp("%","g"),x(J,xe.PercentSign))}function ve(E,J,T){return dt(E,U(ge(J,W.Decimal),x(J,xe.MinusSign)),J,xe.Group,xe.Decimal,T)}function U(E,J="-"){const T={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},p=E.split(";"),_=p[0],y=p[1],P=-1!==_.indexOf(".")?_.split("."):[_.substring(0,_.lastIndexOf("0")+1),_.substring(_.lastIndexOf("0")+1)],$e=P[0],It=P[1]||"";T.posPre=$e.substr(0,$e.indexOf("#"));for(let fn=0;fn<It.length;fn++){const rn=It.charAt(fn);"0"===rn?T.minFrac=T.maxFrac=fn+1:"#"===rn?T.maxFrac=fn+1:T.posSuf+=rn}const Jt=$e.split(",");if(T.gSize=Jt[1]?Jt[1].length:0,T.lgSize=Jt[2]||Jt[1]?(Jt[2]||Jt[1]).length:0,y){const fn=_.length-T.posPre.length-T.posSuf.length,rn=y.indexOf("#");T.negPre=y.substr(0,rn).replace(/'/g,""),T.negSuf=y.substr(rn+fn).replace(/'/g,"")}else T.negPre=J+T.posPre,T.negSuf=T.posSuf;return T}function Dt(E){const J=parseInt(E);if(isNaN(J))throw new Error("Invalid integer literal when parsing "+E);return J}class Me{}function Ie(E,J,T,p){let _=`=${E}`;if(J.indexOf(_)>-1||(_=T.getPluralCategory(E,p),J.indexOf(_)>-1))return _;if(J.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${E}"`)}let ue=(()=>{class E extends Me{constructor(T){super(),this.locale=T}getPluralCategory(T,p){switch(wt(p||this.locale)(T)){case te.Zero:return"zero";case te.One:return"one";case te.Two:return"two";case te.Few:return"few";case te.Many:return"many";default:return"other"}}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275inject(s.LOCALE_ID))},E.\u0275prov=s.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})();function Fe(E,J,T){return(0,s.\u0275registerLocaleData)(E,J,T)}function ot(E,J){J=encodeURIComponent(J);for(const T of E.split(";")){const p=T.indexOf("="),[_,y]=-1==p?[T,""]:[T.slice(0,p),T.slice(p+1)];if(_.trim()===J)return decodeURIComponent(y)}return null}let kt=(()=>{class E{constructor(T,p,_,y){this._iterableDiffers=T,this._keyValueDiffers=p,this._ngEl=_,this._renderer=y,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(T){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof T?T.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(T){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof T?T.split(/\s+/):T,this._rawClass&&((0,s.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const T=this._iterableDiffer.diff(this._rawClass);T&&this._applyIterableChanges(T)}else if(this._keyValueDiffer){const T=this._keyValueDiffer.diff(this._rawClass);T&&this._applyKeyValueChanges(T)}}_applyKeyValueChanges(T){T.forEachAddedItem(p=>this._toggleClass(p.key,p.currentValue)),T.forEachChangedItem(p=>this._toggleClass(p.key,p.currentValue)),T.forEachRemovedItem(p=>{p.previousValue&&this._toggleClass(p.key,!1)})}_applyIterableChanges(T){T.forEachAddedItem(p=>{if("string"!=typeof p.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,s.\u0275stringify)(p.item)}`);this._toggleClass(p.item,!0)}),T.forEachRemovedItem(p=>this._toggleClass(p.item,!1))}_applyClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(p=>this._toggleClass(p,!0)):Object.keys(T).forEach(p=>this._toggleClass(p,!!T[p])))}_removeClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(p=>this._toggleClass(p,!1)):Object.keys(T).forEach(p=>this._toggleClass(p,!1)))}_toggleClass(T,p){(T=T.trim())&&T.split(/\s+/g).forEach(_=>{p?this._renderer.addClass(this._ngEl.nativeElement,_):this._renderer.removeClass(this._ngEl.nativeElement,_)})}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.IterableDiffers),s.\u0275\u0275directiveInject(s.KeyValueDiffers),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Renderer2))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),E})(),Ut=(()=>{class E{constructor(T){this._viewContainerRef=T,this._componentRef=null,this._moduleRef=null}ngOnChanges(T){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const p=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(T.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const P=p.get(s.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(P.injector)}else this._moduleRef=null;const y=(this._moduleRef?this._moduleRef.componentFactoryResolver:p.get(s.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(y,this._viewContainerRef.length,p,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[s.\u0275\u0275NgOnChangesFeature]}),E})();class qt{constructor(J,T,p,_){this.$implicit=J,this.ngForOf=T,this.index=p,this.count=_}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 Wt=(()=>{class E{constructor(T,p,_){this._viewContainer=T,this._template=p,this._differs=_,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;if(!this._differ&&T)try{this._differ=this._differs.find(T).create(this.ngForTrackBy)}catch(p){throw new Error(`Cannot find a differ supporting object '${T}' of type '${function(E){return E.name||typeof E}(T)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const p=[];T.forEachOperation((_,y,P)=>{if(null==_.previousIndex){const $e=this._viewContainer.createEmbeddedView(this._template,new qt(null,this._ngForOf,-1,-1),null===P?void 0:P),It=new Tn(_,$e);p.push(It)}else if(null==P)this._viewContainer.remove(null===y?void 0:y);else if(null!==y){const $e=this._viewContainer.get(y);this._viewContainer.move($e,P);const It=new Tn(_,$e);p.push(It)}});for(let _=0;_<p.length;_++)this._perViewChange(p[_].view,p[_].record);for(let _=0,y=this._viewContainer.length;_<y;_++){const P=this._viewContainer.get(_);P.context.index=_,P.context.count=y,P.context.ngForOf=this._ngForOf}T.forEachIdentityChange(_=>{this._viewContainer.get(_.currentIndex).context.$implicit=_.item})}_perViewChange(T,p){T.context.$implicit=p.item}static ngTemplateContextGuard(T,p){return!0}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.IterableDiffers))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),E})();class Tn{constructor(J,T){this.record=J,this.view=T}}let bi=(()=>{class E{constructor(T,p){this._viewContainer=T,this._context=new li,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=p}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){qn("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){qn("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,p){return!0}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.TemplateRef))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),E})();class li{constructor(){this.$implicit=null,this.ngIf=null}}function qn(E,J){if(J&&!J.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,s.\u0275stringify)(J)}'.`)}class _i{constructor(J,T){this._viewContainerRef=J,this._templateRef=T,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(J){J&&!this._created?this.create():!J&&this._created&&this.destroy()}}let ei=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(T){this._ngSwitch=T,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(T){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(T)}_matchCase(T){const p=T==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||p,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),p}_updateDefaultCases(T){if(this._defaultViews&&T!==this._defaultUsed){this._defaultUsed=T;for(let p=0;p<this._defaultViews.length;p++)this._defaultViews[p].enforceState(T)}}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),E})(),Rn=(()=>{class E{constructor(T,p,_){this.ngSwitch=_,_._addCase(),this._view=new _i(T,p)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(ei,9))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),E})(),Xi=(()=>{class E{constructor(T,p,_){_._addDefault(new _i(T,p))}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(ei,9))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngSwitchDefault",""]]}),E})(),Cn=(()=>{class E{constructor(T){this._localization=T,this._caseViews={}}set ngPlural(T){this._switchValue=T,this._updateView()}addCase(T,p){this._caseViews[T]=p}_updateView(){this._clearViews();const T=Object.keys(this._caseViews),p=Ie(this._switchValue,T,this._localization);this._activateView(this._caseViews[p])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(T){T&&(this._activeView=T,this._activeView.create())}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(Me))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),E})(),Ci=(()=>{class E{constructor(T,p,_,y){this.value=T;const P=!isNaN(Number(T));y.addCase(P?`=${T}`:T,new _i(_,p))}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275injectAttribute("ngPluralCase"),s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(Cn,1))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngPluralCase",""]]}),E})(),ci=(()=>{class E{constructor(T,p,_){this._ngEl=T,this._differs=p,this._renderer=_,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,p){const[_,y]=T.split(".");null!=(p=null!=p&&y?`${p}${y}`:p)?this._renderer.setStyle(this._ngEl.nativeElement,_,p):this._renderer.removeStyle(this._ngEl.nativeElement,_)}_applyChanges(T){T.forEachRemovedItem(p=>this._setStyle(p.key,null)),T.forEachAddedItem(p=>this._setStyle(p.key,p.currentValue)),T.forEachChangedItem(p=>this._setStyle(p.key,p.currentValue))}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.KeyValueDiffers),s.\u0275\u0275directiveInject(s.Renderer2))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),E})(),ui=(()=>{class E{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(T){if(T.ngTemplateOutlet){const p=this._viewContainerRef;this._viewRef&&p.remove(p.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?p.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ViewContainerRef))},E.\u0275dir=s.\u0275\u0275defineDirective({type:E,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[s.\u0275\u0275NgOnChangesFeature]}),E})();const ni=[kt,Ut,Wt,bi,ui,ci,ei,Rn,Xi,Cn,Ci];function zn(E,J){return Error(`InvalidPipeArgument: '${J}' for pipe '${(0,s.\u0275stringify)(E)}'`)}class Fr{createSubscription(J,T){return J.subscribe({next:T,error:p=>{throw p}})}dispose(J){J.unsubscribe()}onDestroy(J){J.unsubscribe()}}class mr{createSubscription(J,T){return J.then(T,p=>{throw p})}dispose(J){}onDestroy(J){}}const qr=new mr,gr=new Fr;let kr=(()=>{class E{constructor(T){this._ref=T,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(T){return this._obj?T!==this._obj?(this._dispose(),this.transform(T)):this._latestValue:(T&&this._subscribe(T),this._latestValue)}_subscribe(T){this._obj=T,this._strategy=this._selectStrategy(T),this._subscription=this._strategy.createSubscription(T,p=>this._updateLatestValue(T,p))}_selectStrategy(T){if((0,s.\u0275isPromise)(T))return qr;if((0,s.\u0275isSubscribable)(T))return gr;throw zn(E,T)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(T,p){T===this._obj&&(this._latestValue=p,this._ref.markForCheck())}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"async",type:E,pure:!1}),E})(),Nr=(()=>{class E{transform(T){if(null==T)return null;if("string"!=typeof T)throw zn(E,T);return T.toLowerCase()}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"lowercase",type:E,pure:!0}),E})();const eo=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let to=(()=>{class E{transform(T){if(null==T)return null;if("string"!=typeof T)throw zn(E,T);return T.replace(eo,p=>p[0].toUpperCase()+p.substr(1).toLowerCase())}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"titlecase",type:E,pure:!0}),E})(),Di=(()=>{class E{transform(T){if(null==T)return null;if("string"!=typeof T)throw zn(E,T);return T.toUpperCase()}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"uppercase",type:E,pure:!0}),E})(),po=(()=>{class E{constructor(T){this.locale=T}transform(T,p="mediumDate",_,y){if(null==T||""===T||T!=T)return null;try{return mt(T,p,y||this.locale,_)}catch(P){throw zn(E,P.message)}}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.LOCALE_ID,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"date",type:E,pure:!0}),E})();const ii=/#/g;let Mi=(()=>{class E{constructor(T){this._localization=T}transform(T,p,_){if(null==T)return"";if("object"!=typeof p||null===p)throw zn(E,p);return p[Ie(T,Object.keys(p),this._localization,_)].replace(ii,T.toString())}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(Me,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"i18nPlural",type:E,pure:!0}),E})(),mo=(()=>{class E{transform(T,p){if(null==T)return"";if("object"!=typeof p||"string"!=typeof T)throw zn(E,p);return p.hasOwnProperty(T)?p[T]:p.hasOwnProperty("other")?p.other:""}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"i18nSelect",type:E,pure:!0}),E})(),Fo=(()=>{class E{transform(T){return JSON.stringify(T,null,2)}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"json",type:E,pure:!1}),E})(),Lr=(()=>{class E{constructor(T){this.differs=T,this.keyValues=[],this.compareFn=jr}transform(T,p=jr){if(!T||!(T instanceof Map)&&"object"!=typeof T)return null;this.differ||(this.differ=this.differs.find(T).create());const _=this.differ.diff(T),y=p!==this.compareFn;return _&&(this.keyValues=[],_.forEachItem(P=>{this.keyValues.push(function(E,J){return{key:E,value:J}}(P.key,P.currentValue))})),(_||y)&&(this.keyValues.sort(p),this.compareFn=p),this.keyValues}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.KeyValueDiffers,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"keyvalue",type:E,pure:!1}),E})();function jr(E,J){const T=E.key,p=J.key;if(T===p)return 0;if(void 0===T)return 1;if(void 0===p)return-1;if(null===T)return 1;if(null===p)return-1;if("string"==typeof T&&"string"==typeof p)return T<p?-1:1;if("number"==typeof T&&"number"==typeof p)return T-p;if("boolean"==typeof T&&"boolean"==typeof p)return T<p?-1:1;const _=String(T),y=String(p);return _==y?0:_<y?-1:1}let wi=(()=>{class E{constructor(T){this._locale=T}transform(T,p,_){if(!qi(T))return null;_=_||this._locale;try{return ve(yr(T),_,p)}catch(y){throw zn(E,y.message)}}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.LOCALE_ID,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"number",type:E,pure:!0}),E})(),Li=(()=>{class E{constructor(T){this._locale=T}transform(T,p,_){if(!qi(T))return null;_=_||this._locale;try{return Q(yr(T),_,p)}catch(y){throw zn(E,y.message)}}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.LOCALE_ID,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"percent",type:E,pure:!0}),E})(),Br=(()=>{class E{constructor(T,p="USD"){this._locale=T,this._defaultCurrencyCode=p}transform(T,p=this._defaultCurrencyCode,_="symbol",y,P){if(!qi(T))return null;P=P||this._locale,"boolean"==typeof _&&(_=_?"symbol":"code");let $e=p||this._defaultCurrencyCode;"code"!==_&&($e="symbol"===_||"symbol-narrow"===_?yt($e,"symbol"===_?"wide":"narrow",P):_);try{return Pt(yr(T),P,$e,p,y)}catch(It){throw zn(E,It.message)}}}return E.\u0275fac=function(T){return new(T||E)(s.\u0275\u0275directiveInject(s.LOCALE_ID,16),s.\u0275\u0275directiveInject(s.DEFAULT_CURRENCY_CODE,16))},E.\u0275pipe=s.\u0275\u0275definePipe({name:"currency",type:E,pure:!0}),E})();function qi(E){return!(null==E||""===E||E!=E)}function yr(E){if("string"==typeof E&&!isNaN(Number(E)-parseFloat(E)))return Number(E);if("number"!=typeof E)throw new Error(`${E} is not a number`);return E}let yi=(()=>{class E{transform(T,p,_){if(null==T)return null;if(!this.supports(T))throw zn(E,T);return T.slice(p,_)}supports(T){return"string"==typeof T||Array.isArray(T)}}return E.\u0275fac=function(T){return new(T||E)},E.\u0275pipe=s.\u0275\u0275definePipe({name:"slice",type:E,pure:!1}),E})();const er=[kr,Di,Nr,Fo,yi,wi,Li,to,Br,po,Mi,mo,Lr];let Ti=(()=>{class E{}return E.\u0275fac=function(T){return new(T||E)},E.\u0275mod=s.\u0275\u0275defineNgModule({type:E}),E.\u0275inj=s.\u0275\u0275defineInjector({providers:[{provide:Me,useClass:ue}]}),E})();const ji="browser",Vr="server",tr="browserWorkerApp",vr="browserWorkerUi";function br(E){return E===ji}function Hr(E){return E===Vr}function Ii(E){return E===tr}function Ur(E){return E===vr}const Pn=new s.Version("12.2.11");let Cr=(()=>{class E{}return E.\u0275prov=(0,s.\u0275\u0275defineInjectable)({token:E,providedIn:"root",factory:()=>new no((0,s.\u0275\u0275inject)(Z),window)}),E})();class no{constructor(J,T){this.document=J,this.window=T,this.offset=()=>[0,0]}setOffset(J){this.offset=Array.isArray(J)?()=>J:J}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(J){this.supportsScrolling()&&this.window.scrollTo(J[0],J[1])}scrollToAnchor(J){if(!this.supportsScrolling())return;const T=function(E,J){const T=E.getElementById(J)||E.getElementsByName(J)[0];if(T)return T;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const p=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let _=p.currentNode;for(;_;){const y=_.shadowRoot;if(y){const P=y.getElementById(J)||y.querySelector(`[name="${J}"]`);if(P)return P}_=p.nextNode()}}return null}(this.document,J);T&&(this.scrollToElement(T),this.attemptFocus(T))}setHistoryScrollRestoration(J){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=J)}}scrollToElement(J){const T=J.getBoundingClientRect(),p=T.left+this.window.pageXOffset,_=T.top+this.window.pageYOffset,y=this.offset();this.window.scrollTo(p-y[0],_-y[1])}attemptFocus(J){return J.focus(),this.document.activeElement===J}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const J=Er(this.window.history)||Er(Object.getPrototypeOf(this.window.history));return!(!J||!J.writable&&!J.set)}catch(J){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(J){return!1}}}function Er(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class Mr{setOffset(J){}getScrollPosition(){return[0,0]}scrollToPosition(J){}scrollToAnchor(J){}setHistoryScrollRestoration(J){}}class go{}},6820:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{HTTP_INTERCEPTORS:()=>bt,HttpBackend:()=>G,HttpClient:()=>rt,HttpClientJsonpModule:()=>yt,HttpClientModule:()=>ft,HttpClientXsrfModule:()=>ze,HttpContext:()=>Mt,HttpContextToken:()=>at,HttpErrorResponse:()=>Ne,HttpEventType:()=>W,HttpHandler:()=>M,HttpHeaderResponse:()=>fe,HttpHeaders:()=>H,HttpParams:()=>Le,HttpRequest:()=>Xe,HttpResponse:()=>ae,HttpResponseBase:()=>te,HttpUrlEncodingCodec:()=>Y,HttpXhrBackend:()=>se,HttpXsrfTokenExtractor:()=>it,JsonpClientBackend:()=>R,JsonpInterceptor:()=>ee,XhrFactory:()=>We,\u0275HttpInterceptingHandler:()=>Ve,\u0275angular_packages_common_http_http_a:()=>ke,\u0275angular_packages_common_http_http_b:()=>ut,\u0275angular_packages_common_http_http_c:()=>K,\u0275angular_packages_common_http_http_d:()=>me,\u0275angular_packages_common_http_http_e:()=>Re,\u0275angular_packages_common_http_http_f:()=>wt,\u0275angular_packages_common_http_http_g:()=>Ge});var s=f(8583),c=f(7716),m=f(5917),C=f(9897),l=f(9773),Z=f(5435),k=f(8002);class M{}class G{}class H{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?this.lazyInit="string"==typeof I?()=>{this.headers=new Map,I.split("\n").forEach(w=>{const oe=w.indexOf(":");if(oe>0){const F=w.slice(0,oe),X=F.toLowerCase(),Pe=w.slice(oe+1).trim();this.maybeSetNormalizedName(F,X),this.headers.has(X)?this.headers.get(X).push(Pe):this.headers.set(X,[Pe])}})}:()=>{this.headers=new Map,Object.keys(I).forEach(w=>{let oe=I[w];const F=w.toLowerCase();"string"==typeof oe&&(oe=[oe]),oe.length>0&&(this.headers.set(F,oe),this.maybeSetNormalizedName(w,F))})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const w=this.headers.get(I.toLowerCase());return w&&w.length>0?w[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,w){return this.clone({name:I,value:w,op:"a"})}set(I,w){return this.clone({name:I,value:w,op:"s"})}delete(I,w){return this.clone({name:I,value:w,op:"d"})}maybeSetNormalizedName(I,w){this.normalizedNames.has(w)||this.normalizedNames.set(w,I)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(w=>{this.headers.set(w,I.headers.get(w)),this.normalizedNames.set(w,I.normalizedNames.get(w))})}clone(I){const w=new H;return w.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,w.lazyUpdate=(this.lazyUpdate||[]).concat([I]),w}applyUpdate(I){const w=I.name.toLowerCase();switch(I.op){case"a":case"s":let oe=I.value;if("string"==typeof oe&&(oe=[oe]),0===oe.length)return;this.maybeSetNormalizedName(I.name,w);const F=("a"===I.op?this.headers.get(w):void 0)||[];F.push(...oe),this.headers.set(w,F);break;case"d":const X=I.value;if(X){let Pe=this.headers.get(w);if(!Pe)return;Pe=Pe.filter(mt=>-1===X.indexOf(mt)),0===Pe.length?(this.headers.delete(w),this.normalizedNames.delete(w)):this.headers.set(w,Pe)}else this.headers.delete(w),this.normalizedNames.delete(w)}}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(w=>I(this.normalizedNames.get(w),this.headers.get(w)))}}class Y{encodeKey(I){return _e(I)}encodeValue(I){return _e(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const he=/%(\d[a-f0-9])/gi,ne={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function _e(D){return encodeURIComponent(D).replace(he,(I,w)=>{var oe;return null!==(oe=ne[w])&&void 0!==oe?oe:I})}function be(D){return`${D}`}class Le{constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new Y,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(D,I){const w=new Map;return D.length>0&&D.replace(/^\?/,"").split("&").forEach(F=>{const X=F.indexOf("="),[Pe,mt]=-1==X?[I.decodeKey(F),""]:[I.decodeKey(F.slice(0,X)),I.decodeValue(F.slice(X+1))],Ct=w.get(Pe)||[];Ct.push(mt),w.set(Pe,Ct)}),w}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(w=>{const oe=I.fromObject[w];this.map.set(w,Array.isArray(oe)?oe:[oe])})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const w=this.map.get(I);return w?w[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,w){return this.clone({param:I,value:w,op:"a"})}appendAll(I){const w=[];return Object.keys(I).forEach(oe=>{const F=I[oe];Array.isArray(F)?F.forEach(X=>{w.push({param:oe,value:X,op:"a"})}):w.push({param:oe,value:F,op:"a"})}),this.clone(w)}set(I,w){return this.clone({param:I,value:w,op:"s"})}delete(I,w){return this.clone({param:I,value:w,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const w=this.encoder.encodeKey(I);return this.map.get(I).map(oe=>w+"="+this.encoder.encodeValue(oe)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const w=new Le({encoder:this.encoder});return w.cloneFrom=this.cloneFrom||this,w.updates=(this.updates||[]).concat(I),w}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const w=("a"===I.op?this.map.get(I.param):void 0)||[];w.push(be(I.value)),this.map.set(I.param,w);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let oe=this.map.get(I.param)||[];const F=oe.indexOf(be(I.value));-1!==F&&oe.splice(F,1),oe.length>0?this.map.set(I.param,oe):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class at{constructor(I){this.defaultValue=I}}class Mt{constructor(){this.map=new Map}set(I,w){return this.map.set(I,w),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}keys(){return this.map.keys()}}function Ze(D){return"undefined"!=typeof ArrayBuffer&&D instanceof ArrayBuffer}function we(D){return"undefined"!=typeof Blob&&D instanceof Blob}function je(D){return"undefined"!=typeof FormData&&D instanceof FormData}class Xe{constructor(I,w,oe,F){let X;if(this.url=w,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function(D){switch(D){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||F?(this.body=void 0!==oe?oe:null,X=F):X=oe,X&&(this.reportProgress=!!X.reportProgress,this.withCredentials=!!X.withCredentials,X.responseType&&(this.responseType=X.responseType),X.headers&&(this.headers=X.headers),X.context&&(this.context=X.context),X.params&&(this.params=X.params)),this.headers||(this.headers=new H),this.context||(this.context=new Mt),this.params){const Pe=this.params.toString();if(0===Pe.length)this.urlWithParams=w;else{const mt=w.indexOf("?");this.urlWithParams=w+(-1===mt?"?":mt<w.length-1?"&":"")+Pe}}else this.params=new Le,this.urlWithParams=w}serializeBody(){return null===this.body?null:Ze(this.body)||we(this.body)||je(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Le?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||je(this.body)?null:we(this.body)?this.body.type||null:Ze(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Le?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(I={}){var w;const oe=I.method||this.method,F=I.url||this.url,X=I.responseType||this.responseType,Pe=void 0!==I.body?I.body:this.body,mt=void 0!==I.withCredentials?I.withCredentials:this.withCredentials,Ct=void 0!==I.reportProgress?I.reportProgress:this.reportProgress;let Rt=I.headers||this.headers,Nt=I.params||this.params;const zt=null!==(w=I.context)&&void 0!==w?w:this.context;return void 0!==I.setHeaders&&(Rt=Object.keys(I.setHeaders).reduce((Qt,At)=>Qt.set(At,I.setHeaders[At]),Rt)),I.setParams&&(Nt=Object.keys(I.setParams).reduce((Qt,At)=>Qt.set(At,I.setParams[At]),Nt)),new Xe(oe,F,Pe,{params:Nt,headers:Rt,context:zt,reportProgress:Ct,responseType:X,withCredentials:mt})}}var W=(()=>((W=W||{})[W.Sent=0]="Sent",W[W.UploadProgress=1]="UploadProgress",W[W.ResponseHeader=2]="ResponseHeader",W[W.DownloadProgress=3]="DownloadProgress",W[W.Response=4]="Response",W[W.User=5]="User",W))();class te{constructor(I,w=200,oe="OK"){this.headers=I.headers||new H,this.status=void 0!==I.status?I.status:w,this.statusText=I.statusText||oe,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends te{constructor(I={}){super(I),this.type=W.ResponseHeader}clone(I={}){return new fe({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class ae extends te{constructor(I={}){super(I),this.type=W.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new ae({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Ne extends te{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function xe(D,I){return{body:I,headers:D.headers,context:D.context,observe:D.observe,params:D.params,reportProgress:D.reportProgress,responseType:D.responseType,withCredentials:D.withCredentials}}let rt=(()=>{class D{constructor(w){this.handler=w}request(w,oe,F={}){let X;if(w instanceof Xe)X=w;else{let Ct,Rt;Ct=F.headers instanceof H?F.headers:new H(F.headers),F.params&&(Rt=F.params instanceof Le?F.params:new Le({fromObject:F.params})),X=new Xe(w,oe,void 0!==F.body?F.body:null,{headers:Ct,context:F.context,params:Rt,reportProgress:F.reportProgress,responseType:F.responseType||"json",withCredentials:F.withCredentials})}const Pe=(0,m.of)(X).pipe(function(D,I){return(0,l.zg)(D,void 0,1)}(Ct=>this.handler.handle(Ct)));if(w instanceof Xe||"events"===F.observe)return Pe;const mt=Pe.pipe((0,Z.h)(Ct=>Ct instanceof ae));switch(F.observe||"body"){case"body":switch(X.responseType){case"arraybuffer":return mt.pipe((0,k.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ct.body}));case"blob":return mt.pipe((0,k.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof Blob))throw new Error("Response is not a Blob.");return Ct.body}));case"text":return mt.pipe((0,k.U)(Ct=>{if(null!==Ct.body&&"string"!=typeof Ct.body)throw new Error("Response is not a string.");return Ct.body}));case"json":default:return mt.pipe((0,k.U)(Ct=>Ct.body))}case"response":return mt;default:throw new Error(`Unreachable: unhandled observe type ${F.observe}}`)}}delete(w,oe={}){return this.request("DELETE",w,oe)}get(w,oe={}){return this.request("GET",w,oe)}head(w,oe={}){return this.request("HEAD",w,oe)}jsonp(w,oe){return this.request("JSONP",w,{params:(new Le).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(w,oe={}){return this.request("OPTIONS",w,oe)}patch(w,oe,F={}){return this.request("PATCH",w,xe(F,oe))}post(w,oe,F={}){return this.request("POST",w,xe(F,oe))}put(w,oe,F={}){return this.request("PUT",w,xe(F,oe))}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(M))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})();class lt{constructor(I,w){this.next=I,this.interceptor=w}handle(I){return this.interceptor.intercept(I,this.next)}}const bt=new c.InjectionToken("HTTP_INTERCEPTORS");let ke=(()=>{class D{intercept(w,oe){return oe.handle(w)}}return D.\u0275fac=function(w){return new(w||D)},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})(),nt=0;class ut{}let R=(()=>{class D{constructor(w,oe){this.callbackMap=w,this.document=oe,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+nt++}handle(w){if("JSONP"!==w.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==w.responseType)throw new Error("JSONP requests must use Json response type.");return new C.y(oe=>{const F=this.nextCallback(),X=w.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${F}$1`),Pe=this.document.createElement("script");Pe.src=X;let mt=null,Ct=!1,Rt=!1;this.callbackMap[F]=At=>{delete this.callbackMap[F],!Rt&&(mt=At,Ct=!0)};const Nt=()=>{Pe.parentNode&&Pe.parentNode.removeChild(Pe),delete this.callbackMap[F]},zt=At=>{Rt||this.resolvedPromise.then(()=>{Nt(),Ct?(oe.next(new ae({body:mt,status:200,statusText:"OK",url:X})),oe.complete()):oe.error(new Ne({url:X,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},Qt=At=>{Rt||(Nt(),oe.error(new Ne({error:At,status:0,statusText:"JSONP Error",url:X})))};return Pe.addEventListener("load",zt),Pe.addEventListener("error",Qt),this.document.body.appendChild(Pe),oe.next({type:W.Sent}),()=>{Rt=!0,Pe.removeEventListener("load",zt),Pe.removeEventListener("error",Qt),Nt()}})}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(ut),c.\u0275\u0275inject(s.DOCUMENT))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})(),ee=(()=>{class D{constructor(w){this.jsonp=w}intercept(w,oe){return"JSONP"===w.method?this.jsonp.handle(w):oe.handle(w)}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(R))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})();const x=/^\)\]\}',?\n/;let se=(()=>{class D{constructor(w){this.xhrFactory=w}handle(w){if("JSONP"===w.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new C.y(oe=>{const F=this.xhrFactory.build();if(F.open(w.method,w.urlWithParams),w.withCredentials&&(F.withCredentials=!0),w.headers.forEach((At,Lt)=>F.setRequestHeader(At,Lt.join(","))),w.headers.has("Accept")||F.setRequestHeader("Accept","application/json, text/plain, */*"),!w.headers.has("Content-Type")){const At=w.detectContentTypeHeader();null!==At&&F.setRequestHeader("Content-Type",At)}if(w.responseType){const At=w.responseType.toLowerCase();F.responseType="json"!==At?At:"text"}const X=w.serializeBody();let Pe=null;const mt=()=>{if(null!==Pe)return Pe;const At=1223===F.status?204:F.status,Lt=F.statusText||"OK",jt=new H(F.getAllResponseHeaders()),_n=function(D){return"responseURL"in D&&D.responseURL?D.responseURL:/^X-Request-URL:/m.test(D.getAllResponseHeaders())?D.getResponseHeader("X-Request-URL"):null}(F)||w.url;return Pe=new fe({headers:jt,status:At,statusText:Lt,url:_n}),Pe},Ct=()=>{let{headers:At,status:Lt,statusText:jt,url:_n}=mt(),Ke=null;204!==Lt&&(Ke=void 0===F.response?F.responseText:F.response),0===Lt&&(Lt=Ke?200:0);let St=Lt>=200&&Lt<300;if("json"===w.responseType&&"string"==typeof Ke){const O=Ke;Ke=Ke.replace(x,"");try{Ke=""!==Ke?JSON.parse(Ke):null}catch(j){Ke=O,St&&(St=!1,Ke={error:j,text:Ke})}}St?(oe.next(new ae({body:Ke,headers:At,status:Lt,statusText:jt,url:_n||void 0})),oe.complete()):oe.error(new Ne({error:Ke,headers:At,status:Lt,statusText:jt,url:_n||void 0}))},Rt=At=>{const{url:Lt}=mt(),jt=new Ne({error:At,status:F.status||0,statusText:F.statusText||"Unknown Error",url:Lt||void 0});oe.error(jt)};let Nt=!1;const zt=At=>{Nt||(oe.next(mt()),Nt=!0);let Lt={type:W.DownloadProgress,loaded:At.loaded};At.lengthComputable&&(Lt.total=At.total),"text"===w.responseType&&!!F.responseText&&(Lt.partialText=F.responseText),oe.next(Lt)},Qt=At=>{let Lt={type:W.UploadProgress,loaded:At.loaded};At.lengthComputable&&(Lt.total=At.total),oe.next(Lt)};return F.addEventListener("load",Ct),F.addEventListener("error",Rt),F.addEventListener("timeout",Rt),F.addEventListener("abort",Rt),w.reportProgress&&(F.addEventListener("progress",zt),null!==X&&F.upload&&F.upload.addEventListener("progress",Qt)),F.send(X),oe.next({type:W.Sent}),()=>{F.removeEventListener("error",Rt),F.removeEventListener("abort",Rt),F.removeEventListener("load",Ct),F.removeEventListener("timeout",Rt),w.reportProgress&&(F.removeEventListener("progress",zt),null!==X&&F.upload&&F.upload.removeEventListener("progress",Qt)),F.readyState!==F.DONE&&F.abort()}})}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(s.XhrFactory))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})();const me=new c.InjectionToken("XSRF_COOKIE_NAME"),Re=new c.InjectionToken("XSRF_HEADER_NAME");class it{}let wt=(()=>{class D{constructor(w,oe,F){this.doc=w,this.platform=oe,this.cookieName=F,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const w=this.doc.cookie||"";return w!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.\u0275parseCookieValue)(w,this.cookieName),this.lastCookieString=w),this.lastToken}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(s.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(me))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})(),Ge=(()=>{class D{constructor(w,oe){this.tokenService=w,this.headerName=oe}intercept(w,oe){const F=w.url.toLowerCase();if("GET"===w.method||"HEAD"===w.method||F.startsWith("http://")||F.startsWith("https://"))return oe.handle(w);const X=this.tokenService.getToken();return null!==X&&!w.headers.has(this.headerName)&&(w=w.clone({headers:w.headers.set(this.headerName,X)})),oe.handle(w)}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(it),c.\u0275\u0275inject(Re))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})(),Ve=(()=>{class D{constructor(w,oe){this.backend=w,this.injector=oe,this.chain=null}handle(w){if(null===this.chain){const oe=this.injector.get(bt,[]);this.chain=oe.reduceRight((F,X)=>new lt(F,X),this.backend)}return this.chain.handle(w)}}return D.\u0275fac=function(w){return new(w||D)(c.\u0275\u0275inject(G),c.\u0275\u0275inject(c.Injector))},D.\u0275prov=c.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac}),D})();function K(){return"object"==typeof window?window:{}}let ze=(()=>{class D{static disable(){return{ngModule:D,providers:[{provide:Ge,useClass:ke}]}}static withOptions(w={}){return{ngModule:D,providers:[w.cookieName?{provide:me,useValue:w.cookieName}:[],w.headerName?{provide:Re,useValue:w.headerName}:[]]}}}return D.\u0275fac=function(w){return new(w||D)},D.\u0275mod=c.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ge,{provide:bt,useExisting:Ge,multi:!0},{provide:it,useClass:wt},{provide:me,useValue:"XSRF-TOKEN"},{provide:Re,useValue:"X-XSRF-TOKEN"}]}),D})(),ft=(()=>{class D{}return D.\u0275fac=function(w){return new(w||D)},D.\u0275mod=c.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=c.\u0275\u0275defineInjector({providers:[rt,{provide:M,useClass:Ve},se,{provide:G,useExisting:se}],imports:[[ze.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),D})(),yt=(()=>{class D{}return D.\u0275fac=function(w){return new(w||D)},D.\u0275mod=c.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=c.\u0275\u0275defineInjector({providers:[R,{provide:ut,useFactory:K},{provide:bt,useClass:ee,multi:!0}]}),D})();const We=s.XhrFactory},7716:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>Cb,APP_BOOTSTRAP_LISTENER:()=>uv,APP_ID:()=>ov,APP_INITIALIZER:()=>lh,ApplicationInitStatus:()=>Is,ApplicationModule:()=>oI,ApplicationRef:()=>Ra,Attribute:()=>ef,COMPILER_OPTIONS:()=>_v,CUSTOM_ELEMENTS_SCHEMA:()=>zf,ChangeDetectionStrategy:()=>w,ChangeDetectorRef:()=>Od,Compiler:()=>xa,CompilerFactory:()=>yv,Component:()=>rT,ComponentFactory:()=>bs,ComponentFactoryResolver:()=>Cs,ComponentRef:()=>Cd,ContentChild:()=>Db,ContentChildren:()=>Eb,DEFAULT_CURRENCY_CODE:()=>hv,DebugElement:()=>nI,DebugEventListener:()=>jv,DebugNode:()=>tI,DefaultIterableDiffer:()=>v_,Directive:()=>ev,ElementRef:()=>cr,EmbeddedViewRef:()=>WT,ErrorHandler:()=>Xo,EventEmitter:()=>Rr,Host:()=>uf,HostBinding:()=>lT,HostListener:()=>cT,INJECTOR:()=>co,Inject:()=>Ko,InjectFlags:()=>K,Injectable:()=>vD,InjectionToken:()=>jn,Injector:()=>Sn,Input:()=>sT,IterableDiffers:()=>Ml,KeyValueDiffers:()=>wl,LOCALE_ID:()=>Fl,MissingTranslationStrategy:()=>Pr,ModuleWithComponentFactories:()=>pv,NO_ERRORS_SCHEMA:()=>$f,NgModule:()=>fT,NgModuleFactory:()=>Ad,NgModuleFactoryLoader:()=>BT,NgModuleRef:()=>uo,NgProbeToken:()=>FT,NgZone:()=>Ni,Optional:()=>Wr,Output:()=>aT,PACKAGE_ROOT_URL:()=>mT,PLATFORM_ID:()=>cv,PLATFORM_INITIALIZER:()=>lv,Pipe:()=>oT,PlatformRef:()=>vh,Query:()=>zs,QueryList:()=>Ia,ReflectiveInjector:()=>gs,ReflectiveKey:()=>Xr,Renderer2:()=>m_,RendererFactory2:()=>Dl,RendererStyleFlags2:()=>Sr,ResolvedReflectiveFactory:()=>jm,Sanitizer:()=>Dd,SecurityContext:()=>Bn,Self:()=>Qo,SimpleChange:()=>er,SkipSelf:()=>Gr,SystemJsNgModuleLoader:()=>$T,SystemJsNgModuleLoaderConfig:()=>kv,TRANSLATIONS:()=>gT,TRANSLATIONS_FORMAT:()=>_T,TemplateRef:()=>Oo,Testability:()=>Ev,TestabilityRegistry:()=>ph,Type:()=>Ka,VERSION:()=>Md,Version:()=>y_,ViewChild:()=>wb,ViewChildren:()=>Mb,ViewContainerRef:()=>ga,ViewEncapsulation:()=>X,ViewRef:()=>Lv,WrappedValue:()=>Ki,asNativeElements:()=>GT,assertPlatform:()=>Ov,createPlatform:()=>Iv,createPlatformFactory:()=>Sv,defineInjectable:()=>ee,destroyPlatform:()=>kT,enableProdMode:()=>OT,forwardRef:()=>H,getDebugNode:()=>Jn,getModuleFactory:()=>HT,getPlatform:()=>yh,inject:()=>Lb,isDevMode:()=>gh,platformCore:()=>iI,resolveForwardRef:()=>Y,setTestabilityGetter:()=>ST,\u02750:()=>cf,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_h,\u0275APP_ID_RANDOM_PROVIDER:()=>av,\u0275CREATE_ATTRIBUTE_DECORATOR__POST_R3__:()=>qh,\u0275ChangeDetectorStatus:()=>oe,\u0275CodegenComponentFactoryResolver:()=>n0,\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__:()=>gv,\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__:()=>uh,\u0275Compiler_compileModuleAsync__POST_R3__:()=>mv,\u0275Compiler_compileModuleSync__POST_R3__:()=>kl,\u0275ComponentFactory:()=>bs,\u0275Console:()=>dv,\u0275DEFAULT_LOCALE_ID:()=>ca,\u0275EMPTY_ARRAY:()=>Lt,\u0275EMPTY_MAP:()=>j0,\u0275INJECTOR_IMPL__POST_R3__:()=>sm,\u0275INJECTOR_SCOPE:()=>ea,\u0275LifecycleHooksFeature:()=>Dm,\u0275LocaleDataIndex:()=>Zt,\u0275NG_COMP_DEF:()=>jt,\u0275NG_DIR_DEF:()=>_n,\u0275NG_ELEMENT_ID:()=>N,\u0275NG_INJ_DEF:()=>Ge,\u0275NG_MOD_DEF:()=>St,\u0275NG_PIPE_DEF:()=>Ke,\u0275NG_PROV_DEF:()=>wt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>xo,\u0275NO_CHANGE:()=>on,\u0275NgModuleFactory:()=>Rl,\u0275NoopNgZone:()=>Cv,\u0275ReflectionCapabilities:()=>$o,\u0275Render3ComponentFactory:()=>zd,\u0275Render3ComponentRef:()=>ny,\u0275Render3NgModuleRef:()=>ay,\u0275RuntimeError:()=>ne,\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__:()=>E_,\u0275SWITCH_COMPILE_COMPONENT__POST_R3__:()=>tv,\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__:()=>nv,\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__:()=>Pm,\u0275SWITCH_COMPILE_NGMODULE__POST_R3__:()=>rv,\u0275SWITCH_COMPILE_PIPE__POST_R3__:()=>iv,\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__:()=>f_,\u0275SWITCH_IVY_ENABLED__POST_R3__:()=>fv,\u0275SWITCH_RENDERER2_FACTORY__POST_R3__:()=>g_,\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__:()=>T_,\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__:()=>S_,\u0275_sanitizeHtml:()=>If,\u0275_sanitizeUrl:()=>Gs,\u0275allowSanitizationBypassAndThrow:()=>Jo,\u0275and:()=>sI,\u0275angular_packages_core_core_a:()=>ce,\u0275angular_packages_core_core_b:()=>sf,\u0275angular_packages_core_core_ba:()=>Kv,\u0275angular_packages_core_core_bb:()=>kg,\u0275angular_packages_core_core_bc:()=>xl,\u0275angular_packages_core_core_bd:()=>T0,\u0275angular_packages_core_core_be:()=>ji,\u0275angular_packages_core_core_bf:()=>ty,\u0275angular_packages_core_core_bg:()=>Wh,\u0275angular_packages_core_core_bh:()=>Tt,\u0275angular_packages_core_core_bi:()=>De,\u0275angular_packages_core_core_bj:()=>Ls,\u0275angular_packages_core_core_bl:()=>$d,\u0275angular_packages_core_core_bm:()=>Wd,\u0275angular_packages_core_core_bn:()=>Gd,\u0275angular_packages_core_core_bo:()=>Kd,\u0275angular_packages_core_core_bp:()=>Qd,\u0275angular_packages_core_core_bq:()=>Pf,\u0275angular_packages_core_core_br:()=>$r,\u0275angular_packages_core_core_bs:()=>ro,\u0275angular_packages_core_core_bv:()=>L,\u0275angular_packages_core_core_bw:()=>Zc,\u0275angular_packages_core_core_bx:()=>ft,\u0275angular_packages_core_core_bz:()=>It,\u0275angular_packages_core_core_c:()=>Go,\u0275angular_packages_core_core_cb:()=>bc,\u0275angular_packages_core_core_cc:()=>i_,\u0275angular_packages_core_core_d:()=>zm,\u0275angular_packages_core_core_e:()=>oa,\u0275angular_packages_core_core_f:()=>Bm,\u0275angular_packages_core_core_g:()=>sv,\u0275angular_packages_core_core_h:()=>__,\u0275angular_packages_core_core_i:()=>h_,\u0275angular_packages_core_core_j:()=>So,\u0275angular_packages_core_core_k:()=>VT,\u0275angular_packages_core_core_l:()=>I_,\u0275angular_packages_core_core_m:()=>ma,\u0275angular_packages_core_core_n:()=>O_,\u0275angular_packages_core_core_o:()=>Pa,\u0275angular_packages_core_core_p:()=>Zn,\u0275angular_packages_core_core_q:()=>JT,\u0275angular_packages_core_core_r:()=>D_,\u0275angular_packages_core_core_s:()=>wd,\u0275angular_packages_core_core_t:()=>Td,\u0275angular_packages_core_core_u:()=>Id,\u0275angular_packages_core_core_v:()=>Sd,\u0275angular_packages_core_core_w:()=>zv,\u0275angular_packages_core_core_x:()=>$v,\u0275angular_packages_core_core_y:()=>Wv,\u0275angular_packages_core_core_z:()=>Gv,\u0275bypassSanitizationTrustHtml:()=>Jb,\u0275bypassSanitizationTrustResourceUrl:()=>tC,\u0275bypassSanitizationTrustScript:()=>qb,\u0275bypassSanitizationTrustStyle:()=>Xb,\u0275bypassSanitizationTrustUrl:()=>eC,\u0275ccf:()=>nw,\u0275clearOverrides:()=>uS,\u0275clearResolutionOfComponentResourcesQueue:()=>mf,\u0275cmf:()=>dS,\u0275compileComponent:()=>Uy,\u0275compileDirective:()=>ah,\u0275compileNgModule:()=>Ny,\u0275compileNgModuleDefs:()=>Ly,\u0275compileNgModuleFactory__POST_R3__:()=>wv,\u0275compilePipe:()=>Xy,\u0275createInjector:()=>nm,\u0275crt:()=>S0,\u0275defaultIterableDiffers:()=>M_,\u0275defaultKeyValueDiffers:()=>w_,\u0275detectChanges:()=>qp,\u0275devModeEqual:()=>au,\u0275did:()=>yw,\u0275eld:()=>aI,\u0275findLocaleData:()=>dd,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Fy,\u0275getComponentViewDefinitionFactory:()=>G_,\u0275getDebugNodeR2:()=>qT,\u0275getDebugNode__POST_R3__:()=>Ll,\u0275getDirectives:()=>gm,\u0275getHostElement:()=>iu,\u0275getInjectableDef:()=>ge,\u0275getLContext:()=>di,\u0275getLocaleCurrencyCode:()=>aM,\u0275getLocalePluralCase:()=>Pg,\u0275getModuleFactory__POST_R3__:()=>Rv,\u0275getSanitizationBypassType:()=>vf,\u0275global:()=>Nt,\u0275initServicesIfNeeded:()=>La,\u0275inlineInterpolate:()=>L0,\u0275interpolate:()=>N0,\u0275isBoundToModule__POST_R3__:()=>Tv,\u0275isDefaultChangeDetectionStrategy:()=>F,\u0275isListLikeIterable:()=>ia,\u0275isObservable:()=>Ou,\u0275isPromise:()=>Su,\u0275isSubscribable:()=>Qm,\u0275ivyEnabled:()=>Aa,\u0275makeDecorator:()=>Uo,\u0275markDirty:()=>em,\u0275mod:()=>z0,\u0275mpd:()=>U0,\u0275ncd:()=>CI,\u0275noSideEffects:()=>I,\u0275nov:()=>uw,\u0275overrideComponentView:()=>cS,\u0275overrideProvider:()=>lS,\u0275pad:()=>MI,\u0275patchComponentDefWithScope:()=>rh,\u0275pid:()=>vw,\u0275pod:()=>wI,\u0275ppd:()=>DI,\u0275prd:()=>bw,\u0275publishDefaultGlobalUtils:()=>tD,\u0275publishGlobalUtil:()=>Gi,\u0275qud:()=>_I,\u0275registerLocaleData:()=>sM,\u0275registerModuleFactory:()=>Rw,\u0275registerNgModuleType:()=>oy,\u0275renderComponent:()=>nD,\u0275resetCompiledComponents:()=>Qw,\u0275resetJitOptions:()=>Gw,\u0275resolveComponentResources:()=>ff,\u0275setClassMetadata:()=>iy,\u0275setCurrentInjector:()=>Eo,\u0275setDocument:()=>Dr,\u0275setLocaleId:()=>vl,\u0275store:()=>Im,\u0275stringify:()=>k,\u0275ted:()=>OI,\u0275transitiveScopesFor:()=>Oa,\u0275unregisterLocaleData:()=>lM,\u0275unv:()=>I0,\u0275unwrapSafeValue:()=>Kr,\u0275vid:()=>PI,\u0275whenRendered:()=>iD,\u0275\u0275CopyDefinitionFeature:()=>wm,\u0275\u0275FactoryTarget:()=>Kn,\u0275\u0275InheritDefinitionFeature:()=>ou,\u0275\u0275NgOnChangesFeature:()=>Ti,\u0275\u0275ProvidersFeature:()=>c_,\u0275\u0275advance:()=>Cp,\u0275\u0275attribute:()=>cu,\u0275\u0275attributeInterpolate1:()=>uu,\u0275\u0275attributeInterpolate2:()=>du,\u0275\u0275attributeInterpolate3:()=>hu,\u0275\u0275attributeInterpolate4:()=>fu,\u0275\u0275attributeInterpolate5:()=>pu,\u0275\u0275attributeInterpolate6:()=>mu,\u0275\u0275attributeInterpolate7:()=>gu,\u0275\u0275attributeInterpolate8:()=>_u,\u0275\u0275attributeInterpolateV:()=>yu,\u0275\u0275classMap:()=>ag,\u0275\u0275classMapInterpolate1:()=>mg,\u0275\u0275classMapInterpolate2:()=>gg,\u0275\u0275classMapInterpolate3:()=>_g,\u0275\u0275classMapInterpolate4:()=>yg,\u0275\u0275classMapInterpolate5:()=>vg,\u0275\u0275classMapInterpolate6:()=>bg,\u0275\u0275classMapInterpolate7:()=>Cg,\u0275\u0275classMapInterpolate8:()=>Eg,\u0275\u0275classMapInterpolateV:()=>Dg,\u0275\u0275classProp:()=>zu,\u0275\u0275contentQuery:()=>Sy,\u0275\u0275defineComponent:()=>Ce,\u0275\u0275defineDirective:()=>dn,\u0275\u0275defineInjectable:()=>R,\u0275\u0275defineInjector:()=>x,\u0275\u0275defineNgModule:()=>tt,\u0275\u0275definePipe:()=>cn,\u0275\u0275directiveInject:()=>aa,\u0275\u0275disableBindings:()=>ks,\u0275\u0275element:()=>Wm,\u0275\u0275elementContainer:()=>Gm,\u0275\u0275elementContainerEnd:()=>Iu,\u0275\u0275elementContainerStart:()=>Tu,\u0275\u0275elementEnd:()=>wu,\u0275\u0275elementStart:()=>Mu,\u0275\u0275enableBindings:()=>Fs,\u0275\u0275getCurrentView:()=>Km,\u0275\u0275getInheritedFactory:()=>Xh,\u0275\u0275hostProperty:()=>cd,\u0275\u0275i18n:()=>r_,\u0275\u0275i18nApply:()=>s_,\u0275\u0275i18nAttributes:()=>o_,\u0275\u0275i18nEnd:()=>md,\u0275\u0275i18nExp:()=>gd,\u0275\u0275i18nPostprocess:()=>a_,\u0275\u0275i18nStart:()=>pd,\u0275\u0275inject:()=>Un,\u0275\u0275injectAttribute:()=>Xl,\u0275\u0275invalidFactory:()=>$m,\u0275\u0275invalidFactoryDep:()=>oc,\u0275\u0275listener:()=>Au,\u0275\u0275loadQuery:()=>Oy,\u0275\u0275namespaceHTML:()=>tn,\u0275\u0275namespaceMathML:()=>Gt,\u0275\u0275namespaceSVG:()=>Bt,\u0275\u0275nextContext:()=>Jm,\u0275\u0275ngDeclareClassMetadata:()=>mS,\u0275\u0275ngDeclareComponent:()=>gS,\u0275\u0275ngDeclareDirective:()=>pS,\u0275\u0275ngDeclareFactory:()=>_S,\u0275\u0275ngDeclareInjectable:()=>vS,\u0275\u0275ngDeclareInjector:()=>bS,\u0275\u0275ngDeclareNgModule:()=>CS,\u0275\u0275ngDeclarePipe:()=>ES,\u0275\u0275pipe:()=>yy,\u0275\u0275pipeBind1:()=>vy,\u0275\u0275pipeBind2:()=>by,\u0275\u0275pipeBind3:()=>Cy,\u0275\u0275pipeBind4:()=>Ey,\u0275\u0275pipeBindV:()=>Dy,\u0275\u0275projection:()=>qm,\u0275\u0275projectionDef:()=>Xm,\u0275\u0275property:()=>Eu,\u0275\u0275propertyInterpolate:()=>Pu,\u0275\u0275propertyInterpolate1:()=>pl,\u0275\u0275propertyInterpolate2:()=>Fu,\u0275\u0275propertyInterpolate3:()=>ku,\u0275\u0275propertyInterpolate4:()=>Nu,\u0275\u0275propertyInterpolate5:()=>Lu,\u0275\u0275propertyInterpolate6:()=>ju,\u0275\u0275propertyInterpolate7:()=>Bu,\u0275\u0275propertyInterpolate8:()=>Vu,\u0275\u0275propertyInterpolateV:()=>Hu,\u0275\u0275pureFunction0:()=>ly,\u0275\u0275pureFunction1:()=>cy,\u0275\u0275pureFunction2:()=>uy,\u0275\u0275pureFunction3:()=>dy,\u0275\u0275pureFunction4:()=>hy,\u0275\u0275pureFunction5:()=>fy,\u0275\u0275pureFunction6:()=>py,\u0275\u0275pureFunction7:()=>my,\u0275\u0275pureFunction8:()=>gy,\u0275\u0275pureFunctionV:()=>_y,\u0275\u0275queryRefresh:()=>Ty,\u0275\u0275reference:()=>Sm,\u0275\u0275resolveBody:()=>Zf,\u0275\u0275resolveDocument:()=>Yf,\u0275\u0275resolveWindow:()=>Qf,\u0275\u0275restoreView:()=>Ns,\u0275\u0275sanitizeHtml:()=>Sf,\u0275\u0275sanitizeResourceUrl:()=>pc,\u0275\u0275sanitizeScript:()=>Af,\u0275\u0275sanitizeStyle:()=>Of,\u0275\u0275sanitizeUrl:()=>fc,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Ff,\u0275\u0275setComponentScope:()=>V,\u0275\u0275setNgModuleScope:()=>gt,\u0275\u0275styleMap:()=>sr,\u0275\u0275styleMapInterpolate1:()=>Mg,\u0275\u0275styleMapInterpolate2:()=>wg,\u0275\u0275styleMapInterpolate3:()=>Tg,\u0275\u0275styleMapInterpolate4:()=>Ig,\u0275\u0275styleMapInterpolate5:()=>Sg,\u0275\u0275styleMapInterpolate6:()=>Og,\u0275\u0275styleMapInterpolate7:()=>Ag,\u0275\u0275styleMapInterpolate8:()=>xg,\u0275\u0275styleMapInterpolateV:()=>Rg,\u0275\u0275styleProp:()=>Uu,\u0275\u0275stylePropInterpolate1:()=>ed,\u0275\u0275stylePropInterpolate2:()=>td,\u0275\u0275stylePropInterpolate3:()=>nd,\u0275\u0275stylePropInterpolate4:()=>id,\u0275\u0275stylePropInterpolate5:()=>rd,\u0275\u0275stylePropInterpolate6:()=>od,\u0275\u0275stylePropInterpolate7:()=>sd,\u0275\u0275stylePropInterpolate8:()=>ad,\u0275\u0275stylePropInterpolateV:()=>ld,\u0275\u0275syntheticHostListener:()=>xu,\u0275\u0275syntheticHostProperty:()=>ud,\u0275\u0275template:()=>Tm,\u0275\u0275templateRefExtractor:()=>Py,\u0275\u0275text:()=>pg,\u0275\u0275textInterpolate:()=>Wu,\u0275\u0275textInterpolate1:()=>gl,\u0275\u0275textInterpolate2:()=>Gu,\u0275\u0275textInterpolate3:()=>Ku,\u0275\u0275textInterpolate4:()=>Qu,\u0275\u0275textInterpolate5:()=>Yu,\u0275\u0275textInterpolate6:()=>Zu,\u0275\u0275textInterpolate7:()=>Ju,\u0275\u0275textInterpolate8:()=>Xu,\u0275\u0275textInterpolateV:()=>qu,\u0275\u0275trustConstantHtml:()=>xf,\u0275\u0275trustConstantResourceUrl:()=>Rf,\u0275\u0275viewQuery:()=>Iy});var s=f(9765),c=f(826),m=f(9897),C=f(6682),l=f(8819);function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function Z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function k(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(k).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function M(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const G=L({__forward_ref__:L});function H(e){return e.__forward_ref__=H,e.toString=function(){return k(this())},e}function Y(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(G)&&e.__forward_ref__===H}class ne extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function Le(e){return"string"==typeof e?e:null==e?"":String(e)}function at(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Le(e)}function we(e,t){const n=t?` in ${t}`:"";throw new ne("201",`No provider for ${at(e)} found${n}`)}function ht(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ee=R;function x(e){return{providers:e.providers||[],imports:e.imports||[]}}function ge(e){return se(e,wt)||se(e,Ve)}function se(e,t){return e.hasOwnProperty(t)?e[t]:null}function it(e){return e&&(e.hasOwnProperty(Ge)||e.hasOwnProperty(Be))?e[Ge]:null}const wt=L({\u0275prov:L}),Ge=L({\u0275inj:L}),Ve=L({ngInjectableDef:L}),Be=L({ngInjectorDef:L});var K=(()=>((K=K||{})[K.Default=0]="Default",K[K.Host=1]="Host",K[K.Self=2]="Self",K[K.SkipSelf=4]="SkipSelf",K[K.Optional=8]="Optional",K))();let ze;function ft(){return ze}function yt(e){const t=ze;return ze=e,t}function We(e,t,n){const i=ge(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&K.Optional?null:void 0!==t?t:void we(k(e),"Injector")}function I(e){return{toString:e}.toString()}var w=(()=>((w=w||{})[w.OnPush=0]="OnPush",w[w.Default=1]="Default",w))(),oe=(()=>((oe=oe||{})[oe.CheckOnce=0]="CheckOnce",oe[oe.Checked=1]="Checked",oe[oe.CheckAlways=2]="CheckAlways",oe[oe.Detached=3]="Detached",oe[oe.Errored=4]="Errored",oe[oe.Destroyed=5]="Destroyed",oe))();function F(e){return null==e||e===w.Default}var X=(()=>((X=X||{})[X.Emulated=0]="Emulated",X[X.None=2]="None",X[X.ShadowDom=3]="ShadowDom",X))();const Pe="undefined"!=typeof globalThis&&globalThis,mt="undefined"!=typeof window&&window,Ct="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Nt=Pe||"undefined"!=typeof global&&global||mt||Ct,At={},Lt=[],jt=L({\u0275cmp:L}),_n=L({\u0275dir:L}),Ke=L({\u0275pipe:L}),St=L({\u0275mod:L}),O=L({\u0275loc:L}),j=L({\u0275fac:L}),N=L({__NG_ELEMENT_ID__:L});let Ee=0;function Ce(e){return I(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===w.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Lt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||X.Emulated,id:"c",styles:e.styles||Lt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,a=e.pipes;return i.id+=Ee++,i.inputs=Ht(e.inputs,n),i.outputs=Ht(e.outputs),o&&o.forEach(u=>u(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(z):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(S):null,i})}function V(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(z),i.pipeDefs=()=>n.map(S)}function z(e){return an(e)||un(e)}function S(e){return wn(e)}const q={};function tt(e){return I(()=>{const t={type:e.type,bootstrap:e.bootstrap||Lt,declarations:e.declarations||Lt,imports:e.imports||Lt,exports:e.exports||Lt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(q[e.id]=e.type),t})}function gt(e,t){return I(()=>{const n=yn(e,!0);n.declarations=t.declarations||Lt,n.imports=t.imports||Lt,n.exports=t.exports||Lt})}function Ht(e,t){if(null==e)return At;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const dn=Ce;function cn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function an(e){return e[jt]||null}function un(e){return e[_n]||null}function wn(e){return e[Ke]||null}function yn(e,t){const n=e[St]||null;if(!n&&!0===t)throw new Error(`Type ${k(e)} does not have '\u0275mod' property.`);return n}function ti(e){return Array.isArray(e)&&"object"==typeof e[1]}function Cn(e){return Array.isArray(e)&&!0===e[1]}function Ci(e){return 0!=(8&e.flags)}function ci(e){return 2==(2&e.flags)}function ui(e){return 1==(1&e.flags)}function ni(e){return null!==e.template}function zn(e){return 0!=(512&e[2])}function yi(e,t){return e.hasOwnProperty(j)?e[j]:null}class er{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ti(){return ji}function ji(e){return e.type.prototype.ngOnChanges&&(e.setInput=tr),Vr}function Vr(){const e=br(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===At)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function tr(e,t,n,i){const r=br(e)||function(e,t){return e[vr]=t}(e,{previous:At,current:null}),o=r.current||(r.current={}),a=r.previous,u=this.declaredInputs[n],g=a[u];o[u]=new er(g&&g.currentValue,t,a===At),e[i]=t}Ti.ngInherit=!0;const vr="__ngSimpleChanges__";function br(e){return e[vr]||null}let Ii=null;const Ur=e=>{Ii=e},Pn=function(e,t,n){null!=Ii&&Ii(e,t,n)},Cr="http://www.w3.org/2000/svg",no="http://www.w3.org/1998/MathML/";let Er;function Dr(e){Er=e}function Mr(){return void 0!==Er?Er:"undefined"!=typeof document?document:void 0}function E(e){return!!e.listen}const T={createRenderer:(e,t)=>Mr()};function _(e){for(;Array.isArray(e);)e=e[0];return e}function $e(e,t){return _(t[e])}function It(e,t){return _(t[e.index])}function fn(e,t){return e.data[t]}function rn(e,t){return e[t]}function bn(e,t){const n=t[e];return ti(n)?n:n[0]}function Mn(e){return 4==(4&e[2])}function Ln(e){return 128==(128&e[2])}function Gn(e,t){return null==t?null:e[t]}function Bi(e){e[18]=0}function Si(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Yt={lFrame:ri(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ps(){return Yt.bindingsEnabled}function Fs(){Yt.bindingsEnabled=!0}function ks(){Yt.bindingsEnabled=!1}function Tt(){return Yt.lFrame.lView}function pn(){return Yt.lFrame.tView}function Ns(e){return Yt.lFrame.contextLView=e,e[8]}function Fn(){let e=ko();for(;null!==e&&64===e.type;)e=e.parent;return e}function ko(){return Yt.lFrame.currentTNode}function yo(){const e=Yt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vi(e,t){const n=Yt.lFrame;n.currentTNode=e,n.isParent=t}function B(){return Yt.lFrame.isParent}function d(){Yt.lFrame.isParent=!1}function $(){return Yt.isInCheckNoChangesMode}function de(e){Yt.isInCheckNoChangesMode=e}function De(){const e=Yt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ae(){return Yt.lFrame.bindingIndex}function et(e){return Yt.lFrame.bindingIndex=e}function vt(){return Yt.lFrame.bindingIndex++}function Ft(e){const t=Yt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nn(e){Yt.lFrame.inI18n=e}function mn(e,t){const n=Yt.lFrame;n.bindingIndex=n.bindingRootIndex=e,en(t)}function en(e){Yt.lFrame.currentDirectiveIndex=e}function hn(e){const t=Yt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function On(){return Yt.lFrame.currentQueryIndex}function An(e){Yt.lFrame.currentQueryIndex=e}function si(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $n(e,t,n){if(n&K.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&K.Host||(r=si(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=Yt.lFrame=Oi();return i.currentTNode=t,i.lView=e,!0}function nr(e){const t=Oi(),n=e[1];Yt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Oi(){const e=Yt.lFrame,t=null===e?null:e.child;return null===t?ri(e):t}function ri(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 Hi(){const e=Yt.lFrame;return Yt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ui=Hi;function Ei(){const e=Hi();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 Ls(e){return(Yt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Yt.lFrame.contextLView))[8]}function kn(){return Yt.lFrame.selectedIndex}function ir(e){Yt.lFrame.selectedIndex=e}function xn(){const e=Yt.lFrame;return fn(e.tView,e.selectedIndex)}function Bt(){Yt.lFrame.currentNamespace=Cr}function Gt(){Yt.lFrame.currentNamespace=no}function tn(){Yt.lFrame.currentNamespace=null}function oi(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:g,ngAfterViewChecked:b,ngOnDestroy:A}=o;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),u&&((e.contentHooks||(e.contentHooks=[])).push(n,u),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,u)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=A&&(e.destroyHooks||(e.destroyHooks=[])).push(n,A)}}function Ai(e,t,n){xi(e,t,3,n)}function In(e,t,n,i){(3&e[2])===n&&xi(e,t,n,i)}function js(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function xi(e,t,n,i){const o=null!=i?i:-1,a=t.length-1;let u=0;for(let g=void 0!==i?65535&e[18]:0;g<a;g++)if("number"==typeof t[g+1]){if(u=t[g],null!=i&&u>=i)break}else t[g]<0&&(e[18]+=65536),(u<o||-1==o)&&(bo(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function bo(e,t,n,i){const r=n[i]<0,o=n[i+1],u=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Pn(4,u,o);try{o.call(u)}finally{Pn(5,u,o)}}}else{Pn(4,u,o);try{o.call(u)}finally{Pn(5,u,o)}}}class Pi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ha(e,t,n){const i=E(e);let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const a=n[r++],u=n[r++],g=n[r++];i?e.setAttribute(t,u,g,a):t.setAttributeNS(a,u,g)}else{const a=o,u=n[++r];Kl(a)?i&&e.setProperty(t,a,u):i?e.setAttribute(t,a,u):t.setAttribute(a,u),r++}}return r}function Vh(e){return 3===e||4===e||6===e}function Kl(e){return 64===e.charCodeAt(0)}function Ua(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Hh(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Hh(e,t,n,i,r){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function Uh(e){return-1!==e}function No(e){return 32767&e}function Lo(e,t){let n=function(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ql=!0;function za(e){const t=Ql;return Ql=e,t}let gb=0;function Hs(e,t){const n=Zl(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Yl(i.data,e),Yl(t,null),Yl(i.blueprint,null));const r=$a(e,t),o=e.injectorIndex;if(Uh(r)){const a=No(r),u=Lo(r,t),g=u[1].data;for(let b=0;b<8;b++)t[o+b]=u[a+b]|g[a+b]}return t[o+8]=r,o}function Yl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $a(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const o=r[1],a=o.type;if(i=2===a?o.declTNode:1===a?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Wa(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(N)&&(i=n[N]),null==i&&(i=n[N]=gb++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function Wh(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const o=n[r];if(Vh(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}}return null}function Gh(e,t,n){if(n&K.Optional)return e;we(t,"NodeInjector")}function Kh(e,t,n,i){if(n&K.Optional&&void 0===i&&(i=null),0==(n&(K.Self|K.Host))){const r=e[9],o=yt(void 0);try{return r?r.get(t,i,n&K.Optional):We(t,i,n&K.Optional)}finally{yt(o)}}return Gh(i,t,n)}function Qh(e,t,n,i=K.Default,r){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(N)?e[N]:void 0;return"number"==typeof t?t>=0?255&t:yb:t}(n);if("function"==typeof o){if(!$n(t,e,i))return i&K.Host?Gh(r,n,i):Kh(t,n,i,r);try{const a=o(i);if(null!=a||i&K.Optional)return a;we(n)}finally{Ui()}}else if("number"==typeof o){let a=null,u=Zl(e,t),g=-1,b=i&K.Host?t[16][6]:null;for((-1===u||i&K.SkipSelf)&&(g=-1===u?$a(e,t):t[u+8],-1!==g&&Jh(i,!1)?(a=t[1],u=No(g),t=Lo(g,t)):u=-1);-1!==u;){const A=t[1];if(Zh(o,u,A.data)){const ie=vb(u,t,n,a,i,b);if(ie!==Yh)return ie}g=t[u+8],-1!==g&&Jh(i,t[1].data[u+8]===b)&&Zh(o,u,t)?(a=A,u=No(g),t=Lo(g,t)):u=-1}}}return Kh(t,n,i,r)}const Yh={};function yb(){return new jo(Fn(),Tt())}function vb(e,t,n,i,r,o){const a=t[1],u=a.data[e+8],A=Ga(u,a,n,null==i?ci(u)&&Ql:i!=a&&0!=(3&u.type),r&K.Host&&o===u);return null!==A?Us(t,a,A,u):Yh}function Ga(e,t,n,i,r){const o=e.providerIndexes,a=t.data,u=1048575&o,g=e.directiveStart,A=o>>20,pe=r?u+A:e.directiveEnd;for(let Se=i?u:u+A;Se<pe;Se++){const He=a[Se];if(Se<g&&n===He||Se>=g&&He.type===n)return Se}if(r){const Se=a[g];if(Se&&ni(Se)&&Se.type===n)return g}return null}function Us(e,t,n,i){let r=e[n];const o=t.data;if(function(e){return e instanceof Pi}(r)){const a=r;a.resolving&&function(e,t){throw new ne("200",`Circular dependency in DI detected for ${e}`)}(at(o[n]));const u=za(a.canSeeViewProviders);a.resolving=!0;const g=a.injectImpl?yt(a.injectImpl):null;$n(e,i,K.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=ji(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==g&&yt(g),za(u),a.resolving=!1,Ui()}}return r}function Zh(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Jh(e,t){return!(e&K.Self||e&K.Host&&t)}class jo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return Qh(this._tNode,this._lView,t,void 0,n)}}function Xh(e){return I(()=>{const t=e.prototype.constructor,n=t[j]||Jl(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[j]||Jl(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Jl(e){return ce(e)?()=>{const t=Jl(Y(e));return t&&t()}:yi(e)}function Xl(e){return Wh(Fn(),e)}const Bo="__annotations__",Vo="__parameters__",Ho="__prop__metadata__";function Uo(e,t,n,i,r){return I(()=>{const o=ql(t);function a(...u){if(this instanceof a)return o.call(this,...u),this;const g=new a(...u);return function(A){return r&&r(A,...u),(A.hasOwnProperty(Bo)?A[Bo]:Object.defineProperty(A,Bo,{value:[]})[Bo]).push(g),i&&i(A),A}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function ql(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}function ro(e,t,n){return I(()=>{const i=ql(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return u.annotation=a,u;function u(g,b,A){const ie=g.hasOwnProperty(Vo)?g[Vo]:Object.defineProperty(g,Vo,{value:[]})[Vo];for(;ie.length<=A;)ie.push(null);return(ie[A]=ie[A]||[]).push(a),g}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function $r(e,t,n,i){return I(()=>{const r=ql(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const u=new o(...a);return function(b,A){const ie=b.constructor,pe=ie.hasOwnProperty(Ho)?ie[Ho]:Object.defineProperty(ie,Ho,{value:{}})[Ho];pe[A]=pe.hasOwnProperty(A)&&pe[A]||[],pe[A].unshift(u),i&&i(b,A,...a)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function qh(){return ro("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Xl(e)}))}const ef=qh();class jn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Cb=new jn("AnalyzeForEntryComponents");class zs{}const Eb=$r("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),zs),Db=$r("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),zs),Mb=$r("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),zs),wb=$r("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),zs);var Kn=(()=>((Kn=Kn||{})[Kn.Directive=0]="Directive",Kn[Kn.Component=1]="Component",Kn[Kn.Injectable=2]="Injectable",Kn[Kn.Pipe=3]="Pipe",Kn[Kn.NgModule=4]="NgModule",Kn))();function Qn(e){const t=Nt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ka=Function;function Qa(e){return"function"==typeof e}function $i(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),$i(i,t)):t!==e&&t.push(i)}return t}function wr(e,t){e.forEach(n=>Array.isArray(n)?wr(n,t):t(n))}function Ya(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function oo(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Fi(e,t,n){let i=zo(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function ec(e,t){const n=zo(e,t);if(n>=0)return e[1|n]}function zo(e,t){return function(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Ob=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Ab=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,xb=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Rb=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class $o{constructor(t){this._reflect=t||Nt.Reflect}isReflectionEnabled(){return!0}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let i;i=oo(void 0===t?n.length:t.length);for(let r=0;r<i.length;r++)i[r]=void 0===t?[]:t[r]&&t[r]!=Object?[t[r]]:[],n&&null!=n[r]&&(i[r]=i[r].concat(n[r]));return i}_ownParameters(t,n){const i=t.toString();if(Ob.test(e=i)||Rb.test(e)||Ab.test(e)&&!xb.test(e))return null;var e;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const r=t.ctorParameters;if(r&&r!==n.ctorParameters){const u="function"==typeof r?r():r,g=u.map(A=>A&&A.type),b=u.map(A=>A&&tc(A.decorators));return this._zipTypesAndAnnotations(g,b)}const o=t.hasOwnProperty(Vo)&&t[Vo],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return a||o?this._zipTypesAndAnnotations(a,o):oo(t.length)}parameters(t){if(!Qa(t))return[];const n=Za(t);let i=this._ownParameters(t,n);return!i&&n!==Object&&(i=this.parameters(n)),i||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let i=t.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return t.decorators&&t.decorators!==n.decorators?tc(t.decorators):t.hasOwnProperty(Bo)?t[Bo]:null}annotations(t){if(!Qa(t))return[];const n=Za(t),i=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(i)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let i=t.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const i=t.propDecorators,r={};return Object.keys(i).forEach(o=>{r[o]=tc(i[o])}),r}return t.hasOwnProperty(Ho)?t[Ho]:null}propMetadata(t){if(!Qa(t))return{};const n=Za(t),i={};if(n!==Object){const o=this.propMetadata(n);Object.keys(o).forEach(a=>{i[a]=o[a]})}const r=this._ownPropMetadata(t,n);return r&&Object.keys(r).forEach(o=>{const a=[];i.hasOwnProperty(o)&&a.push(...i[o]),a.push(...r[o]),i[o]=a}),i}ownPropMetadata(t){return Qa(t)&&this._ownPropMetadata(t,Za(t))||{}}hasLifecycleHook(t,n){return t instanceof Ka&&n in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${k(t)}`}resourceUri(t){return`./${k(t)}`}resolveIdentifier(t,n,i,r){return r}resolveEnum(t,n){return t[n]}}function tc(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Za(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const so={},nc="__NG_DI_FLAG__",Wo="ngTempTokenPath",kb=/\n/gm,ic="__source",rc=L({provide:String,useValue:L});let $s;function Eo(e){const t=$s;return $s=e,t}function sf(e,t=K.Default){if(void 0===$s)throw new Error("inject() must be called from an injection context");return null===$s?We(e,void 0,t):$s.get(e,t&K.Optional?null:void 0,t)}function Un(e,t=K.Default){return(ft()||sf)(Y(e),t)}function oc(e){throw new Error("invalid")}const Lb=Un;function Do(e){const t=[];for(let n=0;n<e.length;n++){const i=Y(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let r,o=K.Default;for(let a=0;a<i.length;a++){const u=i[a],g=jb(u);"number"==typeof g?-1===g?r=u.token:o|=g:r=u}t.push(Un(r,o))}else t.push(Un(i))}return t}function Go(e,t){return e[nc]=t,e.prototype[nc]=t,e}function jb(e){return e[nc]}function af(e,t,n,i){const r=e[Wo];throw t[ic]&&r.unshift(t[ic]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=k(t);if(Array.isArray(t))r=t.map(k).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):k(u)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(kb,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[Wo]=null,e}const cf=e=>({token:e}),Ko=Go(ro("Inject",cf),-1),Wr=Go(ro("Optional"),8),Qo=Go(ro("Self"),2),Gr=Go(ro("SkipSelf"),4),uf=Go(ro("Host"),1);let df=null;function sc(){return df=df||new $o}function Ja(e){return hf(sc().parameters(e))}function hf(e){return e.map(t=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const i=e[n];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof Wr||"Optional"===r.ngMetadataName)t.optional=!0;else if(i instanceof Gr||"SkipSelf"===r.ngMetadataName)t.skipSelf=!0;else if(i instanceof Qo||"Self"===r.ngMetadataName)t.self=!0;else if(i instanceof uf||"Host"===r.ngMetadataName)t.host=!0;else if(i instanceof Ko)t.token=i.token;else if(i instanceof ef){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");t.attribute=i.attributeName}else t.token=i}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function ff(e){const t=[],n=new Map;function i(r){let o=n.get(r);if(!o){const a=e(r);n.set(r,o=a.then(Ub))}return o}return Yo.forEach((r,o)=>{const a=[];r.templateUrl&&a.push(i(r.templateUrl).then(ie=>{r.template=ie}));const u=r.styleUrls,g=r.styles||(r.styles=[]),b=r.styles.length;u&&u.forEach((ie,pe)=>{g.push(""),a.push(i(ie).then(Se=>{g[b+pe]=Se,u.splice(u.indexOf(ie),1),0==u.length&&(r.styleUrls=void 0)}))});const A=Promise.all(a).then(()=>function(e){Ws.delete(e)}(o));t.push(A)}),mf(),Promise.all(t).then(()=>{})}let Yo=new Map;const Ws=new Set;function pf(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function mf(){const e=Yo;return Yo=new Map,e}function Ub(e){return"string"==typeof e?e:e.text()}let Xa,qa;function ac(){if(void 0===Xa&&(Xa=null,Nt.trustedTypes))try{Xa=Nt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xa}function Zo(e){var t;return(null===(t=ac())||void 0===t?void 0:t.createHTML(e))||e}function lc(){if(void 0===qa&&(qa=null,Nt.trustedTypes))try{qa=Nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return qa}function gf(e){var t;return(null===(t=lc())||void 0===t?void 0:t.createHTML(e))||e}function _f(e){var t;return(null===(t=lc())||void 0===t?void 0:t.createScript(e))||e}function yf(e){var t;return(null===(t=lc())||void 0===t?void 0:t.createScriptURL(e))||e}class Mo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Gb extends Mo{getTypeName(){return"HTML"}}class Kb extends Mo{getTypeName(){return"Style"}}class Qb extends Mo{getTypeName(){return"Script"}}class Yb extends Mo{getTypeName(){return"URL"}}class Zb extends Mo{getTypeName(){return"ResourceURL"}}function Kr(e){return e instanceof Mo?e.changingThisBreaksApplicationSecurity:e}function Jo(e,t){const n=vf(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function vf(e){return e instanceof Mo&&e.getTypeName()||null}function Jb(e){return new Gb(e)}function Xb(e){return new Kb(e)}function qb(e){return new Qb(e)}function eC(e){return new Yb(e)}function tC(e){return new Zb(e)}function bf(e){const t=new iC(e);return function(){try{return!!(new window.DOMParser).parseFromString(Zo(""),"text/html")}catch(e){return!1}}()?new nC(t):t}class nC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Zo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class iC{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Zo(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Zo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0<r;r--){const a=n.item(r).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const oC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,sC=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Gs(e){return(e=String(e)).match(oC)||e.match(sC)?e:"unsafe:"+e}function Cf(e){return(e=String(e)).split(",").map(t=>Gs(t.trim())).join(", ")}function Tr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ks(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Ef=Tr("area,br,col,hr,img,wbr"),Df=Tr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Mf=Tr("rp,rt"),cc=Ks(Ef,Ks(Df,Tr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ks(Mf,Tr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ks(Mf,Df)),uc=Tr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dc=Tr("srcset"),wf=Ks(uc,dc,Tr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Tr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),aC=Tr("script,style,template");class lC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!cc.hasOwnProperty(n))return this.sanitizedSomething=!0,!aC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),a=o.name,u=a.toLowerCase();if(!wf.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let g=o.value;uc[u]&&(g=Gs(g)),dc[u]&&(g=Cf(g)),this.buf.push(" ",a,'="',Tf(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();cc.hasOwnProperty(n)&&!Ef.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Tf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const cC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uC=/([^\#-~ |!])/g;function Tf(e){return e.replace(/&/g,"&amp;").replace(cC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(uC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let el;function If(e,t){let n=null;try{el=el||bf(e);let i=t?String(t):"";n=el.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=el.getInertBodyElement(i)}while(i!==o);return Zo((new lC).sanitizeChildren(hc(n)||n))}finally{if(n){const i=hc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function hc(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Bn=(()=>((Bn=Bn||{})[Bn.NONE=0]="NONE",Bn[Bn.HTML=1]="HTML",Bn[Bn.STYLE=2]="STYLE",Bn[Bn.SCRIPT=3]="SCRIPT",Bn[Bn.URL=4]="URL",Bn[Bn.RESOURCE_URL=5]="RESOURCE_URL",Bn))();function Sf(e){const t=Qs();return t?gf(t.sanitize(Bn.HTML,e)||""):Jo(e,"HTML")?gf(Kr(e)):If(Mr(),Le(e))}function Of(e){const t=Qs();return t?t.sanitize(Bn.STYLE,e)||"":Jo(e,"Style")?Kr(e):Le(e)}function fc(e){const t=Qs();return t?t.sanitize(Bn.URL,e)||"":Jo(e,"URL")?Kr(e):Gs(Le(e))}function pc(e){const t=Qs();if(t)return yf(t.sanitize(Bn.RESOURCE_URL,e)||"");if(Jo(e,"ResourceURL"))return yf(Kr(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Af(e){const t=Qs();if(t)return _f(t.sanitize(Bn.SCRIPT,e)||"");if(Jo(e,"Script"))return _f(Kr(e));throw new Error("unsafe value used in a script context")}function xf(e){return Zo(e[0])}function Rf(e){return function(e){var t;return(null===(t=ac())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Pf(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?pc:fc}function Ff(e,t,n){return Pf(t,n)(e)}function Qs(){const e=Tt();return e&&e[12]}function di(e){let t=Ys(e);if(t){if(Array.isArray(t)){const n=t;let i,r,o;if(function(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(i=jf(n,e),-1==i)throw new Error("The provided component was not found in the application");r=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(i=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveEnd;for(let o=n.directiveStart;o<r;o++)if(e[o]===t)return n.index;n=pC(n)}return-1}(n,e),-1==i)throw new Error("The provided directive was not found in the application");o=Bf(i,n,!1)}else if(i=Lf(n,e),-1==i)return null;const a=_(n[i]),u=Ys(a),g=u&&!Array.isArray(u)?u:mc(n,i,a);if(r&&void 0===g.component&&(g.component=r,hi(g.component,g)),o&&void 0===g.directives){g.directives=o;for(let b=0;b<o.length;b++)hi(o[b],g)}hi(g.native,g),t=g}}else{const n=e;let i=n;for(;i=i.parentNode;){const r=Ys(i);if(r){let o;if(o=Array.isArray(r)?r:r.lView,!o)return null;const a=Lf(o,n);if(a>=0){const u=_(o[a]),g=mc(o,a,u);hi(u,g),t=g;break}}}}return t||null}function mc(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function kf(e){let n,t=Ys(e);if(Array.isArray(t)){const i=jf(t,e);n=bn(i,t);const r=mc(t,i,n[0]);r.component=e,hi(e,r),hi(r.native,r)}else n=bn(t.nodeIndex,t.lView);return n}const Nf="__ngContext__";function hi(e,t){e[Nf]=t}function Ys(e){return e[Nf]||null}function gc(e){const t=Ys(e);return t?Array.isArray(t)?t:t.lView:null}function Lf(e,t){const n=e[1];for(let i=20;i<n.bindingStartIndex;i++)if(_(e[i])===t)return i;return-1}function pC(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function jf(e,t){const n=e[1].components;if(n)for(let i=0;i<n.length;i++){const r=n[i];if(bn(r,e)[8]===t)return r}else if(bn(20,e)[8]===t)return 20;return-1}function Bf(e,t,n){const i=t[1].data[e];let r=i.directiveStart;return 0==r?Lt:(!n&&2&i.flags&&r++,t.slice(r,i.directiveEnd))}const Vf="ngDebugContext",_c="ngOriginalError",Hf="ngErrorLogger";function Uf(e){return e[Vf]}function tl(e){return e[_c]}function CC(e,...t){e.error(...t)}class Xo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=this._findContext(t),r=(e=t)&&e[Hf]||CC;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n),i&&r(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?Uf(t)||this._findContext(tl(t)):null}_findOriginalError(t){let n=t&&tl(t);for(;n&&tl(n);)n=tl(n);return n||null}}const zf={name:"custom-elements"},$f={name:"no-errors-schema"},EC=/^>|^->|<!--|-->|--!>|<!-$/g,DC=/(<|>)/;function nl(e){return e.replace(EC,t=>t.replace(DC,"\u200b$1\u200b"))}function Wf(e){return`ng-reflect-${e=function(e){return e.replace(wC,(...t)=>"-"+t[1].toLowerCase())}(e.replace(/[$@]/g,"_"))}`}const wC=/([A-Z])/g;function Gf(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}const Kf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Nt))();function Qf(e){return e.ownerDocument.defaultView}function Yf(e){return e.ownerDocument}function Zf(e){return e.ownerDocument.body}function Ir(e){return e instanceof Function?e():e}var Sr=(()=>((Sr=Sr||{})[Sr.Important=1]="Important",Sr[Sr.DashCase=2]="DashCase",Sr))();let yc;function vc(e,t){return yc(e,t)}function Zs(e){const t=e[3];return Cn(t)?t[3]:t}function bc(e){return function(e){let t=ti(e)?e:gc(e);for(;t&&!(512&t[2]);)t=Zs(t);return t}(e)[8]}function Cc(e){return ep(e[13])}function Ec(e){return ep(e[4])}function ep(e){for(;null!==e&&!Cn(e);)e=e[4];return e}function es(e,t,n,i,r){if(null!=i){let o,a=!1;Cn(i)?o=i:ti(i)&&(a=!0,i=i[0]);const u=_(i);0===e&&null!==n?null==r?sp(t,n,u):wo(t,n,u,r||null,!0):1===e&&null!==n?wo(t,n,u,r||null,!0):2===e?fp(t,u,a):3===e&&t.destroyNode(u),null!=o&&function(e,t,n,i,r){const o=n[7];o!==_(n)&&es(t,e,i,o,r);for(let u=10;u<n.length;u++){const g=n[u];Js(g[1],g,e,t,i,o)}}(t,e,o,n,r)}}function Dc(e,t){return E(e)?e.createText(t):e.createTextNode(t)}function tp(e,t,n){E(e)?e.setValue(t,n):t.textContent=n}function SC(e,t){return e.createComment(nl(t))}function Mc(e,t,n){return E(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function np(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Si(r,-1)),n.splice(i,1)}function wc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&np(r,i),t>0&&(e[n-1][4]=i[4]);const o=Co(e,10+t);!function(e,t){Js(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ip(e,t){if(!(256&t[2])){const n=t[11];E(n)&&n.destroyNode&&Js(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Tc(e[1],e);for(;t;){let n=null;if(ti(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ti(t)&&Tc(t[1],t),t=t[3];null===t&&(t=e),ti(t)&&Tc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Tc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof Pi)){const o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=r[o[a]],g=o[a+1];Pn(4,u,g);try{g.call(u)}finally{Pn(5,u,g)}}else{Pn(4,r,o);try{o.call(r)}finally{Pn(5,r,o)}}}}}(e,t),function(e,t){const n=e.cleanup,i=t[7];let r=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+1],u="function"==typeof a?a(t):_(t[a]),g=i[r=n[o+2]],b=n[o+3];"boolean"==typeof b?u.removeEventListener(n[o],g,b):b>=0?i[r=b]():i[r=-b].unsubscribe(),o+=2}else{const a=i[r=n[o+1]];n[o].call(a)}if(null!==i){for(let o=r+1;o<i.length;o++)i[o]();t[7]=null}}(e,t),1===t[1].type&&E(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Cn(t[3])){n!==t[3]&&np(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function rp(e,t,n){return op(e,t.parent,n)}function op(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===X.None||r===X.Emulated)return null}return It(i,n)}function wo(e,t,n,i,r){E(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function sp(e,t,n){E(e)?e.appendChild(t,n):t.appendChild(n)}function ap(e,t,n,i,r){null!==i?wo(e,t,n,i,r):sp(e,t,n)}function il(e,t){return E(e)?e.parentNode(t):t.parentNode}function lp(e,t,n){return up(e,t,n)}function cp(e,t,n){return 40&e.type?It(e,n):null}let Ic,up=cp;function dp(e,t){up=e,Ic=t}function rl(e,t,n,i){const r=rp(e,i,t),o=t[11],u=lp(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let g=0;g<n.length;g++)ap(o,r,n[g],u,!1);else ap(o,r,n,u,!1);void 0!==Ic&&Ic(o,i,t,n,r)}function ol(e,t){if(null!==t){const n=t.type;if(3&n)return It(t,e);if(4&n)return Sc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return ol(e,i);{const r=e[t.index];return Cn(r)?Sc(-1,r):_(r)}}if(32&n)return vc(t,e)()||_(e[t.index]);{const i=hp(e,t);return null!==i?Array.isArray(i)?i[0]:ol(Zs(e[16]),i):ol(e,t.next)}}return null}function hp(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Sc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return ol(i,r)}return t[7]}function fp(e,t,n){const i=il(e,t);i&&function(e,t,n,i){E(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function Oc(e,t,n,i,r,o,a){for(;null!=n;){const u=i[n.index],g=n.type;if(a&&0===t&&(u&&hi(_(u),i),n.flags|=4),64!=(64&n.flags))if(8&g)Oc(e,t,n.child,i,r,o,!1),es(t,e,r,u,o);else if(32&g){const b=vc(n,i);let A;for(;A=b();)es(t,e,r,A,o);es(t,e,r,u,o)}else 16&g?pp(e,t,i,n,r,o):es(t,e,r,u,o);n=a?n.projectionNext:n.next}}function Js(e,t,n,i,r,o){Oc(n,i,e.firstChild,t,r,o,!1)}function pp(e,t,n,i,r,o){const a=n[16],g=a[6].projection[i.projection];if(Array.isArray(g))for(let b=0;b<g.length;b++)es(t,e,r,g[b],o);else Oc(e,t,g,a[3],r,o,!0)}function mp(e,t,n){E(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ac(e,t,n){E(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function gp(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}const _p="ng-template";function UC(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==gp(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function yp(e){return 4===e.type&&e.value!==_p}function zC(e,t,n){return t===(4!==e.type||n?e.value:_p)}function $C(e,t,n){let i=4;const r=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(Vh(e[t]))return t;return e.length}(r);let a=!1;for(let u=0;u<t.length;u++){const g=t[u];if("number"!=typeof g){if(!a)if(4&i){if(i=2|1&i,""!==g&&!zC(e,g,n)||""===g&&1===t.length){if(rr(i))return!1;a=!0}}else{const b=8&i?g:t[++u];if(8&i&&null!==e.attrs){if(!UC(e.attrs,b,n)){if(rr(i))return!1;a=!0}continue}const ie=WC(8&i?"class":g,r,yp(e),n);if(-1===ie){if(rr(i))return!1;a=!0;continue}if(""!==b){let pe;pe=ie>o?"":r[ie+1].toLowerCase();const Se=8&i?pe:null;if(Se&&-1!==gp(Se,b,0)||2&i&&b!==pe){if(rr(i))return!1;a=!0}}}}else{if(!a&&!rr(i)&&!rr(g))return!1;if(a&&rr(g))continue;a=!1,i=g|1&i}}return rr(i)||a}function rr(e){return 0==(1&e)}function WC(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const a=t[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++r];for(;"string"==typeof u;)u=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function vp(e,t,n=!1){for(let i=0;i<t.length;i++)if($C(e,t[i],n))return!0;return!1}function YC(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function bp(e,t){return e?":not("+t.trim()+")":t}function ZC(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const u=e[++n];r+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!rr(a)&&(t+=bp(o,r),r=""),i=a,o=o||!rr(i);n++}return""!==r&&(t+=bp(o,r)),t}const on={};function Cp(e){Ep(pn(),Tt(),kn()+e,$())}function Ep(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&Ai(t,o,n)}else{const o=e.preOrderHooks;null!==o&&In(t,o,0,n)}ir(n)}function sl(e,t){return e<<17|t<<2}function or(e){return e>>17&32767}function xc(e){return 2|e}function Qr(e){return(131068&e)>>2}function Rc(e,t){return-131069&e|t<<2}function Pc(e){return 1|e}const Bc=(()=>Promise.resolve(null))();function Rp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];if(-1!==o){const a=e.data[o];An(r),a.contentQueries(2,t[o],o)}}}function Xs(e,t,n,i,r,o,a,u,g,b){const A=t.blueprint.slice();return A[0]=r,A[2]=140|i,Bi(A),A[3]=A[15]=e,A[8]=n,A[10]=a||e&&e[10],A[11]=u||e&&e[11],A[12]=g||e&&e[12]||null,A[9]=b||e&&e[9]||null,A[6]=o,A[16]=2==t.type?e[16]:A,A}function ts(e,t,n,i,r){let o=e.data[t];if(null===o)o=Vc(e,t,n,i,r),Yt.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const a=yo();o.injectorIndex=null===a?-1:a.injectorIndex}return Vi(o,!0),o}function Vc(e,t,n,i,r){const o=ko(),a=B(),g=e.data[t]=function(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=g),null!==o&&(a?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g)),g}function ns(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function qs(e,t,n){nr(t);try{const i=e.viewQuery;null!==i&&Yc(1,i,n);const r=e.template;null!==r&&Pp(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Rp(e,t),e.staticViewQueries&&Yc(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)OE(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Ei()}}function is(e,t,n,i){const r=t[2];if(256==(256&r))return;nr(t);const o=$();try{Bi(t),et(e.bindingStartIndex),null!==n&&Pp(e,t,n,2,i);const a=3==(3&r);if(!o)if(a){const b=e.preOrderCheckHooks;null!==b&&Ai(t,b,null)}else{const b=e.preOrderHooks;null!==b&&In(t,b,0,null),js(t,0)}if(function(e){for(let t=Cc(e);null!==t;t=Ec(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const r=n[i],o=r[3];0==(1024&r[2])&&Si(o,1),r[2]|=1024}}}(t),function(e){for(let t=Cc(e);null!==t;t=Ec(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];Ln(i)&&is(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&Rp(e,t),!o)if(a){const b=e.contentCheckHooks;null!==b&&Ai(t,b)}else{const b=e.contentHooks;null!==b&&In(t,b,1),js(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)ir(~r);else{const o=r,a=n[++i],u=n[++i];mn(a,o),u(2,t[o])}}}finally{ir(-1)}}(e,t);const u=e.components;null!==u&&function(e,t){for(let n=0;n<t.length;n++)SE(e,t[n])}(t,u);const g=e.viewQuery;if(null!==g&&Yc(2,g,i),!o)if(a){const b=e.viewCheckHooks;null!==b&&Ai(t,b)}else{const b=e.viewHooks;null!==b&&In(t,b,2),js(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Si(t[3],-1))}finally{Ei()}}function cE(e,t,n,i){const r=t[10],o=!$(),a=Mn(t);try{o&&!a&&r.begin&&r.begin(),a&&qs(e,t,i),is(e,t,n,i)}finally{o&&!a&&r.end&&r.end()}}function Pp(e,t,n,i,r){const o=kn(),a=2&i;try{ir(-1),a&&t.length>20&&Ep(e,t,20,$()),Pn(a?2:0,r),n(i,r)}finally{ir(o),Pn(a?3:1,r)}}function Fp(e,t,n){if(Ci(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const a=e.data[o];a.contentQueries&&a.contentQueries(1,n[o],o)}}}function Hc(e,t,n){!Ps()||(function(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Hs(n,t),hi(i,t);const a=n.initialInputs;for(let u=r;u<o;u++){const g=e.data[u],b=ni(g);b&&DE(t,n,g);const A=Us(t,e,u,n);hi(A,t),null!==a&&ME(0,u-r,A,g,0,a),b&&(bn(n.index,t)[8]=A)}}(e,t,n,It(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,a=n.index,u=Yt.lFrame.currentDirectiveIndex;try{ir(a);for(let g=i;g<r;g++){const b=e.data[g],A=t[g];en(g),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&Up(b,A)}}finally{ir(-1),en(u)}}(e,t,n))}function Uc(e,t,n=It){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const a=i[o+1],u=-1===a?n(t,e):e[a];e[r++]=u}}}function kp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=cl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function cl(e,t,n,i,r,o,a,u,g,b){const A=20+i,ie=A+r,pe=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:on);return n}(A,ie),Se="function"==typeof b?b():b;return pe[1]={type:e,blueprint:pe,template:n,queries:null,viewQuery:u,declTNode:t,data:pe.slice().fill(null,A),bindingStartIndex:A,expandoStartIndex:ie,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:g,consts:Se,incompleteFirstPass:!1}}function Lp(e,t,n){if(E(e))return e.selectRootElement(t,n===X.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}function jp(e,t,n,i){const r=Qp(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&Yp(e).push(i,r.length-1))}function Bp(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function ki(e,t,n,i,r,o,a,u){const g=It(t,n);let A,b=t.inputs;!u&&null!=b&&(A=b[i])?(Xp(e,n,A,i,r),ci(t)&&function(e,t){const n=bn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=a?a(r,t.value||"",i):r,E(o)?o.setProperty(g,i,r):Kl(i)||(g.setProperty?g.setProperty(i,r):g[i]=r))}function zc(e,t,n,i){let r=!1;if(Ps()){const o=function(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const a=i[o];vp(n,a.selectors,!1)&&(r||(r=[]),Wa(Hs(n,t),e,a.type),ni(a)?(zp(e,n),r.unshift(a)):r.push(a))}return r}(e,t,n),a=null===i?null:{"":-1};if(null!==o){r=!0,$p(n,e.data.length,o.length);for(let A=0;A<o.length;A++){const ie=o[A];ie.providersResolver&&ie.providersResolver(ie)}let u=!1,g=!1,b=ns(e,t,o.length,null);for(let A=0;A<o.length;A++){const ie=o[A];n.mergedAttrs=Ua(n.mergedAttrs,ie.hostAttrs),Wp(e,n,t,b,ie),EE(b,ie,a),null!==ie.contentQueries&&(n.flags|=8),(null!==ie.hostBindings||null!==ie.hostAttrs||0!==ie.hostVars)&&(n.flags|=128);const pe=ie.type.prototype;!u&&(pe.ngOnChanges||pe.ngOnInit||pe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!g&&(pe.ngOnChanges||pe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),b++}!function(e,t){const i=t.directiveEnd,r=e.data,o=t.attrs,a=[];let u=null,g=null;for(let b=t.directiveStart;b<i;b++){const A=r[b],ie=A.inputs,pe=null===o||yp(t)?null:wE(ie,o);a.push(pe),u=Bp(ie,b,u),g=Bp(A.outputs,b,g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=16),u.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=u,t.outputs=g}(e,n)}a&&function(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new ne("301",`Export of name '${t[r+1]}' not found!`);i.push(t[r],o)}}}(n,i,a)}return n.mergedAttrs=Ua(n.mergedAttrs,n.attrs),r}function Hp(e,t,n,i,r,o){const a=o.hostBindings;if(a){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const g=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=g&&u.push(g),u.push(i,r,a)}}function Up(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function EE(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ni(t)&&(n[""]=e)}}function $p(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wp(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=yi(r.type)),a=new Pi(o,ni(r),null);e.blueprint[i]=a,n[i]=a,Hp(e,t,0,i,ns(e,n,r.hostVars,on),r)}function DE(e,t,n){const i=It(t,e),r=kp(n),o=e[10],a=ul(e,Xs(e,r,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=a}function Or(e,t,n,i,r,o){const a=It(e,t);$c(t[11],a,o,e.value,n,i,r)}function $c(e,t,n,i,r,o,a){if(null==o)E(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{const u=null==a?Le(o):a(o,i||"",r);E(e)?e.setAttribute(t,r,u,n):n?t.setAttributeNS(n,r,u):t.setAttribute(r,u)}}function ME(e,t,n,i,r,o){const a=o[t];if(null!==a){const u=i.setInput;for(let g=0;g<a.length;){const b=a[g++],A=a[g++],ie=a[g++];null!==u?i.setInput(n,ie,b,A):n[A]=ie}}}function wE(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Gp(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function SE(e,t){const n=bn(t,e);if(Ln(n)){const i=n[1];80&n[2]?is(i,n,i.template,n[8]):n[5]>0&&Wc(n)}}function Wc(e){for(let i=Cc(e);null!==i;i=Ec(i))for(let r=10;r<i.length;r++){const o=i[r];if(1024&o[2]){const a=o[1];is(a,o,a.template,o[8])}else o[5]>0&&Wc(o)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=bn(n[i],e);Ln(r)&&r[5]>0&&Wc(r)}}function OE(e,t){const n=bn(t,e),i=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),qs(i,n,n[8])}function ul(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gc(e){for(;e;){e[2]|=64;const t=Zs(e);if(zn(e)&&!t)return e;e=t}return null}function Kc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=gc(n),r=i[1];cE(r,i,r.template,n)}}function Qc(e,t,n){const i=t[10];i.begin&&i.begin();try{is(e,t,e.template,n)}catch(r){throw Jp(t,r),r}finally{i.end&&i.end()}}function Kp(e){Kc(e[8])}function Yc(e,t,n){An(0),t(e,n)}const FE=Bc;function Qp(e){return e[7]||(e[7]=[])}function Yp(e){return e.cleanup||(e.cleanup=[])}function Zp(e,t,n){return(null===e||ni(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Jp(e,t){const n=e[9],i=n?n.get(Xo,null):null;i&&i.handleError(t)}function Xp(e,t,n,i,r){for(let o=0;o<n.length;){const a=n[o++],u=n[o++],g=t[a],b=e.data[a];null!==b.setInput?b.setInput(g,r,i,u):g[u]=r}}function Zr(e,t,n){const i=$e(t,e);tp(e[11],i,n)}function dl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?r=M(r,u):2==o&&(i=M(i,u+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function qp(e){const t=kf(e);Qc(t[1],t,e)}function em(e){!function(e,t){if(0===e.flags&&e.clean==Bc){let i;e.flags|=1,e.clean=new Promise(r=>i=r),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Kc(e)),2&e.flags){e.flags&=-3;const r=e.playerHandler;r&&r.flushPlayers()}e.clean=Bc,i(null)})}}(Gc(kf(e))[8])}const co=new jn("INJECTOR",-1);class Zc{get(t,n=so){if(n===so){const i=new Error(`NullInjectorError: No provider for ${k(t)}!`);throw i.name="NullInjectorError",i}return n}}const ea=new jn("Set Injector scope."),ta={},kE={};let Jc;function tm(){return void 0===Jc&&(Jc=new Zc),Jc}function nm(e,t=null,n=null,i){const r=im(e,t,n,i);return r._resolveInjectorDefTypes(),r}function im(e,t=null,n=null,i){return new NE(e,n,t||tm(),i)}class NE{constructor(t,n,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&wr(n,u=>this.processProvider(u,t,n)),wr([t],u=>this.processInjectorType(u,[],o)),this.records.set(co,rs(void 0,this));const a=this.records.get(ea);this.scope=null!=a?a.value:null,this.source=r||("object"==typeof t?null:k(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=so,i=K.Default){this.assertNotDestroyed();const r=Eo(this),o=yt(void 0);try{if(!(i&K.SkipSelf)){let u=this.records.get(t);if(void 0===u){const g=("function"==typeof(e=t)||"object"==typeof e&&e instanceof jn)&&ge(t);u=g&&this.injectableDefInScope(g)?rs(Xc(t),ta):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(i&K.Self?tm():this.parent).get(t,n=i&K.Optional&&n===so?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Wo]=a[Wo]||[]).unshift(k(t)),r)throw a;return af(a,t,"R3InjectorError",this.source)}throw a}finally{yt(o),Eo(r)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(k(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,i){if(!(t=Y(t)))return!1;let r=it(t);const o=null==r&&t.ngModule||void 0,a=void 0===o?t:o,u=-1!==i.indexOf(a);if(void 0!==o&&(r=it(o)),null==r)return!1;if(null!=r.imports&&!u){let A;i.push(a);try{wr(r.imports,ie=>{this.processInjectorType(ie,n,i)&&(void 0===A&&(A=[]),A.push(ie))})}finally{}if(void 0!==A)for(let ie=0;ie<A.length;ie++){const{ngModule:pe,providers:Se}=A[ie];wr(Se,He=>this.processProvider(He,pe,Se||Lt))}}this.injectorDefTypes.add(a);const g=yi(a)||(()=>new a);this.records.set(a,rs(g,ta));const b=r.providers;if(null!=b&&!u){const A=t;wr(b,ie=>this.processProvider(ie,A,b))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,i){let r=os(t=Y(t))?t:Y(t&&t.provide);const o=om(e=t)?rs(void 0,e.useValue):rs(rm(e),ta);var e;if(os(t)||!0!==t.multi)this.records.get(r);else{let a=this.records.get(r);a||(a=rs(void 0,ta,!0),a.factory=()=>Do(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,o)}hydrate(t,n){return n.value===ta&&(n.value=kE,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Y(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Xc(e){const t=ge(e),n=null!==t?t.factory:yi(e);if(null!==n)return n;if(e instanceof jn)throw new Error(`Token ${k(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=oo(t,"?");throw new Error(`Can't resolve all parameters for ${k(e)}: (${i.join(", ")}).`)}const n=function(e){const t=e&&(e[wt]||e[Ve]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function rm(e,t,n){let i;if(os(e)){const r=Y(e);return yi(r)||Xc(r)}if(om(e))i=()=>Y(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Do(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>Un(Y(e.useExisting));else{const r=Y(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return yi(r)||Xc(r);i=()=>new r(...Do(e.deps))}return i}function rs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function om(e){return null!==e&&"object"==typeof e&&rc in e}function os(e){return"function"==typeof e}function sm(e,t,n){return nm({name:n},t,e,n)}const am=sm;let Sn=(()=>{class e{static create(n,i){return Array.isArray(n)?am(n,i,""):am(n.providers,n.parent,n.name||"")}}return e.THROW_IF_NOT_FOUND=so,e.NULL=new Zc,e.\u0275prov=R({token:e,providedIn:"any",factory:()=>Un(co)}),e.__NG_ELEMENT_ID__=-1,e})();function nu(e){ru(e);const t=di(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function hm(e){ru(e);const t=di(e);return null===t?null:t.lView[8]}function fm(e){const t=di(e);if(null===t)return null;let i,n=t.lView;for(;2===n[1].type&&(i=Zs(n));)n=i;return 512&n[2]?null:n[8]}function pm(e){return[...bc(e).components]}function mm(e){const t=di(e);return null===t?Sn.NULL:new jo(t.lView[1].data[t.nodeIndex],t.lView)}function gm(e){if(e instanceof Text)return[];const t=di(e);if(null===t)return[];const n=t.lView,i=n[1],r=t.nodeIndex;return(null==i?void 0:i.data[r])?(void 0===t.directives&&(t.directives=Bf(r,n,!1)),null===t.directives?[]:[...t.directives]):[]}function ZE(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=an(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?w.OnPush:w.Default};const i=un(t);return i?{inputs:i.inputs,outputs:i.outputs}:null}function iu(e){return di(e).native}function _m(e){ru(e);const t=di(e);if(null===t)return[];const n=t.lView,r=n[7],o=n[1].cleanup,a=[];if(o&&r)for(let u=0;u<o.length;){const g=o[u++],b=o[u++];if("string"==typeof g){const A=g,ie=_(n[b]),pe=r[o[u++]],Se=o[u++],He="boolean"==typeof Se||Se>=0?"dom":"output",ct="boolean"==typeof Se&&Se;e==ie&&a.push({element:e,name:A,callback:pe,useCapture:ct,type:He})}}return a.sort(XE),a}function XE(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function qE(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function ru(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function eD(e){em(e),pm(e).forEach(t=>qp(t))}let vm=!1;function tD(){vm||(vm=!0,Gi("\u0275setProfiler",Ur),Gi("getDirectiveMetadata",ZE),Gi("getComponent",nu),Gi("getContext",hm),Gi("getListeners",_m),Gi("getOwningComponent",fm),Gi("getHostElement",iu),Gi("getInjector",mm),Gi("getRootComponents",pm),Gi("getDirectives",gm),Gi("applyChanges",eD))}function Gi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=Nt;if(n){let i=n.ng;i||(i=n.ng={}),i[e]=t}}}function nD(e,t={}){const n=t.rendererFactory||T,i=t.sanitizer||null,r=an(e);r.type!=e&&(r.type=e);const o=r.selectors[0][0],u=Lp(n.createRenderer(null,null),t.host||o,r.encapsulation),g=r.onPush?576:528,b=Em(t.scheduler,t.playerHandler),A=n.createRenderer(u,r),ie=cl(0,null,null,1,0,null,null,null,null,null),pe=Xs(null,ie,b,g,null,null,n,A,null,t.injector||null);let Se;nr(pe);try{n.begin&&n.begin(),Se=Cm(bm(u,r,pe,n,A,i),r,pe,b,t.hostFeatures||null),qs(ie,pe,null),is(ie,pe,null,null)}finally{Ei(),n.end&&n.end()}return Se}function bm(e,t,n,i,r,o){const a=n[1];n[20]=e;const g=ts(a,20,2,"#host",null),b=g.mergedAttrs=t.hostAttrs;null!==b&&(dl(g,b,!0),null!==e&&(Ha(r,e,b),null!==g.classes&&Ac(r,e,g.classes),null!==g.styles&&mp(r,e,g.styles)));const A=i.createRenderer(e,t),ie=Xs(n,kp(t),null,t.onPush?64:16,n[20],g,i,A,o||null,null);return a.firstCreatePass&&(Wa(Hs(g,n),a,t.type),zp(a,g),$p(g,n.length,1)),ul(n,ie),n[20]=ie}function Cm(e,t,n,i,r){const o=n[1],a=function(e,t,n){const i=Fn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Wp(e,i,t,ns(e,t,1,null),n));const r=Us(t,e,i.directiveStart,i);hi(r,t);const o=It(i,t);return o&&hi(o,t),r}(o,n,t);if(i.components.push(a),e[8]=a,r&&r.forEach(g=>g(a,t)),t.contentQueries){const g=Fn();t.contentQueries(1,a,g.directiveStart)}const u=Fn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ir(u.index),Hp(n[1],u,0,u.directiveStart,u.directiveEnd,t),Up(t,a)),a}function Em(e,t){return{components:[],scheduler:e||Kf,clean:FE,playerHandler:t||null,flags:0}}function Dm(e,t){oi(gc(e)[1],Fn())}function iD(e){return bc(e).clean}function Mm(e){return Object.getPrototypeOf(e.prototype).constructor}function ou(e){let t=Mm(e.type),n=!0;const i=[e];for(;t;){let r;if(ni(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const a=e;a.inputs=su(e.inputs),a.declaredInputs=su(e.declaredInputs),a.outputs=su(e.outputs);const u=r.hostBindings;u&&aD(e,u);const g=r.viewQuery,b=r.contentQueries;if(g&&oD(e,g),b&&sD(e,b),Z(e.inputs,r.inputs),Z(e.declaredInputs,r.declaredInputs),Z(e.outputs,r.outputs),ni(r)&&r.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===ou&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ua(r.hostAttrs,n=Ua(n,r.hostAttrs))}}(i)}function su(e){return e===At?{}:e===Lt?[]:e}function oD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function sD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function aD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}const lD=["providersResolver"],cD=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function wm(e){let n,t=Mm(e.type);n=ni(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const r of lD)i[r]=n[r];if(ni(n))for(const r of cD)i[r]=n[r]}let hl=null;function ss(){if(!hl){const e=Nt.Symbol;if(e&&e.iterator)hl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(hl=i)}}}return hl}function au(e,t){const n=ia(e),i=ia(t);return n&&i?function(e,t,n){const i=e[ss()](),r=t[ss()]();for(;;){const o=i.next(),a=r.next();if(o.done&&a.done)return!0;if(o.done||a.done||!n(o.value,a.value))return!1}}(e,t,au):!(n||!e||"object"!=typeof e&&"function"!=typeof e||i||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}class Ki{constructor(t){this.wrapped=t}static wrap(t){return new Ki(t)}static unwrap(t){return Ki.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Ki}}function ia(e){return!!lu(e)&&(Array.isArray(e)||!(e instanceof Map)&&ss()in e)}function lu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ar(e,t,n){return e[t]=n}function ra(e,t){return e[t]}function fi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function To(e,t,n,i){const r=fi(e,t,n);return fi(e,t+1,i)||r}function fl(e,t,n,i,r){const o=To(e,t,n,i);return fi(e,t+2,r)||o}function Qi(e,t,n,i,r,o){const a=To(e,t,n,i);return To(e,t+2,r,o)||a}function cu(e,t,n,i){const r=Tt();return fi(r,vt(),t)&&(pn(),Or(xn(),r,e,t,n,i)),cu}function as(e,t){let n=!1,i=Ae();for(let o=1;o<t.length;o+=2)n=fi(e,i++,t[o])||n;if(et(i),!n)return on;let r=t[0];for(let o=1;o<t.length;o+=2)r+=Le(t[o])+t[o+1];return r}function ls(e,t,n,i){return fi(e,vt(),n)?t+Le(n)+i:on}function cs(e,t,n,i,r,o){const u=To(e,Ae(),n,r);return Ft(2),u?t+Le(n)+i+Le(r)+o:on}function us(e,t,n,i,r,o,a,u){const b=fl(e,Ae(),n,r,a);return Ft(3),b?t+Le(n)+i+Le(r)+o+Le(a)+u:on}function ds(e,t,n,i,r,o,a,u,g,b){const ie=Qi(e,Ae(),n,r,a,g);return Ft(4),ie?t+Le(n)+i+Le(r)+o+Le(a)+u+Le(g)+b:on}function hs(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=Ae();let Se=Qi(e,pe,n,r,a,g);return Se=fi(e,pe+4,A)||Se,Ft(5),Se?t+Le(n)+i+Le(r)+o+Le(a)+u+Le(g)+b+Le(A)+ie:on}function fs(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se){const He=Ae();let ct=Qi(e,He,n,r,a,g);return ct=To(e,He+4,A,pe)||ct,Ft(6),ct?t+Le(n)+i+Le(r)+o+Le(a)+u+Le(g)+b+Le(A)+ie+Le(pe)+Se:on}function ps(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct){const qe=Ae();let xt=Qi(e,qe,n,r,a,g);return xt=fl(e,qe+4,A,pe,He)||xt,Ft(7),xt?t+Le(n)+i+Le(r)+o+Le(a)+u+Le(g)+b+Le(A)+ie+Le(pe)+Se+Le(He)+ct:on}function ms(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt){const Et=Ae();let $t=Qi(e,Et,n,r,a,g);return $t=Qi(e,Et+4,A,pe,He,qe)||$t,Ft(8),$t?t+Le(n)+i+Le(r)+o+Le(a)+u+Le(g)+b+Le(A)+ie+Le(pe)+Se+Le(He)+ct+Le(qe)+xt:on}function uu(e,t,n,i,r,o){const a=Tt(),u=ls(a,t,n,i);return u!==on&&Or(xn(),a,e,u,r,o),uu}function du(e,t,n,i,r,o,a,u){const g=Tt(),b=cs(g,t,n,i,r,o);return b!==on&&Or(xn(),g,e,b,a,u),du}function hu(e,t,n,i,r,o,a,u,g,b){const A=Tt(),ie=us(A,t,n,i,r,o,a,u);return ie!==on&&Or(xn(),A,e,ie,g,b),hu}function fu(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=Tt(),Se=ds(pe,t,n,i,r,o,a,u,g,b);return Se!==on&&Or(xn(),pe,e,Se,A,ie),fu}function pu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se){const He=Tt(),ct=hs(He,t,n,i,r,o,a,u,g,b,A,ie);return ct!==on&&Or(xn(),He,e,ct,pe,Se),pu}function mu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct){const qe=Tt(),xt=fs(qe,t,n,i,r,o,a,u,g,b,A,ie,pe,Se);return xt!==on&&Or(xn(),qe,e,xt,He,ct),mu}function gu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt){const Et=Tt(),$t=ps(Et,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct);return $t!==on&&Or(xn(),Et,e,$t,qe,xt),gu}function _u(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt,Et,$t){const Xt=Tt(),gn=ms(Xt,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt);return gn!==on&&Or(xn(),Xt,e,gn,Et,$t),_u}function yu(e,t,n,i){const r=Tt(),o=as(r,t);return o!==on&&Or(xn(),r,e,o,n,i),yu}function Tm(e,t,n,i,r,o,a,u){const g=Tt(),b=pn(),A=e+20,ie=b.firstCreatePass?function(e,t,n,i,r,o,a,u,g){const b=t.consts,A=ts(t,e,4,a||null,Gn(b,u));zc(t,n,A,Gn(b,g)),oi(t,A);const ie=A.tViews=cl(2,A,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,A),ie.queries=t.queries.embeddedTView(A)),A}(A,b,g,t,n,i,r,o,a):b.data[A];Vi(ie,!1);const pe=g[11].createComment("");rl(b,g,pe,ie),hi(pe,g),ul(g,g[A]=Gp(pe,g,pe,ie)),ui(ie)&&Hc(b,g,ie),null!=a&&Uc(g,ie,u)}function Im(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Sm(e){return rn(Yt.lFrame.contextLView,20+e)}const Om={\u0275\u0275defineInjectable:R,\u0275\u0275defineInjector:x,\u0275\u0275inject:Un,\u0275\u0275invalidFactoryDep:oc,resolveForwardRef:Y},pD=L({provide:String,useValue:L});function Am(e){return void 0!==e.useClass}function xm(e){return void 0!==e.useFactory}const vD=Uo("Injectable",void 0,void 0,void 0,(e,t)=>bD(e,t)),Pm=function(e,t){let n=null,i=null;e.hasOwnProperty(wt)||Object.defineProperty(e,wt,{get:()=>(null===n&&(n=Qn().compileInjectable(Om,`ng:///${e.name}/\u0275prov.js`,function(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Am(n)||xm(n))&&void 0!==n.deps&&(i.deps=hf(n.deps)),Am(n)?i.useClass=n.useClass:function(e){return pD in e}(n)?i.useValue=n.useValue:xm(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting),i}(e,t))),n)}),e.hasOwnProperty(j)||Object.defineProperty(e,j,{get:()=>{if(null===i){const r=Qn();i=r.compileFactory(Om,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Ja(e),target:r.FactoryTarget.Injectable})}return i},configurable:!0})},bD=Pm;function vu(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(i=>k(i.token)).join(" -> ")+")":""}function bu(e,t,n,i){const r=[t],o=n(r),a=i?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,i=Error(n);return i[_c]=t,i}(o,i):Error(o);return a.addKey=ED,a.keys=r,a.injectors=[e],a.constructResolvingMessage=n,a[_c]=i,a}function ED(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Fm(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const o=t[i];n.push(o&&0!=o.length?o.map(k).join(" "):"?")}return Error("Cannot resolve all parameters for '"+k(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+k(e)+"' is decorated with Injectable.")}function SD(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Xr{constructor(t,n){if(this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=k(this.token)}static get(t){return km.get(Y(t))}static get numberOfKeys(){return km.numberOfKeys}}class OD{constructor(){this._allKeys=new Map}get(t){if(t instanceof Xr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const n=new Xr(t,Xr.numberOfKeys);return this._allKeys.set(t,n),n}get numberOfKeys(){return this._allKeys.size}}const km=new OD;class AD{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,n){return this.reflectionCapabilities.hasLifecycleHook(t,n)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,n,i,r){return this.reflectionCapabilities.resolveIdentifier(t,n,i,r)}resolveEnum(t,n){return this.reflectionCapabilities.resolveEnum(t,n)}}const Nm=new AD(new $o);class oa{constructor(t,n,i){this.key=t,this.optional=n,this.visibility=i}static fromKey(t){return new oa(t,!1,null)}}const xD=[];class Lm{constructor(t,n,i){this.key=t,this.resolvedFactories=n,this.multiProvider=i,this.resolvedFactory=this.resolvedFactories[0]}}class jm{constructor(t,n){this.factory=t,this.dependencies=n}}function RD(e){let t,n;if(e.useClass){const i=Y(e.useClass);t=Nm.factory(i),n=Hm(i)}else e.useExisting?(t=i=>i,n=[oa.fromKey(Xr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(i=>[i]);return t.map(i=>Um(e,i,n))}return Hm(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=xD);return new jm(t,n)}function PD(e){return new Lm(Xr.get(e.provide),[RD(e)],e.multi||!1)}function Bm(e){const i=function(e,t){for(let n=0;n<e.length;n++){const i=e[n],r=t.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw SD(r,i);if(i.multiProvider)for(let o=0;o<i.resolvedFactories.length;o++)r.resolvedFactories.push(i.resolvedFactories[o]);else t.set(i.key.id,i)}else{let o;o=i.multiProvider?new Lm(i.key,i.resolvedFactories.slice(),i.multiProvider):i,t.set(i.key.id,o)}}return t}(Vm(e,[]).map(PD),new Map);return Array.from(i.values())}function Vm(e,t){return e.forEach(n=>{if(n instanceof Ka)t.push({provide:n,useClass:n});else if(n&&"object"==typeof n&&void 0!==n.provide)t.push(n);else{if(!Array.isArray(n))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(n);Vm(n,t)}}),t}function Hm(e){const t=Nm.parameters(e);if(!t)return[];if(t.some(n=>null==n))throw Fm(e,t);return t.map(n=>Um(e,n,t))}function Um(e,t,n){let i=null,r=!1;if(!Array.isArray(t))return Cu(t instanceof Ko?t.token:t,r,null);let o=null;for(let a=0;a<t.length;++a){const u=t[a];u instanceof Ka?i=u:u instanceof Ko?i=u.token:u instanceof Wr?r=!0:u instanceof Qo||u instanceof Gr?o=u:u instanceof jn&&(i=u)}if(i=Y(i),null!=i)return Cu(i,r,o);throw Fm(e,n)}function Cu(e,t,n){return new oa(Xr.get(e),t,n)}const sa={};class gs{static resolve(t){return Bm(t)}static resolveAndCreate(t,n){const i=gs.resolve(t);return gs.fromResolvedProviders(i,n)}static fromResolvedProviders(t,n){return new zm(t,n)}}let zm=(()=>{class e{constructor(n,i){this._constructionCounter=0,this._providers=n,this.parent=i||null;const r=n.length;this.keyIds=[],this.objs=[];for(let o=0;o<r;o++)this.keyIds[o]=n[o].key.id,this.objs[o]=sa}get(n,i=so){return this._getByKey(Xr.get(n),null,i)}resolveAndCreateChild(n){const i=gs.resolve(n);return this.createChildFromResolved(i)}createChildFromResolved(n){const i=new e(n);return i.parent=this,i}resolveAndInstantiate(n){return this.instantiateResolved(gs.resolve([n])[0])}instantiateResolved(n){return this._instantiateProvider(n)}getProviderAtIndex(n){if(n<0||n>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(n);return this._providers[n]}_new(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return bu(e,t,function(n){return`Cannot instantiate cyclic dependency!${vu(n)}`})}(this,n.key);return this._instantiateProvider(n)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(n){if(n.multiProvider){const i=[];for(let r=0;r<n.resolvedFactories.length;++r)i[r]=this._instantiate(n,n.resolvedFactories[r]);return i}return this._instantiate(n,n.resolvedFactories[0])}_instantiate(n,i){const r=i.factory;let o,a;try{o=i.dependencies.map(u=>this._getByReflectiveDependency(u))}catch(u){throw u.addKey&&u.addKey(this,n.key),u}try{a=r(...o)}catch(u){throw function(e,t,n,i){return bu(e,i,function(r){const o=k(r[0].token);return`${t.message}: Error during instantiation of ${o}!${vu(r)}.`},t)}(this,u,0,n.key)}return a}_getByReflectiveDependency(n){return this._getByKey(n.key,n.visibility,n.optional?null:so)}_getByKey(n,i,r){return n===e.INJECTOR_KEY?this:i instanceof Qo?this._getByKeySelf(n,r):this._getByKeyDefault(n,r,i)}_getObjByKeyId(n){for(let i=0;i<this.keyIds.length;i++)if(this.keyIds[i]===n)return this.objs[i]===sa&&(this.objs[i]=this._new(this._providers[i])),this.objs[i];return sa}_throwOrNull(n,i){if(i!==so)return i;throw function(e,t){return bu(e,t,function(n){return`No provider for ${k(n[0].token)}!${vu(n)}`})}(this,n)}_getByKeySelf(n,i){const r=this._getObjByKeyId(n.id);return r!==sa?r:this._throwOrNull(n,i)}_getByKeyDefault(n,i,r){let o;for(o=r instanceof Gr?this.parent:this;o instanceof e;){const a=o,u=a._getObjByKeyId(n.id);if(u!==sa)return u;o=a.parent}return null!==o?o.get(n.token,i):this._throwOrNull(n,i)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let i=0;i<e._providers.length;++i)n[i]=t(e.getProviderAtIndex(i));return n}(this,i=>' "'+i.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=Xr.get(Sn),e})();function aa(e,t=K.Default){const n=Tt();return null===n?Un(e,t):Qh(Fn(),n,Y(e),t)}function $m(){throw new Error("invalid")}function Eu(e,t,n){const i=Tt();return fi(i,vt(),t)&&ki(pn(),xn(),i,e,t,i[11],n,!1),Eu}function Du(e,t,n,i,r){const a=r?"class":"style";Xp(e,n,t.inputs[a],a,i)}function Mu(e,t,n,i){const r=Tt(),o=pn(),a=20+e,u=r[11],g=r[a]=Mc(u,t,Yt.lFrame.currentNamespace),b=o.firstCreatePass?function(e,t,n,i,r,o,a){const u=t.consts,b=ts(t,e,2,r,Gn(u,o));return zc(t,n,b,Gn(u,a)),null!==b.attrs&&dl(b,b.attrs,!1),null!==b.mergedAttrs&&dl(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(a,o,r,0,t,n,i):o.data[a];Vi(b,!0);const A=b.mergedAttrs;null!==A&&Ha(u,g,A);const ie=b.classes;null!==ie&&Ac(u,g,ie);const pe=b.styles;null!==pe&&mp(u,g,pe),64!=(64&b.flags)&&rl(o,r,g,b),0===Yt.lFrame.elementDepthCount&&hi(g,r),Yt.lFrame.elementDepthCount++,ui(b)&&(Hc(o,r,b),Fp(o,b,r)),null!==i&&Uc(r,b)}function wu(){let e=Fn();B()?d():(e=e.parent,Vi(e,!1));const t=e;Yt.lFrame.elementDepthCount--;const n=pn();n.firstCreatePass&&(oi(n,e),Ci(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Du(n,t,Tt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Du(n,t,Tt(),t.stylesWithoutHost,!1)}function Wm(e,t,n,i){Mu(e,t,n,i),wu()}function Tu(e,t,n){const i=Tt(),r=pn(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){const o=t.consts,a=Gn(o,i),u=ts(t,e,8,"ng-container",a);return null!==a&&dl(u,a,!0),zc(t,n,u,Gn(o,r)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,r,i,t,n):r.data[o];Vi(a,!0);const u=i[o]=i[11].createComment("");rl(r,i,u,a),hi(u,i),ui(a)&&(Hc(r,i,a),Fp(r,a,i)),null!=n&&Uc(i,a)}function Iu(){let e=Fn();const t=pn();B()?d():(e=e.parent,Vi(e,!1)),t.firstCreatePass&&(oi(t,e),Ci(e)&&t.queries.elementEnd(e))}function Gm(e,t,n){Tu(e,t,n),Iu()}function Km(){return Tt()}function Su(e){return!!e&&"function"==typeof e.then}function Qm(e){return!!e&&"function"==typeof e.subscribe}const Ou=Qm;function Au(e,t,n,i){const r=Tt(),o=pn(),a=Fn();return Ym(o,r,r[11],a,e,t,!!n,i),Au}function xu(e,t){const n=Fn(),i=Tt(),r=pn();return Ym(r,i,Zp(hn(r.data),n,i),n,e,t,!1),xu}function Ym(e,t,n,i,r,o,a,u){const g=ui(i),A=e.firstCreatePass&&Yp(e),ie=t[8],pe=Qp(t);let Se=!0;if(3&i.type||u){const qe=It(i,t),xt=u?u(qe):qe,Et=pe.length,$t=u?Xt=>u(_(Xt[i.index])):i.index;if(E(n)){let Xt=null;if(!u&&g&&(Xt=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===n&&r[o+1]===i){const u=t[7],g=r[o+2];return u.length>g?u[g]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==Xt)(Xt.__ngLastListenerFn__||Xt).__ngNextListenerFn__=o,Xt.__ngLastListenerFn__=o,Se=!1;else{o=Ru(i,t,ie,o,!1);const gn=n.listen(xt,r,o);pe.push(o,gn),A&&A.push(r,$t,Et,Et+1)}}else o=Ru(i,t,ie,o,!0),xt.addEventListener(r,o,a),pe.push(o),A&&A.push(r,$t,Et,a)}else o=Ru(i,t,ie,o,!1);const He=i.outputs;let ct;if(Se&&null!==He&&(ct=He[r])){const qe=ct.length;if(qe)for(let xt=0;xt<qe;xt+=2){const Xn=t[ct[xt]][ct[xt+1]].subscribe(o),Ji=pe.length;pe.push(o,Xn),A&&A.push(r,i.index,Ji,-(Ji+1))}}}function Zm(e,t,n,i){try{return Pn(6,t,n),!1!==n(i)}catch(r){return Jp(e,r),!1}finally{Pn(7,t,n)}}function Ru(e,t,n,i,r){return function o(a){if(a===Function)return i;const u=2&e.flags?bn(e.index,t):t;0==(32&t[2])&&Gc(u);let g=Zm(t,n,i,a),b=o.__ngNextListenerFn__;for(;b;)g=Zm(t,n,b,a)&&g,b=b.__ngNextListenerFn__;return r&&!1===g&&(a.preventDefault(),a.returnValue=!1),g}}function Jm(e=1){return Ls(e)}function VD(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?vp(e,o,!0):YC(i,o))return r}else n=r}return n}function Xm(e){const t=Tt()[16][6];if(!t.projection){const i=t.projection=oo(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const a=e?VD(o,e):0;null!==a&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o),o=o.next}}}function qm(e,t=0,n){const i=Tt(),r=pn(),o=ts(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),d(),64!=(64&o.flags)&&function(e,t,n){pp(t[11],0,t,n,rp(e,n,t),lp(n.parent||t[6],n,t))}(r,i,o)}function Pu(e,t,n){return pl(e,"",t,"",n),Pu}function pl(e,t,n,i,r){const o=Tt(),a=ls(o,t,n,i);return a!==on&&ki(pn(),xn(),o,e,a,o[11],r,!1),pl}function Fu(e,t,n,i,r,o,a){const u=Tt(),g=cs(u,t,n,i,r,o);return g!==on&&ki(pn(),xn(),u,e,g,u[11],a,!1),Fu}function ku(e,t,n,i,r,o,a,u,g){const b=Tt(),A=us(b,t,n,i,r,o,a,u);return A!==on&&ki(pn(),xn(),b,e,A,b[11],g,!1),ku}function Nu(e,t,n,i,r,o,a,u,g,b,A){const ie=Tt(),pe=ds(ie,t,n,i,r,o,a,u,g,b);return pe!==on&&ki(pn(),xn(),ie,e,pe,ie[11],A,!1),Nu}function Lu(e,t,n,i,r,o,a,u,g,b,A,ie,pe){const Se=Tt(),He=hs(Se,t,n,i,r,o,a,u,g,b,A,ie);return He!==on&&ki(pn(),xn(),Se,e,He,Se[11],pe,!1),Lu}function ju(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He){const ct=Tt(),qe=fs(ct,t,n,i,r,o,a,u,g,b,A,ie,pe,Se);return qe!==on&&ki(pn(),xn(),ct,e,qe,ct[11],He,!1),ju}function Bu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe){const xt=Tt(),Et=ps(xt,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct);return Et!==on&&ki(pn(),xn(),xt,e,Et,xt[11],qe,!1),Bu}function Vu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt,Et){const $t=Tt(),Xt=ms($t,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt);return Xt!==on&&ki(pn(),xn(),$t,e,Xt,$t[11],Et,!1),Vu}function Hu(e,t,n){const i=Tt(),r=as(i,t);return r!==on&&ki(pn(),xn(),i,e,r,i[11],n,!1),Hu}function eg(e,t,n,i,r){const o=e[n+1],a=null===t;let u=i?or(o):Qr(o),g=!1;for(;0!==u&&(!1===g||a);){const A=e[u+1];zD(e[u],t)&&(g=!0,e[u+1]=i?Pc(A):xc(A)),u=i?or(A):Qr(A)}g&&(e[n+1]=i?xc(o):Pc(o))}function zD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&zo(e,t)>=0}const Yn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tg(e){return e.substring(Yn.key,Yn.keyEnd)}function $D(e){return e.substring(Yn.value,Yn.valueEnd)}function ng(e,t){const n=Yn.textEnd;return n===t?-1:(t=Yn.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Yn.key=t,n),_s(e,t,n))}function ig(e,t){const n=Yn.textEnd;let i=Yn.key=_s(e,t,n);return n===i?-1:(i=Yn.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=og(e,i,n),i=Yn.value=_s(e,i,n),i=Yn.valueEnd=function(e,t,n){let i=-1,r=-1,o=-1,a=t,u=a;for(;a<n;){const g=e.charCodeAt(a++);if(59===g)return u;34===g||39===g?u=a=sg(e,g,a,n):t===a-4&&85===o&&82===r&&76===i&&40===g?u=a=sg(e,41,a,n):g>32&&(u=a),o=r,r=i,i=-33&g}return u}(e,i,n),og(e,i,n))}function rg(e){Yn.key=0,Yn.keyEnd=0,Yn.value=0,Yn.valueEnd=0,Yn.textEnd=e.length}function _s(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function og(e,t,n,i){return(t=_s(e,t,n))<n&&t++,t}function sg(e,t,n,i){let r=-1,o=n;for(;o<i;){const a=e.charCodeAt(o++);if(a==t&&92!==r)return o;r=92==a&&92===r?0:a}throw new Error}function Uu(e,t,n){return ar(e,t,n,!1),Uu}function zu(e,t){return ar(e,t,null,!0),zu}function sr(e){lr(ug,ZD,e,!1)}function ZD(e,t){for(let n=function(e){return rg(e),ig(e,_s(e,0,Yn.textEnd))}(t);n>=0;n=ig(t,n))ug(e,tg(t),$D(t))}function ag(e){lr(Fi,xr,e,!0)}function xr(e,t){for(let n=function(e){return rg(e),ng(e,_s(e,0,Yn.textEnd))}(t);n>=0;n=ng(t,n))Fi(e,tg(t),!0)}function ar(e,t,n,i){const r=Tt(),o=pn(),a=Ft(2);o.firstUpdatePass&&cg(o,e,a,i),t!==on&&fi(r,a,t)&&dg(o,o.data[kn()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=k(Kr(e)))),e}(t,n),i,a)}function lr(e,t,n,i){const r=pn(),o=Ft(2);r.firstUpdatePass&&cg(r,null,o,i);const a=Tt();if(n!==on&&fi(a,o,n)){const u=r.data[kn()];if(fg(u,i)&&!lg(r,o)){let g=i?u.classesWithoutHost:u.stylesWithoutHost;null!==g&&(n=M(g,n||"")),Du(r,u,a,n,i)}else!function(e,t,n,i,r,o,a,u){r===on&&(r=Lt);let g=0,b=0,A=0<r.length?r[0]:null,ie=0<o.length?o[0]:null;for(;null!==A||null!==ie;){const pe=g<r.length?r[g+1]:void 0,Se=b<o.length?o[b+1]:void 0;let ct,He=null;A===ie?(g+=2,b+=2,pe!==Se&&(He=ie,ct=Se)):null===ie||null!==A&&A<ie?(g+=2,He=A):(b+=2,He=ie,ct=Se),null!==He&&dg(e,t,n,i,He,ct,a,u),A=g<r.length?r[g]:null,ie=b<o.length?o[b]:null}}(r,u,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return Lt;const i=[],r=Kr(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function lg(e,t){return t>=e.expandoStartIndex}function cg(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[kn()],a=lg(e,n);fg(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){const r=hn(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=la(n=$u(null,e,t,n,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=$u(r,e,t,n,i),null===o){let g=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Qr(i))return e[or(i)]}(e,t,i);void 0!==g&&Array.isArray(g)&&(g=$u(null,e,t,g[1],i),g=la(g,t.attrs,i),function(e,t,n,i){e[or(n?t.classBindings:t.styleBindings)]=i}(e,t,i,g))}else o=function(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=la(i,e[o].hostAttrs,n);return la(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,u=or(a),g=Qr(a);e[i]=n;let A,b=!1;if(Array.isArray(n)){const ie=n;A=ie[1],(null===A||zo(ie,A)>0)&&(b=!0)}else A=n;if(r)if(0!==g){const pe=or(e[u+1]);e[i+1]=sl(pe,u),0!==pe&&(e[pe+1]=Rc(e[pe+1],i)),e[u+1]=function(e,t){return 131071&e|t<<17}(e[u+1],i)}else e[i+1]=sl(u,0),0!==u&&(e[u+1]=Rc(e[u+1],i)),u=i;else e[i+1]=sl(g,0),0===u?u=i:e[g+1]=Rc(e[g+1],i),g=i;b&&(e[i+1]=xc(e[i+1])),eg(e,A,i,!0),eg(e,A,i,!1),function(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&zo(o,t)>=0&&(n[i+1]=Pc(n[i+1]))}(t,A,e,i,o),a=sl(u,g),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function $u(e,t,n,i,r){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],i=la(i,o.hostAttrs,r),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),i}function la(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Fi(e,a,!!n||t[++o]))}return void 0===e?null:e}function ug(e,t,n){Fi(e,t,Kr(n))}function dg(e,t,n,i,r,o,a,u){if(!(3&t.type))return;const g=e.data,b=g[u+1];ml(function(e){return 1==(1&e)}(b)?hg(g,t,n,r,Qr(b),a):void 0)||(ml(o)||function(e){return 2==(2&e)}(b)&&(o=hg(g,null,n,r,u,a)),function(e,t,n,i,r){const o=E(e);if(t)r?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{let a=-1===i.indexOf("-")?void 0:Sr.DashCase;if(null==r)o?e.removeStyle(n,i,a):n.style.removeProperty(i);else{const u="string"==typeof r&&r.endsWith("!important");u&&(r=r.slice(0,-10),a|=Sr.Important),o?e.setStyle(n,i,r,a):n.style.setProperty(i,r,u?"important":"")}}}(i,a,$e(kn(),n),r,o))}function hg(e,t,n,i,r,o){const a=null===t;let u;for(;r>0;){const g=e[r],b=Array.isArray(g),A=b?g[1]:g,ie=null===A;let pe=n[r+1];pe===on&&(pe=ie?Lt:void 0);let Se=ie?ec(pe,i):A===i?pe:void 0;if(b&&!ml(Se)&&(Se=ec(g,i)),ml(Se)&&(u=Se,a))return u;const He=e[r+1];r=a?or(He):Qr(He)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(u=ec(g,i))}return u}function ml(e){return void 0!==e}function fg(e,t){return 0!=(e.flags&(t?16:32))}function pg(e,t=""){const n=Tt(),i=pn(),r=e+20,o=i.firstCreatePass?ts(i,r,1,t,null):i.data[r],a=n[r]=Dc(n[11],t);rl(i,n,a,o),Vi(o,!1)}function Wu(e){return gl("",e,""),Wu}function gl(e,t,n){const i=Tt(),r=ls(i,e,t,n);return r!==on&&Zr(i,kn(),r),gl}function Gu(e,t,n,i,r){const o=Tt(),a=cs(o,e,t,n,i,r);return a!==on&&Zr(o,kn(),a),Gu}function Ku(e,t,n,i,r,o,a){const u=Tt(),g=us(u,e,t,n,i,r,o,a);return g!==on&&Zr(u,kn(),g),Ku}function Qu(e,t,n,i,r,o,a,u,g){const b=Tt(),A=ds(b,e,t,n,i,r,o,a,u,g);return A!==on&&Zr(b,kn(),A),Qu}function Yu(e,t,n,i,r,o,a,u,g,b,A){const ie=Tt(),pe=hs(ie,e,t,n,i,r,o,a,u,g,b,A);return pe!==on&&Zr(ie,kn(),pe),Yu}function Zu(e,t,n,i,r,o,a,u,g,b,A,ie,pe){const Se=Tt(),He=fs(Se,e,t,n,i,r,o,a,u,g,b,A,ie,pe);return He!==on&&Zr(Se,kn(),He),Zu}function Ju(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He){const ct=Tt(),qe=ps(ct,e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He);return qe!==on&&Zr(ct,kn(),qe),Ju}function Xu(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe){const xt=Tt(),Et=ms(xt,e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe);return Et!==on&&Zr(xt,kn(),Et),Xu}function qu(e){const t=Tt(),n=as(t,e);return n!==on&&Zr(t,kn(),n),qu}function mg(e,t,n){lr(Fi,xr,ls(Tt(),e,t,n),!0)}function gg(e,t,n,i,r){lr(Fi,xr,cs(Tt(),e,t,n,i,r),!0)}function _g(e,t,n,i,r,o,a){lr(Fi,xr,us(Tt(),e,t,n,i,r,o,a),!0)}function yg(e,t,n,i,r,o,a,u,g){lr(Fi,xr,ds(Tt(),e,t,n,i,r,o,a,u,g),!0)}function vg(e,t,n,i,r,o,a,u,g,b,A){lr(Fi,xr,hs(Tt(),e,t,n,i,r,o,a,u,g,b,A),!0)}function bg(e,t,n,i,r,o,a,u,g,b,A,ie,pe){lr(Fi,xr,fs(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe),!0)}function Cg(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He){lr(Fi,xr,ps(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He),!0)}function Eg(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe){lr(Fi,xr,ms(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe),!0)}function Dg(e){lr(Fi,xr,as(Tt(),e),!0)}function Mg(e,t,n){sr(ls(Tt(),e,t,n))}function wg(e,t,n,i,r){sr(cs(Tt(),e,t,n,i,r))}function Tg(e,t,n,i,r,o,a){sr(us(Tt(),e,t,n,i,r,o,a))}function Ig(e,t,n,i,r,o,a,u,g){sr(ds(Tt(),e,t,n,i,r,o,a,u,g))}function Sg(e,t,n,i,r,o,a,u,g,b,A){sr(hs(Tt(),e,t,n,i,r,o,a,u,g,b,A))}function Og(e,t,n,i,r,o,a,u,g,b,A,ie,pe){sr(fs(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe))}function Ag(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He){sr(ps(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He))}function xg(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe){sr(ms(Tt(),e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe))}function Rg(e){sr(as(Tt(),e))}function ed(e,t,n,i,r){return ar(e,ls(Tt(),t,n,i),r,!1),ed}function td(e,t,n,i,r,o,a){return ar(e,cs(Tt(),t,n,i,r,o),a,!1),td}function nd(e,t,n,i,r,o,a,u,g){return ar(e,us(Tt(),t,n,i,r,o,a,u),g,!1),nd}function id(e,t,n,i,r,o,a,u,g,b,A){return ar(e,ds(Tt(),t,n,i,r,o,a,u,g,b),A,!1),id}function rd(e,t,n,i,r,o,a,u,g,b,A,ie,pe){return ar(e,hs(Tt(),t,n,i,r,o,a,u,g,b,A,ie),pe,!1),rd}function od(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He){return ar(e,fs(Tt(),t,n,i,r,o,a,u,g,b,A,ie,pe,Se),He,!1),od}function sd(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe){return ar(e,ps(Tt(),t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct),qe,!1),sd}function ad(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt,Et){return ar(e,ms(Tt(),t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt),Et,!1),ad}function ld(e,t,n){return ar(e,as(Tt(),t),n,!1),ld}function cd(e,t,n){const i=Tt();return fi(i,vt(),t)&&ki(pn(),xn(),i,e,t,i[11],n,!0),cd}function ud(e,t,n){const i=Tt();if(fi(i,vt(),t)){const o=pn(),a=xn();ki(o,a,i,e,t,Zp(hn(o.data),a,i),n,!0)}return ud}const Io=void 0;var oM=["en",[["a","p"],["AM","PM"],Io],[["AM","PM"],Io,Io],[["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"]],Io,[["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"]],Io,[["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}",Io,"{1} 'at' {0}",Io],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let ys={};function sM(e,t,n){"string"!=typeof t&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ys[t]=e,n&&(ys[t][Zt.ExtraData]=n)}function dd(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fg(t);if(n)return n;const i=t.split("-")[0];if(n=Fg(i),n)return n;if("en"===i)return oM;throw new Error(`Missing locale data for the locale "${e}".`)}function aM(e){return dd(e)[Zt.CurrencyCode]||null}function Pg(e){return dd(e)[Zt.PluralCase]}function Fg(e){return e in ys||(ys[e]=Nt.ng&&Nt.ng.common&&Nt.ng.common.locales&&Nt.ng.common.locales[e]),ys[e]}function lM(){ys={}}var Zt=(()=>((Zt=Zt||{})[Zt.LocaleId=0]="LocaleId",Zt[Zt.DayPeriodsFormat=1]="DayPeriodsFormat",Zt[Zt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Zt[Zt.DaysFormat=3]="DaysFormat",Zt[Zt.DaysStandalone=4]="DaysStandalone",Zt[Zt.MonthsFormat=5]="MonthsFormat",Zt[Zt.MonthsStandalone=6]="MonthsStandalone",Zt[Zt.Eras=7]="Eras",Zt[Zt.FirstDayOfWeek=8]="FirstDayOfWeek",Zt[Zt.WeekendRange=9]="WeekendRange",Zt[Zt.DateFormat=10]="DateFormat",Zt[Zt.TimeFormat=11]="TimeFormat",Zt[Zt.DateTimeFormat=12]="DateTimeFormat",Zt[Zt.NumberSymbols=13]="NumberSymbols",Zt[Zt.NumberFormats=14]="NumberFormats",Zt[Zt.CurrencyCode=15]="CurrencyCode",Zt[Zt.CurrencySymbol=16]="CurrencySymbol",Zt[Zt.CurrencyName=17]="CurrencyName",Zt[Zt.Currencies=18]="Currencies",Zt[Zt.Directionality=19]="Directionality",Zt[Zt.PluralCase=20]="PluralCase",Zt[Zt.ExtraData=21]="ExtraData",Zt))();const uM=["zero","one","two","few","many"],ca="en-US",kg="USD",_l={marker:"element"},yl={marker:"ICU"};var Vn=(()=>((Vn=Vn||{})[Vn.SHIFT=2]="SHIFT",Vn[Vn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Vn[Vn.COMMENT=2]="COMMENT",Vn))();let Ng=ca;function vl(e){(function(e,t){null==e&&ht(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Ng=e.toLowerCase().replace(/_/g,"-"))}function Lg(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?cp(e,0,n):_(n[r])}function jg(e,t,n,i,r){const o=t.insertBeforeIndex;if(Array.isArray(o)){let a=i,u=null;if(3&t.type||(u=a,a=r),null!==a&&0==(2&t.flags))for(let g=1;g<o.length;g++)wo(e,a,n[o[g]],u,!1)}}function Bg(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];Vg(i)||fM(i,t)&&null===pM(i)&&mM(i,t.index)}}function Vg(e){return!(64&e.type)}function fM(e,t){return Vg(t)||e.index>t.index}function pM(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function mM(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(dp(Lg,jg),e.insertBeforeIndex=t)}function ua(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function yM(e,t,n){const i=Vc(e,n,64,null,null);return Bg(t,i),i}function bl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Hg(e){return e>>>17}function Ug(e){return(131070&e)>>>1}let da=0,ha=0;function $g(e,t,n,i){const r=n[11];let a,o=null;for(let u=0;u<t.length;u++){const g=t[u];if("string"==typeof g){const b=t[++u];null===n[b]&&(n[b]=Dc(r,g))}else if("number"==typeof g)switch(1&g){case 0:const b=Hg(g);let A,ie;if(null===o&&(o=b,a=il(r,i)),b===o?(A=i,ie=a):(A=null,ie=_(n[b])),null!==ie){const ct=Ug(g);wo(r,ie,n[ct],A,!1);const xt=ua(e,ct);if(null!==xt&&"object"==typeof xt){const Et=bl(xt,n);null!==Et&&$g(e,xt.create[Et],n,n[xt.anchorIdx])}}break;case 1:const Se=t[++u],He=t[++u];$c(r,$e(g>>>1,n),null,null,Se,He,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${g}"`)}else switch(g){case yl:const b=t[++u],A=t[++u];null===n[A]&&hi(n[A]=SC(r,b),n);break;case _l:const ie=t[++u],pe=t[++u];null===n[pe]&&hi(n[pe]=Mc(r,ie,null),n)}}}function Wg(e,t,n,i,r){for(let o=0;o<n.length;o++){const a=n[o],u=n[++o];if(a&r){let g="";for(let b=o+1;b<=o+u;b++){const A=n[b];if("string"==typeof A)g+=A;else if("number"==typeof A)if(A<0)g+=Le(t[i-A]);else{const ie=A>>>2;switch(3&A){case 1:const pe=n[++b],Se=n[++b],He=e.data[ie];"string"==typeof He?$c(t[11],t[ie],null,He,pe,g,Se):ki(e,He,t,pe,g,t[11],Se,!1);break;case 0:const ct=t[ie];null!==ct&&tp(t[11],ct,g);break;case 2:DM(e,ua(e,ie),t,g);break;case 3:Gg(e,ua(e,ie),i,t)}}}}else{const g=n[o+1];if(g>0&&3==(3&g)){const A=ua(e,g>>>2);t[A.currentCaseLViewIndex]<0&&Gg(e,A,i,t)}}o+=u}}function Gg(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let o=da;r<0&&(r=i[t.currentCaseLViewIndex]=~r,o=-1),Wg(e,i,t.update[r],n,o)}}function DM(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=Pg(t)(parseInt(e,10)),i=uM[n];return void 0!==i?i:"other"}(t,Ng);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(bl(t,n)!==r&&(Kg(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const a=n[t.anchorIdx];a&&$g(e,t.create[r],n,a)}}function Kg(e,t,n){let i=bl(t,n);if(null!==i){const r=t.remove[i];for(let o=0;o<r.length;o++){const a=r[o];if(a>0){const u=$e(a,n);null!==u&&fp(n[11],u)}else Kg(e,ua(e,~a),n)}}}function wM(){const e=[];let n,i,t=-1;function o(u,g){t=0;const b=bl(u,g);i=null!==b?u.remove[b]:Lt}function a(){if(t<i.length){const u=i[t++];return u>0?n[u]:(e.push(t,i),o(n[1].data[~u],n),a())}return 0===e.length?null:(i=e.pop(),t=e.pop(),a())}return function(u,g){for(n=g;e.length;)e.pop();return o(u.value,g),a}}const Cl=/\ufffd(\d+):?\d*\ufffd/gi,TM=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,IM=/\ufffd(\d+)\ufffd/,Yg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,SM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,OM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,AM=/\uE500/g;function Zg(e,t,n,i,r,o,a){const u=ns(e,i,1,null);let g=u<<Vn.SHIFT,b=yo();t===b&&(b=null),null===b&&(g|=Vn.APPEND_EAGERLY),a&&(g|=Vn.COMMENT,function(e){void 0===yc&&(yc=e())}(wM)),r.push(g,null===o?"":o);const A=Vc(e,u,a?32:1,null===o?"":o,null);Bg(n,A);const ie=A.index;return Vi(A,!1),null!==b&&t!==b&&function(e,t){let n=e.insertBeforeIndex;null===n?(dp(Lg,jg),n=e.insertBeforeIndex=[null,t]):(function(e,t,n){e!=t&&ht(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(b,ie),A}function PM(e,t,n,i,r,o,a){const u=a.match(Cl),g=Zg(e,t,n,o,i,u?null:a,!1);u&&vs(r,a,g.index,null,0,null)}function vs(e,t,n,i,r,o){const a=e.length,u=a+1;e.push(null,null);const g=a+2,b=t.split(Cl);let A=0;for(let ie=0;ie<b.length;ie++){const pe=b[ie];if(1&ie){const Se=r+parseInt(pe,10);e.push(-1-Se),A|=Jg(Se)}else""!==pe&&e.push(pe)}return e.push(n<<2|(i?1:0)),i&&e.push(i,o),e[a]=A,e[u]=e.length-g,A}function kM(e){let t=0;for(let n=0;n<e.length;n++){const i=e[n];"number"==typeof i&&i<0&&t++}return t}function Jg(e){return 1<<Math.min(e,31)}function Xg(e){let t,o,n="",i=0,r=!1;for(;null!==(t=SM.exec(e));)r?t[0]===`\ufffd/*${o}\ufffd`&&(i=t.index,r=!1):(n+=e.substring(i,t.index+t[0].length),o=t[1],r=!0);return n+=e.substr(i),n}function qg(e,t,n,i,r,o){let a=0;const u={type:r.type,currentCaseLViewIndex:ns(e,t,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function(e,t,n){e.push(Jg(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,r,o),function(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,o,u);const g=r.values;for(let b=0;b<g.length;b++){const A=g[b],ie=[];for(let pe=0;pe<A.length;pe++){const Se=A[pe];if("string"!=typeof Se){const He=ie.push(Se)-1;A[pe]=`\x3c!--\ufffd${He}\ufffd--\x3e`}}a=BM(e,u,t,n,i,r.cases[b],A.join(""),ie)|a}a&&function(e,t,n){e.push(t,1,n<<2|3)}(n,a,o)}function jM(e){const t=[],n=[];let i=1,r=0;const o=hd(e=e.replace(Yg,function(a,u,g){return i="select"===g?0:1,r=parseInt(u.substr(1),10),""}));for(let a=0;a<o.length;){let u=o[a++].trim();1===i&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);const g=hd(o[a++]);t.length>n.length&&n.push(g)}return{type:i,mainBinding:r,cases:t,values:n}}function hd(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const g=e.substring(t,u);Yg.test(g)?i.push(jM(g)):i.push(g),t=u+1}}else{if(0==n.length){const g=e.substring(t,u);i.push(g),t=u+1}n.push("{")}}const a=e.substring(t);return i.push(a),i}function BM(e,t,n,i,r,o,a,u){const g=[],b=[],A=[];t.cases.push(o),t.create.push(g),t.remove.push(b),t.update.push(A);const pe=bf(Mr()).getInertBodyElement(a),Se=hc(pe)||pe;return Se?e_(e,t,n,i,g,b,A,Se,r,u,0):0}function e_(e,t,n,i,r,o,a,u,g,b,A){let ie=0,pe=u.firstChild;for(;pe;){const Se=ns(e,n,1,null);switch(pe.nodeType){case Node.ELEMENT_NODE:const He=pe,ct=He.tagName.toLowerCase();if(cc.hasOwnProperty(ct)){fd(r,_l,ct,g,Se),e.data[Se]=ct;const $t=He.attributes;for(let Xt=0;Xt<$t.length;Xt++){const gn=$t.item(Xt),Xn=gn.name.toLowerCase();gn.value.match(Cl)?wf.hasOwnProperty(Xn)&&vs(a,gn.value,Se,gn.name,0,uc[Xn]?Gs:dc[Xn]?Cf:null):zM(r,Se,gn)}ie=e_(e,t,n,i,r,o,a,pe,Se,b,A+1)|ie,t_(o,Se,A)}break;case Node.TEXT_NODE:const qe=pe.textContent||"",xt=qe.match(Cl);fd(r,null,xt?"":qe,g,Se),t_(o,Se,A),xt&&(ie=vs(a,qe,Se,null,0,null)|ie);break;case Node.COMMENT_NODE:const Et=IM.exec(pe.textContent||"");if(Et){const Xt=b[parseInt(Et[1],10)];fd(r,yl,"",g,Se),qg(e,n,i,g,Xt,Se),VM(o,Se,A)}}pe=pe.nextSibling}return ie}function t_(e,t,n){0===n&&e.push(t)}function VM(e,t,n){0===n&&(e.push(~t),e.push(t))}function fd(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,function(e,t,n){return 0|t<<17|n<<1}(0,i,r))}function zM(e,t,n){e.push(t<<1|1,n.name,n.value)}const $M=/\[(\ufffd.+?\ufffd?)\]/,WM=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,GM=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,KM=/{([A-Z0-9_]+)}/g,QM=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,YM=/\/\*/,ZM=/\d+\:(\d+)/;function i_(e,t={}){let n=e;if($M.test(e)){const i={},r=[0];n=n.replace(WM,(o,a,u)=>{const g=a||u,b=i[g]||[];if(b.length||(g.split("|").forEach(ct=>{const qe=ct.match(ZM),xt=qe?parseInt(qe[1],10):0,Et=YM.test(ct);b.push([xt,Et,ct])}),i[g]=b),!b.length)throw new Error(`i18n postprocess: unmatched placeholder - ${g}`);const A=r[r.length-1];let ie=0;for(let ct=0;ct<b.length;ct++)if(b[ct][0]===A){ie=ct;break}const[pe,Se,He]=b[ie];return Se?r.pop():A!==pe&&r.push(pe),b.splice(ie,1),He})}return Object.keys(t).length&&(n=n.replace(GM,(i,r,o,a,u,g)=>t.hasOwnProperty(o)?`${r}${t[o]}${g}`:i),n=n.replace(KM,(i,r)=>t.hasOwnProperty(r)?t[r]:i),n=n.replace(QM,(i,r)=>{if(t.hasOwnProperty(r)){const o=t[r];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${r}`);return o.shift()}return i})),n}function pd(e,t,n=-1){const i=pn(),r=Tt(),o=20+e,a=Gn(i.consts,t),u=yo();i.firstCreatePass&&function(e,t,n,i,r,o){const a=yo(),u=[],g=[],b=[[]],A=function(e){return e.replace(AM," ")}(r=function(e,t){if(function(e){return-1===e}(t))return Xg(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Xg(e.substring(n,i))}}(r,o)).split(OM);for(let ie=0;ie<A.length;ie++){let pe=A[ie];if(0==(1&ie)){const Se=hd(pe);for(let He=0;He<Se.length;He++){let ct=Se[He];if(0==(1&He)){const qe=ct;""!==qe&&PM(e,a,b[0],u,g,n,qe)}else{const qe=ct;if("object"!=typeof qe)throw new Error(`Unable to parse ICU expression in "${r}" message.`);qg(e,n,g,t,qe,Zg(e,a,b[0],n,u,"",!0).index)}}}else{const Se=47===pe.charCodeAt(0),ct=(pe.charCodeAt(Se?1:0),20+Number.parseInt(pe.substring(Se?2:1)));if(Se)b.shift(),Vi(yo(),!1);else{const qe=yM(e,b[0],ct);b.unshift([]),Vi(qe,!0)}}}e.data[i]={create:u,update:g}}(i,null===u?0:u.index,r,o,a,n);const g=i.data[o],A=op(i,u===r[6]?null:u,r);(function(e,t,n,i){const r=e[11];for(let o=0;o<t.length;o++){const a=t[o++],u=t[o],g=(a&Vn.COMMENT)===Vn.COMMENT,b=(a&Vn.APPEND_EAGERLY)===Vn.APPEND_EAGERLY,A=a>>>Vn.SHIFT;let ie=e[A];null===ie&&(ie=e[A]=g?r.createComment(u):Dc(r,u)),b&&null!==n&&wo(r,n,ie,i,!1)}})(r,g.create,A,u&&8&u.type?r[u.index]:null),nn(!0)}function md(){nn(!1)}function r_(e,t,n){pd(e,t,n),md()}function o_(e,t){const n=pn();!function(e,t,n){const r=Fn().index,o=[];if(e.firstCreatePass&&null===e.data[t]){for(let a=0;a<n.length;a+=2){const u=n[a],g=n[a+1];if(""!==g){if(TM.test(g))throw new Error(`ICU expressions are not supported in attributes. Message: "${g}".`);vs(o,g,r,u,kM(o),null)}}e.data[t]=o}}(n,e+20,Gn(n.consts,t))}function gd(e){return function(e){e&&(da|=1<<Math.min(ha,31)),ha++}(fi(Tt(),vt(),e)),gd}function s_(e){!function(e,t,n){if(ha>0){const i=e.data[n];Wg(e,t,Array.isArray(i)?i:i.update,Ae()-ha-1,da)}da=0,ha=0}(pn(),Tt(),e+20)}function a_(e,t={}){return i_(e,t)}function _d(e,t,n,i,r){if(e=Y(e),Array.isArray(e))for(let o=0;o<e.length;o++)_d(e[o],t,n,i,r);else{const o=pn(),a=Tt();let u=os(e)?e:Y(e.provide),g=rm(e);const b=Fn(),A=1048575&b.providerIndexes,ie=b.directiveStart,pe=b.providerIndexes>>20;if(os(e)||!e.multi){const Se=new Pi(g,r,aa),He=vd(u,t,r?A:A+pe,ie);-1===He?(Wa(Hs(b,a),o,u),yd(o,e,t.length),t.push(u),b.directiveStart++,b.directiveEnd++,r&&(b.providerIndexes+=1048576),n.push(Se),a.push(Se)):(n[He]=Se,a[He]=Se)}else{const Se=vd(u,t,A+pe,ie),He=vd(u,t,A,A+pe),ct=Se>=0&&n[Se],qe=He>=0&&n[He];if(r&&!qe||!r&&!ct){Wa(Hs(b,a),o,u);const xt=function(e,t,n,i,r){const o=new Pi(e,n,aa);return o.multi=[],o.index=t,o.componentProviders=0,l_(o,r,i&&!n),o}(r?qM:XM,n.length,r,i,g);!r&&qe&&(n[He].providerFactory=xt),yd(o,e,t.length,0),t.push(u),b.directiveStart++,b.directiveEnd++,r&&(b.providerIndexes+=1048576),n.push(xt),a.push(xt)}else yd(o,e,Se>-1?Se:He,l_(n[r?He:Se],g,!r&&i));!r&&i&&qe&&n[He].componentProviders++}}}function yd(e,t,n,i){const r=os(t);if(r||function(e){return!!e.useClass}(t)){const a=(t.useClass||t).prototype.ngOnDestroy;if(a){const u=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const g=u.indexOf(n);-1===g?u.push(n,[i,a]):u[g+1].push(i,a)}else u.push(n,a)}}}function l_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function XM(e,t,n,i){return bd(this.multi,[])}function qM(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=Us(n,n[1],this.providerFactory.index,i);o=u.slice(0,a),bd(r,o);for(let g=a;g<u.length;g++)o.push(u[g])}else o=[],bd(r,o);return o}function bd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function c_(e,t=[]){return n=>{n.providersResolver=(i,r)=>function(e,t,n){const i=pn();if(i.firstCreatePass){const r=ni(e);_d(n,i.data,i.blueprint,r,!0),_d(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Cd{}class bs{}function u_(e){const t=Error(`No component factory found for ${k(e)}. Did you add it to @NgModule.entryComponents?`);return t[d_]=e,t}const d_="ngComponent";class t0{resolveComponentFactory(t){throw u_(t)}}let Cs=(()=>{class e{}return e.NULL=new t0,e})();class n0{constructor(t,n,i){this._parent=n,this._ngModule=i,this._factories=new Map;for(let r=0;r<t.length;r++){const o=t[r];this._factories.set(o.componentType,o)}}resolveComponentFactory(t){let n=this._factories.get(t);if(!n&&this._parent&&(n=this._parent.resolveComponentFactory(t)),!n)throw u_(t);return new Ed(n,this._ngModule)}}class Ed extends bs{constructor(t,n){super(),this.factory=t,this.ngModule=n,this.selector=t.selector,this.componentType=t.componentType,this.ngContentSelectors=t.ngContentSelectors,this.inputs=t.inputs,this.outputs=t.outputs}create(t,n,i,r){return this.factory.create(t,n,i,r||this.ngModule)}}function El(...e){}function h_(){return So(Fn(),Tt())}function So(e,t){return new cr(It(e,t))}const f_=h_,r0=f_;let cr=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=r0,e})();function p_(e){return e instanceof cr?e.nativeElement:e}class Dl{}let m_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>o0(),e})();const g_=__,o0=g_;function __(){const e=Tt(),n=bn(Fn().index,e);return function(e){return e[11]}(ti(n)?n:e)}let Dd=(()=>{class e{}return e.\u0275prov=R({token:e,providedIn:"root",factory:()=>null}),e})();class y_{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Md=new y_("12.2.11");class wd{constructor(){}supports(t){return ia(t)}create(t){return new v_(t)}}const a0=(e,t)=>t;class v_{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||a0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const a=!i||n&&n.currentIndex<C_(i,r,o)?n:i,u=C_(a,r,o),g=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)r++;else{o||(o=[]);const b=u-r,A=g-r;if(b!=A){for(let pe=0;pe<b;pe++){const Se=pe<o.length?o[pe]:o[pe]=0,He=Se+pe;A<=He&&He<b&&(o[pe]=Se+1)}o[a.previousIndex]=A-b}}u!==g&&t(a,u,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ia(t))throw new Error(`Error trying to diff '${k(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),i=!0),n=n._next}else r=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ss()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,u=>{a=this._trackByFn(r,u),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,u,a,r)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new l0(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new b_),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new b_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class l0{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class c0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class b_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new c0,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function C_(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Td{constructor(){}supports(t){return t instanceof Map||lu(t)}create(){return new u0}}class u0{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||lu(t)))throw new Error(`Error trying to diff '${k(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new d0(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class d0{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 Id(){return new Ml([new wd])}let Ml=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Id()),deps:[[e,new Gr,new Wr]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=R({token:e,providedIn:"root",factory:Id}),e})();function Sd(){return new wl([new Td])}let wl=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Sd()),deps:[[e,new Gr,new Wr]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=R({token:e,providedIn:"root",factory:Sd}),e})();function Tl(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(_(o)),Cn(o))for(let u=10;u<o.length;u++){const g=o[u],b=g[1].firstChild;null!==b&&Tl(g[1],g,b,i)}const a=n.type;if(8&a)Tl(e,t,n.child,i);else if(32&a){const u=vc(n,t);let g;for(;g=u();)i.push(g)}else if(16&a){const u=hp(t,n);if(Array.isArray(u))i.push(...u);else{const g=Zs(t[16]);Tl(g[1],g,u,i,!0)}}n=r?n.projectionNext:n.next}return i}class pa{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Tl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Cn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(wc(t,i),Co(n,i))}this._attachedToViewContainer=!1}ip(this._lView[1],this._lView)}onDestroy(t){jp(this._lView[1],this._lView,null,t)}markForCheck(){Gc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Qc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){de(!0);try{Qc(e,t,n)}finally{de(!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,Js(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 f0 extends pa{constructor(t){super(t),this._view=t}detectChanges(){Kp(this._view)}checkNoChanges(){!function(e){de(!0);try{Kp(e)}finally{de(!1)}}(this._view)}get context(){return null}}const E_=D_,p0=E_;let Od=(()=>{class e{}return e.__NG_ELEMENT_ID__=p0,e})();function D_(e){return function(e,t,n){if(ci(e)&&!n){const i=bn(e.index,t);return new pa(i,i)}return 47&e.type?new pa(t[16],t):null}(Fn(),Tt(),16==(16&e))}const g0=[new Td],M_=new Ml([new wd]),w_=new wl(g0),T_=I_,y0=T_;let Oo=(()=>{class e{}return e.__NG_ELEMENT_ID__=y0,e})();const v0=Oo,b0=class extends v0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Xs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(n)),qs(n,i,t),new pa(i)}};function I_(){return ma(Fn(),Tt())}function ma(e,t){return 4&e.type?new b0(t,e,So(e,t)):null}class uo{}class Ad{}const S_=O_,C0=S_;let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=C0,e})();function O_(){return R_(Fn(),Tt())}const E0=ga,A_=class extends E0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new jo(this._hostTNode,this._hostLView)}get parentInjector(){const t=$a(this._hostTNode,this._hostLView);if(Uh(t)){const n=Lo(t,this._hostLView),i=No(t);return new jo(n[1].data[i+8],n)}return new jo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=x_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const r=t.createEmbeddedView(n||{});return this.insert(r,i),r}createComponent(t,n,i,r,o){const a=i||this.parentInjector;if(!o&&null==t.ngModule&&a){const g=a.get(uo,null);g&&(o=g)}const u=t.create(a,r,void 0,o);return this.insert(u.hostView,n),u}insert(t,n){const i=t._lView,r=i[1];if(Cn(i[3])){const A=this.indexOf(t);if(-1!==A)this.detach(A);else{const ie=i[3],pe=new A_(ie,ie[6],ie[3]);pe.detach(pe.indexOf(t))}}const o=this._adjustIndex(n),a=this._lContainer;!function(e,t,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i<o-10?(t[4]=n[r],Ya(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const u=t[19];null!==u&&u.insertView(e),t[2]|=128}(r,i,a,o);const u=Sc(o,a),g=i[11],b=il(g,a[7]);return null!==b&&function(e,t,n,i,r,o){i[0]=r,i[6]=t,Js(e,i,n,1,r,o)}(r,a[6],g,i,b,u),t.attachToViewContainerRef(),Ya(xd(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=x_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=wc(this._lContainer,n);i&&(Co(xd(this._lContainer),n),ip(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=wc(this._lContainer,n);return i&&null!=Co(xd(this._lContainer),n)?new pa(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function x_(e){return e[8]}function xd(e){return e[8]||(e[8]=[])}function R_(e,t){let n;const i=t[e.index];if(Cn(i))n=i;else{let r;if(8&e.type)r=_(i);else{const o=t[11];r=o.createComment("");const a=It(e,t);wo(o,il(o,a),r,function(e,t){return E(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=Gp(i,t,r,e),ul(t,n)}return new A_(n,e,t)}function P_(e,t,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return F_(n,t),n}(r,e)}function F_(e,t){e[Vf]=t,e[Hf]=t.logError.bind(t)}function k_(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Il(e,t,n){const i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function Sl(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function _a(e,t){return e.nodes[t]}function En(e,t){return e.nodes[t]}function ho(e,t){return e.nodes[t]}function Es(e,t){return e.nodes[t]}function ya(e,t){return e.nodes[t]}class T0{}const ln={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Yi=()=>{},Rd=new Map;function ai(e){let t=Rd.get(e);return t||(t=k(e)+"_"+Rd.size,Rd.set(e,t)),t}function I0(e,t,n,i){if(Ki.isWrapped(i)){i=Ki.unwrap(i);const r=e.def.nodes[t].bindingIndex+n,o=Ki.unwrap(e.oldValues[r]);e.oldValues[r]=new Ki(o)}return i}const N_="$$undefined",L_="$$empty";function S0(e){return{id:N_,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let O0=0;function Zi(e,t,n,i){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],i))}function Nn(e,t,n,i){return!!Zi(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function ur(e,t,n,i){const r=e.oldValues[t.bindingIndex+n];if(1&e.state||!au(r,i)){const o=t.bindings[n].name;throw P_(ln.createDebugContext(e,t.nodeIndex),`${o}: ${r}`,`${o}: ${i}`,0!=(1&e.state))}}function j_(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function x0(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function B_(e,t,n,i){try{return j_(33554432&e.def.nodes[t].flags?En(e,t).componentView:e),ln.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function Pd(e){return e.parent?En(e.parent,e.parentNodeDef.nodeIndex):null}function Ds(e){return e.parent?e.parentNodeDef.parent:null}function va(e,t){switch(201347067&t.flags){case 1:return En(e,t.nodeIndex).renderElement;case 2:return _a(e,t.nodeIndex).renderText}}function R0(e,t){return e?`${e}:${t}`:t}function Ao(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function P0(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function V_(e){return 1<<e%32}function Fd(e){const t={};let n=0;const i={};return e&&e.forEach(([r,o])=>{"number"==typeof r?(t[r]=o,n|=V_(r)):i[r]=o}),{matchedQueries:t,references:i,matchedQueryIds:n}}function ba(e,t){return e.map(n=>{let i,r;return Array.isArray(n)?[r,i]=n:(r=0,i=n),i&&("function"==typeof i||"object"==typeof i)&&t&&Object.defineProperty(i,ic,{value:t,configurable:!0}),{flags:r,token:i,tokenKey:ai(i)}})}function kd(e,t,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&(i.element.componentRendererType.encapsulation===X.ShadowDom||1===i.element.componentRendererType.encapsulation)?En(e,n.renderParent.nodeIndex).renderElement:void 0:t}const H_=new WeakMap;function Ms(e){let t=H_.get(e);return t||(t=e(()=>Yi),t.factory=e,H_.set(e,t)),t}function Ol(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(va(e,e.def.lastRenderRootNode))),U_(e,t,0,e.def.nodes.length-1,n,i,r)}function U_(e,t,n,i,r,o,a){for(let u=n;u<=i;u++){const g=e.def.nodes[u];11&g.flags&&$_(e,g,t,r,o,a),u+=g.childCount}}function z_(e,t,n,i,r,o){let a=e;for(;a&&!Ao(a);)a=a.parent;const u=a.parent,g=Ds(a),A=g.nodeIndex+g.childCount;for(let ie=g.nodeIndex+1;ie<=A;ie++){const pe=u.def.nodes[ie];pe.ngContentIndex===t&&$_(u,pe,n,i,r,o),ie+=pe.childCount}if(!u.parent){const ie=e.root.projectableNodes[t];if(ie)for(let pe=0;pe<ie.length;pe++)Al(e,ie[pe],n,i,r,o)}}function $_(e,t,n,i,r,o){if(8&t.flags)z_(e,t.ngContent.index,n,i,r,o);else{const a=va(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Al(e,a,n,i,r,o),32&t.bindingFlags&&Al(En(e,t.nodeIndex).componentView,a,n,i,r,o)):Al(e,a,n,i,r,o),16777216&t.flags){const u=En(e,t.nodeIndex).viewContainer._embeddedViews;for(let g=0;g<u.length;g++)Ol(u[g],n,i,r,o)}1&t.flags&&!t.element.name&&U_(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,o)}}function Al(e,t,n,i,r,o){const a=e.renderer;switch(n){case 1:a.appendChild(i,t);break;case 2:a.insertBefore(i,t,r);break;case 3:a.removeChild(i,t);break;case 0:o.push(t)}}const k0=/^:([^:]+):(.+)$/;function Nd(e){if(":"===e[0]){const t=e.match(k0);return[t[1],t[2]]}return["",e]}function Ld(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function N0(e,t){let n="";for(let i=0;i<2*e;i+=2)n=n+t[i]+sn(t[i+1]);return n+t[2*e]}function L0(e,t,n,i,r,o,a,u,g,b,A,ie,pe,Se,He,ct,qe,xt,Et,$t){switch(e){case 1:return t+sn(n)+i;case 2:return t+sn(n)+i+sn(r)+o;case 3:return t+sn(n)+i+sn(r)+o+sn(a)+u;case 4:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b;case 5:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b+sn(A)+ie;case 6:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b+sn(A)+ie+sn(pe)+Se;case 7:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b+sn(A)+ie+sn(pe)+Se+sn(He)+ct;case 8:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b+sn(A)+ie+sn(pe)+Se+sn(He)+ct+sn(qe)+xt;case 9:return t+sn(n)+i+sn(r)+o+sn(a)+u+sn(g)+b+sn(A)+ie+sn(pe)+Se+sn(He)+ct+sn(qe)+xt+sn(Et)+$t;default:throw new Error("Does not support more than 9 expressions")}}function sn(e){return null!=e?e.toString():""}const j0={},Ca={},B0=ai(Sn),V0=ai(co),H0=ai(uo);function U0(e,t,n,i){return n=Y(n),{index:-1,deps:ba(i,k(t)),flags:e,token:t,value:n}}function z0(e){const t={},n=[];let i=null;for(let r=0;r<e.length;r++){const o=e[r];o.token===ea&&(i=o.value),1073741824&o.flags&&n.push(o.token),o.index=r,t[ai(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,scope:i}}function pi(e,t,n=Sn.THROW_IF_NOT_FOUND){const i=Eo(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const r=t.tokenKey;switch(r){case B0:case V0:case H0:return e}const o=e._def.providersByKey[r];let a;if(o){let u=e._providers[o.index];return void 0===u&&(u=e._providers[o.index]=jd(e,o)),u===Ca?void 0:u}if((a=ge(t.token))&&function(e,t){const n=Y(t.providedIn);return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,a)){const u=e._providers.length;return e._def.providers[u]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:u,token:t.token},e._providers[u]=Ca,e._providers[u]=jd(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Eo(i)}}function jd(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const i=n.length;switch(i){case 0:return new t;case 1:return new t(pi(e,n[0]));case 2:return new t(pi(e,n[0]),pi(e,n[1]));case 3:return new t(pi(e,n[0]),pi(e,n[1]),pi(e,n[2]));default:const r=[];for(let o=0;o<i;o++)r[o]=pi(e,n[o]);return new t(...r)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const i=n.length;switch(i){case 0:return t();case 1:return t(pi(e,n[0]));case 2:return t(pi(e,n[0]),pi(e,n[1]));case 3:return t(pi(e,n[0]),pi(e,n[1]),pi(e,n[2]));default:const r=[];for(let o=0;o<i;o++)r[o]=pi(e,n[o]);return t(...r)}}(e,t.value,t.deps);break;case 2048:n=pi(e,t.deps[0]);break;case 256:n=t.value}return n!==Ca&&null!==n&&"object"==typeof n&&!(131072&t.flags)&&"function"==typeof n.ngOnDestroy&&(t.flags|=131072),void 0===n?Ca:n}function Bd(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const i=n[t];return i.viewContainerParent=null,Co(n,t),ln.dirtyParentQueries(i),Vd(i),i}function W_(e,t,n){const i=t?va(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);Ol(n,2,r,o,void 0)}function Vd(e){Ol(e,3,null,null,void 0)}const tw={};function nw(e,t,n,i,r,o){return new iw(e,t,n,i,r,o)}function G_(e){return e.viewDefFactory}class iw extends bs{constructor(t,n,i,r,o,a){super(),this.selector=t,this.componentType=n,this._inputs=r,this._outputs=o,this.ngContentSelectors=a,this.viewDefFactory=i}get inputs(){const t=[],n=this._inputs;for(let i in n)t.push({propName:i,templateName:n[i]});return t}get outputs(){const t=[];for(let n in this._outputs)t.push({propName:n,templateName:this._outputs[n]});return t}create(t,n,i,r){if(!r)throw new Error("ngModule should be provided");const o=Ms(this.viewDefFactory),a=o.nodes[0].element.componentProvider.nodeIndex,u=ln.createRootView(t,n||[],i,o,r,tw),g=ho(u,a).instance;return i&&u.renderer.setAttribute(En(u,0).renderElement,"ng-version",Md.full),new rw(u,new Ea(u),g)}}class rw extends Cd{constructor(t,n,i){super(),this._view=t,this._viewRef=n,this._component=i,this._elDef=this._view.def.nodes[0],this.hostView=n,this.changeDetectorRef=n,this.instance=i}get location(){return new cr(En(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Da(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function ow(e,t,n){return new sw(e,t,n)}class sw{constructor(t,n,i){this._view=t,this._elDef=n,this._data=i,this._embeddedViews=[]}get element(){return new cr(this._data.renderElement)}get injector(){return new Da(this._view,this._elDef)}get parentInjector(){let t=this._view,n=this._elDef.parent;for(;!n&&t;)n=Ds(t),t=t.parent;return t?new Da(t,n):new Da(this._view,null)}clear(){for(let n=this._embeddedViews.length-1;n>=0;n--){const i=Bd(this._data,n);ln.destroyView(i)}}get(t){const n=this._embeddedViews[t];if(n){const i=new Ea(n);return i.attachToViewContainerRef(this),i}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,n,i){const r=t.createEmbeddedView(n||{});return this.insert(r,i),r}createComponent(t,n,i,r,o){const a=i||this.parentInjector;!o&&!(t instanceof Ed)&&(o=a.get(uo));const u=t.create(a,r,void 0,o);return this.insert(u.hostView,n),u}insert(t,n){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const i=t;return function(e,t,n,i){let r=t.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=e,Ya(r,n,i),function(e,t){const n=Pd(t);if(!n||n===e||16&t.state)return;t.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,i),ln.dirtyParentQueries(i),W_(t,n>0?r[n-1]:null,i)}(this._view,this._data,n,i._view),i.attachToViewContainerRef(this),t}move(t,n){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const i=this._embeddedViews.indexOf(t._view);return function(e,t,n){const i=e.viewContainer._embeddedViews,r=i[t];Co(i,t),null==n&&(n=i.length),Ya(i,n,r),ln.dirtyParentQueries(r),Vd(r),W_(e,n>0?i[n-1]:null,r)}(this._data,i,n),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const n=Bd(this._data,t);n&&ln.destroyView(n)}detach(t){const n=Bd(this._data,t);return n?new Ea(n):null}}function aw(e){return new Ea(e)}class Ea{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Ol(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}set context(t){this._view.context=t}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){j_(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{ln.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){ln.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ln.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Vd(this._view),ln.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function lw(e,t){return new cw(e,t)}class cw extends Oo{constructor(t,n){super(),this._parentView=t,this._def=n}createEmbeddedView(t){return new Ea(ln.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new cr(En(this._parentView,this._def.nodeIndex).renderElement)}}function K_(e,t){return new Da(e,t)}class Da{constructor(t,n){this.view=t,this.elDef=n}get(t,n=Sn.THROW_IF_NOT_FOUND){return ln.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ai(t)},n)}}function uw(e,t){const n=e.def.nodes[t];if(1&n.flags){const i=En(e,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return _a(e,n.nodeIndex).renderText;if(20240&n.flags)return ho(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Q_(e,t,n,i){return new dw(e,t,n,i)}class dw{constructor(t,n,i,r){this._moduleType=t,this._parent=n,this._bootstrapComponents=i,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=oo(t.providers.length);for(let i=0;i<t.providers.length;i++){const r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=jd(e,r))}}(this)}get(t,n=Sn.THROW_IF_NOT_FOUND,i=K.Default){let r=0;return i&K.SkipSelf?r|=1:i&K.Self&&(r|=4),pi(this,{token:t,tokenKey:ai(t),flags:r},n)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Cs)}destroy(){if(this._destroyed)throw new Error(`The ng module ${k(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,i=new Set;for(let r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){const a=e._providers[r];if(a&&a!==Ca){const u=a.ngOnDestroy;"function"==typeof u&&!i.has(a)&&(u.apply(a),i.add(a))}}}(this),this._destroyListeners.forEach(t=>t())}onDestroy(t){this._destroyListeners.push(t)}}const hw=ai(m_),fw=ai(cr),pw=ai(ga),mw=ai(Oo),Y_=ai(Od),gw=ai(Sn),_w=ai(co);function yw(e,t,n,i,r,o,a,u){const g=[];if(a)for(let A in a){const[ie,pe]=a[A];g[ie]={flags:8,name:A,nonMinifiedName:pe,ns:null,securityContext:null,suffix:null}}const b=[];if(u)for(let A in u)b.push({type:1,propName:A,target:null,eventName:u[A]});return xl(e,t|=16384,n,i,r,r,o,g,b)}function vw(e,t,n){return xl(-1,e|=16,null,0,t,t,n)}function bw(e,t,n,i,r){return xl(-1,e,t,0,n,i,r)}function xl(e,t,n,i,r,o,a,u,g){const{matchedQueries:b,references:A,matchedQueryIds:ie}=Fd(n);g||(g=[]),u||(u=[]),o=Y(o);const pe=ba(a,k(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:b,matchedQueryIds:ie,references:A,ngContentIndex:-1,childCount:i,bindings:u,bindingFlags:Ld(u),outputs:g,element:null,provider:{token:r,value:o,deps:pe},text:null,query:null,ngContent:null}}function Cw(e,t){return Z_(e,t)}function Ew(e,t){let n=e;for(;n.parent&&!Ao(n);)n=n.parent;return Hd(n.parent,Ds(n),!0,t.provider.value,t.provider.deps)}function Dw(e,t){const i=Hd(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const o=t.outputs[r],a=i[o.propName];if(!Ou(a))throw new Error(`@Output ${o.propName} not initialized in '${i.constructor.name}'.`);{const u=a.subscribe(Mw(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=u.unsubscribe.bind(u)}}return i}function Mw(e,t,n){return i=>B_(e,t,n,i)}function Z_(e,t){const n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return Hd(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){const o=r.length;switch(o){case 0:return i();case 1:return i(mi(e,t,n,r[0]));case 2:return i(mi(e,t,n,r[0]),mi(e,t,n,r[1]));case 3:return i(mi(e,t,n,r[0]),mi(e,t,n,r[1]),mi(e,t,n,r[2]));default:const a=[];for(let u=0;u<o;u++)a.push(mi(e,t,n,r[u]));return i(...a)}}(e,t.parent,n,i.value,i.deps);case 2048:return mi(e,t.parent,n,i.deps[0]);case 256:return i.value}}function Hd(e,t,n,i,r){const o=r.length;switch(o){case 0:return new i;case 1:return new i(mi(e,t,n,r[0]));case 2:return new i(mi(e,t,n,r[0]),mi(e,t,n,r[1]));case 3:return new i(mi(e,t,n,r[0]),mi(e,t,n,r[1]),mi(e,t,n,r[2]));default:const a=[];for(let u=0;u<o;u++)a.push(mi(e,t,n,r[u]));return new i(...a)}}const xo={};function mi(e,t,n,i,r=Sn.THROW_IF_NOT_FOUND){if(8&i.flags)return i.token;const o=e;2&i.flags&&(r=null);const a=i.tokenKey;a===Y_&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);let u=e;for(;u;){if(t)switch(a){case hw:return J_(u,t,n).renderer;case fw:return new cr(En(u,t.nodeIndex).renderElement);case pw:return En(u,t.nodeIndex).viewContainer;case mw:if(t.element.template)return En(u,t.nodeIndex).template;break;case Y_:return aw(J_(u,t,n));case gw:case _w:return K_(u,t);default:const b=(n?t.element.allProviders:t.element.publicProviders)[a];if(b){let A=ho(u,b.nodeIndex);return A||(A={instance:Z_(u,b)},u.nodes[b.nodeIndex]=A),A.instance}}n=Ao(u),t=Ds(u),u=u.parent,4&i.flags&&(u=null)}const g=o.root.injector.get(i.token,xo);return g!==xo||r===xo?g:o.root.ngModule.injector.get(i.token,r)}function J_(e,t,n){let i;if(n)i=En(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!Ao(i);)i=i.parent;return i}function dr(e,t,n,i,r,o){if(32768&n.flags){const g=En(e,n.parent.nodeIndex).componentView;2&g.def.flags&&(g.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};const g=Ki.unwrap(e.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new er(g,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,o}function Ud(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let i=0;for(let r=0;r<n.length;r++){const o=n[r];let a=o.parent;for(!a&&o.flags&t&&X_(e,r,o.flags&t,i++),0==(o.childFlags&t)&&(r+=o.childCount);a&&1&a.flags&&r===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(i=Sw(e,a,t,i)),a=a.parent}}function Sw(e,t,n,i){for(let r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){const o=e.def.nodes[r];o.flags&n&&X_(e,r,o.flags&n,i++),r+=o.childCount}return i}function X_(e,t,n,i){const r=ho(e,t);if(!r)return;const o=r.instance;!o||(ln.setCurrentNode(e,t),1048576&n&&Sl(e,512,i)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Sl(e,768,i)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}class q_ extends Cs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=an(t);return new zd(n,this.ngModule)}}function ey(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const ty=new jn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Kf});class zd extends bs{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(ZC).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ey(this.componentDef.inputs)}get outputs(){return ey(this.componentDef.outputs)}create(t,n,i,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const o=e.get(n,xo,r);return o!==xo||i===xo?o:t.get(n,i,r)}}}(t,r.injector):t,a=o.get(Dl,T),u=o.get(Dd,null),g=a.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",A=i?Lp(g,i,this.componentDef.encapsulation):Mc(a.createRenderer(null,this.componentDef),b,function(e){const t=e.toLowerCase();return"svg"===t?Cr:"math"===t?no:null}(b)),ie=this.componentDef.onPush?576:528,pe=Em(),Se=cl(0,null,null,1,0,null,null,null,null,null),He=Xs(null,Se,pe,ie,null,null,a,g,u,o);let ct,qe;nr(He);try{const xt=bm(A,this.componentDef,He,a,g);if(A)if(i)Ha(g,A,["ng-version",Md.full]);else{const{attrs:Et,classes:$t}=function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!rr(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Et&&Ha(g,A,Et),$t&&$t.length>0&&Ac(g,A,$t.join(" "))}if(qe=fn(Se,20),void 0!==n){const Et=qe.projection=[];for(let $t=0;$t<this.ngContentSelectors.length;$t++){const Xt=n[$t];Et.push(null!=Xt?Array.from(Xt):null)}}ct=Cm(xt,this.componentDef,He,pe,[Dm]),qs(Se,He,null)}finally{Ei()}return new ny(this.componentType,ct,So(qe,He),He,qe)}}class ny extends Cd{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new f0(r),this.componentType=t}get injector(){return new jo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function iy(e,t,n,i){return I(()=>{const r=e;null!==t&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...t):r.decorators=t),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?Object.assign(Object.assign({},r.propDecorators),i):i)})}const ws=new Map;function Rw(e,t){const n=ws.get(e);ry(e,n&&n.moduleType,t.moduleType),ws.set(e,t)}function ry(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${k(t)} vs ${k(t.name)}`)}function oy(e){const t=new Set;!function n(i){const r=yn(i,!0),o=r.id;if(null!==o){ry(o,ws.get(o),i),ws.set(o,i)}const a=Ir(r.imports);for(const u of a)t.has(u)||(t.add(u),n(u))}(e)}function sy(e){return ws.get(e)||q[e]}class ay extends uo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new q_(this);const i=yn(t),r=t[O]||null;r&&vl(r),this._bootstrapComponents=Ir(i.bootstrap),this._r3Injector=im(t,n,[{provide:uo,useValue:this},{provide:Cs,useValue:this.componentFactoryResolver}],k(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Sn.THROW_IF_NOT_FOUND,i=K.Default){return t===Sn||t===uo||t===co?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rl extends Ad{constructor(t){super(),this.moduleType=t,null!==yn(t)&&oy(t)}create(t){return new ay(this.moduleType,t)}}function ly(e,t,n){const i=De()+e,r=Tt();return r[i]===on?Ar(r,i,n?t.call(n):t()):ra(r,i)}function cy(e,t,n,i){return $d(Tt(),De(),e,t,n,i)}function uy(e,t,n,i,r){return Wd(Tt(),De(),e,t,n,i,r)}function dy(e,t,n,i,r,o){return Gd(Tt(),De(),e,t,n,i,r,o)}function hy(e,t,n,i,r,o,a){return Kd(Tt(),De(),e,t,n,i,r,o,a)}function fy(e,t,n,i,r,o,a,u){const g=De()+e,b=Tt(),A=Qi(b,g,n,i,r,o);return fi(b,g+4,a)||A?Ar(b,g+5,u?t.call(u,n,i,r,o,a):t(n,i,r,o,a)):ra(b,g+5)}function py(e,t,n,i,r,o,a,u,g){const b=De()+e,A=Tt(),ie=Qi(A,b,n,i,r,o);return To(A,b+4,a,u)||ie?Ar(A,b+6,g?t.call(g,n,i,r,o,a,u):t(n,i,r,o,a,u)):ra(A,b+6)}function my(e,t,n,i,r,o,a,u,g,b){const A=De()+e,ie=Tt();let pe=Qi(ie,A,n,i,r,o);return fl(ie,A+4,a,u,g)||pe?Ar(ie,A+7,b?t.call(b,n,i,r,o,a,u,g):t(n,i,r,o,a,u,g)):ra(ie,A+7)}function gy(e,t,n,i,r,o,a,u,g,b,A){const ie=De()+e,pe=Tt(),Se=Qi(pe,ie,n,i,r,o);return Qi(pe,ie+4,a,u,g,b)||Se?Ar(pe,ie+8,A?t.call(A,n,i,r,o,a,u,g,b):t(n,i,r,o,a,u,g,b)):ra(pe,ie+8)}function _y(e,t,n,i){return Qd(Tt(),De(),e,t,n,i)}function Ma(e,t){const n=e[t];return n===on?void 0:n}function $d(e,t,n,i,r,o){const a=t+n;return fi(e,a,r)?Ar(e,a+1,o?i.call(o,r):i(r)):Ma(e,a+1)}function Wd(e,t,n,i,r,o,a){const u=t+n;return To(e,u,r,o)?Ar(e,u+2,a?i.call(a,r,o):i(r,o)):Ma(e,u+2)}function Gd(e,t,n,i,r,o,a,u){const g=t+n;return fl(e,g,r,o,a)?Ar(e,g+3,u?i.call(u,r,o,a):i(r,o,a)):Ma(e,g+3)}function Kd(e,t,n,i,r,o,a,u,g){const b=t+n;return Qi(e,b,r,o,a,u)?Ar(e,b+4,g?i.call(g,r,o,a,u):i(r,o,a,u)):Ma(e,b+4)}function Qd(e,t,n,i,r,o){let a=t+n,u=!1;for(let g=0;g<r.length;g++)fi(e,a++,r[g])&&(u=!0);return u?Ar(e,a,i.apply(o,r)):Ma(e,a)}function yy(e,t){const n=pn();let i;const r=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new ne("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=yi(i.type)),a=yt(aa);try{const u=za(!1),g=o();return za(u),Im(n,Tt(),r,g),g}finally{yt(a)}}function vy(e,t,n){const i=e+20,r=Tt(),o=rn(r,i);return Ta(r,wa(r,i)?$d(r,De(),t,o.transform,n,o):o.transform(n))}function by(e,t,n,i){const r=e+20,o=Tt(),a=rn(o,r);return Ta(o,wa(o,r)?Wd(o,De(),t,a.transform,n,i,a):a.transform(n,i))}function Cy(e,t,n,i,r){const o=e+20,a=Tt(),u=rn(a,o);return Ta(a,wa(a,o)?Gd(a,De(),t,u.transform,n,i,r,u):u.transform(n,i,r))}function Ey(e,t,n,i,r,o){const a=e+20,u=Tt(),g=rn(u,a);return Ta(u,wa(u,a)?Kd(u,De(),t,g.transform,n,i,r,o,g):g.transform(n,i,r,o))}function Dy(e,t,n){const i=e+20,r=Tt(),o=rn(r,i);return Ta(r,wa(r,i)?Qd(r,De(),t,o.transform,n,o):o.transform.apply(o,n))}function wa(e,t){return e[1].data[t].pure}function Ta(e,t){return Ki.isWrapped(t)&&(t=Ki.unwrap(t),e[Ae()]=on),t}function Yd(e){return t=>{setTimeout(e,void 0,t)}}const Rr=class extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){var r,o,a;let u=t,g=n||(()=>null),b=i;if(t&&"object"==typeof t){const ie=t;u=null===(r=ie.next)||void 0===r?void 0:r.bind(ie),g=null===(o=ie.error)||void 0===o?void 0:o.bind(ie),b=null===(a=ie.complete)||void 0===a?void 0:a.bind(ie)}this.__isAsync&&(g=Yd(g),u&&(u=Yd(u)),b&&(b=Yd(b)));const A=super.subscribe({next:u,error:g,complete:b});return t instanceof c.w&&t.add(A),A}};function kw(){return this._results[ss()]()}class Ia{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ss(),i=Ia.prototype;i[n]||(i[n]=kw)}get changes(){return this._changes||(this._changes=new Rr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=$i(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Zd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Zd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const a=n.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new Jd(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Ry(t,n).matches&&this.queries[n].setDirty()}}class My{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Xd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new Xd(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class qd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new qd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,jw(n,o)),this.matchTNodeWithReadOption(t,n,Ga(n,t,o,!1,!1))}else i===Oo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ga(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===cr||r===ga||r===Oo&&4&n.type)this.addMatch(n.index,-2);else{const o=Ga(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function jw(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Vw(e,t,n,i){return-1===n?function(e,t){return 11&e.type?So(e,t):4&e.type?ma(e,t):null}(t,e):-2===n?function(e,t,n){return n===cr?So(t,e):n===Oo?ma(t,e):n===ga?R_(t,e):void 0}(e,t,i):Us(e,e[1],n,t)}function wy(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const o=e.data,a=n.matches,u=[];for(let g=0;g<a.length;g+=2){const b=a[g];u.push(b<0?null:Vw(t,o[b],a[g+1],n.metadata.read))}r.matches=u}return r.matches}function eh(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const a=wy(e,t,r,n);for(let u=0;u<o.length;u+=2){const g=o[u];if(g>0)i.push(a[u/2]);else{const b=o[u+1],A=t[-g];for(let ie=10;ie<A.length;ie++){const pe=A[ie];pe[17]===pe[3]&&eh(pe[1],pe,b,i)}if(null!==A[9]){const ie=A[9];for(let pe=0;pe<ie.length;pe++){const Se=ie[pe];eh(Se[1],Se,b,i)}}}}}return i}function Ty(e){const t=Tt(),n=pn(),i=On();An(i+1);const r=Ry(n,i);if(e.dirty&&Mn(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?eh(n,t,i,[]):wy(n,t,r,i);e.reset(o,p_),e.notifyOnChanges()}return!0}return!1}function Iy(e,t,n){const i=pn();i.firstCreatePass&&(xy(i,new My(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Ay(i,Tt(),t)}function Sy(e,t,n,i){const r=pn();if(r.firstCreatePass){const o=Fn();xy(r,new My(t,n,i),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}Ay(r,Tt(),n)}function Oy(){return e=Tt(),t=On(),e[19].queries[t].queryList;var e,t}function Ay(e,t,n){const i=new Ia(4==(4&n));jp(e,t,i,i.destroy),null===t[19]&&(t[19]=new Jd),t[19].queries.push(new Zd(i))}function xy(e,t,n){null===e.queries&&(e.queries=new Xd),e.queries.track(new qd(t,n))}function Ry(e,t){return e.queries.getByIndex(t)}function Py(e,t){return ma(e,t)}const vi=(()=>({\u0275\u0275attribute:cu,\u0275\u0275attributeInterpolate1:uu,\u0275\u0275attributeInterpolate2:du,\u0275\u0275attributeInterpolate3:hu,\u0275\u0275attributeInterpolate4:fu,\u0275\u0275attributeInterpolate5:pu,\u0275\u0275attributeInterpolate6:mu,\u0275\u0275attributeInterpolate7:gu,\u0275\u0275attributeInterpolate8:_u,\u0275\u0275attributeInterpolateV:yu,\u0275\u0275defineComponent:Ce,\u0275\u0275defineDirective:dn,\u0275\u0275defineInjectable:R,\u0275\u0275defineInjector:x,\u0275\u0275defineNgModule:tt,\u0275\u0275definePipe:cn,\u0275\u0275directiveInject:aa,\u0275\u0275getInheritedFactory:Xh,\u0275\u0275inject:Un,\u0275\u0275injectAttribute:Xl,\u0275\u0275invalidFactory:$m,\u0275\u0275invalidFactoryDep:oc,\u0275\u0275templateRefExtractor:Py,\u0275\u0275NgOnChangesFeature:Ti,\u0275\u0275ProvidersFeature:c_,\u0275\u0275CopyDefinitionFeature:wm,\u0275\u0275InheritDefinitionFeature:ou,\u0275\u0275nextContext:Jm,\u0275\u0275namespaceHTML:tn,\u0275\u0275namespaceMathML:Gt,\u0275\u0275namespaceSVG:Bt,\u0275\u0275enableBindings:Fs,\u0275\u0275disableBindings:ks,\u0275\u0275elementStart:Mu,\u0275\u0275elementEnd:wu,\u0275\u0275element:Wm,\u0275\u0275elementContainerStart:Tu,\u0275\u0275elementContainerEnd:Iu,\u0275\u0275elementContainer:Gm,\u0275\u0275pureFunction0:ly,\u0275\u0275pureFunction1:cy,\u0275\u0275pureFunction2:uy,\u0275\u0275pureFunction3:dy,\u0275\u0275pureFunction4:hy,\u0275\u0275pureFunction5:fy,\u0275\u0275pureFunction6:py,\u0275\u0275pureFunction7:my,\u0275\u0275pureFunction8:gy,\u0275\u0275pureFunctionV:_y,\u0275\u0275getCurrentView:Km,\u0275\u0275restoreView:Ns,\u0275\u0275listener:Au,\u0275\u0275projection:qm,\u0275\u0275syntheticHostProperty:ud,\u0275\u0275syntheticHostListener:xu,\u0275\u0275pipeBind1:vy,\u0275\u0275pipeBind2:by,\u0275\u0275pipeBind3:Cy,\u0275\u0275pipeBind4:Ey,\u0275\u0275pipeBindV:Dy,\u0275\u0275projectionDef:Xm,\u0275\u0275hostProperty:cd,\u0275\u0275property:Eu,\u0275\u0275propertyInterpolate:Pu,\u0275\u0275propertyInterpolate1:pl,\u0275\u0275propertyInterpolate2:Fu,\u0275\u0275propertyInterpolate3:ku,\u0275\u0275propertyInterpolate4:Nu,\u0275\u0275propertyInterpolate5:Lu,\u0275\u0275propertyInterpolate6:ju,\u0275\u0275propertyInterpolate7:Bu,\u0275\u0275propertyInterpolate8:Vu,\u0275\u0275propertyInterpolateV:Hu,\u0275\u0275pipe:yy,\u0275\u0275queryRefresh:Ty,\u0275\u0275viewQuery:Iy,\u0275\u0275loadQuery:Oy,\u0275\u0275contentQuery:Sy,\u0275\u0275reference:Sm,\u0275\u0275classMap:ag,\u0275\u0275classMapInterpolate1:mg,\u0275\u0275classMapInterpolate2:gg,\u0275\u0275classMapInterpolate3:_g,\u0275\u0275classMapInterpolate4:yg,\u0275\u0275classMapInterpolate5:vg,\u0275\u0275classMapInterpolate6:bg,\u0275\u0275classMapInterpolate7:Cg,\u0275\u0275classMapInterpolate8:Eg,\u0275\u0275classMapInterpolateV:Dg,\u0275\u0275styleMap:sr,\u0275\u0275styleMapInterpolate1:Mg,\u0275\u0275styleMapInterpolate2:wg,\u0275\u0275styleMapInterpolate3:Tg,\u0275\u0275styleMapInterpolate4:Ig,\u0275\u0275styleMapInterpolate5:Sg,\u0275\u0275styleMapInterpolate6:Og,\u0275\u0275styleMapInterpolate7:Ag,\u0275\u0275styleMapInterpolate8:xg,\u0275\u0275styleMapInterpolateV:Rg,\u0275\u0275styleProp:Uu,\u0275\u0275stylePropInterpolate1:ed,\u0275\u0275stylePropInterpolate2:td,\u0275\u0275stylePropInterpolate3:nd,\u0275\u0275stylePropInterpolate4:id,\u0275\u0275stylePropInterpolate5:rd,\u0275\u0275stylePropInterpolate6:od,\u0275\u0275stylePropInterpolate7:sd,\u0275\u0275stylePropInterpolate8:ad,\u0275\u0275stylePropInterpolateV:ld,\u0275\u0275classProp:zu,\u0275\u0275advance:Cp,\u0275\u0275template:Tm,\u0275\u0275text:pg,\u0275\u0275textInterpolate:Wu,\u0275\u0275textInterpolate1:gl,\u0275\u0275textInterpolate2:Gu,\u0275\u0275textInterpolate3:Ku,\u0275\u0275textInterpolate4:Qu,\u0275\u0275textInterpolate5:Yu,\u0275\u0275textInterpolate6:Zu,\u0275\u0275textInterpolate7:Ju,\u0275\u0275textInterpolate8:Xu,\u0275\u0275textInterpolateV:qu,\u0275\u0275i18n:r_,\u0275\u0275i18nAttributes:o_,\u0275\u0275i18nExp:gd,\u0275\u0275i18nStart:pd,\u0275\u0275i18nEnd:md,\u0275\u0275i18nApply:s_,\u0275\u0275i18nPostprocess:a_,\u0275\u0275resolveWindow:Qf,\u0275\u0275resolveDocument:Yf,\u0275\u0275resolveBody:Zf,\u0275\u0275setComponentScope:V,\u0275\u0275setNgModuleScope:gt,\u0275\u0275sanitizeHtml:Sf,\u0275\u0275sanitizeStyle:Of,\u0275\u0275sanitizeResourceUrl:pc,\u0275\u0275sanitizeScript:Af,\u0275\u0275sanitizeUrl:fc,\u0275\u0275sanitizeUrlOrResourceUrl:Ff,\u0275\u0275trustConstantHtml:xf,\u0275\u0275trustConstantResourceUrl:Rf,forwardRef:H,resolveForwardRef:Y}))();let Ts=null;function Gw(){Ts=null}const Sa=[];let th=!1;function Fy(){if(!th){th=!0;try{for(let e=Sa.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Sa[e];n.declarations&&n.declarations.every(ky)&&(Sa.splice(e,1),Yw(t,n))}}finally{th=!1}}}function ky(e){return Array.isArray(e)?e.every(ky):!!Y(e)}function Ny(e,t={}){Ly(e,t),function(e,t){Sa.push({moduleType:e,ngModule:t})}(e,t)}function Ly(e,t,n=!1){const i=$i(t.declarations||Lt);let r=null;Object.defineProperty(e,St,{configurable:!0,get:()=>(null===r&&(r=Qn().compileNgModule(vi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:$i(t.bootstrap||Lt).map(Y),declarations:i.map(Y),imports:$i(t.imports||Lt).map(Y).map(Hy),exports:$i(t.exports||Lt).map(Y).map(Hy),schemas:t.schemas?$i(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(e,j,{get:()=>{if(null===o){const u=Qn();o=u.compileFactory(vi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Ja(e),target:u.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let a=null;Object.defineProperty(e,Ge,{get:()=>{if(null===a){const u={name:e.name,type:e,providers:t.providers||Lt,imports:[(t.imports||Lt).map(Y),(t.exports||Lt).map(Y)]};a=Qn().compileInjector(vi,`ng:///${e.name}/\u0275inj.js`,u)}return a},configurable:!1})}let Pl=new WeakMap,ih=new WeakMap;function Qw(){Pl=new WeakMap,ih=new WeakMap,Sa.length=0}function Yw(e,t){const n=$i(t.declarations||Lt),i=Oa(e);n.forEach(r=>{r.hasOwnProperty(jt)?rh(an(r),i):!r.hasOwnProperty(_n)&&!r.hasOwnProperty(Ke)&&(r.ngSelectorScope=e)})}function rh(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(jt)?an(n):un(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>wn(n)),e.schemas=t.schemas,e.tView=null}function Oa(e){if(!oh(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=yn(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ir(t.imports).forEach(i=>{const r=i;if(!oh(r))throw new Error(`Importing ${r.name} which does not have a \u0275mod property`);const o=Oa(r);o.exported.directives.forEach(a=>n.compilation.directives.add(a)),o.exported.pipes.forEach(a=>n.compilation.pipes.add(a))}),Ir(t.declarations).forEach(i=>{wn(i)?n.compilation.pipes.add(i):n.compilation.directives.add(i)}),Ir(t.exports).forEach(i=>{const r=i;if(oh(r)){const o=Oa(r);o.exported.directives.forEach(a=>{n.compilation.directives.add(a),n.exported.directives.add(a)}),o.exported.pipes.forEach(a=>{n.compilation.pipes.add(a),n.exported.pipes.add(a)})}else wn(r)?n.exported.pipes.add(r):n.exported.directives.add(r)}),t.transitiveCompileScopes=n,n}function Hy(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function oh(e){return!!yn(e)}let sh=0;function Uy(e,t){let n=null;(function(e,t){pf(t)&&(Yo.set(e,t),Ws.add(e))})(e,t),$y(e,t),Object.defineProperty(e,jt,{get:()=>{if(null===n){const i=Qn();if(pf(t)){const b=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&b.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&b.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),b.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(b.join("\n"))}const r=Ts;let o=t.preserveWhitespaces;void 0===o&&(o=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let a=t.encapsulation;void 0===a&&(a=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:X.Emulated);const u=t.templateUrl||`ng:///${e.name}/template.html`,g=Object.assign(Object.assign({},Wy(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,u),template:t.template||"",preserveWhitespaces:o,styles:t.styles||Lt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:a,interpolation:t.interpolation,viewProviders:t.viewProviders||null});sh++;try{g.usesInheritance&&Gy(e),n=i.compileComponent(vi,u,g)}finally{sh--}if(0===sh&&Fy(),function(e){return void 0!==e.ngSelectorScope}(e)){const b=Oa(e.ngSelectorScope);rh(n,b)}}return n},configurable:!1})}function ah(e,t){let n=null;$y(e,t||{}),Object.defineProperty(e,_n,{get:()=>{if(null===n){const i=zy(e,t||{});n=Qn().compileDirective(vi,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function zy(e,t){const n=e&&e.name,i=`ng:///${n}/\u0275dir.js`,r=Qn(),o=Wy(e,t);return o.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),o.usesInheritance&&Gy(e),{metadata:o,sourceMapUrl:i}}function $y(e,t){let n=null;Object.defineProperty(e,j,{get:()=>{if(null===n){const i=zy(e,t),r=Qn();n=r.compileFactory(vi,`ng:///${e.name}/\u0275fac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:Ja(e),target:r.FactoryTarget.Directive})}return n},configurable:!1})}function Xw(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Wy(e,t){const n=sc(),i=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||At,propMetadata:i,inputs:t.inputs||Lt,outputs:t.outputs||Lt,queries:Ky(e,i,Qy),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Xw(e),exportAs:tT(t.exportAs),providers:t.providers||null,viewQueries:Ky(e,i,Yy)}}function Gy(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!un(n)&&!an(n)&&iT(n)&&ah(n,null),n=Object.getPrototypeOf(n)}function qw(e){return"string"==typeof e?Jy(e):Y(e)}function eT(e,t){return{propertyName:e,predicate:qw(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function Ky(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];o.forEach(a=>{if(n(a)){if(!a.selector)throw new Error(`Can't construct a query for the property "${r}" of "${at(e)}" since the query selector wasn't defined.`);if(o.some(Zy))throw new Error("Cannot combine @Input decorators with query decorators");i.push(eT(r,a))}})}return i}function tT(e){return void 0===e?null:Jy(e)}function Qy(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Yy(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Zy(e){return"Input"===e.ngMetadataName}function Jy(e){return e.split(",").map(t=>t.trim())}const nT=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function iT(e){const t=sc();if(nT.some(i=>t.hasLifecycleHook(e,i)))return!0;const n=t.propMetadata(e);for(const i in n){const r=n[i];for(let o=0;o<r.length;o++){const a=r[o],u=a.ngMetadataName;if(Zy(a)||Qy(a)||Yy(a)||"Output"===u||"HostBinding"===u||"HostListener"===u)return!0}}return!1}function Xy(e,t){let n=null,i=null;Object.defineProperty(e,j,{get:()=>{if(null===i){const r=qy(e,t),o=Qn();i=o.compileFactory(vi,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:Ja(e),target:o.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(e,Ke,{get:()=>{if(null===n){const r=qy(e,t);n=Qn().compilePipe(vi,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})}function qy(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const ev=Uo("Directive",(e={})=>e,void 0,void 0,(e,t)=>dT(e,t)),rT=Uo("Component",(e={})=>Object.assign({changeDetection:w.Default},e),ev,void 0,(e,t)=>uT(e,t)),oT=Uo("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>hT(e,t)),sT=$r("Input",e=>({bindingPropertyName:e})),aT=$r("Output",e=>({bindingPropertyName:e})),lT=$r("HostBinding",e=>({hostPropertyName:e})),cT=$r("HostListener",(e,t)=>({eventName:e,args:t})),tv=Uy,nv=ah,iv=Xy,uT=tv,dT=nv,hT=iv,fT=Uo("NgModule",e=>e,void 0,void 0,(e,t)=>pT(e,t)),rv=Ny,pT=rv,lh=new jn("Application Initializer");let Is=(()=>{class e{constructor(n){this.appInits=n,this.resolve=El,this.reject=El,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Su(o))n.push(o);else if(Ou(o)){const a=new Promise((u,g)=>{o.subscribe({complete:u,error:g})});n.push(a)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Un(lh,8))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const ov=new jn("AppId");function sv(){return`${ch()}${ch()}${ch()}`}const av={provide:ov,useFactory:sv,deps:[]};function ch(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const lv=new jn("Platform Initializer"),cv=new jn("Platform ID"),uv=new jn("appBootstrapListener"),mT=new jn("Application Packages Root URL");let dv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const Fl=new jn("LocaleId"),hv=new jn("DefaultCurrencyCode"),gT=new jn("Translations"),_T=new jn("TranslationsFormat");var Pr=(()=>((Pr=Pr||{})[Pr.Error=0]="Error",Pr[Pr.Warning=1]="Warning",Pr[Pr.Ignore=2]="Ignore",Pr))();const fv=!0,Aa=fv;class pv{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const kl=function(e){return new Rl(e)},yT=kl,mv=function(e){return Promise.resolve(kl(e))},vT=mv,uh=function(e){const t=kl(e),i=Ir(yn(e).declarations).reduce((r,o)=>{const a=an(o);return a&&r.push(new zd(a)),r},[]);return new pv(t,i)},bT=uh,gv=function(e){return Promise.resolve(uh(e))},CT=gv;let xa=(()=>{class e{constructor(){this.compileModuleSync=yT,this.compileModuleAsync=vT,this.compileModuleAndAllComponentsSync=bT,this.compileModuleAndAllComponentsAsync=CT}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();const _v=new jn("compilerOptions");class yv{}const ET=(()=>Promise.resolve(0))();function dh(e){"undefined"==typeof Zone?ET.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ni{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Rr(!1),this.onMicrotaskEmpty=new Rr(!1),this.onStable=new Rr(!1),this.onError=new Rr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=Nt.requestAnimationFrame,t=Nt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Nt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,fh(e),e.isCheckStableRunning=!0,hh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),fh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,a,u)=>{try{return vv(e),n.invokeTask(r,o,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),bv(e)}},onInvoke:(n,i,r,o,a,u,g)=>{try{return vv(e),n.invoke(r,o,a,u,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),bv(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,fh(e),hh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ni.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ni.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,MT,El,El);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const MT={};function hh(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 fh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function vv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bv(e){e._nesting--,hh(e)}class Cv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Rr,this.onMicrotaskEmpty=new Rr,this.onStable=new Rr,this.onError=new Rr}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}let Ev=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ni.assertNotInAngularZone(),dh(()=>{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())dh(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(Un(Ni))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})(),ph=(()=>{class e{constructor(){this._applications=new Map,mh.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return mh.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();class IT{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function ST(e){mh=e}let mh=new IT,Dv=!0,Mv=!1;function gh(){return Mv=!0,Dv}function OT(){if(Mv)throw new Error("Cannot enable prod mode after platform setup.");Dv=!1}let hr,AT=wv;function wv(e,t,n){const i=new Rl(n);return Promise.resolve(i)}let PT=Tv;function Tv(e){return e.isBoundToModule}const _h=new jn("AllowMultipleToken");class FT{constructor(t,n){this.name=t,this.token=n}}function Iv(e){if(hr&&!hr.destroyed&&!hr.injector.get(_h,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");hr=e.get(vh);const t=e.get(lv,null);return t&&t.forEach(n=>n()),hr}function Sv(e,t,n=[]){const i=`Platform: ${t}`,r=new jn(i);return(o=[])=>{let a=yh();if(!a||a.injector.get(_h,!1))if(e)e(n.concat(o).concat({provide:r,useValue:!0}));else{const u=n.concat(o).concat({provide:r,useValue:!0},{provide:ea,useValue:"platform"});Iv(Sn.create({providers:u,name:i}))}return Ov(r)}}function Ov(e){const t=yh();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}function kT(){hr&&!hr.destroyed&&hr.destroy()}function yh(){return hr&&!hr.destroyed?hr:null}let vh=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const u=function(e,t){let n;return n="noop"===e?new Cv:("zone.js"===e?void 0:e)||new Ni({enableLongStackTrace:gh(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),g=[{provide:Ni,useValue:u}];return u.run(()=>{const b=Sn.create({providers:g,parent:this.injector,name:n.moduleType.name}),A=n.create(b),ie=A.injector.get(Xo,null);if(!ie)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return u.runOutsideAngular(()=>{const pe=u.onError.subscribe({next:Se=>{ie.handleError(Se)}});A.onDestroy(()=>{bh(this._modules,A),pe.unsubscribe()})}),function(e,t,n){try{const i=n();return Su(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(ie,u,()=>{const pe=A.injector.get(Is);return pe.runInitializers(),pe.donePromise.then(()=>(Aa&&vl(A.injector.get(Fl,ca)||ca),this._moduleDoBootstrap(A),A))})})}bootstrapModule(n,i=[]){const r=Av({},i);return AT(this.injector,r,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Ra);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${k(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Un(Sn))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();function Av(e,t){return Array.isArray(t)?t.reduce(Av,e):Object.assign(Object.assign({},e),t)}let Ra=(()=>{class e{constructor(n,i,r,o,a){this._zone=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=a,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 u=new m.y(b=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{b.next(this._stable),b.complete()})}),g=new m.y(b=>{let A;this._zone.runOutsideAngular(()=>{A=this._zone.onStable.subscribe(()=>{Ni.assertNotInAngularZone(),dh(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,b.next(!0))})})});const ie=this._zone.onUnstable.subscribe(()=>{Ni.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{b.next(!1)}))});return()=>{A.unsubscribe(),ie.unsubscribe()}});this.isStable=(0,C.T)(u,g.pipe((0,l.B)()))}bootstrap(n,i){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 r;r=n instanceof bs?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(r.componentType);const o=PT(r)?void 0:this._injector.get(uo),u=r.create(Sn.NULL,[],i||r.selector,o),g=u.location.nativeElement,b=u.injector.get(Ev,null),A=b&&u.injector.get(ph);return b&&A&&A.registerApplication(g,b),u.onDestroy(()=>{this.detachView(u.hostView),bh(this.components,u),A&&A.unregisterApplication(g)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;bh(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(uv,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Un(Ni),Un(Sn),Un(Xo),Un(Cs),Un(Is))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();function bh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class BT{}function VT(e){const t=sy(e);if(!t)throw Pv(e);return t}function Rv(e){const t=sy(e);if(!t)throw Pv(e);return new Rl(t)}const HT=Rv;function Pv(e){return new Error(`No module with ID ${e} loaded`)}class kv{}const zT={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let $T=(()=>{class e{constructor(n,i){this._compiler=n,this._config=i||zT}load(n){return!Aa&&this._compiler instanceof xa?this.loadFactory(n):this.loadAndCompile(n)}loadAndCompile(n){let[i,r]=n.split("#");return void 0===r&&(r="default"),f(8255)(i).then(o=>o[r]).then(o=>Nv(o,i,r)).then(o=>this._compiler.compileModuleAsync(o))}loadFactory(n){let[i,r]=n.split("#"),o="NgFactory";return void 0===r&&(r="default",o=""),f(8255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(a=>a[r+o]).then(a=>Nv(a,i,r))}}return e.\u0275fac=function(n){return new(n||e)(Un(xa),Un(kv,8))},e.\u0275prov=R({token:e,factory:e.\u0275fac}),e})();function Nv(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class Lv extends Od{}class WT extends Lv{}class jv{constructor(t,n){this.name=t,this.callback=n}}class Pa{constructor(t,n,i){this.listeners=[],this.parent=null,this._debugContext=i,this.nativeNode=t,n&&n instanceof Zn&&n.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Zn extends Pa{constructor(t,n,i){super(t,n,i),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const n=this.childNodes.indexOf(t);-1!==n&&(t.parent=null,this.childNodes.splice(n,1))}insertChildrenAfter(t,n){const i=this.childNodes.indexOf(t);-1!==i&&(this.childNodes.splice(i+1,0,...n),n.forEach(r=>{r.parent&&r.parent.removeChild(r),t.parent=this}))}insertBefore(t,n){const i=this.childNodes.indexOf(t);-1===i?this.addChild(n):(n.parent&&n.parent.removeChild(n),n.parent=this,this.childNodes.splice(i,0,n))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return Bv(this,t,n),n}queryAllNodes(t){const n=[];return Vv(this,t,n),n}get children(){return this.childNodes.filter(t=>t instanceof Zn)}triggerEventHandler(t,n){this.listeners.forEach(i=>{i.name==t&&i.callback(n)})}}function GT(e){return e.map(t=>t.nativeElement)}function Bv(e,t,n){e.childNodes.forEach(i=>{i instanceof Zn&&(t(i)&&n.push(i),Bv(i,t,n))})}function Vv(e,t,n){e instanceof Zn&&e.childNodes.forEach(i=>{t(i)&&n.push(i),i instanceof Zn&&Vv(i,t,n)})}class Ch{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Fa(t):null}get injector(){return mm(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(nu(t)||fm(t))}get context(){return nu(this.nativeNode)||hm(this.nativeNode)}get listeners(){return _m(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(e){const t=di(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const i={};let r=n.index+1;for(let o=0;o<n.localNames.length;o+=2)i[n.localNames[o]]=e[r],r++;return i}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=di(e);if(null===t)return[];const i=t.lView[1],r=i.data[t.nodeIndex],o=[],u=r.directiveEnd;for(let g=1048575&r.providerIndexes;g<u;g++){let b=i.data[g];qE(b)&&(b=b.type),o.push(b)}return o}(this.nativeNode)}}class Fa extends Ch{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=di(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=di(this.nativeNode);if(null===t)return{};const n=t.lView,i=n[1].data,r=i[t.nodeIndex],o={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const i=Node.prototype;for(;null!==n&&n!==i;){const r=Object.getOwnPropertyDescriptors(n);for(let o in r)if(!o.startsWith("__")&&!o.startsWith("on")){const a=e[o];QT(a)&&(t[o]=a)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,o),function(e,t,n,i){let r=t.propertyBindings;if(null!==r)for(let o=0;o<r.length;o++){const a=r[o],g=i[a].split("\ufffd"),b=g[0];if(g.length>1){let A=g[1];for(let ie=1;ie<g.length-1;ie++)A+=Le(n[a+ie-1])+g[ie+1];e[b]=A}else e[b]=n[a]}}(o,r,n,i),o}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const i=di(n);if(null===i)return{};const o=i.lView[1].data[i.nodeIndex].attrs,a=[];if(o){let g=0;for(;g<o.length;){const b=o[g];if("string"!=typeof b)break;t[b]=o[g+1],a.push(b.toLowerCase()),g+=2}}const u=n.attributes;for(let g=0;g<u.length;g++){const b=u[g],A=b.name.toLowerCase();-1===a.indexOf(A)&&(t[A]=b.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},i=this.nativeElement.className;return(i&&"string"!=typeof i?i.baseVal.split(" "):i.split(" ")).forEach(o=>t[o]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let i=0;i<t.length;i++)n.push(Ll(t[i]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,i=[];for(let r=0;r<n.length;r++)i.push(Ll(n[r]));return i}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return Hv(this,t,n,!0),n}queryAllNodes(t){const n=[];return Hv(this,t,n,!1),n}triggerEventHandler(t,n){const i=this.nativeNode,r=[];this.listeners.forEach(o=>{if(o.name===t){const a=o.callback;a.call(i,n),r.push(a)}}),"function"==typeof i.eventListeners&&i.eventListeners(t).forEach(o=>{if(-1!==o.toString().indexOf("__ngUnwrap__")){const a=o("__ngUnwrap__");return-1===r.indexOf(a)&&a.call(i,n)}})}}function QT(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Hv(e,t,n,i){const r=di(e.nativeNode);null!==r?Ro(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):Dh(e.nativeNode,t,n,i)}function Ro(e,t,n,i,r,o){const a=function(e,t){const n=null===e?-1:e.index;return-1!==n?_(t[n]):null}(e,t);if(11&e.type){if(Eh(a,n,i,r,o),ci(e)){const g=bn(e.index,t);g&&g[1].firstChild&&Ro(g[1].firstChild,g,n,i,r,o)}else e.child&&Ro(e.child,t,n,i,r,o),a&&Dh(a,n,i,r);const u=t[e.index];Cn(u)&&Uv(u,n,i,r,o)}else if(4&e.type){const u=t[e.index];Eh(u[7],n,i,r,o),Uv(u,n,i,r,o)}else if(16&e.type){const u=t[16],b=u[6].projection[e.projection];if(Array.isArray(b))for(let A of b)Eh(A,n,i,r,o);else if(b){const A=u[3];Ro(A[1].data[b.index],A,n,i,r,o)}}else e.child&&Ro(e.child,t,n,i,r,o);if(o!==a){const u=4&e.flags?e.projectionNext:e.next;u&&Ro(u,t,n,i,r,o)}}function Uv(e,t,n,i,r){for(let o=10;o<e.length;o++){const a=e[o],u=a[1].firstChild;u&&Ro(u,a,t,n,i,r)}}function Eh(e,t,n,i,r){if(r!==e){const o=Jn(e);if(!o)return;(i&&o instanceof Fa&&t(o)&&-1===n.indexOf(o)||!i&&t(o)&&-1===n.indexOf(o))&&n.push(o)}}function Dh(e,t,n,i){const r=e.childNodes,o=r.length;for(let a=0;a<o;a++){const u=r[a],g=Jn(u);g&&((i&&g instanceof Fa&&t(g)&&-1===n.indexOf(g)||!i&&t(g)&&-1===n.indexOf(g))&&n.push(g),Dh(u,t,n,i))}}const Nl=new Map,Mh="__ng_debug__";function Ll(e){return e instanceof Node?(e.hasOwnProperty(Mh)||(e[Mh]=e.nodeType==Node.ELEMENT_NODE?new Fa(e):new Ch(e)),e[Mh]):null}const Jn=Ll;function JT(e){return function(e){return Nl.get(e)||null}(e)}const qT=function(e){return null};function jl(e){Nl.set(e.nativeNode,e)}const tI=Ch,nI=Fa,iI=Sv(null,"core",[{provide:cv,useValue:"unknown"},{provide:vh,deps:[Sn]},{provide:ph,deps:[]},{provide:dv,deps:[]}]);function zv(){return M_}function $v(){return w_}function Wv(e){return e=e||Aa&&"undefined"!=typeof $localize&&$localize.locale||ca,Aa&&vl(e),e}const Gv=[{provide:Ra,useClass:Ra,deps:[Ni,Sn,Xo,Cs,Is]},{provide:ty,deps:[Ni],useFactory:Kv},{provide:Is,useClass:Is,deps:[[new Wr,lh]]},{provide:xa,useClass:xa,deps:[]},av,{provide:Ml,useFactory:zv,deps:[]},{provide:wl,useFactory:$v,deps:[]},{provide:Fl,useFactory:Wv,deps:[[new Ko(Fl),new Wr,new Gr]]},{provide:hv,useValue:kg}];function Kv(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}let oI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Un(Ra))},e.\u0275mod=tt({type:e}),e.\u0275inj=x({providers:Gv}),e})();function sI(e,t,n,i,r,o){e|=1;const{matchedQueries:a,references:u,matchedQueryIds:g}=Fd(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a,matchedQueryIds:g,references:u,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Ms(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Yi},provider:null,text:null,query:null,ngContent:null}}function aI(e,t,n,i,r,o,a=[],u,g,b,A,ie){b||(b=Yi);const{matchedQueries:pe,references:Se,matchedQueryIds:He}=Fd(n);let ct=null,qe=null;o&&([ct,qe]=Nd(o)),u=u||[];const xt=[];for(let Xt=0;Xt<u.length;Xt++){const[gn,Xn,Ji]=u[Xt],[Va,As]=Nd(Xn);let xs,Rs;switch(15&gn){case 4:Rs=Ji;break;case 1:case 8:xs=Ji}xt[Xt]={flags:gn,ns:Va,name:As,nonMinifiedName:As,securityContext:xs,suffix:Rs}}g=g||[];const Et=[];for(let Xt=0;Xt<g.length;Xt++){const[gn,Xn]=g[Xt];Et[Xt]={type:0,target:gn,eventName:Xn,propName:null}}const $t=(a=a||[]).map(([Xt,gn])=>{const[Xn,Ji]=Nd(Xt);return[Xn,Ji,gn]});return ie=function(e){return e&&e.id===N_&&(e.id=null!=e.encapsulation&&e.encapsulation!==X.None||e.styles.length||Object.keys(e.data).length?"c"+O0++:L_),e&&e.id===L_&&(e=null),e||null}(ie),A&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:pe,matchedQueryIds:He,references:Se,ngContentIndex:i,childCount:r,bindings:xt,bindingFlags:Ld(xt),outputs:Et,element:{ns:ct,name:qe,attrs:$t,template:null,componentProvider:null,componentView:A||null,componentRendererType:ie,publicProviders:null,allProviders:null,handleEvent:b||Yi},provider:null,text:null,query:null,ngContent:null}}function lI(e,t,n){const i=n.element,r=e.root.selectorOrNode,o=e.renderer;let a;if(e.parent||!r){a=i.name?o.createElement(i.name,i.ns):o.createComment("");const u=kd(e,t,n);u&&o.appendChild(u,a)}else a=o.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===X.ShadowDom);if(i.attrs)for(let u=0;u<i.attrs.length;u++){const[g,b,A]=i.attrs[u];o.setAttribute(a,b,A,g)}return a}function cI(e,t,n,i){for(let r=0;r<n.outputs.length;r++){const o=n.outputs[r],a=uI(e,n.nodeIndex,R0(o.target,o.eventName));let u=o.target,g=e;"component"===o.target&&(u=null,g=t);const b=g.renderer.listen(u||i,o.eventName,a);e.disposables[n.outputIndex+r]=b}}function uI(e,t,n){return i=>B_(e,t,n,i)}function fr(e,t,n,i){if(!Nn(e,t,n,i))return!1;const r=t.bindings[n],o=En(e,t.nodeIndex),a=o.renderElement,u=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,o){const a=t.securityContext;let u=a?e.root.sanitizer.sanitize(a,o):o;u=null!=u?u.toString():null;const g=e.renderer;null!=o?g.setAttribute(n,r,u,i):g.removeAttribute(n,r,i)}(e,r,a,r.ns,u,i);break;case 2:!function(e,t,n,i){const r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,a,u,i);break;case 4:!function(e,t,n,i,r){let o=e.root.sanitizer.sanitize(Bn.STYLE,r);if(null!=o){o=o.toString();const u=t.suffix;null!=u&&(o+=u)}else o=null;const a=e.renderer;null!=o?a.setStyle(n,i,o):a.removeStyle(n,i)}(e,r,a,u,i);break;case 8:!function(e,t,n,i,r){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,r):r;e.renderer.setProperty(n,i,a)}(33554432&t.flags&&32&r.flags?o.componentView:e,r,a,u,i)}return!0}function _I(e,t,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:V_(t),bindings:i},ngContent:null}}function yI(e){return new Ia(e)}function vI(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&P0(e);){let n=e.parentNodeDef;e=e.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const o=e.def.nodes[r];67108864&o.flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&ya(e,r).setDirty(),(1&o.flags&&r+o.childCount<n.nodeIndex||!(67108864&o.childFlags)||!(536870912&o.childFlags))&&(r+=o.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const i=e.def.nodes[n];134217728&i.flags&&536870912&i.flags&&ya(e,n).setDirty(),n+=i.childCount}}function bI(e,t){const n=ya(e,t.nodeIndex);if(!n.dirty)return;let i,r;if(67108864&t.flags){const u=t.parent.parent;r=ka(e,u.nodeIndex,u.nodeIndex+u.childCount,t.query,[]),i=ho(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=ka(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r,p_);const o=t.query.bindings;let a=!1;for(let u=0;u<o.length;u++){const g=o[u];let b;switch(g.bindingType){case 0:b=n.first;break;case 1:b=n,a=!0}i[g.propName]=b}a&&n.notifyOnChanges()}function ka(e,t,n,i,r){for(let o=t;o<=n;o++){const a=e.def.nodes[o],u=a.matchedQueries[i.id];if(null!=u&&r.push(Qv(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&i.filterId)===i.filterId){const g=En(e,o);if((a.childMatchedQueries&i.filterId)===i.filterId&&(ka(e,o+1,o+a.childCount,i,r),o+=a.childCount),16777216&a.flags){const A=g.viewContainer._embeddedViews;for(let ie=0;ie<A.length;ie++){const pe=A[ie],Se=Pd(pe);Se&&Se===g&&ka(pe,0,pe.def.nodes.length-1,i,r)}}const b=g.template._projectedViews;if(b)for(let A=0;A<b.length;A++){const ie=b[A];ka(ie,0,ie.def.nodes.length-1,i,r)}}(a.childMatchedQueries&i.filterId)!==i.filterId&&(o+=a.childCount)}return r}function Qv(e,t,n){if(null!=n)switch(n){case 1:return En(e,t.nodeIndex).renderElement;case 0:return new cr(En(e,t.nodeIndex).renderElement);case 2:return En(e,t.nodeIndex).template;case 3:return En(e,t.nodeIndex).viewContainer;case 4:return ho(e,t.nodeIndex).instance}}function CI(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function EI(e,t,n){const i=kd(e,t,n);i&&z_(e,n.ngContent.index,1,i,null,void 0)}function DI(e,t){return wh(128,e,oo(t+1))}function MI(e,t){return wh(32,e,oo(t))}function wI(e,t){const n=Object.keys(t),i=n.length,r=[];for(let o=0;o<i;o++){r.push(n[o])}return wh(64,e,r)}function wh(e,t,n){const i=[];for(let r=0;r<n.length;r++){const o=n[r];i.push({flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:Ld(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function OI(e,t,n){const i=[];for(let r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function AI(e,t,n){let i;const r=e.renderer;i=r.createText(n.text.prefix);const o=kd(e,t,n);return o&&r.appendChild(o,i),{renderText:i}}function pr(e,t){return(null!=e?e.toString():"")+t.suffix}function PI(e,t,n,i){let r=0,o=0,a=0,u=0,g=0,b=null,A=null,ie=!1,pe=!1,Se=null;for(let ct=0;ct<t.length;ct++){const qe=t[ct];if(qe.nodeIndex=ct,qe.parent=b,qe.bindingIndex=r,qe.outputIndex=o,qe.renderParent=A,a|=qe.flags,g|=qe.matchedQueryIds,qe.element){const xt=qe.element;xt.publicProviders=b?b.element.publicProviders:Object.create(null),xt.allProviders=xt.publicProviders,ie=!1,pe=!1,qe.element.template&&(g|=qe.element.template.nodeMatchedQueries)}if(FI(b,qe,t.length),r+=qe.bindings.length,o+=qe.outputs.length,!A&&3&qe.flags&&(Se=qe),20224&qe.flags){ie||(ie=!0,b.element.publicProviders=Object.create(b.element.publicProviders),b.element.allProviders=b.element.publicProviders);const Et=0!=(32768&qe.flags);0==(8192&qe.flags)||Et?b.element.publicProviders[ai(qe.provider.token)]=qe:(pe||(pe=!0,b.element.allProviders=Object.create(b.element.publicProviders)),b.element.allProviders[ai(qe.provider.token)]=qe),Et&&(b.element.componentProvider=qe)}if(b?(b.childFlags|=qe.flags,b.directChildFlags|=qe.flags,b.childMatchedQueries|=qe.matchedQueryIds,qe.element&&qe.element.template&&(b.childMatchedQueries|=qe.element.template.nodeMatchedQueries)):u|=qe.flags,qe.childCount>0)b=qe,Yv(qe)||(A=qe);else for(;b&&ct===b.nodeIndex+b.childCount;){const xt=b.parent;xt&&(xt.childFlags|=b.childFlags,xt.childMatchedQueries|=b.childMatchedQueries),b=xt,A=b&&Yv(b)?b.renderParent:b}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:g,flags:e,nodes:t,updateDirectives:n||Yi,updateRenderer:i||Yi,handleEvent:(ct,qe,xt,Et)=>t[qe].element.handleEvent(ct,xt,Et),bindingCount:r,outputCount:o,lastRenderRootNode:Se}}function Yv(e){return 0!=(1&e.flags)&&null===e.element.name}function FI(e,t,n){const i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Zv(e,t,n,i){const r=Th(e.root,e.renderer,e,t,n);return Ih(r,e.component,i),Sh(r),r}function Jv(e,t,n){const i=Th(e,e.renderer,null,null,t);return Ih(i,n,n),Sh(i),i}function Xv(e,t,n,i){const r=t.element.componentRendererType;let o;return o=r?e.root.rendererFactory.createRenderer(i,r):e.root.renderer,Th(e.root,o,e,t.element.componentProvider,n)}function Th(e,t,n,i,r){const o=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function Ih(e,t,n){e.component=t,e.context=n}function Sh(e){let t;Ao(e)&&(t=En(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,i=e.nodes;for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];let a;switch(ln.setCurrentNode(e,r),201347067&o.flags){case 1:const u=lI(e,t,o);let g;if(33554432&o.flags){const b=Ms(o.element.componentView);g=ln.createComponentView(e,o,b,u)}cI(e,g,o,u),a={renderElement:u,componentView:g,viewContainer:null,template:o.element.template?lw(e,o):void 0},16777216&o.flags&&(a.viewContainer=ow(e,o,a));break;case 2:a=AI(e,t,o);break;case 512:case 1024:case 2048:case 256:a=i[r],!a&&!(4096&o.flags)&&(a={instance:Cw(e,o)});break;case 16:a={instance:Ew(e,o)};break;case 16384:a=i[r],a||(a={instance:Dw(e,o)}),32768&o.flags&&Ih(En(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=yI(-2147483648==(-2147483648&o.flags));break;case 8:EI(e,t,o),a=void 0}i[r]=a}Na(e,Dn.CreateViewNodes),Ah(e,201326592,268435456,0)}function Bl(e){eb(e),ln.updateDirectives(e,1),Hl(e,Dn.CheckNoChanges),ln.updateRenderer(e,1),Na(e,Dn.CheckNoChanges),e.state&=-97}function Vl(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Il(e,0,256),eb(e),ln.updateDirectives(e,0),Hl(e,Dn.CheckAndUpdate),Ah(e,67108864,536870912,0);let t=Il(e,256,512);Ud(e,2097152|(t?1048576:0)),ln.updateRenderer(e,0),Na(e,Dn.CheckAndUpdate),Ah(e,134217728,536870912,0),t=Il(e,512,768),Ud(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Il(e,768,1024)}function qv(e,t,n,i,r,o,a,u,g,b,A,ie,pe){return 0===n?function(e,t,n,i,r,o,a,u,g,b,A,ie){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=t.bindings.length;let Se=!1;return pe>0&&fr(e,t,0,n)&&(Se=!0),pe>1&&fr(e,t,1,i)&&(Se=!0),pe>2&&fr(e,t,2,r)&&(Se=!0),pe>3&&fr(e,t,3,o)&&(Se=!0),pe>4&&fr(e,t,4,a)&&(Se=!0),pe>5&&fr(e,t,5,u)&&(Se=!0),pe>6&&fr(e,t,6,g)&&(Se=!0),pe>7&&fr(e,t,7,b)&&(Se=!0),pe>8&&fr(e,t,8,A)&&(Se=!0),pe>9&&fr(e,t,9,ie)&&(Se=!0),Se}(e,t,n,i,r,o,a,u,g,b,A,ie);case 2:return function(e,t,n,i,r,o,a,u,g,b,A,ie){let pe=!1;const Se=t.bindings,He=Se.length;if(He>0&&Nn(e,t,0,n)&&(pe=!0),He>1&&Nn(e,t,1,i)&&(pe=!0),He>2&&Nn(e,t,2,r)&&(pe=!0),He>3&&Nn(e,t,3,o)&&(pe=!0),He>4&&Nn(e,t,4,a)&&(pe=!0),He>5&&Nn(e,t,5,u)&&(pe=!0),He>6&&Nn(e,t,6,g)&&(pe=!0),He>7&&Nn(e,t,7,b)&&(pe=!0),He>8&&Nn(e,t,8,A)&&(pe=!0),He>9&&Nn(e,t,9,ie)&&(pe=!0),pe){let ct=t.text.prefix;He>0&&(ct+=pr(n,Se[0])),He>1&&(ct+=pr(i,Se[1])),He>2&&(ct+=pr(r,Se[2])),He>3&&(ct+=pr(o,Se[3])),He>4&&(ct+=pr(a,Se[4])),He>5&&(ct+=pr(u,Se[5])),He>6&&(ct+=pr(g,Se[6])),He>7&&(ct+=pr(b,Se[7])),He>8&&(ct+=pr(A,Se[8])),He>9&&(ct+=pr(ie,Se[9]));const qe=_a(e,t.nodeIndex).renderText;e.renderer.setValue(qe,ct)}return pe}(e,t,n,i,r,o,a,u,g,b,A,ie);case 16384:return function(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=ho(e,t.nodeIndex),Se=pe.instance;let ct,He=!1;const qe=t.bindings.length;return qe>0&&Zi(e,t,0,n)&&(He=!0,ct=dr(e,pe,t,0,n,ct)),qe>1&&Zi(e,t,1,i)&&(He=!0,ct=dr(e,pe,t,1,i,ct)),qe>2&&Zi(e,t,2,r)&&(He=!0,ct=dr(e,pe,t,2,r,ct)),qe>3&&Zi(e,t,3,o)&&(He=!0,ct=dr(e,pe,t,3,o,ct)),qe>4&&Zi(e,t,4,a)&&(He=!0,ct=dr(e,pe,t,4,a,ct)),qe>5&&Zi(e,t,5,u)&&(He=!0,ct=dr(e,pe,t,5,u,ct)),qe>6&&Zi(e,t,6,g)&&(He=!0,ct=dr(e,pe,t,6,g,ct)),qe>7&&Zi(e,t,7,b)&&(He=!0,ct=dr(e,pe,t,7,b,ct)),qe>8&&Zi(e,t,8,A)&&(He=!0,ct=dr(e,pe,t,8,A,ct)),qe>9&&Zi(e,t,9,ie)&&(He=!0,ct=dr(e,pe,t,9,ie,ct)),ct&&Se.ngOnChanges(ct),65536&t.flags&&Sl(e,256,t.nodeIndex)&&Se.ngOnInit(),262144&t.flags&&Se.ngDoCheck(),He}(e,t,n,i,r,o,a,u,g,b,A,ie);case 32:case 64:case 128:return function(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=t.bindings;let Se=!1;const He=pe.length;if(He>0&&Nn(e,t,0,n)&&(Se=!0),He>1&&Nn(e,t,1,i)&&(Se=!0),He>2&&Nn(e,t,2,r)&&(Se=!0),He>3&&Nn(e,t,3,o)&&(Se=!0),He>4&&Nn(e,t,4,a)&&(Se=!0),He>5&&Nn(e,t,5,u)&&(Se=!0),He>6&&Nn(e,t,6,g)&&(Se=!0),He>7&&Nn(e,t,7,b)&&(Se=!0),He>8&&Nn(e,t,8,A)&&(Se=!0),He>9&&Nn(e,t,9,ie)&&(Se=!0),Se){const ct=Es(e,t.nodeIndex);let qe;switch(201347067&t.flags){case 32:qe=[],He>0&&qe.push(n),He>1&&qe.push(i),He>2&&qe.push(r),He>3&&qe.push(o),He>4&&qe.push(a),He>5&&qe.push(u),He>6&&qe.push(g),He>7&&qe.push(b),He>8&&qe.push(A),He>9&&qe.push(ie);break;case 64:qe={},He>0&&(qe[pe[0].name]=n),He>1&&(qe[pe[1].name]=i),He>2&&(qe[pe[2].name]=r),He>3&&(qe[pe[3].name]=o),He>4&&(qe[pe[4].name]=a),He>5&&(qe[pe[5].name]=u),He>6&&(qe[pe[6].name]=g),He>7&&(qe[pe[7].name]=b),He>8&&(qe[pe[8].name]=A),He>9&&(qe[pe[9].name]=ie);break;case 128:const xt=n;switch(He){case 1:qe=xt.transform(n);break;case 2:qe=xt.transform(i);break;case 3:qe=xt.transform(i,r);break;case 4:qe=xt.transform(i,r,o);break;case 5:qe=xt.transform(i,r,o,a);break;case 6:qe=xt.transform(i,r,o,a,u);break;case 7:qe=xt.transform(i,r,o,a,u,g);break;case 8:qe=xt.transform(i,r,o,a,u,g,b);break;case 9:qe=xt.transform(i,r,o,a,u,g,b,A);break;case 10:qe=xt.transform(i,r,o,a,u,g,b,A,ie)}}ct.value=qe}return Se}(e,t,n,i,r,o,a,u,g,b,A,ie);default:throw"unreachable"}}(e,t,i,r,o,a,u,g,b,A,ie,pe):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let i=!1;for(let r=0;r<n.length;r++)fr(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){const i=t.bindings;let r=!1;for(let o=0;o<n.length;o++)Nn(e,t,o,n[o])&&(r=!0);if(r){let o="";for(let u=0;u<n.length;u++)o+=pr(n[u],i[u]);o=t.text.prefix+o;const a=_a(e,t.nodeIndex).renderText;e.renderer.setValue(a,o)}return r}(e,t,n);case 16384:return function(e,t,n){const i=ho(e,t.nodeIndex),r=i.instance;let a,o=!1;for(let u=0;u<n.length;u++)Zi(e,t,u,n[u])&&(o=!0,a=dr(e,i,t,u,n[u],a));return a&&r.ngOnChanges(a),65536&t.flags&&Sl(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const i=t.bindings;let r=!1;for(let o=0;o<n.length;o++)Nn(e,t,o,n[o])&&(r=!0);if(r){const o=Es(e,t.nodeIndex);let a;switch(201347067&t.flags){case 32:a=n;break;case 64:a={};for(let b=0;b<n.length;b++)a[i[b].name]=n[b];break;case 128:const u=n[0],g=n.slice(1);a=u.transform(...g)}o.value=a}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function eb(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const i=t.nodes[n];if(4&i.flags){const r=En(e,n).template._projectedViews;if(r)for(let o=0;o<r.length;o++){const a=r[o];a.state|=32,x0(a,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function tb(e,t,n,i,r,o,a,u,g,b,A,ie,pe){return 0===n?function(e,t,n,i,r,o,a,u,g,b,A,ie){const pe=t.bindings.length;pe>0&&ur(e,t,0,n),pe>1&&ur(e,t,1,i),pe>2&&ur(e,t,2,r),pe>3&&ur(e,t,3,o),pe>4&&ur(e,t,4,a),pe>5&&ur(e,t,5,u),pe>6&&ur(e,t,6,g),pe>7&&ur(e,t,7,b),pe>8&&ur(e,t,8,A),pe>9&&ur(e,t,9,ie)}(e,t,i,r,o,a,u,g,b,A,ie,pe):function(e,t,n){for(let i=0;i<n.length;i++)ur(e,t,i,n[i])}(e,t,i),!1}function BI(e,t){if(ya(e,t.nodeIndex).dirty)throw P_(ln.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Oh(e){if(!(128&e.state)){if(Hl(e,Dn.Destroy),Na(e,Dn.Destroy),Ud(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();(function(e){if(!(16&e.state))return;const t=Pd(e);if(t){const n=t.template._projectedViews;n&&(Co(n,n.indexOf(e)),ln.dirtyParentQueries(e))}})(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const i=e.def.nodes[n];1&i.flags?e.renderer.destroyNode(En(e,n).renderElement):2&i.flags?e.renderer.destroyNode(_a(e,n).renderText):(67108864&i.flags||134217728&i.flags)&&ya(e,n).destroy()}}(e),Ao(e)&&e.renderer.destroy(),e.state|=128}}var Dn=(()=>((Dn=Dn||{})[Dn.CreateViewNodes=0]="CreateViewNodes",Dn[Dn.CheckNoChanges=1]="CheckNoChanges",Dn[Dn.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",Dn[Dn.CheckAndUpdate=3]="CheckAndUpdate",Dn[Dn.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",Dn[Dn.Destroy=5]="Destroy",Dn))();function Na(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];33554432&r.flags?nb(En(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function Hl(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];if(16777216&r.flags){const o=En(e,i).viewContainer._embeddedViews;for(let a=0;a<o.length;a++)nb(o[a],t)}else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function nb(e,t){const n=e.state;switch(t){case Dn.CheckNoChanges:0==(128&n)&&(12==(12&n)?Bl(e):64&n&&Ul(e,Dn.CheckNoChangesProjectedViews));break;case Dn.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Bl(e):64&n&&Ul(e,t));break;case Dn.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Vl(e):64&n&&Ul(e,Dn.CheckAndUpdateProjectedViews));break;case Dn.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Vl(e):64&n&&Ul(e,t));break;case Dn.Destroy:Oh(e);break;case Dn.CreateViewNodes:Sh(e)}}function Ul(e,t){Hl(e,t),Na(e,t)}function Ah(e,t,n,i){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const r=e.def.nodes.length;for(let o=0;o<r;o++){const a=e.def.nodes[o];if(a.flags&t&&a.flags&n)switch(ln.setCurrentNode(e,a.nodeIndex),i){case 0:bI(e,a);break;case 1:BI(e,a)}(!(a.childFlags&t)||!(a.childFlags&n))&&(o+=a.childCount)}}let ib=!1;function La(){if(ib)return;ib=!0;const e=gh()?{setCurrentNode:Os,createRootView:$I,createEmbeddedView:WI,createComponentView:GI,createNgModuleRef:KI,overrideProvider:QI,overrideComponentView:YI,clearOverrides:ZI,checkAndUpdateView:XI,checkNoChangesView:qI,destroyView:eS,createDebugContext:(e,t)=>new Ph(e,t),handleEvent:tS,updateDirectives:nS,updateRenderer:iS}:{setCurrentNode:()=>{},createRootView:zI,createEmbeddedView:Zv,createComponentView:Xv,createNgModuleRef:Q_,overrideProvider:Yi,overrideComponentView:Yi,clearOverrides:Yi,checkAndUpdateView:Vl,checkNoChangesView:Bl,destroyView:Oh,createDebugContext:(e,t)=>new Ph(e,t),handleEvent:(e,t,n,i)=>e.def.handleEvent(e,t,n,i),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?ob:sb,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?ob:sb,e)};ln.setCurrentNode=e.setCurrentNode,ln.createRootView=e.createRootView,ln.createEmbeddedView=e.createEmbeddedView,ln.createComponentView=e.createComponentView,ln.createNgModuleRef=e.createNgModuleRef,ln.overrideProvider=e.overrideProvider,ln.overrideComponentView=e.overrideComponentView,ln.clearOverrides=e.clearOverrides,ln.checkAndUpdateView=e.checkAndUpdateView,ln.checkNoChangesView=e.checkNoChangesView,ln.destroyView=e.destroyView,ln.resolveDep=mi,ln.createDebugContext=e.createDebugContext,ln.handleEvent=e.handleEvent,ln.updateDirectives=e.updateDirectives,ln.updateRenderer=e.updateRenderer,ln.dirtyParentQueries=vI}function zI(e,t,n,i,r,o){const a=r.injector.get(Dl);return Jv(rb(e,r,a,t,n),i,o)}function $I(e,t,n,i,r,o){const a=r.injector.get(Dl),u=rb(e,r,new sS(a),t,n),g=Rh(i);return Po(Hn.create,Jv,null,[u,g,o])}function rb(e,t,n,i,r){const o=t.injector.get(Dd),a=t.injector.get(Xo),u=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:o,rendererFactory:n,renderer:u,errorHandler:a}}function WI(e,t,n,i){const r=Rh(n);return Po(Hn.create,Zv,null,[e,t,r,i])}function GI(e,t,n,i){return n=xh.get(t.element.componentProvider.provider.token)||Rh(n),Po(Hn.create,Xv,null,[e,t,n,i])}function KI(e,t,n,i){const r=function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(o){let a=!1,u=!1;return 0===fo.size||(o.providers.forEach(g=>{const b=fo.get(g.token);3840&g.flags&&b&&(a=!0,u=u||b.deprecatedBehavior)}),o.modules.forEach(g=>{ja.forEach((b,A)=>{Y(ge(A).providedIn)===g&&(a=!0,u=u||b.deprecatedBehavior)})})),{hasOverrides:a,hasDeprecatedOverrides:u}}(e);return t?(function(o){for(let a=0;a<o.providers.length;a++){const u=o.providers[a];n&&(u.flags|=4096);const g=fo.get(u.token);g&&(u.flags=-3841&u.flags|g.flags,u.deps=ba(g.deps),u.value=g.value)}if(ja.size>0){let a=new Set(o.modules);ja.forEach((u,g)=>{if(a.has(Y(ge(g).providedIn))){let b={token:g,flags:u.flags|(n?4096:0),deps:ba(u.deps),value:u.value,index:o.providers.length};o.providers.push(b),o.providersByKey[ai(g)]=b}})}}(e=e.factory(()=>Yi)),e):e}(i);return Q_(e,t,n,r)}const fo=new Map,ja=new Map,xh=new Map;function QI(e){let t;fo.set(e.token,e),"function"==typeof e.token&&(t=ge(e.token))&&"function"==typeof t.providedIn&&ja.set(e.token,e)}function YI(e,t){const n=Ms(G_(t)),i=Ms(n.nodes[0].element.componentView);xh.set(e,i)}function ZI(){fo.clear(),ja.clear(),xh.clear()}function Rh(e){if(0===fo.size)return e;const t=function(r){const o=[];let a=null;for(let u=0;u<r.nodes.length;u++){const g=r.nodes[u];1&g.flags&&(a=g),a&&3840&g.flags&&fo.has(g.provider.token)&&(o.push(a.nodeIndex),a=null)}return o}(e);if(0===t.length)return e;e=e.factory(()=>Yi);for(let r=0;r<t.length;r++)i(e,t[r]);return e;function i(r,o){for(let a=o+1;a<r.nodes.length;a++){const u=r.nodes[a];if(1&u.flags)return;if(3840&u.flags){const g=u.provider,b=fo.get(g.token);b&&(u.flags=-3841&u.flags|b.flags,g.deps=ba(b.deps),g.value=b.value)}}}}function ob(e,t,n,i,r,o,a,u,g,b,A,ie,pe){const Se=e.def.nodes[t];return qv(e,Se,n,i,r,o,a,u,g,b,A,ie,pe),224&Se.flags?Es(e,t).value:void 0}function sb(e,t,n,i,r,o,a,u,g,b,A,ie,pe){const Se=e.def.nodes[t];return tb(e,Se,n,i,r,o,a,u,g,b,A,ie,pe),224&Se.flags?Es(e,t).value:void 0}function XI(e){return Po(Hn.detectChanges,Vl,null,[e])}function qI(e){return Po(Hn.checkNoChanges,Bl,null,[e])}function eS(e){return Po(Hn.destroy,Oh,null,[e])}var Hn=(()=>((Hn=Hn||{})[Hn.create=0]="create",Hn[Hn.detectChanges=1]="detectChanges",Hn[Hn.checkNoChanges=2]="checkNoChanges",Hn[Hn.destroy=3]="destroy",Hn[Hn.handleEvent=4]="handleEvent",Hn))();let Ba,Ss,zl;function Os(e,t){Ss=e,zl=t}function tS(e,t,n,i){return Os(e,t),Po(Hn.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function nS(e,t){if(128&e.state)throw k_(Hn[Ba]);return Os(e,cb(e,0)),e.def.updateDirectives(function(i,r,o,...a){const u=i.def.nodes[r];return 0===t?ab(i,u,o,a):lb(i,u,o,a),16384&u.flags&&Os(i,cb(i,r)),224&u.flags?Es(i,u.nodeIndex).value:void 0},e)}function iS(e,t){if(128&e.state)throw k_(Hn[Ba]);return Os(e,ub(e,0)),e.def.updateRenderer(function(i,r,o,...a){const u=i.def.nodes[r];return 0===t?ab(i,u,o,a):lb(i,u,o,a),3&u.flags&&Os(i,ub(i,r)),224&u.flags?Es(i,u.nodeIndex).value:void 0},e)}function ab(e,t,n,i){if(qv(e,t,n,...i)){const o=1===n?i[0]:i;if(16384&t.flags){const a={};for(let b=0;b<t.bindings.length;b++){const A=t.bindings[b],ie=o[b];8&A.flags&&(a[Wf(A.nonMinifiedName)]=Gf(ie))}const u=t.parent,g=En(e,u.nodeIndex).renderElement;if(u.element.name)for(let b in a){const A=a[b];null!=A?e.renderer.setAttribute(g,b,A):e.renderer.removeAttribute(g,b)}else e.renderer.setValue(g,nl(`bindings=${JSON.stringify(a,null,2)}`))}}}function lb(e,t,n,i){tb(e,t,n,...i)}function cb(e,t){for(let n=t;n<e.def.nodes.length;n++){const i=e.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function ub(e,t){for(let n=t;n<e.def.nodes.length;n++){const i=e.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}class Ph{constructor(t,n){this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];let i=this.nodeDef,r=t;for(;i&&0==(1&i.flags);)i=i.parent;if(!i)for(;!i&&r;)i=Ds(r),r=r.parent;this.elDef=i,this.elView=r}get elOrCompView(){return En(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return K_(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const t=[];if(this.elDef)for(let n=this.elDef.nodeIndex+1;n<=this.elDef.nodeIndex+this.elDef.childCount;n++){const i=this.elView.def.nodes[n];20224&i.flags&&t.push(i.provider.token),n+=i.childCount}return t}get references(){const t={};if(this.elDef){db(this.elView,this.elDef,t);for(let n=this.elDef.nodeIndex+1;n<=this.elDef.nodeIndex+this.elDef.childCount;n++){const i=this.elView.def.nodes[n];20224&i.flags&&db(this.elView,i,t),n+=i.childCount}}return t}get componentRenderElement(){const t=function(e){for(;e&&!Ao(e);)e=e.parent;return e.parent?En(e.parent,Ds(e).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?va(this.view,this.nodeDef):va(this.elView,this.elDef)}logError(t,...n){let i,r;2&this.nodeDef.flags?(i=this.view.def,r=this.nodeDef.nodeIndex):(i=this.elView.def,r=this.elDef.nodeIndex);const o=function(e,t){let n=-1;for(let i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}(i,r);let a=-1;i.factory(()=>(a++,a===o?t.error.bind(t,...n):Yi)),a<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error(...n))}}function db(e,t,n){for(let i in t.references)n[i]=Qv(e,t,t.references[i])}function Po(e,t,n,i){const r=Ba,o=Ss,a=zl;try{Ba=e;const u=t.apply(n,i);return Ss=o,zl=a,Ba=r,u}catch(u){throw function(e){return!!Uf(e)}(u)||!Ss?u:function(e,t){return e instanceof Error||(e=new Error(e.toString())),F_(e,t),e}(u,Fh())}}function Fh(){return Ss?new Ph(Ss,zl):null}class sS{constructor(t){this.delegate=t}createRenderer(t,n){return new aS(this.delegate.createRenderer(t,n))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class aS{constructor(t){this.delegate=t,this.debugContextFactory=Fh,this.data=this.delegate.data}createDebugContext(t){return this.debugContextFactory(t)}destroyNode(t){const n=Jn(t);n&&(Nl.delete(n.nativeNode),n instanceof Pa&&(n.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(t)}destroy(){this.delegate.destroy()}createElement(t,n){const i=this.delegate.createElement(t,n),r=this.createDebugContext(i);if(r){const o=new Zn(i,null,r);o.name=t,jl(o)}return i}createComment(t){const n=this.delegate.createComment(nl(t)),i=this.createDebugContext(n);return i&&jl(new Pa(n,null,i)),n}createText(t){const n=this.delegate.createText(t),i=this.createDebugContext(n);return i&&jl(new Pa(n,null,i)),n}appendChild(t,n){const i=Jn(t),r=Jn(n);i&&r&&i instanceof Zn&&i.addChild(r),this.delegate.appendChild(t,n)}insertBefore(t,n,i,r){const o=Jn(t),a=Jn(n),u=Jn(i);o&&a&&o instanceof Zn&&o.insertBefore(u,a),this.delegate.insertBefore(t,n,i,r)}removeChild(t,n){const i=Jn(t),r=Jn(n);i&&r&&i instanceof Zn&&i.removeChild(r),this.delegate.removeChild(t,n)}selectRootElement(t,n){const i=this.delegate.selectRootElement(t,n),r=Fh();return r&&jl(new Zn(i,null,r)),i}setAttribute(t,n,i,r){const o=Jn(t);o&&o instanceof Zn&&(o.attributes[r?r+":"+n:n]=i),this.delegate.setAttribute(t,n,i,r)}removeAttribute(t,n,i){const r=Jn(t);r&&r instanceof Zn&&(r.attributes[i?i+":"+n:n]=null),this.delegate.removeAttribute(t,n,i)}addClass(t,n){const i=Jn(t);i&&i instanceof Zn&&(i.classes[n]=!0),this.delegate.addClass(t,n)}removeClass(t,n){const i=Jn(t);i&&i instanceof Zn&&(i.classes[n]=!1),this.delegate.removeClass(t,n)}setStyle(t,n,i,r){const o=Jn(t);o&&o instanceof Zn&&(o.styles[n]=i),this.delegate.setStyle(t,n,i,r)}removeStyle(t,n,i){const r=Jn(t);r&&r instanceof Zn&&(r.styles[n]=null),this.delegate.removeStyle(t,n,i)}setProperty(t,n,i){const r=Jn(t);r&&r instanceof Zn&&(r.properties[n]=i),this.delegate.setProperty(t,n,i)}listen(t,n,i){if("string"!=typeof t){const r=Jn(t);r&&r.listeners.push(new jv(n,i))}return this.delegate.listen(t,n,i)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setValue(t,n){return this.delegate.setValue(t,n)}}function lS(e){return La(),ln.overrideProvider(e)}function cS(e,t){return La(),ln.overrideComponentView(e,t)}function uS(){return La(),ln.clearOverrides()}function dS(e,t,n){return new fS(e,t,n)}class fS extends Ad{constructor(t,n,i){super(),this.moduleType=t,this._bootstrapComponents=n,this._ngModuleDefFactory=i}create(t){La();const n=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),i={};for(const r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:i}}(Ms(this._ngModuleDefFactory));return ln.createNgModuleRef(this.moduleType,t||Sn.NULL,this._bootstrapComponents,n)}}function pS(e){return Qn().compileDirectiveDeclaration(vi,`ng:///${e.type.name}/\u0275fac.js`,e)}function mS(e){var t,n;iy(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function gS(e){return Qn().compileComponentDeclaration(vi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function _S(e){return Qn(function(e){switch(e){case Kn.Directive:return"directive";case Kn.Component:return"component";case Kn.Injectable:return"injectable";case Kn.Pipe:return"pipe";case Kn.NgModule:;}}(e.target)).compileFactoryDeclaration(vi,`ng:///${e.type.name}/\u0275fac.js`,e)}function vS(e){return Qn().compileInjectableDeclaration(vi,`ng:///${e.type.name}/\u0275prov.js`,e)}function bS(e){return Qn().compileInjectorDeclaration(vi,`ng:///${e.type.name}/\u0275inj.js`,e)}function CS(e){return Qn().compileNgModuleDeclaration(vi,`ng:///${e.type.name}/\u0275mod.js`,e)}function ES(e){return Qn().compilePipeDeclaration(vi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3679:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{AbstractControl:()=>Te,AbstractControlDirective:()=>me,AbstractFormGroupDirective:()=>Ue,COMPOSITION_BUFFER_MODE:()=>ce,CheckboxControlValueAccessor:()=>G,CheckboxRequiredValidator:()=>ji,ControlContainer:()=>Re,DefaultValueAccessor:()=>he,EmailValidator:()=>tr,FormArray:()=>Pt,FormArrayName:()=>mr,FormBuilder:()=>J,FormControl:()=>Je,FormControlDirective:()=>Ci,FormControlName:()=>kr,FormGroup:()=>dt,FormGroupDirective:()=>ui,FormGroupName:()=>zn,FormsModule:()=>Mr,MaxLengthValidator:()=>Ii,MaxValidator:()=>Br,MinLengthValidator:()=>br,MinValidator:()=>yr,NG_ASYNC_VALIDATORS:()=>Le,NG_VALIDATORS:()=>be,NG_VALUE_ACCESSOR:()=>k,NgControl:()=>it,NgControlStatus:()=>Be,NgControlStatusGroup:()=>K,NgForm:()=>ye,NgModel:()=>qt,NgModelGroup:()=>Fe,NgSelectOption:()=>po,NumberValueAccessor:()=>gi,PatternValidator:()=>Pn,RadioControlValueAccessor:()=>ei,RangeValueAccessor:()=>Xi,ReactiveFormsModule:()=>go,RequiredValidator:()=>Ti,SelectControlValueAccessor:()=>Di,SelectMultipleControlValueAccessor:()=>_r,VERSION:()=>T,Validators:()=>Mt,\u0275InternalFormsSharedModule:()=>Dr,\u0275NgNoValidate:()=>Wt,\u0275NgSelectMultipleOption:()=>Lr,\u0275angular_packages_forms_forms_a:()=>Cr,\u0275angular_packages_forms_forms_b:()=>no,\u0275angular_packages_forms_forms_ba:()=>ii,\u0275angular_packages_forms_forms_bb:()=>Lr,\u0275angular_packages_forms_forms_bc:()=>Wt,\u0275angular_packages_forms_forms_bd:()=>Li,\u0275angular_packages_forms_forms_be:()=>qi,\u0275angular_packages_forms_forms_bf:()=>yi,\u0275angular_packages_forms_forms_bg:()=>er,\u0275angular_packages_forms_forms_bh:()=>Vr,\u0275angular_packages_forms_forms_bi:()=>vr,\u0275angular_packages_forms_forms_bj:()=>Hr,\u0275angular_packages_forms_forms_bk:()=>Ur,\u0275angular_packages_forms_forms_bl:()=>st,\u0275angular_packages_forms_forms_bm:()=>Ze,\u0275angular_packages_forms_forms_bn:()=>we,\u0275angular_packages_forms_forms_bo:()=>je,\u0275angular_packages_forms_forms_bp:()=>le,\u0275angular_packages_forms_forms_bq:()=>Xe,\u0275angular_packages_forms_forms_br:()=>W,\u0275angular_packages_forms_forms_bs:()=>te,\u0275angular_packages_forms_forms_bt:()=>fe,\u0275angular_packages_forms_forms_c:()=>Er,\u0275angular_packages_forms_forms_d:()=>Dr,\u0275angular_packages_forms_forms_e:()=>M,\u0275angular_packages_forms_forms_f:()=>L,\u0275angular_packages_forms_forms_g:()=>Z,\u0275angular_packages_forms_forms_h:()=>H,\u0275angular_packages_forms_forms_i:()=>wt,\u0275angular_packages_forms_forms_j:()=>Ge,\u0275angular_packages_forms_forms_k:()=>Ve,\u0275angular_packages_forms_forms_l:()=>Q,\u0275angular_packages_forms_forms_m:()=>ot,\u0275angular_packages_forms_forms_n:()=>ue,\u0275angular_packages_forms_forms_o:()=>Tn,\u0275angular_packages_forms_forms_p:()=>bi,\u0275angular_packages_forms_forms_q:()=>qn,\u0275angular_packages_forms_forms_r:()=>_i,\u0275angular_packages_forms_forms_s:()=>Rn,\u0275angular_packages_forms_forms_t:()=>ti,\u0275angular_packages_forms_forms_u:()=>Cn,\u0275angular_packages_forms_forms_v:()=>gr,\u0275angular_packages_forms_forms_w:()=>ci,\u0275angular_packages_forms_forms_x:()=>ni,\u0275angular_packages_forms_forms_y:()=>Fr,\u0275angular_packages_forms_forms_z:()=>Nr});var s=f(7716),c=f(8583),m=f(9412),C=f(5758),l=f(8002);let L=(()=>{class p{constructor(y,P){this._renderer=y,this._elementRef=P,this.onChange=$e=>{},this.onTouched=()=>{}}setProperty(y,P){this._renderer.setProperty(this._elementRef.nativeElement,y,P)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(s.ElementRef))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p}),p})(),Z=(()=>{class p extends L{}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,features:[s.\u0275\u0275InheritDefinitionFeature]}),p})();const k=new s.InjectionToken("NgValueAccessor"),M={provide:k,useExisting:(0,s.forwardRef)(()=>G),multi:!0};let G=(()=>{class p extends Z{writeValue(y){this.setProperty("checked",y)}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("change",function(It){return P.onChange(It.target.checked)})("blur",function(){return P.onTouched()})},features:[s.\u0275\u0275ProvidersFeature([M]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const H={provide:k,useExisting:(0,s.forwardRef)(()=>he),multi:!0},ce=new s.InjectionToken("CompositionEventMode");let he=(()=>{class p extends L{constructor(y,P,$e){super(y,P),this._compositionMode=$e,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const p=(0,c.\u0275getDOM)()?(0,c.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(p.toLowerCase())}())}writeValue(y){this.setProperty("value",null==y?"":y)}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(ce,8))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,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(y,P){1&y&&s.\u0275\u0275listener("input",function(It){return P._handleInput(It.target.value)})("blur",function(){return P.onTouched()})("compositionstart",function(){return P._compositionStart()})("compositionend",function(It){return P._compositionEnd(It.target.value)})},features:[s.\u0275\u0275ProvidersFeature([H]),s.\u0275\u0275InheritDefinitionFeature]}),p})();function ne(p){return null==p||0===p.length}function _e(p){return null!=p&&"number"==typeof p.length}const be=new s.InjectionToken("NgValidators"),Le=new s.InjectionToken("NgAsyncValidators"),at=/^(?=.{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 Mt{static min(_){return st(_)}static max(_){return Ze(_)}static required(_){return we(_)}static requiredTrue(_){return je(_)}static email(_){return le(_)}static minLength(_){return Xe(_)}static maxLength(_){return W(_)}static pattern(_){return te(_)}static nullValidator(_){return null}static compose(_){return ke(_)}static composeAsync(_){return ht(_)}}function st(p){return _=>{if(ne(_.value)||ne(p))return null;const y=parseFloat(_.value);return!isNaN(y)&&y<p?{min:{min:p,actual:_.value}}:null}}function Ze(p){return _=>{if(ne(_.value)||ne(p))return null;const y=parseFloat(_.value);return!isNaN(y)&&y>p?{max:{max:p,actual:_.value}}:null}}function we(p){return ne(p.value)?{required:!0}:null}function je(p){return!0===p.value?null:{required:!0}}function le(p){return ne(p.value)||at.test(p.value)?null:{email:!0}}function Xe(p){return _=>ne(_.value)||!_e(_.value)?null:_.value.length<p?{minlength:{requiredLength:p,actualLength:_.value.length}}:null}function W(p){return _=>_e(_.value)&&_.value.length>p?{maxlength:{requiredLength:p,actualLength:_.value.length}}:null}function te(p){if(!p)return fe;let _,y;return"string"==typeof p?(y="","^"!==p.charAt(0)&&(y+="^"),y+=p,"$"!==p.charAt(p.length-1)&&(y+="$"),_=new RegExp(y)):(y=p.toString(),_=p),P=>{if(ne(P.value))return null;const $e=P.value;return _.test($e)?null:{pattern:{requiredPattern:y,actualValue:$e}}}}function fe(p){return null}function ae(p){return null!=p}function Ne(p){const _=(0,s.\u0275isPromise)(p)?(0,m.D)(p):p;return(0,s.\u0275isObservable)(_),_}function xe(p){let _={};return p.forEach(y=>{_=null!=y?Object.assign(Object.assign({},_),y):_}),0===Object.keys(_).length?null:_}function rt(p,_){return _.map(y=>y(p))}function bt(p){return p.map(_=>function(p){return!p.validate}(_)?_:y=>_.validate(y))}function ke(p){if(!p)return null;const _=p.filter(ae);return 0==_.length?null:function(y){return xe(rt(y,_))}}function nt(p){return null!=p?ke(bt(p)):null}function ht(p){if(!p)return null;const _=p.filter(ae);return 0==_.length?null:function(y){const P=rt(y,_).map(Ne);return(0,C.D)(P).pipe((0,l.U)(xe))}}function Ot(p){return null!=p?ht(bt(p)):null}function Ye(p,_){return null===p?[_]:Array.isArray(p)?[...p,_]:[p,_]}function ut(p){return p._rawValidators}function R(p){return p._rawAsyncValidators}function ee(p){return p?Array.isArray(p)?p:[p]:[]}function x(p,_){return Array.isArray(p)?p.includes(_):p===_}function ge(p,_){const y=ee(_);return ee(p).forEach($e=>{x(y,$e)||y.push($e)}),y}function se(p,_){return ee(_).filter(y=>!x(p,y))}let me=(()=>{class p{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(y){this._rawValidators=y||[],this._composedValidatorFn=nt(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,P){return!!this.control&&this.control.hasError(y,P)}getError(y,P){return this.control?this.control.getError(y,P):null}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p}),p})(),Re=(()=>{class p extends me{get formDirective(){return null}get path(){return null}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,features:[s.\u0275\u0275InheritDefinitionFeature]}),p})();class it extends me{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wt{constructor(_){this._cd=_}is(_){var y,P,$e;return"submitted"===_?!!(null===(y=this._cd)||void 0===y?void 0:y.submitted):!!(null===($e=null===(P=this._cd)||void 0===P?void 0:P.control)||void 0===$e?void 0:$e[_])}}const Ge={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")'},Ve={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")',"[class.ng-submitted]":'is("submitted")'};let Be=(()=>{class p extends wt{constructor(y){super(y)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(it,2))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,P){2&y&&s.\u0275\u0275classProp("ng-untouched",P.is("untouched"))("ng-touched",P.is("touched"))("ng-pristine",P.is("pristine"))("ng-dirty",P.is("dirty"))("ng-valid",P.is("valid"))("ng-invalid",P.is("invalid"))("ng-pending",P.is("pending"))},features:[s.\u0275\u0275InheritDefinitionFeature]}),p})(),K=(()=>{class p extends wt{constructor(y){super(y)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,P){2&y&&s.\u0275\u0275classProp("ng-untouched",P.is("untouched"))("ng-touched",P.is("touched"))("ng-pristine",P.is("pristine"))("ng-dirty",P.is("dirty"))("ng-valid",P.is("valid"))("ng-invalid",P.is("invalid"))("ng-pending",P.is("pending"))("ng-submitted",P.is("submitted"))},features:[s.\u0275\u0275InheritDefinitionFeature]}),p})();function Ct(p,_){return[..._.path,p]}function Rt(p,_){At(p,_),_.valueAccessor.writeValue(p.value),function(p,_){_.valueAccessor.registerOnChange(y=>{p._pendingValue=y,p._pendingChange=!0,p._pendingDirty=!0,"change"===p.updateOn&&Ke(p,_)})}(p,_),function(p,_){const y=(P,$e)=>{_.valueAccessor.writeValue(P),$e&&_.viewToModelUpdate(P)};p.registerOnChange(y),_._registerOnDestroy(()=>{p._unregisterOnChange(y)})}(p,_),function(p,_){_.valueAccessor.registerOnTouched(()=>{p._pendingTouched=!0,"blur"===p.updateOn&&p._pendingChange&&Ke(p,_),"submit"!==p.updateOn&&p.markAsTouched()})}(p,_),function(p,_){if(_.valueAccessor.setDisabledState){const y=P=>{_.valueAccessor.setDisabledState(P)};p.registerOnDisabledChange(y),_._registerOnDestroy(()=>{p._unregisterOnDisabledChange(y)})}}(p,_)}function Nt(p,_,y=!0){const P=()=>{};_.valueAccessor&&(_.valueAccessor.registerOnChange(P),_.valueAccessor.registerOnTouched(P)),Lt(p,_),p&&(_._invokeOnDestroyCallbacks(),p._registerOnCollectionChange(()=>{}))}function zt(p,_){p.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(_)})}function At(p,_){const y=ut(p);null!==_.validator?p.setValidators(Ye(y,_.validator)):"function"==typeof y&&p.setValidators([y]);const P=R(p);null!==_.asyncValidator?p.setAsyncValidators(Ye(P,_.asyncValidator)):"function"==typeof P&&p.setAsyncValidators([P]);const $e=()=>p.updateValueAndValidity();zt(_._rawValidators,$e),zt(_._rawAsyncValidators,$e)}function Lt(p,_){let y=!1;if(null!==p){if(null!==_.validator){const $e=ut(p);if(Array.isArray($e)&&$e.length>0){const It=$e.filter(Jt=>Jt!==_.validator);It.length!==$e.length&&(y=!0,p.setValidators(It))}}if(null!==_.asyncValidator){const $e=R(p);if(Array.isArray($e)&&$e.length>0){const It=$e.filter(Jt=>Jt!==_.asyncValidator);It.length!==$e.length&&(y=!0,p.setAsyncValidators(It))}}}const P=()=>{};return zt(_._rawValidators,P),zt(_._rawAsyncValidators,P),y}function Ke(p,_){p._pendingDirty&&p.markAsDirty(),p.setValue(p._pendingValue,{emitModelToViewChange:!1}),_.viewToModelUpdate(p._pendingValue),p._pendingChange=!1}function O(p,_){At(p,_)}function Ce(p,_){if(!p.hasOwnProperty("model"))return!1;const y=p.model;return!!y.isFirstChange()||!Object.is(_,y.currentValue)}function z(p,_){p._syncPendingControls(),_.forEach(y=>{const P=y.control;"submit"===P.updateOn&&P._pendingChange&&(y.viewToModelUpdate(P._pendingValue),P._pendingChange=!1)})}function S(p,_){if(!_)return null;let y,P,$e;return Array.isArray(_),_.forEach(It=>{It.constructor===he?y=It:function(p){return Object.getPrototypeOf(p.constructor)===Z}(It)?P=It:$e=It}),$e||P||y||null}function q(p,_){const y=p.indexOf(_);y>-1&&p.splice(y,1)}const gt="VALID",Ht="INVALID",dn="PENDING",cn="DISABLED";function un(p){return(Oe(p)?p.validators:p)||null}function wn(p){return Array.isArray(p)?nt(p):p||null}function yn(p,_){return(Oe(_)?_.asyncValidators:p)||null}function pt(p){return Array.isArray(p)?Ot(p):p||null}function Oe(p){return null!=p&&!Array.isArray(p)&&"object"==typeof p}class Te{constructor(_,y){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=_,this._rawAsyncValidators=y,this._composedValidatorFn=wn(this._rawValidators),this._composedAsyncValidatorFn=pt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(_){this._rawValidators=this._composedValidatorFn=_}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(_){this._rawAsyncValidators=this._composedAsyncValidatorFn=_}get parent(){return this._parent}get valid(){return this.status===gt}get invalid(){return this.status===Ht}get pending(){return this.status==dn}get disabled(){return this.status===cn}get enabled(){return this.status!==cn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(_){this._rawValidators=_,this._composedValidatorFn=wn(_)}setAsyncValidators(_){this._rawAsyncValidators=_,this._composedAsyncValidatorFn=pt(_)}addValidators(_){this.setValidators(ge(_,this._rawValidators))}addAsyncValidators(_){this.setAsyncValidators(ge(_,this._rawAsyncValidators))}removeValidators(_){this.setValidators(se(_,this._rawValidators))}removeAsyncValidators(_){this.setAsyncValidators(se(_,this._rawAsyncValidators))}hasValidator(_){return x(this._rawValidators,_)}hasAsyncValidator(_){return x(this._rawAsyncValidators,_)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(_={}){this.touched=!0,this._parent&&!_.onlySelf&&this._parent.markAsTouched(_)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(_=>_.markAllAsTouched())}markAsUntouched(_={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!_.onlySelf&&this._parent._updateTouched(_)}markAsDirty(_={}){this.pristine=!1,this._parent&&!_.onlySelf&&this._parent.markAsDirty(_)}markAsPristine(_={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!_.onlySelf&&this._parent._updatePristine(_)}markAsPending(_={}){this.status=dn,!1!==_.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!_.onlySelf&&this._parent.markAsPending(_)}disable(_={}){const y=this._parentMarkedDirty(_.onlySelf);this.status=cn,this.errors=null,this._forEachChild(P=>{P.disable(Object.assign(Object.assign({},_),{onlySelf:!0}))}),this._updateValue(),!1!==_.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},_),{skipPristineCheck:y})),this._onDisabledChange.forEach(P=>P(!0))}enable(_={}){const y=this._parentMarkedDirty(_.onlySelf);this.status=gt,this._forEachChild(P=>{P.enable(Object.assign(Object.assign({},_),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},_),{skipPristineCheck:y})),this._onDisabledChange.forEach(P=>P(!1))}_updateAncestors(_){this._parent&&!_.onlySelf&&(this._parent.updateValueAndValidity(_),_.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(_){this._parent=_}updateValueAndValidity(_={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===gt||this.status===dn)&&this._runAsyncValidator(_.emitEvent)),!1!==_.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!_.onlySelf&&this._parent.updateValueAndValidity(_)}_updateTreeValidity(_={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(_)),this.updateValueAndValidity({onlySelf:!0,emitEvent:_.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?cn:gt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(_){if(this.asyncValidator){this.status=dn,this._hasOwnPendingAsyncValidator=!0;const y=Ne(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(P=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(P,{emitEvent:_})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(_,y={}){this.errors=_,this._updateControlsErrors(!1!==y.emitEvent)}get(_){return function(p,_,y){if(null==_||(Array.isArray(_)||(_=_.split(".")),Array.isArray(_)&&0===_.length))return null;let P=p;return _.forEach($e=>{P=P instanceof dt?P.controls.hasOwnProperty($e)?P.controls[$e]:null:P instanceof Pt&&P.at($e)||null}),P}(this,_)}getError(_,y){const P=y?this.get(y):this;return P&&P.errors?P.errors[_]:null}hasError(_,y){return!!this.getError(_,y)}get root(){let _=this;for(;_._parent;)_=_._parent;return _}_updateControlsErrors(_){this.status=this._calculateStatus(),_&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(_)}_initObservables(){this.valueChanges=new s.EventEmitter,this.statusChanges=new s.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?cn:this.errors?Ht:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dn)?dn:this._anyControlsHaveStatus(Ht)?Ht:gt}_anyControlsHaveStatus(_){return this._anyControls(y=>y.status===_)}_anyControlsDirty(){return this._anyControls(_=>_.dirty)}_anyControlsTouched(){return this._anyControls(_=>_.touched)}_updatePristine(_={}){this.pristine=!this._anyControlsDirty(),this._parent&&!_.onlySelf&&this._parent._updatePristine(_)}_updateTouched(_={}){this.touched=this._anyControlsTouched(),this._parent&&!_.onlySelf&&this._parent._updateTouched(_)}_isBoxedValue(_){return"object"==typeof _&&null!==_&&2===Object.keys(_).length&&"value"in _&&"disabled"in _}_registerOnCollectionChange(_){this._onCollectionChange=_}_setUpdateStrategy(_){Oe(_)&&null!=_.updateOn&&(this._updateOn=_.updateOn)}_parentMarkedDirty(_){return!_&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Je extends Te{constructor(_=null,y,P){super(un(y),yn(P,y)),this._onChange=[],this._applyFormState(_),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(_,y={}){this.value=this._pendingValue=_,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(P=>P(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(_,y={}){this.setValue(_,y)}reset(_=null,y={}){this._applyFormState(_),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(_){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(_){this._onChange.push(_)}_unregisterOnChange(_){q(this._onChange,_)}registerOnDisabledChange(_){this._onDisabledChange.push(_)}_unregisterOnDisabledChange(_){q(this._onDisabledChange,_)}_forEachChild(_){}_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(_){this._isBoxedValue(_)?(this.value=this._pendingValue=_.value,_.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=_}}class dt extends Te{constructor(_,y,P){super(un(y),yn(P,y)),this.controls=_,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(_,y){return this.controls[_]?this.controls[_]:(this.controls[_]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(_,y,P={}){this.registerControl(_,y),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}removeControl(_,y={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),delete this.controls[_],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(_,y,P={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),delete this.controls[_],y&&this.registerControl(_,y),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}contains(_){return this.controls.hasOwnProperty(_)&&this.controls[_].enabled}setValue(_,y={}){this._checkAllValuesPresent(_),Object.keys(_).forEach(P=>{this._throwIfControlMissing(P),this.controls[P].setValue(_[P],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(_,y={}){null!=_&&(Object.keys(_).forEach(P=>{this.controls[P]&&this.controls[P].patchValue(_[P],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(_={},y={}){this._forEachChild((P,$e)=>{P.reset(_[$e],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(_,y,P)=>(_[P]=y instanceof Je?y.value:y.getRawValue(),_))}_syncPendingControls(){let _=this._reduceChildren(!1,(y,P)=>!!P._syncPendingControls()||y);return _&&this.updateValueAndValidity({onlySelf:!0}),_}_throwIfControlMissing(_){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[_])throw new Error(`Cannot find form control with name: ${_}.`)}_forEachChild(_){Object.keys(this.controls).forEach(y=>{const P=this.controls[y];P&&_(P,y)})}_setUpControls(){this._forEachChild(_=>{_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(_){for(const y of Object.keys(this.controls)){const P=this.controls[y];if(this.contains(y)&&_(P))return!0}return!1}_reduceValue(){return this._reduceChildren({},(_,y,P)=>((y.enabled||this.disabled)&&(_[P]=y.value),_))}_reduceChildren(_,y){let P=_;return this._forEachChild(($e,It)=>{P=y(P,$e,It)}),P}_allControlsDisabled(){for(const _ of Object.keys(this.controls))if(this.controls[_].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(_){this._forEachChild((y,P)=>{if(void 0===_[P])throw new Error(`Must supply a value for form control with name: '${P}'.`)})}}class Pt extends Te{constructor(_,y,P){super(un(y),yn(P,y)),this.controls=_,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(_){return this.controls[_]}push(_,y={}){this.controls.push(_),this._registerControl(_),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(_,y,P={}){this.controls.splice(_,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:P.emitEvent})}removeAt(_,y={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),this.controls.splice(_,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(_,y,P={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),this.controls.splice(_,1),y&&(this.controls.splice(_,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(_,y={}){this._checkAllValuesPresent(_),_.forEach((P,$e)=>{this._throwIfControlMissing($e),this.at($e).setValue(P,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(_,y={}){null!=_&&(_.forEach((P,$e)=>{this.at($e)&&this.at($e).patchValue(P,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(_=[],y={}){this._forEachChild((P,$e)=>{P.reset(_[$e],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(_=>_ instanceof Je?_.value:_.getRawValue())}clear(_={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:_.emitEvent}))}_syncPendingControls(){let _=this.controls.reduce((y,P)=>!!P._syncPendingControls()||y,!1);return _&&this.updateValueAndValidity({onlySelf:!0}),_}_throwIfControlMissing(_){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(_))throw new Error(`Cannot find form control at index ${_}`)}_forEachChild(_){this.controls.forEach((y,P)=>{_(y,P)})}_updateValue(){this.value=this.controls.filter(_=>_.enabled||this.disabled).map(_=>_.value)}_anyControls(_){return this.controls.some(y=>y.enabled&&_(y))}_setUpControls(){this._forEachChild(_=>this._registerControl(_))}_checkAllValuesPresent(_){this._forEachChild((y,P)=>{if(void 0===_[P])throw new Error(`Must supply a value for form control at index: ${P}.`)})}_allControlsDisabled(){for(const _ of this.controls)if(_.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(_){_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange)}}const Q={provide:Re,useExisting:(0,s.forwardRef)(()=>ye)},U=(()=>Promise.resolve(null))();let ye=(()=>{class p extends Re{constructor(y,P){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new s.EventEmitter,this.form=new dt({},nt(y),Ot(P))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){U.then(()=>{const P=this._findContainer(y.path);y.control=P.registerControl(y.name,y.control),Rt(y.control,y),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){U.then(()=>{const P=this._findContainer(y.path);P&&P.removeControl(y.name),q(this._directives,y)})}addFormGroup(y){U.then(()=>{const P=this._findContainer(y.path),$e=new dt({});O($e,y),P.registerControl(y.name,$e),$e.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){U.then(()=>{const P=this._findContainer(y.path);P&&P.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,P){U.then(()=>{this.form.get(y.path).setValue(P)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,z(this.form,this._directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("submit",function(It){return P.onSubmit(It)})("reset",function(){return P.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.\u0275\u0275ProvidersFeature([Q]),s.\u0275\u0275InheritDefinitionFeature]}),p})(),Ue=(()=>{class p extends Re{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ct(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,features:[s.\u0275\u0275InheritDefinitionFeature]}),p})();const ue={provide:Re,useExisting:(0,s.forwardRef)(()=>Fe)};let Fe=(()=>{class p extends Ue{constructor(y,P,$e){super(),this._parent=y,this._setValidators(P),this._setAsyncValidators($e)}_checkParentType(){}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,5),s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[s.\u0275\u0275ProvidersFeature([ue]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const ot={provide:it,useExisting:(0,s.forwardRef)(()=>qt)},Ut=(()=>Promise.resolve(null))();let qt=(()=>{class p extends it{constructor(y,P,$e,It){super(),this.control=new Je,this._registered=!1,this.update=new s.EventEmitter,this._parent=y,this._setValidators(P),this._setAsyncValidators($e),this.valueAccessor=S(0,It)}ngOnChanges(y){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in y&&this._updateDisabled(y),Ce(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ct(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_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(){Rt(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(y){Ut.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1})})}_updateDisabled(y){const P=y.isDisabled.currentValue,$e=""===P||P&&"false"!==P;Ut.then(()=>{$e&&!this.control.disabled?this.control.disable():!$e&&this.control.disabled&&this.control.enable()})}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,9),s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10),s.\u0275\u0275directiveInject(k,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s.\u0275\u0275ProvidersFeature([ot]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p})(),Wt=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),p})();const Tn={provide:k,useExisting:(0,s.forwardRef)(()=>gi),multi:!0};let gi=(()=>{class p extends Z{writeValue(y){this.setProperty("value",null==y?"":y)}registerOnChange(y){this.onChange=P=>{y(""==P?null:parseFloat(P))}}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("input",function(It){return P.onChange(It.target.value)})("blur",function(){return P.onTouched()})},features:[s.\u0275\u0275ProvidersFeature([Tn]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const bi={provide:k,useExisting:(0,s.forwardRef)(()=>ei),multi:!0};let qn=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=s.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=s.\u0275\u0275defineInjector({}),p})(),_i=(()=>{class p{constructor(){this._accessors=[]}add(y,P){this._accessors.push([y,P])}remove(y){for(let P=this._accessors.length-1;P>=0;--P)if(this._accessors[P][1]===y)return void this._accessors.splice(P,1)}select(y){this._accessors.forEach(P=>{this._isSameGroup(P,y)&&P[1]!==y&&P[1].fireUncheck(y.value)})}_isSameGroup(y,P){return!!y[0].control&&y[0]._parent===P._control._parent&&y[1].name===P.name}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:function(){return new p},token:p,providedIn:qn}),p})(),ei=(()=>{class p extends Z{constructor(y,P,$e,It){super(y,P),this._registry=$e,this._injector=It,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(it),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(_i),s.\u0275\u0275directiveInject(s.Injector))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("change",function(){return P.onChange()})("blur",function(){return P.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[s.\u0275\u0275ProvidersFeature([bi]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const Rn={provide:k,useExisting:(0,s.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class p extends Z{writeValue(y){this.setProperty("value",parseFloat(y))}registerOnChange(y){this.onChange=P=>{y(""==P?null:parseFloat(P))}}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("change",function(It){return P.onChange(It.target.value)})("input",function(It){return P.onChange(It.target.value)})("blur",function(){return P.onTouched()})},features:[s.\u0275\u0275ProvidersFeature([Rn]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const ti=new s.InjectionToken("NgModelWithFormControlWarning"),Cn={provide:it,useExisting:(0,s.forwardRef)(()=>Ci)};let Ci=(()=>{class p extends it{constructor(y,P,$e,It){super(),this._ngModelWarningConfig=It,this.update=new s.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(y),this._setAsyncValidators(P),this.valueAccessor=S(0,$e)}set isDisabled(y){}ngOnChanges(y){if(this._isControlChanged(y)){const P=y.form.previousValue;P&&Nt(P,this,!1),Rt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ce(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10),s.\u0275\u0275directiveInject(k,10),s.\u0275\u0275directiveInject(ti,8))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s.\u0275\u0275ProvidersFeature([Cn]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p._ngModelWarningSentOnce=!1,p})();const ci={provide:Re,useExisting:(0,s.forwardRef)(()=>ui)};let ui=(()=>{class p extends Re{constructor(y,P){super(),this.validators=y,this.asyncValidators=P,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.EventEmitter,this._setValidators(y),this._setAsyncValidators(P)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Lt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const P=this.form.get(y.path);return Rt(P,y),P.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),P}getControl(y){return this.form.get(y.path)}removeControl(y){Nt(y.control||null,y,!1),q(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,P){this.form.get(y.path).setValue(P)}onSubmit(y){return this.submitted=!0,z(this.form,this.directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const P=y.control,$e=this.form.get(y.path);P!==$e&&(Nt(P||null,y),$e instanceof Je&&(Rt($e,y),y.control=$e))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const P=this.form.get(y.path);O(P,y),P.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const P=this.form.get(y.path);P&&function(p,_){return Lt(p,_)}(P,y)&&P.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){At(this.form,this),this._oldForm&&Lt(this._oldForm,this)}_checkFormPresent(){}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formGroup",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("submit",function(It){return P.onSubmit(It)})("reset",function(){return P.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.\u0275\u0275ProvidersFeature([ci]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p})();const ni={provide:Re,useExisting:(0,s.forwardRef)(()=>zn)};let zn=(()=>{class p extends Ue{constructor(y,P,$e){super(),this._parent=y,this._setValidators(P),this._setAsyncValidators($e)}_checkParentType(){qr(this._parent)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,13),s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[s.\u0275\u0275ProvidersFeature([ni]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const Fr={provide:Re,useExisting:(0,s.forwardRef)(()=>mr)};let mr=(()=>{class p extends Re{constructor(y,P,$e){super(),this._parent=y,this._setValidators(P),this._setAsyncValidators($e)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ct(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){qr(this._parent)}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,13),s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[s.\u0275\u0275ProvidersFeature([Fr]),s.\u0275\u0275InheritDefinitionFeature]}),p})();function qr(p){return!(p instanceof zn||p instanceof ui||p instanceof mr)}const gr={provide:it,useExisting:(0,s.forwardRef)(()=>kr)};let kr=(()=>{class p extends it{constructor(y,P,$e,It,Jt){super(),this._ngModelWarningConfig=Jt,this._added=!1,this.update=new s.EventEmitter,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(P),this._setAsyncValidators($e),this.valueAccessor=S(0,It)}set isDisabled(y){}ngOnChanges(y){this._added||this._setUpControl(),Ce(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return Ct(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(Re,13),s.\u0275\u0275directiveInject(be,10),s.\u0275\u0275directiveInject(Le,10),s.\u0275\u0275directiveInject(k,10),s.\u0275\u0275directiveInject(ti,8))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s.\u0275\u0275ProvidersFeature([gr]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p._ngModelWarningSentOnce=!1,p})();const Nr={provide:k,useExisting:(0,s.forwardRef)(()=>Di),multi:!0};function eo(p,_){return null==p?`${_}`:(_&&"object"==typeof _&&(_="Object"),`${p}: ${_}`.slice(0,50))}let Di=(()=>{class p extends Z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){this.value=y;const P=this._getOptionId(y);null==P&&this.setProperty("selectedIndex",-1);const $e=eo(P,y);this.setProperty("value",$e)}registerOnChange(y){this.onChange=P=>{this.value=this._getOptionValue(P),y(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(y){for(const P of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(P),y))return P;return null}_getOptionValue(y){const P=function(p){return p.split(":")[0]}(y);return this._optionMap.has(P)?this._optionMap.get(P):y}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("change",function(It){return P.onChange(It.target.value)})("blur",function(){return P.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.\u0275\u0275ProvidersFeature([Nr]),s.\u0275\u0275InheritDefinitionFeature]}),p})(),po=(()=>{class p{constructor(y,P,$e){this._element=y,this._renderer=P,this._select=$e,this._select&&(this.id=this._select._registerOption())}set ngValue(y){null!=this._select&&(this._select._optionMap.set(this.id,y),this._setElementValue(eo(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._setElementValue(y),this._select&&this._select.writeValue(this._select.value)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(Di,9))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),p})();const ii={provide:k,useExisting:(0,s.forwardRef)(()=>_r),multi:!0};function Mi(p,_){return null==p?`${_}`:("string"==typeof _&&(_=`'${_}'`),_&&"object"==typeof _&&(_="Object"),`${p}: ${_}`.slice(0,50))}let _r=(()=>{class p extends Z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){let P;if(this.value=y,Array.isArray(y)){const $e=y.map(It=>this._getOptionId(It));P=(It,Jt)=>{It._setSelected($e.indexOf(Jt.toString())>-1)}}else P=($e,It)=>{$e._setSelected(!1)};this._optionMap.forEach(P)}registerOnChange(y){this.onChange=P=>{const $e=[];if(void 0!==P.selectedOptions){const It=P.selectedOptions;for(let Jt=0;Jt<It.length;Jt++){const fn=It.item(Jt),rn=this._getOptionValue(fn.value);$e.push(rn)}}else{const It=P.options;for(let Jt=0;Jt<It.length;Jt++){const fn=It.item(Jt);if(fn.selected){const rn=this._getOptionValue(fn.value);$e.push(rn)}}}this.value=$e,y($e)}}_registerOption(y){const P=(this._idCounter++).toString();return this._optionMap.set(P,y),P}_getOptionId(y){for(const P of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(P)._value,y))return P;return null}_getOptionValue(y){const P=function(p){return p.split(":")[0]}(y);return this._optionMap.has(P)?this._optionMap.get(P)._value:y}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(y,P){1&y&&s.\u0275\u0275listener("change",function(It){return P.onChange(It.target)})("blur",function(){return P.onTouched()})},inputs:{compareWith:"compareWith"},features:[s.\u0275\u0275ProvidersFeature([ii]),s.\u0275\u0275InheritDefinitionFeature]}),p})(),Lr=(()=>{class p{constructor(y,P,$e){this._element=y,this._renderer=P,this._select=$e,this._select&&(this.id=this._select._registerOption(this))}set ngValue(y){null!=this._select&&(this._value=y,this._setElementValue(Mi(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._select?(this._value=y,this._setElementValue(Mi(this.id,y)),this._select.writeValue(this._select.value)):this._setElementValue(y)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}_setSelected(y){this._renderer.setProperty(this._element.nativeElement,"selected",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return p.\u0275fac=function(y){return new(y||p)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(_r,9))},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),p})();function jr(p){return"number"==typeof p?p:parseInt(p,10)}let wi=(()=>{class p{constructor(){this._validator=fe}handleChanges(y){if(this.inputName in y){const P=this.normalizeInput(y[this.inputName].currentValue);this._validator=this.createValidator(P),this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p}),p})();const Li={provide:be,useExisting:(0,s.forwardRef)(()=>Br),multi:!0};let Br=(()=>{class p extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=y=>parseFloat(y),this.createValidator=y=>Ze(y)}ngOnChanges(y){this.handleChanges(y)}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(y,P){if(2&y){let $e;s.\u0275\u0275attribute("max",null!==($e=P.max)&&void 0!==$e?$e:null)}},inputs:{max:"max"},features:[s.\u0275\u0275ProvidersFeature([Li]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p})();const qi={provide:be,useExisting:(0,s.forwardRef)(()=>yr),multi:!0};let yr=(()=>{class p extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=y=>parseFloat(y),this.createValidator=y=>st(y)}ngOnChanges(y){this.handleChanges(y)}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(y,P){if(2&y){let $e;s.\u0275\u0275attribute("min",null!==($e=P.min)&&void 0!==$e?$e:null)}},inputs:{min:"min"},features:[s.\u0275\u0275ProvidersFeature([qi]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]}),p})();const yi={provide:be,useExisting:(0,s.forwardRef)(()=>Ti),multi:!0},er={provide:be,useExisting:(0,s.forwardRef)(()=>ji),multi:!0};let Ti=(()=>{class p{constructor(){this._required=!1}get required(){return this._required}set required(y){this._required=null!=y&&!1!==y&&"false"!=`${y}`,this._onChange&&this._onChange()}validate(y){return this.required?we(y):null}registerOnValidatorChange(y){this._onChange=y}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(y,P){2&y&&s.\u0275\u0275attribute("required",P.required?"":null)},inputs:{required:"required"},features:[s.\u0275\u0275ProvidersFeature([yi])]}),p})(),ji=(()=>{class p extends Ti{validate(y){return this.required?je(y):null}}return p.\u0275fac=function(){let _;return function(P){return(_||(_=s.\u0275\u0275getInheritedFactory(p)))(P||p)}}(),p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(y,P){2&y&&s.\u0275\u0275attribute("required",P.required?"":null)},features:[s.\u0275\u0275ProvidersFeature([er]),s.\u0275\u0275InheritDefinitionFeature]}),p})();const Vr={provide:be,useExisting:(0,s.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class p{constructor(){this._enabled=!1}set email(y){this._enabled=""===y||!0===y||"true"===y,this._onChange&&this._onChange()}validate(y){return this._enabled?le(y):null}registerOnValidatorChange(y){this._onChange=y}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[s.\u0275\u0275ProvidersFeature([Vr])]}),p})();const vr={provide:be,useExisting:(0,s.forwardRef)(()=>br),multi:!0};let br=(()=>{class p{constructor(){this._validator=fe}ngOnChanges(y){"minlength"in y&&(this._createValidator(),this._onChange&&this._onChange())}validate(y){return this.enabled()?this._validator(y):null}registerOnValidatorChange(y){this._onChange=y}_createValidator(){this._validator=this.enabled()?Xe(jr(this.minlength)):fe}enabled(){return null!=this.minlength}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(y,P){2&y&&s.\u0275\u0275attribute("minlength",P.enabled()?P.minlength:null)},inputs:{minlength:"minlength"},features:[s.\u0275\u0275ProvidersFeature([vr]),s.\u0275\u0275NgOnChangesFeature]}),p})();const Hr={provide:be,useExisting:(0,s.forwardRef)(()=>Ii),multi:!0};let Ii=(()=>{class p{constructor(){this._validator=fe}ngOnChanges(y){"maxlength"in y&&(this._createValidator(),this._onChange&&this._onChange())}validate(y){return this.enabled()?this._validator(y):null}registerOnValidatorChange(y){this._onChange=y}_createValidator(){this._validator=this.enabled()?W(jr(this.maxlength)):fe}enabled(){return null!=this.maxlength}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(y,P){2&y&&s.\u0275\u0275attribute("maxlength",P.enabled()?P.maxlength:null)},inputs:{maxlength:"maxlength"},features:[s.\u0275\u0275ProvidersFeature([Hr]),s.\u0275\u0275NgOnChangesFeature]}),p})();const Ur={provide:be,useExisting:(0,s.forwardRef)(()=>Pn),multi:!0};let Pn=(()=>{class p{constructor(){this._validator=fe}ngOnChanges(y){"pattern"in y&&(this._createValidator(),this._onChange&&this._onChange())}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}_createValidator(){this._validator=te(this.pattern)}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275dir=s.\u0275\u0275defineDirective({type:p,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(y,P){2&y&&s.\u0275\u0275attribute("pattern",P.pattern?P.pattern:null)},inputs:{pattern:"pattern"},features:[s.\u0275\u0275ProvidersFeature([Ur]),s.\u0275\u0275NgOnChangesFeature]}),p})();const Cr=[Wt,po,Lr,he,gi,Xi,G,Di,_r,ei,Be,K,Ti,br,Ii,Pn,ji,tr,yr,Br],no=[qt,Fe,ye],Er=[Ci,ui,kr,zn,mr];let Dr=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=s.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=s.\u0275\u0275defineInjector({imports:[[qn]]}),p})(),Mr=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=s.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=s.\u0275\u0275defineInjector({imports:[Dr]}),p})(),go=(()=>{class p{static withConfig(y){return{ngModule:p,providers:[{provide:ti,useValue:y.warnOnNgModelWithFormControl}]}}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=s.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=s.\u0275\u0275defineInjector({imports:[Dr]}),p})(),J=(()=>{class p{group(y,P=null){const $e=this._reduceControls(y);let fn,It=null,Jt=null;return null!=P&&(function(p){return void 0!==p.asyncValidators||void 0!==p.validators||void 0!==p.updateOn}(P)?(It=null!=P.validators?P.validators:null,Jt=null!=P.asyncValidators?P.asyncValidators:null,fn=null!=P.updateOn?P.updateOn:void 0):(It=null!=P.validator?P.validator:null,Jt=null!=P.asyncValidator?P.asyncValidator:null)),new dt($e,{asyncValidators:Jt,updateOn:fn,validators:It})}control(y,P,$e){return new Je(y,P,$e)}array(y,P,$e){const It=y.map(Jt=>this._createControl(Jt));return new Pt(It,P,$e)}_reduceControls(y){const P={};return Object.keys(y).forEach($e=>{P[$e]=this._createControl(y[$e])}),P}_createControl(y){return y instanceof Je||y instanceof dt||y instanceof Pt?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275prov=(0,s.\u0275\u0275defineInjectable)({factory:function(){return new p},token:p,providedIn:go}),p})();const T=new s.Version("12.2.11")},1095:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MatAnchor:()=>Y,MatButton:()=>H,MatButtonModule:()=>ce});var s=f(2458),c=f(6237),m=f(7716),C=f(9238);const l=["mat-button",""],L=["*"],Z=".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",M=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],G=(0,s.pj)((0,s.Id)((0,s.Kr)(class{constructor(he){this._elementRef=he}})));let H=(()=>{class he extends G{constructor(_e,be,Le){super(_e),this._focusMonitor=be,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const at of M)this._hasHostAttributes(at)&&this._getHostElement().classList.add(at);_e.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(_e,be){_e?this._focusMonitor.focusVia(this._getHostElement(),_e,be):this._getHostElement().focus(be)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(..._e){return _e.some(be=>this._getHostElement().hasAttribute(be))}}return he.\u0275fac=function(_e){return new(_e||he)(m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275directiveInject(C.tE),m.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},he.\u0275cmp=m.\u0275\u0275defineComponent({type:he,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(_e,be){if(1&_e&&m.\u0275\u0275viewQuery(s.wG,5),2&_e){let Le;m.\u0275\u0275queryRefresh(Le=m.\u0275\u0275loadQuery())&&(be.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(_e,be){2&_e&&(m.\u0275\u0275attribute("disabled",be.disabled||null),m.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===be._animationMode)("mat-button-disabled",be.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[m.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:L,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(_e,be){1&_e&&(m.\u0275\u0275projectionDef(),m.\u0275\u0275elementStart(0,"span",0),m.\u0275\u0275projection(1),m.\u0275\u0275elementEnd(),m.\u0275\u0275element(2,"span",1),m.\u0275\u0275element(3,"span",2)),2&_e&&(m.\u0275\u0275advance(2),m.\u0275\u0275classProp("mat-button-ripple-round",be.isRoundButton||be.isIconButton),m.\u0275\u0275property("matRippleDisabled",be._isRippleDisabled())("matRippleCentered",be.isIconButton)("matRippleTrigger",be._getHostElement()))},directives:[s.wG],styles:[Z],encapsulation:2,changeDetection:0}),he})(),Y=(()=>{class he extends H{constructor(_e,be,Le){super(be,_e,Le)}_haltDisabledEvents(_e){this.disabled&&(_e.preventDefault(),_e.stopImmediatePropagation())}}return he.\u0275fac=function(_e){return new(_e||he)(m.\u0275\u0275directiveInject(C.tE),m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},he.\u0275cmp=m.\u0275\u0275defineComponent({type:he,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(_e,be){1&_e&&m.\u0275\u0275listener("click",function(at){return be._haltDisabledEvents(at)}),2&_e&&(m.\u0275\u0275attribute("tabindex",be.disabled?-1:be.tabIndex||0)("disabled",be.disabled||null)("aria-disabled",be.disabled.toString()),m.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===be._animationMode)("mat-button-disabled",be.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[m.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:L,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(_e,be){1&_e&&(m.\u0275\u0275projectionDef(),m.\u0275\u0275elementStart(0,"span",0),m.\u0275\u0275projection(1),m.\u0275\u0275elementEnd(),m.\u0275\u0275element(2,"span",1),m.\u0275\u0275element(3,"span",2)),2&_e&&(m.\u0275\u0275advance(2),m.\u0275\u0275classProp("mat-button-ripple-round",be.isRoundButton||be.isIconButton),m.\u0275\u0275property("matRippleDisabled",be._isRippleDisabled())("matRippleCentered",be.isIconButton)("matRippleTrigger",be._getHostElement()))},directives:[s.wG],styles:[Z],encapsulation:2,changeDetection:0}),he})(),ce=(()=>{class he{}return he.\u0275fac=function(_e){return new(_e||he)},he.\u0275mod=m.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=m.\u0275\u0275defineInjector({imports:[[s.si,s.BQ],s.BQ]}),he})()},2675:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MAT_CHIPS_DEFAULT_OPTIONS:()=>Lt,MAT_CHIP_AVATAR:()=>Pe,MAT_CHIP_REMOVE:()=>X,MAT_CHIP_TRAILING_ICON:()=>mt,MatChip:()=>Qt,MatChipAvatar:()=>Nt,MatChipInput:()=>j,MatChipList:()=>St,MatChipListChange:()=>Ke,MatChipRemove:()=>At,MatChipSelectionChange:()=>F,MatChipTrailingIcon:()=>zt,MatChipsModule:()=>Ce,\u02750:()=>Ee});var s=f(6461),c=f(7716),m=f(2458),C=f(9490),l=f(8583),L=f(6237),Z=f(9765),k=f(6682),M=f(5257),G=f(6782),H=f(9761),Y=f(9238),ce=f(8345),be=(f(8553),f(2759),f(7238),f(946)),Le=f(521);let Ye=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275dir=c.\u0275\u0275defineDirective({type:V}),V})();var w=f(3679);const oe=["*"];class F{constructor(z,S,q=!1){this.source=z,this.selected=S,this.isUserInput=q}}const X=new c.InjectionToken("MatChipRemove"),Pe=new c.InjectionToken("MatChipAvatar"),mt=new c.InjectionToken("MatChipTrailingIcon");class Ct{constructor(z){this._elementRef=z}}const Rt=(0,m.sb)((0,m.pj)((0,m.Kr)(Ct),"primary"),-1);let Nt=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275dir=c.\u0275\u0275defineDirective({type:V,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[c.\u0275\u0275ProvidersFeature([{provide:Pe,useExisting:V}])]}),V})(),zt=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275dir=c.\u0275\u0275defineDirective({type:V,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[c.\u0275\u0275ProvidersFeature([{provide:mt,useExisting:V}])]}),V})(),Qt=(()=>{class V extends Rt{constructor(S,q,tt,gt,Ht,dn,cn,an){super(S),this._ngZone=q,this._changeDetectorRef=Ht,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new Z.xQ,this._onBlur=new Z.xQ,this.selectionChange=new c.EventEmitter,this.destroyed=new c.EventEmitter,this.removed=new c.EventEmitter,this._addHostClassName(),this._chipRippleTarget=dn.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new m.IR(this,q,this._chipRippleTarget,tt),this._chipRipple.setupTriggerEvents(S),this.rippleConfig=gt||{},this._animationsDisabled="NoopAnimations"===cn,this.tabIndex=null!=an&&parseInt(an)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(S){const q=(0,C.Ig)(S);q!==this._selected&&(this._selected=q,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(S){this._value=S}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(S){this._selectable=(0,C.Ig)(S)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(S){this._disabled=(0,C.Ig)(S)}get removable(){return this._removable}set removable(S){this._removable=(0,C.Ig)(S)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const S="mat-basic-chip",q=this._elementRef.nativeElement;q.hasAttribute(S)||q.tagName.toLowerCase()===S?q.classList.add(S):q.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(S=!1){return this._selected=!this.selected,this._dispatchSelectionChange(S),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(S){this.disabled?S.preventDefault():S.stopPropagation()}_handleKeydown(S){if(!this.disabled)switch(S.keyCode){case s.yY:case s.ZH:this.remove(),S.preventDefault();break;case s.L_:this.selectable&&this.toggleSelected(!0),S.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(S=!1){this.selectionChange.emit({source:this,isUserInput:S,selected:this._selected})}}return V.\u0275fac=function(S){return new(S||V)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Le.t4),c.\u0275\u0275directiveInject(m.Y2,8),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(l.DOCUMENT),c.\u0275\u0275directiveInject(L.ANIMATION_MODULE_TYPE,8),c.\u0275\u0275injectAttribute("tabindex"))},V.\u0275dir=c.\u0275\u0275defineDirective({type:V,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(S,q,tt){if(1&S&&(c.\u0275\u0275contentQuery(tt,Pe,5),c.\u0275\u0275contentQuery(tt,mt,5),c.\u0275\u0275contentQuery(tt,X,5)),2&S){let gt;c.\u0275\u0275queryRefresh(gt=c.\u0275\u0275loadQuery())&&(q.avatar=gt.first),c.\u0275\u0275queryRefresh(gt=c.\u0275\u0275loadQuery())&&(q.trailingIcon=gt.first),c.\u0275\u0275queryRefresh(gt=c.\u0275\u0275loadQuery())&&(q.removeIcon=gt.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(S,q){1&S&&c.\u0275\u0275listener("click",function(gt){return q._handleClick(gt)})("keydown",function(gt){return q._handleKeydown(gt)})("focus",function(){return q.focus()})("blur",function(){return q._blur()}),2&S&&(c.\u0275\u0275attribute("tabindex",q.disabled?null:q.tabIndex)("disabled",q.disabled||null)("aria-disabled",q.disabled.toString())("aria-selected",q.ariaSelected),c.\u0275\u0275classProp("mat-chip-selected",q.selected)("mat-chip-with-avatar",q.avatar)("mat-chip-with-trailing-icon",q.trailingIcon||q.removeIcon)("mat-chip-disabled",q.disabled)("_mat-animation-noopable",q._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),V})(),At=(()=>{class V{constructor(S,q){this._parentChip=S,"BUTTON"===q.nativeElement.nodeName&&q.nativeElement.setAttribute("type","button")}_handleClick(S){const q=this._parentChip;q.removable&&!q.disabled&&q.remove(),S.stopPropagation()}}return V.\u0275fac=function(S){return new(S||V)(c.\u0275\u0275directiveInject(Qt),c.\u0275\u0275directiveInject(c.ElementRef))},V.\u0275dir=c.\u0275\u0275defineDirective({type:V,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(S,q){1&S&&c.\u0275\u0275listener("click",function(gt){return q._handleClick(gt)})},features:[c.\u0275\u0275ProvidersFeature([{provide:X,useExisting:V}])]}),V})();const Lt=new c.InjectionToken("mat-chips-default-options"),jt=(0,m.FD)(class{constructor(V,z,S,q){this._defaultErrorStateMatcher=V,this._parentForm=z,this._parentFormGroup=S,this.ngControl=q}});let _n=0;class Ke{constructor(z,S){this.source=z,this.value=S}}let St=(()=>{class V extends jt{constructor(S,q,tt,gt,Ht,dn,cn){super(dn,gt,Ht,cn),this._elementRef=S,this._changeDetectorRef=q,this._dir=tt,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Z.xQ,this._uid="mat-chip-list-"+_n++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(an,un)=>an===un,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new c.EventEmitter,this.valueChange=new c.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var S,q;return this.multiple?(null===(S=this._selectionModel)||void 0===S?void 0:S.selected)||[]:null===(q=this._selectionModel)||void 0===q?void 0:q.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(S){this._multiple=(0,C.Ig)(S),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(S){this._compareWith=S,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(S){this.writeValue(S),this._value=S}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(S){this._required=(0,C.Ig)(S),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(S){this._placeholder=S,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(S){this._disabled=(0,C.Ig)(S),this._syncChipsState()}get selectable(){return this._selectable}set selectable(S){this._selectable=(0,C.Ig)(S),this.chips&&this.chips.forEach(q=>q.chipListSelectable=this._selectable)}set tabIndex(S){this._userTabIndex=S,this._tabIndex=S}get chipSelectionChanges(){return(0,k.T)(...this.chips.map(S=>S.selectionChange))}get chipFocusChanges(){return(0,k.T)(...this.chips.map(S=>S._onFocus))}get chipBlurChanges(){return(0,k.T)(...this.chips.map(S=>S._onBlur))}get chipRemoveChanges(){return(0,k.T)(...this.chips.map(S=>S.destroyed))}ngAfterContentInit(){this._keyManager=new Y.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,G.R)(this._destroyed)).subscribe(S=>this._keyManager.withHorizontalOrientation(S)),this._keyManager.tabOut.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,H.O)(null),(0,G.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new ce.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(S){this._chipInput=S,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",S.id)}setDescribedByIds(S){this._ariaDescribedby=S.join(" ")}writeValue(S){this.chips&&this._setSelectionByValue(S,!1)}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this.disabled=S,this.stateChanges.next()}onContainerClick(S){this._originatesFromChip(S)||this.focus()}focus(S){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(S),this.stateChanges.next()))}_focusInput(S){this._chipInput&&this._chipInput.focus(S)}_keydown(S){const q=S.target;q&&q.classList.contains("mat-chip")&&(this._keyManager.onKeydown(S),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const S=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(S)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(S){return S>=0&&S<this.chips.length}_setSelectionByValue(S,q=!0){if(this._clearSelection(),this.chips.forEach(tt=>tt.deselect()),Array.isArray(S))S.forEach(tt=>this._selectValue(tt,q)),this._sortValues();else{const tt=this._selectValue(S,q);tt&&q&&this._keyManager.setActiveItem(tt)}}_selectValue(S,q=!0){const tt=this.chips.find(gt=>null!=gt.value&&this._compareWith(gt.value,S));return tt&&(q?tt.selectViaInteraction():tt.select(),this._selectionModel.select(tt)),tt}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(S){this._selectionModel.clear(),this.chips.forEach(q=>{q!==S&&q.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(S=>{S.selected&&this._selectionModel.select(S)}),this.stateChanges.next())}_propagateChanges(S){let q=null;q=Array.isArray(this.selected)?this.selected.map(tt=>tt.value):this.selected?this.selected.value:S,this._value=q,this.change.emit(new Ke(this,q)),this.valueChange.emit(q),this._onChange(q),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(S=>{S.source.selected?this._selectionModel.select(S.source):this._selectionModel.deselect(S.source),this.multiple||this.chips.forEach(q=>{!this._selectionModel.isSelected(q)&&q.selected&&q.deselect()}),S.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(S=>{let q=this.chips.toArray().indexOf(S.chip);this._isValidIndex(q)&&this._keyManager.updateActiveItem(q),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(S=>{const q=S.chip,tt=this.chips.toArray().indexOf(S.chip);this._isValidIndex(tt)&&q._hasFocus&&(this._lastDestroyedChipIndex=tt)})}_originatesFromChip(S){let q=S.target;for(;q&&q!==this._elementRef.nativeElement;){if(q.classList.contains("mat-chip"))return!0;q=q.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(S=>S._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(S=>{S._chipListDisabled=this._disabled,S._chipListMultiple=this.multiple})}}return V.\u0275fac=function(S){return new(S||V)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(be.Is,8),c.\u0275\u0275directiveInject(w.NgForm,8),c.\u0275\u0275directiveInject(w.FormGroupDirective,8),c.\u0275\u0275directiveInject(m.rD),c.\u0275\u0275directiveInject(w.NgControl,10))},V.\u0275cmp=c.\u0275\u0275defineComponent({type:V,selectors:[["mat-chip-list"]],contentQueries:function(S,q,tt){if(1&S&&c.\u0275\u0275contentQuery(tt,Qt,5),2&S){let gt;c.\u0275\u0275queryRefresh(gt=c.\u0275\u0275loadQuery())&&(q.chips=gt)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(S,q){1&S&&c.\u0275\u0275listener("focus",function(){return q.focus()})("blur",function(){return q._blur()})("keydown",function(gt){return q._keydown(gt)}),2&S&&(c.\u0275\u0275hostProperty("id",q._uid),c.\u0275\u0275attribute("tabindex",q.disabled?null:q._tabIndex)("aria-describedby",q._ariaDescribedby||null)("aria-required",q.role?q.required:null)("aria-disabled",q.disabled.toString())("aria-invalid",q.errorState)("aria-multiselectable",q.multiple)("role",q.role)("aria-orientation",q.ariaOrientation),c.\u0275\u0275classProp("mat-chip-list-disabled",q.disabled)("mat-chip-list-invalid",q.errorState)("mat-chip-list-required",q.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[c.\u0275\u0275ProvidersFeature([{provide:Ye,useExisting:V}]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:oe,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(S,q){1&S&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275projection(1),c.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),V})(),O=0,j=(()=>{class V{constructor(S,q){this._elementRef=S,this._defaultOptions=q,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new c.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+O++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(S){S&&(this._chipList=S,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(S){this._addOnBlur=(0,C.Ig)(S)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(S){this._disabled=(0,C.Ig)(S)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(S){if(S){if(S.keyCode===s.Mf&&!(0,s.Vb)(S,"shiftKey")&&this._chipList._allowFocusEscape(),S.keyCode===s.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void S.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(S)}_keyup(S){!this._focusLastChipOnBackspace&&S.keyCode===s.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,S.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(S){!this.inputElement.value&&!!S&&this._chipList._keydown(S),(!S||this._isSeparatorKey(S))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==S||S.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(S){this.inputElement.focus(S)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(S){return!(0,s.Vb)(S)&&new Set(this.separatorKeyCodes).has(S.keyCode)}}return V.\u0275fac=function(S){return new(S||V)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(Lt))},V.\u0275dir=c.\u0275\u0275defineDirective({type:V,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(S,q){1&S&&c.\u0275\u0275listener("keydown",function(gt){return q._keydown(gt)})("keyup",function(gt){return q._keyup(gt)})("blur",function(){return q._blur()})("focus",function(){return q._focus()})("input",function(){return q._onInput()}),2&S&&(c.\u0275\u0275hostProperty("id",q.id),c.\u0275\u0275attribute("disabled",q.disabled||null)("placeholder",q.placeholder||null)("aria-invalid",q._chipList&&q._chipList.ngControl?q._chipList.ngControl.invalid:null)("aria-required",q._chipList&&q._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[c.\u0275\u0275NgOnChangesFeature]}),V})();const Ee={separatorKeyCodes:[s.K5]};let Ce=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275mod=c.\u0275\u0275defineNgModule({type:V}),V.\u0275inj=c.\u0275\u0275defineInjector({providers:[m.rD,{provide:Lt,useValue:Ee}],imports:[[m.BQ]]}),V})()},2458:(Qe,re,f)=>{"use strict";f.d(re,{rD:()=>se,Y2:()=>I,BQ:()=>Ze,wG:()=>w,si:()=>oe,IR:()=>yt,pj:()=>je,Kr:()=>le,Id:()=>we,FD:()=>W,sb:()=>Xe});var s=f(7716),c=f(9238),m=f(946);const C=new s.Version("12.2.11");var l=f(8583),L=f(521),Z=f(9490),k=f(9765),M=f(6237);f(6461);const at=new s.Version("12.2.11"),st=new s.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let rt,Ze=(()=>{class O{constructor(N,Ee,Ce){this._hasDoneGlobalChecks=!1,this._document=Ce,N._applyBodyHighContrastModeCssClasses(),this._sanityChecks=Ee,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(N){return!(!(0,s.isDevMode)()||(0,L.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[N])}_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 N=this._document.createElement("div");N.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(N);const Ee=getComputedStyle(N);Ee&&"none"!==Ee.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(N)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&at.full!==C.full&&console.warn("The Angular Material version ("+at.full+") does not match the Angular CDK version ("+C.full+").\nPlease ensure the versions of these two packages exactly match.")}}return O.\u0275fac=function(N){return new(N||O)(s.\u0275\u0275inject(c.qm),s.\u0275\u0275inject(st,8),s.\u0275\u0275inject(l.DOCUMENT))},O.\u0275mod=s.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=s.\u0275\u0275defineInjector({imports:[[m.vT],m.vT]}),O})();function we(O){return class extends O{constructor(...j){super(...j),this._disabled=!1}get disabled(){return this._disabled}set disabled(j){this._disabled=(0,Z.Ig)(j)}}}function je(O,j){return class extends O{constructor(...N){super(...N),this.defaultColor=j,this.color=j}get color(){return this._color}set color(N){const Ee=N||this.defaultColor;Ee!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ee&&this._elementRef.nativeElement.classList.add(`mat-${Ee}`),this._color=Ee)}}}function le(O){return class extends O{constructor(...j){super(...j),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(j){this._disableRipple=(0,Z.Ig)(j)}}}function Xe(O,j=0){return class extends O{constructor(...N){super(...N),this._tabIndex=j,this.defaultTabIndex=j}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(N){this._tabIndex=null!=N?(0,Z.su)(N):this.defaultTabIndex}}}function W(O){return class extends O{constructor(...j){super(...j),this.stateChanges=new k.xQ,this.errorState=!1}updateErrorState(){const j=this.errorState,V=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);V!==j&&(this.errorState=V,this.stateChanges.next())}}}try{rt="undefined"!=typeof Intl}catch(O){rt=!1}let se=(()=>{class O{isErrorState(N,Ee){return!!(N&&N.invalid&&(N.touched||Ee&&Ee.submitted))}}return O.\u0275fac=function(N){return new(N||O)},O.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new O},token:O,providedIn:"root"}),O})();class Ge{constructor(j,N,Ee){this._renderer=j,this.element=N,this.config=Ee,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ve={enterDuration:225,exitDuration:150},K=(0,L.i$)({passive:!0}),ze=["mousedown","touchstart"],ft=["mouseup","mouseleave","touchend","touchcancel"];class yt{constructor(j,N,Ee,Ce){this._target=j,this._ngZone=N,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ce.isBrowser&&(this._containerElement=(0,Z.fI)(Ee))}fadeInRipple(j,N,Ee={}){const Ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),V=Object.assign(Object.assign({},Ve),Ee.animation);Ee.centered&&(j=Ce.left+Ce.width/2,N=Ce.top+Ce.height/2);const z=Ee.radius||function(O,j,N){const Ee=Math.max(Math.abs(O-N.left),Math.abs(O-N.right)),Ce=Math.max(Math.abs(j-N.top),Math.abs(j-N.bottom));return Math.sqrt(Ee*Ee+Ce*Ce)}(j,N,Ce),S=j-Ce.left,q=N-Ce.top,tt=V.enterDuration,gt=document.createElement("div");gt.classList.add("mat-ripple-element"),gt.style.left=S-z+"px",gt.style.top=q-z+"px",gt.style.height=2*z+"px",gt.style.width=2*z+"px",null!=Ee.color&&(gt.style.backgroundColor=Ee.color),gt.style.transitionDuration=`${tt}ms`,this._containerElement.appendChild(gt),window.getComputedStyle(gt).getPropertyValue("opacity"),gt.style.transform="scale(1)";const Ht=new Ge(this,gt,Ee);return Ht.state=0,this._activeRipples.add(Ht),Ee.persistent||(this._mostRecentTransientRipple=Ht),this._runTimeoutOutsideZone(()=>{const dn=Ht===this._mostRecentTransientRipple;Ht.state=1,!Ee.persistent&&(!dn||!this._isPointerDown)&&Ht.fadeOut()},tt),Ht}fadeOutRipple(j){const N=this._activeRipples.delete(j);if(j===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!N)return;const Ee=j.element,Ce=Object.assign(Object.assign({},Ve),j.config.animation);Ee.style.transitionDuration=`${Ce.exitDuration}ms`,Ee.style.opacity="0",j.state=2,this._runTimeoutOutsideZone(()=>{j.state=3,Ee.parentNode.removeChild(Ee)},Ce.exitDuration)}fadeOutAll(){this._activeRipples.forEach(j=>j.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(j=>{j.config.persistent||j.fadeOut()})}setupTriggerEvents(j){const N=(0,Z.fI)(j);!N||N===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=N,this._registerEvents(ze))}handleEvent(j){"mousedown"===j.type?this._onMousedown(j):"touchstart"===j.type?this._onTouchStart(j):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ft),this._pointerUpEventsRegistered=!0)}_onMousedown(j){const N=(0,c.X6)(j),Ee=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!N&&!Ee&&(this._isPointerDown=!0,this.fadeInRipple(j.clientX,j.clientY,this._target.rippleConfig))}_onTouchStart(j){if(!this._target.rippleDisabled&&!(0,c.yG)(j)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const N=j.changedTouches;for(let Ee=0;Ee<N.length;Ee++)this.fadeInRipple(N[Ee].clientX,N[Ee].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(j=>{!j.config.persistent&&(1===j.state||j.config.terminateOnPointerUp&&0===j.state)&&j.fadeOut()}))}_runTimeoutOutsideZone(j,N=0){this._ngZone.runOutsideAngular(()=>setTimeout(j,N))}_registerEvents(j){this._ngZone.runOutsideAngular(()=>{j.forEach(N=>{this._triggerElement.addEventListener(N,this,K)})})}_removeTriggerEvents(){this._triggerElement&&(ze.forEach(j=>{this._triggerElement.removeEventListener(j,this,K)}),this._pointerUpEventsRegistered&&ft.forEach(j=>{this._triggerElement.removeEventListener(j,this,K)}))}}const I=new s.InjectionToken("mat-ripple-global-options");let w=(()=>{class O{constructor(N,Ee,Ce,V,z){this._elementRef=N,this._animationMode=z,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=V||{},this._rippleRenderer=new yt(this,Ee,N,Ce)}get disabled(){return this._disabled}set disabled(N){N&&this.fadeOutAllNonPersistent(),this._disabled=N,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(N){this._trigger=N,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(N,Ee=0,Ce){return"number"==typeof N?this._rippleRenderer.fadeInRipple(N,Ee,Object.assign(Object.assign({},this.rippleConfig),Ce)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),N))}}return O.\u0275fac=function(N){return new(N||O)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(L.t4),s.\u0275\u0275directiveInject(I,8),s.\u0275\u0275directiveInject(M.ANIMATION_MODULE_TYPE,8))},O.\u0275dir=s.\u0275\u0275defineDirective({type:O,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(N,Ee){2&N&&s.\u0275\u0275classProp("mat-ripple-unbounded",Ee.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"]}),O})(),oe=(()=>{class O{}return O.\u0275fac=function(N){return new(N||O)},O.\u0275mod=s.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=s.\u0275\u0275defineInjector({imports:[[Ze,L.ud],Ze]}),O})()},2238:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MAT_DIALOG_DATA:()=>Xe,MAT_DIALOG_DEFAULT_OPTIONS:()=>W,MAT_DIALOG_SCROLL_STRATEGY:()=>te,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>fe,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>Ne,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>ae,MatDialog:()=>rt,MatDialogActions:()=>Ot,MatDialogClose:()=>ke,MatDialogConfig:()=>Le,MatDialogContainer:()=>Ze,MatDialogContent:()=>ht,MatDialogModule:()=>ut,MatDialogRef:()=>je,MatDialogTitle:()=>nt,_MatDialogBase:()=>xe,_MatDialogContainerBase:()=>st,_closeDialogVia:()=>le,matDialogAnimations:()=>at,throwMatDialogContentAlreadyAttachedError:()=>Mt});var s=f(625),c=f(7636),m=f(7716),C=f(2458),l=f(946),L=f(8583),Z=f(9765),k=f(1439),M=f(5917),G=f(5435),H=f(5257),Y=f(9761),ce=f(521),he=f(7238),ne=f(6461),_e=f(9238);function be(R,ee){}class Le{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 at={dialogContainer:(0,he.X$)("dialogContainer",[(0,he.SB)("void, exit",(0,he.oB)({opacity:0,transform:"scale(0.7)"})),(0,he.SB)("enter",(0,he.oB)({transform:"none"})),(0,he.eR)("* => enter",(0,he.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,he.oB)({transform:"none",opacity:1}))),(0,he.eR)("* => void, * => exit",(0,he.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,he.oB)({opacity:0})))])};function Mt(){throw Error("Attempting to attach dialog content after content is already attached")}let st=(()=>{class R extends c.en{constructor(x,ge,se,me,Re,it){super(),this._elementRef=x,this._focusTrapFactory=ge,this._changeDetectorRef=se,this._config=Re,this._focusMonitor=it,this._animationStateChanged=new m.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=wt=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(wt)),this._ariaLabelledBy=Re.ariaLabelledBy||null,this._document=me}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(x){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(x)}attachTemplatePortal(x){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(x)}_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 x=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&x&&"function"==typeof x.focus){const ge=(0,ce.ht)(),se=this._elementRef.nativeElement;(!ge||ge===this._document.body||ge===se||se.contains(ge))&&(this._focusMonitor?(this._focusMonitor.focusVia(x,this._closeInteractionType),this._closeInteractionType=null):x.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ce.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const x=this._elementRef.nativeElement,ge=(0,ce.ht)();return x===ge||x.contains(ge)}}return R.\u0275fac=function(x){return new(x||R)(m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275directiveInject(_e.qV),m.\u0275\u0275directiveInject(m.ChangeDetectorRef),m.\u0275\u0275directiveInject(L.DOCUMENT,8),m.\u0275\u0275directiveInject(Le),m.\u0275\u0275directiveInject(_e.tE))},R.\u0275dir=m.\u0275\u0275defineDirective({type:R,viewQuery:function(x,ge){if(1&x&&m.\u0275\u0275viewQuery(c.Pl,7),2&x){let se;m.\u0275\u0275queryRefresh(se=m.\u0275\u0275loadQuery())&&(ge._portalOutlet=se.first)}},features:[m.\u0275\u0275InheritDefinitionFeature]}),R})(),Ze=(()=>{class R extends st{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:x,totalTime:ge}){"enter"===x?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ge})):"exit"===x&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ge}))}_onAnimationStart({toState:x,totalTime:ge}){"enter"===x?this._animationStateChanged.next({state:"opening",totalTime:ge}):("exit"===x||"void"===x)&&this._animationStateChanged.next({state:"closing",totalTime:ge})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return R.\u0275fac=function(){let ee;return function(ge){return(ee||(ee=m.\u0275\u0275getInheritedFactory(R)))(ge||R)}}(),R.\u0275cmp=m.\u0275\u0275defineComponent({type:R,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(x,ge){1&x&&m.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(me){return ge._onAnimationStart(me)})("@dialogContainer.done",function(me){return ge._onAnimationDone(me)}),2&x&&(m.\u0275\u0275hostProperty("id",ge._id),m.\u0275\u0275attribute("role",ge._config.role)("aria-labelledby",ge._config.ariaLabel?null:ge._ariaLabelledBy)("aria-label",ge._config.ariaLabel)("aria-describedby",ge._config.ariaDescribedBy||null),m.\u0275\u0275syntheticHostProperty("@dialogContainer",ge._state))},features:[m.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(x,ge){1&x&&m.\u0275\u0275template(0,be,0,0,"ng-template",0)},directives:[c.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:[at.dialogContainer]}}),R})(),we=0;class je{constructor(ee,x,ge="mat-dialog-"+we++){this._overlayRef=ee,this._containerInstance=x,this.id=ge,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Z.xQ,this._afterClosed=new Z.xQ,this._beforeClosed=new Z.xQ,this._state=0,x._id=ge,x._animationStateChanged.pipe((0,G.h)(se=>"opened"===se.state),(0,H.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),x._animationStateChanged.pipe((0,G.h)(se=>"closed"===se.state),(0,H.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ee.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),ee.keydownEvents().pipe((0,G.h)(se=>se.keyCode===ne.hY&&!this.disableClose&&!(0,ne.Vb)(se))).subscribe(se=>{se.preventDefault(),le(this,"keyboard")}),ee.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():le(this,"mouse")})}close(ee){this._result=ee,this._containerInstance._animationStateChanged.pipe((0,G.h)(x=>"closing"===x.state),(0,H.q)(1)).subscribe(x=>{this._beforeClosed.next(ee),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),x.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(ee){let x=this._getPositionStrategy();return ee&&(ee.left||ee.right)?ee.left?x.left(ee.left):x.right(ee.right):x.centerHorizontally(),ee&&(ee.top||ee.bottom)?ee.top?x.top(ee.top):x.bottom(ee.bottom):x.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(ee="",x=""){return this._overlayRef.updateSize({width:ee,height:x}),this._overlayRef.updatePosition(),this}addPanelClass(ee){return this._overlayRef.addPanelClass(ee),this}removePanelClass(ee){return this._overlayRef.removePanelClass(ee),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function le(R,ee,x){return void 0!==R._containerInstance&&(R._containerInstance._closeInteractionType=ee),R.close(x)}const Xe=new m.InjectionToken("MatDialogData"),W=new m.InjectionToken("mat-dialog-default-options"),te=new m.InjectionToken("mat-dialog-scroll-strategy");function fe(R){return()=>R.scrollStrategies.block()}function ae(R){return()=>R.scrollStrategies.block()}const Ne={provide:te,deps:[s.aV],useFactory:ae};let xe=(()=>{class R{constructor(x,ge,se,me,Re,it,wt,Ge,Ve){this._overlay=x,this._injector=ge,this._defaultOptions=se,this._parentDialog=me,this._overlayContainer=Re,this._dialogRefConstructor=wt,this._dialogContainerType=Ge,this._dialogDataToken=Ve,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Z.xQ,this._afterOpenedAtThisLevel=new Z.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,k.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.O)(void 0))),this._scrollStrategy=it}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const x=this._parentDialog;return x?x._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(x,ge){(ge=function(R,ee){return Object.assign(Object.assign({},ee),R)}(ge,this._defaultOptions||new Le)).id&&this.getDialogById(ge.id);const se=this._createOverlay(ge),me=this._attachDialogContainer(se,ge),Re=this._attachDialogContent(x,me,se,ge);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Re),Re.afterClosed().subscribe(()=>this._removeOpenDialog(Re)),this.afterOpened.next(Re),me._initializeWithAttachedContent(),Re}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(x){return this.openDialogs.find(ge=>ge.id===x)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(x){const ge=this._getOverlayConfig(x);return this._overlay.create(ge)}_getOverlayConfig(x){const ge=new s.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:x.scrollStrategy||this._scrollStrategy(),panelClass:x.panelClass,hasBackdrop:x.hasBackdrop,direction:x.direction,minWidth:x.minWidth,minHeight:x.minHeight,maxWidth:x.maxWidth,maxHeight:x.maxHeight,disposeOnNavigation:x.closeOnNavigation});return x.backdropClass&&(ge.backdropClass=x.backdropClass),ge}_attachDialogContainer(x,ge){const me=m.Injector.create({parent:ge&&ge.viewContainerRef&&ge.viewContainerRef.injector||this._injector,providers:[{provide:Le,useValue:ge}]}),Re=new c.C5(this._dialogContainerType,ge.viewContainerRef,me,ge.componentFactoryResolver);return x.attach(Re).instance}_attachDialogContent(x,ge,se,me){const Re=new this._dialogRefConstructor(se,ge,me.id);if(x instanceof m.TemplateRef)ge.attachTemplatePortal(new c.UE(x,null,{$implicit:me.data,dialogRef:Re}));else{const it=this._createInjector(me,Re,ge),wt=ge.attachComponentPortal(new c.C5(x,me.viewContainerRef,it));Re.componentInstance=wt.instance}return Re.updateSize(me.width,me.height).updatePosition(me.position),Re}_createInjector(x,ge,se){const me=x&&x.viewContainerRef&&x.viewContainerRef.injector,Re=[{provide:this._dialogContainerType,useValue:se},{provide:this._dialogDataToken,useValue:x.data},{provide:this._dialogRefConstructor,useValue:ge}];return x.direction&&(!me||!me.get(l.Is,null,m.InjectFlags.Optional))&&Re.push({provide:l.Is,useValue:{value:x.direction,change:(0,M.of)()}}),m.Injector.create({parent:me||this._injector,providers:Re})}_removeOpenDialog(x){const ge=this.openDialogs.indexOf(x);ge>-1&&(this.openDialogs.splice(ge,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((se,me)=>{se?me.setAttribute("aria-hidden",se):me.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const x=this._overlayContainer.getContainerElement();if(x.parentElement){const ge=x.parentElement.children;for(let se=ge.length-1;se>-1;se--){let me=ge[se];me!==x&&"SCRIPT"!==me.nodeName&&"STYLE"!==me.nodeName&&!me.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(me,me.getAttribute("aria-hidden")),me.setAttribute("aria-hidden","true"))}}}_closeDialogs(x){let ge=x.length;for(;ge--;)x[ge].close()}}return R.\u0275fac=function(x){return new(x||R)(m.\u0275\u0275directiveInject(s.aV),m.\u0275\u0275directiveInject(m.Injector),m.\u0275\u0275directiveInject(void 0),m.\u0275\u0275directiveInject(void 0),m.\u0275\u0275directiveInject(s.Xj),m.\u0275\u0275directiveInject(void 0),m.\u0275\u0275directiveInject(m.Type),m.\u0275\u0275directiveInject(m.Type),m.\u0275\u0275directiveInject(m.InjectionToken))},R.\u0275dir=m.\u0275\u0275defineDirective({type:R}),R})(),rt=(()=>{class R extends xe{constructor(x,ge,se,me,Re,it,wt){super(x,ge,me,it,wt,Re,je,Ze,Xe)}}return R.\u0275fac=function(x){return new(x||R)(m.\u0275\u0275inject(s.aV),m.\u0275\u0275inject(m.Injector),m.\u0275\u0275inject(L.Location,8),m.\u0275\u0275inject(W,8),m.\u0275\u0275inject(te),m.\u0275\u0275inject(R,12),m.\u0275\u0275inject(s.Xj))},R.\u0275prov=m.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),bt=0,ke=(()=>{class R{constructor(x,ge,se){this.dialogRef=x,this._elementRef=ge,this._dialog=se,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ye(this._elementRef,this._dialog.openDialogs))}ngOnChanges(x){const ge=x._matDialogClose||x._matDialogCloseResult;ge&&(this.dialogResult=ge.currentValue)}_onButtonClick(x){le(this.dialogRef,0===x.screenX&&0===x.screenY?"keyboard":"mouse",this.dialogResult)}}return R.\u0275fac=function(x){return new(x||R)(m.\u0275\u0275directiveInject(je,8),m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275directiveInject(rt))},R.\u0275dir=m.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(x,ge){1&x&&m.\u0275\u0275listener("click",function(me){return ge._onButtonClick(me)}),2&x&&m.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("type",ge.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[m.\u0275\u0275NgOnChangesFeature]}),R})(),nt=(()=>{class R{constructor(x,ge,se){this._dialogRef=x,this._elementRef=ge,this._dialog=se,this.id="mat-dialog-title-"+bt++}ngOnInit(){this._dialogRef||(this._dialogRef=Ye(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const x=this._dialogRef._containerInstance;x&&!x._ariaLabelledBy&&(x._ariaLabelledBy=this.id)})}}return R.\u0275fac=function(x){return new(x||R)(m.\u0275\u0275directiveInject(je,8),m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275directiveInject(rt))},R.\u0275dir=m.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(x,ge){2&x&&m.\u0275\u0275hostProperty("id",ge.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),R})(),ht=(()=>{class R{}return R.\u0275fac=function(x){return new(x||R)},R.\u0275dir=m.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),R})(),Ot=(()=>{class R{}return R.\u0275fac=function(x){return new(x||R)},R.\u0275dir=m.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),R})();function Ye(R,ee){let x=R.nativeElement.parentElement;for(;x&&!x.classList.contains("mat-dialog-container");)x=x.parentElement;return x?ee.find(ge=>ge.id===x.id):null}let ut=(()=>{class R{}return R.\u0275fac=function(x){return new(x||R)},R.\u0275mod=m.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=m.\u0275\u0275defineInjector({providers:[rt,Ne],imports:[[s.U8,c.eL,C.BQ],C.BQ]}),R})()},2421:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{ICON_REGISTRY_PROVIDER:()=>Ne,ICON_REGISTRY_PROVIDER_FACTORY:()=>ae,MAT_ICON_LOCATION:()=>ke,MAT_ICON_LOCATION_FACTORY:()=>nt,MatIcon:()=>R,MatIconModule:()=>ee,MatIconRegistry:()=>fe,getMatIconFailedToSanitizeLiteralError:()=>W,getMatIconFailedToSanitizeUrlError:()=>Xe,getMatIconNameNotFoundError:()=>je,getMatIconNoHttpProviderError:()=>le,\u02750:()=>Ot});var s=f(7716),c=f(2458),m=f(9490),C=f(8583),l=f(5917),L=f(205),Z=f(5758),k=f(826),M=f(5345);class H{constructor(ge){this.selector=ge}call(ge,se){return se.subscribe(new Y(ge,this.selector,this.caught))}}class Y extends M.Ds{constructor(ge,se,me){super(ge),this.selector=se,this.caught=me}error(ge){if(!this.isStopped){let se;try{se=this.selector(ge,this.caught)}catch(it){return void super.error(it)}this._unsubscribeAndRecycle();const me=new M.IY(this);this.add(me);const Re=(0,M.ft)(se,me);Re!==me&&this.add(Re)}}}var ce=f(7393);class ne{constructor(ge){this.callback=ge}call(ge,se){return se.subscribe(new _e(ge,this.callback))}}class _e extends ce.L{constructor(ge,se){super(ge),this.add(new k.w(se))}}var be=f(8307),Le=f(8002),at=f(8819),Mt=f(5257),st=f(6820),Ze=f(9075);const we=["*"];function je(x){return Error(`Unable to find icon with the name "${x}"`)}function le(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Xe(x){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${x}".`)}function W(x){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${x}".`)}class te{constructor(ge,se,me){this.url=ge,this.svgText=se,this.options=me}}let fe=(()=>{class x{constructor(se,me,Re,it){this._httpClient=se,this._sanitizer=me,this._errorHandler=it,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=Re}addSvgIcon(se,me,Re){return this.addSvgIconInNamespace("",se,me,Re)}addSvgIconLiteral(se,me,Re){return this.addSvgIconLiteralInNamespace("",se,me,Re)}addSvgIconInNamespace(se,me,Re,it){return this._addSvgIconConfig(se,me,new te(Re,null,it))}addSvgIconResolver(se){return this._resolvers.push(se),this}addSvgIconLiteralInNamespace(se,me,Re,it){const wt=this._sanitizer.sanitize(s.SecurityContext.HTML,Re);if(!wt)throw W(Re);return this._addSvgIconConfig(se,me,new te("",wt,it))}addSvgIconSet(se,me){return this.addSvgIconSetInNamespace("",se,me)}addSvgIconSetLiteral(se,me){return this.addSvgIconSetLiteralInNamespace("",se,me)}addSvgIconSetInNamespace(se,me,Re){return this._addSvgIconSetConfig(se,new te(me,null,Re))}addSvgIconSetLiteralInNamespace(se,me,Re){const it=this._sanitizer.sanitize(s.SecurityContext.HTML,me);if(!it)throw W(me);return this._addSvgIconSetConfig(se,new te("",it,Re))}registerFontClassAlias(se,me=se){return this._fontCssClassesByAlias.set(se,me),this}classNameForFontAlias(se){return this._fontCssClassesByAlias.get(se)||se}setDefaultFontSetClass(se){return this._defaultFontSetClass=se,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(se){const me=this._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,se);if(!me)throw Xe(se);const Re=this._cachedIconsByUrl.get(me);return Re?(0,l.of)(xe(Re)):this._loadSvgIconFromConfig(new te(se,null)).pipe((0,be.b)(it=>this._cachedIconsByUrl.set(me,it)),(0,Le.U)(it=>xe(it)))}getNamedSvgIcon(se,me=""){const Re=rt(me,se);let it=this._svgIconConfigs.get(Re);if(it)return this._getSvgFromConfig(it);if(it=this._getIconConfigFromResolvers(me,se),it)return this._svgIconConfigs.set(Re,it),this._getSvgFromConfig(it);const wt=this._iconSetConfigs.get(me);return wt?this._getSvgFromIconSetConfigs(se,wt):(0,L._)(je(Re))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(se){return se.svgText?(0,l.of)(xe(this._svgElementFromConfig(se))):this._loadSvgIconFromConfig(se).pipe((0,Le.U)(me=>xe(me)))}_getSvgFromIconSetConfigs(se,me){const Re=this._extractIconWithNameFromAnySet(se,me);if(Re)return(0,l.of)(Re);const it=me.filter(wt=>!wt.svgText).map(wt=>this._loadSvgIconSetFromConfig(wt).pipe(function(x){return function(se){const me=new H(x),Re=se.lift(me);return me.caught=Re}}(Ge=>{const Be=`Loading icon set URL: ${this._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,wt.url)} failed: ${Ge.message}`;return this._errorHandler.handleError(new Error(Be)),(0,l.of)(null)})));return(0,Z.D)(it).pipe((0,Le.U)(()=>{const wt=this._extractIconWithNameFromAnySet(se,me);if(!wt)throw je(se);return wt}))}_extractIconWithNameFromAnySet(se,me){for(let Re=me.length-1;Re>=0;Re--){const it=me[Re];if(it.svgText&&it.svgText.indexOf(se)>-1){const wt=this._svgElementFromConfig(it),Ge=this._extractSvgIconFromSet(wt,se,it.options);if(Ge)return Ge}}return null}_loadSvgIconFromConfig(se){return this._fetchIcon(se).pipe((0,be.b)(me=>se.svgText=me),(0,Le.U)(()=>this._svgElementFromConfig(se)))}_loadSvgIconSetFromConfig(se){return se.svgText?(0,l.of)(null):this._fetchIcon(se).pipe((0,be.b)(me=>se.svgText=me))}_extractSvgIconFromSet(se,me,Re){const it=se.querySelector(`[id="${me}"]`);if(!it)return null;const wt=it.cloneNode(!0);if(wt.removeAttribute("id"),"svg"===wt.nodeName.toLowerCase())return this._setSvgAttributes(wt,Re);if("symbol"===wt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(wt),Re);const Ge=this._svgElementFromString("<svg></svg>");return Ge.appendChild(wt),this._setSvgAttributes(Ge,Re)}_svgElementFromString(se){const me=this._document.createElement("DIV");me.innerHTML=se;const Re=me.querySelector("svg");if(!Re)throw Error("<svg> tag not found");return Re}_toSvgElement(se){const me=this._svgElementFromString("<svg></svg>"),Re=se.attributes;for(let it=0;it<Re.length;it++){const{name:wt,value:Ge}=Re[it];"id"!==wt&&me.setAttribute(wt,Ge)}for(let it=0;it<se.childNodes.length;it++)se.childNodes[it].nodeType===this._document.ELEMENT_NODE&&me.appendChild(se.childNodes[it].cloneNode(!0));return me}_setSvgAttributes(se,me){return se.setAttribute("fit",""),se.setAttribute("height","100%"),se.setAttribute("width","100%"),se.setAttribute("preserveAspectRatio","xMidYMid meet"),se.setAttribute("focusable","false"),me&&me.viewBox&&se.setAttribute("viewBox",me.viewBox),se}_fetchIcon(se){var me;const{url:Re,options:it}=se,wt=null!==(me=null==it?void 0:it.withCredentials)&&void 0!==me&&me;if(!this._httpClient)throw le();if(null==Re)throw Error(`Cannot fetch icon from URL "${Re}".`);const Ge=this._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,Re);if(!Ge)throw Xe(Re);const Ve=this._inProgressUrlFetches.get(Ge);if(Ve)return Ve;const Be=this._httpClient.get(Ge,{responseType:"text",withCredentials:wt}).pipe(function(x){return ge=>ge.lift(new ne(x))}(()=>this._inProgressUrlFetches.delete(Ge)),(0,at.B)());return this._inProgressUrlFetches.set(Ge,Be),Be}_addSvgIconConfig(se,me,Re){return this._svgIconConfigs.set(rt(se,me),Re),this}_addSvgIconSetConfig(se,me){const Re=this._iconSetConfigs.get(se);return Re?Re.push(me):this._iconSetConfigs.set(se,[me]),this}_svgElementFromConfig(se){if(!se.svgElement){const me=this._svgElementFromString(se.svgText);this._setSvgAttributes(me,se.options),se.svgElement=me}return se.svgElement}_getIconConfigFromResolvers(se,me){for(let Re=0;Re<this._resolvers.length;Re++){const it=this._resolvers[Re](me,se);if(it)return lt(it)?new te(it.url,null,it.options):new te(it,null)}}}return x.\u0275fac=function(se){return new(se||x)(s.\u0275\u0275inject(st.HttpClient,8),s.\u0275\u0275inject(Ze.DomSanitizer),s.\u0275\u0275inject(C.DOCUMENT,8),s.\u0275\u0275inject(s.ErrorHandler))},x.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new x(s.\u0275\u0275inject(st.HttpClient,8),s.\u0275\u0275inject(Ze.DomSanitizer),s.\u0275\u0275inject(C.DOCUMENT,8),s.\u0275\u0275inject(s.ErrorHandler))},token:x,providedIn:"root"}),x})();function ae(x,ge,se,me,Re){return x||new fe(ge,se,Re,me)}const Ne={provide:fe,deps:[[new s.Optional,new s.SkipSelf,fe],[new s.Optional,st.HttpClient],Ze.DomSanitizer,s.ErrorHandler,[new s.Optional,C.DOCUMENT]],useFactory:ae};function xe(x){return x.cloneNode(!0)}function rt(x,ge){return x+":"+ge}function lt(x){return!(!x.url||!x.options)}const bt=(0,c.pj)(class{constructor(x){this._elementRef=x}}),ke=new s.InjectionToken("mat-icon-location",{providedIn:"root",factory:nt});function nt(){const x=(0,s.inject)(C.DOCUMENT),ge=x?x.location:null;return{getPathname:()=>ge?ge.pathname+ge.search:""}}const ht=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ot=x=>`[${x}]`,Ye=ht.map(Ot).join(", "),ut=/^url\(['"]?#(.*?)['"]?\)$/;let R=(()=>{class x extends bt{constructor(se,me,Re,it,wt){super(se),this._iconRegistry=me,this._location=it,this._errorHandler=wt,this._inline=!1,this._currentIconFetch=k.w.EMPTY,Re||se.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(se){this._inline=(0,m.Ig)(se)}get svgIcon(){return this._svgIcon}set svgIcon(se){se!==this._svgIcon&&(se?this._updateSvgIcon(se):this._svgIcon&&this._clearSvgElement(),this._svgIcon=se)}get fontSet(){return this._fontSet}set fontSet(se){const me=this._cleanupFontValue(se);me!==this._fontSet&&(this._fontSet=me,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(se){const me=this._cleanupFontValue(se);me!==this._fontIcon&&(this._fontIcon=me,this._updateFontIconClasses())}_splitIconName(se){if(!se)return["",""];const me=se.split(":");switch(me.length){case 1:return["",me[0]];case 2:return me;default:throw Error(`Invalid icon name: "${se}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const se=this._elementsWithExternalReferences;if(se&&se.size){const me=this._location.getPathname();me!==this._previousPath&&(this._previousPath=me,this._prependPathToReferences(me))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(se){this._clearSvgElement();const me=se.querySelectorAll("style");for(let it=0;it<me.length;it++)me[it].textContent+=" ";const Re=this._location.getPathname();this._previousPath=Re,this._cacheChildrenWithExternalReferences(se),this._prependPathToReferences(Re),this._elementRef.nativeElement.appendChild(se)}_clearSvgElement(){const se=this._elementRef.nativeElement;let me=se.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();me--;){const Re=se.childNodes[me];(1!==Re.nodeType||"svg"===Re.nodeName.toLowerCase())&&se.removeChild(Re)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const se=this._elementRef.nativeElement,me=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();me!=this._previousFontSetClass&&(this._previousFontSetClass&&se.classList.remove(this._previousFontSetClass),me&&se.classList.add(me),this._previousFontSetClass=me),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&se.classList.remove(this._previousFontIconClass),this.fontIcon&&se.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(se){return"string"==typeof se?se.trim().split(" ")[0]:se}_prependPathToReferences(se){const me=this._elementsWithExternalReferences;me&&me.forEach((Re,it)=>{Re.forEach(wt=>{it.setAttribute(wt.name,`url('${se}#${wt.value}')`)})})}_cacheChildrenWithExternalReferences(se){const me=se.querySelectorAll(Ye),Re=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let it=0;it<me.length;it++)ht.forEach(wt=>{const Ge=me[it],Ve=Ge.getAttribute(wt),Be=Ve?Ve.match(ut):null;if(Be){let K=Re.get(Ge);K||(K=[],Re.set(Ge,K)),K.push({name:wt,value:Be[1]})}})}_updateSvgIcon(se){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),se){const[me,Re]=this._splitIconName(se);me&&(this._svgNamespace=me),Re&&(this._svgName=Re),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Re,me).pipe((0,Mt.q)(1)).subscribe(it=>this._setSvgElement(it),it=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${me}:${Re}! ${it.message}`))})}}}return x.\u0275fac=function(se){return new(se||x)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(fe),s.\u0275\u0275injectAttribute("aria-hidden"),s.\u0275\u0275directiveInject(ke),s.\u0275\u0275directiveInject(s.ErrorHandler))},x.\u0275cmp=s.\u0275\u0275defineComponent({type:x,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(se,me){2&se&&(s.\u0275\u0275attribute("data-mat-icon-type",me._usingFontIcon()?"font":"svg")("data-mat-icon-name",me._svgName||me.fontIcon)("data-mat-icon-namespace",me._svgNamespace||me.fontSet),s.\u0275\u0275classProp("mat-icon-inline",me.inline)("mat-icon-no-color","primary"!==me.color&&"accent"!==me.color&&"warn"!==me.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:we,decls:1,vars:0,template:function(se,me){1&se&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),x})(),ee=(()=>{class x{}return x.\u0275fac=function(se){return new(se||x)},x.\u0275mod=s.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=s.\u0275\u0275defineInjector({imports:[[c.BQ],c.BQ]}),x})()},5384:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MAT_MENU_CONTENT:()=>ht,MAT_MENU_DEFAULT_OPTIONS:()=>Re,MAT_MENU_PANEL:()=>ge,MAT_MENU_SCROLL_STRATEGY:()=>Be,MatMenu:()=>Ve,MatMenuContent:()=>Ye,MatMenuItem:()=>me,MatMenuModule:()=>I,MatMenuTrigger:()=>D,_MatMenuBase:()=>Ge,_MatMenuContentBase:()=>Ot,_MatMenuTriggerBase:()=>We,fadeInItems:()=>ke,matMenuAnimations:()=>bt,transformMenu:()=>nt,\u0275angular_material_src_material_menu_menu_a:()=>it,\u0275angular_material_src_material_menu_menu_b:()=>K,\u0275angular_material_src_material_menu_menu_c:()=>ze});var s=f(9238),c=f(9490),m=f(6461),C=f(7716),l=f(9765),L=f(826),Z=f(6682),k=f(5917),M=f(4581),G=f(3637),Y=f(7393),ce=f(3098);function he(w,oe=G.P){const X=function(w){return w instanceof Date&&!isNaN(+w)}(w)?+w-oe.now():Math.abs(w);return Pe=>Pe.lift(new ne(X,oe))}class ne{constructor(oe,F){this.delay=oe,this.scheduler=F}call(oe,F){return F.subscribe(new _e(oe,this.delay,this.scheduler))}}class _e extends Y.L{constructor(oe,F,X){super(oe),this.delay=F,this.scheduler=X,this.queue=[],this.active=!1,this.errored=!1}static dispatch(oe){const F=oe.source,X=F.queue,Pe=oe.scheduler,mt=oe.destination;for(;X.length>0&&X[0].time-Pe.now()<=0;)X.shift().notification.observe(mt);if(X.length>0){const Ct=Math.max(0,X[0].time-Pe.now());this.schedule(oe,Ct)}else this.unsubscribe(),F.active=!1}_schedule(oe){this.active=!0,this.destination.add(oe.schedule(_e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:oe}))}scheduleNotification(oe){if(!0===this.errored)return;const F=this.scheduler,X=new be(F.now()+this.delay,oe);this.queue.push(X),!1===this.active&&this._schedule(F)}_next(oe){this.scheduleNotification(ce.P.createNext(oe))}_error(oe){this.errored=!0,this.queue=[],this.destination.error(oe),this.unsubscribe()}_complete(){this.scheduleNotification(ce.P.createComplete()),this.unsubscribe()}}class be{constructor(oe,F){this.time=oe,this.notification=F}}var Le=f(9761),at=f(3190),Mt=f(5257),st=f(5435),Ze=f(6782),we=f(7238),je=f(7636),le=f(8583),Xe=f(2458),W=f(625),te=f(521),fe=f(5197),ae=f(946);const Ne=["mat-menu-item",""];function xe(w,oe){1&w&&(C.\u0275\u0275namespaceSVG(),C.\u0275\u0275elementStart(0,"svg",2),C.\u0275\u0275element(1,"polygon",3),C.\u0275\u0275elementEnd())}const rt=["*"];function lt(w,oe){if(1&w){const F=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"div",0),C.\u0275\u0275listener("keydown",function(Pe){return C.\u0275\u0275restoreView(F),C.\u0275\u0275nextContext()._handleKeydown(Pe)})("click",function(){return C.\u0275\u0275restoreView(F),C.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(Pe){return C.\u0275\u0275restoreView(F),C.\u0275\u0275nextContext()._onAnimationStart(Pe)})("@transformMenu.done",function(Pe){return C.\u0275\u0275restoreView(F),C.\u0275\u0275nextContext()._onAnimationDone(Pe)}),C.\u0275\u0275elementStart(1,"div",1),C.\u0275\u0275projection(2),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd()}if(2&w){const F=C.\u0275\u0275nextContext();C.\u0275\u0275property("id",F.panelId)("ngClass",F._classList)("@transformMenu",F._panelAnimationState),C.\u0275\u0275attribute("aria-label",F.ariaLabel||null)("aria-labelledby",F.ariaLabelledby||null)("aria-describedby",F.ariaDescribedby||null)}}const bt={transformMenu:(0,we.X$)("transformMenu",[(0,we.SB)("void",(0,we.oB)({opacity:0,transform:"scale(0.8)"})),(0,we.eR)("void => enter",(0,we.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,we.oB)({opacity:1,transform:"scale(1)"}))),(0,we.eR)("* => void",(0,we.jt)("100ms 25ms linear",(0,we.oB)({opacity:0})))]),fadeInItems:(0,we.X$)("fadeInItems",[(0,we.SB)("showing",(0,we.oB)({opacity:1})),(0,we.eR)("void => *",[(0,we.oB)({opacity:0}),(0,we.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ke=bt.fadeInItems,nt=bt.transformMenu,ht=new C.InjectionToken("MatMenuContent");let Ot=(()=>{class w{constructor(F,X,Pe,mt,Ct,Rt,Nt){this._template=F,this._componentFactoryResolver=X,this._appRef=Pe,this._injector=mt,this._viewContainerRef=Ct,this._document=Rt,this._changeDetectorRef=Nt,this._attached=new l.xQ}attach(F={}){this._portal||(this._portal=new je.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new je.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const X=this._template.elementRef.nativeElement;X.parentNode.insertBefore(this._outlet.outletElement,X),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,F),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return w.\u0275fac=function(F){return new(F||w)(C.\u0275\u0275directiveInject(C.TemplateRef),C.\u0275\u0275directiveInject(C.ComponentFactoryResolver),C.\u0275\u0275directiveInject(C.ApplicationRef),C.\u0275\u0275directiveInject(C.Injector),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(le.DOCUMENT),C.\u0275\u0275directiveInject(C.ChangeDetectorRef))},w.\u0275dir=C.\u0275\u0275defineDirective({type:w}),w})(),Ye=(()=>{class w extends Ot{}return w.\u0275fac=function(){let oe;return function(X){return(oe||(oe=C.\u0275\u0275getInheritedFactory(w)))(X||w)}}(),w.\u0275dir=C.\u0275\u0275defineDirective({type:w,selectors:[["ng-template","matMenuContent",""]],features:[C.\u0275\u0275ProvidersFeature([{provide:ht,useExisting:w}]),C.\u0275\u0275InheritDefinitionFeature]}),w})();const ge=new C.InjectionToken("MAT_MENU_PANEL"),se=(0,Xe.Kr)((0,Xe.Id)(class{}));let me=(()=>{class w extends se{constructor(F,X,Pe,mt,Ct){super(),this._elementRef=F,this._focusMonitor=Pe,this._parentMenu=mt,this._changeDetectorRef=Ct,this.role="menuitem",this._hovered=new l.xQ,this._focused=new l.xQ,this._highlighted=!1,this._triggersSubmenu=!1,mt&&mt.addItem&&mt.addItem(this)}focus(F,X){this._focusMonitor&&F?this._focusMonitor.focusVia(this._getHostElement(),F,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(F){this.disabled&&(F.preventDefault(),F.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var F,X;const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Ct=0;Ct<mt.length;Ct++){const Rt=mt[Ct];null===(F=Rt.parentNode)||void 0===F||F.removeChild(Rt)}return(null===(X=Pe.textContent)||void 0===X?void 0:X.trim())||""}_setHighlighted(F){var X;this._highlighted=F,null===(X=this._changeDetectorRef)||void 0===X||X.markForCheck()}}return w.\u0275fac=function(F){return new(F||w)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(le.DOCUMENT),C.\u0275\u0275directiveInject(s.tE),C.\u0275\u0275directiveInject(ge,8),C.\u0275\u0275directiveInject(C.ChangeDetectorRef))},w.\u0275cmp=C.\u0275\u0275defineComponent({type:w,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(F,X){1&F&&C.\u0275\u0275listener("click",function(mt){return X._checkDisabled(mt)})("mouseenter",function(){return X._handleMouseEnter()}),2&F&&(C.\u0275\u0275attribute("role",X.role)("tabindex",X._getTabIndex())("aria-disabled",X.disabled.toString())("disabled",X.disabled||null),C.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",X._highlighted)("mat-menu-item-submenu-trigger",X._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[C.\u0275\u0275InheritDefinitionFeature],attrs:Ne,ngContentSelectors:rt,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(F,X){1&F&&(C.\u0275\u0275projectionDef(),C.\u0275\u0275projection(0),C.\u0275\u0275element(1,"div",0),C.\u0275\u0275template(2,xe,2,0,"svg",1)),2&F&&(C.\u0275\u0275advance(1),C.\u0275\u0275property("matRippleDisabled",X.disableRipple||X.disabled)("matRippleTrigger",X._getHostElement()),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",X._triggersSubmenu))},directives:[Xe.wG,le.NgIf],encapsulation:2,changeDetection:0}),w})();const Re=new C.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:it});function it(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}let wt=0,Ge=(()=>{class w{constructor(F,X,Pe){this._elementRef=F,this._ngZone=X,this._defaultOptions=Pe,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new C.QueryList,this._tabSubscription=L.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new l.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new C.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+wt++}get xPosition(){return this._xPosition}set xPosition(F){this._xPosition=F,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(F){this._yPosition=F,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(F){this._overlapTrigger=(0,c.Ig)(F)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(F){this._hasBackdrop=(0,c.Ig)(F)}set panelClass(F){const X=this._previousPanelClass;X&&X.length&&X.split(" ").forEach(Pe=>{this._classList[Pe]=!1}),this._previousPanelClass=F,F&&F.length&&(F.split(" ").forEach(Pe=>{this._classList[Pe]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(F){this.panelClass=F}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Le.O)(this._directDescendantItems),(0,at.w)(F=>(0,Z.T)(...F.map(X=>X._focused)))).subscribe(F=>this._keyManager.updateActiveItem(F))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,Le.O)(this._directDescendantItems),(0,at.w)(X=>(0,Z.T)(...X.map(Pe=>Pe._hovered))))}addItem(F){}removeItem(F){}_handleKeydown(F){const X=F.keyCode,Pe=this._keyManager;switch(X){case m.hY:(0,m.Vb)(F)||(F.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)&&Pe.setFocusOrigin("keyboard"),Pe.onKeydown(F)}}focusFirstItem(F="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Mt.q)(1)).subscribe(()=>this._focusFirstItem(F)):this._focusFirstItem(F)}_focusFirstItem(F){const X=this._keyManager;if(X.setFocusOrigin(F).setFirstItemActive(),!X.activeItem&&this._directDescendantItems.length){let Pe=this._directDescendantItems.first._getHostElement().parentElement;for(;Pe;){if("menu"===Pe.getAttribute("role")){Pe.focus();break}Pe=Pe.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(F){const X=Math.min(this._baseElevation+F,24),Pe=`${this._elevationPrefix}${X}`,mt=Object.keys(this._classList).find(Ct=>Ct.startsWith(this._elevationPrefix));(!mt||mt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pe]=!0,this._previousElevation=Pe)}setPositionClasses(F=this.xPosition,X=this.yPosition){const Pe=this._classList;Pe["mat-menu-before"]="before"===F,Pe["mat-menu-after"]="after"===F,Pe["mat-menu-above"]="above"===X,Pe["mat-menu-below"]="below"===X}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(F){this._animationDone.next(F),this._isAnimating=!1}_onAnimationStart(F){this._isAnimating=!0,"enter"===F.toState&&0===this._keyManager.activeItemIndex&&(F.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Le.O)(this._allItems)).subscribe(F=>{this._directDescendantItems.reset(F.filter(X=>X._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return w.\u0275fac=function(F){return new(F||w)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(Re))},w.\u0275dir=C.\u0275\u0275defineDirective({type:w,contentQueries:function(F,X,Pe){if(1&F&&(C.\u0275\u0275contentQuery(Pe,ht,5),C.\u0275\u0275contentQuery(Pe,me,5),C.\u0275\u0275contentQuery(Pe,me,4)),2&F){let mt;C.\u0275\u0275queryRefresh(mt=C.\u0275\u0275loadQuery())&&(X.lazyContent=mt.first),C.\u0275\u0275queryRefresh(mt=C.\u0275\u0275loadQuery())&&(X._allItems=mt),C.\u0275\u0275queryRefresh(mt=C.\u0275\u0275loadQuery())&&(X.items=mt)}},viewQuery:function(F,X){if(1&F&&C.\u0275\u0275viewQuery(C.TemplateRef,5),2&F){let Pe;C.\u0275\u0275queryRefresh(Pe=C.\u0275\u0275loadQuery())&&(X.templateRef=Pe.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"}}),w})(),Ve=(()=>{class w extends Ge{constructor(F,X,Pe){super(F,X,Pe),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return w.\u0275fac=function(F){return new(F||w)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(Re))},w.\u0275cmp=C.\u0275\u0275defineComponent({type:w,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(F,X){2&F&&C.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[C.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:w}]),C.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:rt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(F,X){1&F&&(C.\u0275\u0275projectionDef(),C.\u0275\u0275template(0,lt,3,6,"ng-template"))},directives:[le.NgClass],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:[bt.transformMenu,bt.fadeInItems]},changeDetection:0}),w})();const Be=new C.InjectionToken("mat-menu-scroll-strategy");function K(w){return()=>w.scrollStrategies.reposition()}const ze={provide:Be,deps:[W.aV],useFactory:K},yt=(0,te.i$)({passive:!0});let We=(()=>{class w{constructor(F,X,Pe,mt,Ct,Rt,Nt,zt){this._overlay=F,this._element=X,this._viewContainerRef=Pe,this._menuItemInstance=Rt,this._dir=Nt,this._focusMonitor=zt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=L.w.EMPTY,this._hoverSubscription=L.w.EMPTY,this._menuCloseSubscription=L.w.EMPTY,this._handleTouchStart=Qt=>{(0,s.yG)(Qt)||(this._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new C.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new C.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=mt,this._parentMaterialMenu=Ct instanceof Ge?Ct:void 0,X.nativeElement.addEventListener("touchstart",this._handleTouchStart,yt),Rt&&(Rt._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(F){this.menu=F}get menu(){return this._menu}set menu(F){F!==this._menu&&(this._menu=F,this._menuCloseSubscription.unsubscribe(),F&&(this._menuCloseSubscription=F.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,yt),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 F=this._createOverlay(),X=F.getConfig();this._setPosition(X.positionStrategy),X.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,F.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Ge&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(F,X){this._focusMonitor&&F?this._focusMonitor.focusVia(this._element,F,X):this._element.nativeElement.focus(X)}updatePosition(){var F;null===(F=this._overlayRef)||void 0===F||F.updatePosition()}_destroyMenu(F){if(!this._overlayRef||!this.menuOpen)return;const X=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===F||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,X instanceof Ge?(X._resetAnimation(),X.lazyContent?X._animationDone.pipe((0,st.h)(Pe=>"void"===Pe.toState),(0,Mt.q)(1),(0,Ze.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 F=0,X=this.menu.parentMenu;for(;X;)F++,X=X.parentMenu;this.menu.setElevation(F)}}_setIsMenuOpen(F){this._menuOpen=F,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(F)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const F=this._getOverlayConfig();this._subscribeToPositions(F.positionStrategy),this._overlayRef=this._overlay.create(F),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new W.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(F){this.menu.setPositionClasses&&F.positionChanges.subscribe(X=>{this.menu.setPositionClasses("start"===X.connectionPair.overlayX?"after":"before","top"===X.connectionPair.overlayY?"below":"above")})}_setPosition(F){let[X,Pe]="before"===this.menu.xPosition?["end","start"]:["start","end"],[mt,Ct]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Rt,Nt]=[mt,Ct],[zt,Qt]=[X,Pe],At=0;this.triggersSubmenu()?(Qt=X="before"===this.menu.xPosition?"start":"end",Pe=zt="end"===X?"start":"end",At="bottom"===mt?8:-8):this.menu.overlapTrigger||(Rt="top"===mt?"bottom":"top",Nt="top"===Ct?"bottom":"top"),F.withPositions([{originX:X,originY:Rt,overlayX:zt,overlayY:mt,offsetY:At},{originX:Pe,originY:Rt,overlayX:Qt,overlayY:mt,offsetY:At},{originX:X,originY:Nt,overlayX:zt,overlayY:Ct,offsetY:-At},{originX:Pe,originY:Nt,overlayX:Qt,overlayY:Ct,offsetY:-At}])}_menuClosingActions(){const F=this._overlayRef.backdropClick(),X=this._overlayRef.detachments(),Pe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,k.of)(),mt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,st.h)(Ct=>Ct!==this._menuItemInstance),(0,st.h)(()=>this._menuOpen)):(0,k.of)();return(0,Z.T)(F,Pe,mt,X)}_handleMousedown(F){(0,s.X6)(F)||(this._openedBy=0===F.button?"mouse":void 0,this.triggersSubmenu()&&F.preventDefault())}_handleKeydown(F){const X=F.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(F){this.triggersSubmenu()?(F.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,st.h)(F=>F===this._menuItemInstance&&!F.disabled),he(0,M.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ge&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Mt.q)(1),he(0,M.E),(0,Ze.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new je.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return w.\u0275fac=function(F){return new(F||w)(C.\u0275\u0275directiveInject(W.aV),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(Be),C.\u0275\u0275directiveInject(ge,8),C.\u0275\u0275directiveInject(me,10),C.\u0275\u0275directiveInject(ae.Is,8),C.\u0275\u0275directiveInject(s.tE))},w.\u0275dir=C.\u0275\u0275defineDirective({type:w,hostVars:3,hostBindings:function(F,X){1&F&&C.\u0275\u0275listener("mousedown",function(mt){return X._handleMousedown(mt)})("keydown",function(mt){return X._handleKeydown(mt)})("click",function(mt){return X._handleClick(mt)}),2&F&&C.\u0275\u0275attribute("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"}}),w})(),D=(()=>{class w extends We{}return w.\u0275fac=function(){let oe;return function(X){return(oe||(oe=C.\u0275\u0275getInheritedFactory(w)))(X||w)}}(),w.\u0275dir=C.\u0275\u0275defineDirective({type:w,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[C.\u0275\u0275InheritDefinitionFeature]}),w})(),I=(()=>{class w{}return w.\u0275fac=function(F){return new(F||w)},w.\u0275mod=C.\u0275\u0275defineNgModule({type:w}),w.\u0275inj=C.\u0275\u0275defineInjector({providers:[ze],imports:[[le.CommonModule,Xe.BQ,Xe.si,W.U8],fe.ZD,Xe.BQ]}),w})()},2789:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MatCell:()=>gt,MatCellDef:()=>Ce,MatColumnDef:()=>S,MatFooterCell:()=>tt,MatFooterCellDef:()=>z,MatFooterRow:()=>un,MatFooterRowDef:()=>dn,MatHeaderCell:()=>q,MatHeaderCellDef:()=>V,MatHeaderRow:()=>an,MatHeaderRowDef:()=>Ht,MatNoDataRow:()=>yn,MatRecycleRows:()=>N,MatRow:()=>wn,MatRowDef:()=>cn,MatTable:()=>Ee,MatTableDataSource:()=>Pt,MatTableModule:()=>Te,MatTextColumn:()=>pt,_MatTableDataSource:()=>dt});var s=f(9490),c=f(8345),m=f(7716),C=f(946),l=f(521),L=f(5197),Z=f(8583),k=f(9765),M=f(9412),G=f(6215),H=f(5639),Y=f(5917),ce=f(6782),he=f(5257);const ne=[[["caption"]],[["colgroup"],["col"]]],_e=["caption","colgroup, col"];function be(Q,ve){if(1&Q&&(m.\u0275\u0275elementStart(0,"th",3),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&Q){const U=m.\u0275\u0275nextContext();m.\u0275\u0275styleProp("text-align",U.justify),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate1(" ",U.headerText," ")}}function Le(Q,ve){if(1&Q&&(m.\u0275\u0275elementStart(0,"td",4),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&Q){const U=ve.$implicit,ye=m.\u0275\u0275nextContext();m.\u0275\u0275styleProp("text-align",ye.justify),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate1(" ",ye.dataAccessor(U,ye.name)," ")}}function at(Q){return class extends Q{constructor(...ve){super(...ve),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(ve){const U=this._sticky;this._sticky=(0,s.Ig)(ve),this._hasStickyChanged=U!==this._sticky}hasStickyChanged(){const ve=this._hasStickyChanged;return this._hasStickyChanged=!1,ve}resetStickyChanged(){this._hasStickyChanged=!1}}}const Mt=new m.InjectionToken("CDK_TABLE"),st=new m.InjectionToken("text-column-options");let Ze=(()=>{class Q{constructor(U){this.template=U}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkCellDef",""]]}),Q})(),we=(()=>{class Q{constructor(U){this.template=U}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkHeaderCellDef",""]]}),Q})(),je=(()=>{class Q{constructor(U){this.template=U}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkFooterCellDef",""]]}),Q})();class le{}const Xe=at(le);let W=(()=>{class Q extends Xe{constructor(U){super(),this._table=U,this._stickyEnd=!1}get name(){return this._name}set name(U){this._setNameInput(U)}get stickyEnd(){return this._stickyEnd}set stickyEnd(U){const ye=this._stickyEnd;this._stickyEnd=(0,s.Ig)(U),this._hasStickyChanged=ye!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(U){U&&(this._name=U,this.cssClassFriendlyName=U.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(Mt,8))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkColumnDef",""]],contentQueries:function(U,ye,Ue){if(1&U&&(m.\u0275\u0275contentQuery(Ue,Ze,5),m.\u0275\u0275contentQuery(Ue,we,5),m.\u0275\u0275contentQuery(Ue,je,5)),2&U){let _t;m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye.cell=_t.first),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye.headerCell=_t.first),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye.footerCell=_t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[m.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})();class te{constructor(ve,U){const ye=U.nativeElement.classList;for(const Ue of ve._columnCssClassName)ye.add(Ue)}}let fe=(()=>{class Q extends te{constructor(U,ye){super(U,ye)}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(W),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),ae=(()=>{class Q extends te{constructor(U,ye){var Ue;if(super(U,ye),1===(null===(Ue=U._table)||void 0===Ue?void 0:Ue._elementRef.nativeElement.nodeType)){const _t=U._table._elementRef.nativeElement.getAttribute("role");ye.nativeElement.setAttribute("role","grid"===_t||"treegrid"===_t?"gridcell":"cell")}}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(W),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),Ne=(()=>{class Q extends te{constructor(U,ye){var Ue;if(super(U,ye),1===(null===(Ue=U._table)||void 0===Ue?void 0:Ue._elementRef.nativeElement.nodeType)){const _t=U._table._elementRef.nativeElement.getAttribute("role");ye.nativeElement.setAttribute("role","grid"===_t||"treegrid"===_t?"gridcell":"cell")}}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(W),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})();class xe{constructor(){this.tasks=[],this.endTasks=[]}}const rt=new m.InjectionToken("_COALESCED_STYLE_SCHEDULER");let lt=(()=>{class Q{constructor(U){this._ngZone=U,this._currentSchedule=null,this._destroyed=new k.xQ}schedule(U){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(U)}scheduleEnd(U){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(U)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new xe,this._getScheduleObservable().pipe((0,ce.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const U=this._currentSchedule;this._currentSchedule=new xe;for(const ye of U.tasks)ye();for(const ye of U.endTasks)ye()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,M.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,he.q)(1))}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275inject(m.NgZone))},Q.\u0275prov=m.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac}),Q})(),ke=(()=>{class Q{constructor(U,ye){this.template=U,this._differs=ye}ngOnChanges(U){if(!this._columnsDiffer){const ye=U.columns&&U.columns.currentValue||[];this._columnsDiffer=this._differs.find(ye).create(),this._columnsDiffer.diff(ye)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(U){return this instanceof Ot?U.headerCell.template:this instanceof R?U.footerCell.template:U.cell.template}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef),m.\u0275\u0275directiveInject(m.IterableDiffers))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,features:[m.\u0275\u0275NgOnChangesFeature]}),Q})();class nt extends ke{}const ht=at(nt);let Ot=(()=>{class Q extends ht{constructor(U,ye,Ue){super(U,ye),this._table=Ue}ngOnChanges(U){super.ngOnChanges(U)}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef),m.\u0275\u0275directiveInject(m.IterableDiffers),m.\u0275\u0275directiveInject(Mt,8))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[m.\u0275\u0275InheritDefinitionFeature,m.\u0275\u0275NgOnChangesFeature]}),Q})();class Ye extends ke{}const ut=at(Ye);let R=(()=>{class Q extends ut{constructor(U,ye,Ue){super(U,ye),this._table=Ue}ngOnChanges(U){super.ngOnChanges(U)}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef),m.\u0275\u0275directiveInject(m.IterableDiffers),m.\u0275\u0275directiveInject(Mt,8))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[m.\u0275\u0275InheritDefinitionFeature,m.\u0275\u0275NgOnChangesFeature]}),Q})(),ee=(()=>{class Q extends ke{constructor(U,ye,Ue){super(U,ye),this._table=Ue}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef),m.\u0275\u0275directiveInject(m.IterableDiffers),m.\u0275\u0275directiveInject(Mt,8))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),x=(()=>{class Q{constructor(U){this._viewContainer=U,Q.mostRecentCellOutlet=this}ngOnDestroy(){Q.mostRecentCellOutlet===this&&(Q.mostRecentCellOutlet=null)}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.ViewContainerRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","cdkCellOutlet",""]]}),Q.mostRecentCellOutlet=null,Q})(),ge=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),se=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),me=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),Re=(()=>{class Q{constructor(U){this.templateRef=U}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.TemplateRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["ng-template","cdkNoDataRow",""]]}),Q})();const it=["top","bottom","left","right"];class wt{constructor(ve,U,ye,Ue,_t=!0,Dt=!0,Me){this._isNativeHtmlTable=ve,this._stickCellCss=U,this.direction=ye,this._coalescedStyleScheduler=Ue,this._isBrowser=_t,this._needsPositionStickyOnElement=Dt,this._positionListener=Me,this._cachedCellWidths=[],this._borderCellCss={top:`${U}-border-elem-top`,bottom:`${U}-border-elem-bottom`,left:`${U}-border-elem-left`,right:`${U}-border-elem-right`}}clearStickyPositioning(ve,U){const ye=[];for(const Ue of ve)if(Ue.nodeType===Ue.ELEMENT_NODE){ye.push(Ue);for(let _t=0;_t<Ue.children.length;_t++)ye.push(Ue.children[_t])}this._coalescedStyleScheduler.schedule(()=>{for(const Ue of ye)this._removeStickyStyle(Ue,U)})}updateStickyColumns(ve,U,ye,Ue=!0){if(!ve.length||!this._isBrowser||!U.some(kt=>kt)&&!ye.some(kt=>kt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const _t=ve[0],Dt=_t.children.length,Me=this._getCellWidths(_t,Ue),Ie=this._getStickyStartColumnPositions(Me,U),ue=this._getStickyEndColumnPositions(Me,ye),Fe=U.lastIndexOf(!0),ot=ye.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const kt="rtl"===this.direction,Ut=kt?"right":"left",qt=kt?"left":"right";for(const Wt of ve)for(let Tn=0;Tn<Dt;Tn++){const gi=Wt.children[Tn];U[Tn]&&this._addStickyStyle(gi,Ut,Ie[Tn],Tn===Fe),ye[Tn]&&this._addStickyStyle(gi,qt,ue[Tn],Tn===ot)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Fe?[]:Me.slice(0,Fe+1).map((Wt,Tn)=>U[Tn]?Wt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ot?[]:Me.slice(ot).map((Wt,Tn)=>ye[Tn+ot]?Wt:null).reverse()}))})}stickRows(ve,U,ye){if(!this._isBrowser)return;const Ue="bottom"===ye?ve.slice().reverse():ve,_t="bottom"===ye?U.slice().reverse():U,Dt=[],Me=[],Ie=[];for(let Fe=0,ot=0;Fe<Ue.length;Fe++){if(!_t[Fe])continue;Dt[Fe]=ot;const kt=Ue[Fe];Ie[Fe]=this._isNativeHtmlTable?Array.from(kt.children):[kt];const Ut=kt.getBoundingClientRect().height;ot+=Ut,Me[Fe]=Ut}const ue=_t.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var Fe,ot;for(let kt=0;kt<Ue.length;kt++){if(!_t[kt])continue;const Ut=Dt[kt],qt=kt===ue;for(const Wt of Ie[kt])this._addStickyStyle(Wt,ye,Ut,qt)}"top"===ye?null===(Fe=this._positionListener)||void 0===Fe||Fe.stickyHeaderRowsUpdated({sizes:Me,offsets:Dt,elements:Ie}):null===(ot=this._positionListener)||void 0===ot||ot.stickyFooterRowsUpdated({sizes:Me,offsets:Dt,elements:Ie})})}updateStickyFooterContainer(ve,U){if(!this._isNativeHtmlTable)return;const ye=ve.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{U.some(Ue=>!Ue)?this._removeStickyStyle(ye,["bottom"]):this._addStickyStyle(ye,"bottom",0,!1)})}_removeStickyStyle(ve,U){for(const Ue of U)ve.style[Ue]="",ve.classList.remove(this._borderCellCss[Ue]);it.some(Ue=>-1===U.indexOf(Ue)&&ve.style[Ue])?ve.style.zIndex=this._getCalculatedZIndex(ve):(ve.style.zIndex="",this._needsPositionStickyOnElement&&(ve.style.position=""),ve.classList.remove(this._stickCellCss))}_addStickyStyle(ve,U,ye,Ue){ve.classList.add(this._stickCellCss),Ue&&ve.classList.add(this._borderCellCss[U]),ve.style[U]=`${ye}px`,ve.style.zIndex=this._getCalculatedZIndex(ve),this._needsPositionStickyOnElement&&(ve.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(ve){const U={top:100,bottom:10,left:1,right:1};let ye=0;for(const Ue of it)ve.style[Ue]&&(ye+=U[Ue]);return ye?`${ye}`:""}_getCellWidths(ve,U=!0){if(!U&&this._cachedCellWidths.length)return this._cachedCellWidths;const ye=[],Ue=ve.children;for(let _t=0;_t<Ue.length;_t++)ye.push(Ue[_t].getBoundingClientRect().width);return this._cachedCellWidths=ye,ye}_getStickyStartColumnPositions(ve,U){const ye=[];let Ue=0;for(let _t=0;_t<ve.length;_t++)U[_t]&&(ye[_t]=Ue,Ue+=ve[_t]);return ye}_getStickyEndColumnPositions(ve,U){const ye=[];let Ue=0;for(let _t=ve.length;_t>0;_t--)U[_t]&&(ye[_t]=Ue,Ue+=ve[_t]);return ye}}const D=new m.InjectionToken("CDK_SPL");let w=(()=>{class Q{constructor(U,ye){this.viewContainer=U,this.elementRef=ye}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.ViewContainerRef),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","rowOutlet",""]]}),Q})(),oe=(()=>{class Q{constructor(U,ye){this.viewContainer=U,this.elementRef=ye}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.ViewContainerRef),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","headerRowOutlet",""]]}),Q})(),F=(()=>{class Q{constructor(U,ye){this.viewContainer=U,this.elementRef=ye}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.ViewContainerRef),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","footerRowOutlet",""]]}),Q})(),X=(()=>{class Q{constructor(U,ye){this.viewContainer=U,this.elementRef=ye}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.ViewContainerRef),m.\u0275\u0275directiveInject(m.ElementRef))},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","noDataRowOutlet",""]]}),Q})(),Ct=(()=>{class Q{constructor(U,ye,Ue,_t,Dt,Me,Ie,ue,Fe,ot,kt){this._differs=U,this._changeDetectorRef=ye,this._elementRef=Ue,this._dir=Dt,this._platform=Ie,this._viewRepeater=ue,this._coalescedStyleScheduler=Fe,this._viewportRuler=ot,this._stickyPositioningListener=kt,this._onDestroy=new k.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new m.EventEmitter,this.viewChange=new G.X({start:0,end:Number.MAX_VALUE}),_t||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Me,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(U){this._trackByFn=U}get dataSource(){return this._dataSource}set dataSource(U){this._dataSource!==U&&this._switchDataSource(U)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(U){this._multiTemplateDataRows=(0,s.Ig)(U),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(U){this._fixedLayout=(0,s.Ig)(U),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((U,ye)=>this.trackBy?this.trackBy(ye.dataIndex,ye.data):ye),this._viewportRuler.change().pipe((0,ce.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const ye=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ye,this._forceRecalculateCellWidths=ye,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,c.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const U=this._dataDiffer.diff(this._renderRows);if(!U)return this._updateNoDataRow(),void this.contentChanged.next();const ye=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(U,ye,(Ue,_t,Dt)=>this._getEmbeddedViewArgs(Ue.item,Dt),Ue=>Ue.item.data,Ue=>{1===Ue.operation&&Ue.context&&this._renderCellTemplateForItem(Ue.record.item.rowDef,Ue.context)}),this._updateRowIndexContext(),U.forEachIdentityChange(Ue=>{ye.get(Ue.currentIndex).context.$implicit=Ue.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(U){this._customColumnDefs.add(U)}removeColumnDef(U){this._customColumnDefs.delete(U)}addRowDef(U){this._customRowDefs.add(U)}removeRowDef(U){this._customRowDefs.delete(U)}addHeaderRowDef(U){this._customHeaderRowDefs.add(U),this._headerRowDefChanged=!0}removeHeaderRowDef(U){this._customHeaderRowDefs.delete(U),this._headerRowDefChanged=!0}addFooterRowDef(U){this._customFooterRowDefs.add(U),this._footerRowDefChanged=!0}removeFooterRowDef(U){this._customFooterRowDefs.delete(U),this._footerRowDefChanged=!0}setNoDataRow(U){this._customNoDataRow=U}updateStickyHeaderRowStyles(){const U=this._getRenderedRows(this._headerRowOutlet),Ue=this._elementRef.nativeElement.querySelector("thead");Ue&&(Ue.style.display=U.length?"":"none");const _t=this._headerRowDefs.map(Dt=>Dt.sticky);this._stickyStyler.clearStickyPositioning(U,["top"]),this._stickyStyler.stickRows(U,_t,"top"),this._headerRowDefs.forEach(Dt=>Dt.resetStickyChanged())}updateStickyFooterRowStyles(){const U=this._getRenderedRows(this._footerRowOutlet),Ue=this._elementRef.nativeElement.querySelector("tfoot");Ue&&(Ue.style.display=U.length?"":"none");const _t=this._footerRowDefs.map(Dt=>Dt.sticky);this._stickyStyler.clearStickyPositioning(U,["bottom"]),this._stickyStyler.stickRows(U,_t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,_t),this._footerRowDefs.forEach(Dt=>Dt.resetStickyChanged())}updateStickyColumnStyles(){const U=this._getRenderedRows(this._headerRowOutlet),ye=this._getRenderedRows(this._rowOutlet),Ue=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...U,...ye,...Ue],["left","right"]),this._stickyColumnStylesNeedReset=!1),U.forEach((_t,Dt)=>{this._addStickyColumnStyles([_t],this._headerRowDefs[Dt])}),this._rowDefs.forEach(_t=>{const Dt=[];for(let Me=0;Me<ye.length;Me++)this._renderRows[Me].rowDef===_t&&Dt.push(ye[Me]);this._addStickyColumnStyles(Dt,_t)}),Ue.forEach((_t,Dt)=>{this._addStickyColumnStyles([_t],this._footerRowDefs[Dt])}),Array.from(this._columnDefsByName.values()).forEach(_t=>_t.resetStickyChanged())}_getAllRenderRows(){const U=[],ye=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ue=0;Ue<this._data.length;Ue++){let _t=this._data[Ue];const Dt=this._getRenderRowsForData(_t,Ue,ye.get(_t));this._cachedRenderRowsMap.has(_t)||this._cachedRenderRowsMap.set(_t,new WeakMap);for(let Me=0;Me<Dt.length;Me++){let Ie=Dt[Me];const ue=this._cachedRenderRowsMap.get(Ie.data);ue.has(Ie.rowDef)?ue.get(Ie.rowDef).push(Ie):ue.set(Ie.rowDef,[Ie]),U.push(Ie)}}return U}_getRenderRowsForData(U,ye,Ue){return this._getRowDefs(U,ye).map(Dt=>{const Me=Ue&&Ue.has(Dt)?Ue.get(Dt):[];if(Me.length){const Ie=Me.shift();return Ie.dataIndex=ye,Ie}return{data:U,rowDef:Dt,dataIndex:ye}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Rt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ye=>{this._columnDefsByName.has(ye.name),this._columnDefsByName.set(ye.name,ye)})}_cacheRowDefs(){this._headerRowDefs=Rt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Rt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Rt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const U=this._rowDefs.filter(ye=>!ye.when);this._defaultRowDef=U[0]}_renderUpdatedColumns(){const U=(Dt,Me)=>Dt||!!Me.getColumnsDiff(),ye=this._rowDefs.reduce(U,!1);ye&&this._forceRenderDataRows();const Ue=this._headerRowDefs.reduce(U,!1);Ue&&this._forceRenderHeaderRows();const _t=this._footerRowDefs.reduce(U,!1);return _t&&this._forceRenderFooterRows(),ye||Ue||_t}_switchDataSource(U){this._data=[],(0,c.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),U||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=U}_observeRenderChanges(){if(!this.dataSource)return;let U;(0,c.Z9)(this.dataSource)?U=this.dataSource.connect(this):(0,H.b)(this.dataSource)?U=this.dataSource:Array.isArray(this.dataSource)&&(U=(0,Y.of)(this.dataSource)),this._renderChangeSubscription=U.pipe((0,ce.R)(this._onDestroy)).subscribe(ye=>{this._data=ye||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((U,ye)=>this._renderRow(this._headerRowOutlet,U,ye)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((U,ye)=>this._renderRow(this._footerRowOutlet,U,ye)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(U,ye){const Ue=Array.from(ye.columns||[]).map(Me=>this._columnDefsByName.get(Me)),_t=Ue.map(Me=>Me.sticky),Dt=Ue.map(Me=>Me.stickyEnd);this._stickyStyler.updateStickyColumns(U,_t,Dt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(U){const ye=[];for(let Ue=0;Ue<U.viewContainer.length;Ue++){const _t=U.viewContainer.get(Ue);ye.push(_t.rootNodes[0])}return ye}_getRowDefs(U,ye){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ue=[];if(this.multiTemplateDataRows)Ue=this._rowDefs.filter(_t=>!_t.when||_t.when(ye,U));else{let _t=this._rowDefs.find(Dt=>Dt.when&&Dt.when(ye,U))||this._defaultRowDef;_t&&Ue.push(_t)}return Ue}_getEmbeddedViewArgs(U,ye){return{templateRef:U.rowDef.template,context:{$implicit:U.data},index:ye}}_renderRow(U,ye,Ue,_t={}){const Dt=U.viewContainer.createEmbeddedView(ye.template,_t,Ue);return this._renderCellTemplateForItem(ye,_t),Dt}_renderCellTemplateForItem(U,ye){for(let Ue of this._getCellTemplates(U))x.mostRecentCellOutlet&&x.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ue,ye);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const U=this._rowOutlet.viewContainer;for(let ye=0,Ue=U.length;ye<Ue;ye++){const Dt=U.get(ye).context;Dt.count=Ue,Dt.first=0===ye,Dt.last=ye===Ue-1,Dt.even=ye%2==0,Dt.odd=!Dt.even,this.multiTemplateDataRows?(Dt.dataIndex=this._renderRows[ye].dataIndex,Dt.renderIndex=ye):Dt.index=this._renderRows[ye].dataIndex}}_getCellTemplates(U){return U&&U.columns?Array.from(U.columns,ye=>{const Ue=this._columnDefsByName.get(ye);return U.extractCellTemplate(Ue)}):[]}_applyNativeTableSections(){const U=this._document.createDocumentFragment(),ye=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ue of ye){const _t=this._document.createElement(Ue.tag);_t.setAttribute("role","rowgroup");for(const Dt of Ue.outlets)_t.appendChild(Dt.elementRef.nativeElement);U.appendChild(_t)}this._elementRef.nativeElement.appendChild(U)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const U=(ye,Ue)=>ye||Ue.hasStickyChanged();this._headerRowDefs.reduce(U,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(U,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(U,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new wt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Y.of)()).pipe((0,ce.R)(this._onDestroy)).subscribe(ye=>{this._stickyStyler.direction=ye,this.updateStickyColumnStyles()})}_getOwnDefs(U){return U.filter(ye=>!ye._table||ye._table===this)}_updateNoDataRow(){const U=this._customNoDataRow||this._noDataRow;if(U){const ye=0===this._rowOutlet.viewContainer.length;if(ye!==this._isShowingNoDataRow){const Ue=this._noDataRowOutlet.viewContainer;ye?Ue.createEmbeddedView(U.templateRef):Ue.clear(),this._isShowingNoDataRow=ye}}}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(m.IterableDiffers),m.\u0275\u0275directiveInject(m.ChangeDetectorRef),m.\u0275\u0275directiveInject(m.ElementRef),m.\u0275\u0275injectAttribute("role"),m.\u0275\u0275directiveInject(C.Is,8),m.\u0275\u0275directiveInject(Z.DOCUMENT),m.\u0275\u0275directiveInject(l.t4),m.\u0275\u0275directiveInject(c.k),m.\u0275\u0275directiveInject(rt),m.\u0275\u0275directiveInject(L.rL),m.\u0275\u0275directiveInject(D,12))},Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(U,ye,Ue){if(1&U&&(m.\u0275\u0275contentQuery(Ue,Re,5),m.\u0275\u0275contentQuery(Ue,W,5),m.\u0275\u0275contentQuery(Ue,ee,5),m.\u0275\u0275contentQuery(Ue,Ot,5),m.\u0275\u0275contentQuery(Ue,R,5)),2&U){let _t;m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye._noDataRow=_t.first),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye._contentColumnDefs=_t),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye._contentRowDefs=_t),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye._contentHeaderRowDefs=_t),m.\u0275\u0275queryRefresh(_t=m.\u0275\u0275loadQuery())&&(ye._contentFooterRowDefs=_t)}},viewQuery:function(U,ye){if(1&U&&(m.\u0275\u0275viewQuery(w,7),m.\u0275\u0275viewQuery(oe,7),m.\u0275\u0275viewQuery(F,7),m.\u0275\u0275viewQuery(X,7)),2&U){let Ue;m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye._rowOutlet=Ue.first),m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye._headerRowOutlet=Ue.first),m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye._footerRowOutlet=Ue.first),m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye._noDataRowOutlet=Ue.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(U,ye){2&U&&m.\u0275\u0275classProp("cdk-table-fixed-layout",ye.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[m.\u0275\u0275ProvidersFeature([{provide:Mt,useExisting:Q},{provide:c.k,useClass:c.yy},{provide:rt,useClass:lt},{provide:D,useValue:null}])],ngContentSelectors:_e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(U,ye){1&U&&(m.\u0275\u0275projectionDef(ne),m.\u0275\u0275projection(0),m.\u0275\u0275projection(1,1),m.\u0275\u0275elementContainer(2,0),m.\u0275\u0275elementContainer(3,1),m.\u0275\u0275elementContainer(4,2),m.\u0275\u0275elementContainer(5,3))},directives:[oe,w,X,F],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),Q})();function Rt(Q,ve){return Q.concat(Array.from(ve))}let Nt=(()=>{class Q{constructor(U,ye){this._table=U,this._options=ye,this.justify="start",this._options=ye||{}}get name(){return this._name}set name(U){this._name=U,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((U,ye)=>U[ye])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const U=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(U):U[0].toUpperCase()+U.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return Q.\u0275fac=function(U){return new(U||Q)(m.\u0275\u0275directiveInject(Ct,8),m.\u0275\u0275directiveInject(st,8))},Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["cdk-text-column"]],viewQuery:function(U,ye){if(1&U&&(m.\u0275\u0275viewQuery(W,7),m.\u0275\u0275viewQuery(Ze,7),m.\u0275\u0275viewQuery(we,7)),2&U){let Ue;m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye.columnDef=Ue.first),m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye.cell=Ue.first),m.\u0275\u0275queryRefresh(Ue=m.\u0275\u0275loadQuery())&&(ye.headerCell=Ue.first)}},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(U,ye){1&U&&(m.\u0275\u0275elementContainerStart(0,0),m.\u0275\u0275template(1,be,2,3,"th",1),m.\u0275\u0275template(2,Le,2,3,"td",2),m.\u0275\u0275elementContainerEnd())},directives:[W,we,Ze,fe,Ne],encapsulation:2}),Q})(),Qt=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275mod=m.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=m.\u0275\u0275defineInjector({imports:[[L.Cl]]}),Q})();var At=f(2458),Lt=f(6682),jt=f(9112),_n=f(8002);const Ke=[[["caption"]],[["colgroup"],["col"]]],St=["caption","colgroup, col"];function O(Q,ve){if(1&Q&&(m.\u0275\u0275elementStart(0,"th",3),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&Q){const U=m.\u0275\u0275nextContext();m.\u0275\u0275styleProp("text-align",U.justify),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate1(" ",U.headerText," ")}}function j(Q,ve){if(1&Q&&(m.\u0275\u0275elementStart(0,"td",4),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&Q){const U=ve.$implicit,ye=m.\u0275\u0275nextContext();m.\u0275\u0275styleProp("text-align",ye.justify),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate1(" ",ye.dataAccessor(U,ye.name)," ")}}let N=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[m.\u0275\u0275ProvidersFeature([{provide:c.k,useClass:c.eX}])]}),Q})(),Ee=(()=>{class Q extends Ct{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(U,ye){2&U&&m.\u0275\u0275classProp("mat-table-fixed-layout",ye.fixedLayout)},exportAs:["matTable"],features:[m.\u0275\u0275ProvidersFeature([{provide:c.k,useClass:c.yy},{provide:Ct,useExisting:Q},{provide:Mt,useExisting:Q},{provide:rt,useClass:lt},{provide:D,useValue:null}]),m.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:St,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(U,ye){1&U&&(m.\u0275\u0275projectionDef(Ke),m.\u0275\u0275projection(0),m.\u0275\u0275projection(1,1),m.\u0275\u0275elementContainer(2,0),m.\u0275\u0275elementContainer(3,1),m.\u0275\u0275elementContainer(4,2),m.\u0275\u0275elementContainer(5,3))},directives:[oe,w,X,F],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),Q})(),Ce=(()=>{class Q extends Ze{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matCellDef",""]],features:[m.\u0275\u0275ProvidersFeature([{provide:Ze,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),V=(()=>{class Q extends we{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matHeaderCellDef",""]],features:[m.\u0275\u0275ProvidersFeature([{provide:we,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),z=(()=>{class Q extends je{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matFooterCellDef",""]],features:[m.\u0275\u0275ProvidersFeature([{provide:je,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),S=(()=>{class Q extends W{get name(){return this._name}set name(U){this._setNameInput(U)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[m.\u0275\u0275ProvidersFeature([{provide:W,useExisting:Q},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),q=(()=>{class Q extends fe{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),tt=(()=>{class Q extends ae{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),gt=(()=>{class Q extends Ne{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[m.\u0275\u0275InheritDefinitionFeature]}),Q})(),Ht=(()=>{class Q extends Ot{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[m.\u0275\u0275ProvidersFeature([{provide:Ot,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),dn=(()=>{class Q extends R{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[m.\u0275\u0275ProvidersFeature([{provide:R,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),cn=(()=>{class Q extends ee{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[m.\u0275\u0275ProvidersFeature([{provide:ee,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),an=(()=>{class Q extends ge{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[m.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),un=(()=>{class Q extends se{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[m.\u0275\u0275ProvidersFeature([{provide:se,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),wn=(()=>{class Q extends me{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[m.\u0275\u0275ProvidersFeature([{provide:me,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(U,ye){1&U&&m.\u0275\u0275elementContainer(0,0)},directives:[x],encapsulation:2}),Q})(),yn=(()=>{class Q extends Re{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275dir=m.\u0275\u0275defineDirective({type:Q,selectors:[["ng-template","matNoDataRow",""]],features:[m.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:Q}]),m.\u0275\u0275InheritDefinitionFeature]}),Q})(),pt=(()=>{class Q extends Nt{}return Q.\u0275fac=function(){let ve;return function(ye){return(ve||(ve=m.\u0275\u0275getInheritedFactory(Q)))(ye||Q)}}(),Q.\u0275cmp=m.\u0275\u0275defineComponent({type:Q,selectors:[["mat-text-column"]],features:[m.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(U,ye){1&U&&(m.\u0275\u0275elementContainerStart(0,0),m.\u0275\u0275template(1,O,2,3,"th",1),m.\u0275\u0275template(2,j,2,3,"td",2),m.\u0275\u0275elementContainerEnd())},directives:[S,V,Ce,q,gt],encapsulation:2}),Q})(),Te=(()=>{class Q{}return Q.\u0275fac=function(U){return new(U||Q)},Q.\u0275mod=m.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=m.\u0275\u0275defineInjector({imports:[[Qt,At.BQ],At.BQ]}),Q})();class dt extends c.o2{constructor(ve=[]){super(),this._renderData=new G.X([]),this._filter=new G.X(""),this._internalPageChanges=new k.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(U,ye)=>{const Ue=U[ye];if((0,s.t6)(Ue)){const _t=Number(Ue);return _t<9007199254740991?_t:Ue}return Ue},this.sortData=(U,ye)=>{const Ue=ye.active,_t=ye.direction;return Ue&&""!=_t?U.sort((Dt,Me)=>{let Ie=this.sortingDataAccessor(Dt,Ue),ue=this.sortingDataAccessor(Me,Ue);const Fe=typeof Ie,ot=typeof ue;Fe!==ot&&("number"===Fe&&(Ie+=""),"number"===ot&&(ue+=""));let kt=0;return null!=Ie&&null!=ue?Ie>ue?kt=1:Ie<ue&&(kt=-1):null!=Ie?kt=1:null!=ue&&(kt=-1),kt*("asc"==_t?1:-1)}):U},this.filterPredicate=(U,ye)=>{const Ue=Object.keys(U).reduce((Dt,Me)=>Dt+U[Me]+"\u25ec","").toLowerCase(),_t=ye.trim().toLowerCase();return-1!=Ue.indexOf(_t)},this._data=new G.X(ve),this._updateChangeSubscription()}get data(){return this._data.value}set data(ve){this._data.next(ve),this._renderChangesSubscription||this._filterData(ve)}get filter(){return this._filter.value}set filter(ve){this._filter.next(ve),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(ve){this._sort=ve,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(ve){this._paginator=ve,this._updateChangeSubscription()}_updateChangeSubscription(){var ve;const U=this._sort?(0,Lt.T)(this._sort.sortChange,this._sort.initialized):(0,Y.of)(null),ye=this._paginator?(0,Lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Y.of)(null),_t=(0,jt.aj)([this._data,this._filter]).pipe((0,_n.U)(([Ie])=>this._filterData(Ie))),Dt=(0,jt.aj)([_t,U]).pipe((0,_n.U)(([Ie])=>this._orderData(Ie))),Me=(0,jt.aj)([Dt,ye]).pipe((0,_n.U)(([Ie])=>this._pageData(Ie)));null===(ve=this._renderChangesSubscription)||void 0===ve||ve.unsubscribe(),this._renderChangesSubscription=Me.subscribe(Ie=>this._renderData.next(Ie))}_filterData(ve){return this.filteredData=null==this.filter||""===this.filter?ve:ve.filter(U=>this.filterPredicate(U,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(ve){return this.sort?this.sortData(ve.slice(),this.sort):ve}_pageData(ve){if(!this.paginator)return ve;const U=this.paginator.pageIndex*this.paginator.pageSize;return ve.slice(U,U+this.paginator.pageSize)}_updatePaginator(ve){Promise.resolve().then(()=>{const U=this.paginator;if(U&&(U.length=ve,U.pageIndex>0)){const ye=Math.ceil(U.length/U.pageSize)-1||0,Ue=Math.min(U.pageIndex,ye);Ue!==U.pageIndex&&(U.pageIndex=Ue,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var ve;null===(ve=this._renderChangesSubscription)||void 0===ve||ve.unsubscribe(),this._renderChangesSubscription=null}}class Pt extends dt{}},5939:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MAT_TAB:()=>se,MAT_TABS_CONFIG:()=>ze,MAT_TAB_GROUP:()=>it,MatInkBar:()=>R,MatTab:()=>wt,MatTabBody:()=>K,MatTabBodyPortal:()=>Ve,MatTabChangeEvent:()=>yt,MatTabContent:()=>x,MatTabGroup:()=>I,MatTabHeader:()=>Nt,MatTabLabel:()=>me,MatTabLabelWrapper:()=>oe,MatTabLink:()=>jt,MatTabNav:()=>Qt,MatTabsModule:()=>_n,_MAT_INK_BAR_POSITIONER:()=>Ye,_MatTabBodyBase:()=>Be,_MatTabGroupBase:()=>D,_MatTabHeaderBase:()=>Rt,_MatTabLinkBase:()=>Lt,_MatTabNavBase:()=>zt,matTabsAnimations:()=>Ge,\u0275angular_material_src_material_tabs_tabs_a:()=>ut,\u0275angular_material_src_material_tabs_tabs_b:()=>ge,\u0275angular_material_src_material_tabs_tabs_c:()=>ee,\u0275angular_material_src_material_tabs_tabs_d:()=>Ct});var s=f(9238),c=f(8553),m=f(7636),C=f(8583),l=f(7716),L=f(2458),Z=f(6237),k=f(9765),M=f(826),G=f(6682),H=f(2759),Y=f(5917),ce=f(6797),he=f(7238),ne=f(9761),_e=f(7519),be=f(6782),Le=f(9490),at=f(521),Mt=f(6461),st=f(946),Ze=f(5197);function we(Ke,St){1&Ke&&l.\u0275\u0275projection(0)}const je=["*"];function le(Ke,St){}const Xe=function(Ke){return{animationDuration:Ke}},W=function(Ke,St){return{value:Ke,params:St}},te=["tabBodyWrapper"],fe=["tabHeader"];function ae(Ke,St){}function Ne(Ke,St){if(1&Ke&&l.\u0275\u0275template(0,ae,0,0,"ng-template",9),2&Ke){const O=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275property("cdkPortalOutlet",O.templateLabel)}}function xe(Ke,St){if(1&Ke&&l.\u0275\u0275text(0),2&Ke){const O=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275textInterpolate(O.textLabel)}}function rt(Ke,St){if(1&Ke){const O=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",6),l.\u0275\u0275listener("click",function(){const N=l.\u0275\u0275restoreView(O),Ee=N.$implicit,Ce=N.index,V=l.\u0275\u0275nextContext(),z=l.\u0275\u0275reference(1);return V._handleClick(Ee,z,Ce)})("cdkFocusChange",function(N){const Ce=l.\u0275\u0275restoreView(O).index;return l.\u0275\u0275nextContext()._tabFocusChanged(N,Ce)}),l.\u0275\u0275elementStart(1,"div",7),l.\u0275\u0275template(2,Ne,1,1,"ng-template",8),l.\u0275\u0275template(3,xe,1,1,"ng-template",8),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&Ke){const O=St.$implicit,j=St.index,N=l.\u0275\u0275nextContext();l.\u0275\u0275classProp("mat-tab-label-active",N.selectedIndex==j),l.\u0275\u0275property("id",N._getTabLabelId(j))("disabled",O.disabled)("matRippleDisabled",O.disabled||N.disableRipple),l.\u0275\u0275attribute("tabIndex",N._getTabIndex(O,j))("aria-posinset",j+1)("aria-setsize",N._tabs.length)("aria-controls",N._getTabContentId(j))("aria-selected",N.selectedIndex==j)("aria-label",O.ariaLabel||null)("aria-labelledby",!O.ariaLabel&&O.ariaLabelledby?O.ariaLabelledby:null),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",O.templateLabel),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",!O.templateLabel)}}function lt(Ke,St){if(1&Ke){const O=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-tab-body",10),l.\u0275\u0275listener("_onCentered",function(){return l.\u0275\u0275restoreView(O),l.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(N){return l.\u0275\u0275restoreView(O),l.\u0275\u0275nextContext()._setTabBodyWrapperHeight(N)}),l.\u0275\u0275elementEnd()}if(2&Ke){const O=St.$implicit,j=St.index,N=l.\u0275\u0275nextContext();l.\u0275\u0275classProp("mat-tab-body-active",N.selectedIndex===j),l.\u0275\u0275property("id",N._getTabContentId(j))("content",O.content)("position",O.position)("origin",O.origin)("animationDuration",N.animationDuration),l.\u0275\u0275attribute("tabindex",null!=N.contentTabIndex&&N.selectedIndex===j?N.contentTabIndex:null)("aria-labelledby",N._getTabLabelId(j))}}const bt=["tabListContainer"],ke=["tabList"],nt=["nextPaginator"],ht=["previousPaginator"],Ot=["mat-tab-nav-bar",""],Ye=new l.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:ut});function ut(){return St=>({left:St?(St.offsetLeft||0)+"px":"0",width:St?(St.offsetWidth||0)+"px":"0"})}let R=(()=>{class Ke{constructor(O,j,N,Ee){this._elementRef=O,this._ngZone=j,this._inkBarPositioner=N,this._animationMode=Ee}alignToElement(O){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(O))}):this._setStyles(O)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(O){const j=this._inkBarPositioner(O),N=this._elementRef.nativeElement;N.style.left=j.left,N.style.width=j.width}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(Ye),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(O,j){2&O&&l.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode)}}),Ke})();const ee=new l.InjectionToken("MatTabContent");let x=(()=>{class Ke{constructor(O){this.template=O}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.TemplateRef))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["","matTabContent",""]],features:[l.\u0275\u0275ProvidersFeature([{provide:ee,useExisting:Ke}])]}),Ke})();const ge=new l.InjectionToken("MatTabLabel"),se=new l.InjectionToken("MAT_TAB");let me=(()=>{class Ke extends m.ig{constructor(O,j,N){super(O,j),this._closestTab=N}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.TemplateRef),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(se,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:Ke}]),l.\u0275\u0275InheritDefinitionFeature]}),Ke})();const Re=(0,L.Id)(class{}),it=new l.InjectionToken("MAT_TAB_GROUP");let wt=(()=>{class Ke extends Re{constructor(O,j){super(),this._viewContainerRef=O,this._closestTabGroup=j,this.textLabel="",this._contentPortal=null,this._stateChanges=new k.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(O){this._setTemplateLabelInput(O)}get content(){return this._contentPortal}ngOnChanges(O){(O.hasOwnProperty("textLabel")||O.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new m.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(O){O&&O._closestTab===this&&(this._templateLabel=O)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(it,8))},Ke.\u0275cmp=l.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-tab"]],contentQueries:function(O,j,N){if(1&O&&(l.\u0275\u0275contentQuery(N,ge,5),l.\u0275\u0275contentQuery(N,ee,7,l.TemplateRef)),2&O){let Ee;l.\u0275\u0275queryRefresh(Ee=l.\u0275\u0275loadQuery())&&(j.templateLabel=Ee.first),l.\u0275\u0275queryRefresh(Ee=l.\u0275\u0275loadQuery())&&(j._explicitContent=Ee.first)}},viewQuery:function(O,j){if(1&O&&l.\u0275\u0275viewQuery(l.TemplateRef,7),2&O){let N;l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._implicitContent=N.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[l.\u0275\u0275ProvidersFeature([{provide:se,useExisting:Ke}]),l.\u0275\u0275InheritDefinitionFeature,l.\u0275\u0275NgOnChangesFeature],ngContentSelectors:je,decls:1,vars:0,template:function(O,j){1&O&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275template(0,we,1,0,"ng-template"))},encapsulation:2}),Ke})();const Ge={translateTab:(0,he.X$)("translateTab",[(0,he.SB)("center, void, left-origin-center, right-origin-center",(0,he.oB)({transform:"none"})),(0,he.SB)("left",(0,he.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,he.SB)("right",(0,he.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,he.eR)("* => left, * => right, left => center, right => center",(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,he.eR)("void => left-origin-center",[(0,he.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,he.eR)("void => right-origin-center",[(0,he.oB)({transform:"translate3d(100%, 0, 0)"}),(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ve=(()=>{class Ke extends m.Pl{constructor(O,j,N,Ee){super(O,j,Ee),this._host=N,this._centeringSub=M.w.EMPTY,this._leavingSub=M.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ne.O)(this._host._isCenterPosition(this._host._position))).subscribe(O=>{O&&!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 Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ComponentFactoryResolver),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject((0,l.forwardRef)(()=>K)),l.\u0275\u0275directiveInject(C.DOCUMENT))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["","matTabBodyHost",""]],features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),Be=(()=>{class Ke{constructor(O,j,N){this._elementRef=O,this._dir=j,this._dirChangeSubscription=M.w.EMPTY,this._translateTabComplete=new k.xQ,this._onCentering=new l.EventEmitter,this._beforeCentering=new l.EventEmitter,this._afterLeavingCenter=new l.EventEmitter,this._onCentered=new l.EventEmitter(!0),this.animationDuration="500ms",j&&(this._dirChangeSubscription=j.change.subscribe(Ee=>{this._computePositionAnimationState(Ee),N.markForCheck()})),this._translateTabComplete.pipe((0,_e.x)((Ee,Ce)=>Ee.fromState===Ce.fromState&&Ee.toState===Ce.toState)).subscribe(Ee=>{this._isCenterPosition(Ee.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ee.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(O){this._positionIndex=O,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(O){const j=this._isCenterPosition(O.toState);this._beforeCentering.emit(j),j&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(O){return"center"==O||"left-origin-center"==O||"right-origin-center"==O}_computePositionAnimationState(O=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==O?"left":"right":this._positionIndex>0?"ltr"==O?"right":"left":"center"}_computePositionFromOrigin(O){const j=this._getLayoutDirection();return"ltr"==j&&O<=0||"rtl"==j&&O>0?"left-origin-center":"right-origin-center"}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.ChangeDetectorRef))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ke})(),K=(()=>{class Ke extends Be{constructor(O,j,N){super(O,j,N)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.ChangeDetectorRef))},Ke.\u0275cmp=l.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-tab-body"]],viewQuery:function(O,j){if(1&O&&l.\u0275\u0275viewQuery(m.Pl,5),2&O){let N;l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._portalHost=N.first)}},hostAttrs:[1,"mat-tab-body"],features:[l.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(O,j){1&O&&(l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275listener("@translateTab.start",function(Ee){return j._onTranslateTabStarted(Ee)})("@translateTab.done",function(Ee){return j._translateTabComplete.next(Ee)}),l.\u0275\u0275template(2,le,0,0,"ng-template",2),l.\u0275\u0275elementEnd()),2&O&&l.\u0275\u0275property("@translateTab",l.\u0275\u0275pureFunction2(3,W,j._position,l.\u0275\u0275pureFunction1(1,Xe,j.animationDuration)))},directives:[Ve],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:[Ge.translateTab]}}),Ke})();const ze=new l.InjectionToken("MAT_TABS_CONFIG");let ft=0;class yt{}const We=(0,L.pj)((0,L.Kr)(class{constructor(Ke){this._elementRef=Ke}}),"primary");let D=(()=>{class Ke extends We{constructor(O,j,N,Ee){var Ce;super(O),this._changeDetectorRef=j,this._animationMode=Ee,this._tabs=new l.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=M.w.EMPTY,this._tabLabelSubscription=M.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new l.EventEmitter,this.focusChange=new l.EventEmitter,this.animationDone=new l.EventEmitter,this.selectedTabChange=new l.EventEmitter(!0),this._groupId=ft++,this.animationDuration=N&&N.animationDuration?N.animationDuration:"500ms",this.disablePagination=!(!N||null==N.disablePagination)&&N.disablePagination,this.dynamicHeight=!(!N||null==N.dynamicHeight)&&N.dynamicHeight,this.contentTabIndex=null!==(Ce=null==N?void 0:N.contentTabIndex)&&void 0!==Ce?Ce:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(O){this._dynamicHeight=(0,Le.Ig)(O)}get selectedIndex(){return this._selectedIndex}set selectedIndex(O){this._indexToSelect=(0,Le.su)(O,null)}get animationDuration(){return this._animationDuration}set animationDuration(O){this._animationDuration=/^\d+$/.test(O)?O+"ms":O}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(O){this._contentTabIndex=(0,Le.su)(O,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(O){const j=this._elementRef.nativeElement;j.classList.remove(`mat-background-${this.backgroundColor}`),O&&j.classList.add(`mat-background-${O}`),this._backgroundColor=O}ngAfterContentChecked(){const O=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=O){const j=null==this._selectedIndex;if(!j){this.selectedTabChange.emit(this._createChangeEvent(O));const N=this._tabBodyWrapper.nativeElement;N.style.minHeight=N.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((N,Ee)=>N.isActive=Ee===O),j||(this.selectedIndexChange.emit(O),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((j,N)=>{j.position=N-O,null!=this._selectedIndex&&0==j.position&&!j.origin&&(j.origin=O-this._selectedIndex)}),this._selectedIndex!==O&&(this._selectedIndex=O,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const j=this._tabs.toArray();for(let N=0;N<j.length;N++)if(j[N].isActive){this._indexToSelect=this._selectedIndex=N;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ne.O)(this._allTabs)).subscribe(O=>{this._tabs.reset(O.filter(j=>j._closestTabGroup===this||!j._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(O){const j=this._tabHeader;j&&(j.focusIndex=O)}_focusChanged(O){this.focusChange.emit(this._createChangeEvent(O))}_createChangeEvent(O){const j=new yt;return j.index=O,this._tabs&&this._tabs.length&&(j.tab=this._tabs.toArray()[O]),j}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,G.T)(...this._tabs.map(O=>O._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(O){return Math.min(this._tabs.length-1,Math.max(O||0,0))}_getTabLabelId(O){return`mat-tab-label-${this._groupId}-${O}`}_getTabContentId(O){return`mat-tab-content-${this._groupId}-${O}`}_setTabBodyWrapperHeight(O){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const j=this._tabBodyWrapper.nativeElement;j.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(j.style.height=O+"px")}_removeTabBodyWrapperHeight(){const O=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=O.clientHeight,O.style.height="",this.animationDone.emit()}_handleClick(O,j,N){O.disabled||(this.selectedIndex=j.focusIndex=N)}_getTabIndex(O,j){return O.disabled?null:this.selectedIndex===j?0:-1}_tabFocusChanged(O,j){O&&"mouse"!==O&&"touch"!==O&&(this._tabHeader.focusIndex=j)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(ze,8),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,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:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),I=(()=>{class Ke extends D{constructor(O,j,N,Ee){super(O,j,N,Ee)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(ze,8),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275cmp=l.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-tab-group"]],contentQueries:function(O,j,N){if(1&O&&l.\u0275\u0275contentQuery(N,wt,5),2&O){let Ee;l.\u0275\u0275queryRefresh(Ee=l.\u0275\u0275loadQuery())&&(j._allTabs=Ee)}},viewQuery:function(O,j){if(1&O&&(l.\u0275\u0275viewQuery(te,5),l.\u0275\u0275viewQuery(fe,5)),2&O){let N;l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabBodyWrapper=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabHeader=N.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(O,j){2&O&&l.\u0275\u0275classProp("mat-tab-group-dynamic-height",j.dynamicHeight)("mat-tab-group-inverted-header","below"===j.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[l.\u0275\u0275ProvidersFeature([{provide:it,useExisting:Ke}]),l.\u0275\u0275InheritDefinitionFeature],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(O,j){1&O&&(l.\u0275\u0275elementStart(0,"mat-tab-header",0,1),l.\u0275\u0275listener("indexFocused",function(Ee){return j._focusChanged(Ee)})("selectFocusedIndex",function(Ee){return j.selectedIndex=Ee}),l.\u0275\u0275template(2,rt,4,14,"div",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"div",3,4),l.\u0275\u0275template(5,lt,1,9,"mat-tab-body",5),l.\u0275\u0275elementEnd()),2&O&&(l.\u0275\u0275property("selectedIndex",j.selectedIndex||0)("disableRipple",j.disableRipple)("disablePagination",j.disablePagination),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",j._tabs),l.\u0275\u0275advance(1),l.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",j._tabs))},directives:function(){return[Nt,C.NgForOf,oe,L.wG,s.kH,C.NgIf,m.Pl,K]},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}),Ke})();const w=(0,L.Id)(class{});let oe=(()=>{class Ke extends w{constructor(O){super(),this.elementRef=O}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(O,j){2&O&&(l.\u0275\u0275attribute("aria-disabled",!!j.disabled),l.\u0275\u0275classProp("mat-tab-disabled",j.disabled))},inputs:{disabled:"disabled"},features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})();const F=(0,at.i$)({passive:!0});let Ct=(()=>{class Ke{constructor(O,j,N,Ee,Ce,V,z){this._elementRef=O,this._changeDetectorRef=j,this._viewportRuler=N,this._dir=Ee,this._ngZone=Ce,this._platform=V,this._animationMode=z,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new k.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new k.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.EventEmitter,this.indexFocused=new l.EventEmitter,Ce.runOutsideAngular(()=>{(0,H.R)(O.nativeElement,"mouseleave").pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(O){O=(0,Le.su)(O),this._selectedIndex!=O&&(this._selectedIndexChanged=!0,this._selectedIndex=O,this._keyManager&&this._keyManager.updateActiveItem(O))}ngAfterViewInit(){(0,H.R)(this._previousPaginator.nativeElement,"touchstart",F).pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,H.R)(this._nextPaginator.nativeElement,"touchstart",F).pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const O=this._dir?this._dir.change:(0,Y.of)("ltr"),j=this._viewportRuler.change(150),N=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new s.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(N):N(),(0,G.T)(O,j,this._items.changes).pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(N)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,be.R)(this._destroyed)).subscribe(Ee=>{this.indexFocused.emit(Ee),this._setTabFocus(Ee)})}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(O){if(!(0,Mt.Vb)(O))switch(O.keyCode){case Mt.K5:case Mt.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(O));break;default:this._keyManager.onKeydown(O)}}_onContentChanges(){const O=this._elementRef.nativeElement.textContent;O!==this._currentTextContent&&(this._currentTextContent=O||"",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(O){!this._isValidIndex(O)||this.focusIndex===O||!this._keyManager||this._keyManager.setActiveItem(O)}_isValidIndex(O){if(!this._items)return!0;const j=this._items?this._items.toArray()[O]:null;return!!j&&!j.disabled}_setTabFocus(O){if(this._showPaginationControls&&this._scrollToLabel(O),this._items&&this._items.length){this._items.toArray()[O].focus();const j=this._tabListContainer.nativeElement;j.scrollLeft="ltr"==this._getLayoutDirection()?0:j.scrollWidth-j.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const O=this.scrollDistance,j="ltr"===this._getLayoutDirection()?-O:O;this._tabList.nativeElement.style.transform=`translateX(${Math.round(j)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(O){this._scrollTo(O)}_scrollHeader(O){return this._scrollTo(this._scrollDistance+("before"==O?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(O){this._stopInterval(),this._scrollHeader(O)}_scrollToLabel(O){if(this.disablePagination)return;const j=this._items?this._items.toArray()[O]:null;if(!j)return;const N=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ee,offsetWidth:Ce}=j.elementRef.nativeElement;let V,z;"ltr"==this._getLayoutDirection()?(V=Ee,z=V+Ce):(z=this._tabList.nativeElement.offsetWidth-Ee,V=z-Ce);const S=this.scrollDistance,q=this.scrollDistance+N;V<S?this.scrollDistance-=S-V+60:z>q&&(this.scrollDistance+=z-q+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const O=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;O||(this.scrollDistance=0),O!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=O}}_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 O=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,j=O?O.elementRef.nativeElement:null;j?this._inkBar.alignToElement(j):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(O,j){j&&null!=j.button&&0!==j.button||(this._stopInterval(),(0,ce.H)(650,100).pipe((0,be.R)((0,G.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:N,distance:Ee}=this._scrollHeader(O);(0===Ee||Ee>=N)&&this._stopInterval()}))}_scrollTo(O){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const j=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(j,O)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:j,distance:this._scrollDistance}}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(Ze.rL),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,inputs:{disablePagination:"disablePagination"}}),Ke})(),Rt=(()=>{class Ke extends Ct{constructor(O,j,N,Ee,Ce,V,z){super(O,j,N,Ee,Ce,V,z),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(O){this._disableRipple=(0,Le.Ig)(O)}_itemSelected(O){O.preventDefault()}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(Ze.rL),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,inputs:{disableRipple:"disableRipple"},features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),Nt=(()=>{class Ke extends Rt{constructor(O,j,N,Ee,Ce,V,z){super(O,j,N,Ee,Ce,V,z)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(Ze.rL),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275cmp=l.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-tab-header"]],contentQueries:function(O,j,N){if(1&O&&l.\u0275\u0275contentQuery(N,oe,4),2&O){let Ee;l.\u0275\u0275queryRefresh(Ee=l.\u0275\u0275loadQuery())&&(j._items=Ee)}},viewQuery:function(O,j){if(1&O&&(l.\u0275\u0275viewQuery(R,7),l.\u0275\u0275viewQuery(bt,7),l.\u0275\u0275viewQuery(ke,7),l.\u0275\u0275viewQuery(nt,5),l.\u0275\u0275viewQuery(ht,5)),2&O){let N;l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._inkBar=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabListContainer=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabList=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._nextPaginator=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._previousPaginator=N.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(O,j){2&O&&l.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",j._showPaginationControls)("mat-tab-header-rtl","rtl"==j._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:je,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(O,j){1&O&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275listener("click",function(){return j._handlePaginatorClick("before")})("mousedown",function(Ee){return j._handlePaginatorPress("before",Ee)})("touchend",function(){return j._stopInterval()}),l.\u0275\u0275element(2,"div",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"div",3,4),l.\u0275\u0275listener("keydown",function(Ee){return j._handleKeydown(Ee)}),l.\u0275\u0275elementStart(5,"div",5,6),l.\u0275\u0275listener("cdkObserveContent",function(){return j._onContentChanges()}),l.\u0275\u0275elementStart(7,"div",7),l.\u0275\u0275projection(8),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(9,"mat-ink-bar"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"div",8,9),l.\u0275\u0275listener("mousedown",function(Ee){return j._handlePaginatorPress("after",Ee)})("click",function(){return j._handlePaginatorClick("after")})("touchend",function(){return j._stopInterval()}),l.\u0275\u0275element(12,"div",2),l.\u0275\u0275elementEnd()),2&O&&(l.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollBefore),l.\u0275\u0275property("matRippleDisabled",j._disableScrollBefore||j.disableRipple),l.\u0275\u0275advance(5),l.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),l.\u0275\u0275advance(5),l.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollAfter),l.\u0275\u0275property("matRippleDisabled",j._disableScrollAfter||j.disableRipple))},directives:[L.wG,c.wD,R],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}),Ke})(),zt=(()=>{class Ke extends Ct{constructor(O,j,N,Ee,Ce,V,z){super(O,Ee,Ce,j,N,V,z),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(O){const j=this._elementRef.nativeElement.classList;j.remove(`mat-background-${this.backgroundColor}`),O&&j.add(`mat-background-${O}`),this._backgroundColor=O}get disableRipple(){return this._disableRipple}set disableRipple(O){this._disableRipple=(0,Le.Ig)(O)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,ne.O)(null),(0,be.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const O=this._items.toArray();for(let j=0;j<O.length;j++)if(O[j].active)return this.selectedIndex=j,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(Ze.rL),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,inputs:{color:"color",backgroundColor:"backgroundColor",disableRipple:"disableRipple"},features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),Qt=(()=>{class Ke extends zt{constructor(O,j,N,Ee,Ce,V,z){super(O,j,N,Ee,Ce,V,z)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(st.Is,8),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(Ze.rL),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275cmp=l.\u0275\u0275defineComponent({type:Ke,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(O,j,N){if(1&O&&l.\u0275\u0275contentQuery(N,jt,5),2&O){let Ee;l.\u0275\u0275queryRefresh(Ee=l.\u0275\u0275loadQuery())&&(j._items=Ee)}},viewQuery:function(O,j){if(1&O&&(l.\u0275\u0275viewQuery(R,7),l.\u0275\u0275viewQuery(bt,7),l.\u0275\u0275viewQuery(ke,7),l.\u0275\u0275viewQuery(nt,5),l.\u0275\u0275viewQuery(ht,5)),2&O){let N;l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._inkBar=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabListContainer=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._tabList=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._nextPaginator=N.first),l.\u0275\u0275queryRefresh(N=l.\u0275\u0275loadQuery())&&(j._previousPaginator=N.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(O,j){2&O&&l.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",j._showPaginationControls)("mat-tab-header-rtl","rtl"==j._getLayoutDirection())("mat-primary","warn"!==j.color&&"accent"!==j.color)("mat-accent","accent"===j.color)("mat-warn","warn"===j.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[l.\u0275\u0275InheritDefinitionFeature],attrs:Ot,ngContentSelectors:je,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-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["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(O,j){1&O&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275listener("click",function(){return j._handlePaginatorClick("before")})("mousedown",function(Ee){return j._handlePaginatorPress("before",Ee)})("touchend",function(){return j._stopInterval()}),l.\u0275\u0275element(2,"div",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"div",3,4),l.\u0275\u0275listener("keydown",function(Ee){return j._handleKeydown(Ee)}),l.\u0275\u0275elementStart(5,"div",5,6),l.\u0275\u0275listener("cdkObserveContent",function(){return j._onContentChanges()}),l.\u0275\u0275elementStart(7,"div",7),l.\u0275\u0275projection(8),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(9,"mat-ink-bar"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"div",8,9),l.\u0275\u0275listener("mousedown",function(Ee){return j._handlePaginatorPress("after",Ee)})("click",function(){return j._handlePaginatorClick("after")})("touchend",function(){return j._stopInterval()}),l.\u0275\u0275element(12,"div",2),l.\u0275\u0275elementEnd()),2&O&&(l.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollBefore),l.\u0275\u0275property("matRippleDisabled",j._disableScrollBefore||j.disableRipple),l.\u0275\u0275advance(5),l.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),l.\u0275\u0275advance(5),l.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollAfter),l.\u0275\u0275property("matRippleDisabled",j._disableScrollAfter||j.disableRipple))},directives:[L.wG,c.wD,R],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-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.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-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{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;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),Ke})();const At=(0,L.sb)((0,L.Kr)((0,L.Id)(class{})));let Lt=(()=>{class Ke extends At{constructor(O,j,N,Ee,Ce,V){super(),this._tabNavBar=O,this.elementRef=j,this._focusMonitor=Ce,this._isActive=!1,this.rippleConfig=N||{},this.tabIndex=parseInt(Ee)||0,"NoopAnimations"===V&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(O){(0,Le.Ig)(O)!==this._isActive&&(this._isActive=O,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(zt),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(L.Y2,8),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(s.tE),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,inputs:{active:"active"},features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),jt=(()=>{class Ke extends Lt{constructor(O,j,N,Ee,Ce,V,z,S){super(O,j,Ce,V,z,S),this._tabLinkRipple=new L.IR(this,N,j,Ee),this._tabLinkRipple.setupTriggerEvents(j.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Ke.\u0275fac=function(O){return new(O||Ke)(l.\u0275\u0275directiveInject(Qt),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(at.t4),l.\u0275\u0275directiveInject(L.Y2,8),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(s.tE),l.\u0275\u0275directiveInject(Z.ANIMATION_MODULE_TYPE,8))},Ke.\u0275dir=l.\u0275\u0275defineDirective({type:Ke,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(O,j){1&O&&l.\u0275\u0275listener("focus",function(){return j._handleFocus()}),2&O&&(l.\u0275\u0275attribute("aria-current",j.active?"page":null)("aria-disabled",j.disabled)("tabIndex",j.tabIndex),l.\u0275\u0275classProp("mat-tab-disabled",j.disabled)("mat-tab-label-active",j.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[l.\u0275\u0275InheritDefinitionFeature]}),Ke})(),_n=(()=>{class Ke{}return Ke.\u0275fac=function(O){return new(O||Ke)},Ke.\u0275mod=l.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=l.\u0275\u0275defineInjector({imports:[[C.CommonModule,L.BQ,m.eL,L.si,c.Q8,s.rt],L.BQ]}),Ke})()},1436:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>W,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>te,MAT_TOOLTIP_SCROLL_STRATEGY:()=>je,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>le,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Xe,MatTooltip:()=>ae,MatTooltipModule:()=>rt,SCROLL_THROTTLE_MS:()=>Le,TOOLTIP_PANEL_CLASS:()=>at,TooltipComponent:()=>xe,_MatTooltipBase:()=>fe,_TooltipComponentBase:()=>Ne,getMatTooltipInvalidPositionError:()=>we,matTooltipAnimations:()=>be});var s=f(625),c=f(9238),m=f(8583),C=f(7716),l=f(2458),L=f(5197),Z=f(9490),k=f(6461),M=f(5072),G=f(521),H=f(7636),Y=f(9765),ce=f(6782),he=f(5257),ne=f(7238),_e=f(946);const be={tooltipState:(0,ne.X$)("state",[(0,ne.SB)("initial, void, hidden",(0,ne.oB)({opacity:0,transform:"scale(0)"})),(0,ne.SB)("visible",(0,ne.oB)({transform:"scale(1)"})),(0,ne.eR)("* => visible",(0,ne.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ne.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ne.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ne.eR)("* => hidden",(0,ne.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:0})))])},Le=20,at="mat-tooltip-panel",Mt="tooltip-panel",st=(0,G.i$)({passive:!0});function we(lt){return Error(`Tooltip position "${lt}" is invalid.`)}const je=new C.InjectionToken("mat-tooltip-scroll-strategy");function le(lt){return()=>lt.scrollStrategies.reposition({scrollThrottle:Le})}const Xe={provide:je,deps:[s.aV],useFactory:le},W=new C.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:te});function te(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let fe=(()=>{class lt{constructor(ke,nt,ht,Ot,Ye,ut,R,ee,x,ge,se,me){this._overlay=ke,this._elementRef=nt,this._scrollDispatcher=ht,this._viewContainerRef=Ot,this._ngZone=Ye,this._platform=ut,this._ariaDescriber=R,this._focusMonitor=ee,this._dir=ge,this._defaultOptions=se,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 Y.xQ,this._handleKeydown=Re=>{this._isTooltipVisible()&&Re.keyCode===k.hY&&!(0,k.Vb)(Re)&&(Re.preventDefault(),Re.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=x,this._document=me,se&&(se.position&&(this.position=se.position),se.touchGestures&&(this.touchGestures=se.touchGestures)),ge.change.pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),Ye.runOutsideAngular(()=>{nt.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(ke){var nt;ke!==this._position&&(this._position=ke,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(nt=this._tooltipInstance)||void 0===nt||nt.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(ke){this._disabled=(0,Z.Ig)(ke),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(ke){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=ke?String(ke).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(ke){this._tooltipClass=ke,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,ce.R)(this._destroyed)).subscribe(ke=>{ke?"keyboard"===ke&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ke=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),ke.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([nt,ht])=>{ke.removeEventListener(nt,ht,st)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ke,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ke)}show(ke=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const nt=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=nt.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,ce.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(ke)}hide(ke=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(ke)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const ke=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),nt=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ke);return nt.positionChanges.pipe((0,ce.R)(this._destroyed)).subscribe(ht=>{this._updateCurrentPositionClass(ht.connectionPair),this._tooltipInstance&&ht.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:nt,panelClass:`${this._cssClassPrefix}-${Mt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,ce.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,ce.R)(this._destroyed)).subscribe(()=>{var ht;return null===(ht=this._tooltipInstance)||void 0===ht?void 0:ht._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ke){const nt=ke.getConfig().positionStrategy,ht=this._getOrigin(),Ot=this._getOverlayPosition();nt.withPositions([this._addOffset(Object.assign(Object.assign({},ht.main),Ot.main)),this._addOffset(Object.assign(Object.assign({},ht.fallback),Ot.fallback))])}_addOffset(ke){return ke}_getOrigin(){const ke=!this._dir||"ltr"==this._dir.value,nt=this.position;let ht;"above"==nt||"below"==nt?ht={originX:"center",originY:"above"==nt?"top":"bottom"}:"before"==nt||"left"==nt&&ke||"right"==nt&&!ke?ht={originX:"start",originY:"center"}:("after"==nt||"right"==nt&&ke||"left"==nt&&!ke)&&(ht={originX:"end",originY:"center"});const{x:Ot,y:Ye}=this._invertPosition(ht.originX,ht.originY);return{main:ht,fallback:{originX:Ot,originY:Ye}}}_getOverlayPosition(){const ke=!this._dir||"ltr"==this._dir.value,nt=this.position;let ht;"above"==nt?ht={overlayX:"center",overlayY:"bottom"}:"below"==nt?ht={overlayX:"center",overlayY:"top"}:"before"==nt||"left"==nt&&ke||"right"==nt&&!ke?ht={overlayX:"end",overlayY:"center"}:("after"==nt||"right"==nt&&ke||"left"==nt&&!ke)&&(ht={overlayX:"start",overlayY:"center"});const{x:Ot,y:Ye}=this._invertPosition(ht.overlayX,ht.overlayY);return{main:ht,fallback:{overlayX:Ot,overlayY:Ye}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,he.q)(1),(0,ce.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(ke){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ke,this._tooltipInstance._markForCheck())}_invertPosition(ke,nt){return"above"===this.position||"below"===this.position?"top"===nt?nt="bottom":"bottom"===nt&&(nt="top"):"end"===ke?ke="start":"start"===ke&&(ke="end"),{x:ke,y:nt}}_updateCurrentPositionClass(ke){const{overlayY:nt,originX:ht,originY:Ot}=ke;let Ye;if(Ye="center"===nt?this._dir&&"rtl"===this._dir.value?"end"===ht?"left":"right":"start"===ht?"left":"right":"bottom"===nt&&"top"===Ot?"above":"below",Ye!==this._currentPosition){const ut=this._overlayRef;if(ut){const R=`${this._cssClassPrefix}-${Mt}-`;ut.removePanelClass(R+this._currentPosition),ut.addPanelClass(R+Ye)}this._currentPosition=Ye}}_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 ke=[];if(this._platformSupportsMouseEvents())ke.push(["mouseleave",()=>this.hide()],["wheel",nt=>this._wheelListener(nt)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const nt=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ke.push(["touchend",nt],["touchcancel",nt])}this._addListeners(ke),this._passiveListeners.push(...ke)}_addListeners(ke){ke.forEach(([nt,ht])=>{this._elementRef.nativeElement.addEventListener(nt,ht,st)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ke){if(this._isTooltipVisible()){const nt=this._document.elementFromPoint(ke.clientX,ke.clientY),ht=this._elementRef.nativeElement;nt!==ht&&!ht.contains(nt)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ke=this.touchGestures;if("off"!==ke){const nt=this._elementRef.nativeElement,ht=nt.style;("on"===ke||"INPUT"!==nt.nodeName&&"TEXTAREA"!==nt.nodeName)&&(ht.userSelect=ht.msUserSelect=ht.webkitUserSelect=ht.MozUserSelect="none"),("on"===ke||!nt.draggable)&&(ht.webkitUserDrag="none"),ht.touchAction="none",ht.webkitTapHighlightColor="transparent"}}}return lt.\u0275fac=function(ke){return new(ke||lt)(C.\u0275\u0275directiveInject(s.aV),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(L.mF),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(G.t4),C.\u0275\u0275directiveInject(c.$s),C.\u0275\u0275directiveInject(c.tE),C.\u0275\u0275directiveInject(void 0),C.\u0275\u0275directiveInject(_e.Is),C.\u0275\u0275directiveInject(void 0),C.\u0275\u0275directiveInject(m.DOCUMENT))},lt.\u0275dir=C.\u0275\u0275defineDirective({type:lt,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),lt})(),ae=(()=>{class lt extends fe{constructor(ke,nt,ht,Ot,Ye,ut,R,ee,x,ge,se,me){super(ke,nt,ht,Ot,Ye,ut,R,ee,x,ge,se,me),this._tooltipComponent=xe}}return lt.\u0275fac=function(ke){return new(ke||lt)(C.\u0275\u0275directiveInject(s.aV),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(L.mF),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(G.t4),C.\u0275\u0275directiveInject(c.$s),C.\u0275\u0275directiveInject(c.tE),C.\u0275\u0275directiveInject(je),C.\u0275\u0275directiveInject(_e.Is,8),C.\u0275\u0275directiveInject(W,8),C.\u0275\u0275directiveInject(m.DOCUMENT))},lt.\u0275dir=C.\u0275\u0275defineDirective({type:lt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[C.\u0275\u0275InheritDefinitionFeature]}),lt})(),Ne=(()=>{class lt{constructor(ke){this._changeDetectorRef=ke,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Y.xQ}show(ke){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},ke)}hide(ke){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},ke)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(ke){const nt=ke.toState;"hidden"===nt&&!this.isVisible()&&this._onHide.next(),("visible"===nt||"hidden"===nt)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return lt.\u0275fac=function(ke){return new(ke||lt)(C.\u0275\u0275directiveInject(C.ChangeDetectorRef))},lt.\u0275dir=C.\u0275\u0275defineDirective({type:lt}),lt})(),xe=(()=>{class lt extends Ne{constructor(ke,nt){super(ke),this._breakpointObserver=nt,this._isHandset=this._breakpointObserver.observe(M.Breakpoints.Handset)}}return lt.\u0275fac=function(ke){return new(ke||lt)(C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(M.BreakpointObserver))},lt.\u0275cmp=C.\u0275\u0275defineComponent({type:lt,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(ke,nt){2&ke&&C.\u0275\u0275styleProp("zoom","visible"===nt._visibility?1:null)},features:[C.\u0275\u0275InheritDefinitionFeature],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(ke,nt){if(1&ke&&(C.\u0275\u0275elementStart(0,"div",0),C.\u0275\u0275listener("@state.start",function(){return nt._animationStart()})("@state.done",function(Ot){return nt._animationDone(Ot)}),C.\u0275\u0275pipe(1,"async"),C.\u0275\u0275text(2),C.\u0275\u0275elementEnd()),2&ke){let ht;C.\u0275\u0275classProp("mat-tooltip-handset",null==(ht=C.\u0275\u0275pipeBind1(1,5,nt._isHandset))?null:ht.matches),C.\u0275\u0275property("ngClass",nt.tooltipClass)("@state",nt._visibility),C.\u0275\u0275advance(2),C.\u0275\u0275textInterpolate(nt.message)}},directives:[m.NgClass],pipes:[m.AsyncPipe],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:[be.tooltipState]},changeDetection:0}),lt})(),rt=(()=>{class lt{}return lt.\u0275fac=function(ke){return new(ke||lt)},lt.\u0275mod=C.\u0275\u0275defineNgModule({type:lt}),lt.\u0275inj=C.\u0275\u0275defineInjector({providers:[Xe],imports:[[c.rt,m.CommonModule,s.U8,l.BQ],l.BQ,L.ZD]}),lt})()},6237:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{ANIMATION_MODULE_TYPE:()=>pn,BrowserAnimationsModule:()=>yo,NoopAnimationsModule:()=>Vi,\u0275AnimationRenderer:()=>_o,\u0275AnimationRendererFactory:()=>Yt,\u0275BrowserAnimationBuilder:()=>Mn,\u0275BrowserAnimationFactory:()=>Ln,\u0275InjectableAnimationEngine:()=>Ps,\u0275angular_packages_platform_browser_animations_animations_a:()=>Fs,\u0275angular_packages_platform_browser_animations_animations_b:()=>ks,\u0275angular_packages_platform_browser_animations_animations_c:()=>Tt,\u0275angular_packages_platform_browser_animations_animations_d:()=>Fn,\u0275angular_packages_platform_browser_animations_animations_e:()=>ko,\u0275angular_packages_platform_browser_animations_animations_f:()=>io});var s=f(7716),c=f(9075),m=f(7238);function C(){return"undefined"!=typeof window&&void 0!==window.document}function l(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function L(B){switch(B.length){case 0:return new m.ZN;case 1:return B[0];default:return new m.ZE(B)}}function Z(B,d,h,v,$={},de={}){const De=[],Ae=[];let et=-1,vt=null;if(v.forEach(Ft=>{const Vt=Ft.offset,nn=Vt==et,mn=nn&&vt||{};Object.keys(Ft).forEach(Kt=>{let en=Kt,hn=Ft[Kt];if("offset"!==Kt)switch(en=d.normalizePropertyName(en,De),hn){case m.k1:hn=$[Kt];break;case m.l3:hn=de[Kt];break;default:hn=d.normalizeStyleValue(Kt,en,hn,De)}mn[en]=hn}),nn||Ae.push(mn),vt=mn,et=Vt}),De.length){const Ft="\n - ";throw new Error(`Unable to animate due to the following errors:${Ft}${De.join(Ft)}`)}return Ae}function k(B,d,h,v){switch(d){case"start":B.onStart(()=>v(h&&M(h,"start",B)));break;case"done":B.onDone(()=>v(h&&M(h,"done",B)));break;case"destroy":B.onDestroy(()=>v(h&&M(h,"destroy",B)))}}function M(B,d,h){const v=h.totalTime,de=G(B.element,B.triggerName,B.fromState,B.toState,d||B.phaseName,null==v?B.totalTime:v,!!h.disabled),De=B._data;return null!=De&&(de._data=De),de}function G(B,d,h,v,$="",de=0,De){return{element:B,triggerName:d,fromState:h,toState:v,phaseName:$,totalTime:de,disabled:!!De}}function H(B,d,h){let v;return B instanceof Map?(v=B.get(d),v||B.set(d,v=h)):(v=B[d],v||(v=B[d]=h)),v}function Y(B){const d=B.indexOf(":");return[B.substring(1,d),B.substr(d+1)]}let ce=(B,d)=>!1,ne=(B,d)=>!1,be=(B,d,h)=>[];const at=l();(at||"undefined"!=typeof Element)&&(ce=C()?(B,d)=>{for(;d&&d!==document.documentElement;){if(d===B)return!0;d=d.parentNode||d.host}return!1}:(B,d)=>B.contains(d),ne=(()=>{if(at||Element.prototype.matches)return(B,d)=>B.matches(d);{const B=Element.prototype,d=B.matchesSelector||B.mozMatchesSelector||B.msMatchesSelector||B.oMatchesSelector||B.webkitMatchesSelector;return d?(h,v)=>d.apply(h,[v]):ne}})(),be=(B,d,h)=>{let v=[];if(h){const $=B.querySelectorAll(d);for(let de=0;de<$.length;de++)v.push($[de])}else{const $=B.querySelector(d);$&&v.push($)}return v});let st=null,Ze=!1;function we(B){st||(st=("undefined"!=typeof document?document.body:null)||{},Ze=!!st.style&&"WebkitAppearance"in st.style);let d=!0;return st.style&&!function(B){return"ebkit"==B.substring(1,6)}(B)&&(d=B in st.style,!d&&Ze&&(d="Webkit"+B.charAt(0).toUpperCase()+B.substr(1)in st.style)),d}const le=ne,Xe=ce,W=be;function te(B){const d={};return Object.keys(B).forEach(h=>{const v=h.replace(/([a-z])([A-Z])/g,"$1-$2");d[v]=B[h]}),d}let fe=(()=>{class B{validateStyleProperty(h){return we(h)}matchesElement(h,v){return le(h,v)}containsElement(h,v){return Xe(h,v)}query(h,v,$){return W(h,v,$)}computeStyle(h,v,$){return $||""}animate(h,v,$,de,De,Ae=[],et){return new m.ZN($,de)}}return B.\u0275fac=function(h){return new(h||B)},B.\u0275prov=s.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})(),ae=(()=>{class B{}return B.NOOP=new fe,B})();const lt="ng-enter",bt="ng-leave",ht="ng-trigger",Ot=".ng-trigger",Ye="ng-animating",ut=".ng-animating";function R(B){if("number"==typeof B)return B;const d=B.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:ee(parseFloat(d[1]),d[2])}function ee(B,d){switch(d){case"s":return 1e3*B;default:return B}}function x(B,d,h){return B.hasOwnProperty("duration")?B:function(B,d,h){let $,de=0,De="";if("string"==typeof B){const Ae=B.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ae)return d.push(`The provided timing value "${B}" is invalid.`),{duration:0,delay:0,easing:""};$=ee(parseFloat(Ae[1]),Ae[2]);const et=Ae[3];null!=et&&(de=ee(parseFloat(et),Ae[4]));const vt=Ae[5];vt&&(De=vt)}else $=B;if(!h){let Ae=!1,et=d.length;$<0&&(d.push("Duration values below 0 are not allowed for this animation step."),Ae=!0),de<0&&(d.push("Delay values below 0 are not allowed for this animation step."),Ae=!0),Ae&&d.splice(et,0,`The provided timing value "${B}" is invalid.`)}return{duration:$,delay:de,easing:De}}(B,d,h)}function se(B,d={}){return Object.keys(B).forEach(h=>{d[h]=B[h]}),d}function Re(B,d,h={}){if(d)for(let v in B)h[v]=B[v];else se(B,h);return h}function it(B,d,h){return h?d+":"+h+";":""}function wt(B){let d="";for(let h=0;h<B.style.length;h++){const v=B.style.item(h);d+=it(0,v,B.style.getPropertyValue(v))}for(const h in B.style)B.style.hasOwnProperty(h)&&!h.startsWith("_")&&(d+=it(0,w(h),B.style[h]));B.setAttribute("style",d)}function Ge(B,d,h){B.style&&(Object.keys(d).forEach(v=>{const $=I(v);h&&!h.hasOwnProperty(v)&&(h[v]=B.style[$]),B.style[$]=d[v]}),l()&&wt(B))}function Ve(B,d){B.style&&(Object.keys(d).forEach(h=>{const v=I(h);B.style[v]=""}),l()&&wt(B))}function Be(B){return Array.isArray(B)?1==B.length?B[0]:(0,m.vP)(B):B}const ze=new RegExp("{{\\s*(.+?)\\s*}}","g");function ft(B){let d=[];if("string"==typeof B){let h;for(;h=ze.exec(B);)d.push(h[1]);ze.lastIndex=0}return d}function yt(B,d,h){const v=B.toString(),$=v.replace(ze,(de,De)=>{let Ae=d[De];return d.hasOwnProperty(De)||(h.push(`Please provide a value for the animation param ${De}`),Ae=""),Ae.toString()});return $==v?B:$}function We(B){const d=[];let h=B.next();for(;!h.done;)d.push(h.value),h=B.next();return d}const D=/-+([a-z0-9])/g;function I(B){return B.replace(D,(...d)=>d[1].toUpperCase())}function w(B){return B.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function oe(B,d){return 0===B||0===d}function F(B,d,h){const v=Object.keys(h);if(v.length&&d.length){let de=d[0],De=[];if(v.forEach(Ae=>{de.hasOwnProperty(Ae)||De.push(Ae),de[Ae]=h[Ae]}),De.length)for(var $=1;$<d.length;$++){let Ae=d[$];De.forEach(function(et){Ae[et]=Pe(B,et)})}}return d}function X(B,d,h){switch(d.type){case 7:return B.visitTrigger(d,h);case 0:return B.visitState(d,h);case 1:return B.visitTransition(d,h);case 2:return B.visitSequence(d,h);case 3:return B.visitGroup(d,h);case 4:return B.visitAnimate(d,h);case 5:return B.visitKeyframes(d,h);case 6:return B.visitStyle(d,h);case 8:return B.visitReference(d,h);case 9:return B.visitAnimateChild(d,h);case 10:return B.visitAnimateRef(d,h);case 11:return B.visitQuery(d,h);case 12:return B.visitStagger(d,h);default:throw new Error(`Unable to resolve animation metadata node #${d.type}`)}}function Pe(B,d){return window.getComputedStyle(B)[d]}function Ct(B,d){const h=[];return"string"==typeof B?B.split(/\s*,\s*/).forEach(v=>function(B,d,h){if(":"==B[0]){const et=function(B,d){switch(B){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,v)=>parseFloat(v)>parseFloat(h);case":decrement":return(h,v)=>parseFloat(v)<parseFloat(h);default:return d.push(`The transition alias value "${B}" is not supported`),"* => *"}}(B,h);if("function"==typeof et)return void d.push(et);B=et}const v=B.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return h.push(`The provided transition expression "${B}" is not supported`),d;const $=v[1],de=v[2],De=v[3];d.push(At($,De));"<"==de[0]&&!("*"==$&&"*"==De)&&d.push(At(De,$))}(v,h,d)):h.push(B),h}const zt=new Set(["true","1"]),Qt=new Set(["false","0"]);function At(B,d){const h=zt.has(B)||Qt.has(B),v=zt.has(d)||Qt.has(d);return($,de)=>{let De="*"==B||B==$,Ae="*"==d||d==de;return!De&&h&&"boolean"==typeof $&&(De=$?zt.has(B):Qt.has(B)),!Ae&&v&&"boolean"==typeof de&&(Ae=de?zt.has(d):Qt.has(d)),De&&Ae}}const jt=new RegExp("s*:selfs*,?","g");function _n(B,d,h){return new St(B).build(d,h)}class St{constructor(d){this._driver=d}build(d,h){const v=new N(h);return this._resetContextStyleTimingState(v),X(this,Be(d),v)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles={},d.collectedStyles[""]={},d.currentTime=0}visitTrigger(d,h){let v=h.queryCount=0,$=h.depCount=0;const de=[],De=[];return"@"==d.name.charAt(0)&&h.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),d.definitions.forEach(Ae=>{if(this._resetContextStyleTimingState(h),0==Ae.type){const et=Ae,vt=et.name;vt.toString().split(/\s*,\s*/).forEach(Ft=>{et.name=Ft,de.push(this.visitState(et,h))}),et.name=vt}else if(1==Ae.type){const et=this.visitTransition(Ae,h);v+=et.queryCount,$+=et.depCount,De.push(et)}else h.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:d.name,states:de,transitions:De,queryCount:v,depCount:$,options:null}}visitState(d,h){const v=this.visitStyle(d.styles,h),$=d.options&&d.options.params||null;if(v.containsDynamicStyles){const de=new Set,De=$||{};if(v.styles.forEach(Ae=>{if(Ce(Ae)){const et=Ae;Object.keys(et).forEach(vt=>{ft(et[vt]).forEach(Ft=>{De.hasOwnProperty(Ft)||de.add(Ft)})})}}),de.size){const Ae=We(de.values());h.errors.push(`state("${d.name}", ...) must define default values for all the following style substitutions: ${Ae.join(", ")}`)}}return{type:0,name:d.name,style:v,options:$?{params:$}:null}}visitTransition(d,h){h.queryCount=0,h.depCount=0;const v=X(this,Be(d.animation),h);return{type:1,matchers:Ct(d.expr,h.errors),animation:v,queryCount:h.queryCount,depCount:h.depCount,options:z(d.options)}}visitSequence(d,h){return{type:2,steps:d.steps.map(v=>X(this,v,h)),options:z(d.options)}}visitGroup(d,h){const v=h.currentTime;let $=0;const de=d.steps.map(De=>{h.currentTime=v;const Ae=X(this,De,h);return $=Math.max($,h.currentTime),Ae});return h.currentTime=$,{type:3,steps:de,options:z(d.options)}}visitAnimate(d,h){const v=function(B,d){let h=null;if(B.hasOwnProperty("duration"))h=B;else if("number"==typeof B)return S(x(B,d).duration,0,"");const v=B;if(v.split(/\s+/).some(de=>"{"==de.charAt(0)&&"{"==de.charAt(1))){const de=S(0,0,"");return de.dynamic=!0,de.strValue=v,de}return h=h||x(v,d),S(h.duration,h.delay,h.easing)}(d.timings,h.errors);h.currentAnimateTimings=v;let $,de=d.styles?d.styles:(0,m.oB)({});if(5==de.type)$=this.visitKeyframes(de,h);else{let De=d.styles,Ae=!1;if(!De){Ae=!0;const vt={};v.easing&&(vt.easing=v.easing),De=(0,m.oB)(vt)}h.currentTime+=v.duration+v.delay;const et=this.visitStyle(De,h);et.isEmptyStep=Ae,$=et}return h.currentAnimateTimings=null,{type:4,timings:v,style:$,options:null}}visitStyle(d,h){const v=this._makeStyleAst(d,h);return this._validateStyleAst(v,h),v}_makeStyleAst(d,h){const v=[];Array.isArray(d.styles)?d.styles.forEach(De=>{"string"==typeof De?De==m.l3?v.push(De):h.errors.push(`The provided style string value ${De} is not allowed.`):v.push(De)}):v.push(d.styles);let $=!1,de=null;return v.forEach(De=>{if(Ce(De)){const Ae=De,et=Ae.easing;if(et&&(de=et,delete Ae.easing),!$)for(let vt in Ae)if(Ae[vt].toString().indexOf("{{")>=0){$=!0;break}}}),{type:6,styles:v,easing:de,offset:d.offset,containsDynamicStyles:$,options:null}}_validateStyleAst(d,h){const v=h.currentAnimateTimings;let $=h.currentTime,de=h.currentTime;v&&de>0&&(de-=v.duration+v.delay),d.styles.forEach(De=>{"string"!=typeof De&&Object.keys(De).forEach(Ae=>{if(!this._driver.validateStyleProperty(Ae))return void h.errors.push(`The provided animation property "${Ae}" is not a supported CSS property for animations`);const et=h.collectedStyles[h.currentQuerySelector],vt=et[Ae];let Ft=!0;vt&&(de!=$&&de>=vt.startTime&&$<=vt.endTime&&(h.errors.push(`The CSS property "${Ae}" that exists between the times of "${vt.startTime}ms" and "${vt.endTime}ms" is also being animated in a parallel animation between the times of "${de}ms" and "${$}ms"`),Ft=!1),de=vt.startTime),Ft&&(et[Ae]={startTime:de,endTime:$}),h.options&&function(B,d,h){const v=d.params||{},$=ft(B);$.length&&$.forEach(de=>{v.hasOwnProperty(de)||h.push(`Unable to resolve the local animation param ${de} in the given list of values`)})}(De[Ae],h.options,h.errors)})})}visitKeyframes(d,h){const v={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push("keyframes() must be placed inside of a call to animate()"),v;let de=0;const De=[];let Ae=!1,et=!1,vt=0;const Ft=d.steps.map(On=>{const An=this._makeStyleAst(On,h);let si=null!=An.offset?An.offset:function(B){if("string"==typeof B)return null;let d=null;if(Array.isArray(B))B.forEach(h=>{if(Ce(h)&&h.hasOwnProperty("offset")){const v=h;d=parseFloat(v.offset),delete v.offset}});else if(Ce(B)&&B.hasOwnProperty("offset")){const h=B;d=parseFloat(h.offset),delete h.offset}return d}(An.styles),$n=0;return null!=si&&(de++,$n=An.offset=si),et=et||$n<0||$n>1,Ae=Ae||$n<vt,vt=$n,De.push($n),An});et&&h.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Ae&&h.errors.push("Please ensure that all keyframe offsets are in order");const Vt=d.steps.length;let nn=0;de>0&&de<Vt?h.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==de&&(nn=1/(Vt-1));const mn=Vt-1,Kt=h.currentTime,en=h.currentAnimateTimings,hn=en.duration;return Ft.forEach((On,An)=>{const si=nn>0?An==mn?1:nn*An:De[An],$n=si*hn;h.currentTime=Kt+en.delay+$n,en.duration=$n,this._validateStyleAst(On,h),On.offset=si,v.styles.push(On)}),v}visitReference(d,h){return{type:8,animation:X(this,Be(d.animation),h),options:z(d.options)}}visitAnimateChild(d,h){return h.depCount++,{type:9,options:z(d.options)}}visitAnimateRef(d,h){return{type:10,animation:this.visitReference(d.animation,h),options:z(d.options)}}visitQuery(d,h){const v=h.currentQuerySelector,$=d.options||{};h.queryCount++,h.currentQuery=d;const[de,De]=function(B){const d=!!B.split(/\s*,\s*/).find(h=>":self"==h);return d&&(B=B.replace(jt,"")),[B=B.replace(/@\*/g,Ot).replace(/@\w+/g,h=>Ot+"-"+h.substr(1)).replace(/:animating/g,ut),d]}(d.selector);h.currentQuerySelector=v.length?v+" "+de:de,H(h.collectedStyles,h.currentQuerySelector,{});const Ae=X(this,Be(d.animation),h);return h.currentQuery=null,h.currentQuerySelector=v,{type:11,selector:de,limit:$.limit||0,optional:!!$.optional,includeSelf:De,animation:Ae,originalSelector:d.selector,options:z(d.options)}}visitStagger(d,h){h.currentQuery||h.errors.push("stagger() can only be used inside of query()");const v="full"===d.timings?{duration:0,delay:0,easing:"full"}:x(d.timings,h.errors,!0);return{type:12,animation:X(this,Be(d.animation),h),timings:v,options:null}}}class N{constructor(d){this.errors=d,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 Ce(B){return!Array.isArray(B)&&"object"==typeof B}function z(B){return B?(B=se(B)).params&&(B.params=function(B){return B?se(B):null}(B.params)):B={},B}function S(B,d,h){return{duration:B,delay:d,easing:h}}function q(B,d,h,v,$,de,De=null,Ae=!1){return{type:1,element:B,keyframes:d,preStyleProps:h,postStyleProps:v,duration:$,delay:de,totalTime:$+de,easing:De,subTimeline:Ae}}class tt{constructor(){this._map=new Map}consume(d){let h=this._map.get(d);return h?this._map.delete(d):h=[],h}append(d,h){let v=this._map.get(d);v||this._map.set(d,v=[]),v.push(...h)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const dn=new RegExp(":enter","g"),an=new RegExp(":leave","g");function un(B,d,h,v,$,de={},De={},Ae,et,vt=[]){return(new wn).buildKeyframes(B,d,h,v,$,de,De,Ae,et,vt)}class wn{buildKeyframes(d,h,v,$,de,De,Ae,et,vt,Ft=[]){vt=vt||new tt;const Vt=new pt(d,h,vt,$,de,Ft,[]);Vt.options=et,Vt.currentTimeline.setStyles([De],null,Vt.errors,et),X(this,v,Vt);const nn=Vt.timelines.filter(mn=>mn.containsAnimation());if(nn.length&&Object.keys(Ae).length){const mn=nn[nn.length-1];mn.allowOnlyTimelineStyles()||mn.setStyles([Ae],null,Vt.errors,et)}return nn.length?nn.map(mn=>mn.buildKeyframes()):[q(h,[],[],[],0,0,"",!1)]}visitTrigger(d,h){}visitState(d,h){}visitTransition(d,h){}visitAnimateChild(d,h){const v=h.subInstructions.consume(h.element);if(v){const $=h.createSubContext(d.options),de=h.currentTimeline.currentTime,De=this._visitSubInstructions(v,$,$.options);de!=De&&h.transformIntoNewTimeline(De)}h.previousNode=d}visitAnimateRef(d,h){const v=h.createSubContext(d.options);v.transformIntoNewTimeline(),this.visitReference(d.animation,v),h.transformIntoNewTimeline(v.currentTimeline.currentTime),h.previousNode=d}_visitSubInstructions(d,h,v){let de=h.currentTimeline.currentTime;const De=null!=v.duration?R(v.duration):null,Ae=null!=v.delay?R(v.delay):null;return 0!==De&&d.forEach(et=>{const vt=h.appendInstructionToTimeline(et,De,Ae);de=Math.max(de,vt.duration+vt.delay)}),de}visitReference(d,h){h.updateOptions(d.options,!0),X(this,d.animation,h),h.previousNode=d}visitSequence(d,h){const v=h.subContextCount;let $=h;const de=d.options;if(de&&(de.params||de.delay)&&($=h.createSubContext(de),$.transformIntoNewTimeline(),null!=de.delay)){6==$.previousNode.type&&($.currentTimeline.snapshotCurrentStyles(),$.previousNode=yn);const De=R(de.delay);$.delayNextStep(De)}d.steps.length&&(d.steps.forEach(De=>X(this,De,$)),$.currentTimeline.applyStylesToKeyframe(),$.subContextCount>v&&$.transformIntoNewTimeline()),h.previousNode=d}visitGroup(d,h){const v=[];let $=h.currentTimeline.currentTime;const de=d.options&&d.options.delay?R(d.options.delay):0;d.steps.forEach(De=>{const Ae=h.createSubContext(d.options);de&&Ae.delayNextStep(de),X(this,De,Ae),$=Math.max($,Ae.currentTimeline.currentTime),v.push(Ae.currentTimeline)}),v.forEach(De=>h.currentTimeline.mergeTimelineCollectedStyles(De)),h.transformIntoNewTimeline($),h.previousNode=d}_visitTiming(d,h){if(d.dynamic){const v=d.strValue;return x(h.params?yt(v,h.params,h.errors):v,h.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,h){const v=h.currentAnimateTimings=this._visitTiming(d.timings,h),$=h.currentTimeline;v.delay&&(h.incrementTime(v.delay),$.snapshotCurrentStyles());const de=d.style;5==de.type?this.visitKeyframes(de,h):(h.incrementTime(v.duration),this.visitStyle(de,h),$.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=d}visitStyle(d,h){const v=h.currentTimeline,$=h.currentAnimateTimings;!$&&v.getCurrentStyleProperties().length&&v.forwardFrame();const de=$&&$.easing||d.easing;d.isEmptyStep?v.applyEmptyStep(de):v.setStyles(d.styles,de,h.errors,h.options),h.previousNode=d}visitKeyframes(d,h){const v=h.currentAnimateTimings,$=h.currentTimeline.duration,de=v.duration,Ae=h.createSubContext().currentTimeline;Ae.easing=v.easing,d.styles.forEach(et=>{Ae.forwardTime((et.offset||0)*de),Ae.setStyles(et.styles,et.easing,h.errors,h.options),Ae.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(Ae),h.transformIntoNewTimeline($+de),h.previousNode=d}visitQuery(d,h){const v=h.currentTimeline.currentTime,$=d.options||{},de=$.delay?R($.delay):0;de&&(6===h.previousNode.type||0==v&&h.currentTimeline.getCurrentStyleProperties().length)&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=yn);let De=v;const Ae=h.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!$.optional,h.errors);h.currentQueryTotal=Ae.length;let et=null;Ae.forEach((vt,Ft)=>{h.currentQueryIndex=Ft;const Vt=h.createSubContext(d.options,vt);de&&Vt.delayNextStep(de),vt===h.element&&(et=Vt.currentTimeline),X(this,d.animation,Vt),Vt.currentTimeline.applyStylesToKeyframe(),De=Math.max(De,Vt.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(De),et&&(h.currentTimeline.mergeTimelineCollectedStyles(et),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=d}visitStagger(d,h){const v=h.parentContext,$=h.currentTimeline,de=d.timings,De=Math.abs(de.duration),Ae=De*(h.currentQueryTotal-1);let et=De*h.currentQueryIndex;switch(de.duration<0?"reverse":de.easing){case"reverse":et=Ae-et;break;case"full":et=v.currentStaggerTime}const Ft=h.currentTimeline;et&&Ft.delayNextStep(et);const Vt=Ft.currentTime;X(this,d.animation,h),h.previousNode=d,v.currentStaggerTime=$.currentTime-Vt+($.startTime-v.currentTimeline.startTime)}}const yn={};class pt{constructor(d,h,v,$,de,De,Ae,et){this._driver=d,this.element=h,this.subInstructions=v,this._enterClassName=$,this._leaveClassName=de,this.errors=De,this.timelines=Ae,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=et||new Oe(this._driver,h,0),Ae.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,h){if(!d)return;const v=d;let $=this.options;null!=v.duration&&($.duration=R(v.duration)),null!=v.delay&&($.delay=R(v.delay));const de=v.params;if(de){let De=$.params;De||(De=this.options.params={}),Object.keys(de).forEach(Ae=>{(!h||!De.hasOwnProperty(Ae))&&(De[Ae]=yt(de[Ae],De,this.errors))})}}_copyOptions(){const d={};if(this.options){const h=this.options.params;if(h){const v=d.params={};Object.keys(h).forEach($=>{v[$]=h[$]})}}return d}createSubContext(d=null,h,v){const $=h||this.element,de=new pt(this._driver,$,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork($,v||0));return de.previousNode=this.previousNode,de.currentAnimateTimings=this.currentAnimateTimings,de.options=this._copyOptions(),de.updateOptions(d),de.currentQueryIndex=this.currentQueryIndex,de.currentQueryTotal=this.currentQueryTotal,de.parentContext=this,this.subContextCount++,de}transformIntoNewTimeline(d){return this.previousNode=yn,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,h,v){const $={duration:null!=h?h:d.duration,delay:this.currentTimeline.currentTime+(null!=v?v:0)+d.delay,easing:""},de=new Te(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,$,d.stretchStartingKeyframe);return this.timelines.push(de),$}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,h,v,$,de,De){let Ae=[];if($&&Ae.push(this.element),d.length>0){d=(d=d.replace(dn,"."+this._enterClassName)).replace(an,"."+this._leaveClassName);let vt=this._driver.query(this.element,d,1!=v);0!==v&&(vt=v<0?vt.slice(vt.length+v,vt.length):vt.slice(0,v)),Ae.push(...vt)}return!de&&0==Ae.length&&De.push(`\`query("${h}")\` returned zero elements. (Use \`query("${h}", { optional: true })\` if you wish to allow this.)`),Ae}}class Oe{constructor(d,h,v,$){this._driver=d,this.element=h,this.startTime=v,this._elementTimelineStylesLookup=$,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(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(d){const h=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||h?(this.forwardTime(this.currentTime+d),h&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,h){return this.applyStylesToKeyframe(),new Oe(this._driver,d,h||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,h){this._localTimelineStyles[d]=h,this._globalTimelineStyles[d]=h,this._styleSummary[d]={time:this.currentTime,value:h}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&(this._previousKeyframe.easing=d),Object.keys(this._globalTimelineStyles).forEach(h=>{this._backFill[h]=this._globalTimelineStyles[h]||m.l3,this._currentKeyframe[h]=m.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,h,v,$){h&&(this._previousKeyframe.easing=h);const de=$&&$.params||{},De=function(B,d){const h={};let v;return B.forEach($=>{"*"===$?(v=v||Object.keys(d),v.forEach(de=>{h[de]=m.l3})):Re($,!1,h)}),h}(d,this._globalTimelineStyles);Object.keys(De).forEach(Ae=>{const et=yt(De[Ae],de,v);this._pendingStyles[Ae]=et,this._localTimelineStyles.hasOwnProperty(Ae)||(this._backFill[Ae]=this._globalTimelineStyles.hasOwnProperty(Ae)?this._globalTimelineStyles[Ae]:m.l3),this._updateStyle(Ae,et)})}applyStylesToKeyframe(){const d=this._pendingStyles,h=Object.keys(d);0!=h.length&&(this._pendingStyles={},h.forEach(v=>{this._currentKeyframe[v]=d[v]}),Object.keys(this._localTimelineStyles).forEach(v=>{this._currentKeyframe.hasOwnProperty(v)||(this._currentKeyframe[v]=this._localTimelineStyles[v])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(d=>{const h=this._localTimelineStyles[d];this._pendingStyles[d]=h,this._updateStyle(d,h)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let h in this._currentKeyframe)d.push(h);return d}mergeTimelineCollectedStyles(d){Object.keys(d._styleSummary).forEach(h=>{const v=this._styleSummary[h],$=d._styleSummary[h];(!v||$.time>v.time)&&this._updateStyle(h,$.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,h=new Set,v=1===this._keyframes.size&&0===this.duration;let $=[];this._keyframes.forEach((Ae,et)=>{const vt=Re(Ae,!0);Object.keys(vt).forEach(Ft=>{const Vt=vt[Ft];Vt==m.k1?d.add(Ft):Vt==m.l3&&h.add(Ft)}),v||(vt.offset=et/this.duration),$.push(vt)});const de=d.size?We(d.values()):[],De=h.size?We(h.values()):[];if(v){const Ae=$[0],et=se(Ae);Ae.offset=0,et.offset=1,$=[Ae,et]}return q(this.element,$,de,De,this.duration,this.startTime,this.easing,!1)}}class Te extends Oe{constructor(d,h,v,$,de,De,Ae=!1){super(d,h,De.delay),this.keyframes=v,this.preStyleProps=$,this.postStyleProps=de,this._stretchStartingKeyframe=Ae,this.timings={duration:De.duration,delay:De.delay,easing:De.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:h,duration:v,easing:$}=this.timings;if(this._stretchStartingKeyframe&&h){const de=[],De=v+h,Ae=h/De,et=Re(d[0],!1);et.offset=0,de.push(et);const vt=Re(d[0],!1);vt.offset=Je(Ae),de.push(vt);const Ft=d.length-1;for(let Vt=1;Vt<=Ft;Vt++){let nn=Re(d[Vt],!1);nn.offset=Je((h+nn.offset*v)/De),de.push(nn)}v=De,h=0,$="",d=de}return q(this.element,d,this.preStyleProps,this.postStyleProps,v,h,$,!0)}}function Je(B,d=3){const h=Math.pow(10,d-1);return Math.round(B*h)/h}class Q{}class U extends Q{normalizePropertyName(d,h){return I(d)}normalizeStyleValue(d,h,v,$){let de="";const De=v.toString().trim();if(Ue[h]&&0!==v&&"0"!==v)if("number"==typeof v)de="px";else{const Ae=v.match(/^[+-]?[\d\.]+([a-z]*)$/);Ae&&0==Ae[1].length&&$.push(`Please provide a CSS unit value for ${d}:${v}`)}return De+de}}const Ue=(()=>function(B){const d={};return B.forEach(h=>d[h]=!0),d}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Dt(B,d,h,v,$,de,De,Ae,et,vt,Ft,Vt,nn){return{type:0,element:B,triggerName:d,isRemovalTransition:$,fromState:h,fromStyles:de,toState:v,toStyles:De,timelines:Ae,queriedElements:et,preStyleProps:vt,postStyleProps:Ft,totalTime:Vt,errors:nn}}const Me={};class Ie{constructor(d,h,v){this._triggerName=d,this.ast=h,this._stateStyles=v}match(d,h,v,$){return function(B,d,h,v,$){return B.some(de=>de(d,h,v,$))}(this.ast.matchers,d,h,v,$)}buildStyles(d,h,v){const $=this._stateStyles["*"],de=this._stateStyles[d],De=$?$.buildStyles(h,v):{};return de?de.buildStyles(h,v):De}build(d,h,v,$,de,De,Ae,et,vt,Ft){const Vt=[],nn=this.ast.options&&this.ast.options.params||Me,Kt=this.buildStyles(v,Ae&&Ae.params||Me,Vt),en=et&&et.params||Me,hn=this.buildStyles($,en,Vt),On=new Set,An=new Map,si=new Map,$n="void"===$,nr={params:Object.assign(Object.assign({},nn),en)},Oi=Ft?[]:un(d,h,this.ast.animation,de,De,Kt,hn,nr,vt,Vt);let ri=0;if(Oi.forEach(Ui=>{ri=Math.max(Ui.duration+Ui.delay,ri)}),Vt.length)return Dt(h,this._triggerName,v,$,$n,Kt,hn,[],[],An,si,ri,Vt);Oi.forEach(Ui=>{const Ei=Ui.element,Ls=H(An,Ei,{});Ui.preStyleProps.forEach(kn=>Ls[kn]=!0);const vo=H(si,Ei,{});Ui.postStyleProps.forEach(kn=>vo[kn]=!0),Ei!==h&&On.add(Ei)});const Hi=We(On.values());return Dt(h,this._triggerName,v,$,$n,Kt,hn,Oi,Hi,An,si,ri)}}class Fe{constructor(d,h,v){this.styles=d,this.defaultParams=h,this.normalizer=v}buildStyles(d,h){const v={},$=se(this.defaultParams);return Object.keys(d).forEach(de=>{const De=d[de];null!=De&&($[de]=De)}),this.styles.styles.forEach(de=>{if("string"!=typeof de){const De=de;Object.keys(De).forEach(Ae=>{let et=De[Ae];et.length>1&&(et=yt(et,$,h));const vt=this.normalizer.normalizePropertyName(Ae,h);et=this.normalizer.normalizeStyleValue(Ae,vt,et,h),v[vt]=et})}}),v}}class kt{constructor(d,h,v){this.name=d,this.ast=h,this._normalizer=v,this.transitionFactories=[],this.states={},h.states.forEach($=>{this.states[$.name]=new Fe($.style,$.options&&$.options.params||{},v)}),qt(this.states,"true","1"),qt(this.states,"false","0"),h.transitions.forEach($=>{this.transitionFactories.push(new Ie(d,$,this.states))}),this.fallbackTransition=function(B,d,h){return new Ie(B,{type:1,animation:{type:2,steps:[],options:null},matchers:[(De,Ae)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,h,v,$){return this.transitionFactories.find(De=>De.match(d,h,v,$))||null}matchStyles(d,h,v){return this.fallbackTransition.buildStyles(d,h,v)}}function qt(B,d,h){B.hasOwnProperty(d)?B.hasOwnProperty(h)||(B[h]=B[d]):B.hasOwnProperty(h)&&(B[d]=B[h])}const Wt=new tt;class Tn{constructor(d,h,v){this.bodyNode=d,this._driver=h,this._normalizer=v,this._animations={},this._playersById={},this.players=[]}register(d,h){const v=[],$=_n(this._driver,h,v);if(v.length)throw new Error(`Unable to build the animation due to the following errors: ${v.join("\n")}`);this._animations[d]=$}_buildPlayer(d,h,v){const $=d.element,de=Z(0,this._normalizer,0,d.keyframes,h,v);return this._driver.animate($,de,d.duration,d.delay,d.easing,[],!0)}create(d,h,v={}){const $=[],de=this._animations[d];let De;const Ae=new Map;if(de?(De=un(this._driver,h,de,lt,bt,{},{},v,Wt,$),De.forEach(Ft=>{const Vt=H(Ae,Ft.element,{});Ft.postStyleProps.forEach(nn=>Vt[nn]=null)})):($.push("The requested animation doesn't exist or has already been destroyed"),De=[]),$.length)throw new Error(`Unable to create the animation due to the following errors: ${$.join("\n")}`);Ae.forEach((Ft,Vt)=>{Object.keys(Ft).forEach(nn=>{Ft[nn]=this._driver.computeStyle(Vt,nn,m.l3)})});const vt=L(De.map(Ft=>{const Vt=Ae.get(Ft.element);return this._buildPlayer(Ft,{},Vt)}));return this._playersById[d]=vt,vt.onDestroy(()=>this.destroy(d)),this.players.push(vt),vt}destroy(d){const h=this._getPlayer(d);h.destroy(),delete this._playersById[d];const v=this.players.indexOf(h);v>=0&&this.players.splice(v,1)}_getPlayer(d){const h=this._playersById[d];if(!h)throw new Error(`Unable to find the timeline player referenced by ${d}`);return h}listen(d,h,v,$){const de=G(h,"","","");return k(this._getPlayer(d),v,de,$),()=>{}}command(d,h,v,$){if("register"==v)return void this.register(d,$[0]);if("create"==v)return void this.create(d,h,$[0]||{});const de=this._getPlayer(d);switch(v){case"play":de.play();break;case"pause":de.pause();break;case"reset":de.reset();break;case"restart":de.restart();break;case"finish":de.finish();break;case"init":de.init();break;case"setPosition":de.setPosition(parseFloat($[0]));break;case"destroy":this.destroy(d)}}}const gi="ng-animate-queued",li="ng-animate-disabled",qn=".ng-animate-disabled",Rn=[],Xi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ti={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class Ci{constructor(d,h=""){this.namespaceId=h;const v=d&&d.hasOwnProperty("value");if(this.value=null!=(B=v?d.value:d)?B:null,v){const de=se(d);delete de.value,this.options=de}else this.options={};var B;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(d){const h=d.params;if(h){const v=this.options.params;Object.keys(h).forEach($=>{null==v[$]&&(v[$]=h[$])})}}}const ci="void",ui=new Ci(ci);class ni{constructor(d,h,v){this.id=d,this.hostElement=h,this._engine=v,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,ii(h,this._hostClassName)}listen(d,h,v,$){if(!this._triggers.hasOwnProperty(h))throw new Error(`Unable to listen on the animation trigger event "${v}" because the animation trigger "${h}" doesn't exist!`);if(null==v||0==v.length)throw new Error(`Unable to listen on the animation trigger "${h}" because the provided event is undefined!`);if("start"!=(B=v)&&"done"!=B)throw new Error(`The provided animation trigger event "${v}" for the animation trigger "${h}" is not supported!`);var B;const de=H(this._elementListeners,d,[]),De={name:h,phase:v,callback:$};de.push(De);const Ae=H(this._engine.statesByElement,d,{});return Ae.hasOwnProperty(h)||(ii(d,ht),ii(d,ht+"-"+h),Ae[h]=ui),()=>{this._engine.afterFlush(()=>{const et=de.indexOf(De);et>=0&&de.splice(et,1),this._triggers[h]||delete Ae[h]})}}register(d,h){return!this._triggers[d]&&(this._triggers[d]=h,!0)}_getTrigger(d){const h=this._triggers[d];if(!h)throw new Error(`The provided animation trigger "${d}" has not been registered!`);return h}trigger(d,h,v,$=!0){const de=this._getTrigger(h),De=new Fr(this.id,h,d);let Ae=this._engine.statesByElement.get(d);Ae||(ii(d,ht),ii(d,ht+"-"+h),this._engine.statesByElement.set(d,Ae={}));let et=Ae[h];const vt=new Ci(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&et&&vt.absorbOptions(et.options),Ae[h]=vt,et||(et=ui),vt.value!==ci&&et.value===vt.value){if(!function(B,d){const h=Object.keys(B),v=Object.keys(d);if(h.length!=v.length)return!1;for(let $=0;$<h.length;$++){const de=h[$];if(!d.hasOwnProperty(de)||B[de]!==d[de])return!1}return!0}(et.params,vt.params)){const en=[],hn=de.matchStyles(et.value,et.params,en),On=de.matchStyles(vt.value,vt.params,en);en.length?this._engine.reportError(en):this._engine.afterFlush(()=>{Ve(d,hn),Ge(d,On)})}return}const nn=H(this._engine.playersByElement,d,[]);nn.forEach(en=>{en.namespaceId==this.id&&en.triggerName==h&&en.queued&&en.destroy()});let mn=de.matchTransition(et.value,vt.value,d,vt.params),Kt=!1;if(!mn){if(!$)return;mn=de.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:h,transition:mn,fromState:et,toState:vt,player:De,isFallbackTransition:Kt}),Kt||(ii(d,gi),De.onStart(()=>{Mi(d,gi)})),De.onDone(()=>{let en=this.players.indexOf(De);en>=0&&this.players.splice(en,1);const hn=this._engine.playersByElement.get(d);if(hn){let On=hn.indexOf(De);On>=0&&hn.splice(On,1)}}),this.players.push(De),nn.push(De),De}deregister(d){delete this._triggers[d],this._engine.statesByElement.forEach((h,v)=>{delete h[d]}),this._elementListeners.forEach((h,v)=>{this._elementListeners.set(v,h.filter($=>$.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const h=this._engine.playersByElement.get(d);h&&(h.forEach(v=>v.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,h){const v=this._engine.driver.query(d,Ot,!0);v.forEach($=>{if($[Cn])return;const de=this._engine.fetchNamespacesByElement($);de.size?de.forEach(De=>De.triggerLeaveAnimation($,h,!1,!0)):this.clearElementCache($)}),this._engine.afterFlushAnimationsDone(()=>v.forEach($=>this.clearElementCache($)))}triggerLeaveAnimation(d,h,v,$){const de=this._engine.statesByElement.get(d);if(de){const De=[];if(Object.keys(de).forEach(Ae=>{if(this._triggers[Ae]){const et=this.trigger(d,Ae,ci,$);et&&De.push(et)}}),De.length)return this._engine.markElementAsRemoved(this.id,d,!0,h),v&&L(De).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const h=this._elementListeners.get(d),v=this._engine.statesByElement.get(d);if(h&&v){const $=new Set;h.forEach(de=>{const De=de.name;if($.has(De))return;$.add(De);const et=this._triggers[De].fallbackTransition,vt=v[De]||ui,Ft=new Ci(ci),Vt=new Fr(this.id,De,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:De,transition:et,fromState:vt,toState:Ft,player:Vt,isFallbackTransition:!0})})}}removeNode(d,h){const v=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,h),this.triggerLeaveAnimation(d,h,!0))return;let $=!1;if(v.totalAnimations){const de=v.players.length?v.playersByQueriedElement.get(d):[];if(de&&de.length)$=!0;else{let De=d;for(;De=De.parentNode;)if(v.statesByElement.get(De)){$=!0;break}}}if(this.prepareLeaveAnimationListeners(d),$)v.markElementAsRemoved(this.id,d,!1,h);else{const de=d[Cn];(!de||de===Xi)&&(v.afterFlush(()=>this.clearElementCache(d)),v.destroyInnerAnimations(d),v._onRemovalComplete(d,h))}}insertNode(d,h){ii(d,this._hostClassName)}drainQueuedTransitions(d){const h=[];return this._queue.forEach(v=>{const $=v.player;if($.destroyed)return;const de=v.element,De=this._elementListeners.get(de);De&&De.forEach(Ae=>{if(Ae.name==v.triggerName){const et=G(de,v.triggerName,v.fromState.value,v.toState.value);et._data=d,k(v.player,Ae.phase,et,Ae.callback)}}),$.markedForDestroy?this._engine.afterFlush(()=>{$.destroy()}):h.push(v)}),this._queue=[],h.sort((v,$)=>{const de=v.transition.ast.depCount,De=$.transition.ast.depCount;return 0==de||0==De?de-De:this._engine.driver.containsElement(v.element,$.element)?1:-1})}destroy(d){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}elementContainsData(d){let h=!1;return this._elementListeners.has(d)&&(h=!0),h=!!this._queue.find(v=>v.element===d)||h,h}}class zn{constructor(d,h,v){this.bodyNode=d,this.driver=h,this._normalizer=v,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=($,de)=>{}}_onRemovalComplete(d,h){this.onRemovalComplete(d,h)}get queuedPlayers(){const d=[];return this._namespaceList.forEach(h=>{h.players.forEach(v=>{v.queued&&d.push(v)})}),d}createNamespace(d,h){const v=new ni(d,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(v,h):(this.newHostElements.set(h,v),this.collectEnterElement(h)),this._namespaceLookup[d]=v}_balanceNamespaceList(d,h){const v=this._namespaceList.length-1;if(v>=0){let $=!1;for(let de=v;de>=0;de--)if(this.driver.containsElement(this._namespaceList[de].hostElement,h)){this._namespaceList.splice(de+1,0,d),$=!0;break}$||this._namespaceList.splice(0,0,d)}else this._namespaceList.push(d);return this.namespacesByHostElement.set(h,d),d}register(d,h){let v=this._namespaceLookup[d];return v||(v=this.createNamespace(d,h)),v}registerTrigger(d,h,v){let $=this._namespaceLookup[d];$&&$.register(h,v)&&this.totalAnimations++}destroy(d,h){if(!d)return;const v=this._fetchNamespace(d);this.afterFlush(()=>{this.namespacesByHostElement.delete(v.hostElement),delete this._namespaceLookup[d];const $=this._namespaceList.indexOf(v);$>=0&&this._namespaceList.splice($,1)}),this.afterFlushAnimationsDone(()=>v.destroy(h))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const h=new Set,v=this.statesByElement.get(d);if(v){const $=Object.keys(v);for(let de=0;de<$.length;de++){const De=v[$[de]].namespaceId;if(De){const Ae=this._fetchNamespace(De);Ae&&h.add(Ae)}}}return h}trigger(d,h,v,$){if(gr(h)){const de=this._fetchNamespace(d);if(de)return de.trigger(h,v,$),!0}return!1}insertNode(d,h,v,$){if(!gr(h))return;const de=h[Cn];if(de&&de.setForRemoval){de.setForRemoval=!1,de.setForMove=!0;const De=this.collectedLeaveElements.indexOf(h);De>=0&&this.collectedLeaveElements.splice(De,1)}if(d){const De=this._fetchNamespace(d);De&&De.insertNode(h,v)}$&&this.collectEnterElement(h)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,h){h?this.disabledNodes.has(d)||(this.disabledNodes.add(d),ii(d,li)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Mi(d,li))}removeNode(d,h,v,$){if(gr(h)){const de=d?this._fetchNamespace(d):null;if(de?de.removeNode(h,$):this.markElementAsRemoved(d,h,!1,$),v){const De=this.namespacesByHostElement.get(h);De&&De.id!==d&&De.removeNode(h,$)}}else this._onRemovalComplete(h,$)}markElementAsRemoved(d,h,v,$){this.collectedLeaveElements.push(h),h[Cn]={namespaceId:d,setForRemoval:$,hasAnimation:v,removedBeforeQueried:!1}}listen(d,h,v,$,de){return gr(h)?this._fetchNamespace(d).listen(h,v,$,de):()=>{}}_buildInstruction(d,h,v,$,de){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,v,$,d.fromState.options,d.toState.options,h,de)}destroyInnerAnimations(d){let h=this.driver.query(d,Ot,!0);h.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(d,ut,!0),h.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(d){const h=this.playersByElement.get(d);h&&h.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(d){const h=this.playersByQueriedElement.get(d);h&&h.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return L(this.players).onDone(()=>d());d()})}processLeaveNode(d){const h=d[Cn];if(h&&h.setForRemoval){if(d[Cn]=Xi,h.namespaceId){this.destroyInnerAnimations(d);const v=this._fetchNamespace(h.namespaceId);v&&v.clearElementCache(d)}this._onRemovalComplete(d,h.setForRemoval)}this.driver.matchesElement(d,qn)&&this.markElementAsDisabled(d,!1),this.driver.query(d,qn,!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(d=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,$)=>this._balanceNamespaceList(v,$)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)ii(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{h=this._flushAnimations(v,d)}finally{for(let $=0;$<v.length;$++)v[$]()}}else for(let v=0;v<this.collectedLeaveElements.length;v++)this.processLeaveNode(this.collectedLeaveElements[v]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(v=>v()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],h.length?L(h).onDone(()=>{v.forEach($=>$())}):v.forEach($=>$())}}reportError(d){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${d.join("\n")}`)}_flushAnimations(d,h){const v=new tt,$=[],de=new Map,De=[],Ae=new Map,et=new Map,vt=new Map,Ft=new Set;this.disabledNodes.forEach(Bt=>{Ft.add(Bt);const Gt=this.driver.query(Bt,".ng-animate-queued",!0);for(let tn=0;tn<Gt.length;tn++)Ft.add(Gt[tn])});const Vt=this.bodyNode,nn=Array.from(this.statesByElement.keys()),mn=to(nn,this.collectedEnterElements),Kt=new Map;let en=0;mn.forEach((Bt,Gt)=>{const tn=lt+en++;Kt.set(Gt,tn),Bt.forEach(vn=>ii(vn,tn))});const hn=[],On=new Set,An=new Set;for(let Bt=0;Bt<this.collectedLeaveElements.length;Bt++){const Gt=this.collectedLeaveElements[Bt],tn=Gt[Cn];tn&&tn.setForRemoval&&(hn.push(Gt),On.add(Gt),tn.hasAnimation?this.driver.query(Gt,".ng-star-inserted",!0).forEach(vn=>On.add(vn)):An.add(Gt))}const si=new Map,$n=to(nn,Array.from(On));$n.forEach((Bt,Gt)=>{const tn=bt+en++;si.set(Gt,tn),Bt.forEach(vn=>ii(vn,tn))}),d.push(()=>{mn.forEach((Bt,Gt)=>{const tn=Kt.get(Gt);Bt.forEach(vn=>Mi(vn,tn))}),$n.forEach((Bt,Gt)=>{const tn=si.get(Gt);Bt.forEach(vn=>Mi(vn,tn))}),hn.forEach(Bt=>{this.processLeaveNode(Bt)})});const nr=[],Oi=[];for(let Bt=this._namespaceList.length-1;Bt>=0;Bt--)this._namespaceList[Bt].drainQueuedTransitions(h).forEach(tn=>{const vn=tn.player,Wn=tn.element;if(nr.push(vn),this.collectedEnterElements.length){const xi=Wn[Cn];if(xi&&xi.setForMove)return void vn.destroy()}const zi=!Vt||!this.driver.containsElement(Vt,Wn),oi=si.get(Wn),Ai=Kt.get(Wn),In=this._buildInstruction(tn,v,Ai,oi,zi);if(In.errors&&In.errors.length)Oi.push(In);else{if(zi)return vn.onStart(()=>Ve(Wn,In.fromStyles)),vn.onDestroy(()=>Ge(Wn,In.toStyles)),void $.push(vn);if(tn.isFallbackTransition)return vn.onStart(()=>Ve(Wn,In.fromStyles)),vn.onDestroy(()=>Ge(Wn,In.toStyles)),void $.push(vn);In.timelines.forEach(xi=>xi.stretchStartingKeyframe=!0),v.append(Wn,In.timelines),De.push({instruction:In,player:vn,element:Wn}),In.queriedElements.forEach(xi=>H(Ae,xi,[]).push(vn)),In.preStyleProps.forEach((xi,bo)=>{const Ri=Object.keys(xi);if(Ri.length){let Pi=et.get(bo);Pi||et.set(bo,Pi=new Set),Ri.forEach(Bs=>Pi.add(Bs))}}),In.postStyleProps.forEach((xi,bo)=>{const Ri=Object.keys(xi);let Pi=vt.get(bo);Pi||vt.set(bo,Pi=new Set),Ri.forEach(Bs=>Pi.add(Bs))})}});if(Oi.length){const Bt=[];Oi.forEach(Gt=>{Bt.push(`@${Gt.triggerName} has failed due to:\n`),Gt.errors.forEach(tn=>Bt.push(`- ${tn}\n`))}),nr.forEach(Gt=>Gt.destroy()),this.reportError(Bt)}const ri=new Map,Hi=new Map;De.forEach(Bt=>{const Gt=Bt.element;v.has(Gt)&&(Hi.set(Gt,Gt),this._beforeAnimationBuild(Bt.player.namespaceId,Bt.instruction,ri))}),$.forEach(Bt=>{const Gt=Bt.element;this._getPreviousPlayers(Gt,!1,Bt.namespaceId,Bt.triggerName,null).forEach(vn=>{H(ri,Gt,[]).push(vn),vn.destroy()})});const Ui=hn.filter(Bt=>jr(Bt,et,vt)),Ei=new Map;eo(Ei,this.driver,An,vt,m.l3).forEach(Bt=>{jr(Bt,et,vt)&&Ui.push(Bt)});const vo=new Map;mn.forEach((Bt,Gt)=>{eo(vo,this.driver,new Set(Bt),et,m.k1)}),Ui.forEach(Bt=>{const Gt=Ei.get(Bt),tn=vo.get(Bt);Ei.set(Bt,Object.assign(Object.assign({},Gt),tn))});const kn=[],ir=[],xn={};De.forEach(Bt=>{const{element:Gt,player:tn,instruction:vn}=Bt;if(v.has(Gt)){if(Ft.has(Gt))return tn.onDestroy(()=>Ge(Gt,vn.toStyles)),tn.disabled=!0,tn.overrideTotalTime(vn.totalTime),void $.push(tn);let Wn=xn;if(Hi.size>1){let oi=Gt;const Ai=[];for(;oi=oi.parentNode;){const In=Hi.get(oi);if(In){Wn=In;break}Ai.push(oi)}Ai.forEach(In=>Hi.set(In,Wn))}const zi=this._buildAnimation(tn.namespaceId,vn,ri,de,vo,Ei);if(tn.setRealPlayer(zi),Wn===xn)kn.push(tn);else{const oi=this.playersByElement.get(Wn);oi&&oi.length&&(tn.parentPlayer=L(oi)),$.push(tn)}}else Ve(Gt,vn.fromStyles),tn.onDestroy(()=>Ge(Gt,vn.toStyles)),ir.push(tn),Ft.has(Gt)&&$.push(tn)}),ir.forEach(Bt=>{const Gt=de.get(Bt.element);if(Gt&&Gt.length){const tn=L(Gt);Bt.setRealPlayer(tn)}}),$.forEach(Bt=>{Bt.parentPlayer?Bt.syncPlayerEvents(Bt.parentPlayer):Bt.destroy()});for(let Bt=0;Bt<hn.length;Bt++){const Gt=hn[Bt],tn=Gt[Cn];if(Mi(Gt,bt),tn&&tn.hasAnimation)continue;let vn=[];if(Ae.size){let zi=Ae.get(Gt);zi&&zi.length&&vn.push(...zi);let oi=this.driver.query(Gt,ut,!0);for(let Ai=0;Ai<oi.length;Ai++){let In=Ae.get(oi[Ai]);In&&In.length&&vn.push(...In)}}const Wn=vn.filter(zi=>!zi.destroyed);Wn.length?mo(this,Gt,Wn):this.processLeaveNode(Gt)}return hn.length=0,kn.forEach(Bt=>{this.players.push(Bt),Bt.onDone(()=>{Bt.destroy();const Gt=this.players.indexOf(Bt);this.players.splice(Gt,1)}),Bt.play()}),kn}elementContainsData(d,h){let v=!1;const $=h[Cn];return $&&$.setForRemoval&&(v=!0),this.playersByElement.has(h)&&(v=!0),this.playersByQueriedElement.has(h)&&(v=!0),this.statesByElement.has(h)&&(v=!0),this._fetchNamespace(d).elementContainsData(h)||v}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,h,v,$,de){let De=[];if(h){const Ae=this.playersByQueriedElement.get(d);Ae&&(De=Ae)}else{const Ae=this.playersByElement.get(d);if(Ae){const et=!de||de==ci;Ae.forEach(vt=>{vt.queued||!et&&vt.triggerName!=$||De.push(vt)})}}return(v||$)&&(De=De.filter(Ae=>!(v&&v!=Ae.namespaceId||$&&$!=Ae.triggerName))),De}_beforeAnimationBuild(d,h,v){const de=h.element,De=h.isRemovalTransition?void 0:d,Ae=h.isRemovalTransition?void 0:h.triggerName;for(const et of h.timelines){const vt=et.element,Ft=vt!==de,Vt=H(v,vt,[]);this._getPreviousPlayers(vt,Ft,De,Ae,h.toState).forEach(mn=>{const Kt=mn.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),mn.destroy(),Vt.push(mn)})}Ve(de,h.fromStyles)}_buildAnimation(d,h,v,$,de,De){const Ae=h.triggerName,et=h.element,vt=[],Ft=new Set,Vt=new Set,nn=h.timelines.map(Kt=>{const en=Kt.element;Ft.add(en);const hn=en[Cn];if(hn&&hn.removedBeforeQueried)return new m.ZN(Kt.duration,Kt.delay);const On=en!==et,An=function(B){const d=[];return _r(B,d),d}((v.get(en)||Rn).map(ri=>ri.getRealPlayer())).filter(ri=>!!ri.element&&ri.element===en),si=de.get(en),$n=De.get(en),nr=Z(0,this._normalizer,0,Kt.keyframes,si,$n),Oi=this._buildPlayer(Kt,nr,An);if(Kt.subTimeline&&$&&Vt.add(en),On){const ri=new Fr(d,Ae,en);ri.setRealPlayer(Oi),vt.push(ri)}return Oi});vt.forEach(Kt=>{H(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function(B,d,h){let v;if(B instanceof Map){if(v=B.get(d),v){if(v.length){const $=v.indexOf(h);v.splice($,1)}0==v.length&&B.delete(d)}}else if(v=B[d],v){if(v.length){const $=v.indexOf(h);v.splice($,1)}0==v.length&&delete B[d]}return v}(this.playersByQueriedElement,Kt.element,Kt))}),Ft.forEach(Kt=>ii(Kt,Ye));const mn=L(nn);return mn.onDestroy(()=>{Ft.forEach(Kt=>Mi(Kt,Ye)),Ge(et,h.toStyles)}),Vt.forEach(Kt=>{H($,Kt,[]).push(mn)}),mn}_buildPlayer(d,h,v){return h.length>0?this.driver.animate(d.element,h,d.duration,d.delay,d.easing,v):new m.ZN(d.duration,d.delay)}}class Fr{constructor(d,h,v){this.namespaceId=d,this.triggerName=h,this.element=v,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(d){this._containsRealPlayer||(this._player=d,Object.keys(this._queuedCallbacks).forEach(h=>{this._queuedCallbacks[h].forEach(v=>k(d,h,void 0,v))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const h=this._player;h.triggerCallback&&d.onStart(()=>h.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,h){H(this._queuedCallbacks,d,[]).push(h)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const h=this._player;h.triggerCallback&&h.triggerCallback(d)}}function gr(B){return B&&1===B.nodeType}function Nr(B,d){const h=B.style.display;return B.style.display=null!=d?d:"none",h}function eo(B,d,h,v,$){const de=[];h.forEach(et=>de.push(Nr(et)));const De=[];v.forEach((et,vt)=>{const Ft={};et.forEach(Vt=>{const nn=Ft[Vt]=d.computeStyle(vt,Vt,$);(!nn||0==nn.length)&&(vt[Cn]=ti,De.push(vt))}),B.set(vt,Ft)});let Ae=0;return h.forEach(et=>Nr(et,de[Ae++])),De}function to(B,d){const h=new Map;if(B.forEach(Ae=>h.set(Ae,[])),0==d.length)return h;const $=new Set(d),de=new Map;function De(Ae){if(!Ae)return 1;let et=de.get(Ae);if(et)return et;const vt=Ae.parentNode;return et=h.has(vt)?vt:$.has(vt)?1:De(vt),de.set(Ae,et),et}return d.forEach(Ae=>{const et=De(Ae);1!==et&&h.get(et).push(Ae)}),h}const Di="$$classes";function ii(B,d){if(B.classList)B.classList.add(d);else{let h=B[Di];h||(h=B[Di]={}),h[d]=!0}}function Mi(B,d){if(B.classList)B.classList.remove(d);else{let h=B[Di];h&&delete h[d]}}function mo(B,d,h){L(h).onDone(()=>B.processLeaveNode(d))}function _r(B,d){for(let h=0;h<B.length;h++){const v=B[h];v instanceof m.ZE?_r(v.players,d):d.push(v)}}function jr(B,d,h){const v=h.get(B);if(!v)return!1;let $=d.get(B);return $?v.forEach(de=>$.add(de)):d.set(B,v),h.delete(B),!0}class wi{constructor(d,h,v){this.bodyNode=d,this._driver=h,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=($,de)=>{},this._transitionEngine=new zn(d,h,v),this._timelineEngine=new Tn(d,h,v),this._transitionEngine.onRemovalComplete=($,de)=>this.onRemovalComplete($,de)}registerTrigger(d,h,v,$,de){const De=d+"-"+$;let Ae=this._triggerCache[De];if(!Ae){const et=[],vt=_n(this._driver,de,et);if(et.length)throw new Error(`The animation trigger "${$}" has failed to build due to the following errors:\n - ${et.join("\n - ")}`);Ae=function(B,d,h){return new kt(B,d,h)}($,vt,this._normalizer),this._triggerCache[De]=Ae}this._transitionEngine.registerTrigger(h,$,Ae)}register(d,h){this._transitionEngine.register(d,h)}destroy(d,h){this._transitionEngine.destroy(d,h)}onInsert(d,h,v,$){this._transitionEngine.insertNode(d,h,v,$)}onRemove(d,h,v,$){this._transitionEngine.removeNode(d,h,$||!1,v)}disableAnimations(d,h){this._transitionEngine.markElementAsDisabled(d,h)}process(d,h,v,$){if("@"==v.charAt(0)){const[de,De]=Y(v);this._timelineEngine.command(de,h,De,$)}else this._transitionEngine.trigger(d,h,v,$)}listen(d,h,v,$,de){if("@"==v.charAt(0)){const[De,Ae]=Y(v);return this._timelineEngine.listen(De,h,Ae,de)}return this._transitionEngine.listen(d,h,v,$,de)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Li(B,d){let h=null,v=null;return Array.isArray(d)&&d.length?(h=qi(d[0]),d.length>1&&(v=qi(d[d.length-1]))):d&&(h=qi(d)),h||v?new Br(B,h,v):null}let Br=(()=>{class B{constructor(h,v,$){this._element=h,this._startStyles=v,this._endStyles=$,this._state=0;let de=B.initialStylesByElement.get(h);de||B.initialStylesByElement.set(h,de={}),this._initialStyles=de}start(){this._state<1&&(this._startStyles&&Ge(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ge(this._element,this._initialStyles),this._endStyles&&(Ge(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(B.initialStylesByElement.delete(this._element),this._startStyles&&(Ve(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ve(this._element,this._endStyles),this._endStyles=null),Ge(this._element,this._initialStyles),this._state=3)}}return B.initialStylesByElement=new WeakMap,B})();function qi(B){let d=null;const h=Object.keys(B);for(let v=0;v<h.length;v++){const $=h[v];yr($)&&(d=d||{},d[$]=B[$])}return d}function yr(B){return"display"===B||"position"===B}const er="animation",Ti="animationend";class Vr{constructor(d,h,v,$,de,De,Ae){this._element=d,this._name=h,this._duration=v,this._delay=$,this._easing=de,this._fillMode=De,this._onDoneFn=Ae,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=et=>this._handleCallback(et)}apply(){(function(B,d){const h=Cr(B,"").trim();let v=0;h.length&&(function(B,d){let h=0;for(let v=0;v<B.length;v++)","===B.charAt(v)&&h++;return h}(h)+1,d=`${h}, ${d}`),Pn(B,"",d)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ur(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){tr(this._element,this._name,"paused")}resume(){tr(this._element,this._name,"running")}setPosition(d){const h=Hr(this._element,this._name);this._position=d*this._duration,Pn(this._element,"Delay",`-${this._position}ms`,h)}getPosition(){return this._position}_handleCallback(d){const h=d._ngTestManualTimestamp||Date.now(),v=1e3*parseFloat(d.elapsedTime.toFixed(3));d.animationName==this._name&&Math.max(h-this._startTime,0)>=this._delay&&v>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ur(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(B,d){const v=Cr(B,"").split(","),$=Ii(v,d);$>=0&&(v.splice($,1),Pn(B,"",v.join(",")))}(this._element,this._name))}}function tr(B,d,h){Pn(B,"PlayState",h,Hr(B,d))}function Hr(B,d){const h=Cr(B,"");return h.indexOf(",")>0?Ii(h.split(","),d):Ii([h],d)}function Ii(B,d){for(let h=0;h<B.length;h++)if(B[h].indexOf(d)>=0)return h;return-1}function Ur(B,d,h){h?B.removeEventListener(Ti,d):B.addEventListener(Ti,d)}function Pn(B,d,h,v){const $=er+d;if(null!=v){const de=B.style[$];if(de.length){const De=de.split(",");De[v]=h,h=De.join(",")}}B.style[$]=h}function Cr(B,d){return B.style[er+d]||""}class Mr{constructor(d,h,v,$,de,De,Ae,et){this.element=d,this.keyframes=h,this.animationName=v,this._duration=$,this._delay=de,this._finalStyles=Ae,this._specialStyles=et,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=De||"linear",this.totalTime=$+de,this._buildStyler()}onStart(d){this._onStartFns.push(d)}onDone(d){this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(d=>d()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(d=>d()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(d){this._styler.setPosition(d)}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 Vr(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(d){const h="start"==d?this._onStartFns:this._onDoneFns;h.forEach(v=>v()),h.length=0}beforeDestroy(){this.init();const d={};if(this.hasStarted()){const h=this._state>=3;Object.keys(this._finalStyles).forEach(v=>{"offset"!=v&&(d[v]=h?this._finalStyles[v]:Pe(this.element,v))})}this.currentSnapshot=d}}class go extends m.ZN{constructor(d,h){super(),this.element=d,this._startingStyles={},this.__initialized=!1,this._styles=te(h)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(d=>{this._startingStyles[d]=this.element.style[d]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(d=>this.element.style.setProperty(d,this._styles[d])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(d=>{const h=this._startingStyles[d];h?this.element.style.setProperty(d,h):this.element.style.removeProperty(d)}),this._startingStyles=null,super.destroy())}}class T{constructor(){this._count=0}validateStyleProperty(d){return we(d)}matchesElement(d,h){return le(d,h)}containsElement(d,h){return Xe(d,h)}query(d,h,v){return W(d,h,v)}computeStyle(d,h,v){return window.getComputedStyle(d)[h]}buildKeyframeElement(d,h,v){v=v.map(Ae=>te(Ae));let $=`@keyframes ${h} {\n`,de="";v.forEach(Ae=>{de=" ";const et=parseFloat(Ae.offset);$+=`${de}${100*et}% {\n`,de+=" ",Object.keys(Ae).forEach(vt=>{const Ft=Ae[vt];switch(vt){case"offset":return;case"easing":return void(Ft&&($+=`${de}animation-timing-function: ${Ft};\n`));default:return void($+=`${de}${vt}: ${Ft};\n`)}}),$+=`${de}}\n`}),$+="}\n";const De=document.createElement("style");return De.textContent=$,De}animate(d,h,v,$,de,De=[],Ae){const et=De.filter(hn=>hn instanceof Mr),vt={};oe(v,$)&&et.forEach(hn=>{let On=hn.currentSnapshot;Object.keys(On).forEach(An=>vt[An]=On[An])});const Ft=function(B){let d={};return B&&(Array.isArray(B)?B:[B]).forEach(v=>{Object.keys(v).forEach($=>{"offset"==$||"easing"==$||(d[$]=v[$])})}),d}(h=F(d,h,vt));if(0==v)return new go(d,Ft);const Vt="gen_css_kf_"+this._count++,nn=this.buildKeyframeElement(d,Vt,h);(function(B){var d;const h=null===(d=B.getRootNode)||void 0===d?void 0:d.call(B);return"undefined"!=typeof ShadowRoot&&h instanceof ShadowRoot?h:document.head})(d).appendChild(nn);const Kt=Li(d,h),en=new Mr(d,h,Vt,v,$,de,Ft,Kt);return en.onDestroy(()=>{var B;(B=nn).parentNode.removeChild(B)}),en}}class It{constructor(d,h,v,$){this.element=d,this.keyframes=h,this.options=v,this._specialStyles=$,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=v.duration,this._delay=v.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(d,h,v){return d.animate(h,v)}onStart(d){this._onStartFns.push(d)}onDone(d){this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),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(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(h=>{"offset"!=h&&(d[h]=this._finished?this._finalKeyframe[h]:Pe(this.element,h))}),this.currentSnapshot=d}triggerCallback(d){const h="start"==d?this._onStartFns:this._onDoneFns;h.forEach(v=>v()),h.length=0}}class Jt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(rn().toString()),this._cssKeyframesDriver=new T}validateStyleProperty(d){return we(d)}matchesElement(d,h){return le(d,h)}containsElement(d,h){return Xe(d,h)}query(d,h,v){return W(d,h,v)}computeStyle(d,h,v){return window.getComputedStyle(d)[h]}overrideWebAnimationsSupport(d){this._isNativeImpl=d}animate(d,h,v,$,de,De=[],Ae){if(!Ae&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(d,h,v,$,de,De);const Ft={duration:v,delay:$,fill:0==$?"both":"forwards"};de&&(Ft.easing=de);const Vt={},nn=De.filter(Kt=>Kt instanceof It);oe(v,$)&&nn.forEach(Kt=>{let en=Kt.currentSnapshot;Object.keys(en).forEach(hn=>Vt[hn]=en[hn])});const mn=Li(d,h=F(d,h=h.map(Kt=>Re(Kt,!1)),Vt));return new It(d,h,Ft,mn)}}function rn(){return C()&&Element.prototype.animate||{}}var bn=f(8583);let Mn=(()=>{class B extends m._j{constructor(h,v){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(v.body,{id:"0",encapsulation:s.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(h){const v=this._nextAnimationId.toString();this._nextAnimationId++;const $=Array.isArray(h)?(0,m.vP)(h):h;return Gn(this._renderer,null,v,"register",[$]),new Ln(v,this._renderer)}}return B.\u0275fac=function(h){return new(h||B)(s.\u0275\u0275inject(s.RendererFactory2),s.\u0275\u0275inject(bn.DOCUMENT))},B.\u0275prov=s.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();class Ln extends m.LC{constructor(d,h){super(),this._id=d,this._renderer=h}create(d,h){return new zr(this._id,d,h||{},this._renderer)}}class zr{constructor(d,h,v,$){this.id=d,this.element=h,this._renderer=$,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(d,h){return this._renderer.listen(this.element,`@@${this.id}:${d}`,h)}_command(d,...h){return Gn(this._renderer,this.element,this.id,d,h)}onDone(d){this._listen("done",d)}onStart(d){this._listen("start",d)}onDestroy(d){this._listen("destroy",d)}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(d){this._command("setPosition",d)}getPosition(){var d,h;return null!==(h=null===(d=this._renderer.engine.players[+this.id])||void 0===d?void 0:d.getPosition())&&void 0!==h?h:0}}function Gn(B,d,h,v,$){return B.setProperty(d,`@@${h}:${v}`,$)}const Si="@.disabled";let Yt=(()=>{class B{constructor(h,v,$){this.delegate=h,this.engine=v,this._zone=$,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),v.onRemovalComplete=(de,De)=>{De&&De.parentNode(de)&&De.removeChild(de.parentNode,de)}}createRenderer(h,v){const de=this.delegate.createRenderer(h,v);if(!(h&&v&&v.data&&v.data.animation)){let Ft=this._rendererCache.get(de);return Ft||(Ft=new io("",de,this.engine),this._rendererCache.set(de,Ft)),Ft}const De=v.id,Ae=v.id+"-"+this._currentId;this._currentId++,this.engine.register(Ae,h);const et=Ft=>{Array.isArray(Ft)?Ft.forEach(et):this.engine.registerTrigger(De,Ae,h,Ft.name,Ft)};return v.data.animation.forEach(et),new _o(this,Ae,de,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(h,v,$){h>=0&&h<this._microtaskId?this._zone.run(()=>v($)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(de=>{const[De,Ae]=de;De(Ae)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,$]))}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 B.\u0275fac=function(h){return new(h||B)(s.\u0275\u0275inject(s.RendererFactory2),s.\u0275\u0275inject(wi),s.\u0275\u0275inject(s.NgZone))},B.\u0275prov=s.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();class io{constructor(d,h,v){this.namespaceId=d,this.delegate=h,this.engine=v,this.destroyNode=this.delegate.destroyNode?$=>h.destroyNode($):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(d,h){return this.delegate.createElement(d,h)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,h){this.delegate.appendChild(d,h),this.engine.onInsert(this.namespaceId,h,d,!1)}insertBefore(d,h,v,$=!0){this.delegate.insertBefore(d,h,v),this.engine.onInsert(this.namespaceId,h,d,$)}removeChild(d,h,v){this.engine.onRemove(this.namespaceId,h,this.delegate,v)}selectRootElement(d,h){return this.delegate.selectRootElement(d,h)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,h,v,$){this.delegate.setAttribute(d,h,v,$)}removeAttribute(d,h,v){this.delegate.removeAttribute(d,h,v)}addClass(d,h){this.delegate.addClass(d,h)}removeClass(d,h){this.delegate.removeClass(d,h)}setStyle(d,h,v,$){this.delegate.setStyle(d,h,v,$)}removeStyle(d,h,v){this.delegate.removeStyle(d,h,v)}setProperty(d,h,v){"@"==h.charAt(0)&&h==Si?this.disableAnimations(d,!!v):this.delegate.setProperty(d,h,v)}setValue(d,h){this.delegate.setValue(d,h)}listen(d,h,v){return this.delegate.listen(d,h,v)}disableAnimations(d,h){this.engine.disableAnimations(d,h)}}class _o extends io{constructor(d,h,v,$){super(h,v,$),this.factory=d,this.namespaceId=h}setProperty(d,h,v){"@"==h.charAt(0)?"."==h.charAt(1)&&h==Si?this.disableAnimations(d,v=void 0===v||!!v):this.engine.process(this.namespaceId,d,h.substr(1),v):this.delegate.setProperty(d,h,v)}listen(d,h,v){if("@"==h.charAt(0)){const $=function(B){switch(B){case"body":return document.body;case"document":return document;case"window":return window;default:return B}}(d);let de=h.substr(1),De="";return"@"!=de.charAt(0)&&([de,De]=function(B){const d=B.indexOf(".");return[B.substring(0,d),B.substr(d+1)]}(de)),this.engine.listen(this.namespaceId,$,de,De,Ae=>{this.factory.scheduleListenerCallback(Ae._data||-1,v,Ae)})}return this.delegate.listen(d,h,v)}}let Ps=(()=>{class B extends wi{constructor(h,v,$){super(h.body,v,$)}ngOnDestroy(){this.flush()}}return B.\u0275fac=function(h){return new(h||B)(s.\u0275\u0275inject(bn.DOCUMENT),s.\u0275\u0275inject(ae),s.\u0275\u0275inject(Q))},B.\u0275prov=s.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();function Fs(){return"function"==typeof rn()?new Jt:new T}function ks(){return new U}function Tt(B,d,h){return new Yt(B,d,h)}const pn=new s.InjectionToken("AnimationModuleType"),Ns=[{provide:m._j,useClass:Mn},{provide:Q,useFactory:ks},{provide:wi,useClass:Ps},{provide:s.RendererFactory2,useFactory:Tt,deps:[c.\u0275DomRendererFactory2,wi,s.NgZone]}],Fn=[{provide:ae,useFactory:Fs},{provide:pn,useValue:"BrowserAnimations"},...Ns],ko=[{provide:ae,useClass:fe},{provide:pn,useValue:"NoopAnimations"},...Ns];let yo=(()=>{class B{static withConfig(h){return{ngModule:B,providers:h.disableAnimations?ko:Fn}}}return B.\u0275fac=function(h){return new(h||B)},B.\u0275mod=s.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=s.\u0275\u0275defineInjector({providers:Fn,imports:[c.BrowserModule]}),B})(),Vi=(()=>{class B{}return B.\u0275fac=function(h){return new(h||B)},B.\u0275mod=s.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=s.\u0275\u0275defineInjector({providers:ko,imports:[c.BrowserModule]}),B})()},9075:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{\u0275getDOM:()=>s.\u0275getDOM,BrowserModule:()=>tt,BrowserTransferStateModule:()=>ye,By:()=>Ue,DomSanitizer:()=>jt,EVENT_MANAGER_PLUGINS:()=>fe,EventManager:()=>ae,HAMMER_GESTURE_CONFIG:()=>ze,HAMMER_LOADER:()=>ft,HammerGestureConfig:()=>yt,HammerModule:()=>oe,Meta:()=>Ht,Title:()=>an,TransferState:()=>ve,VERSION:()=>Dt,disableDebugTools:()=>Je,enableDebugTools:()=>Te,makeStateKey:()=>Q,platformBrowser:()=>S,\u0275BROWSER_SANITIZATION_PROVIDERS:()=>z,\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__:()=>V,\u0275BrowserDomAdapter:()=>C,\u0275BrowserGetTestability:()=>Y,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>se,\u0275DomSanitizerImpl:()=>Ke,\u0275DomSharedStylesHost:()=>rt,\u0275ELEMENT_PROBE_PROVIDERS:()=>te,\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__:()=>Xe,\u0275HAMMER_PROVIDERS__POST_R3__:()=>D,\u0275HammerGesturesPlugin:()=>We,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ee,\u0275KeyEventsPlugin:()=>At,\u0275NAMESPACE_URIS:()=>bt,\u0275SharedStylesHost:()=>xe,\u0275TRANSITION_ID:()=>M,\u0275angular_packages_platform_browser_platform_browser_a:()=>O,\u0275angular_packages_platform_browser_platform_browser_b:()=>j,\u0275angular_packages_platform_browser_platform_browser_c:()=>q,\u0275angular_packages_platform_browser_platform_browser_d:()=>gt,\u0275angular_packages_platform_browser_platform_browser_e:()=>cn,\u0275angular_packages_platform_browser_platform_browser_f:()=>U,\u0275angular_packages_platform_browser_platform_browser_g:()=>Ne,\u0275angular_packages_platform_browser_platform_browser_h:()=>I,\u0275angular_packages_platform_browser_platform_browser_i:()=>w,\u0275angular_packages_platform_browser_platform_browser_j:()=>_n,\u0275angular_packages_platform_browser_platform_browser_k:()=>G,\u0275angular_packages_platform_browser_platform_browser_l:()=>H,\u0275angular_packages_platform_browser_platform_browser_m:()=>je,\u0275angular_packages_platform_browser_platform_browser_n:()=>W,\u0275angular_packages_platform_browser_platform_browser_o:()=>ce,\u0275angular_packages_platform_browser_platform_browser_p:()=>m,\u0275escapeHtml:()=>dt,\u0275flattenStyles:()=>ee,\u0275initDomAdapter:()=>St,\u0275shimContentAttribute:()=>ut,\u0275shimHostAttribute:()=>R});var s=f(8583),c=f(7716);class m extends s.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class C extends m{static makeCurrent(){(0,s.\u0275setRootDomAdapter)(new C)}onAndCancel(Ie,ue,Fe){return Ie.addEventListener(ue,Fe,!1),()=>{Ie.removeEventListener(ue,Fe,!1)}}dispatchEvent(Ie,ue){Ie.dispatchEvent(ue)}remove(Ie){Ie.parentNode&&Ie.parentNode.removeChild(Ie)}createElement(Ie,ue){return(ue=ue||this.getDefaultDocument()).createElement(Ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ie){return Ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ie){return Ie instanceof DocumentFragment}getGlobalEventTarget(Ie,ue){return"window"===ue?window:"document"===ue?Ie:"body"===ue?Ie.body:null}getBaseHref(Ie){const ue=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==ue?null:function(Me){Z=Z||document.createElement("a"),Z.setAttribute("href",Me);const Ie=Z.pathname;return"/"===Ie.charAt(0)?Ie:`/${Ie}`}(ue)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ie){return(0,s.\u0275parseCookieValue)(document.cookie,Ie)}}let Z,l=null;const M=new c.InjectionToken("TRANSITION_ID");function G(Me,Ie,ue){return()=>{ue.get(c.ApplicationInitStatus).donePromise.then(()=>{const Fe=(0,s.\u0275getDOM)(),ot=Ie.querySelectorAll(`style[ng-transition="${Me}"]`);for(let kt=0;kt<ot.length;kt++)Fe.remove(ot[kt])})}}const H=[{provide:c.APP_INITIALIZER,useFactory:G,deps:[M,s.DOCUMENT,c.Injector],multi:!0}];class Y{static init(){(0,c.setTestabilityGetter)(new Y)}addToWindow(Ie){c.\u0275global.getAngularTestability=(Fe,ot=!0)=>{const kt=Ie.findTestabilityInTree(Fe,ot);if(null==kt)throw new Error("Could not find testability for element.");return kt},c.\u0275global.getAllAngularTestabilities=()=>Ie.getAllTestabilities(),c.\u0275global.getAllAngularRootElements=()=>Ie.getAllRootElements(),c.\u0275global.frameworkStabilizers||(c.\u0275global.frameworkStabilizers=[]),c.\u0275global.frameworkStabilizers.push(Fe=>{const ot=c.\u0275global.getAllAngularTestabilities();let kt=ot.length,Ut=!1;const qt=function(Wt){Ut=Ut||Wt,kt--,0==kt&&Fe(Ut)};ot.forEach(function(Wt){Wt.whenStable(qt)})})}findTestabilityInTree(Ie,ue,Fe){if(null==ue)return null;const ot=Ie.getTestability(ue);return null!=ot?ot:Fe?(0,s.\u0275getDOM)().isShadowRoot(ue)?this.findTestabilityInTree(Ie,ue.host,!0):this.findTestabilityInTree(Ie,ue.parentElement,!0):null}}let ce=(()=>{class Me{build(){return new XMLHttpRequest}}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();function Le(Me,Ie){"undefined"!=typeof COMPILED&&COMPILED||((c.\u0275global.ng=c.\u0275global.ng||{})[Me]=Ie)}const Mt=(()=>({ApplicationRef:c.ApplicationRef,NgZone:c.NgZone}))();function we(Me){return(0,c.\u0275getDebugNodeR2)(Me)}function je(Me){return Le("probe",we),Le("coreTokens",Object.assign(Object.assign({},Mt),function(Me){return Me.reduce((Ie,ue)=>(Ie[ue.name]=ue.token,Ie),{})}(Me||[]))),()=>we}const Xe=[],W=[{provide:c.APP_INITIALIZER,useFactory:je,deps:[[c.NgProbeToken,new c.Optional]],multi:!0}],te=Xe,fe=new c.InjectionToken("EventManagerPlugins");let ae=(()=>{class Me{constructor(ue,Fe){this._zone=Fe,this._eventNameToPlugin=new Map,ue.forEach(ot=>ot.manager=this),this._plugins=ue.slice().reverse()}addEventListener(ue,Fe,ot){return this._findPluginFor(Fe).addEventListener(ue,Fe,ot)}addGlobalEventListener(ue,Fe,ot){return this._findPluginFor(Fe).addGlobalEventListener(ue,Fe,ot)}getZone(){return this._zone}_findPluginFor(ue){const Fe=this._eventNameToPlugin.get(ue);if(Fe)return Fe;const ot=this._plugins;for(let kt=0;kt<ot.length;kt++){const Ut=ot[kt];if(Ut.supports(ue))return this._eventNameToPlugin.set(ue,Ut),Ut}throw new Error(`No event manager plugin found for event ${ue}`)}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(fe),c.\u0275\u0275inject(c.NgZone))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();class Ne{constructor(Ie){this._doc=Ie}addGlobalEventListener(Ie,ue,Fe){const ot=(0,s.\u0275getDOM)().getGlobalEventTarget(this._doc,Ie);if(!ot)throw new Error(`Unsupported event target ${ot} for event ${ue}`);return this.addEventListener(ot,ue,Fe)}}let xe=(()=>{class Me{constructor(){this._stylesSet=new Set}addStyles(ue){const Fe=new Set;ue.forEach(ot=>{this._stylesSet.has(ot)||(this._stylesSet.add(ot),Fe.add(ot))}),this.onStylesAdded(Fe)}onStylesAdded(ue){}getAllStyles(){return Array.from(this._stylesSet)}}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})(),rt=(()=>{class Me extends xe{constructor(ue){super(),this._doc=ue,this._hostNodes=new Map,this._hostNodes.set(ue.head,[])}_addStylesToHost(ue,Fe,ot){ue.forEach(kt=>{const Ut=this._doc.createElement("style");Ut.textContent=kt,ot.push(Fe.appendChild(Ut))})}addHost(ue){const Fe=[];this._addStylesToHost(this._stylesSet,ue,Fe),this._hostNodes.set(ue,Fe)}removeHost(ue){const Fe=this._hostNodes.get(ue);Fe&&Fe.forEach(lt),this._hostNodes.delete(ue)}onStylesAdded(ue){this._hostNodes.forEach((Fe,ot)=>{this._addStylesToHost(ue,ot,Fe)})}ngOnDestroy(){this._hostNodes.forEach(ue=>ue.forEach(lt))}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();function lt(Me){(0,s.\u0275getDOM)().remove(Me)}const bt={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/"},ke=/%COMP%/g;function ut(Me){return"_ngcontent-%COMP%".replace(ke,Me)}function R(Me){return"_nghost-%COMP%".replace(ke,Me)}function ee(Me,Ie,ue){for(let Fe=0;Fe<Ie.length;Fe++){let ot=Ie[Fe];Array.isArray(ot)?ee(Me,ot,ue):(ot=ot.replace(ke,Me),ue.push(ot))}return ue}function x(Me){return Ie=>{if("__ngUnwrap__"===Ie)return Me;!1===Me(Ie)&&(Ie.preventDefault(),Ie.returnValue=!1)}}let se=(()=>{class Me{constructor(ue,Fe,ot){this.eventManager=ue,this.sharedStylesHost=Fe,this.appId=ot,this.rendererByCompId=new Map,this.defaultRenderer=new me(ue)}createRenderer(ue,Fe){if(!ue||!Fe)return this.defaultRenderer;switch(Fe.encapsulation){case c.ViewEncapsulation.Emulated:{let ot=this.rendererByCompId.get(Fe.id);return ot||(ot=new Ge(this.eventManager,this.sharedStylesHost,Fe,this.appId),this.rendererByCompId.set(Fe.id,ot)),ot.applyToHost(ue),ot}case 1:case c.ViewEncapsulation.ShadowDom:return new Ve(this.eventManager,this.sharedStylesHost,ue,Fe);default:if(!this.rendererByCompId.has(Fe.id)){const ot=ee(Fe.id,Fe.styles,[]);this.sharedStylesHost.addStyles(ot),this.rendererByCompId.set(Fe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(ae),c.\u0275\u0275inject(rt),c.\u0275\u0275inject(c.APP_ID))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();class me{constructor(Ie){this.eventManager=Ie,this.data=Object.create(null)}destroy(){}createElement(Ie,ue){return ue?document.createElementNS(bt[ue]||ue,Ie):document.createElement(Ie)}createComment(Ie){return document.createComment(Ie)}createText(Ie){return document.createTextNode(Ie)}appendChild(Ie,ue){Ie.appendChild(ue)}insertBefore(Ie,ue,Fe){Ie&&Ie.insertBefore(ue,Fe)}removeChild(Ie,ue){Ie&&Ie.removeChild(ue)}selectRootElement(Ie,ue){let Fe="string"==typeof Ie?document.querySelector(Ie):Ie;if(!Fe)throw new Error(`The selector "${Ie}" did not match any elements`);return ue||(Fe.textContent=""),Fe}parentNode(Ie){return Ie.parentNode}nextSibling(Ie){return Ie.nextSibling}setAttribute(Ie,ue,Fe,ot){if(ot){ue=ot+":"+ue;const kt=bt[ot];kt?Ie.setAttributeNS(kt,ue,Fe):Ie.setAttribute(ue,Fe)}else Ie.setAttribute(ue,Fe)}removeAttribute(Ie,ue,Fe){if(Fe){const ot=bt[Fe];ot?Ie.removeAttributeNS(ot,ue):Ie.removeAttribute(`${Fe}:${ue}`)}else Ie.removeAttribute(ue)}addClass(Ie,ue){Ie.classList.add(ue)}removeClass(Ie,ue){Ie.classList.remove(ue)}setStyle(Ie,ue,Fe,ot){ot&(c.RendererStyleFlags2.DashCase|c.RendererStyleFlags2.Important)?Ie.style.setProperty(ue,Fe,ot&c.RendererStyleFlags2.Important?"important":""):Ie.style[ue]=Fe}removeStyle(Ie,ue,Fe){Fe&c.RendererStyleFlags2.DashCase?Ie.style.removeProperty(ue):Ie.style[ue]=""}setProperty(Ie,ue,Fe){Ie[ue]=Fe}setValue(Ie,ue){Ie.nodeValue=ue}listen(Ie,ue,Fe){return"string"==typeof Ie?this.eventManager.addGlobalEventListener(Ie,ue,x(Fe)):this.eventManager.addEventListener(Ie,ue,x(Fe))}}class Ge extends me{constructor(Ie,ue,Fe,ot){super(Ie),this.component=Fe;const kt=ee(ot+"-"+Fe.id,Fe.styles,[]);ue.addStyles(kt),this.contentAttr=ut(ot+"-"+Fe.id),this.hostAttr=R(ot+"-"+Fe.id)}applyToHost(Ie){super.setAttribute(Ie,this.hostAttr,"")}createElement(Ie,ue){const Fe=super.createElement(Ie,ue);return super.setAttribute(Fe,this.contentAttr,""),Fe}}class Ve extends me{constructor(Ie,ue,Fe,ot){super(Ie),this.sharedStylesHost=ue,this.hostEl=Fe,this.shadowRoot=Fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kt=ee(ot.id,ot.styles,[]);for(let Ut=0;Ut<kt.length;Ut++){const qt=document.createElement("style");qt.textContent=kt[Ut],this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(Ie){return Ie===this.hostEl?this.shadowRoot:Ie}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ie,ue){return super.appendChild(this.nodeOrShadowRoot(Ie),ue)}insertBefore(Ie,ue,Fe){return super.insertBefore(this.nodeOrShadowRoot(Ie),ue,Fe)}removeChild(Ie,ue){return super.removeChild(this.nodeOrShadowRoot(Ie),ue)}parentNode(Ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ie)))}}let Be=(()=>{class Me extends Ne{constructor(ue){super(ue)}supports(ue){return!0}addEventListener(ue,Fe,ot){return ue.addEventListener(Fe,ot,!1),()=>this.removeEventListener(ue,Fe,ot)}removeEventListener(ue,Fe,ot){return ue.removeEventListener(Fe,ot)}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();const K={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ze=new c.InjectionToken("HammerGestureConfig"),ft=new c.InjectionToken("HammerLoader");let yt=(()=>{class Me{constructor(){this.events=[],this.overrides={}}buildHammer(ue){const Fe=new Hammer(ue,this.options);Fe.get("pinch").set({enable:!0}),Fe.get("rotate").set({enable:!0});for(const ot in this.overrides)Fe.get(ot).set(this.overrides[ot]);return Fe}}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})(),We=(()=>{class Me extends Ne{constructor(ue,Fe,ot,kt){super(ue),this._config=Fe,this.console=ot,this.loader=kt,this._loaderPromise=null}supports(ue){return!(!K.hasOwnProperty(ue.toLowerCase())&&!this.isCustomEvent(ue)||!window.Hammer&&!this.loader)}addEventListener(ue,Fe,ot){const kt=this.manager.getZone();if(Fe=Fe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Ut=!1,qt=()=>{Ut=!0};return this._loaderPromise.then(()=>{window.Hammer?Ut||(qt=this.addEventListener(ue,Fe,ot)):qt=()=>{}}).catch(()=>{qt=()=>{}}),()=>{qt()}}return kt.runOutsideAngular(()=>{const Ut=this._config.buildHammer(ue),qt=function(Wt){kt.runGuarded(function(){ot(Wt)})};return Ut.on(Fe,qt),()=>{Ut.off(Fe,qt),"function"==typeof Ut.destroy&&Ut.destroy()}})}isCustomEvent(ue){return this._config.events.indexOf(ue)>-1}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT),c.\u0275\u0275inject(ze),c.\u0275\u0275inject(c.\u0275Console),c.\u0275\u0275inject(ft,8))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();const D=[],I=[{provide:fe,useClass:We,multi:!0,deps:[s.DOCUMENT,ze,c.\u0275Console,[new c.Optional,ft]]},{provide:ze,useClass:yt,deps:[]}],w=D;let oe=(()=>{class Me{}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275mod=c.\u0275\u0275defineNgModule({type:Me}),Me.\u0275inj=c.\u0275\u0275defineInjector({providers:I}),Me})();const F=["alt","control","meta","shift"],Pe={"\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"},mt={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"},Qt={alt:Me=>Me.altKey,control:Me=>Me.ctrlKey,meta:Me=>Me.metaKey,shift:Me=>Me.shiftKey};let At=(()=>{class Me extends Ne{constructor(ue){super(ue)}supports(ue){return null!=Me.parseEventName(ue)}addEventListener(ue,Fe,ot){const kt=Me.parseEventName(Fe),Ut=Me.eventCallback(kt.fullKey,ot,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.\u0275getDOM)().onAndCancel(ue,kt.domEventName,Ut))}static parseEventName(ue){const Fe=ue.toLowerCase().split("."),ot=Fe.shift();if(0===Fe.length||"keydown"!==ot&&"keyup"!==ot)return null;const kt=Me._normalizeKey(Fe.pop());let Ut="";if(F.forEach(Wt=>{const Tn=Fe.indexOf(Wt);Tn>-1&&(Fe.splice(Tn,1),Ut+=Wt+".")}),Ut+=kt,0!=Fe.length||0===kt.length)return null;const qt={};return qt.domEventName=ot,qt.fullKey=Ut,qt}static getEventFullKey(ue){let Fe="",ot=function(Me){let Ie=Me.key;if(null==Ie){if(Ie=Me.keyIdentifier,null==Ie)return"Unidentified";Ie.startsWith("U+")&&(Ie=String.fromCharCode(parseInt(Ie.substring(2),16)),3===Me.location&&mt.hasOwnProperty(Ie)&&(Ie=mt[Ie]))}return Pe[Ie]||Ie}(ue);return ot=ot.toLowerCase()," "===ot?ot="space":"."===ot&&(ot="dot"),F.forEach(kt=>{kt!=ot&&Qt[kt](ue)&&(Fe+=kt+".")}),Fe+=ot,Fe}static eventCallback(ue,Fe,ot){return kt=>{Me.getEventFullKey(kt)===ue&&ot.runGuarded(()=>Fe(kt))}}static _normalizeKey(ue){switch(ue){case"esc":return"escape";default:return ue}}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})(),jt=(()=>{class Me{}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275prov=(0,c.\u0275\u0275defineInjectable)({factory:function(){return(0,c.\u0275\u0275inject)(Ke)},token:Me,providedIn:"root"}),Me})();function _n(Me){return new Ke(Me.get(s.DOCUMENT))}let Ke=(()=>{class Me extends jt{constructor(ue){super(),this._doc=ue}sanitize(ue,Fe){if(null==Fe)return null;switch(ue){case c.SecurityContext.NONE:return Fe;case c.SecurityContext.HTML:return(0,c.\u0275allowSanitizationBypassAndThrow)(Fe,"HTML")?(0,c.\u0275unwrapSafeValue)(Fe):(0,c.\u0275_sanitizeHtml)(this._doc,String(Fe)).toString();case c.SecurityContext.STYLE:return(0,c.\u0275allowSanitizationBypassAndThrow)(Fe,"Style")?(0,c.\u0275unwrapSafeValue)(Fe):Fe;case c.SecurityContext.SCRIPT:if((0,c.\u0275allowSanitizationBypassAndThrow)(Fe,"Script"))return(0,c.\u0275unwrapSafeValue)(Fe);throw new Error("unsafe value used in a script context");case c.SecurityContext.URL:return(0,c.\u0275getSanitizationBypassType)(Fe),(0,c.\u0275allowSanitizationBypassAndThrow)(Fe,"URL")?(0,c.\u0275unwrapSafeValue)(Fe):(0,c.\u0275_sanitizeUrl)(String(Fe));case c.SecurityContext.RESOURCE_URL:if((0,c.\u0275allowSanitizationBypassAndThrow)(Fe,"ResourceURL"))return(0,c.\u0275unwrapSafeValue)(Fe);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ue} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ue){return(0,c.\u0275bypassSanitizationTrustHtml)(ue)}bypassSecurityTrustStyle(ue){return(0,c.\u0275bypassSanitizationTrustStyle)(ue)}bypassSecurityTrustScript(ue){return(0,c.\u0275bypassSanitizationTrustScript)(ue)}bypassSecurityTrustUrl(ue){return(0,c.\u0275bypassSanitizationTrustUrl)(ue)}bypassSecurityTrustResourceUrl(ue){return(0,c.\u0275bypassSanitizationTrustResourceUrl)(ue)}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=(0,c.\u0275\u0275defineInjectable)({factory:function(){return _n((0,c.\u0275\u0275inject)(c.INJECTOR))},token:Me,providedIn:"root"}),Me})();function St(){C.makeCurrent(),Y.init()}function O(){return new c.ErrorHandler}function j(){return(0,c.\u0275setDocument)(document),document}const Ee=[{provide:c.PLATFORM_ID,useValue:s.\u0275PLATFORM_BROWSER_ID},{provide:c.PLATFORM_INITIALIZER,useValue:St,multi:!0},{provide:s.DOCUMENT,useFactory:j,deps:[]}],V=[],z=V,S=(0,c.createPlatformFactory)(c.platformCore,"browser",Ee),q=[z,{provide:c.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:c.ErrorHandler,useFactory:O,deps:[]},{provide:fe,useClass:Be,multi:!0,deps:[s.DOCUMENT,c.NgZone,c.PLATFORM_ID]},{provide:fe,useClass:At,multi:!0,deps:[s.DOCUMENT]},w,{provide:se,useClass:se,deps:[ae,rt,c.APP_ID]},{provide:c.RendererFactory2,useExisting:se},{provide:xe,useExisting:rt},{provide:rt,useClass:rt,deps:[s.DOCUMENT]},{provide:c.Testability,useClass:c.Testability,deps:[c.NgZone]},{provide:ae,useClass:ae,deps:[fe,c.NgZone]},{provide:s.XhrFactory,useClass:ce,deps:[]},te];let tt=(()=>{class Me{constructor(ue){if(ue)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(ue){return{ngModule:Me,providers:[{provide:c.APP_ID,useValue:ue.appId},{provide:M,useExisting:c.APP_ID},H]}}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(Me,12))},Me.\u0275mod=c.\u0275\u0275defineNgModule({type:Me}),Me.\u0275inj=c.\u0275\u0275defineInjector({providers:q,imports:[s.CommonModule,c.ApplicationModule]}),Me})();function gt(){return new Ht((0,c.\u0275\u0275inject)(s.DOCUMENT))}let Ht=(()=>{class Me{constructor(ue){this._doc=ue,this._dom=(0,s.\u0275getDOM)()}addTag(ue,Fe=!1){return ue?this._getOrCreateElement(ue,Fe):null}addTags(ue,Fe=!1){return ue?ue.reduce((ot,kt)=>(kt&&ot.push(this._getOrCreateElement(kt,Fe)),ot),[]):[]}getTag(ue){return ue&&this._doc.querySelector(`meta[${ue}]`)||null}getTags(ue){if(!ue)return[];const Fe=this._doc.querySelectorAll(`meta[${ue}]`);return Fe?[].slice.call(Fe):[]}updateTag(ue,Fe){if(!ue)return null;Fe=Fe||this._parseSelector(ue);const ot=this.getTag(Fe);return ot?this._setMetaElementAttributes(ue,ot):this._getOrCreateElement(ue,!0)}removeTag(ue){this.removeTagElement(this.getTag(ue))}removeTagElement(ue){ue&&this._dom.remove(ue)}_getOrCreateElement(ue,Fe=!1){if(!Fe){const Ut=this._parseSelector(ue),qt=this.getTags(Ut).filter(Wt=>this._containsAttributes(ue,Wt))[0];if(void 0!==qt)return qt}const ot=this._dom.createElement("meta");return this._setMetaElementAttributes(ue,ot),this._doc.getElementsByTagName("head")[0].appendChild(ot),ot}_setMetaElementAttributes(ue,Fe){return Object.keys(ue).forEach(ot=>Fe.setAttribute(this._getMetaKeyMap(ot),ue[ot])),Fe}_parseSelector(ue){const Fe=ue.name?"name":"property";return`${Fe}="${ue[Fe]}"`}_containsAttributes(ue,Fe){return Object.keys(ue).every(ot=>Fe.getAttribute(this._getMetaKeyMap(ot))===ue[ot])}_getMetaKeyMap(ue){return dn[ue]||ue}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=(0,c.\u0275\u0275defineInjectable)({factory:gt,token:Me,providedIn:"root"}),Me})();const dn={httpEquiv:"http-equiv"};function cn(){return new an((0,c.\u0275\u0275inject)(s.DOCUMENT))}let an=(()=>{class Me{constructor(ue){this._doc=ue}getTitle(){return this._doc.title}setTitle(ue){this._doc.title=ue||""}}return Me.\u0275fac=function(ue){return new(ue||Me)(c.\u0275\u0275inject(s.DOCUMENT))},Me.\u0275prov=(0,c.\u0275\u0275defineInjectable)({factory:cn,token:Me,providedIn:"root"}),Me})();const un="undefined"!=typeof window&&window||{};class wn{constructor(Ie,ue){this.msPerTick=Ie,this.numTicks=ue}}class yn{constructor(Ie){this.appRef=Ie.injector.get(c.ApplicationRef)}timeChangeDetection(Ie){const ue=Ie&&Ie.record,Fe="Change Detection",ot=null!=un.console.profile;ue&&ot&&un.console.profile(Fe);const kt=pt();let Ut=0;for(;Ut<5||pt()-kt<500;)this.appRef.tick(),Ut++;const qt=pt();ue&&ot&&un.console.profileEnd(Fe);const Wt=(qt-kt)/Ut;return un.console.log(`ran ${Ut} change detection cycles`),un.console.log(`${Wt.toFixed(2)} ms per check`),new wn(Wt,Ut)}}function pt(){return un.performance&&un.performance.now?un.performance.now():(new Date).getTime()}const Oe="profiler";function Te(Me){return Le(Oe,new yn(Me)),Me}function Je(){Le(Oe,null)}function dt(Me){const Ie={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Me.replace(/[&"'<>]/g,ue=>Ie[ue])}function Q(Me){return Me}let ve=(()=>{class Me{constructor(){this.store={},this.onSerializeCallbacks={}}static init(ue){const Fe=new Me;return Fe.store=ue,Fe}get(ue,Fe){return void 0!==this.store[ue]?this.store[ue]:Fe}set(ue,Fe){this.store[ue]=Fe}remove(ue){delete this.store[ue]}hasKey(ue){return this.store.hasOwnProperty(ue)}onSerialize(ue,Fe){this.onSerializeCallbacks[ue]=Fe}toJson(){for(const ue in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(ue))try{this.store[ue]=this.onSerializeCallbacks[ue]()}catch(Fe){console.warn("Exception in onSerialize callback: ",Fe)}return JSON.stringify(this.store)}}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275prov=c.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac}),Me})();function U(Me,Ie){const ue=Me.getElementById(Ie+"-state");let Fe={};if(ue&&ue.textContent)try{Fe=JSON.parse(function(Me){const Ie={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Me.replace(/&[^;]+;/g,ue=>Ie[ue])}(ue.textContent))}catch(ot){console.warn("Exception while restoring TransferState for app "+Ie,ot)}return ve.init(Fe)}let ye=(()=>{class Me{}return Me.\u0275fac=function(ue){return new(ue||Me)},Me.\u0275mod=c.\u0275\u0275defineNgModule({type:Me}),Me.\u0275inj=c.\u0275\u0275defineInjector({providers:[{provide:ve,useFactory:U,deps:[s.DOCUMENT,c.APP_ID]}]}),Me})();class Ue{static all(){return()=>!0}static css(Ie){return ue=>null!=ue.nativeElement&&function(Me,Ie){return!!(0,s.\u0275getDOM)().isElementNode(Me)&&(Me.matches&&Me.matches(Ie)||Me.msMatchesSelector&&Me.msMatchesSelector(Ie)||Me.webkitMatchesSelector&&Me.webkitMatchesSelector(Ie))}(ue.nativeElement,Ie)}static directive(Ie){return ue=>-1!==ue.providerTokens.indexOf(Ie)}}const Dt=new c.Version("12.2.11")},5151:(Qe,re,f)=>{"use strict";function l(R,ee,x,ge){var Re,se=arguments.length,me=se<3?ee:null===ge?ge=Object.getOwnPropertyDescriptor(ee,x):ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)me=Reflect.decorate(R,ee,x,ge);else for(var it=R.length-1;it>=0;it--)(Re=R[it])&&(me=(se<3?Re(me):se>3?Re(ee,x,me):Re(ee,x))||me);return se>3&&me&&Object.defineProperty(ee,x,me),me}function L(R,ee){return function(x,ge){ee(x,ge,R)}}function Z(R,ee){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(R,ee)}f.r(re),f.d(re,{MONACO_PATH:()=>bt,MonacoDiffEditorComponent:()=>Ye,MonacoEditorComponent:()=>Ot,MonacoEditorLoaderDirective:()=>nt,MonacoEditorLoaderService:()=>ke,MonacoEditorModule:()=>ut});var le=f(7716),Xe=f(6215),W=f(9765),te=f(6782),fe=f(5435),ae=f(5257),Ne=f(3679);const xe=["editor"],rt=["diffEditor"],lt=".monaco-editor[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n\n}\n.editor-container[_ngcontent-%COMP%] {\n\toverflow: hidden;\n\tposition: relative;\n\tdisplay: table;\n\twidth: 100%;\n height: 100%;\n min-width: 0;\n}",bt="MONACO_PATH";let ke=(()=>{let R=class{constructor(x,ge){this.ngZone=x,this.monacoPathConfig=ge,this.isMonacoLoaded$=new Xe.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?x.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(x){x&&(this._monacoPath=x)}loadMonaco(){const x=()=>{let Re=this._monacoPath;window.amdRequire=window.require;const it=!!this.nodeRequire,wt=Re.includes("http");it&&(window.require=this.nodeRequire,wt||(Re=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:Re}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},Ge=>console.error("Error loading monaco-editor: ",Ge))};if(window.amdRequire)return x();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const me=document.createElement("script");me.type="text/javascript",me.src=`${this._monacoPath}/loader.js`,me.addEventListener("load",x),document.body.appendChild(me)}addElectronFixScripts(){const x=document.createElement("script"),ge=document.createTextNode("self.module = undefined;"),se=document.createTextNode("self.process.browser = true;");x.appendChild(ge),x.appendChild(se),document.body.appendChild(x)}};return R.\u0275fac=function(x){return new(x||R)(le.\u0275\u0275inject(le.NgZone),le.\u0275\u0275inject(bt,8))},R.\u0275prov=(0,le.\u0275\u0275defineInjectable)({factory:function(){return new R((0,le.\u0275\u0275inject)(le.NgZone),(0,le.\u0275\u0275inject)("MONACO_PATH",8))},token:R,providedIn:"root"}),R=l([L(1,(0,le.Optional)()),L(1,(0,le.Inject)(bt)),Z("design:paramtypes",[le.NgZone,String])],R),R})(),nt=(()=>{let R=class{constructor(x,ge,se){this.templateRef=x,this.viewContainer=ge,this.monacoEditorLoaderService=se,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new W.xQ}ngOnInit(){this.isMonacoLoaded$.pipe((0,te.R)(this.destroyed$)).subscribe(x=>{if(!x)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};return R.\u0275fac=function(x){return new(x||R)(le.\u0275\u0275directiveInject(le.TemplateRef),le.\u0275\u0275directiveInject(le.ViewContainerRef),le.\u0275\u0275directiveInject(ke))},R.\u0275dir=le.\u0275\u0275defineDirective({type:R,selectors:[["","ngxLoadMonacoEditor",""]]}),R=l([Z("design:paramtypes",[le.TemplateRef,le.ViewContainerRef,ke])],R),R})();var ht;let Ot=ht=class{constructor(ee){this.monacoLoader=ee,this.init=new le.EventEmitter,this.propagateChange=x=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,fe.h)(ee=>ee),(0,ae.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(ee){if(this.editor&&ee.options&&!ee.options.firstChange){const x=ee.options.currentValue,{language:ge,theme:se}=x,me=function(R,ee){var x={};for(var ge in R)Object.prototype.hasOwnProperty.call(R,ge)&&ee.indexOf(ge)<0&&(x[ge]=R[ge]);if(null!=R&&"function"==typeof Object.getOwnPropertySymbols){var se=0;for(ge=Object.getOwnPropertySymbols(R);se<ge.length;se++)ee.indexOf(ge[se])<0&&Object.prototype.propertyIsEnumerable.call(R,ge[se])&&(x[ge[se]]=R[ge[se]])}return x}(x,["language","theme"]),{language:Re,theme:it}=ee.options.previousValue;Re!==ge&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),it!==se&&monaco.editor.setTheme(se),this.editor.updateOptions(me)}if(this.editor&&ee.uri){const x=ee.uri.currentValue,ge=ee.uri.previousValue;if(ge&&!x||!ge&&x||x&&ge&&x.path!==ge.path){const se=this.editor.getValue();let me;this.modelUriInstance&&this.modelUriInstance.dispose(),x&&(me=monaco.editor.getModels().find(Re=>Re.uri.path===x.path)),this.modelUriInstance=me||monaco.editor.createModel(se,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(ee){this.value=ee,this.editor&&ee?this.editor.setValue(ee):this.editor&&this.editor.setValue("")}registerOnChange(ee){this.propagateChange=ee}registerOnTouched(ee){this.onTouched=ee}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(ee){this.onErrorStatusChange=ee}initEditor(){const ee={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?Object.assign(Object.assign({},ee),this.options):ee),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const ee=this.modelMarkers.map(({message:ge})=>ge).join("|");this.parsedError!==ee&&(this.parsedError=ee,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}};Ot.\u0275fac=function(ee){return new(ee||Ot)(le.\u0275\u0275directiveInject(ke))},Ot.\u0275cmp=le.\u0275\u0275defineComponent({type:Ot,selectors:[["ngx-monaco-editor"]],viewQuery:function(ee,x){if(1&ee&&le.\u0275\u0275viewQuery(xe,7),2&ee){let ge;le.\u0275\u0275queryRefresh(ge=le.\u0275\u0275loadQuery())&&(x.editorContent=ge.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[le.\u0275\u0275ProvidersFeature([{provide:Ne.NG_VALUE_ACCESSOR,useExisting:(0,le.forwardRef)(()=>ht),multi:!0},{provide:Ne.NG_VALIDATORS,useExisting:(0,le.forwardRef)(()=>ht),multi:!0}]),le.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(ee,x){1&ee&&(le.\u0275\u0275elementStart(0,"div",0,1),le.\u0275\u0275element(2,"div",2,3),le.\u0275\u0275elementEnd())},styles:[lt],changeDetection:0}),Ot.ctorParameters=()=>[{type:ke}],l([(0,le.Input)(),Z("design:type",Object)],Ot.prototype,"options",void 0),l([(0,le.Input)(),Z("design:type",Object)],Ot.prototype,"uri",void 0),l([(0,le.Output)(),Z("design:type",le.EventEmitter)],Ot.prototype,"init",void 0),l([(0,le.ViewChild)("editor",{static:!0}),Z("design:type",le.ElementRef)],Ot.prototype,"editorContent",void 0),Ot=ht=l([Z("design:paramtypes",[ke])],Ot);let Ye=(()=>{let R=class{constructor(x){this.monacoLoader=x,this.init=new le.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,fe.h)(x=>x),(0,ae.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(x){if(this.editor&&(x.code&&!x.code.firstChange||x.modified&&!x.modified.firstChange)){const ge=monaco.editor.createModel(this.modified),se=monaco.editor.createModel(this.original);this.editor.setModel({original:se,modified:ge})}this.editor&&x.options&&!x.options.firstChange&&(x.options.previousValue.theme!==x.options.currentValue.theme&&monaco.editor.setTheme(x.options.currentValue.theme),this.editor.updateOptions(x.options.currentValue))}initMonaco(){let x={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(x=Object.assign({},x,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,x);const ge=monaco.editor.createModel(this.original),se=monaco.editor.createModel(this.modified);this.editor.setModel({original:ge,modified:se}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}};return R.\u0275fac=function(x){return new(x||R)(le.\u0275\u0275directiveInject(ke))},R.\u0275cmp=le.\u0275\u0275defineComponent({type:R,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(x,ge){if(1&x&&le.\u0275\u0275viewQuery(rt,7),2&x){let se;le.\u0275\u0275queryRefresh(se=le.\u0275\u0275loadQuery())&&(ge.editorContent=se.first)}},inputs:{original:"original",modified:"modified",options:"options"},outputs:{init:"init"},features:[le.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["diffEditor",""]],template:function(x,ge){1&x&&(le.\u0275\u0275elementStart(0,"div",0,1),le.\u0275\u0275element(2,"div",2,3),le.\u0275\u0275elementEnd())},styles:[lt],changeDetection:0}),l([(0,le.Input)(),Z("design:type",String)],R.prototype,"original",void 0),l([(0,le.Input)(),Z("design:type",String)],R.prototype,"modified",void 0),l([(0,le.Input)(),Z("design:type",Object)],R.prototype,"options",void 0),l([(0,le.Output)(),Z("design:type",le.EventEmitter)],R.prototype,"init",void 0),l([(0,le.ViewChild)("diffEditor",{static:!0}),Z("design:type",le.ElementRef)],R.prototype,"editorContent",void 0),R=l([Z("design:paramtypes",[ke])],R),R})(),ut=(()=>{let R=class{};return R.\u0275fac=function(x){return new(x||R)},R.\u0275mod=le.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=le.\u0275\u0275defineInjector({imports:[[]]}),R})()},7634:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{AngularSplitModule:()=>je,SplitAreaDirective:()=>we,SplitComponent:()=>Ze});var s=f(7716),c=f(8583),m=f(9765),C=f(9897),l=f(4395);const L=["gutterEls"];function Z(le,Xe){if(1&le){const W=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",2,3),s.\u0275\u0275listener("mousedown",function(fe){s.\u0275\u0275restoreView(W);const ae=s.\u0275\u0275nextContext().index;return s.\u0275\u0275nextContext().startDragging(fe,2*ae+1,ae+1)})("touchstart",function(fe){s.\u0275\u0275restoreView(W);const ae=s.\u0275\u0275nextContext().index;return s.\u0275\u0275nextContext().startDragging(fe,2*ae+1,ae+1)})("mouseup",function(fe){s.\u0275\u0275restoreView(W);const ae=s.\u0275\u0275nextContext().index;return s.\u0275\u0275nextContext().clickGutter(fe,ae+1)})("touchend",function(fe){s.\u0275\u0275restoreView(W);const ae=s.\u0275\u0275nextContext().index;return s.\u0275\u0275nextContext().clickGutter(fe,ae+1)}),s.\u0275\u0275element(2,"div",4),s.\u0275\u0275elementEnd()}if(2&le){const W=s.\u0275\u0275nextContext().index,te=s.\u0275\u0275nextContext();s.\u0275\u0275styleProp("flex-basis",te.gutterSize,"px")("order",2*W+1)}}function k(le,Xe){1&le&&s.\u0275\u0275template(0,Z,3,4,"div",1),2&le&&s.\u0275\u0275property("ngIf",!1===Xe.last)}const M=["*"];function G(le){return void 0!==le.changedTouches&&le.changedTouches.length>0?{x:le.changedTouches[0].clientX,y:le.changedTouches[0].clientY}:void 0!==le.clientX&&void 0!==le.clientY?{x:le.clientX,y:le.clientY}:null}function H(le,Xe){const W=le.nativeElement.getBoundingClientRect();return"horizontal"===Xe?W.width:W.height}function Y(le){return"boolean"==typeof le?le:"false"!==le}function ce(le,Xe){return null==le?Xe:(le=Number(le),!isNaN(le)&&le>=0?le:Xe)}function he(le,Xe){if("percent"===le){const W=Xe.reduce((te,fe)=>null!==fe?te+fe:te,0);return Xe.every(te=>null!==te)&&W>99.9&&W<100.1}if("pixel"===le)return 1===Xe.filter(W=>null===W).length}function ne(le){return null===le.size?null:!0===le.component.lockSize?le.size:null===le.component.minSize?null:le.component.minSize>le.size?le.size:le.component.minSize}function _e(le){return null===le.size?null:!0===le.component.lockSize?le.size:null===le.component.maxSize?null:le.component.maxSize<le.size?le.size:le.component.maxSize}function be(le,Xe,W,te){return Xe.reduce((fe,ae)=>{const Ne=function(le,Xe,W,te){return 0===W?{areaSnapshot:Xe,pixelAbsorb:0,percentAfterAbsorption:Xe.sizePercentAtStart,pixelRemain:0}:0===Xe.sizePixelAtStart&&W<0?{areaSnapshot:Xe,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:W}:"percent"===le?function(le,Xe,W){const fe=(le.sizePixelAtStart+Xe)/W*100;if(Xe>0){if(null!==le.area.maxSize&&fe>le.area.maxSize){const ae=le.area.maxSize/100*W;return{areaSnapshot:le,pixelAbsorb:ae,percentAfterAbsorption:le.area.maxSize,pixelRemain:le.sizePixelAtStart+Xe-ae}}return{areaSnapshot:le,pixelAbsorb:Xe,percentAfterAbsorption:fe>100?100:fe,pixelRemain:0}}if(Xe<0){if(null!==le.area.minSize&&fe<le.area.minSize){const ae=le.area.minSize/100*W;return{areaSnapshot:le,pixelAbsorb:ae,percentAfterAbsorption:le.area.minSize,pixelRemain:le.sizePixelAtStart+Xe-ae}}return fe<0?{areaSnapshot:le,pixelAbsorb:-le.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Xe+le.sizePixelAtStart}:{areaSnapshot:le,pixelAbsorb:Xe,percentAfterAbsorption:fe,pixelRemain:0}}}(Xe,W,te):"pixel"===le?function(le,Xe,W){const te=le.sizePixelAtStart+Xe;return Xe>0?null!==le.area.maxSize&&te>le.area.maxSize?{areaSnapshot:le,pixelAbsorb:le.area.maxSize-le.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:te-le.area.maxSize}:{areaSnapshot:le,pixelAbsorb:Xe,percentAfterAbsorption:-1,pixelRemain:0}:Xe<0?null!==le.area.minSize&&te<le.area.minSize?{areaSnapshot:le,pixelAbsorb:le.area.minSize+Xe-te,percentAfterAbsorption:-1,pixelRemain:te-le.area.minSize}:te<0?{areaSnapshot:le,pixelAbsorb:-le.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Xe+le.sizePixelAtStart}:{areaSnapshot:le,pixelAbsorb:Xe,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Xe,W):void 0}(le,ae,fe.remain,te);return fe.list.push(Ne),fe.remain=Ne.pixelRemain,fe},{remain:W,list:[]})}function st(le,Xe){"percent"===le?Xe.areaSnapshot.area.size=Xe.percentAfterAbsorption:"pixel"===le&&null!==Xe.areaSnapshot.area.size&&(Xe.areaSnapshot.area.size=Xe.areaSnapshot.sizePixelAtStart+Xe.pixelAbsorb)}let Ze=(()=>{class le{constructor(W,te,fe,ae){this.ngZone=W,this.elRef=te,this.cdRef=fe,this.renderer=ae,this._direction="horizontal",this._unit="percent",this._gutterSize=11,this._gutterStep=1,this._restrictMove=!1,this._useTransition=!1,this._disabled=!1,this._dir="ltr",this._gutterDblClickDuration=0,this.dragStart=new s.EventEmitter(!1),this.dragEnd=new s.EventEmitter(!1),this.gutterClick=new s.EventEmitter(!1),this.gutterDblClick=new s.EventEmitter(!1),this.dragProgressSubject=new m.xQ,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction}set direction(W){this._direction="vertical"===W?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(W){this._unit="pixel"===W?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(W){this._gutterSize=ce(W,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(W){this._gutterStep=ce(W,1)}get gutterStep(){return this._gutterStep}set restrictMove(W){this._restrictMove=Y(W)}get restrictMove(){return this._restrictMove}set useTransition(W){this._useTransition=Y(W),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(W){this._disabled=Y(W),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(W){this._dir="rtl"===W?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(W){this._gutterDblClickDuration=ce(W,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new C.y(W=>this.transitionEndSubscriber=W).pipe((0,l.b)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(W){const te={component:W,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===W.visible?(this.displayedAreas.push(te),this.build(!0,!0)):this.hiddenAreas.push(te)}removeArea(W){if(this.displayedAreas.some(te=>te.component===W)){const te=this.displayedAreas.find(fe=>fe.component===W);this.displayedAreas.splice(this.displayedAreas.indexOf(te),1),this.build(!0,!0)}else if(this.hiddenAreas.some(te=>te.component===W)){const te=this.hiddenAreas.find(fe=>fe.component===W);this.hiddenAreas.splice(this.hiddenAreas.indexOf(te),1)}}updateArea(W,te,fe){!0===W.visible&&this.build(te,fe)}showArea(W){const te=this.hiddenAreas.find(ae=>ae.component===W);if(void 0===te)return;const fe=this.hiddenAreas.splice(this.hiddenAreas.indexOf(te),1);this.displayedAreas.push(...fe),this.build(!0,!0)}hideArea(W){const te=this.displayedAreas.find(ae=>ae.component===W);if(void 0===te)return;const fe=this.displayedAreas.splice(this.displayedAreas.indexOf(te),1);fe.forEach(ae=>{ae.order=0,ae.size=0}),this.hiddenAreas.push(...fe),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(W=>null===W.size?"*":W.size)}setVisibleAreaSizes(W){if(W.length!==this.displayedAreas.length)return!1;const te=W.map(ae=>ce(ae,null));return!1!==he(this.unit,te)&&(this.displayedAreas.forEach((ae,Ne)=>ae.component._size=te[Ne]),this.build(!1,!0),!0)}build(W,te){if(this.stopDragging(),!0===W&&(this.displayedAreas.every(fe=>null!==fe.component.order)&&this.displayedAreas.sort((fe,ae)=>fe.component.order-ae.component.order),this.displayedAreas.forEach((fe,ae)=>{fe.order=2*ae,fe.component.setStyleOrder(fe.order)})),!0===te){const fe=he(this.unit,this.displayedAreas.map(ae=>ae.component.size));switch(this.unit){case"percent":{const ae=100/this.displayedAreas.length;this.displayedAreas.forEach(Ne=>{Ne.size=fe?Ne.component.size:ae,Ne.minSize=ne(Ne),Ne.maxSize=_e(Ne)});break}case"pixel":if(fe)this.displayedAreas.forEach(ae=>{ae.size=ae.component.size,ae.minSize=ne(ae),ae.maxSize=_e(ae)});else{const ae=this.displayedAreas.filter(Ne=>null===Ne.component.size);if(0===ae.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((Ne,xe)=>{Ne.size=0===xe?null:Ne.component.size,Ne.minSize=0===xe?null:ne(Ne),Ne.maxSize=0===xe?null:_e(Ne)});else if(ae.length>1){let Ne=!1;this.displayedAreas.forEach(xe=>{null===xe.component.size?!1===Ne?(xe.size=null,xe.minSize=null,xe.maxSize=null,Ne=!0):(xe.size=100,xe.minSize=null,xe.maxSize=null):(xe.size=xe.component.size,xe.minSize=ne(xe),xe.maxSize=_e(xe))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const W=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(te=>{te.component.setStyleFlex(0,0,`calc( ${te.size}% - ${te.size/100*W}px )`,null!==te.minSize&&te.minSize===te.size,null!==te.maxSize&&te.maxSize===te.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(W=>{null===W.size?W.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?W.component.setStyleFlex(0,0,"100%",!1,!1):W.component.setStyleFlex(0,0,`${W.size}px`,null!==W.minSize&&W.minSize===W.size,null!==W.maxSize&&W.maxSize===W.size)})}clickGutter(W,te){const fe=G(W);this.startPoint&&this.startPoint.x===fe.x&&this.startPoint.y===fe.y&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",te),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",te),this.stopDragging()},this.gutterDblClickDuration))}startDragging(W,te,fe){W.preventDefault(),W.stopPropagation(),this.startPoint=G(W),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.snapshot={gutterNum:fe,lastSteppedOffset:0,allAreasSizePixel:H(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(ae=>{const Ne={area:ae,sizePixelAtStart:H(ae.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?ae.size:-1};ae.order<te?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Ne]:this.snapshot.areasBeforeGutter.unshift(Ne):ae.order>te&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Ne]):this.snapshot.areasAfterGutter.push(Ne))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ae,Ne)=>ae+Ne.sizePercentAtStart,0),0!==this.snapshot.areasBeforeGutter.length&&0!==this.snapshot.areasAfterGutter.length&&(this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.dragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.dragEvent.bind(this)))}),this.displayedAreas.forEach(ae=>ae.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0))}dragEvent(W){if(W.preventDefault(),W.stopPropagation(),null!==this._clickTimeout&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1===this.isDragging||(this.endPoint=G(W),null===this.endPoint))return;if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let te="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(te=-te);const fe=Math.round(te/this.gutterStep)*this.gutterStep;if(fe===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=fe;let ae=be(this.unit,this.snapshot.areasBeforeGutter,-fe,this.snapshot.allAreasSizePixel),Ne=be(this.unit,this.snapshot.areasAfterGutter,fe,this.snapshot.allAreasSizePixel);if(0!==ae.remain&&0!==Ne.remain?Math.abs(ae.remain)===Math.abs(Ne.remain)||(Math.abs(ae.remain)>Math.abs(Ne.remain)?Ne=be(this.unit,this.snapshot.areasAfterGutter,fe+ae.remain,this.snapshot.allAreasSizePixel):ae=be(this.unit,this.snapshot.areasBeforeGutter,-(fe-Ne.remain),this.snapshot.allAreasSizePixel)):0!==ae.remain?Ne=be(this.unit,this.snapshot.areasAfterGutter,fe+ae.remain,this.snapshot.allAreasSizePixel):0!==Ne.remain&&(ae=be(this.unit,this.snapshot.areasBeforeGutter,-(fe-Ne.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const xe=[...ae.list,...Ne.list],rt=xe.find(lt=>0!==lt.percentAfterAbsorption&&lt.percentAfterAbsorption!==lt.areaSnapshot.area.minSize&&lt.percentAfterAbsorption!==lt.areaSnapshot.area.maxSize);rt&&(rt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-xe.filter(lt=>lt!==rt).reduce((lt,bt)=>lt+bt.percentAfterAbsorption,0))}ae.list.forEach(xe=>st(this.unit,xe)),Ne.list.forEach(xe=>st(this.unit,xe)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(W){if(W&&(W.preventDefault(),W.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(te=>te.component.unlockEvents());this.dragListeners.length>0;){const te=this.dragListeners.pop();te&&te()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(W,te){const fe=this.getVisibleAreaSizes();"start"===W?this.dragStart.emit({gutterNum:te,sizes:fe}):"end"===W?this.dragEnd.emit({gutterNum:te,sizes:fe}):"click"===W?this.gutterClick.emit({gutterNum:te,sizes:fe}):"dblclick"===W?this.gutterDblClick.emit({gutterNum:te,sizes:fe}):"transitionEnd"===W?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(fe)):"progress"===W&&this.dragProgressSubject.next({gutterNum:te,sizes:fe})}ngOnDestroy(){this.stopDragging()}collapseArea(W,te,fe){const ae=this.displayedAreas.find(rt=>rt.component===W);if(void 0===ae)return;const Ne="right"===fe?1:-1;ae.sizeBeforeCollapse||(ae.sizeBeforeCollapse=ae.size,ae.gutterBeforeCollapse=Ne),ae.size=te;const xe=this.gutterEls.find(rt=>rt.nativeElement.style.order===`${ae.order+Ne}`);xe&&this.renderer.addClass(xe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(W,!1,!1)}expandArea(W){const te=this.displayedAreas.find(ae=>ae.component===W);if(void 0===te||!te.sizeBeforeCollapse)return;te.size=te.sizeBeforeCollapse,te.sizeBeforeCollapse=null;const fe=this.gutterEls.find(ae=>ae.nativeElement.style.order===`${te.order+te.gutterBeforeCollapse}`);fe&&this.renderer.removeClass(fe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(W,!1,!1)}}return le.\u0275fac=function(W){return new(W||le)(s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.Renderer2))},le.\u0275cmp=s.\u0275\u0275defineComponent({type:le,selectors:[["as-split"]],viewQuery:function(W,te){if(1&W&&s.\u0275\u0275viewQuery(L,5),2&W){let fe;s.\u0275\u0275queryRefresh(fe=s.\u0275\u0275loadQuery())&&(te.gutterEls=fe)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration"},outputs:{dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick",transitionEnd:"transitionEnd"},exportAs:["asSplit"],ngContentSelectors:M,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["class","as-split-gutter",3,"flex-basis","order","mousedown","touchstart","mouseup","touchend",4,"ngIf"],[1,"as-split-gutter",3,"mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(W,te){1&W&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0),s.\u0275\u0275template(1,k,1,1,"ng-template",0)),2&W&&(s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",te.displayedAreas))},directives:[c.NgForOf,c.NgIf],styles:['[_nghost-%COMP%]{align-items:stretch;display:flex;flex-wrap:nowrap;height:100%;justify-content:flex-start;overflow:hidden;width:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{align-items:center;background-color:#eee;display:flex;flex-grow:0;flex-shrink:0;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-position:50%;background-repeat:no-repeat;height:100%;width:100%}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:col-resize;flex-direction:row;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==")}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:row-resize;flex-direction:column;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC")}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url()}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area, .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%]{transition:flex-basis .3s}'],changeDetection:0}),le})(),we=(()=>{class le{constructor(W,te,fe,ae){this.ngZone=W,this.elRef=te,this.renderer=fe,this.split=ae,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(W){this._order=ce(W,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(W){this._size=ce(W,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(W){this._minSize=ce(W,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(W){this._maxSize=ce(W,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(W){this._lockSize=Y(W),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(W){this._visible=Y(W),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",W=>{"flex-basis"===W.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(W){this.renderer.setStyle(this.elRef.nativeElement,"order",W)}setStyleFlex(W,te,fe,ae,Ne){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",W),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",te),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",fe),!0===ae?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===Ne?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const W=this.lockListeners.pop();W&&W()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(W=0,te="right"){this.split.collapseArea(this,W,te)}expand(){this.split.expandArea(this)}}return le.\u0275fac=function(W){return new(W||le)(s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(Ze))},le.\u0275dir=s.\u0275\u0275defineDirective({type:le,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),le})(),je=(()=>{class le{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:le,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:le,providers:[]}}}return le.\u0275fac=function(W){return new(W||le)},le.\u0275mod=s.\u0275\u0275defineNgModule({type:le}),le.\u0275inj=s.\u0275\u0275defineInjector({imports:[[c.CommonModule]]}),le})()},9457:function(Qe,re){var f,c;void 0!==(c="function"==typeof(f=function(){"use strict";function C(G,H,Y){var ce=new XMLHttpRequest;ce.open("GET",G),ce.responseType="blob",ce.onload=function(){M(ce.response,H,Y)},ce.onerror=function(){console.error("could not download file")},ce.send()}function l(G){var H=new XMLHttpRequest;H.open("HEAD",G,!1);try{H.send()}catch(Y){}return 200<=H.status&&299>=H.status}function L(G){try{G.dispatchEvent(new MouseEvent("click"))}catch(Y){var H=document.createEvent("MouseEvents");H.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),G.dispatchEvent(H)}}var Z="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,k=Z.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),M=Z.saveAs||("object"!=typeof window||window!==Z?function(){}:"download"in HTMLAnchorElement.prototype&&!k?function(G,H,Y){var ce=Z.URL||Z.webkitURL,he=document.createElement("a");he.download=H=H||G.name||"download",he.rel="noopener","string"==typeof G?(he.href=G,he.origin===location.origin?L(he):l(he.href)?C(G,H,Y):L(he,he.target="_blank")):(he.href=ce.createObjectURL(G),setTimeout(function(){ce.revokeObjectURL(he.href)},4e4),setTimeout(function(){L(he)},0))}:"msSaveOrOpenBlob"in navigator?function(G,H,Y){if(H=H||G.name||"download","string"!=typeof G)navigator.msSaveOrOpenBlob(function(G,H){return void 0===H?H={autoBom:!1}:"object"!=typeof H&&(console.warn("Deprecated: Expected third argument to be a object"),H={autoBom:!H}),H.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(G.type)?new Blob(["\ufeff",G],{type:G.type}):G}(G,Y),H);else if(l(G))C(G,H,Y);else{var ce=document.createElement("a");ce.href=G,ce.target="_blank",setTimeout(function(){L(ce)})}}:function(G,H,Y,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),"string"==typeof G)return C(G,H,Y);var he="application/octet-stream"===G.type,ne=/constructor/i.test(Z.HTMLElement)||Z.safari,_e=/CriOS\/[\d]+/.test(navigator.userAgent);if((_e||he&&ne||k)&&"undefined"!=typeof FileReader){var be=new FileReader;be.onloadend=function(){var Mt=be.result;Mt=_e?Mt:Mt.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=Mt:location=Mt,ce=null},be.readAsDataURL(G)}else{var Le=Z.URL||Z.webkitURL,at=Le.createObjectURL(G);ce?ce.location=at:location.href=at,ce=null,setTimeout(function(){Le.revokeObjectURL(at)},4e4)}});Z.saveAs=M.saveAs=M,Qe.exports=M})?f.apply(re,[]):f)&&(Qe.exports=c)},1103:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{NgxJsonViewerComponent:()=>M,NgxJsonViewerModule:()=>G});var s=f(8583),c=f(7716);function m(H,Y){1&H&&c.\u0275\u0275element(0,"div",9)}function C(H,Y){if(1&H&&(c.\u0275\u0275elementStart(0,"span",10),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&H){const ce=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ce.description)}}function l(H,Y){if(1&H&&(c.\u0275\u0275elementStart(0,"section",11),c.\u0275\u0275element(1,"ngx-json-viewer",12),c.\u0275\u0275elementEnd()),2&H){const ce=c.\u0275\u0275nextContext().$implicit,he=c.\u0275\u0275nextContext();c.\u0275\u0275advance(1),c.\u0275\u0275property("json",ce.value)("expanded",he.expanded)("depth",he.depth)("_currentDepth",he._currentDepth)}}const L=function(H){return["segment",H]},Z=function(H,Y){return{"segment-main":!0,expandable:H,expanded:Y}};function k(H,Y){if(1&H){const ce=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"section",2),c.\u0275\u0275elementStart(1,"section",3),c.\u0275\u0275listener("click",function(){const _e=c.\u0275\u0275restoreView(ce).$implicit;return c.\u0275\u0275nextContext().toggle(_e)}),c.\u0275\u0275template(2,m,1,0,"div",4),c.\u0275\u0275elementStart(3,"span",5),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",6),c.\u0275\u0275text(6,": "),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(7,C,2,1,"span",7),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(8,l,2,4,"section",8),c.\u0275\u0275elementEnd()}if(2&H){const ce=Y.$implicit,he=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(6,L,"segment-type-"+ce.type)),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction2(8,Z,he.isExpandable(ce),ce.expanded)),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",he.isExpandable(ce)),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ce.key),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!ce.expanded||!he.isExpandable(ce)),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",ce.expanded&&he.isExpandable(ce))}}let M=(()=>{class H{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=-1,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),this._currentDepth++,"object"==typeof this.json?Object.keys(this.json).forEach(ce=>{this.segments.push(this.parseKeyValue(ce,this.json[ce]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(ce){return"object"===ce.type||"array"===ce.type}toggle(ce){this.isExpandable(ce)&&(ce.expanded=!ce.expanded)}parseKeyValue(ce,he){const ne={key:ce,value:he,type:void 0,description:""+he,expanded:this.isExpanded()};switch(typeof ne.value){case"number":ne.type="number";break;case"boolean":ne.type="boolean";break;case"function":ne.type="function";break;case"string":ne.type="string",ne.description='"'+ne.value+'"';break;case"undefined":ne.type="undefined",ne.description="undefined";break;case"object":null===ne.value?(ne.type="null",ne.description="null"):Array.isArray(ne.value)?(ne.type="array",ne.description="Array["+ne.value.length+"] "+JSON.stringify(ne.value)):ne.value instanceof Date?ne.type="date":(ne.type="object",ne.description="Object "+JSON.stringify(ne.value))}return ne}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(ce){const he=new WeakMap;return function ne(_e,be){let Le,at;return"object"!=typeof _e||null===_e||_e instanceof Boolean||_e instanceof Date||_e instanceof Number||_e instanceof RegExp||_e instanceof String?_e:(Le=he.get(_e),void 0!==Le?{$ref:Le}:(he.set(_e,be),Array.isArray(_e)?(at=[],_e.forEach(function(Mt,st){at[st]=ne(Mt,be+"["+st+"]")})):(at={},Object.keys(_e).forEach(function(Mt){at[Mt]=ne(_e[Mt],be+"["+JSON.stringify(Mt)+"]")})),at))}(ce,"$")}}return H.\u0275fac=function(ce){return new(ce||H)},H.\u0275cmp=c.\u0275\u0275defineComponent({type:H,selectors:[["ngx-json-viewer"]],inputs:{expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth",json:"json"},features:[c.\u0275\u0275NgOnChangesFeature],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(ce,he){1&ce&&(c.\u0275\u0275elementStart(0,"section",0),c.\u0275\u0275template(1,k,9,11,"section",1),c.\u0275\u0275elementEnd()),2&ce&&(c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",he.segments))},directives:[s.NgForOf,s.NgClass,s.NgIf,H],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:monospace;font-size:1em;height:100%;overflow:hidden;position:relative;width:100%}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{margin:1px 1px 1px 12px;padding:2px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{color:#787878;font-size:.8em;line-height:1.2em;margin-left:-14px;margin-top:3px;position:absolute;vertical-align:middle}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{content:"\u25ba";display:inline-block;transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:#4e187c}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:#000}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#ff6b6b}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#009688}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#b938a4}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#05668d}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:red}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),H})(),G=(()=>{class H{}return H.\u0275fac=function(ce){return new(ce||H)},H.\u0275mod=c.\u0275\u0275defineNgModule({type:H}),H.\u0275inj=c.\u0275\u0275defineInjector({imports:[[s.CommonModule]]}),H})()},9344:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{BasePortalHost:()=>le,ComponentPortal:()=>je,DefaultGlobalConfig:()=>lt,DefaultNoAnimationsGlobalConfig:()=>ht,DefaultNoComponentGlobalConfig:()=>Ze,Overlay:()=>fe,OverlayContainer:()=>W,OverlayRef:()=>te,TOAST_CONFIG:()=>we,Toast:()=>rt,ToastContainerDirective:()=>at,ToastContainerModule:()=>Mt,ToastInjector:()=>Ne,ToastNoAnimation:()=>nt,ToastNoAnimationModule:()=>Ot,ToastPackage:()=>st,ToastRef:()=>ae,ToastrComponentlessModule:()=>ke,ToastrModule:()=>bt,ToastrService:()=>xe});var s=f(7716),c=f(7238),m=f(9765),C=f(9075),l=f(8583);const L=["toast-component",""];function Z(Ye,ut){if(1&Ye){const R=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",5),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(R),s.\u0275\u0275nextContext().remove()}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2,"\xd7"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}}function k(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275text(1),s.\u0275\u0275elementContainerEnd()),2&Ye){const R=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("[",R.duplicatesCount+1,"]")}}function M(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275template(2,k,2,1,"ng-container",4),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.titleClass),s.\u0275\u0275attribute("aria-label",R.title),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",R.title," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",R.duplicatesCount)}}function G(Ye,ut){if(1&Ye&&s.\u0275\u0275element(0,"div",7),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.messageClass),s.\u0275\u0275property("innerHTML",R.message,s.\u0275\u0275sanitizeHtml)}}function H(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.messageClass),s.\u0275\u0275attribute("aria-label",R.message),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",R.message," ")}}function Y(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275element(1,"div",9),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275styleProp("width",R.width+"%")}}function ce(Ye,ut){if(1&Ye){const R=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",5),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(R),s.\u0275\u0275nextContext().remove()}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2,"\xd7"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}}function he(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275text(1),s.\u0275\u0275elementContainerEnd()),2&Ye){const R=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("[",R.duplicatesCount+1,"]")}}function ne(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275template(2,he,2,1,"ng-container",4),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.titleClass),s.\u0275\u0275attribute("aria-label",R.title),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",R.title," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",R.duplicatesCount)}}function _e(Ye,ut){if(1&Ye&&s.\u0275\u0275element(0,"div",7),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.messageClass),s.\u0275\u0275property("innerHTML",R.message,s.\u0275\u0275sanitizeHtml)}}function be(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(R.options.messageClass),s.\u0275\u0275attribute("aria-label",R.message),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",R.message," ")}}function Le(Ye,ut){if(1&Ye&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275element(1,"div",9),s.\u0275\u0275elementEnd()),2&Ye){const R=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275styleProp("width",R.width+"%")}}let at=(()=>{class Ye{constructor(R){this.el=R}getContainerElement(){return this.el.nativeElement}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275directiveInject(s.ElementRef))},Ye.\u0275dir=s.\u0275\u0275defineDirective({type:Ye,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),Ye})(),Mt=(()=>{class Ye{}return Ye.\u0275fac=function(R){return new(R||Ye)},Ye.\u0275mod=s.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=s.\u0275\u0275defineInjector({}),Ye})();class st{constructor(ut,R,ee,x,ge,se){this.toastId=ut,this.config=R,this.message=ee,this.title=x,this.toastType=ge,this.toastRef=se,this._onTap=new m.xQ,this._onAction=new m.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(ut){this._onAction.next(ut)}onAction(){return this._onAction.asObservable()}}const Ze={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},we=new s.InjectionToken("ToastConfig");class je{constructor(ut,R){this.component=ut,this.injector=R}attach(ut,R){return this._attachedHost=ut,ut.attach(this,R)}detach(){const ut=this._attachedHost;if(ut)return this._attachedHost=void 0,ut.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ut){this._attachedHost=ut}}class le{attach(ut,R){return this._attachedPortal=ut,this.attachComponentPortal(ut,R)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ut){this._disposeFn=ut}}class Xe extends le{constructor(ut,R,ee){super(),this._hostDomElement=ut,this._componentFactoryResolver=R,this._appRef=ee}attachComponentPortal(ut,R){const ee=this._componentFactoryResolver.resolveComponentFactory(ut.component);let x;return x=ee.create(ut.injector),this._appRef.attachView(x.hostView),this.setDisposeFn(()=>{this._appRef.detachView(x.hostView),x.destroy()}),R?this._hostDomElement.insertBefore(this._getComponentRootNode(x),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(x)),x}_getComponentRootNode(ut){return ut.hostView.rootNodes[0]}}let W=(()=>{class Ye{constructor(R){this._document=R}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const R=this._document.createElement("div");R.classList.add("overlay-container"),this._document.body.appendChild(R),this._containerElement=R}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275inject(l.DOCUMENT))},Ye.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new Ye(s.\u0275\u0275inject(l.DOCUMENT))},token:Ye,providedIn:"root"}),Ye})();class te{constructor(ut){this._portalHost=ut}attach(ut,R=!0){return this._portalHost.attach(ut,R)}detach(){return this._portalHost.detach()}}let fe=(()=>{class Ye{constructor(R,ee,x,ge){this._overlayContainer=R,this._componentFactoryResolver=ee,this._appRef=x,this._document=ge,this._paneElements=new Map}create(R,ee){return this._createOverlayRef(this.getPaneElement(R,ee))}getPaneElement(R="",ee){return this._paneElements.get(ee)||this._paneElements.set(ee,{}),this._paneElements.get(ee)[R]||(this._paneElements.get(ee)[R]=this._createPaneElement(R,ee)),this._paneElements.get(ee)[R]}_createPaneElement(R,ee){const x=this._document.createElement("div");return x.id="toast-container",x.classList.add(R),x.classList.add("toast-container"),ee?ee.getContainerElement().appendChild(x):this._overlayContainer.getContainerElement().appendChild(x),x}_createPortalHost(R){return new Xe(R,this._componentFactoryResolver,this._appRef)}_createOverlayRef(R){return new te(this._createPortalHost(R))}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275inject(W),s.\u0275\u0275inject(s.ComponentFactoryResolver),s.\u0275\u0275inject(s.ApplicationRef),s.\u0275\u0275inject(l.DOCUMENT))},Ye.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new Ye(s.\u0275\u0275inject(W),s.\u0275\u0275inject(s.ComponentFactoryResolver),s.\u0275\u0275inject(s.ApplicationRef),s.\u0275\u0275inject(l.DOCUMENT))},token:Ye,providedIn:"root"}),Ye})();class ae{constructor(ut){this._overlayRef=ut,this.duplicatesCount=0,this._afterClosed=new m.xQ,this._activate=new m.xQ,this._manualClose=new m.xQ,this._resetTimeout=new m.xQ,this._countDuplicate=new m.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(ut,R){ut&&this._resetTimeout.next(),R&&this._countDuplicate.next(++this.duplicatesCount)}}class Ne{constructor(ut,R){this._toastPackage=ut,this._parentInjector=R}get(ut,R,ee){return ut===st?this._toastPackage:this._parentInjector.get(ut,R,ee)}}let xe=(()=>{class Ye{constructor(R,ee,x,ge,se){this.overlay=ee,this._injector=x,this.sanitizer=ge,this.ngZone=se,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},R.default),R.config),R.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},R.default.iconClasses),R.config.iconClasses))}show(R,ee,x={},ge=""){return this._preBuildNotification(ge,R,ee,this.applyConfig(x))}success(R,ee,x={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",R,ee,this.applyConfig(x))}error(R,ee,x={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",R,ee,this.applyConfig(x))}info(R,ee,x={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",R,ee,this.applyConfig(x))}warning(R,ee,x={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",R,ee,this.applyConfig(x))}clear(R){for(const ee of this.toasts)if(void 0!==R){if(ee.toastId===R)return void ee.toastRef.manualClose()}else ee.toastRef.manualClose()}remove(R){const ee=this._findToast(R);if(!ee||(ee.activeToast.toastRef.close(),this.toasts.splice(ee.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const x=this.toasts[this.currentlyActive].toastRef;x.isInactive()||(this.currentlyActive=this.currentlyActive+1,x.activate())}return!0}findDuplicate(R="",ee="",x,ge){const{includeTitleDuplicates:se}=this.toastrConfig;for(const me of this.toasts){const Re=se&&me.title===R;if((!se||Re)&&me.message===ee)return me.toastRef.onDuplicate(x,ge),me}return null}applyConfig(R={}){return Object.assign(Object.assign({},this.toastrConfig),R)}_findToast(R){for(let ee=0;ee<this.toasts.length;ee++)if(this.toasts[ee].toastId===R)return{index:ee,activeToast:this.toasts[ee]};return null}_preBuildNotification(R,ee,x,ge){return ge.onActivateTick?this.ngZone.run(()=>this._buildNotification(R,ee,x,ge)):this._buildNotification(R,ee,x,ge)}_buildNotification(R,ee,x,ge){if(!ge.toastComponent)throw new Error("toastComponent required");const se=this.findDuplicate(x,ee,this.toastrConfig.resetTimeoutOnDuplicate&&ge.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&x||ee)&&this.toastrConfig.preventDuplicates&&null!==se)return se;this.previousToastMessage=ee;let me=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(me=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Re=this.overlay.create(ge.positionClass,this.overlayContainer);this.index=this.index+1;let it=ee;ee&&ge.enableHtml&&(it=this.sanitizer.sanitize(s.SecurityContext.HTML,ee));const wt=new ae(Re),Ge=new st(this.index,ge,it,x,R,wt),Ve=new Ne(Ge,this._injector),Be=new je(ge.toastComponent,Ve),K=Re.attach(Be,this.toastrConfig.newestOnTop);wt.componentInstance=K.instance;const ze={toastId:this.index,title:x||"",message:ee||"",toastRef:wt,onShown:wt.afterActivate(),onHidden:wt.afterClosed(),onTap:Ge.onTap(),onAction:Ge.onAction(),portal:K};return me||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{ze.toastRef.activate()})),this.toasts.push(ze),ze}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275inject(we),s.\u0275\u0275inject(fe),s.\u0275\u0275inject(s.Injector),s.\u0275\u0275inject(C.DomSanitizer),s.\u0275\u0275inject(s.NgZone))},Ye.\u0275prov=s.\u0275\u0275defineInjectable({factory:function(){return new Ye(s.\u0275\u0275inject(we),s.\u0275\u0275inject(fe),s.\u0275\u0275inject(s.INJECTOR),s.\u0275\u0275inject(C.DomSanitizer),s.\u0275\u0275inject(s.NgZone))},token:Ye,providedIn:"root"}),Ye})(),rt=(()=>{class Ye{constructor(R,ee,x){this.toastrService=R,this.toastPackage=ee,this.ngZone=x,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ee.message,this.title=ee.title,this.options=ee.config,this.originalTimeout=ee.config.timeOut,this.toastClasses=`${ee.toastType} ${ee.config.toastClass}`,this.sub=ee.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ee.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ee.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ee.toastRef.countDuplicate().subscribe(ge=>{this.duplicatesCount=ge})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const R=(new Date).getTime();this.width=(this.hideTime-R)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(R,ee){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(R),ee)):this.timeout=setTimeout(()=>R(),ee)}outsideInterval(R,ee){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(R),ee)):this.intervalId=setInterval(()=>R(),ee)}runInsideAngular(R){this.ngZone?this.ngZone.run(()=>R()):R()}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275directiveInject(xe),s.\u0275\u0275directiveInject(st),s.\u0275\u0275directiveInject(s.NgZone))},Ye.\u0275cmp=s.\u0275\u0275defineComponent({type:Ye,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(R,ee){1&R&&s.\u0275\u0275listener("click",function(){return ee.tapToast()})("mouseenter",function(){return ee.stickAround()})("mouseleave",function(){return ee.delayedHideToast()}),2&R&&(s.\u0275\u0275syntheticHostProperty("@flyInOut",ee.state),s.\u0275\u0275classMap(ee.toastClasses),s.\u0275\u0275styleProp("display",ee.displayStyle))},attrs:L,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(R,ee){1&R&&(s.\u0275\u0275template(0,Z,3,0,"button",0),s.\u0275\u0275template(1,M,3,5,"div",1),s.\u0275\u0275template(2,G,1,3,"div",2),s.\u0275\u0275template(3,H,2,4,"div",3),s.\u0275\u0275template(4,Y,2,2,"div",4)),2&R&&(s.\u0275\u0275property("ngIf",ee.options.closeButton),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.title),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.message&&ee.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.message&&!ee.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.options.progressBar))},directives:[l.NgIf],encapsulation:2,data:{animation:[(0,c.X$)("flyInOut",[(0,c.SB)("inactive",(0,c.oB)({opacity:0})),(0,c.SB)("active",(0,c.oB)({opacity:1})),(0,c.SB)("removed",(0,c.oB)({opacity:0})),(0,c.eR)("inactive => active",(0,c.jt)("{{ easeTime }}ms {{ easing }}")),(0,c.eR)("active => removed",(0,c.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Ye})();const lt=Object.assign(Object.assign({},Ze),{toastComponent:rt});let bt=(()=>{class Ye{static forRoot(R={}){return{ngModule:Ye,providers:[{provide:we,useValue:{default:lt,config:R}}]}}}return Ye.\u0275fac=function(R){return new(R||Ye)},Ye.\u0275mod=s.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=s.\u0275\u0275defineInjector({imports:[[l.CommonModule]]}),Ye})(),ke=(()=>{class Ye{static forRoot(R={}){return{ngModule:bt,providers:[{provide:we,useValue:{default:Ze,config:R}}]}}}return Ye.\u0275fac=function(R){return new(R||Ye)},Ye.\u0275mod=s.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=s.\u0275\u0275defineInjector({imports:[[l.CommonModule]]}),Ye})(),nt=(()=>{class Ye{constructor(R,ee,x){this.toastrService=R,this.toastPackage=ee,this.appRef=x,this.width=-1,this.toastClasses="",this.state="inactive",this.message=ee.message,this.title=ee.title,this.options=ee.config,this.originalTimeout=ee.config.timeOut,this.toastClasses=`${ee.toastType} ${ee.config.toastClass}`,this.sub=ee.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ee.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ee.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ee.toastRef.countDuplicate().subscribe(ge=>{this.duplicatesCount=ge})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const R=(new Date).getTime();this.width=(this.hideTime-R)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return Ye.\u0275fac=function(R){return new(R||Ye)(s.\u0275\u0275directiveInject(xe),s.\u0275\u0275directiveInject(st),s.\u0275\u0275directiveInject(s.ApplicationRef))},Ye.\u0275cmp=s.\u0275\u0275defineComponent({type:Ye,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(R,ee){1&R&&s.\u0275\u0275listener("click",function(){return ee.tapToast()})("mouseenter",function(){return ee.stickAround()})("mouseleave",function(){return ee.delayedHideToast()}),2&R&&(s.\u0275\u0275classMap(ee.toastClasses),s.\u0275\u0275styleProp("display",ee.displayStyle))},attrs:L,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(R,ee){1&R&&(s.\u0275\u0275template(0,ce,3,0,"button",0),s.\u0275\u0275template(1,ne,3,5,"div",1),s.\u0275\u0275template(2,_e,1,3,"div",2),s.\u0275\u0275template(3,be,2,4,"div",3),s.\u0275\u0275template(4,Le,2,2,"div",4)),2&R&&(s.\u0275\u0275property("ngIf",ee.options.closeButton),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.title),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.message&&ee.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.message&&!ee.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ee.options.progressBar))},directives:[l.NgIf],encapsulation:2}),Ye})();const ht=Object.assign(Object.assign({},Ze),{toastComponent:nt});let Ot=(()=>{class Ye{static forRoot(R={}){return{ngModule:Ye,providers:[{provide:we,useValue:{default:ht,config:R}}]}}}return Ye.\u0275fac=function(R){return new(R||Ye)},Ye.\u0275mod=s.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=s.\u0275\u0275defineInjector({imports:[[l.CommonModule]]}),Ye})()},4813:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{ArgumentOutOfRangeError:()=>ae.W,AsyncSubject:()=>he,BehaviorSubject:()=>Y.X,ConnectableObservable:()=>c.c,EMPTY:()=>Ve.E,EmptyError:()=>xe,GroupedObservable:()=>k,NEVER:()=>Pe,Notification:()=>le.P,NotificationKind:()=>le.W,ObjectUnsubscribedError:()=>rt.N,Observable:()=>s.y,ReplaySubject:()=>ce.t,Scheduler:()=>we.b,Subject:()=>H.xQ,Subscriber:()=>je.L,Subscription:()=>m.w,TimeoutError:()=>ke,UnsubscriptionError:()=>lt.B,VirtualAction:()=>Ze,VirtualTimeScheduler:()=>st,animationFrame:()=>Le.r,animationFrameScheduler:()=>Le.Z,asap:()=>ne.e,asapScheduler:()=>ne.E,async:()=>_e.P,asyncScheduler:()=>_e.z,bindCallback:()=>ut,bindNodeCallback:()=>ge,combineLatest:()=>it.aj,concat:()=>wt.z,config:()=>yn.v,defer:()=>Ge.P,empty:()=>Ve.c,forkJoin:()=>Be.D,from:()=>K.D,fromEvent:()=>ze.R,fromEventPattern:()=>yt,generate:()=>We,identity:()=>te.y,iif:()=>I,interval:()=>oe,isObservable:()=>fe.b,merge:()=>X.T,never:()=>mt,noop:()=>W.Z,observable:()=>G.L,of:()=>Ct.of,onErrorResumeNext:()=>Rt,pairs:()=>Nt,partition:()=>jt,pipe:()=>Xe.z,queue:()=>be.c,queueScheduler:()=>be.N,race:()=>O,range:()=>Ee,scheduled:()=>wn.x,throwError:()=>V._,timer:()=>z.H,using:()=>S,zip:()=>gt});var s=f(9897),c=f(2441),m=f(826);class k extends s.y{constructor(Oe,Te,Je){super(),this.key=Oe,this.groupSubject=Te,this.refCountSubscription=Je}_subscribe(Oe){const Te=new m.w,{refCountSubscription:Je,groupSubject:dt}=this;return Je&&!Je.closed&&Te.add(new M(Je)),Te.add(dt.subscribe(Oe)),Te}}class M extends m.w{constructor(Oe){super(),this.parent=Oe,Oe.count++}unsubscribe(){const Oe=this.parent;!Oe.closed&&!this.closed&&(super.unsubscribe(),Oe.count-=1,0===Oe.count&&Oe.attemptedToUnsubscribe&&Oe.unsubscribe())}}var G=f(6554),H=f(9765),Y=f(6215),ce=f(4448);class he extends H.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(Oe){return this.hasError?(Oe.error(this.thrownError),m.w.EMPTY):this.hasCompleted&&this.hasNext?(Oe.next(this.value),Oe.complete(),m.w.EMPTY):super._subscribe(Oe)}next(Oe){this.hasCompleted||(this.value=Oe,this.hasNext=!0)}error(Oe){this.hasCompleted||super.error(Oe)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}var ne=f(4581),_e=f(3637),be=f(7771),Le=f(1927),at=f(6465),Mt=f(4548);let st=(()=>{class pt extends Mt.v{constructor(Te=Ze,Je=Number.POSITIVE_INFINITY){super(Te,()=>this.frame),this.maxFrames=Je,this.frame=0,this.index=-1}flush(){const{actions:Te,maxFrames:Je}=this;let dt,Pt;for(;(Pt=Te[0])&&Pt.delay<=Je&&(Te.shift(),this.frame=Pt.delay,!(dt=Pt.execute(Pt.state,Pt.delay))););if(dt){for(;Pt=Te.shift();)Pt.unsubscribe();throw dt}}}return pt.frameTimeFactor=10,pt})();class Ze extends at.o{constructor(Oe,Te,Je=(Oe.index+=1)){super(Oe,Te),this.scheduler=Oe,this.work=Te,this.index=Je,this.active=!0,this.index=Oe.index=Je}schedule(Oe,Te=0){if(!this.id)return super.schedule(Oe,Te);this.active=!1;const Je=new Ze(this.scheduler,this.work);return this.add(Je),Je.schedule(Oe,Te)}requestAsyncId(Oe,Te,Je=0){this.delay=Oe.frame+Je;const{actions:dt}=Oe;return dt.push(this),dt.sort(Ze.sortActions),!0}recycleAsyncId(Oe,Te,Je=0){}_execute(Oe,Te){if(!0===this.active)return super._execute(Oe,Te)}static sortActions(Oe,Te){return Oe.delay===Te.delay?Oe.index===Te.index?0:Oe.index>Te.index?1:-1:Oe.delay>Te.delay?1:-1}}var we=f(2217),je=f(7393),le=f(3098),Xe=f(4022),W=f(8640),te=f(4487),fe=f(5639),ae=f(7108);const xe=(()=>{function pt(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return pt.prototype=Object.create(Error.prototype),pt})();var rt=f(7971),lt=f(7744);const ke=(()=>{function pt(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return pt.prototype=Object.create(Error.prototype),pt})();var nt=f(8002),ht=f(3179),Ot=f(9796),Ye=f(4869);function ut(pt,Oe,Te){if(Oe){if(!(0,Ye.K)(Oe))return(...Je)=>ut(pt,Te)(...Je).pipe((0,nt.U)(dt=>(0,Ot.k)(dt)?Oe(...dt):Oe(dt)));Te=Oe}return function(...Je){const dt=this;let Pt;const Q={context:dt,subject:Pt,callbackFunc:pt,scheduler:Te};return new s.y(ve=>{if(Te)return Te.schedule(R,0,{args:Je,subscriber:ve,params:Q});if(!Pt){Pt=new he;const U=(...ye)=>{Pt.next(ye.length<=1?ye[0]:ye),Pt.complete()};try{pt.apply(dt,[...Je,U])}catch(ye){(0,ht._)(Pt)?Pt.error(ye):console.warn(ye)}}return Pt.subscribe(ve)})}}function R(pt){const{args:Te,subscriber:Je,params:dt}=pt,{callbackFunc:Pt,context:Q,scheduler:ve}=dt;let{subject:U}=dt;if(!U){U=dt.subject=new he;const ye=(...Ue)=>{this.add(ve.schedule(ee,0,{value:Ue.length<=1?Ue[0]:Ue,subject:U}))};try{Pt.apply(Q,[...Te,ye])}catch(Ue){U.error(Ue)}}this.add(U.subscribe(Je))}function ee(pt){const{value:Oe,subject:Te}=pt;Te.next(Oe),Te.complete()}function ge(pt,Oe,Te){if(Oe){if(!(0,Ye.K)(Oe))return(...Je)=>ge(pt,Te)(...Je).pipe((0,nt.U)(dt=>(0,Ot.k)(dt)?Oe(...dt):Oe(dt)));Te=Oe}return function(...Je){const dt={subject:void 0,args:Je,callbackFunc:pt,scheduler:Te,context:this};return new s.y(Pt=>{const{context:Q}=dt;let{subject:ve}=dt;if(Te)return Te.schedule(se,0,{params:dt,subscriber:Pt,context:Q});if(!ve){ve=dt.subject=new he;const U=(...ye)=>{const Ue=ye.shift();Ue?ve.error(Ue):(ve.next(ye.length<=1?ye[0]:ye),ve.complete())};try{pt.apply(Q,[...Je,U])}catch(ye){(0,ht._)(ve)?ve.error(ye):console.warn(ye)}}return ve.subscribe(Pt)})}}function se(pt){const{params:Oe,subscriber:Te,context:Je}=pt,{callbackFunc:dt,args:Pt,scheduler:Q}=Oe;let ve=Oe.subject;if(!ve){ve=Oe.subject=new he;const U=(...ye)=>{const Ue=ye.shift();this.add(Ue?Q.schedule(Re,0,{err:Ue,subject:ve}):Q.schedule(me,0,{value:ye.length<=1?ye[0]:ye,subject:ve}))};try{dt.apply(Je,[...Pt,U])}catch(ye){this.add(Q.schedule(Re,0,{err:ye,subject:ve}))}}this.add(ve.subscribe(Te))}function me(pt){const{value:Oe,subject:Te}=pt;Te.next(Oe),Te.complete()}function Re(pt){const{err:Oe,subject:Te}=pt;Te.error(Oe)}var it=f(9112),wt=f(8071),Ge=f(1439),Ve=f(9193),Be=f(5758),K=f(9412),ze=f(2759),ft=f(9105);function yt(pt,Oe,Te){return Te?yt(pt,Oe).pipe((0,nt.U)(Je=>(0,Ot.k)(Je)?Te(...Je):Te(Je))):new s.y(Je=>{const dt=(...Q)=>Je.next(1===Q.length?Q[0]:Q);let Pt;try{Pt=pt(dt)}catch(Q){return void Je.error(Q)}if((0,ft.m)(Oe))return()=>Oe(dt,Pt)})}function We(pt,Oe,Te,Je,dt){let Pt,Q;return 1==arguments.length?(Q=pt.initialState,Oe=pt.condition,Te=pt.iterate,Pt=pt.resultSelector||te.y,dt=pt.scheduler):void 0===Je||(0,Ye.K)(Je)?(Q=pt,Pt=te.y,dt=Je):(Q=pt,Pt=Je),new s.y(ve=>{let U=Q;if(dt)return dt.schedule(D,0,{subscriber:ve,iterate:Te,condition:Oe,resultSelector:Pt,state:U});for(;;){if(Oe){let Ue;try{Ue=Oe(U)}catch(_t){return void ve.error(_t)}if(!Ue){ve.complete();break}}let ye;try{ye=Pt(U)}catch(Ue){return void ve.error(Ue)}if(ve.next(ye),ve.closed)break;try{U=Te(U)}catch(Ue){return void ve.error(Ue)}}})}function D(pt){const{subscriber:Oe,condition:Te}=pt;if(Oe.closed)return;if(pt.needIterate)try{pt.state=pt.iterate(pt.state)}catch(dt){return void Oe.error(dt)}else pt.needIterate=!0;if(Te){let dt;try{dt=Te(pt.state)}catch(Pt){return void Oe.error(Pt)}if(!dt)return void Oe.complete();if(Oe.closed)return}let Je;try{Je=pt.resultSelector(pt.state)}catch(dt){return void Oe.error(dt)}return Oe.closed||(Oe.next(Je),Oe.closed)?void 0:this.schedule(pt)}function I(pt,Oe=Ve.E,Te=Ve.E){return(0,Ge.P)(()=>pt()?Oe:Te)}var w=f(6561);function oe(pt=0,Oe=_e.P){return(!(0,w.k)(pt)||pt<0)&&(pt=0),(!Oe||"function"!=typeof Oe.schedule)&&(Oe=_e.P),new s.y(Te=>(Te.add(Oe.schedule(F,pt,{subscriber:Te,counter:0,period:pt})),Te))}function F(pt){const{subscriber:Oe,counter:Te,period:Je}=pt;Oe.next(Te),this.schedule({subscriber:Oe,counter:Te+1,period:Je},Je)}var X=f(6682);const Pe=new s.y(W.Z);function mt(){return Pe}var Ct=f(5917);function Rt(...pt){if(0===pt.length)return Ve.E;const[Oe,...Te]=pt;return 1===pt.length&&(0,Ot.k)(Oe)?Rt(...Oe):new s.y(Je=>{const dt=()=>Je.add(Rt(...Te).subscribe(Je));return(0,K.D)(Oe).subscribe({next(Pt){Je.next(Pt)},error:dt,complete:dt})})}function Nt(pt,Oe){return new s.y(Oe?Te=>{const Je=Object.keys(pt),dt=new m.w;return dt.add(Oe.schedule(zt,0,{keys:Je,index:0,subscriber:Te,subscription:dt,obj:pt})),dt}:Te=>{const Je=Object.keys(pt);for(let dt=0;dt<Je.length&&!Te.closed;dt++){const Pt=Je[dt];pt.hasOwnProperty(Pt)&&Te.next([Pt,pt[Pt]])}Te.complete()})}function zt(pt){const{keys:Oe,index:Te,subscriber:Je,subscription:dt,obj:Pt}=pt;if(!Je.closed)if(Te<Oe.length){const Q=Oe[Te];Je.next([Q,Pt[Q]]),dt.add(this.schedule({keys:Oe,index:Te+1,subscriber:Je,subscription:dt,obj:Pt}))}else Je.complete()}function Qt(pt,Oe){function Te(){return!Te.pred.apply(Te.thisArg,arguments)}return Te.pred=pt,Te.thisArg=Oe,Te}var At=f(7444),Lt=f(5435);function jt(pt,Oe,Te){return[(0,Lt.h)(Oe,Te)(new s.y((0,At.s)(pt))),(0,Lt.h)(Qt(Oe,Te))(new s.y((0,At.s)(pt)))]}var _n=f(6693),Ke=f(5866),St=f(509);function O(...pt){if(1===pt.length){if(!(0,Ot.k)(pt[0]))return pt[0];pt=pt[0]}return(0,_n.n)(pt,void 0).lift(new j)}class j{call(Oe,Te){return Te.subscribe(new N(Oe))}}class N extends Ke.L{constructor(Oe){super(Oe),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(Oe){this.observables.push(Oe)}_complete(){const Oe=this.observables,Te=Oe.length;if(0===Te)this.destination.complete();else{for(let Je=0;Je<Te&&!this.hasFirst;Je++){const Pt=(0,St.D)(this,Oe[Je],void 0,Je);this.subscriptions&&this.subscriptions.push(Pt),this.add(Pt)}this.observables=null}}notifyNext(Oe,Te,Je){if(!this.hasFirst){this.hasFirst=!0;for(let dt=0;dt<this.subscriptions.length;dt++)if(dt!==Je){let Pt=this.subscriptions[dt];Pt.unsubscribe(),this.remove(Pt)}this.subscriptions=null}this.destination.next(Te)}}function Ee(pt=0,Oe,Te){return new s.y(Je=>{void 0===Oe&&(Oe=pt,pt=0);let dt=0,Pt=pt;if(Te)return Te.schedule(Ce,0,{index:dt,count:Oe,start:pt,subscriber:Je});for(;;){if(dt++>=Oe){Je.complete();break}if(Je.next(Pt++),Je.closed)break}})}function Ce(pt){const{start:Oe,index:Te,count:Je,subscriber:dt}=pt;Te>=Je?dt.complete():(dt.next(Oe),!dt.closed&&(pt.index=Te+1,pt.start=Oe+1,this.schedule(pt)))}var V=f(205),z=f(6797);function S(pt,Oe){return new s.y(Te=>{let Je,dt;try{Je=pt()}catch(ve){return void Te.error(ve)}try{dt=Oe(Je)}catch(ve){return void Te.error(ve)}const Q=(dt?(0,K.D)(dt):Ve.E).subscribe(Te);return()=>{Q.unsubscribe(),Je&&Je.unsubscribe()}})}var q=f(377),tt=f(5345);function gt(...pt){const Oe=pt[pt.length-1];return"function"==typeof Oe&&pt.pop(),(0,_n.n)(pt,void 0).lift(new Ht(Oe))}class Ht{constructor(Oe){this.resultSelector=Oe}call(Oe,Te){return Te.subscribe(new dn(Oe,this.resultSelector))}}class dn extends je.L{constructor(Oe,Te,Je=Object.create(null)){super(Oe),this.resultSelector=Te,this.iterators=[],this.active=0,this.resultSelector="function"==typeof Te?Te:void 0}_next(Oe){const Te=this.iterators;(0,Ot.k)(Oe)?Te.push(new an(Oe)):Te.push("function"==typeof Oe[q.hZ]?new cn(Oe[q.hZ]()):new un(this.destination,this,Oe))}_complete(){const Oe=this.iterators,Te=Oe.length;if(this.unsubscribe(),0!==Te){this.active=Te;for(let Je=0;Je<Te;Je++){let dt=Oe[Je];dt.stillUnsubscribed?this.destination.add(dt.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const Oe=this.iterators,Te=Oe.length,Je=this.destination;for(let Q=0;Q<Te;Q++){let ve=Oe[Q];if("function"==typeof ve.hasValue&&!ve.hasValue())return}let dt=!1;const Pt=[];for(let Q=0;Q<Te;Q++){let ve=Oe[Q],U=ve.next();if(ve.hasCompleted()&&(dt=!0),U.done)return void Je.complete();Pt.push(U.value)}this.resultSelector?this._tryresultSelector(Pt):Je.next(Pt),dt&&Je.complete()}_tryresultSelector(Oe){let Te;try{Te=this.resultSelector.apply(this,Oe)}catch(Je){return void this.destination.error(Je)}this.destination.next(Te)}}class cn{constructor(Oe){this.iterator=Oe,this.nextResult=Oe.next()}hasValue(){return!0}next(){const Oe=this.nextResult;return this.nextResult=this.iterator.next(),Oe}hasCompleted(){const Oe=this.nextResult;return Boolean(Oe&&Oe.done)}}class an{constructor(Oe){this.array=Oe,this.index=0,this.length=0,this.length=Oe.length}[q.hZ](){return this}next(Oe){const Te=this.index++;return Te<this.length?{value:this.array[Te],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class un extends tt.Ds{constructor(Oe,Te,Je){super(Oe),this.parent=Te,this.observable=Je,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[q.hZ](){return this}next(){const Oe=this.buffer;return 0===Oe.length&&this.isComplete?{value:null,done:!0}:{value:Oe.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(Oe){this.buffer.push(Oe),this.parent.checkIterators()}subscribe(){return(0,tt.ft)(this.observable,new tt.IY(this))}}var wn=f(1115),yn=f(2494)},6215:(Qe,re,f)=>{"use strict";f.d(re,{X:()=>m});var s=f(9765),c=f(7971);class m extends s.xQ{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const L=super._subscribe(l);return L&&!L.closed&&l.next(this._value),L}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.N;return this._value}next(l){super.next(this._value=l)}}},3098:(Qe,re,f)=>{"use strict";f.d(re,{W:()=>C,P:()=>l});var s=f(9193),c=f(5917),m=f(205),C=(()=>{return(L=C||(C={})).NEXT="N",L.ERROR="E",L.COMPLETE="C",C;var L})();class l{constructor(Z,k,M){this.kind=Z,this.value=k,this.error=M,this.hasValue="N"===Z}observe(Z){switch(this.kind){case"N":return Z.next&&Z.next(this.value);case"E":return Z.error&&Z.error(this.error);case"C":return Z.complete&&Z.complete()}}do(Z,k,M){switch(this.kind){case"N":return Z&&Z(this.value);case"E":return k&&k(this.error);case"C":return M&&M()}}accept(Z,k,M){return Z&&"function"==typeof Z.next?this.observe(Z):this.do(Z,k,M)}toObservable(){switch(this.kind){case"N":return(0,c.of)(this.value);case"E":return(0,m._)(this.error);case"C":return(0,s.c)()}throw new Error("unexpected notification kind value")}static createNext(Z){return void 0!==Z?new l("N",Z):l.undefinedValueNotification}static createError(Z){return new l("E",void 0,Z)}static createComplete(){return l.completeNotification}}l.completeNotification=new l("C"),l.undefinedValueNotification=new l("N",void 0)},9897:(Qe,re,f)=>{"use strict";f.d(re,{y:()=>M});var s=f(3179),c=f(7393),m=f(9181),C=f(6490),L=f(6554),Z=f(4022),k=f(2494);let M=(()=>{class H{constructor(ce){this._isScalar=!1,ce&&(this._subscribe=ce)}lift(ce){const he=new H;return he.source=this,he.operator=ce,he}subscribe(ce,he,ne){const{operator:_e}=this,be=function(H,Y,ce){if(H){if(H instanceof c.L)return H;if(H[m.b])return H[m.b]()}return H||Y||ce?new c.L(H,Y,ce):new c.L(C.c)}(ce,he,ne);if(be.add(_e?_e.call(be,this.source):this.source||k.v.useDeprecatedSynchronousErrorHandling&&!be.syncErrorThrowable?this._subscribe(be):this._trySubscribe(be)),k.v.useDeprecatedSynchronousErrorHandling&&be.syncErrorThrowable&&(be.syncErrorThrowable=!1,be.syncErrorThrown))throw be.syncErrorValue;return be}_trySubscribe(ce){try{return this._subscribe(ce)}catch(he){k.v.useDeprecatedSynchronousErrorHandling&&(ce.syncErrorThrown=!0,ce.syncErrorValue=he),(0,s._)(ce)?ce.error(he):console.warn(he)}}forEach(ce,he){return new(he=G(he))((ne,_e)=>{let be;be=this.subscribe(Le=>{try{ce(Le)}catch(at){_e(at),be&&be.unsubscribe()}},_e,ne)})}_subscribe(ce){const{source:he}=this;return he&&he.subscribe(ce)}[L.L](){return this}pipe(...ce){return 0===ce.length?this:(0,Z.U)(ce)(this)}toPromise(ce){return new(ce=G(ce))((he,ne)=>{let _e;this.subscribe(be=>_e=be,be=>ne(be),()=>he(_e))})}}return H.create=Y=>new H(Y),H})();function G(H){if(H||(H=k.v.Promise||Promise),!H)throw new Error("no Promise impl found");return H}},6490:(Qe,re,f)=>{"use strict";f.d(re,{c:()=>m});var s=f(2494),c=f(4449);const m={closed:!0,next(C){},error(C){if(s.v.useDeprecatedSynchronousErrorHandling)throw C;(0,c.z)(C)},complete(){}}},5866:(Qe,re,f)=>{"use strict";f.d(re,{L:()=>c});var s=f(7393);class c extends s.L{notifyNext(C,l,L,Z,k){this.destination.next(l)}notifyError(C,l){this.destination.error(C)}notifyComplete(C){this.destination.complete()}}},4448:(Qe,re,f)=>{"use strict";f.d(re,{t:()=>Y});var s=f(9765),c=f(7771),m=f(826),C=f(7393),l=f(3098);class k extends C.L{constructor(ne,_e,be=0){super(ne),this.scheduler=_e,this.delay=be}static dispatch(ne){const{notification:_e,destination:be}=ne;_e.observe(be),this.unsubscribe()}scheduleMessage(ne){this.destination.add(this.scheduler.schedule(k.dispatch,this.delay,new M(ne,this.destination)))}_next(ne){this.scheduleMessage(l.P.createNext(ne))}_error(ne){this.scheduleMessage(l.P.createError(ne)),this.unsubscribe()}_complete(){this.scheduleMessage(l.P.createComplete()),this.unsubscribe()}}class M{constructor(ne,_e){this.notification=ne,this.destination=_e}}var G=f(7971),H=f(8858);class Y extends s.xQ{constructor(ne=Number.POSITIVE_INFINITY,_e=Number.POSITIVE_INFINITY,be){super(),this.scheduler=be,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=ne<1?1:ne,this._windowTime=_e<1?1:_e,_e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(ne){if(!this.isStopped){const _e=this._events;_e.push(ne),_e.length>this._bufferSize&&_e.shift()}super.next(ne)}nextTimeWindow(ne){this.isStopped||(this._events.push(new ce(this._getNow(),ne)),this._trimBufferThenGetEvents()),super.next(ne)}_subscribe(ne){const _e=this._infiniteTimeWindow,be=_e?this._events:this._trimBufferThenGetEvents(),Le=this.scheduler,at=be.length;let Mt;if(this.closed)throw new G.N;if(this.isStopped||this.hasError?Mt=m.w.EMPTY:(this.observers.push(ne),Mt=new H.W(this,ne)),Le&&ne.add(ne=new k(ne,Le)),_e)for(let st=0;st<at&&!ne.closed;st++)ne.next(be[st]);else for(let st=0;st<at&&!ne.closed;st++)ne.next(be[st].value);return this.hasError?ne.error(this.thrownError):this.isStopped&&ne.complete(),Mt}_getNow(){return(this.scheduler||c.c).now()}_trimBufferThenGetEvents(){const ne=this._getNow(),_e=this._bufferSize,be=this._windowTime,Le=this._events,at=Le.length;let Mt=0;for(;Mt<at&&!(ne-Le[Mt].time<be);)Mt++;return at>_e&&(Mt=Math.max(Mt,at-_e)),Mt>0&&Le.splice(0,Mt),Le}}class ce{constructor(ne,_e){this.time=ne,this.value=_e}}},2217:(Qe,re,f)=>{"use strict";f.d(re,{b:()=>s});let s=(()=>{class c{constructor(C,l=c.now){this.SchedulerAction=C,this.now=l}schedule(C,l=0,L){return new this.SchedulerAction(this,C).schedule(L,l)}}return c.now=()=>Date.now(),c})()},9765:(Qe,re,f)=>{"use strict";f.d(re,{Yc:()=>Z,xQ:()=>k});var s=f(9897),c=f(7393),m=f(826),C=f(7971),l=f(8858),L=f(9181);class Z extends c.L{constructor(H){super(H),this.destination=H}}let k=(()=>{class G extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[L.b](){return new Z(this)}lift(Y){const ce=new M(this,this);return ce.operator=Y,ce}next(Y){if(this.closed)throw new C.N;if(!this.isStopped){const{observers:ce}=this,he=ce.length,ne=ce.slice();for(let _e=0;_e<he;_e++)ne[_e].next(Y)}}error(Y){if(this.closed)throw new C.N;this.hasError=!0,this.thrownError=Y,this.isStopped=!0;const{observers:ce}=this,he=ce.length,ne=ce.slice();for(let _e=0;_e<he;_e++)ne[_e].error(Y);this.observers.length=0}complete(){if(this.closed)throw new C.N;this.isStopped=!0;const{observers:Y}=this,ce=Y.length,he=Y.slice();for(let ne=0;ne<ce;ne++)he[ne].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(Y){if(this.closed)throw new C.N;return super._trySubscribe(Y)}_subscribe(Y){if(this.closed)throw new C.N;return this.hasError?(Y.error(this.thrownError),m.w.EMPTY):this.isStopped?(Y.complete(),m.w.EMPTY):(this.observers.push(Y),new l.W(this,Y))}asObservable(){const Y=new s.y;return Y.source=this,Y}}return G.create=(H,Y)=>new M(H,Y),G})();class M extends k{constructor(H,Y){super(),this.destination=H,this.source=Y}next(H){const{destination:Y}=this;Y&&Y.next&&Y.next(H)}error(H){const{destination:Y}=this;Y&&Y.error&&this.destination.error(H)}complete(){const{destination:H}=this;H&&H.complete&&this.destination.complete()}_subscribe(H){const{source:Y}=this;return Y?this.source.subscribe(H):m.w.EMPTY}}},8858:(Qe,re,f)=>{"use strict";f.d(re,{W:()=>c});var s=f(826);class c extends s.w{constructor(C,l){super(),this.subject=C,this.subscriber=l,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const C=this.subject,l=C.observers;if(this.subject=null,!l||0===l.length||C.isStopped||C.closed)return;const L=l.indexOf(this.subscriber);-1!==L&&l.splice(L,1)}}},7393:(Qe,re,f)=>{"use strict";f.d(re,{L:()=>Z});var s=f(9105),c=f(6490),m=f(826),C=f(9181),l=f(2494),L=f(4449);class Z extends m.w{constructor(G,H,Y){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=c.c;break;case 1:if(!G){this.destination=c.c;break}if("object"==typeof G){G instanceof Z?(this.syncErrorThrowable=G.syncErrorThrowable,this.destination=G,G.add(this)):(this.syncErrorThrowable=!0,this.destination=new k(this,G));break}default:this.syncErrorThrowable=!0,this.destination=new k(this,G,H,Y)}}[C.b](){return this}static create(G,H,Y){const ce=new Z(G,H,Y);return ce.syncErrorThrowable=!1,ce}next(G){this.isStopped||this._next(G)}error(G){this.isStopped||(this.isStopped=!0,this._error(G))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(G){this.destination.next(G)}_error(G){this.destination.error(G),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:G}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=G,this}}class k extends Z{constructor(G,H,Y,ce){super(),this._parentSubscriber=G;let he,ne=this;(0,s.m)(H)?he=H:H&&(he=H.next,Y=H.error,ce=H.complete,H!==c.c&&(ne=Object.create(H),(0,s.m)(ne.unsubscribe)&&this.add(ne.unsubscribe.bind(ne)),ne.unsubscribe=this.unsubscribe.bind(this))),this._context=ne,this._next=he,this._error=Y,this._complete=ce}next(G){if(!this.isStopped&&this._next){const{_parentSubscriber:H}=this;l.v.useDeprecatedSynchronousErrorHandling&&H.syncErrorThrowable?this.__tryOrSetError(H,this._next,G)&&this.unsubscribe():this.__tryOrUnsub(this._next,G)}}error(G){if(!this.isStopped){const{_parentSubscriber:H}=this,{useDeprecatedSynchronousErrorHandling:Y}=l.v;if(this._error)Y&&H.syncErrorThrowable?(this.__tryOrSetError(H,this._error,G),this.unsubscribe()):(this.__tryOrUnsub(this._error,G),this.unsubscribe());else if(H.syncErrorThrowable)Y?(H.syncErrorValue=G,H.syncErrorThrown=!0):(0,L.z)(G),this.unsubscribe();else{if(this.unsubscribe(),Y)throw G;(0,L.z)(G)}}}complete(){if(!this.isStopped){const{_parentSubscriber:G}=this;if(this._complete){const H=()=>this._complete.call(this._context);l.v.useDeprecatedSynchronousErrorHandling&&G.syncErrorThrowable?(this.__tryOrSetError(G,H),this.unsubscribe()):(this.__tryOrUnsub(H),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(G,H){try{G.call(this._context,H)}catch(Y){if(this.unsubscribe(),l.v.useDeprecatedSynchronousErrorHandling)throw Y;(0,L.z)(Y)}}__tryOrSetError(G,H,Y){if(!l.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{H.call(this._context,Y)}catch(ce){return l.v.useDeprecatedSynchronousErrorHandling?(G.syncErrorValue=ce,G.syncErrorThrown=!0,!0):((0,L.z)(ce),!0)}return!1}_unsubscribe(){const{_parentSubscriber:G}=this;this._context=null,this._parentSubscriber=null,G.unsubscribe()}}},826:(Qe,re,f)=>{"use strict";f.d(re,{w:()=>l});var Z,s=f(9796),c=f(1555),m=f(9105),C=f(7744);class l{constructor(k){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,k&&(this._ctorUnsubscribe=!0,this._unsubscribe=k)}unsubscribe(){let k;if(this.closed)return;let{_parentOrParents:M,_ctorUnsubscribe:G,_unsubscribe:H,_subscriptions:Y}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,M instanceof l)M.remove(this);else if(null!==M)for(let ce=0;ce<M.length;++ce)M[ce].remove(this);if((0,m.m)(H)){G&&(this._unsubscribe=void 0);try{H.call(this)}catch(ce){k=ce instanceof C.B?L(ce.errors):[ce]}}if((0,s.k)(Y)){let ce=-1,he=Y.length;for(;++ce<he;){const ne=Y[ce];if((0,c.K)(ne))try{ne.unsubscribe()}catch(_e){k=k||[],_e instanceof C.B?k=k.concat(L(_e.errors)):k.push(_e)}}}if(k)throw new C.B(k)}add(k){let M=k;if(!k)return l.EMPTY;switch(typeof k){case"function":M=new l(k);case"object":if(M===this||M.closed||"function"!=typeof M.unsubscribe)return M;if(this.closed)return M.unsubscribe(),M;if(!(M instanceof l)){const Y=M;M=new l,M._subscriptions=[Y]}break;default:throw new Error("unrecognized teardown "+k+" added to Subscription.")}let{_parentOrParents:G}=M;if(null===G)M._parentOrParents=this;else if(G instanceof l){if(G===this)return M;M._parentOrParents=[G,this]}else{if(-1!==G.indexOf(this))return M;G.push(this)}const H=this._subscriptions;return null===H?this._subscriptions=[M]:H.push(M),M}remove(k){const M=this._subscriptions;if(M){const G=M.indexOf(k);-1!==G&&M.splice(G,1)}}}function L(Z){return Z.reduce((k,M)=>k.concat(M instanceof C.B?M.errors:M),[])}l.EMPTY=((Z=new l).closed=!0,Z)},2494:(Qe,re,f)=>{"use strict";f.d(re,{v:()=>c});let s=!1;const c={Promise:void 0,set useDeprecatedSynchronousErrorHandling(m){if(m){const C=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+C.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=m},get useDeprecatedSynchronousErrorHandling(){return s}}},5345:(Qe,re,f)=>{"use strict";f.d(re,{IY:()=>C,Ds:()=>L,ft:()=>k});var s=f(7393),c=f(9897),m=f(7444);class C extends s.L{constructor(G){super(),this.parent=G}_next(G){this.parent.notifyNext(G)}_error(G){this.parent.notifyError(G),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class L extends s.L{notifyNext(G){this.destination.next(G)}notifyError(G){this.destination.error(G)}notifyComplete(){this.destination.complete()}}function k(M,G){if(G.closed)return;if(M instanceof c.y)return M.subscribe(G);let H;try{H=(0,m.s)(M)(G)}catch(Y){G.error(Y)}return H}},2441:(Qe,re,f)=>{"use strict";f.d(re,{c:()=>l,N:()=>L});var s=f(9765),c=f(9897),m=f(826),C=f(1307);class l extends c.y{constructor(H,Y){super(),this.source=H,this.subjectFactory=Y,this._refCount=0,this._isComplete=!1}_subscribe(H){return this.getSubject().subscribe(H)}getSubject(){const H=this._subject;return(!H||H.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let H=this._connection;return H||(this._isComplete=!1,H=this._connection=new m.w,H.add(this.source.subscribe(new Z(this.getSubject(),this))),H.closed&&(this._connection=null,H=m.w.EMPTY)),H}refCount(){return(0,C.x)()(this)}}const L=(()=>{const G=l.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:G._subscribe},_isComplete:{value:G._isComplete,writable:!0},getSubject:{value:G.getSubject},connect:{value:G.connect},refCount:{value:G.refCount}}})();class Z extends s.Yc{constructor(H,Y){super(H),this.connectable=Y}_error(H){this._unsubscribe(),super._error(H)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const H=this.connectable;if(H){this.connectable=null;const Y=H._connection;H._refCount=0,H._subject=null,H._connection=null,Y&&Y.unsubscribe()}}}},9112:(Qe,re,f)=>{"use strict";f.d(re,{aj:()=>Z});var s=f(4869),c=f(9796),m=f(5866),C=f(509),l=f(6693);const L={};function Z(...G){let H,Y;return(0,s.K)(G[G.length-1])&&(Y=G.pop()),"function"==typeof G[G.length-1]&&(H=G.pop()),1===G.length&&(0,c.k)(G[0])&&(G=G[0]),(0,l.n)(G,Y).lift(new k(H))}class k{constructor(H){this.resultSelector=H}call(H,Y){return Y.subscribe(new M(H,this.resultSelector))}}class M extends m.L{constructor(H,Y){super(H),this.resultSelector=Y,this.active=0,this.values=[],this.observables=[]}_next(H){this.values.push(L),this.observables.push(H)}_complete(){const H=this.observables,Y=H.length;if(0===Y)this.destination.complete();else{this.active=Y,this.toRespond=Y;for(let ce=0;ce<Y;ce++)this.add((0,C.D)(this,H[ce],void 0,ce))}}notifyComplete(H){0==(this.active-=1)&&this.destination.complete()}notifyNext(H,Y,ce){const he=this.values,_e=this.toRespond?he[ce]===L?--this.toRespond:this.toRespond:0;he[ce]=Y,0===_e&&(this.resultSelector?this._tryResultSelector(he):this.destination.next(he.slice()))}_tryResultSelector(H){let Y;try{Y=this.resultSelector.apply(this,H)}catch(ce){return void this.destination.error(ce)}this.destination.next(Y)}}},8071:(Qe,re,f)=>{"use strict";f.d(re,{z:()=>C});var s=f(5917),c=f(3282);function C(...l){return(0,c.J)(1)((0,s.of)(...l))}},1439:(Qe,re,f)=>{"use strict";f.d(re,{P:()=>C});var s=f(9897),c=f(9412),m=f(9193);function C(l){return new s.y(L=>{let Z;try{Z=l()}catch(M){return void L.error(M)}return(Z?(0,c.D)(Z):(0,m.c)()).subscribe(L)})}},9193:(Qe,re,f)=>{"use strict";f.d(re,{E:()=>c,c:()=>m});var s=f(9897);const c=new s.y(l=>l.complete());function m(l){return l?function(l){return new s.y(L=>l.schedule(()=>L.complete()))}(l):c}},5758:(Qe,re,f)=>{"use strict";f.d(re,{D:()=>L});var s=f(9897),c=f(9796),m=f(8002),C=f(1555),l=f(9412);function L(...k){if(1===k.length){const M=k[0];if((0,c.k)(M))return Z(M,null);if((0,C.K)(M)&&Object.getPrototypeOf(M)===Object.prototype){const G=Object.keys(M);return Z(G.map(H=>M[H]),G)}}if("function"==typeof k[k.length-1]){const M=k.pop();return Z(k=1===k.length&&(0,c.k)(k[0])?k[0]:k,null).pipe((0,m.U)(G=>M(...G)))}return Z(k,null)}function Z(k,M){return new s.y(G=>{const H=k.length;if(0===H)return void G.complete();const Y=new Array(H);let ce=0,he=0;for(let ne=0;ne<H;ne++){const _e=(0,l.D)(k[ne]);let be=!1;G.add(_e.subscribe({next:Le=>{be||(be=!0,he++),Y[ne]=Le},error:Le=>G.error(Le),complete:()=>{ce++,(ce===H||!be)&&(he===H&&G.next(M?M.reduce((Le,at,Mt)=>(Le[at]=Y[Mt],Le),{}):Y),G.complete())}}))}})}},9412:(Qe,re,f)=>{"use strict";f.d(re,{D:()=>C});var s=f(9897),c=f(7444),m=f(1115);function C(l,L){return L?(0,m.x)(l,L):l instanceof s.y?l:new s.y((0,c.s)(l))}},6693:(Qe,re,f)=>{"use strict";f.d(re,{n:()=>C});var s=f(9897),c=f(5015),m=f(4087);function C(l,L){return L?(0,m.r)(l,L):new s.y((0,c.V)(l))}},2759:(Qe,re,f)=>{"use strict";f.d(re,{R:()=>L});var s=f(9897),c=f(9796),m=f(9105),C=f(8002);function L(H,Y,ce,he){return(0,m.m)(ce)&&(he=ce,ce=void 0),he?L(H,Y,ce).pipe((0,C.U)(ne=>(0,c.k)(ne)?he(...ne):he(ne))):new s.y(ne=>{Z(H,Y,function(be){ne.next(arguments.length>1?Array.prototype.slice.call(arguments):be)},ne,ce)})}function Z(H,Y,ce,he,ne){let _e;if(function(H){return H&&"function"==typeof H.addEventListener&&"function"==typeof H.removeEventListener}(H)){const be=H;H.addEventListener(Y,ce,ne),_e=()=>be.removeEventListener(Y,ce,ne)}else if(function(H){return H&&"function"==typeof H.on&&"function"==typeof H.off}(H)){const be=H;H.on(Y,ce),_e=()=>be.off(Y,ce)}else if(function(H){return H&&"function"==typeof H.addListener&&"function"==typeof H.removeListener}(H)){const be=H;H.addListener(Y,ce),_e=()=>be.removeListener(Y,ce)}else{if(!H||!H.length)throw new TypeError("Invalid event target");for(let be=0,Le=H.length;be<Le;be++)Z(H[be],Y,ce,he,ne)}he.add(_e)}},6682:(Qe,re,f)=>{"use strict";f.d(re,{T:()=>l});var s=f(9897),c=f(4869),m=f(3282),C=f(6693);function l(...L){let Z=Number.POSITIVE_INFINITY,k=null,M=L[L.length-1];return(0,c.K)(M)?(k=L.pop(),L.length>1&&"number"==typeof L[L.length-1]&&(Z=L.pop())):"number"==typeof M&&(Z=L.pop()),null===k&&1===L.length&&L[0]instanceof s.y?L[0]:(0,m.J)(Z)((0,C.n)(L,k))}},5917:(Qe,re,f)=>{"use strict";f.d(re,{of:()=>C});var s=f(4869),c=f(6693),m=f(4087);function C(...l){let L=l[l.length-1];return(0,s.K)(L)?(l.pop(),(0,m.r)(l,L)):(0,c.n)(l)}},205:(Qe,re,f)=>{"use strict";f.d(re,{_:()=>c});var s=f(9897);function c(C,l){return new s.y(l?L=>l.schedule(m,0,{error:C,subscriber:L}):L=>L.error(C))}function m({error:C,subscriber:l}){l.error(C)}},6797:(Qe,re,f)=>{"use strict";f.d(re,{H:()=>l});var s=f(9897),c=f(3637),m=f(6561),C=f(4869);function l(Z=0,k,M){let G=-1;return(0,m.k)(k)?G=Number(k)<1?1:Number(k):(0,C.K)(k)&&(M=k),(0,C.K)(M)||(M=c.P),new s.y(H=>{const Y=(0,m.k)(Z)?Z:+Z-M.now();return M.schedule(L,Y,{index:0,period:G,subscriber:H})})}function L(Z){const{index:k,period:M,subscriber:G}=Z;if(G.next(k),!G.closed){if(-1===M)return G.complete();Z.index=k+1,this.schedule(Z,M)}}},4395:(Qe,re,f)=>{"use strict";f.d(re,{b:()=>m});var s=f(7393),c=f(3637);function m(Z,k=c.P){return M=>M.lift(new C(Z,k))}class C{constructor(k,M){this.dueTime=k,this.scheduler=M}call(k,M){return M.subscribe(new l(k,this.dueTime,this.scheduler))}}class l extends s.L{constructor(k,M,G){super(k),this.dueTime=M,this.scheduler=G,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(k){this.clearDebounce(),this.lastValue=k,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(L,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:k}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(k)}}clearDebounce(){const k=this.debouncedSubscription;null!==k&&(this.remove(k),k.unsubscribe(),this.debouncedSubscription=null)}}function L(Z){Z.debouncedNext()}},7519:(Qe,re,f)=>{"use strict";f.d(re,{x:()=>c});var s=f(7393);function c(l,L){return Z=>Z.lift(new m(l,L))}class m{constructor(L,Z){this.compare=L,this.keySelector=Z}call(L,Z){return Z.subscribe(new C(L,this.compare,this.keySelector))}}class C extends s.L{constructor(L,Z,k){super(L),this.keySelector=k,this.hasKey=!1,"function"==typeof Z&&(this.compare=Z)}compare(L,Z){return L===Z}_next(L){let Z;try{const{keySelector:M}=this;Z=M?M(L):L}catch(M){return this.destination.error(M)}let k=!1;if(this.hasKey)try{const{compare:M}=this;k=M(this.key,Z)}catch(M){return this.destination.error(M)}else this.hasKey=!0;k||(this.key=Z,this.destination.next(L))}}},5435:(Qe,re,f)=>{"use strict";f.d(re,{h:()=>c});var s=f(7393);function c(l,L){return function(k){return k.lift(new m(l,L))}}class m{constructor(L,Z){this.predicate=L,this.thisArg=Z}call(L,Z){return Z.subscribe(new C(L,this.predicate,this.thisArg))}}class C extends s.L{constructor(L,Z,k){super(L),this.predicate=Z,this.thisArg=k,this.count=0}_next(L){let Z;try{Z=this.predicate.call(this.thisArg,L,this.count++)}catch(k){return void this.destination.error(k)}Z&&this.destination.next(L)}}},8002:(Qe,re,f)=>{"use strict";f.d(re,{U:()=>c});var s=f(7393);function c(l,L){return function(k){if("function"!=typeof l)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return k.lift(new m(l,L))}}class m{constructor(L,Z){this.project=L,this.thisArg=Z}call(L,Z){return Z.subscribe(new C(L,this.project,this.thisArg))}}class C extends s.L{constructor(L,Z,k){super(L),this.project=Z,this.count=0,this.thisArg=k||this}_next(L){let Z;try{Z=this.project.call(this.thisArg,L,this.count++)}catch(k){return void this.destination.error(k)}this.destination.next(Z)}}},3282:(Qe,re,f)=>{"use strict";f.d(re,{J:()=>m});var s=f(9773),c=f(4487);function m(C=Number.POSITIVE_INFINITY){return(0,s.zg)(c.y,C)}},9773:(Qe,re,f)=>{"use strict";f.d(re,{zg:()=>C});var s=f(8002),c=f(9412),m=f(5345);function C(k,M,G=Number.POSITIVE_INFINITY){return"function"==typeof M?H=>H.pipe(C((Y,ce)=>(0,c.D)(k(Y,ce)).pipe((0,s.U)((he,ne)=>M(Y,he,ce,ne))),G)):("number"==typeof M&&(G=M),H=>H.lift(new l(k,G)))}class l{constructor(M,G=Number.POSITIVE_INFINITY){this.project=M,this.concurrent=G}call(M,G){return G.subscribe(new L(M,this.project,this.concurrent))}}class L extends m.Ds{constructor(M,G,H=Number.POSITIVE_INFINITY){super(M),this.project=G,this.concurrent=H,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(M){this.active<this.concurrent?this._tryNext(M):this.buffer.push(M)}_tryNext(M){let G;const H=this.index++;try{G=this.project(M,H)}catch(Y){return void this.destination.error(Y)}this.active++,this._innerSub(G)}_innerSub(M){const G=new m.IY(this),H=this.destination;H.add(G);const Y=(0,m.ft)(M,G);Y!==G&&H.add(Y)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(M){this.destination.next(M)}notifyComplete(){const M=this.buffer;this.active--,M.length>0?this._next(M.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:(Qe,re,f)=>{"use strict";f.d(re,{x:()=>c});var s=f(7393);function c(){return function(L){return L.lift(new m(L))}}class m{constructor(L){this.connectable=L}call(L,Z){const{connectable:k}=this;k._refCount++;const M=new C(L,k),G=Z.subscribe(M);return M.closed||(M.connection=k.connect()),G}}class C extends s.L{constructor(L,Z){super(L),this.connectable=Z}_unsubscribe(){const{connectable:L}=this;if(!L)return void(this.connection=null);this.connectable=null;const Z=L._refCount;if(Z<=0)return void(this.connection=null);if(L._refCount=Z-1,Z>1)return void(this.connection=null);const{connection:k}=this,M=L._connection;this.connection=null,M&&(!k||M===k)&&M.unsubscribe()}}},8819:(Qe,re,f)=>{"use strict";f.d(re,{B:()=>Z});var s=f(2441);var C=f(1307),l=f(9765);function L(){return new l.xQ}function Z(){return k=>(0,C.x)()(function(k,M){return function(H){let Y;Y="function"==typeof k?k:function(){return k};const ce=Object.create(H,s.N);return ce.source=H,ce.subjectFactory=Y,ce}}(L)(k))}},3653:(Qe,re,f)=>{"use strict";f.d(re,{T:()=>c});var s=f(7393);function c(l){return L=>L.lift(new m(l))}class m{constructor(L){this.total=L}call(L,Z){return Z.subscribe(new C(L,this.total))}}class C extends s.L{constructor(L,Z){super(L),this.total=Z,this.count=0}_next(L){++this.count>this.total&&this.destination.next(L)}}},9761:(Qe,re,f)=>{"use strict";f.d(re,{O:()=>m});var s=f(8071),c=f(4869);function m(...C){const l=C[C.length-1];return(0,c.K)(l)?(C.pop(),L=>(0,s.z)(C,L,l)):L=>(0,s.z)(C,L)}},3190:(Qe,re,f)=>{"use strict";f.d(re,{w:()=>C});var s=f(8002),c=f(9412),m=f(5345);function C(Z,k){return"function"==typeof k?M=>M.pipe(C((G,H)=>(0,c.D)(Z(G,H)).pipe((0,s.U)((Y,ce)=>k(G,Y,H,ce))))):M=>M.lift(new l(Z))}class l{constructor(k){this.project=k}call(k,M){return M.subscribe(new L(k,this.project))}}class L extends m.Ds{constructor(k,M){super(k),this.project=M,this.index=0}_next(k){let M;const G=this.index++;try{M=this.project(k,G)}catch(H){return void this.destination.error(H)}this._innerSub(M)}_innerSub(k){const M=this.innerSubscription;M&&M.unsubscribe();const G=new m.IY(this),H=this.destination;H.add(G),this.innerSubscription=(0,m.ft)(k,G),this.innerSubscription!==G&&H.add(this.innerSubscription)}_complete(){const{innerSubscription:k}=this;(!k||k.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(k){this.destination.next(k)}}},5257:(Qe,re,f)=>{"use strict";f.d(re,{q:()=>C});var s=f(7393),c=f(7108),m=f(9193);function C(Z){return k=>0===Z?(0,m.c)():k.lift(new l(Z))}class l{constructor(k){if(this.total=k,this.total<0)throw new c.W}call(k,M){return M.subscribe(new L(k,this.total))}}class L extends s.L{constructor(k,M){super(k),this.total=M,this.count=0}_next(k){const M=this.total,G=++this.count;G<=M&&(this.destination.next(k),G===M&&(this.destination.complete(),this.unsubscribe()))}}},6782:(Qe,re,f)=>{"use strict";f.d(re,{R:()=>c});var s=f(5345);function c(l){return L=>L.lift(new m(l))}class m{constructor(L){this.notifier=L}call(L,Z){const k=new C(L),M=(0,s.ft)(this.notifier,new s.IY(k));return M&&!k.seenValue?(k.add(M),Z.subscribe(k)):k}}class C extends s.Ds{constructor(L){super(L),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},8307:(Qe,re,f)=>{"use strict";f.d(re,{b:()=>C});var s=f(7393),c=f(8640),m=f(9105);function C(Z,k,M){return function(H){return H.lift(new l(Z,k,M))}}class l{constructor(k,M,G){this.nextOrObserver=k,this.error=M,this.complete=G}call(k,M){return M.subscribe(new L(k,this.nextOrObserver,this.error,this.complete))}}class L extends s.L{constructor(k,M,G,H){super(k),this._tapNext=c.Z,this._tapError=c.Z,this._tapComplete=c.Z,this._tapError=G||c.Z,this._tapComplete=H||c.Z,(0,m.m)(M)?(this._context=this,this._tapNext=M):M&&(this._context=M,this._tapNext=M.next||c.Z,this._tapError=M.error||c.Z,this._tapComplete=M.complete||c.Z)}_next(k){try{this._tapNext.call(this._context,k)}catch(M){return void this.destination.error(M)}this.destination.next(k)}_error(k){try{this._tapError.call(this._context,k)}catch(M){return void this.destination.error(M)}this.destination.error(k)}_complete(){try{this._tapComplete.call(this._context)}catch(k){return void this.destination.error(k)}return this.destination.complete()}}},4087:(Qe,re,f)=>{"use strict";f.d(re,{r:()=>m});var s=f(9897),c=f(826);function m(C,l){return new s.y(L=>{const Z=new c.w;let k=0;return Z.add(l.schedule(function(){k!==C.length?(L.next(C[k++]),L.closed||Z.add(this.schedule())):L.complete()})),Z})}},1115:(Qe,re,f)=>{"use strict";f.d(re,{x:()=>ce});var s=f(9897),c=f(826),m=f(6554),L=f(4087),Z=f(377),G=f(4072),H=f(9489);function ce(he,ne){if(null!=he){if(function(he){return he&&"function"==typeof he[m.L]}(he))return function(he,ne){return new s.y(_e=>{const be=new c.w;return be.add(ne.schedule(()=>{const Le=he[m.L]();be.add(Le.subscribe({next(at){be.add(ne.schedule(()=>_e.next(at)))},error(at){be.add(ne.schedule(()=>_e.error(at)))},complete(){be.add(ne.schedule(()=>_e.complete()))}}))})),be})}(he,ne);if((0,G.t)(he))return function(he,ne){return new s.y(_e=>{const be=new c.w;return be.add(ne.schedule(()=>he.then(Le=>{be.add(ne.schedule(()=>{_e.next(Le),be.add(ne.schedule(()=>_e.complete()))}))},Le=>{be.add(ne.schedule(()=>_e.error(Le)))}))),be})}(he,ne);if((0,H.z)(he))return(0,L.r)(he,ne);if(function(he){return he&&"function"==typeof he[Z.hZ]}(he)||"string"==typeof he)return function(he,ne){if(!he)throw new Error("Iterable cannot be null");return new s.y(_e=>{const be=new c.w;let Le;return be.add(()=>{Le&&"function"==typeof Le.return&&Le.return()}),be.add(ne.schedule(()=>{Le=he[Z.hZ](),be.add(ne.schedule(function(){if(_e.closed)return;let at,Mt;try{const st=Le.next();at=st.value,Mt=st.done}catch(st){return void _e.error(st)}Mt?_e.complete():(_e.next(at),this.schedule())}))})),be})}(he,ne)}throw new TypeError((null!==he&&typeof he||he)+" is not observable")}},6465:(Qe,re,f)=>{"use strict";f.d(re,{o:()=>m});var s=f(826);class c extends s.w{constructor(l,L){super()}schedule(l,L=0){return this}}class m extends c{constructor(l,L){super(l,L),this.scheduler=l,this.work=L,this.pending=!1}schedule(l,L=0){if(this.closed)return this;this.state=l;const Z=this.id,k=this.scheduler;return null!=Z&&(this.id=this.recycleAsyncId(k,Z,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(k,this.id,L),this}requestAsyncId(l,L,Z=0){return setInterval(l.flush.bind(l,this),Z)}recycleAsyncId(l,L,Z=0){if(null!==Z&&this.delay===Z&&!1===this.pending)return L;clearInterval(L)}execute(l,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(l,L);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,L){let k,Z=!1;try{this.work(l)}catch(M){Z=!0,k=!!M&&M||new Error(M)}if(Z)return this.unsubscribe(),k}_unsubscribe(){const l=this.id,L=this.scheduler,Z=L.actions,k=Z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==k&&Z.splice(k,1),null!=l&&(this.id=this.recycleAsyncId(L,l,null)),this.delay=null}}},4548:(Qe,re,f)=>{"use strict";f.d(re,{v:()=>c});var s=f(2217);class c extends s.b{constructor(C,l=s.b.now){super(C,()=>c.delegate&&c.delegate!==this?c.delegate.now():l()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(C,l=0,L){return c.delegate&&c.delegate!==this?c.delegate.schedule(C,l,L):super.schedule(C,l,L)}flush(C){const{actions:l}=this;if(this.active)return void l.push(C);let L;this.active=!0;do{if(L=C.execute(C.state,C.delay))break}while(C=l.shift());if(this.active=!1,L){for(;C=l.shift();)C.unsubscribe();throw L}}}},1927:(Qe,re,f)=>{"use strict";f.d(re,{r:()=>L,Z:()=>l});var s=f(6465),m=f(4548);const l=new class extends m.v{flush(k){this.active=!0,this.scheduled=void 0;const{actions:M}=this;let G,H=-1,Y=M.length;k=k||M.shift();do{if(G=k.execute(k.state,k.delay))break}while(++H<Y&&(k=M.shift()));if(this.active=!1,G){for(;++H<Y&&(k=M.shift());)k.unsubscribe();throw G}}}(class extends s.o{constructor(k,M){super(k,M),this.scheduler=k,this.work=M}requestAsyncId(k,M,G=0){return null!==G&&G>0?super.requestAsyncId(k,M,G):(k.actions.push(this),k.scheduled||(k.scheduled=requestAnimationFrame(()=>k.flush(null))))}recycleAsyncId(k,M,G=0){if(null!==G&&G>0||null===G&&this.delay>0)return super.recycleAsyncId(k,M,G);0===k.actions.length&&(cancelAnimationFrame(M),k.scheduled=void 0)}}),L=l},4581:(Qe,re,f)=>{"use strict";f.d(re,{e:()=>Y,E:()=>H});let s=1;const c=Promise.resolve(),m={};function C(ce){return ce in m&&(delete m[ce],!0)}const l={setImmediate(ce){const he=s++;return m[he]=!0,c.then(()=>C(he)&&ce()),he},clearImmediate(ce){C(ce)}};var Z=f(6465),M=f(4548);const H=new class extends M.v{flush(he){this.active=!0,this.scheduled=void 0;const{actions:ne}=this;let _e,be=-1,Le=ne.length;he=he||ne.shift();do{if(_e=he.execute(he.state,he.delay))break}while(++be<Le&&(he=ne.shift()));if(this.active=!1,_e){for(;++be<Le&&(he=ne.shift());)he.unsubscribe();throw _e}}}(class extends Z.o{constructor(he,ne){super(he,ne),this.scheduler=he,this.work=ne}requestAsyncId(he,ne,_e=0){return null!==_e&&_e>0?super.requestAsyncId(he,ne,_e):(he.actions.push(this),he.scheduled||(he.scheduled=l.setImmediate(he.flush.bind(he,null))))}recycleAsyncId(he,ne,_e=0){if(null!==_e&&_e>0||null===_e&&this.delay>0)return super.recycleAsyncId(he,ne,_e);0===he.actions.length&&(l.clearImmediate(ne),he.scheduled=void 0)}}),Y=H},3637:(Qe,re,f)=>{"use strict";f.d(re,{z:()=>m,P:()=>C});var s=f(6465);const m=new(f(4548).v)(s.o),C=m},7771:(Qe,re,f)=>{"use strict";f.d(re,{c:()=>L,N:()=>l});var s=f(6465),m=f(4548);const l=new class extends m.v{}(class extends s.o{constructor(k,M){super(k,M),this.scheduler=k,this.work=M}schedule(k,M=0){return M>0?super.schedule(k,M):(this.delay=M,this.state=k,this.scheduler.flush(this),this)}execute(k,M){return M>0||this.closed?super.execute(k,M):this._execute(k,M)}requestAsyncId(k,M,G=0){return null!==G&&G>0||null===G&&this.delay>0?super.requestAsyncId(k,M,G):k.flush(this)}}),L=l},377:(Qe,re,f)=>{"use strict";f.d(re,{hZ:()=>c});const c="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(Qe,re,f)=>{"use strict";f.d(re,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(Qe,re,f)=>{"use strict";f.d(re,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(Qe,re,f)=>{"use strict";f.d(re,{W:()=>c});const c=(()=>{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:(Qe,re,f)=>{"use strict";f.d(re,{N:()=>c});const c=(()=>{function m(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return m.prototype=Object.create(Error.prototype),m})()},7744:(Qe,re,f)=>{"use strict";f.d(re,{B:()=>c});const c=(()=>{function m(C){return Error.call(this),this.message=C?`${C.length} errors occurred during unsubscription:\n${C.map((l,L)=>`${L+1}) ${l.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=C,this}return m.prototype=Object.create(Error.prototype),m})()},3179:(Qe,re,f)=>{"use strict";f.d(re,{_:()=>c});var s=f(7393);function c(m){for(;m;){const{closed:C,destination:l,isStopped:L}=m;if(C||L)return!1;m=l&&l instanceof s.L?l:null}return!0}},4449:(Qe,re,f)=>{"use strict";function s(c){setTimeout(()=>{throw c},0)}f.d(re,{z:()=>s})},4487:(Qe,re,f)=>{"use strict";function s(c){return c}f.d(re,{y:()=>s})},9796:(Qe,re,f)=>{"use strict";f.d(re,{k:()=>s});const s=Array.isArray||(c=>c&&"number"==typeof c.length)},9489:(Qe,re,f)=>{"use strict";f.d(re,{z:()=>s});const s=c=>c&&"number"==typeof c.length&&"function"!=typeof c},9105:(Qe,re,f)=>{"use strict";function s(c){return"function"==typeof c}f.d(re,{m:()=>s})},6561:(Qe,re,f)=>{"use strict";f.d(re,{k:()=>c});var s=f(9796);function c(m){return!(0,s.k)(m)&&m-parseFloat(m)+1>=0}},1555:(Qe,re,f)=>{"use strict";function s(c){return null!==c&&"object"==typeof c}f.d(re,{K:()=>s})},5639:(Qe,re,f)=>{"use strict";f.d(re,{b:()=>c});var s=f(9897);function c(m){return!!m&&(m instanceof s.y||"function"==typeof m.lift&&"function"==typeof m.subscribe)}},4072:(Qe,re,f)=>{"use strict";function s(c){return!!c&&"function"!=typeof c.subscribe&&"function"==typeof c.then}f.d(re,{t:()=>s})},4869:(Qe,re,f)=>{"use strict";function s(c){return c&&"function"==typeof c.schedule}f.d(re,{K:()=>s})},8640:(Qe,re,f)=>{"use strict";function s(){}f.d(re,{Z:()=>s})},4022:(Qe,re,f)=>{"use strict";f.d(re,{z:()=>c,U:()=>m});var s=f(4487);function c(...C){return m(C)}function m(C){return 0===C.length?s.y:1===C.length?C[0]:function(L){return C.reduce((Z,k)=>k(Z),L)}}},7444:(Qe,re,f)=>{"use strict";f.d(re,{s:()=>H});var s=f(5015),c=f(4449),C=f(377),L=f(6554),k=f(9489),M=f(4072),G=f(1555);const H=Y=>{if(Y&&"function"==typeof Y[L.L])return(Y=>ce=>{const he=Y[L.L]();if("function"!=typeof he.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return he.subscribe(ce)})(Y);if((0,k.z)(Y))return(0,s.V)(Y);if((0,M.t)(Y))return(Y=>ce=>(Y.then(he=>{ce.closed||(ce.next(he),ce.complete())},he=>ce.error(he)).then(null,c.z),ce))(Y);if(Y&&"function"==typeof Y[C.hZ])return(Y=>ce=>{const he=Y[C.hZ]();for(;;){let ne;try{ne=he.next()}catch(_e){return ce.error(_e),ce}if(ne.done){ce.complete();break}if(ce.next(ne.value),ce.closed)break}return"function"==typeof he.return&&ce.add(()=>{he.return&&he.return()}),ce})(Y);{const he=`You provided ${(0,G.K)(Y)?"an invalid object":`'${Y}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(he)}}},5015:(Qe,re,f)=>{"use strict";f.d(re,{V:()=>s});const s=c=>m=>{for(let C=0,l=c.length;C<l&&!m.closed;C++)m.next(c[C]);m.complete()}},509:(Qe,re,f)=>{"use strict";f.d(re,{D:()=>l});var s=f(7393);class c extends s.L{constructor(Z,k,M){super(),this.parent=Z,this.outerValue=k,this.outerIndex=M,this.index=0}_next(Z){this.parent.notifyNext(this.outerValue,Z,this.outerIndex,this.index++,this)}_error(Z){this.parent.notifyError(Z,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var m=f(7444),C=f(9897);function l(L,Z,k,M,G=new c(L,k,M)){if(!G.closed)return Z instanceof C.y?Z.subscribe(G):(0,m.s)(Z)(G)}},5041:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.AppComponent=void 0;const s=f(4762),c=f(3679),m=f(608),C=f(586),l=f(9477),L=f(7986),Z=f(4981),k=f(9457),M=s.__importStar(f(7716)),G=s.__importStar(f(6395)),H=s.__importStar(f(9075)),Y=s.__importStar(f(2421)),ce=s.__importStar(f(5151)),he=s.__importStar(f(2253)),ne=s.__importStar(f(8583)),_e=s.__importStar(f(5384)),be=s.__importStar(f(5939)),Le=s.__importStar(f(5585)),at=s.__importStar(f(1095)),Mt=s.__importStar(f(1436)),st=s.__importStar(f(4264)),Ze=s.__importStar(f(7822));function we(rt,lt){1&rt&&(M.\u0275\u0275elementContainerStart(0),M.\u0275\u0275text(1,"Editor Avan\xe7ado"),M.\u0275\u0275elementContainerEnd())}function je(rt,lt){if(1&rt&&(M.\u0275\u0275elementContainerStart(0),M.\u0275\u0275elementStart(1,"span",20),M.\u0275\u0275text(2),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementContainerEnd()),2&rt){const bt=M.\u0275\u0275nextContext(2).$implicit;M.\u0275\u0275advance(2),M.\u0275\u0275textInterpolate1("\u25b6\xa0",bt.function,"")}}function le(rt,lt){if(1&rt){const bt=M.\u0275\u0275getCurrentView();M.\u0275\u0275elementStart(0,"span",17),M.\u0275\u0275template(1,we,2,0,"ng-container",18),M.\u0275\u0275template(2,je,3,1,"ng-container",18),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(3,"button",19),M.\u0275\u0275listener("click",function(){M.\u0275\u0275restoreView(bt);const nt=M.\u0275\u0275nextContext().$implicit;return M.\u0275\u0275nextContext(2).closeTab(nt)}),M.\u0275\u0275elementStart(4,"mat-icon"),M.\u0275\u0275text(5,"close"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd()}if(2&rt){const bt=M.\u0275\u0275nextContext().$implicit;M.\u0275\u0275property("ngSwitch",bt.type),M.\u0275\u0275advance(1),M.\u0275\u0275property("ngSwitchCase","advanced"),M.\u0275\u0275advance(1),M.\u0275\u0275property("ngSwitchCase","simple")}}function Xe(rt,lt){1&rt&&(M.\u0275\u0275elementContainerStart(0),M.\u0275\u0275element(1,"app-tab-editor"),M.\u0275\u0275elementContainerEnd())}function W(rt,lt){if(1&rt&&(M.\u0275\u0275elementContainerStart(0),M.\u0275\u0275element(1,"app-simple-call",21),M.\u0275\u0275elementContainerEnd()),2&rt){const bt=M.\u0275\u0275nextContext().$implicit;M.\u0275\u0275advance(1),M.\u0275\u0275property("fn",bt.function)}}function te(rt,lt){if(1&rt&&(M.\u0275\u0275elementStart(0,"mat-tab"),M.\u0275\u0275template(1,le,6,3,"ng-template",16),M.\u0275\u0275elementContainerStart(2,17),M.\u0275\u0275template(3,Xe,2,0,"ng-container",18),M.\u0275\u0275template(4,W,2,1,"ng-container",18),M.\u0275\u0275elementContainerEnd(),M.\u0275\u0275elementEnd()),2&rt){const bt=lt.$implicit;M.\u0275\u0275advance(2),M.\u0275\u0275property("ngSwitch",bt.type),M.\u0275\u0275advance(1),M.\u0275\u0275property("ngSwitchCase","advanced"),M.\u0275\u0275advance(1),M.\u0275\u0275property("ngSwitchCase","simple")}}function fe(rt,lt){if(1&rt){const bt=M.\u0275\u0275getCurrentView();M.\u0275\u0275elementStart(0,"button",22),M.\u0275\u0275listener("click",function(){return M.\u0275\u0275restoreView(bt),M.\u0275\u0275nextContext(2).addAdvancedTab()}),M.\u0275\u0275elementStart(1,"mat-icon"),M.\u0275\u0275text(2,"add_circle"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd()}}function ae(rt,lt){if(1&rt&&(M.\u0275\u0275elementStart(0,"button",23),M.\u0275\u0275elementStart(1,"mat-icon"),M.\u0275\u0275text(2,"download"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd()),2&rt){M.\u0275\u0275nextContext(2);const bt=M.\u0275\u0275reference(5);M.\u0275\u0275property("matMenuTriggerFor",bt)}}function Ne(rt,lt){if(1&rt){const bt=M.\u0275\u0275getCurrentView();M.\u0275\u0275elementStart(0,"mat-tab-group",11),M.\u0275\u0275listener("selectedIndexChange",function(nt){return M.\u0275\u0275restoreView(bt),M.\u0275\u0275nextContext().selected.setValue(nt)}),M.\u0275\u0275elementStart(1,"mat-tab",12),M.\u0275\u0275elementStart(2,"app-tab-home",13),M.\u0275\u0275listener("runFunction",function(nt){return M.\u0275\u0275restoreView(bt),M.\u0275\u0275nextContext().addSimpleTab(nt)}),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd(),M.\u0275\u0275template(3,te,5,3,"mat-tab",14),M.\u0275\u0275elementStart(4,"mat-tab",15),M.\u0275\u0275template(5,fe,3,0,"ng-template",16),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(6,"mat-tab",15),M.\u0275\u0275template(7,ae,3,1,"ng-template",16),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd()}if(2&rt){const bt=M.\u0275\u0275nextContext();M.\u0275\u0275property("selectedIndex",bt.selected.value),M.\u0275\u0275advance(3),M.\u0275\u0275property("ngForOf",bt.tabs)}}class xe{constructor(lt,bt,ke){this.sdkgen=lt,this.domSanitizer=bt,this.matIconRegistry=ke,this.selected=new c.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const nt of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(nt,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${nt}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(lt=>{this.state=null!=lt?lt:void 0})}ngOnDestroy(){var lt;null===(lt=this.state$)||void 0===lt||lt.unsubscribe()}addSimpleTab(lt){this.tabs.push({id:this.tabIndex++,function:lt,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(lt){this.tabs.splice(this.tabs.indexOf(lt),1),this.selected.setValue(0)}downloadTarget(lt){if(!this.state)return;let bt,ke;switch(lt){case"typescript_nodeserver":bt=Z.generateNodeServerSource(this.state.astRoot),ke="node-server.ts";break;case"typescript_nodeclient":bt=Z.generateNodeClientSource(this.state.astRoot),ke="node-client.ts";break;case"typescript_web":bt=Z.generateBrowserClientSource(this.state.astRoot),ke="web-client.ts";break;case"typescript_interfaces":bt=Z.generateTypescriptInterfaces(this.state.astRoot),ke="interfaces.ts";break;case"flutter":bt=C.generateDartClientSource(this.state.astRoot),ke="flutter-client.dart";break;case"csharp_server":bt=m.generateCSharpServerSource(this.state.astRoot),ke="csharp-server.cs";break;case"kotlin_android":bt=l.generateAndroidClientSource(this.state.astRoot,!0),ke="android-client.kt";break;case"kotlin_android_without_callbacks":bt=l.generateAndroidClientSource(this.state.astRoot,!1),ke="android-client-no-callbacks.kt";break;case"swift_ios":bt=L.generateSwiftClientSource(this.state.astRoot,!1),ke="ios-client.swift";break;case"rxswift_ios":bt=L.generateSwiftClientSource(this.state.astRoot,!0),ke="ios-client-rx.swift"}k.saveAs(new Blob([bt],{type:"application/octet-stream"}),ke)}}re.AppComponent=xe,xe.\u0275fac=function(lt){return new(lt||xe)(M.\u0275\u0275directiveInject(G.SdkgenService),M.\u0275\u0275directiveInject(H.DomSanitizer),M.\u0275\u0275directiveInject(Y.MatIconRegistry))},xe.\u0275cmp=M.\u0275\u0275defineComponent({type:xe,selectors:[["app-root"]],decls:43,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled",""],["mat-tab-label",""],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(lt,bt){1&lt&&(M.\u0275\u0275element(0,"ngx-monaco-editor",0),M.\u0275\u0275element(1,"app-tab-nav"),M.\u0275\u0275template(2,Ne,8,2,"mat-tab-group",1),M.\u0275\u0275pipe(3,"async"),M.\u0275\u0275elementStart(4,"mat-menu",null,2),M.\u0275\u0275element(6,"div",3),M.\u0275\u0275elementStart(7,"button",4),M.\u0275\u0275text(8,"Cliente"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(9,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("typescript_nodeclient")}),M.\u0275\u0275element(10,"mat-icon",6),M.\u0275\u0275text(11,"Node.js"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(12,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("typescript_web")}),M.\u0275\u0275element(13,"mat-icon",6),M.\u0275\u0275text(14,"Web"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(15,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("flutter")}),M.\u0275\u0275element(16,"mat-icon",7),M.\u0275\u0275text(17,"Flutter"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(18,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("kotlin_android")}),M.\u0275\u0275element(19,"mat-icon",8),M.\u0275\u0275text(20,"Android"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(21,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("kotlin_android_without_callbacks")}),M.\u0275\u0275element(22,"mat-icon",8),M.\u0275\u0275text(23,"Android (sem callbacks)"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(24,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("swift_ios")}),M.\u0275\u0275element(25,"mat-icon",9),M.\u0275\u0275text(26,"iOS"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(27,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("rxswift_ios")}),M.\u0275\u0275element(28,"mat-icon",9),M.\u0275\u0275text(29,"iOS (Rx)"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(30,"button",4),M.\u0275\u0275text(31,"Servidor"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(32,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("typescript_nodeserver")}),M.\u0275\u0275element(33,"mat-icon",6),M.\u0275\u0275text(34,"Node.js"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(35,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("csharp_server")}),M.\u0275\u0275element(36,"mat-icon",10),M.\u0275\u0275text(37,"C#"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(38,"button",4),M.\u0275\u0275text(39,"Outros"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(40,"button",5),M.\u0275\u0275listener("click",function(){return bt.downloadTarget("typescript_interfaces")}),M.\u0275\u0275element(41,"mat-icon",6),M.\u0275\u0275text(42,"Interfaces"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementEnd()),2&lt&&(M.\u0275\u0275advance(2),M.\u0275\u0275property("ngIf",M.\u0275\u0275pipeBind1(3,1,bt.sdkgen.state$)))},directives:[ce.MonacoEditorComponent,he.TabNavComponent,ne.NgIf,_e.MatMenu,_e.MatMenuItem,Y.MatIcon,be.MatTabGroup,be.MatTab,Le.TabHomeComponent,ne.NgForOf,be.MatTabLabel,ne.NgSwitch,ne.NgSwitchCase,at.MatButton,Mt.MatTooltip,st.TabEditorComponent,Ze.SimpleCallComponent,_e.MatMenuTrigger],pipes:[ne.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} #main-tabs>.mat-tab-header .mat-tab-label{text-transform:uppercase;-webkit-user-select:none;user-select:none} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0){padding-right:0} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0) button{border-radius:0;display:inline-block;margin-left:10px} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2){min-width:0;padding:0 12px;color:unset;opacity:unset} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2) button{margin-left:0!important} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child{margin-left:auto} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child button{padding:0 5px!important;display:block;box-sizing:content-box;margin-right:5px!important} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})},6747:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.AppModule=void 0;const s=f(4762),c=f(6820),m=f(3679),C=f(1095),l=f(2675),L=f(2238),Z=f(2421),k=f(5384),M=f(2789),G=f(5939),H=f(1436),Y=f(9075),ce=f(6237),he=f(5151),ne=f(7634),_e=f(1103),be=f(9344),Le=f(5041),at=s.__importStar(f(7716));s.__importStar(f(9344));class st{}re.AppModule=st,st.\u0275fac=function(we){return new(we||st)},st.\u0275mod=at.\u0275\u0275defineNgModule({type:st,bootstrap:[Le.AppComponent]}),st.\u0275inj=at.\u0275\u0275defineInjector({providers:[],imports:[[Y.BrowserModule,m.FormsModule,m.ReactiveFormsModule,he.MonacoEditorModule,ce.BrowserAnimationsModule,_e.NgxJsonViewerModule,be.ToastrModule.forRoot(),ne.AngularSplitModule,c.HttpClientModule,C.MatButtonModule,l.MatChipsModule,L.MatDialogModule,Z.MatIconModule,k.MatMenuModule,M.MatTableModule,G.MatTabsModule,H.MatTooltipModule]]})},8495:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.ConsoleComponent=void 0;const s=f(4762),c=f(9972),m=s.__importStar(f(7716)),C=s.__importStar(f(1095)),l=s.__importStar(f(2421)),L=s.__importStar(f(8583)),Z=s.__importStar(f(1103));function k(he,ne){1&he&&(m.\u0275\u0275elementContainerStart(0),m.\u0275\u0275text(1,"info_outline"),m.\u0275\u0275elementContainerEnd())}function M(he,ne){1&he&&(m.\u0275\u0275elementContainerStart(0),m.\u0275\u0275text(1,"error"),m.\u0275\u0275elementContainerEnd())}function G(he,ne){1&he&&(m.\u0275\u0275elementContainerStart(0),m.\u0275\u0275text(1,"public"),m.\u0275\u0275elementContainerEnd())}function H(he,ne){if(1&he&&m.\u0275\u0275element(0,"ngx-json-viewer",6),2&he){const _e=m.\u0275\u0275nextContext().$implicit;m.\u0275\u0275property("json",_e.details)("expanded",!1)}}function Y(he,ne){if(1&he&&(m.\u0275\u0275elementStart(0,"li",2),m.\u0275\u0275elementStart(1,"mat-icon",3),m.\u0275\u0275template(2,k,2,0,"ng-container",4),m.\u0275\u0275template(3,M,2,0,"ng-container",4),m.\u0275\u0275template(4,G,2,0,"ng-container",4),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(5,"span"),m.\u0275\u0275text(6),m.\u0275\u0275elementEnd(),m.\u0275\u0275template(7,H,1,2,"ngx-json-viewer",5),m.\u0275\u0275elementEnd()),2&he){const _e=ne.$implicit,be=m.\u0275\u0275nextContext();m.\u0275\u0275property("ngClass",_e.type),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngSwitch",_e.type)("ngClass",_e.type),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngSwitchCase",be.itemTypes.INFO),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngSwitchCase",be.itemTypes.ERROR),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngSwitchCase",be.itemTypes.NETWORK),m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(_e.message),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",_e.details)}}class ce{constructor(){this.itemTypes=c.ConsoleItemType,this.items=[]}}re.ConsoleComponent=ce,ce.\u0275fac=function(ne){return new(ne||ce)},ce.\u0275cmp=m.\u0275\u0275defineComponent({type:ce,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(ne,_e){1&ne&&(m.\u0275\u0275elementStart(0,"header"),m.\u0275\u0275elementStart(1,"strong"),m.\u0275\u0275text(2,"CONSOLE"),m.\u0275\u0275elementEnd(),m.\u0275\u0275element(3,"s"),m.\u0275\u0275elementStart(4,"button",0),m.\u0275\u0275listener("click",function(){return _e.items.splice(0,_e.items.length)}),m.\u0275\u0275elementStart(5,"mat-icon"),m.\u0275\u0275text(6,"delete"),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(7,"ul"),m.\u0275\u0275template(8,Y,8,8,"li",1),m.\u0275\u0275elementEnd()),2&ne&&(m.\u0275\u0275advance(8),m.\u0275\u0275property("ngForOf",_e.items))},directives:[C.MatButton,l.MatIcon,L.NgForOf,L.NgClass,L.NgSwitch,L.NgSwitchCase,L.NgIf,Z.NgxJsonViewerComponent],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid #e7e7e7;line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] s[_ngcontent-%COMP%]{flex-grow:1}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})},9972:(Qe,re)=>{"use strict";var s;Object.defineProperty(re,"__esModule",{value:!0}),re.ConsoleItemType=void 0,(s=re.ConsoleItemType||(re.ConsoleItemType={})).INFO="info",s.ERROR="error",s.NETWORK="network"},4211:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.FilterPipe=void 0;const c=f(4762).__importStar(f(7716));class m{transform(l,L){if(!l)return[];if(!L)return l;const Z=L.toLocaleLowerCase();return l.filter(k=>JSON.stringify(k).toLocaleLowerCase().includes(Z))}}re.FilterPipe=m,m.\u0275fac=function(l){return new(l||m)},m.\u0275pipe=c.\u0275\u0275definePipe({name:"appFilter",type:m,pure:!0})},7120:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.ResponsiveService=void 0;const s=f(4762),c=s.__importStar(f(7716)),m=s.__importStar(f(5072));class C{constructor(L){this.observer=L}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}re.ResponsiveService=C,C.\u0275fac=function(L){return new(L||C)(c.\u0275\u0275inject(m.BreakpointObserver))},C.\u0275prov=c.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})},9435:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.getTypeDoc=re.getTypeLabels=re.getConstructorName=re.primitiveTypesExamples=re.primitiveTypes=void 0;const s=f(2832),c=f(6395);function m(L){switch(L.constructor){case s.StringPrimitiveType:return"StringPrimitiveType";case s.IntPrimitiveType:return"IntPrimitiveType";case s.UIntPrimitiveType:return"UIntPrimitiveType";case s.FloatPrimitiveType:return"FloatPrimitiveType";case s.BigIntPrimitiveType:return"BigIntPrimitiveType";case s.MoneyPrimitiveType:return"MoneyPrimitiveType";case s.DatePrimitiveType:return"DatePrimitiveType";case s.DateTimePrimitiveType:return"DateTimePrimitiveType";case s.BoolPrimitiveType:return"BoolPrimitiveType";case s.VoidPrimitiveType:return"VoidPrimitiveType";case s.CpfPrimitiveType:return"CpfPrimitiveType";case s.CnpjPrimitiveType:return"CnpjPrimitiveType";case s.EmailPrimitiveType:return"EmailPrimitiveType";case s.UrlPrimitiveType:return"UrlPrimitiveType";case s.UuidPrimitiveType:return"UuidPrimitiveType";case s.HexPrimitiveType:return"HexPrimitiveType";case s.HtmlPrimitiveType:return"HtmlPrimitiveType";case s.BytesPrimitiveType:return"BytesPrimitiveType";case s.Base64PrimitiveType:return"Base64PrimitiveType";case s.XmlPrimitiveType:return"XmlPrimitiveType";case s.JsonPrimitiveType:return"JsonPrimitiveType";case s.OptionalType:return"OptionalType";case s.EnumType:return"EnumType";case s.ArrayType:return"ArrayType";case s.StructType:return"StructType";default:return L.constructor.name}}re.primitiveTypes={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},re.primitiveTypesExamples={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']},re.getConstructorName=m,re.getTypeLabels=function C(L){const Z=[];switch(L.constructor){case s.StringPrimitiveType:case s.IntPrimitiveType:case s.UIntPrimitiveType:case s.FloatPrimitiveType:case s.BigIntPrimitiveType:case s.MoneyPrimitiveType:case s.DatePrimitiveType:case s.DateTimePrimitiveType:case s.BoolPrimitiveType:case s.VoidPrimitiveType:case s.CpfPrimitiveType:case s.CnpjPrimitiveType:case s.EmailPrimitiveType:case s.UrlPrimitiveType:case s.UuidPrimitiveType:case s.HexPrimitiveType:case s.HtmlPrimitiveType:case s.BytesPrimitiveType:case s.Base64PrimitiveType:case s.XmlPrimitiveType:case s.JsonPrimitiveType:Z.push("Primitivo");break;case s.OptionalType:Z.push("Opcional"),Z.push(...C(L.base));break;case s.TypeReference:Z.push(...C(L.type));break;case s.ArrayType:Z.push("Array"),Z.push(...C(L.base));break;case s.EnumType:Z.push("Enum");break;default:console.error("No labels for",m(L))}return Z},re.getTypeDoc=function l(L){var Z,k,M;switch(L.constructor){case s.StringPrimitiveType:case s.IntPrimitiveType:case s.UIntPrimitiveType:case s.FloatPrimitiveType:case s.BigIntPrimitiveType:case s.MoneyPrimitiveType:case s.DatePrimitiveType:case s.DateTimePrimitiveType:case s.BoolPrimitiveType:case s.VoidPrimitiveType:case s.CpfPrimitiveType:case s.CnpjPrimitiveType:case s.EmailPrimitiveType:case s.UrlPrimitiveType:case s.UuidPrimitiveType:case s.HexPrimitiveType:case s.HtmlPrimitiveType:case s.BytesPrimitiveType:case s.Base64PrimitiveType:case s.XmlPrimitiveType:case s.JsonPrimitiveType:return{longDescription:re.primitiveTypes[m(L)],shortDescription:re.primitiveTypes[m(L)],examples:re.primitiveTypesExamples[m(L)]};case s.OptionalType:{const H=l(L.base);return Object.assign(Object.assign({},H),{longDescription:H.longDescription,shortDescription:`(opcional) ${H.shortDescription}`,examples:["null",...null!==(Z=H.examples)&&void 0!==Z?Z:[]]})}case s.TypeReference:return l(L.type);case s.ArrayType:{const H=l(L.base);return Object.assign(Object.assign({},H),{longDescription:H.longDescription,shortDescription:`(array) ${H.shortDescription}`,examples:["[]",...null!==(M=null===(k=H.examples)||void 0===k?void 0:k.map(Y=>`[${Y}]`))&&void 0!==M?M:[]]})}case s.EnumType:const G=L.values.map(H=>H.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${G.slice(0,3).join(", ")}${G.length>3?"\u2026":""}`,examples:G,isEnum:!0};case s.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${L.fields.slice(0,3).map(H=>H.name).join(", ")}\u2026`,isStruct:!0,structFields:L.fields.map(H=>{var Y;return{name:H.name,description:null===(Y=H.annotations.find(ce=>ce instanceof s.DescriptionAnnotation))||void 0===Y?void 0:Y.text,type:H.type,secret:H.secret}}),examples:[JSON.stringify((new c.SdkgenService).buildJsonObject(L.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(1052).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(4762),browser_runtime_1=__webpack_require__(1442),parser_1=__webpack_require__(2832),rxjs_1=__webpack_require__(4813),i0=tslib_1.__importStar(__webpack_require__(7716));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(Qe){const re=f=>{switch(f.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return this.buildJsonObject(f.fields);case parser_1.OptionalType:return null;case parser_1.TypeReference:return re(f.type);case parser_1.ArrayType:return[re(f.base),re(f.base),re(f.base)];case parser_1.EnumType:return f.values[0].value;default:return null}};return Qe.reduce((f,s)=>(f[s.name]=re(s.type),f),{})}getTypeScriptCode(Qe,re){return`await client.${Qe}(${JSON.stringify(re,null,2)});\n`}buildKotlinString(Qe,re=0){const f=s=>{switch(s.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${s.name}(\n${this.buildKotlinString(s.fields,re+1)}\n${" ".repeat(re+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return f(s.type);case parser_1.ArrayType:re++;const c=f(s.base);return re--,`arrayOf(\n${" ".repeat(re+2)}${c},\n${" ".repeat(re+2)}${c}\n${" ".repeat(re+1)})`;case parser_1.EnumType:return`"${s.values[0].value}"`;default:return"<>()"}};return Qe.map(s=>`${" ".repeat(re+1)}${f(s.type)}`).join(",\n")}getKotlinCode(Qe,re){return 0===re.length?`client.${Qe}().await();`:`client.${Qe}(\n${this.buildKotlinString(re)}\n).await();`}getDartCode(Qe,re){return'print("todo");'}getSwiftCode(Qe,re){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(Qe,re)=>function(){var f=_asyncToGenerator(function*(s){return clientInstance.makeRequest(re.toString(),s)});return function(s){return f.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function(re){return new(re||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(1052).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(4762),forms_1=__webpack_require__(3679),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(7716)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(7634)),i3=tslib_1.__importStar(__webpack_require__(5939)),i4=tslib_1.__importStar(__webpack_require__(1095)),i5=tslib_1.__importStar(__webpack_require__(2421)),i6=tslib_1.__importStar(__webpack_require__(5151)),i7=tslib_1.__importStar(__webpack_require__(3679)),i8=tslib_1.__importStar(__webpack_require__(1103)),i9=tslib_1.__importStar(__webpack_require__(8495));class SimpleCallComponent{constructor(Qe){this.sdkgen=Qe,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Qe=>{!Qe||(this.generateFunctionCode(Qe.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Qe.url,Qe.astJson))})}ngOnDestroy(){var Qe;null===(Qe=this.state$)||void 0===Qe||Qe.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){{const events=_this.consoleItems;eval(code_execution_1.wrapper)}const exec=_this.client[_this.fn](JSON.parse(_this.code));try{_this.response={result:yield exec}}catch(Qe){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Qe.toString()}),delete Qe.toString,_this.response={error:{type:Qe.type,message:Qe.message,data:Qe.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(Qe,re){var f;const s=null===(f=Qe.operations.find(c=>c.name===re))||void 0===f?void 0:f.args;s&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(s),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function(re){return new(re||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function(re,f){1&re&&(i0.\u0275\u0275elementStart(0,"as-split",0),i0.\u0275\u0275elementStart(1,"as-split-area"),i0.\u0275\u0275elementStart(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(c){return f.selected.setValue(c)}),i0.\u0275\u0275elementStart(3,"mat-tab",2),i0.\u0275\u0275elementStart(4,"button",3),i0.\u0275\u0275listener("click",function(){return f.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(c){return f.code=c}),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd()),2&re&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",f.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",f.editorOptions)("ngModel",f.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!f.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",f.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",f.consoleItems))},directives:[i2.SplitComponent,i2.SplitAreaDirective,i3.MatTabGroup,i3.MatTab,i4.MatButton,i5.MatIcon,i6.MonacoEditorComponent,i7.NgControlStatus,i7.NgModel,i8.NgxJsonViewerComponent,i9.ConsoleComponent],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(1052).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(4762),typescript_generator_1=__webpack_require__(4981),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(7716)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(1095)),i3=tslib_1.__importStar(__webpack_require__(2421)),i4=tslib_1.__importStar(__webpack_require__(7634)),i5=tslib_1.__importStar(__webpack_require__(5151)),i6=tslib_1.__importStar(__webpack_require__(3679)),i7=tslib_1.__importStar(__webpack_require__(8495));class TabEditorComponent{constructor(Qe){this.sdkgen=Qe,this.code="",this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Qe=>{if(!Qe)return;const re=`${this.patchBrowserClientSource(typescript_generator_1.generateBrowserClientSource(Qe.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Qe.url,Qe.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const f=monaco.editor.getModels().find(c=>c.uri.toString().endsWith("client.d.ts"));f?f.setValue(re):monaco.editor.createModel(re,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[s]=Qe.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(s.name,this.sdkgen.buildJsonObject(s.args))})}ngOnDestroy(){var Qe;null===(Qe=this.state$)||void 0===Qe||Qe.unsubscribe()}patchBrowserClientSource(Qe){return`declare namespace sdkgen {\n${Qe.substring(95,Qe.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"")}\n}\n`}run(){var _this=this;return _asyncToGenerator(function*(){try{yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(Qe){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Qe.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function(re){return new(re||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function(re,f){1&re&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return f.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementStart(3,"as-split",1),i0.\u0275\u0275elementStart(4,"as-split-area",2),i0.\u0275\u0275elementStart(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(c){return f.code=c}),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd(),i0.\u0275\u0275elementEnd()),2&re&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",f.editorOptions)("ngModel",f.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",f.consoleItems))},directives:[i2.MatButton,i3.MatIcon,i4.SplitComponent,i4.SplitAreaDirective,i5.MonacoEditorComponent,i6.NgControlStatus,i6.NgModel,i7.ConsoleComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})},5585:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.TabHomeComponent=void 0;const s=f(4762),c=f(7716),m=f(9435),C=f(5281),l=s.__importStar(f(7716)),L=s.__importStar(f(6395)),Z=s.__importStar(f(2238)),k=s.__importStar(f(7120)),M=s.__importStar(f(7634)),G=s.__importStar(f(3679)),H=s.__importStar(f(8583)),Y=s.__importStar(f(1436)),ce=s.__importStar(f(1095)),he=s.__importStar(f(2421)),ne=s.__importStar(f(5939)),_e=s.__importStar(f(5151)),be=s.__importStar(f(2675)),Le=s.__importStar(f(2789)),at=s.__importStar(f(4211));function Mt(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"span",8),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&Ge){const Be=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.description)}}const st=function(Ge){return{active:Ge}};function Ze(Ge,Ve){if(1&Ge){const Be=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"li",5),l.\u0275\u0275listener("click",function(){const ft=l.\u0275\u0275restoreView(Be).$implicit;return l.\u0275\u0275nextContext().selectedFunction=ft}),l.\u0275\u0275elementStart(1,"span",6),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(3,Mt,2,1,"span",7),l.\u0275\u0275elementEnd()}if(2&Ge){const Be=Ve.$implicit,K=l.\u0275\u0275nextContext();l.\u0275\u0275property("ngClass",l.\u0275\u0275pureFunction1(3,st,(null==K.selectedFunction?null:K.selectedFunction.name)===Be.name)),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(Be.name),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",Be.description)}}function we(Ge,Ve){1&Ge&&l.\u0275\u0275element(0,"span")}function je(Ge,Ve){if(1&Ge){const Be=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"span"),l.\u0275\u0275element(1,"br"),l.\u0275\u0275text(2,"\xa0\xa0"),l.\u0275\u0275elementStart(3,"span",37),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"span",14),l.\u0275\u0275text(6,":"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(7,"\xa0"),l.\u0275\u0275elementStart(8,"u",15),l.\u0275\u0275listener("click",function(){const ft=l.\u0275\u0275restoreView(Be).$implicit;return l.\u0275\u0275nextContext(2).showDocumentation(ft.rawType)}),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(10,we,1,0,"span",38),l.\u0275\u0275elementEnd()}if(2&Ge){const Be=Ve.$implicit,K=Ve.index;l.\u0275\u0275nextContext();const ze=l.\u0275\u0275reference(18),ft=l.\u0275\u0275reference(20),yt=l.\u0275\u0275nextContext();l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Be.name),l.\u0275\u0275advance(4),l.\u0275\u0275property("matTooltip",yt.getTooltip(Be.rawType)),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.type),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",K!=yt.selectedFunction.args.length-1)("ngIfThen",ze)("ngIfElse",ft)}}function le(Ge,Ve){1&Ge&&l.\u0275\u0275text(0,",")}function Xe(Ge,Ve){1&Ge&&l.\u0275\u0275element(0,"br")}function W(Ge,Ve){if(1&Ge){const Be=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"u",29),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Be);const ze=l.\u0275\u0275nextContext().$implicit;return l.\u0275\u0275nextContext(3).showDocumentation(ze.dataType)}),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()}if(2&Ge){const Be=l.\u0275\u0275nextContext().$implicit,K=l.\u0275\u0275nextContext(3);l.\u0275\u0275property("matTooltip",K.getTooltip(Be.dataType)),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1("(",Be.dataType.name,")")}}function te(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"mat-chip",42),l.\u0275\u0275elementStart(1,"span",28),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(3,"i"),l.\u0275\u0275elementStart(4,"span",28),l.\u0275\u0275text(5),l.\u0275\u0275template(6,W,2,2,"u",43),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&Ge){const Be=Ve.$implicit;l.\u0275\u0275property("disableRipple",!0),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(Be.name),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("",Be.type," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",Be.dataType&&"void"!==Be.dataType.name)}}function fe(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"section",39),l.\u0275\u0275elementStart(1,"mat-chip-list",40),l.\u0275\u0275template(2,te,7,4,"mat-chip",41),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&Ge){const Be=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275property("selectable",!1),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",Be.selectedFunction.labels)}}function ae(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"p"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&Ge){const Be=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.selectedFunction.description)}}function Ne(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"p",44),l.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),l.\u0275\u0275elementEnd())}function xe(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"p",44),l.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),l.\u0275\u0275elementEnd())}function rt(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"th",54),l.\u0275\u0275text(1,"Nome"),l.\u0275\u0275elementEnd())}function lt(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"td",55),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&Ge){const Be=Ve.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.name)}}function bt(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"th",54),l.\u0275\u0275text(1,"Tipo"),l.\u0275\u0275elementEnd())}function ke(Ge,Ve){if(1&Ge){const Be=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"td",55),l.\u0275\u0275elementStart(1,"u",29),l.\u0275\u0275listener("click",function(){const ft=l.\u0275\u0275restoreView(Be).$implicit;return l.\u0275\u0275nextContext(3).showDocumentation(ft.rawType)}),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&Ge){const Be=Ve.$implicit,K=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(1),l.\u0275\u0275property("matTooltip",K.getTooltip(Be.rawType)),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.type)}}function nt(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"th",54),l.\u0275\u0275text(1,"Descri\xe7\xe3o"),l.\u0275\u0275elementEnd())}function ht(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"td",56),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&Ge){const Be=Ve.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.description||"-")}}function Ot(Ge,Ve){1&Ge&&l.\u0275\u0275element(0,"tr",57)}function Ye(Ge,Ve){1&Ge&&l.\u0275\u0275element(0,"tr",58)}function ut(Ge,Ve){if(1&Ge&&(l.\u0275\u0275elementStart(0,"table",45),l.\u0275\u0275elementContainerStart(1,46),l.\u0275\u0275template(2,rt,2,0,"th",47),l.\u0275\u0275template(3,lt,2,1,"td",48),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(4,49),l.\u0275\u0275template(5,bt,2,0,"th",47),l.\u0275\u0275template(6,ke,3,2,"td",48),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(7,50),l.\u0275\u0275template(8,nt,2,0,"th",47),l.\u0275\u0275template(9,ht,2,1,"td",51),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(10,Ot,1,0,"tr",52),l.\u0275\u0275template(11,Ye,1,0,"tr",53),l.\u0275\u0275elementEnd()),2&Ge){const Be=l.\u0275\u0275nextContext(2);l.\u0275\u0275property("dataSource",Be.selectedFunction.args),l.\u0275\u0275advance(10),l.\u0275\u0275property("matHeaderRowDef",Be.argumentsTableColumns),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",Be.argumentsTableColumns)}}function R(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"span",59),l.\u0275\u0275text(1,"Dart"),l.\u0275\u0275elementEnd())}function ee(Ge,Ve){1&Ge&&(l.\u0275\u0275elementStart(0,"span",59),l.\u0275\u0275text(1,"Swift"),l.\u0275\u0275elementEnd())}const x=function(){return{theme:"vs-dark",language:"javascript"}},ge=function(){return{theme:"vs-dark",language:"kotlin"}},se=function(){return{theme:"vs-dark",language:"dart"}},me=function(){return{theme:"vs-dark",language:"swift"}};function Re(Ge,Ve){if(1&Ge){const Be=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"article"),l.\u0275\u0275elementStart(1,"header"),l.\u0275\u0275elementStart(2,"h1",9),l.\u0275\u0275elementStart(3,"span",10),l.\u0275\u0275elementStart(4,"span",11),l.\u0275\u0275text(5,"fn"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(6,"\xa0"),l.\u0275\u0275elementStart(7,"span",12),l.\u0275\u0275text(8),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(9,"("),l.\u0275\u0275template(10,je,11,6,"span",13),l.\u0275\u0275text(11,")"),l.\u0275\u0275elementStart(12,"span",14),l.\u0275\u0275text(13,":"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(14,"\xa0"),l.\u0275\u0275elementStart(15,"u",15),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Be);const ze=l.\u0275\u0275nextContext();return ze.showDocumentation(ze.selectedFunction.returns.rawType)}),l.\u0275\u0275text(16),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(17,le,1,0,"ng-template",null,16,l.\u0275\u0275templateRefExtractor),l.\u0275\u0275template(19,Xe,1,0,"ng-template",null,17,l.\u0275\u0275templateRefExtractor),l.\u0275\u0275element(21,"s"),l.\u0275\u0275elementStart(22,"button",18),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView(Be),l.\u0275\u0275nextContext().addSimpleCallTab()}),l.\u0275\u0275elementStart(23,"mat-icon"),l.\u0275\u0275text(24,"play_arrow"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(25,"\xa0EXECUTAR "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(26,fe,3,2,"section",19),l.\u0275\u0275elementStart(27,"section",9),l.\u0275\u0275elementStart(28,"h2",20),l.\u0275\u0275text(29,"Descri\xe7\xe3o"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(30,"div",21),l.\u0275\u0275template(31,ae,2,1,"p",22),l.\u0275\u0275template(32,Ne,2,0,"p",23),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(33,"h2",24),l.\u0275\u0275text(34,"Par\xe2metros"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(35,"div",21),l.\u0275\u0275template(36,xe,2,0,"p",23),l.\u0275\u0275elementStart(37,"div",25),l.\u0275\u0275template(38,ut,12,3,"table",26),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(39,"h2",27),l.\u0275\u0275text(40,"Retorno"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(41,"div"),l.\u0275\u0275elementStart(42,"p",28),l.\u0275\u0275elementStart(43,"u",29),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Be);const ze=l.\u0275\u0275nextContext();return ze.showDocumentation(ze.selectedFunction.returns.rawType)}),l.\u0275\u0275text(44),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(45,"h2",30),l.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(47,"mat-tab-group",31),l.\u0275\u0275elementStart(48,"mat-tab",32),l.\u0275\u0275element(49,"ngx-monaco-editor",33),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(50,"mat-tab",34),l.\u0275\u0275element(51,"ngx-monaco-editor",33),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(52,"mat-tab",35),l.\u0275\u0275template(53,R,2,0,"ng-template",36),l.\u0275\u0275element(54,"ngx-monaco-editor",33),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(55,"mat-tab",35),l.\u0275\u0275template(56,ee,2,0,"ng-template",36),l.\u0275\u0275element(57,"ngx-monaco-editor",33),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&Ge){const Be=l.\u0275\u0275nextContext();l.\u0275\u0275advance(8),l.\u0275\u0275textInterpolate(Be.selectedFunction.name),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",Be.selectedFunction.args),l.\u0275\u0275advance(5),l.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),l.\u0275\u0275advance(10),l.\u0275\u0275property("ngIf",Be.selectedFunction.labels.length>0),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngSwitch",!!Be.selectedFunction.description),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!1),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngSwitch",Be.selectedFunction.args.length),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",0),l.\u0275\u0275advance(7),l.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),l.\u0275\u0275advance(5),l.\u0275\u0275property("options",l.\u0275\u0275pureFunction0(20,x))("ngModel",Be.selectedFunction.examples.typeScript),l.\u0275\u0275advance(2),l.\u0275\u0275property("options",l.\u0275\u0275pureFunction0(21,ge))("ngModel",Be.selectedFunction.examples.kotlin),l.\u0275\u0275advance(3),l.\u0275\u0275property("options",l.\u0275\u0275pureFunction0(22,se))("ngModel",Be.selectedFunction.examples.dart),l.\u0275\u0275advance(3),l.\u0275\u0275property("options",l.\u0275\u0275pureFunction0(23,me))("ngModel",Be.selectedFunction.examples.swift)}}const it=function(){return{standalone:!0}};class wt{constructor(Ve,Be,K){this.sdkgen=Ve,this.dialog=Be,this.responsive=K,this.isBelowMd=!1,this.runFunction=new c.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Ve=>{!Ve||(this.selectedFunction=void 0,this.fnTable=Ve.astRoot.operations.sort((Be,K)=>Be.name.localeCompare(K.name)).map(Be=>{var K,ze,ft;const yt=Ve.astJson.annotations[`fn.${Be.name}`],We=this.sdkgen.buildJsonObject(Be.args);return(null==yt?void 0:yt.find(D=>"hidden"===D.type))?null:{name:Be.name,description:null===(K=null==yt?void 0:yt.find(D=>"description"===D.type))||void 0===K?void 0:K.value,args:Be.args.map(({name:D,type:I})=>{var w,oe,F;return{name:D,description:null===(F=[...null!==(w=Ve.astJson.annotations[`type.${I}.${D}`])&&void 0!==w?w:[],...null!==(oe=Ve.astJson.annotations[`fn.${Be.name}.${D}`])&&void 0!==oe?oe:[]].find(Pe=>"description"===Pe.type))||void 0===F?void 0:F.value,type:I.name,rawType:I}}),argsStr:Be.args.map(D=>`${D.name}: ${D.type.name}`).join(", "),argsFields:Be.args,returns:{type:Be.returnType.name,rawType:Be.returnType},labels:null!==(ze=null==yt?void 0:yt.filter(D=>["rest","throws"].includes(D.type)).map(D=>{var I;return"rest"===D.type?{name:"REST",type:`${D.value.method} ${D.value.path}`}:"throws"===D.type?{name:"THROWS",type:D.value,dataType:null===(I=Ve.astRoot.errors.find(w=>w.name===D.value))||void 0===I?void 0:I.dataType}:{name:"?",type:"?"}}))&&void 0!==ze?ze:[],throws:null===(ft=null==yt?void 0:yt.find(D=>"throws"===D.type))||void 0===ft?void 0:ft.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(Be.name,We),kotlin:this.sdkgen.getKotlinCode(Be.name,Be.args),dart:this.sdkgen.getDartCode(Be.name,We),swift:this.sdkgen.getSwiftCode(Be.name,We)}}}).filter(Be=>Boolean(Be)))})}ngOnDestroy(){var Ve,Be;null===(Ve=this.state$)||void 0===Ve||Ve.unsubscribe(),null===(Be=this.responsive$)||void 0===Be||Be.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(Ve=>{this.isBelowMd=Ve.matches})}addSimpleCallTab(){var Ve;this.runFunction.emit(null===(Ve=this.selectedFunction)||void 0===Ve?void 0:Ve.name)}getTooltip(Ve){return m.getTypeDoc(Ve).shortDescription}showDocumentation(Ve){this.dialog.open(C.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:Ve},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}re.TabHomeComponent=wt,wt.\u0275fac=function(Ve){return new(Ve||wt)(l.\u0275\u0275directiveInject(L.SdkgenService),l.\u0275\u0275directiveInject(Z.MatDialog),l.\u0275\u0275directiveInject(k.ResponsiveService))},wt.\u0275cmp=l.\u0275\u0275defineComponent({type:wt,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],[3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(Ve,Be){1&Ve&&(l.\u0275\u0275elementStart(0,"as-split",0),l.\u0275\u0275elementStart(1,"as-split-area",1),l.\u0275\u0275elementStart(2,"aside"),l.\u0275\u0275elementStart(3,"nav"),l.\u0275\u0275elementStart(4,"form"),l.\u0275\u0275elementStart(5,"input",2),l.\u0275\u0275listener("ngModelChange",function(ze){return Be.searchText=ze}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(6,"ul"),l.\u0275\u0275template(7,Ze,4,5,"li",3),l.\u0275\u0275pipe(8,"appFilter"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"as-split-area"),l.\u0275\u0275template(10,Re,58,24,"article",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&Ve&&(l.\u0275\u0275property("direction",Be.isBelowMd?"vertical":"horizontal"),l.\u0275\u0275advance(1),l.\u0275\u0275property("size",Be.isBelowMd?130:350),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngModel",Be.searchText)("ngModelOptions",l.\u0275\u0275pureFunction0(9,it)),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",l.\u0275\u0275pipeBind2(8,6,Be.fnTable,Be.searchText)),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",Be.selectedFunction))},directives:[M.SplitComponent,M.SplitAreaDirective,G.\u0275NgNoValidate,G.NgControlStatusGroup,G.NgForm,G.DefaultValueAccessor,G.NgControlStatus,G.NgModel,H.NgForOf,H.NgIf,H.NgClass,Y.MatTooltip,ce.MatButton,he.MatIcon,H.NgSwitch,H.NgSwitchCase,H.NgSwitchDefault,ne.MatTabGroup,ne.MatTab,_e.MonacoEditorComponent,ne.MatTabLabel,be.MatChipList,be.MatChip,Le.MatTable,Le.MatColumnDef,Le.MatHeaderCellDef,Le.MatCellDef,Le.MatHeaderRowDef,Le.MatRowDef,Le.MatHeaderCell,Le.MatCell,Le.MatHeaderRow,Le.MatRow],pipes:[at.FilterPipe],styles:['[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:"Roboto Mono",monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer;font-family:"Roboto Mono",monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] s[_ngcontent-%COMP%]{flex-grow:1}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#FFF;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}']})},2253:(Qe,re,f)=>{"use strict";var s=f(1052).default;Object.defineProperty(re,"__esModule",{value:!0}),re.TabNavComponent=void 0;const c=f(4762),m=f(3679),C=f(2832),l=c.__importStar(f(7716)),L=c.__importStar(f(6395)),Z=c.__importStar(f(9344)),k=c.__importStar(f(3679)),M=c.__importStar(f(8583)),G=c.__importStar(f(2421));function H(he,ne){1&he&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon",5),l.\u0275\u0275text(2,"loop"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}function Y(he,ne){1&he&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon"),l.\u0275\u0275text(2,"arrow_forward"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}class ce{constructor(ne,_e){this.sdkgen=ne,this.toastr=_e,this.loading=!1,this.url=new m.FormControl("")}ngOnInit(){fetch("/ast.json").then(ne=>{ne.ok&&this.url.setValue(`${window.location.protocol}://${window.location.hostname}`)}).catch(()=>{})}loadUrl(ne){var _e=this;return s(function*(){ne.preventDefault();try{_e.loading=!0,/^https?:\/\//.test(_e.url.value)||_e.url.setValue(`https://${_e.url.value}`);const be=new URL(_e.url.value);be.pathname+=(/\/$/u.test(be.pathname)?"":"/")+"ast.json";const Le=be.toString();console.debug("astUrl",Le);const at=yield fetch(Le).then(Mt=>Mt.ok?Mt.json():Mt);if(at instanceof Response)throw at instanceof Error?at:new Error(at.statusText);if(!at.errors||!at.functionTable||!at.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(Mt=>setTimeout(Mt,250));console.debug("astJson",at),_e.sdkgen.state$.next({astJson:at,astRoot:C.jsonToAst(at),url:_e.url.value})}catch(be){_e.toastr.error(be instanceof Error?be.message:JSON.stringify(be),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{_e.loading=!1}})()}}re.TabNavComponent=ce,ce.\u0275fac=function(ne){return new(ne||ce)(l.\u0275\u0275directiveInject(L.SdkgenService),l.\u0275\u0275directiveInject(Z.ToastrService))},ce.\u0275cmp=l.\u0275\u0275defineComponent({type:ce,selectors:[["app-tab-nav"]],decls:6,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],[1,"loader"]],template:function(ne,_e){1&ne&&(l.\u0275\u0275element(0,"img",0),l.\u0275\u0275elementStart(1,"form",1),l.\u0275\u0275listener("submit",function(Le){return _e.loadUrl(Le)}),l.\u0275\u0275element(2,"input",2),l.\u0275\u0275elementStart(3,"button",3),l.\u0275\u0275template(4,H,3,0,"ng-container",4),l.\u0275\u0275template(5,Y,3,0,"ng-container",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&ne&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("formControl",_e.url)("readonly",_e.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("disabled",_e.loading)("ngSwitch",_e.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!1))},directives:[k.\u0275NgNoValidate,k.NgControlStatusGroup,k.NgForm,k.DefaultValueAccessor,k.NgControlStatus,k.FormControlDirective,M.NgSwitch,M.NgSwitchCase,G.MatIcon],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#0003}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})},5281:(Qe,re,f)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.TypeDetailsComponent=void 0;const s=f(4762),c=f(2238),m=f(9435),C=s.__importStar(f(7716)),l=s.__importStar(f(2238)),L=s.__importStar(f(8583)),Z=s.__importStar(f(2675)),k=s.__importStar(f(1095)),M=s.__importStar(f(2421)),G=s.__importStar(f(2789)),H=s.__importStar(f(1436));function Y(te,fe){1&te&&(C.\u0275\u0275elementStart(0,"button",6),C.\u0275\u0275elementStart(1,"mat-icon"),C.\u0275\u0275text(2,"arrow_back"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd())}function ce(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"mat-chip",7),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&te){const ae=fe.$implicit;C.\u0275\u0275property("disableRipple",!0),C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(ae)}}function he(te,fe){1&te&&(C.\u0275\u0275elementStart(0,"button",8),C.\u0275\u0275elementStart(1,"mat-icon"),C.\u0275\u0275text(2,"close"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd())}function ne(te,fe){1&te&&(C.\u0275\u0275elementStart(0,"th",19),C.\u0275\u0275text(1,"Nome"),C.\u0275\u0275elementEnd())}function _e(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"td",20),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&te){const ae=fe.$implicit;C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(ae.name)}}function be(te,fe){1&te&&(C.\u0275\u0275elementStart(0,"th",19),C.\u0275\u0275text(1,"Tipo"),C.\u0275\u0275elementEnd())}function Le(te,fe){if(1&te){const ae=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"td",20),C.\u0275\u0275elementStart(1,"u",21),C.\u0275\u0275listener("click",function(){const rt=C.\u0275\u0275restoreView(ae).$implicit;return C.\u0275\u0275nextContext(2).showDocumentation(rt.type)}),C.\u0275\u0275text(2),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd()}if(2&te){const ae=fe.$implicit,Ne=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(1),C.\u0275\u0275property("matTooltip",Ne.getTooltip(ae.type)),C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(ae.type.name)}}function at(te,fe){1&te&&(C.\u0275\u0275elementStart(0,"th",19),C.\u0275\u0275text(1,"Descri\xe7\xe3o"),C.\u0275\u0275elementEnd())}function Mt(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"td",22),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&te){const ae=fe.$implicit;C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(ae.description||"-")}}function st(te,fe){1&te&&C.\u0275\u0275element(0,"tr",23)}function Ze(te,fe){1&te&&C.\u0275\u0275element(0,"tr",24)}const we=function(){return[]};function je(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"section"),C.\u0275\u0275elementStart(1,"div",9),C.\u0275\u0275elementStart(2,"table",10),C.\u0275\u0275elementContainerStart(3,11),C.\u0275\u0275template(4,ne,2,0,"th",12),C.\u0275\u0275template(5,_e,2,1,"td",13),C.\u0275\u0275elementContainerEnd(),C.\u0275\u0275elementContainerStart(6,14),C.\u0275\u0275template(7,be,2,0,"th",12),C.\u0275\u0275template(8,Le,3,2,"td",13),C.\u0275\u0275elementContainerEnd(),C.\u0275\u0275elementContainerStart(9,15),C.\u0275\u0275template(10,at,2,0,"th",12),C.\u0275\u0275template(11,Mt,2,1,"td",16),C.\u0275\u0275elementContainerEnd(),C.\u0275\u0275template(12,st,1,0,"tr",17),C.\u0275\u0275template(13,Ze,1,0,"tr",18),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd()),2&te){const ae=C.\u0275\u0275nextContext();let Ne;C.\u0275\u0275advance(2),C.\u0275\u0275property("dataSource",null!==(Ne=null==ae.typeDoc?null:ae.typeDoc.structFields)&&void 0!==Ne?Ne:C.\u0275\u0275pureFunction0(3,we)),C.\u0275\u0275advance(10),C.\u0275\u0275property("matHeaderRowDef",ae.argumentsTableColumns),C.\u0275\u0275advance(1),C.\u0275\u0275property("matRowDefColumns",ae.argumentsTableColumns)}}function le(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"li"),C.\u0275\u0275elementStart(1,"code",1),C.\u0275\u0275text(2),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd()),2&te){const ae=fe.$implicit;C.\u0275\u0275advance(2),C.\u0275\u0275textInterpolate(ae)}}function Xe(te,fe){if(1&te&&(C.\u0275\u0275elementStart(0,"section"),C.\u0275\u0275elementStart(1,"h3"),C.\u0275\u0275text(2),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(3,"ul"),C.\u0275\u0275template(4,le,3,1,"li",25),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementEnd()),2&te){const ae=C.\u0275\u0275nextContext();C.\u0275\u0275advance(2),C.\u0275\u0275textInterpolate(null!=ae.typeDoc&&ae.typeDoc.isEnum?"Valores":"Exemplos"),C.\u0275\u0275advance(2),C.\u0275\u0275property("ngForOf",null==ae.typeDoc?null:ae.typeDoc.examples)}}class W{constructor(fe,ae,Ne){this.dialogRef=fe,this.data=ae,this.dialog=Ne,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=m.getTypeLabels(this.data.type),this.typeDoc=m.getTypeDoc(this.data.type)}getTooltip(fe){return m.getTypeDoc(fe).shortDescription}showDocumentation(fe){this.dialog.open(W,{position:{right:"0"},data:{type:fe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}re.TypeDetailsComponent=W,W.\u0275fac=function(fe){return new(fe||W)(C.\u0275\u0275directiveInject(l.MatDialogRef),C.\u0275\u0275directiveInject(c.MAT_DIALOG_DATA),C.\u0275\u0275directiveInject(l.MatDialog))},W.\u0275cmp=C.\u0275\u0275defineComponent({type:W,selectors:[["app-type-details"]],decls:11,vars:8,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","",4,"ngIf"],[1,"mono"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(fe,ae){1&fe&&(C.\u0275\u0275elementStart(0,"h1"),C.\u0275\u0275template(1,Y,3,0,"button",0),C.\u0275\u0275elementStart(2,"span",1),C.\u0275\u0275text(3),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(4,"mat-chip-list",2),C.\u0275\u0275template(5,ce,2,2,"mat-chip",3),C.\u0275\u0275elementEnd(),C.\u0275\u0275template(6,he,3,0,"button",4),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(7,"p"),C.\u0275\u0275text(8),C.\u0275\u0275elementEnd(),C.\u0275\u0275template(9,je,14,4,"section",5),C.\u0275\u0275template(10,Xe,5,2,"section",5)),2&fe&&(C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",ae.data.subdialog),C.\u0275\u0275advance(2),C.\u0275\u0275textInterpolate(ae.data.type.name),C.\u0275\u0275advance(1),C.\u0275\u0275property("selectable",!1),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngForOf",ae.labels),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",!ae.data.subdialog),C.\u0275\u0275advance(2),C.\u0275\u0275textInterpolate(null==ae.typeDoc?null:ae.typeDoc.longDescription),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",(null==ae.typeDoc?null:ae.typeDoc.isStruct)&&(null==ae.typeDoc?null:ae.typeDoc.structFields)),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",null==ae.typeDoc||null==ae.typeDoc.examples?null:ae.typeDoc.examples.length))},directives:[L.NgIf,Z.MatChipList,L.NgForOf,k.MatButton,l.MatDialogClose,M.MatIcon,Z.MatChip,G.MatTable,G.MatColumnDef,G.MatHeaderCellDef,G.MatCellDef,G.MatHeaderRowDef,G.MatRowDef,G.MatHeaderCell,G.MatCell,H.MatTooltip,G.MatHeaderRow,G.MatRow],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer}"]})},8227:(Qe,re)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.unwrap=re.wrapper=void 0,re.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',re.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(Qe,re)=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.environment=void 0,re.environment={production:!0}},4431:(Qe,re,f)=>{"use strict";const m=f(4762).__importStar(f(9075)),C=f(7716),l=f(6747);f(2340).environment.production&&C.enableProdMode(),m.platformBrowser().bootstrapModule(l.AppModule).catch(Z=>console.error(Z))},7986:()=>{},4981:()=>{},1052:Qe=>{function re(s,c,m,C,l,L,Z){try{var k=s[L](Z),M=k.value}catch(G){return void m(G)}k.done?c(M):Promise.resolve(M).then(C,l)}Qe.exports=function(s){return function(){var c=this,m=arguments;return new Promise(function(C,l){var L=s.apply(c,m);function Z(M){re(L,C,l,Z,k,"next",M)}function k(M){re(L,C,l,Z,k,"throw",M)}Z(void 0)})}},Qe.exports.default=Qe.exports,Qe.exports.__esModule=!0},4762:(Qe,re,f)=>{"use strict";f.r(re),f.d(re,{__extends:()=>c,__assign:()=>m,__rest:()=>C,__decorate:()=>l,__param:()=>L,__metadata:()=>Z,__awaiter:()=>k,__generator:()=>M,__createBinding:()=>G,__exportStar:()=>H,__values:()=>Y,__read:()=>ce,__spread:()=>he,__spreadArrays:()=>ne,__spreadArray:()=>_e,__await:()=>be,__asyncGenerator:()=>Le,__asyncDelegator:()=>at,__asyncValues:()=>Mt,__makeTemplateObject:()=>st,__importStar:()=>we,__importDefault:()=>je,__classPrivateFieldGet:()=>le,__classPrivateFieldSet:()=>Xe});var s=function(W,te){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ae){fe.__proto__=ae}||function(fe,ae){for(var Ne in ae)Object.prototype.hasOwnProperty.call(ae,Ne)&&(fe[Ne]=ae[Ne])})(W,te)};function c(W,te){if("function"!=typeof te&&null!==te)throw new TypeError("Class extends value "+String(te)+" is not a constructor or null");function fe(){this.constructor=W}s(W,te),W.prototype=null===te?Object.create(te):(fe.prototype=te.prototype,new fe)}var m=function(){return(m=Object.assign||function(te){for(var fe,ae=1,Ne=arguments.length;ae<Ne;ae++)for(var xe in fe=arguments[ae])Object.prototype.hasOwnProperty.call(fe,xe)&&(te[xe]=fe[xe]);return te}).apply(this,arguments)};function C(W,te){var fe={};for(var ae in W)Object.prototype.hasOwnProperty.call(W,ae)&&te.indexOf(ae)<0&&(fe[ae]=W[ae]);if(null!=W&&"function"==typeof Object.getOwnPropertySymbols){var Ne=0;for(ae=Object.getOwnPropertySymbols(W);Ne<ae.length;Ne++)te.indexOf(ae[Ne])<0&&Object.prototype.propertyIsEnumerable.call(W,ae[Ne])&&(fe[ae[Ne]]=W[ae[Ne]])}return fe}function l(W,te,fe,ae){var rt,Ne=arguments.length,xe=Ne<3?te:null===ae?ae=Object.getOwnPropertyDescriptor(te,fe):ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)xe=Reflect.decorate(W,te,fe,ae);else for(var lt=W.length-1;lt>=0;lt--)(rt=W[lt])&&(xe=(Ne<3?rt(xe):Ne>3?rt(te,fe,xe):rt(te,fe))||xe);return Ne>3&&xe&&Object.defineProperty(te,fe,xe),xe}function L(W,te){return function(fe,ae){te(fe,ae,W)}}function Z(W,te){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(W,te)}function k(W,te,fe,ae){return new(fe||(fe=Promise))(function(xe,rt){function lt(nt){try{ke(ae.next(nt))}catch(ht){rt(ht)}}function bt(nt){try{ke(ae.throw(nt))}catch(ht){rt(ht)}}function ke(nt){nt.done?xe(nt.value):function(xe){return xe instanceof fe?xe:new fe(function(rt){rt(xe)})}(nt.value).then(lt,bt)}ke((ae=ae.apply(W,te||[])).next())})}function M(W,te){var ae,Ne,xe,rt,fe={label:0,sent:function(){if(1&xe[0])throw xe[1];return xe[1]},trys:[],ops:[]};return rt={next:lt(0),throw:lt(1),return:lt(2)},"function"==typeof Symbol&&(rt[Symbol.iterator]=function(){return this}),rt;function lt(ke){return function(nt){return function(ke){if(ae)throw new TypeError("Generator is already executing.");for(;fe;)try{if(ae=1,Ne&&(xe=2&ke[0]?Ne.return:ke[0]?Ne.throw||((xe=Ne.return)&&xe.call(Ne),0):Ne.next)&&!(xe=xe.call(Ne,ke[1])).done)return xe;switch(Ne=0,xe&&(ke=[2&ke[0],xe.value]),ke[0]){case 0:case 1:xe=ke;break;case 4:return fe.label++,{value:ke[1],done:!1};case 5:fe.label++,Ne=ke[1],ke=[0];continue;case 7:ke=fe.ops.pop(),fe.trys.pop();continue;default:if(!(xe=(xe=fe.trys).length>0&&xe[xe.length-1])&&(6===ke[0]||2===ke[0])){fe=0;continue}if(3===ke[0]&&(!xe||ke[1]>xe[0]&&ke[1]<xe[3])){fe.label=ke[1];break}if(6===ke[0]&&fe.label<xe[1]){fe.label=xe[1],xe=ke;break}if(xe&&fe.label<xe[2]){fe.label=xe[2],fe.ops.push(ke);break}xe[2]&&fe.ops.pop(),fe.trys.pop();continue}ke=te.call(W,fe)}catch(nt){ke=[6,nt],Ne=0}finally{ae=xe=0}if(5&ke[0])throw ke[1];return{value:ke[0]?ke[1]:void 0,done:!0}}([ke,nt])}}}var G=Object.create?function(W,te,fe,ae){void 0===ae&&(ae=fe),Object.defineProperty(W,ae,{enumerable:!0,get:function(){return te[fe]}})}:function(W,te,fe,ae){void 0===ae&&(ae=fe),W[ae]=te[fe]};function H(W,te){for(var fe in W)"default"!==fe&&!Object.prototype.hasOwnProperty.call(te,fe)&&G(te,W,fe)}function Y(W){var te="function"==typeof Symbol&&Symbol.iterator,fe=te&&W[te],ae=0;if(fe)return fe.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&ae>=W.length&&(W=void 0),{value:W&&W[ae++],done:!W}}};throw new TypeError(te?"Object is not iterable.":"Symbol.iterator is not defined.")}function ce(W,te){var fe="function"==typeof Symbol&&W[Symbol.iterator];if(!fe)return W;var Ne,rt,ae=fe.call(W),xe=[];try{for(;(void 0===te||te-- >0)&&!(Ne=ae.next()).done;)xe.push(Ne.value)}catch(lt){rt={error:lt}}finally{try{Ne&&!Ne.done&&(fe=ae.return)&&fe.call(ae)}finally{if(rt)throw rt.error}}return xe}function he(){for(var W=[],te=0;te<arguments.length;te++)W=W.concat(ce(arguments[te]));return W}function ne(){for(var W=0,te=0,fe=arguments.length;te<fe;te++)W+=arguments[te].length;var ae=Array(W),Ne=0;for(te=0;te<fe;te++)for(var xe=arguments[te],rt=0,lt=xe.length;rt<lt;rt++,Ne++)ae[Ne]=xe[rt];return ae}function _e(W,te,fe){if(fe||2===arguments.length)for(var xe,ae=0,Ne=te.length;ae<Ne;ae++)(xe||!(ae in te))&&(xe||(xe=Array.prototype.slice.call(te,0,ae)),xe[ae]=te[ae]);return W.concat(xe||Array.prototype.slice.call(te))}function be(W){return this instanceof be?(this.v=W,this):new be(W)}function Le(W,te,fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,ae=fe.apply(W,te||[]),xe=[];return Ne={},rt("next"),rt("throw"),rt("return"),Ne[Symbol.asyncIterator]=function(){return this},Ne;function rt(Ot){ae[Ot]&&(Ne[Ot]=function(Ye){return new Promise(function(ut,R){xe.push([Ot,Ye,ut,R])>1||lt(Ot,Ye)})})}function lt(Ot,Ye){try{!function(Ot){Ot.value instanceof be?Promise.resolve(Ot.value.v).then(ke,nt):ht(xe[0][2],Ot)}(ae[Ot](Ye))}catch(ut){ht(xe[0][3],ut)}}function ke(Ot){lt("next",Ot)}function nt(Ot){lt("throw",Ot)}function ht(Ot,Ye){Ot(Ye),xe.shift(),xe.length&&lt(xe[0][0],xe[0][1])}}function at(W){var te,fe;return te={},ae("next"),ae("throw",function(Ne){throw Ne}),ae("return"),te[Symbol.iterator]=function(){return this},te;function ae(Ne,xe){te[Ne]=W[Ne]?function(rt){return(fe=!fe)?{value:be(W[Ne](rt)),done:"return"===Ne}:xe?xe(rt):rt}:xe}}function Mt(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,te=W[Symbol.asyncIterator];return te?te.call(W):(W=Y(W),fe={},ae("next"),ae("throw"),ae("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function ae(xe){fe[xe]=W[xe]&&function(rt){return new Promise(function(lt,bt){!function(xe,rt,lt,bt){Promise.resolve(bt).then(function(ke){xe({value:ke,done:lt})},rt)}(lt,bt,(rt=W[xe](rt)).done,rt.value)})}}}function st(W,te){return Object.defineProperty?Object.defineProperty(W,"raw",{value:te}):W.raw=te,W}var Ze=Object.create?function(W,te){Object.defineProperty(W,"default",{enumerable:!0,value:te})}:function(W,te){W.default=te};function we(W){if(W&&W.__esModule)return W;var te={};if(null!=W)for(var fe in W)"default"!==fe&&Object.prototype.hasOwnProperty.call(W,fe)&&G(te,W,fe);return Ze(te,W),te}function je(W){return W&&W.__esModule?W:{default:W}}function le(W,te,fe,ae){if("a"===fe&&!ae)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof te?W!==te||!ae:!te.has(W))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===fe?ae:"a"===fe?ae.call(W):ae?ae.value:te.get(W)}function Xe(W,te,fe,ae,Ne){if("m"===ae)throw new TypeError("Private method is not writable");if("a"===ae&&!Ne)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof te?W!==te||!Ne:!te.has(W))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ae?Ne.call(W,fe):Ne?Ne.value=fe:te.set(W,fe),fe}}},Qe=>{Qe(Qe.s=4431)}]);