-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathmain.917030baf5629541.js
More file actions
29 lines (29 loc) · 454 KB
/
main.917030baf5629541.js
File metadata and controls
29 lines (29 loc) · 454 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"use strict";(self.webpackChunkangular_cn=self.webpackChunkangular_cn||[]).push([["main"],{7175:(Ze,ae,y)=>{y.d(ae,{l3:()=>U,_j:()=>g,LC:()=>a,ZN:()=>q,jt:()=>j,vP:()=>N,SB:()=>H,oB:()=>x,eR:()=>M,X$:()=>z,ZE:()=>_e,k1:()=>Ne});class g{}class a{}const U="*";function z(pe,me){return{type:7,name:pe,definitions:me,options:{}}}function j(pe,me=null){return{type:4,styles:me,timings:pe}}function N(pe,me=null){return{type:2,steps:pe,options:me}}function x(pe){return{type:6,styles:pe,offset:null}}function H(pe,me,ce){return{type:0,name:pe,styles:me,options:ce}}function M(pe,me,ce=null){return{type:1,expr:pe,animation:me,options:ce}}function Y(pe){Promise.resolve(null).then(pe)}class q{constructor(me=0,ce=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=me+ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}onStart(me){this._onStartFns.push(me)}onDone(me){this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(me=>me()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(me){this._position=this.totalTime?me*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(me){const ce="start"==me?this._onStartFns:this._onDoneFns;ce.forEach(Pe=>Pe()),ce.length=0}}class _e{constructor(me){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=me;let ce=0,Pe=0,Le=0;const ze=this.players.length;0==ze?Y(()=>this._onFinish()):this.players.forEach(De=>{De.onDone(()=>{++ce==ze&&this._onFinish()}),De.onDestroy(()=>{++Pe==ze&&this._onDestroy()}),De.onStart(()=>{++Le==ze&&this._onStart()})}),this.totalTime=this.players.reduce((De,Re)=>Math.max(De,Re.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}init(){this.players.forEach(me=>me.init())}onStart(me){this._onStartFns.push(me)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(me=>me()),this._onStartFns=[])}onDone(me){this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(me=>me.play())}pause(){this.players.forEach(me=>me.pause())}restart(){this.players.forEach(me=>me.restart())}finish(){this._onFinish(),this.players.forEach(me=>me.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(me=>me.destroy()),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this.players.forEach(me=>me.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(me){const ce=me*this.totalTime;this.players.forEach(Pe=>{const Le=Pe.totalTime?Math.min(1,ce/Pe.totalTime):1;Pe.setPosition(Le)})}getPosition(){const me=this.players.reduce((ce,Pe)=>null===ce||Pe.totalTime>ce.totalTime?Pe:ce,null);return null!=me?me.getPosition():0}beforeDestroy(){this.players.forEach(me=>{me.beforeDestroy&&me.beforeDestroy()})}triggerCallback(me){const ce="start"==me?this._onStartFns:this._onDoneFns;ce.forEach(Pe=>Pe()),ce.length=0}}const Ne="!"},1606:(Ze,ae,y)=>{y.d(ae,{rt:()=>ct,kH:()=>mt,Em:()=>Lt,tE:()=>_t,qV:()=>be,qm:()=>Te,ic:()=>Ct,Kd:()=>st,X6:()=>Yt,yG:()=>je});var g=y(4364),a=y(2316),U=y(8187),z=y(1289),j=y(9606),F=y(7599),N=y(84),x=y(9349),H=y(1775),L=y(6477),M=y(9005),R=y(5116),W=y(9454),X=y(2249),G=y(4094),te=y(657),Y=y(6145),q=y(851);class Lt extends class{constructor(le){this._items=le,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new U.x,this._typeaheadSubscription=z.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=J=>J.disabled,this._pressedLetters=[],this.tabOut=new U.x,this.change=new U.x,le instanceof a.n_E&&le.changes.subscribe(J=>{if(this._activeItem){const Be=J.toArray().indexOf(this._activeItem);Be>-1&&Be!==this._activeItemIndex&&(this._activeItemIndex=Be)}})}skipPredicate(le){return this._skipPredicateFn=le,this}withWrap(le=!0){return this._wrap=le,this}withVerticalOrientation(le=!0){return this._vertical=le,this}withHorizontalOrientation(le){return this._horizontal=le,this}withAllowedModifierKeys(le){return this._allowedModifierKeys=le,this}withTypeAhead(le=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,x.b)(J=>this._pressedLetters.push(J)),(0,H.b)(le),(0,L.h)(()=>this._pressedLetters.length>0),(0,M.U)(()=>this._pressedLetters.join(""))).subscribe(J=>{const we=this._getItemsArray();for(let Be=1;Be<we.length+1;Be++){const rt=(this._activeItemIndex+Be)%we.length,bt=we[rt];if(!this._skipPredicateFn(bt)&&0===bt.getLabel().toUpperCase().trim().indexOf(J)){this.setActiveItem(rt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(le=!0){return this._homeAndEnd=le,this}setActiveItem(le){const J=this._activeItem;this.updateActiveItem(le),this._activeItem!==J&&this.change.next(this._activeItemIndex)}onKeydown(le){const J=le.keyCode,Be=["altKey","ctrlKey","metaKey","shiftKey"].every(rt=>!le[rt]||this._allowedModifierKeys.indexOf(rt)>-1);switch(J){case N.Mf:return void this.tabOut.next();case N.JH:if(this._vertical&&Be){this.setNextItemActive();break}return;case N.LH:if(this._vertical&&Be){this.setPreviousItemActive();break}return;case N.SV:if(this._horizontal&&Be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case N.oh:if(this._horizontal&&Be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case N.Sd:if(this._homeAndEnd&&Be){this.setFirstItemActive();break}return;case N.uR:if(this._homeAndEnd&&Be){this.setLastItemActive();break}return;default:return void((Be||(0,N.Vb)(le,"shiftKey"))&&(le.key&&1===le.key.length?this._letterKeyStream.next(le.key.toLocaleUpperCase()):(J>=N.A&&J<=N.Z||J>=N.xE&&J<=N.aO)&&this._letterKeyStream.next(String.fromCharCode(J))))}this._pressedLetters=[],le.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(le){const J=this._getItemsArray(),we="number"==typeof le?le:J.indexOf(le),Be=J[we];this._activeItem=null==Be?null:Be,this._activeItemIndex=we}_setActiveItemByDelta(le){this._wrap?this._setActiveInWrapMode(le):this._setActiveInDefaultMode(le)}_setActiveInWrapMode(le){const J=this._getItemsArray();for(let we=1;we<=J.length;we++){const Be=(this._activeItemIndex+le*we+J.length)%J.length;if(!this._skipPredicateFn(J[Be]))return void this.setActiveItem(Be)}}_setActiveInDefaultMode(le){this._setActiveItemByIndex(this._activeItemIndex+le,le)}_setActiveItemByIndex(le,J){const we=this._getItemsArray();if(we[le]){for(;this._skipPredicateFn(we[le]);)if(!we[le+=J])return;this.setActiveItem(le)}}_getItemsArray(){return this._items instanceof a.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(le){return this._origin=le,this}setActiveItem(le){super.setActiveItem(le),this.activeItem&&this.activeItem.focus(this._origin)}}let Ct=(()=>{class Se{constructor(J){this._platform=J}isDisabled(J){return J.hasAttribute("disabled")}isVisible(J){return function(Se){return!!(Se.offsetWidth||Se.offsetHeight||"function"==typeof Se.getClientRects&&Se.getClientRects().length)}(J)&&"visible"===getComputedStyle(J).visibility}isTabbable(J){if(!this._platform.isBrowser)return!1;const we=function(Se){try{return Se.frameElement}catch(le){return null}}(function(Se){return Se.ownerDocument&&Se.ownerDocument.defaultView||window}(J));if(we&&(-1===fn(we)||!this.isVisible(we)))return!1;let Be=J.nodeName.toLowerCase(),rt=fn(J);return J.hasAttribute("contenteditable")?-1!==rt:!("iframe"===Be||"object"===Be||this._platform.WEBKIT&&this._platform.IOS&&!function(Se){let le=Se.nodeName.toLowerCase(),J="input"===le&&Se.type;return"text"===J||"password"===J||"select"===le||"textarea"===le}(J))&&("audio"===Be?!!J.hasAttribute("controls")&&-1!==rt:"video"===Be?-1!==rt&&(null!==rt||this._platform.FIREFOX||J.hasAttribute("controls")):J.tabIndex>=0)}isFocusable(J,we){return function(Se){return!function(Se){return function(Se){return"input"==Se.nodeName.toLowerCase()}(Se)&&"hidden"==Se.type}(Se)&&(function(Se){let le=Se.nodeName.toLowerCase();return"input"===le||"select"===le||"button"===le||"textarea"===le}(Se)||function(Se){return function(Se){return"a"==Se.nodeName.toLowerCase()}(Se)&&Se.hasAttribute("href")}(Se)||Se.hasAttribute("contenteditable")||zt(Se))}(J)&&!this.isDisabled(J)&&((null==we?void 0:we.ignoreVisibility)||this.isVisible(J))}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(Y.t4))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(Y.t4))},token:Se,providedIn:"root"}),Se})();function zt(Se){if(!Se.hasAttribute("tabindex")||void 0===Se.tabIndex)return!1;let le=Se.getAttribute("tabindex");return!(!le||isNaN(parseInt(le,10)))}function fn(Se){if(!zt(Se))return null;const le=parseInt(Se.getAttribute("tabindex")||"",10);return isNaN(le)?-1:le}class wt{constructor(le,J,we,Be,rt=!1){this._element=le,this._checker=J,this._ngZone=we,this._document=Be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,rt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(le){this._enabled=le,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(le,this._startAnchor),this._toggleAnchorTabIndex(le,this._endAnchor))}destroy(){const le=this._startAnchor,J=this._endAnchor;le&&(le.removeEventListener("focus",this.startAnchorListener),le.parentNode&&le.parentNode.removeChild(le)),J&&(J.removeEventListener("focus",this.endAnchorListener),J.parentNode&&J.parentNode.removeChild(J)),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(le){return new Promise(J=>{this._executeOnStable(()=>J(this.focusInitialElement(le)))})}focusFirstTabbableElementWhenReady(le){return new Promise(J=>{this._executeOnStable(()=>J(this.focusFirstTabbableElement(le)))})}focusLastTabbableElementWhenReady(le){return new Promise(J=>{this._executeOnStable(()=>J(this.focusLastTabbableElement(le)))})}_getRegionBoundary(le){let J=this._element.querySelectorAll(`[cdk-focus-region-${le}], [cdkFocusRegion${le}], [cdk-focus-${le}]`);for(let we=0;we<J.length;we++)J[we].hasAttribute(`cdk-focus-${le}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${le}', use 'cdkFocusRegion${le}' instead. The deprecated attribute will be removed in 8.0.0.`,J[we]):J[we].hasAttribute(`cdk-focus-region-${le}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${le}', use 'cdkFocusRegion${le}' instead. The deprecated attribute will be removed in 8.0.0.`,J[we]);return"start"==le?J.length?J[0]:this._getFirstTabbableElement(this._element):J.length?J[J.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(le){const J=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(J){if(J.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",J),!this._checker.isFocusable(J)){const we=this._getFirstTabbableElement(J);return null==we||we.focus(le),!!we}return J.focus(le),!0}return this.focusFirstTabbableElement(le)}focusFirstTabbableElement(le){const J=this._getRegionBoundary("start");return J&&J.focus(le),!!J}focusLastTabbableElement(le){const J=this._getRegionBoundary("end");return J&&J.focus(le),!!J}hasAttached(){return this._hasAttached}_getFirstTabbableElement(le){if(this._checker.isFocusable(le)&&this._checker.isTabbable(le))return le;const J=le.children;for(let we=0;we<J.length;we++){const Be=J[we].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(J[we]):null;if(Be)return Be}return null}_getLastTabbableElement(le){if(this._checker.isFocusable(le)&&this._checker.isTabbable(le))return le;const J=le.children;for(let we=J.length-1;we>=0;we--){const Be=J[we].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(J[we]):null;if(Be)return Be}return null}_createAnchor(){const le=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,le),le.classList.add("cdk-visually-hidden"),le.classList.add("cdk-focus-trap-anchor"),le.setAttribute("aria-hidden","true"),le}_toggleAnchorTabIndex(le,J){le?J.setAttribute("tabindex","0"):J.removeAttribute("tabindex")}toggleAnchors(le){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(le,this._startAnchor),this._toggleAnchorTabIndex(le,this._endAnchor))}_executeOnStable(le){this._ngZone.isStable?le():this._ngZone.onStable.pipe((0,R.q)(1)).subscribe(le)}}let be=(()=>{class Se{constructor(J,we,Be){this._checker=J,this._ngZone=we,this._document=Be}create(J,we=!1){return new wt(J,this._checker,this._ngZone,this._document,we)}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(Ct),a.LFG(a.R0b),a.LFG(g.K0))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(Ct),a.LFG(a.R0b),a.LFG(g.K0))},token:Se,providedIn:"root"}),Se})();function Yt(Se){return 0===Se.offsetX&&0===Se.offsetY}function je(Se){const le=Se.touches&&Se.touches[0]||Se.changedTouches&&Se.changedTouches[0];return!(!le||-1!==le.identifier||null!=le.radiusX&&1!==le.radiusX||null!=le.radiusY&&1!==le.radiusY)}const ue=new a.OlP("cdk-input-modality-detector-options"),de={ignoreKeys:[N.zL,N.jx,N.b2,N.MW,N.JU]},ne=(0,Y.i$)({passive:!0,capture:!0});let I=(()=>{class Se{constructor(J,we,Be,rt){this._platform=J,this._mostRecentTarget=null,this._modality=new j.X(null),this._lastTouchMs=0,this._onKeydown=bt=>{var un,kn;(null===(kn=null===(un=this._options)||void 0===un?void 0:un.ignoreKeys)||void 0===kn?void 0:kn.some(er=>er===bt.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,Y.sA)(bt))},this._onMousedown=bt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Yt(bt)?"keyboard":"mouse"),this._mostRecentTarget=(0,Y.sA)(bt))},this._onTouchstart=bt=>{je(bt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,Y.sA)(bt))},this._options=Object.assign(Object.assign({},de),rt),this.modalityDetected=this._modality.pipe((0,W.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,X.x)()),J.isBrowser&&we.runOutsideAngular(()=>{Be.addEventListener("keydown",this._onKeydown,ne),Be.addEventListener("mousedown",this._onMousedown,ne),Be.addEventListener("touchstart",this._onTouchstart,ne)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ne),document.removeEventListener("mousedown",this._onMousedown,ne),document.removeEventListener("touchstart",this._onTouchstart,ne))}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(Y.t4),a.LFG(a.R0b),a.LFG(g.K0),a.LFG(ue,8))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(Y.t4),a.LFG(a.R0b),a.LFG(g.K0),a.LFG(ue,8))},token:Se,providedIn:"root"}),Se})();const K=new a.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Ue=new a.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let st=(()=>{class Se{constructor(J,we,Be,rt){this._ngZone=we,this._defaultOptions=rt,this._document=Be,this._liveElement=J||this._createLiveElement()}announce(J,...we){const Be=this._defaultOptions;let rt,bt;return 1===we.length&&"number"==typeof we[0]?bt=we[0]:[rt,bt]=we,this.clear(),clearTimeout(this._previousTimeout),rt||(rt=Be&&Be.politeness?Be.politeness:"polite"),null==bt&&Be&&(bt=Be.duration),this._liveElement.setAttribute("aria-live",rt),this._ngZone.runOutsideAngular(()=>new Promise(un=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=J,un(),"number"==typeof bt&&(this._previousTimeout=setTimeout(()=>this.clear(),bt))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const J="cdk-live-announcer-element",we=this._document.getElementsByClassName(J),Be=this._document.createElement("div");for(let rt=0;rt<we.length;rt++)we[rt].parentNode.removeChild(we[rt]);return Be.classList.add(J),Be.classList.add("cdk-visually-hidden"),Be.setAttribute("aria-atomic","true"),Be.setAttribute("aria-live","polite"),this._document.body.appendChild(Be),Be}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(K,8),a.LFG(a.R0b),a.LFG(g.K0),a.LFG(Ue,8))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(K,8),a.LFG(a.R0b),a.LFG(g.K0),a.LFG(Ue,8))},token:Se,providedIn:"root"}),Se})();const at=new a.OlP("cdk-focus-monitor-default-options"),ft=(0,Y.i$)({passive:!0,capture:!0});let _t=(()=>{class Se{constructor(J,we,Be,rt,bt){this._ngZone=J,this._platform=we,this._inputModalityDetector=Be,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 U.x,this._rootNodeFocusAndBlurListener=un=>{const kn=(0,Y.sA)(un),er="focus"===un.type?this._onFocus:this._onBlur;for(let Dr=kn;Dr;Dr=Dr.parentElement)er.call(this,un,Dr)},this._document=rt,this._detectionMode=(null==bt?void 0:bt.detectionMode)||0}monitor(J,we=!1){const Be=(0,te.fI)(J);if(!this._platform.isBrowser||1!==Be.nodeType)return(0,F.of)(null);const rt=(0,Y.kV)(Be)||this._getDocument(),bt=this._elementInfo.get(Be);if(bt)return we&&(bt.checkChildren=!0),bt.subject;const un={checkChildren:we,subject:new U.x,rootNode:rt};return this._elementInfo.set(Be,un),this._registerGlobalListeners(un),un.subject}stopMonitoring(J){const we=(0,te.fI)(J),Be=this._elementInfo.get(we);Be&&(Be.subject.complete(),this._setClasses(we),this._elementInfo.delete(we),this._removeGlobalListeners(Be))}focusVia(J,we,Be){const rt=(0,te.fI)(J);rt===this._getDocument().activeElement?this._getClosestElementsInfo(rt).forEach(([un,kn])=>this._originChanged(un,we,kn)):(this._setOrigin(we),"function"==typeof rt.focus&&rt.focus(Be))}ngOnDestroy(){this._elementInfo.forEach((J,we)=>this.stopMonitoring(we))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(J){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(J)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(J){return 1===this._detectionMode||!!(null==J?void 0:J.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(J,we){J.classList.toggle("cdk-focused",!!we),J.classList.toggle("cdk-touch-focused","touch"===we),J.classList.toggle("cdk-keyboard-focused","keyboard"===we),J.classList.toggle("cdk-mouse-focused","mouse"===we),J.classList.toggle("cdk-program-focused","program"===we)}_setOrigin(J,we=!1){this._ngZone.runOutsideAngular(()=>{this._origin=J,this._originFromTouchInteraction="touch"===J&&we,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(J,we){const Be=this._elementInfo.get(we),rt=(0,Y.sA)(J);!Be||!Be.checkChildren&&we!==rt||this._originChanged(we,this._getFocusOrigin(rt),Be)}_onBlur(J,we){const Be=this._elementInfo.get(we);!Be||Be.checkChildren&&J.relatedTarget instanceof Node&&we.contains(J.relatedTarget)||(this._setClasses(we),this._emitOrigin(Be.subject,null))}_emitOrigin(J,we){this._ngZone.run(()=>J.next(we))}_registerGlobalListeners(J){if(!this._platform.isBrowser)return;const we=J.rootNode,Be=this._rootNodeFocusListenerCount.get(we)||0;Be||this._ngZone.runOutsideAngular(()=>{we.addEventListener("focus",this._rootNodeFocusAndBlurListener,ft),we.addEventListener("blur",this._rootNodeFocusAndBlurListener,ft)}),this._rootNodeFocusListenerCount.set(we,Be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,G.R)(this._stopInputModalityDetector)).subscribe(rt=>{this._setOrigin(rt,!0)}))}_removeGlobalListeners(J){const we=J.rootNode;if(this._rootNodeFocusListenerCount.has(we)){const Be=this._rootNodeFocusListenerCount.get(we);Be>1?this._rootNodeFocusListenerCount.set(we,Be-1):(we.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ft),we.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ft),this._rootNodeFocusListenerCount.delete(we))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(J,we,Be){this._setClasses(J,we),this._emitOrigin(Be.subject,we),this._lastFocusOrigin=we}_getClosestElementsInfo(J){const we=[];return this._elementInfo.forEach((Be,rt)=>{(rt===J||Be.checkChildren&&rt.contains(J))&&we.push([rt,Be])}),we}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(a.R0b),a.LFG(Y.t4),a.LFG(I),a.LFG(g.K0,8),a.LFG(at,8))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(a.R0b),a.LFG(Y.t4),a.LFG(I),a.LFG(g.K0,8),a.LFG(at,8))},token:Se,providedIn:"root"}),Se})(),mt=(()=>{class Se{constructor(J,we){this._elementRef=J,this._focusMonitor=we,this.cdkFocusChange=new a.vpe}ngAfterViewInit(){const J=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(J,1===J.nodeType&&J.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(we=>this.cdkFocusChange.emit(we))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Se.\u0275fac=function(J){return new(J||Se)(a.Y36(a.SBq),a.Y36(_t))},Se.\u0275dir=a.lG2({type:Se,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Se})();const ye="cdk-high-contrast-black-on-white",fe="cdk-high-contrast-white-on-black",Z="cdk-high-contrast-active";let Te=(()=>{class Se{constructor(J,we){this._platform=J,this._document=we}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const J=this._document.createElement("div");J.style.backgroundColor="rgb(1,2,3)",J.style.position="absolute",this._document.body.appendChild(J);const we=this._document.defaultView||window,Be=we&&we.getComputedStyle?we.getComputedStyle(J):null,rt=(Be&&Be.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(J),rt){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 J=this._document.body.classList;J.remove(Z),J.remove(ye),J.remove(fe),this._hasCheckedHighContrastMode=!0;const we=this.getHighContrastMode();1===we?(J.add(Z),J.add(ye)):2===we&&(J.add(Z),J.add(fe))}}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(Y.t4),a.LFG(g.K0))},Se.\u0275prov=a.Yz7({factory:function(){return new Se(a.LFG(Y.t4),a.LFG(g.K0))},token:Se,providedIn:"root"}),Se})(),ct=(()=>{class Se{constructor(J){J._applyBodyHighContrastModeCssClasses()}}return Se.\u0275fac=function(J){return new(J||Se)(a.LFG(Te))},Se.\u0275mod=a.oAB({type:Se}),Se.\u0275inj=a.cJS({imports:[[Y.ud,q.Q8]]}),Se})()},772:(Ze,ae,y)=>{y.d(ae,{vT:()=>N,Is:()=>j});var g=y(2316),a=y(4364);const U=new g.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,g.f3M)(a.K0)}});let j=(()=>{class x{constructor(L){if(this.value="ltr",this.change=new g.vpe,L){const R=L.documentElement?L.documentElement.dir:null,W=(L.body?L.body.dir:null)||R;this.value="ltr"===W||"rtl"===W?W:"ltr"}}ngOnDestroy(){this.change.complete()}}return x.\u0275fac=function(L){return new(L||x)(g.LFG(U,8))},x.\u0275prov=g.Yz7({factory:function(){return new x(g.LFG(U,8))},token:x,providedIn:"root"}),x})(),N=(()=>{class x{}return x.\u0275fac=function(L){return new(L||x)},x.\u0275mod=g.oAB({type:x}),x.\u0275inj=g.cJS({}),x})()},84:(Ze,ae,y)=>{y.d(ae,{A:()=>on,zL:()=>x,jx:()=>N,JH:()=>Ne,uR:()=>G,K5:()=>j,hY:()=>M,Sd:()=>te,oh:()=>Y,b2:()=>Di,MW:()=>ve,aO:()=>Lt,SV:()=>_e,JU:()=>F,L_:()=>R,Mf:()=>U,LH:()=>q,Z:()=>K,xE:()=>Le,Vb:()=>Yr});const U=9,j=13,F=16,N=17,x=18,M=27,R=32,G=35,te=36,Y=37,q=38,_e=39,Ne=40,Le=48,Lt=57,on=65,K=90,ve=91,Di=224;function Yr(Qn,...wr){return wr.length?wr.some(Lr=>Qn[Lr]):Qn.altKey||Qn.shiftKey||Qn.ctrlKey||Qn.metaKey}},851:(Ze,ae,y)=>{y.d(ae,{wD:()=>x,yq:()=>N,Q8:()=>H});var g=y(657),a=y(2316),U=y(1325),z=y(8187),j=y(1775);let F=(()=>{class L{create(R){return"undefined"==typeof MutationObserver?null:new MutationObserver(R)}}return L.\u0275fac=function(R){return new(R||L)},L.\u0275prov=a.Yz7({factory:function(){return new L},token:L,providedIn:"root"}),L})(),N=(()=>{class L{constructor(R){this._mutationObserverFactory=R,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((R,W)=>this._cleanupObserver(W))}observe(R){const W=(0,g.fI)(R);return new U.y(X=>{const te=this._observeElement(W).subscribe(X);return()=>{te.unsubscribe(),this._unobserveElement(W)}})}_observeElement(R){if(this._observedElements.has(R))this._observedElements.get(R).count++;else{const W=new z.x,X=this._mutationObserverFactory.create(G=>W.next(G));X&&X.observe(R,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(R,{observer:X,stream:W,count:1})}return this._observedElements.get(R).stream}_unobserveElement(R){this._observedElements.has(R)&&(this._observedElements.get(R).count--,this._observedElements.get(R).count||this._cleanupObserver(R))}_cleanupObserver(R){if(this._observedElements.has(R)){const{observer:W,stream:X}=this._observedElements.get(R);W&&W.disconnect(),X.complete(),this._observedElements.delete(R)}}}return L.\u0275fac=function(R){return new(R||L)(a.LFG(F))},L.\u0275prov=a.Yz7({factory:function(){return new L(a.LFG(F))},token:L,providedIn:"root"}),L})(),x=(()=>{class L{constructor(R,W,X){this._contentObserver=R,this._elementRef=W,this._ngZone=X,this.event=new a.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(R){this._disabled=(0,g.Ig)(R),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(R){this._debounce=(0,g.su)(R),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const R=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?R.pipe((0,j.b)(this.debounce)):R).subscribe(this.event)})}_unsubscribe(){var R;null===(R=this._currentSubscription)||void 0===R||R.unsubscribe()}}return L.\u0275fac=function(R){return new(R||L)(a.Y36(N),a.Y36(a.SBq),a.Y36(a.R0b))},L.\u0275dir=a.lG2({type:L,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),L})(),H=(()=>{class L{}return L.\u0275fac=function(R){return new(R||L)},L.\u0275mod=a.oAB({type:L}),L.\u0275inj=a.cJS({providers:[F]}),L})()},6145:(Ze,ae,y)=>{y.d(ae,{t4:()=>z,ud:()=>j,sA:()=>Ne,ht:()=>_e,kV:()=>q,Oy:()=>me,_i:()=>G,i$:()=>M,Mq:()=>X});var g=y(2316),a=y(4364);let U;try{U="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ce){U=!1}let H,R,W,te,z=(()=>{class ce{constructor(Le){this._platformId=Le,this.isBrowser=this._platformId?(0,a.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!U)&&"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 ce.\u0275fac=function(Le){return new(Le||ce)(g.LFG(g.Lbi))},ce.\u0275prov=g.Yz7({factory:function(){return new ce(g.LFG(g.Lbi))},token:ce,providedIn:"root"}),ce})(),j=(()=>{class ce{}return ce.\u0275fac=function(Le){return new(Le||ce)},ce.\u0275mod=g.oAB({type:ce}),ce.\u0275inj=g.cJS({}),ce})();function M(ce){return function(){if(null==H&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>H=!0}))}finally{H=H||!1}return H}()?ce:!!ce.capture}function X(){if(null==W){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return W=!1,W;if("scrollBehavior"in document.documentElement.style)W=!0;else{const ce=Element.prototype.scrollTo;W=!!ce&&!/\{\s*\[native code\]\s*\}/.test(ce.toString())}}return W}function G(){if("object"!=typeof document||!document)return 0;if(null==R){const ce=document.createElement("div"),Pe=ce.style;ce.dir="rtl",Pe.width="1px",Pe.overflow="auto",Pe.visibility="hidden",Pe.pointerEvents="none",Pe.position="absolute";const Le=document.createElement("div"),ze=Le.style;ze.width="2px",ze.height="1px",ce.appendChild(Le),document.body.appendChild(ce),R=0,0===ce.scrollLeft&&(ce.scrollLeft=1,R=0===ce.scrollLeft?1:2),ce.parentNode.removeChild(ce)}return R}function q(ce){if(function(){if(null==te){const ce="undefined"!=typeof document?document.head:null;te=!(!ce||!ce.createShadowRoot&&!ce.attachShadow)}return te}()){const Pe=ce.getRootNode?ce.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&Pe instanceof ShadowRoot)return Pe}return null}function _e(){let ce="undefined"!=typeof document&&document?document.activeElement:null;for(;ce&&ce.shadowRoot;){const Pe=ce.shadowRoot.activeElement;if(Pe===ce)break;ce=Pe}return ce}function Ne(ce){return ce.composedPath?ce.composedPath()[0]:ce.target}const pe="undefined"!=typeof window?window:{};function me(){return void 0!==pe.__karma__&&!!pe.__karma__||void 0!==pe.jasmine&&!!pe.jasmine||void 0!==pe.jest&&!!pe.jest||void 0!==pe.Mocha&&!!pe.Mocha}},5537:(Ze,ae,y)=>{y.d(ae,{PQ:()=>xe,ZD:()=>ue,mF:()=>be,Cl:()=>de,rL:()=>nt});var g=y(657),a=y(2316),U=y(763),z=y(4077),j=y(1289),F={schedule:function(oe){var ne=requestAnimationFrame,I=cancelAnimationFrame,K=F.delegate;K&&(ne=K.requestAnimationFrame,I=K.cancelAnimationFrame);var ve=ne(function(Ue){I=void 0,oe(Ue)});return new j.w0(function(){return null==I?void 0:I(ve)})},requestAnimationFrame:function(){for(var oe=[],ne=0;ne<arguments.length;ne++)oe[ne]=arguments[ne];var I=F.delegate;return((null==I?void 0:I.requestAnimationFrame)||requestAnimationFrame).apply(void 0,(0,U.ev)([],(0,U.CR)(oe)))},cancelAnimationFrame:function(){for(var oe=[],ne=0;ne<arguments.length;ne++)oe[ne]=arguments[ne];var I=F.delegate;return((null==I?void 0:I.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,(0,U.ev)([],(0,U.CR)(oe)))},delegate:void 0},N=function(oe){function ne(I,K){var ve=oe.call(this,I,K)||this;return ve.scheduler=I,ve.work=K,ve}return(0,U.ZT)(ne,oe),ne.prototype.requestAsyncId=function(I,K,ve){return void 0===ve&&(ve=0),null!==ve&&ve>0?oe.prototype.requestAsyncId.call(this,I,K,ve):(I.actions.push(this),I._scheduled||(I._scheduled=F.requestAnimationFrame(function(){return I.flush(void 0)})))},ne.prototype.recycleAsyncId=function(I,K,ve){if(void 0===ve&&(ve=0),null!=ve&&ve>0||null==ve&&this.delay>0)return oe.prototype.recycleAsyncId.call(this,I,K,ve);0===I.actions.length&&(F.cancelAnimationFrame(K),I._scheduled=void 0)},ne}(z.o),R=(new(function(oe){function ne(){return null!==oe&&oe.apply(this,arguments)||this}return(0,U.ZT)(ne,oe),ne.prototype.flush=function(I){this._active=!0,this._scheduled=void 0;var ve,K=this.actions,Ue=-1;I=I||K.shift();var st=K.length;do{if(ve=I.execute(I.state,I.delay))break}while(++Ue<st&&(I=K.shift()));if(this._active=!1,ve){for(;++Ue<st&&(I=K.shift());)I.unsubscribe();throw ve}},ne}(y(5428).v))(N),y(1325));y(3250);var G=y(8187),te=y(7599),Y=y(2027);y(9311);y(3256),y(6487),y(5552),y(1635),y(2249);var ze=y(4206),De=y(6477),Re=y(4094),$e=(y(7993),y(8578),y(6145)),Fe=y(4364),dt=y(772);let be=(()=>{class oe{constructor(I,K,ve){this._ngZone=I,this._platform=K,this._scrolled=new G.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ve}register(I){this.scrollContainers.has(I)||this.scrollContainers.set(I,I.elementScrolled().subscribe(()=>this._scrolled.next(I)))}deregister(I){const K=this.scrollContainers.get(I);K&&(K.unsubscribe(),this.scrollContainers.delete(I))}scrolled(I=20){return this._platform.isBrowser?new R.y(K=>{this._globalSubscription||this._addGlobalListener();const ve=I>0?this._scrolled.pipe((0,ze.e)(I)).subscribe(K):this._scrolled.subscribe(K);return this._scrolledCount++,()=>{ve.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,te.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((I,K)=>this.deregister(K)),this._scrolled.complete()}ancestorScrolled(I,K){const ve=this.getAncestorScrollContainers(I);return this.scrolled(K).pipe((0,De.h)(Ue=>!Ue||ve.indexOf(Ue)>-1))}getAncestorScrollContainers(I){const K=[];return this.scrollContainers.forEach((ve,Ue)=>{this._scrollableContainsElement(Ue,I)&&K.push(Ue)}),K}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(I,K){let ve=(0,g.fI)(K),Ue=I.getElementRef().nativeElement;do{if(ve==Ue)return!0}while(ve=ve.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const I=this._getWindow();return(0,Y.R)(I.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return oe.\u0275fac=function(I){return new(I||oe)(a.LFG(a.R0b),a.LFG($e.t4),a.LFG(Fe.K0,8))},oe.\u0275prov=a.Yz7({factory:function(){return new oe(a.LFG(a.R0b),a.LFG($e.t4),a.LFG(Fe.K0,8))},token:oe,providedIn:"root"}),oe})(),xe=(()=>{class oe{constructor(I,K,ve,Ue){this.elementRef=I,this.scrollDispatcher=K,this.ngZone=ve,this.dir=Ue,this._destroyed=new G.x,this._elementScrolled=new R.y(st=>this.ngZone.runOutsideAngular(()=>(0,Y.R)(this.elementRef.nativeElement,"scroll").pipe((0,Re.R)(this._destroyed)).subscribe(st)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(I){const K=this.elementRef.nativeElement,ve=this.dir&&"rtl"==this.dir.value;null==I.left&&(I.left=ve?I.end:I.start),null==I.right&&(I.right=ve?I.start:I.end),null!=I.bottom&&(I.top=K.scrollHeight-K.clientHeight-I.bottom),ve&&0!=(0,$e._i)()?(null!=I.left&&(I.right=K.scrollWidth-K.clientWidth-I.left),2==(0,$e._i)()?I.left=I.right:1==(0,$e._i)()&&(I.left=I.right?-I.right:I.right)):null!=I.right&&(I.left=K.scrollWidth-K.clientWidth-I.right),this._applyScrollToOptions(I)}_applyScrollToOptions(I){const K=this.elementRef.nativeElement;(0,$e.Mq)()?K.scrollTo(I):(null!=I.top&&(K.scrollTop=I.top),null!=I.left&&(K.scrollLeft=I.left))}measureScrollOffset(I){const K="left",Ue=this.elementRef.nativeElement;if("top"==I)return Ue.scrollTop;if("bottom"==I)return Ue.scrollHeight-Ue.clientHeight-Ue.scrollTop;const st=this.dir&&"rtl"==this.dir.value;return"start"==I?I=st?"right":K:"end"==I&&(I=st?K:"right"),st&&2==(0,$e._i)()?I==K?Ue.scrollWidth-Ue.clientWidth-Ue.scrollLeft:Ue.scrollLeft:st&&1==(0,$e._i)()?I==K?Ue.scrollLeft+Ue.scrollWidth-Ue.clientWidth:-Ue.scrollLeft:I==K?Ue.scrollLeft:Ue.scrollWidth-Ue.clientWidth-Ue.scrollLeft}}return oe.\u0275fac=function(I){return new(I||oe)(a.Y36(a.SBq),a.Y36(be),a.Y36(a.R0b),a.Y36(dt.Is,8))},oe.\u0275dir=a.lG2({type:oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),oe})(),nt=(()=>{class oe{constructor(I,K,ve){this._platform=I,this._change=new G.x,this._changeListener=Ue=>{this._change.next(Ue)},this._document=ve,K.runOutsideAngular(()=>{if(I.isBrowser){const Ue=this._getWindow();Ue.addEventListener("resize",this._changeListener),Ue.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const I=this._getWindow();I.removeEventListener("resize",this._changeListener),I.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const I={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),I}getViewportRect(){const I=this.getViewportScrollPosition(),{width:K,height:ve}=this.getViewportSize();return{top:I.top,left:I.left,bottom:I.top+ve,right:I.left+K,height:ve,width:K}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const I=this._document,K=this._getWindow(),ve=I.documentElement,Ue=ve.getBoundingClientRect();return{top:-Ue.top||I.body.scrollTop||K.scrollY||ve.scrollTop||0,left:-Ue.left||I.body.scrollLeft||K.scrollX||ve.scrollLeft||0}}change(I=20){return I>0?this._change.pipe((0,ze.e)(I)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const I=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:I.innerWidth,height:I.innerHeight}:{width:0,height:0}}}return oe.\u0275fac=function(I){return new(I||oe)(a.LFG($e.t4),a.LFG(a.R0b),a.LFG(Fe.K0,8))},oe.\u0275prov=a.Yz7({factory:function(){return new oe(a.LFG($e.t4),a.LFG(a.R0b),a.LFG(Fe.K0,8))},token:oe,providedIn:"root"}),oe})(),ue=(()=>{class oe{}return oe.\u0275fac=function(I){return new(I||oe)},oe.\u0275mod=a.oAB({type:oe}),oe.\u0275inj=a.cJS({}),oe})(),de=(()=>{class oe{}return oe.\u0275fac=function(I){return new(I||oe)},oe.\u0275mod=a.oAB({type:oe}),oe.\u0275inj=a.cJS({imports:[[dt.vT,$e.ud,ue],dt.vT,ue]}),oe})()},657:(Ze,ae,y)=>{y.d(ae,{Eq:()=>j,Ig:()=>a,HM:()=>F,fI:()=>N,su:()=>U});var g=y(2316);function a(H){return null!=H&&"false"!=`${H}`}function U(H,L=0){return function(H){return!isNaN(parseFloat(H))&&!isNaN(Number(H))}(H)?Number(H):L}function j(H){return Array.isArray(H)?H:[H]}function F(H){return null==H?"":"string"==typeof H?H:`${H}px`}function N(H){return H instanceof g.SBq?H.nativeElement:H}},4364:(Ze,ae,y)=>{y.d(ae,{mr:()=>_e,Ov:()=>vo,ez:()=>Zi,K0:()=>N,Do:()=>pe,V_:()=>L,Ye:()=>me,S$:()=>Y,mk:()=>Dt,sg:()=>Ft,O5:()=>Yr,PC:()=>vr,RF:()=>An,n9:()=>Rn,ED:()=>Sr,b0:()=>Ne,lw:()=>x,EM:()=>Xn,JF:()=>sa,NF:()=>Br,w_:()=>F,bD:()=>Yi,q:()=>U,Mx:()=>Ge,HT:()=>j});var g=y(2316);let a=null;function U(){return a}function j(C){a||(a=C)}class F{}const N=new g.OlP("DocumentToken");let x=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=(0,g.Yz7)({factory:H,token:C,providedIn:"platform"}),C})();function H(){return(0,g.LFG)(M)}const L=new g.OlP("Location Initialized");let M=(()=>{class C extends x{constructor(b){super(),this._doc=b,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(b){const k=U().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",b,!1),()=>k.removeEventListener("popstate",b)}onHashChange(b){const k=U().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",b,!1),()=>k.removeEventListener("hashchange",b)}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(b){this.location.pathname=b}pushState(b,k,ie){R()?this._history.pushState(b,k,ie):this.location.hash=ie}replaceState(b,k,ie){R()?this._history.replaceState(b,k,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return C.\u0275fac=function(b){return new(b||C)(g.LFG(N))},C.\u0275prov=(0,g.Yz7)({factory:W,token:C,providedIn:"platform"}),C})();function R(){return!!window.history.pushState}function W(){return new M((0,g.LFG)(N))}function X(C,A){if(0==C.length)return A;if(0==A.length)return C;let b=0;return C.endsWith("/")&&b++,A.startsWith("/")&&b++,2==b?C+A.substring(1):1==b?C+A:C+"/"+A}function G(C){const A=C.match(/#|\?|$/),b=A&&A.index||C.length;return C.slice(0,b-("/"===C[b-1]?1:0))+C.slice(b)}function te(C){return C&&"?"!==C[0]?"?"+C:C}let Y=(()=>{class C{historyGo(b){throw new Error("Not implemented")}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275prov=(0,g.Yz7)({factory:q,token:C,providedIn:"root"}),C})();function q(C){const A=(0,g.LFG)(N).location;return new Ne((0,g.LFG)(x),A&&A.origin||"")}const _e=new g.OlP("appBaseHref");let Ne=(()=>{class C extends Y{constructor(b,k){if(super(),this._platformLocation=b,this._removeListenerFns=[],null==k&&(k=this._platformLocation.getBaseHrefFromDOM()),null==k)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=k}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return X(this._baseHref,b)}path(b=!1){const k=this._platformLocation.pathname+te(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&b?`${k}${ie}`:k}pushState(b,k,ie,He){const Xe=this.prepareExternalUrl(ie+te(He));this._platformLocation.pushState(b,k,Xe)}replaceState(b,k,ie,He){const Xe=this.prepareExternalUrl(ie+te(He));this._platformLocation.replaceState(b,k,Xe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){var k,ie;null===(ie=(k=this._platformLocation).historyGo)||void 0===ie||ie.call(k,b)}}return C.\u0275fac=function(b){return new(b||C)(g.LFG(x),g.LFG(_e,8))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})(),pe=(()=>{class C extends Y{constructor(b,k){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let k=this._platformLocation.hash;return null==k&&(k="#"),k.length>0?k.substring(1):k}prepareExternalUrl(b){const k=X(this._baseHref,b);return k.length>0?"#"+k:k}pushState(b,k,ie,He){let Xe=this.prepareExternalUrl(ie+te(He));0==Xe.length&&(Xe=this._platformLocation.pathname),this._platformLocation.pushState(b,k,Xe)}replaceState(b,k,ie,He){let Xe=this.prepareExternalUrl(ie+te(He));0==Xe.length&&(Xe=this._platformLocation.pathname),this._platformLocation.replaceState(b,k,Xe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(b=0){var k,ie;null===(ie=(k=this._platformLocation).historyGo)||void 0===ie||ie.call(k,b)}}return C.\u0275fac=function(b){return new(b||C)(g.LFG(x),g.LFG(_e,8))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})(),me=(()=>{class C{constructor(b,k){this._subject=new g.vpe,this._urlChangeListeners=[],this._platformStrategy=b;const ie=this._platformStrategy.getBaseHref();this._platformLocation=k,this._baseHref=G(Le(ie)),this._platformStrategy.onPopState(He=>{this._subject.emit({url:this.path(!0),pop:!0,state:He.state,type:He.type})})}path(b=!1){return this.normalize(this._platformStrategy.path(b))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(b,k=""){return this.path()==this.normalize(b+te(k))}normalize(b){return C.stripTrailingSlash(function(C,A){return C&&A.startsWith(C)?A.substring(C.length):A}(this._baseHref,Le(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._platformStrategy.prepareExternalUrl(b)}go(b,k="",ie=null){this._platformStrategy.pushState(ie,"",b,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+te(k)),ie)}replaceState(b,k="",ie=null){this._platformStrategy.replaceState(ie,"",b,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+te(k)),ie)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(b=0){var k,ie;null===(ie=(k=this._platformStrategy).historyGo)||void 0===ie||ie.call(k,b)}onUrlChange(b){this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)}))}_notifyUrlChangeListeners(b="",k){this._urlChangeListeners.forEach(ie=>ie(b,k))}subscribe(b,k,ie){return this._subject.subscribe({next:b,error:k,complete:ie})}}return C.\u0275fac=function(b){return new(b||C)(g.LFG(Y),g.LFG(x))},C.normalizeQueryParams=te,C.joinWithSlash=X,C.stripTrailingSlash=G,C.\u0275prov=(0,g.Yz7)({factory:ce,token:C,providedIn:"root"}),C})();function ce(){return new me((0,g.LFG)(Y),(0,g.LFG)(x))}function Le(C){return C.replace(/\/index.html$/,"")}var Re=(()=>((Re=Re||{})[Re.Zero=0]="Zero",Re[Re.One=1]="One",Re[Re.Two=2]="Two",Re[Re.Few=3]="Few",Re[Re.Many=4]="Many",Re[Re.Other=5]="Other",Re))();const be=g.kL8;class Ee{}let Q=(()=>{class C extends Ee{constructor(b){super(),this.locale=b}getPluralCategory(b,k){switch(be(k||this.locale)(b)){case Re.Zero:return"zero";case Re.One:return"one";case Re.Two:return"two";case Re.Few:return"few";case Re.Many:return"many";default:return"other"}}}return C.\u0275fac=function(b){return new(b||C)(g.LFG(g.soG))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();function Ge(C,A){A=encodeURIComponent(A);for(const b of C.split(";")){const k=b.indexOf("="),[ie,He]=-1==k?[b,""]:[b.slice(0,k),b.slice(k+1)];if(ie.trim()===A)return decodeURIComponent(He)}return null}let Dt=(()=>{class C{constructor(b,k,ie,He){this._iterableDiffers=b,this._keyValueDiffers=k,this._ngEl=ie,this._renderer=He,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(b){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof b?b.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(b){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof b?b.split(/\s+/):b,this._rawClass&&((0,g.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const b=this._iterableDiffer.diff(this._rawClass);b&&this._applyIterableChanges(b)}else if(this._keyValueDiffer){const b=this._keyValueDiffer.diff(this._rawClass);b&&this._applyKeyValueChanges(b)}}_applyKeyValueChanges(b){b.forEachAddedItem(k=>this._toggleClass(k.key,k.currentValue)),b.forEachChangedItem(k=>this._toggleClass(k.key,k.currentValue)),b.forEachRemovedItem(k=>{k.previousValue&&this._toggleClass(k.key,!1)})}_applyIterableChanges(b){b.forEachAddedItem(k=>{if("string"!=typeof k.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,g.AaK)(k.item)}`);this._toggleClass(k.item,!0)}),b.forEachRemovedItem(k=>this._toggleClass(k.item,!1))}_applyClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(k=>this._toggleClass(k,!0)):Object.keys(b).forEach(k=>this._toggleClass(k,!!b[k])))}_removeClasses(b){b&&(Array.isArray(b)||b instanceof Set?b.forEach(k=>this._toggleClass(k,!1)):Object.keys(b).forEach(k=>this._toggleClass(k,!1)))}_toggleClass(b,k){(b=b.trim())&&b.split(/\s+/g).forEach(ie=>{k?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.ZZ4),g.Y36(g.aQg),g.Y36(g.SBq),g.Y36(g.Qsj))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),C})();class qt{constructor(A,b,k,ie){this.$implicit=A,this.ngForOf=b,this.index=k,this.count=ie}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 Ft=(()=>{class C{constructor(b,k,ie){this._viewContainer=b,this._template=k,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;if(!this._differ&&b)try{this._differ=this._differs.find(b).create(this.ngForTrackBy)}catch(k){throw new Error(`Cannot find a differ supporting object '${b}' of type '${function(C){return C.name||typeof C}(b)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const k=[];b.forEachOperation((ie,He,Xe)=>{if(null==ie.previousIndex){const yt=this._viewContainer.createEmbeddedView(this._template,new qt(null,this._ngForOf,-1,-1),null===Xe?void 0:Xe),$t=new fi(ie,yt);k.push($t)}else if(null==Xe)this._viewContainer.remove(null===He?void 0:He);else if(null!==He){const yt=this._viewContainer.get(He);this._viewContainer.move(yt,Xe);const $t=new fi(ie,yt);k.push($t)}});for(let ie=0;ie<k.length;ie++)this._perViewChange(k[ie].view,k[ie].record);for(let ie=0,He=this._viewContainer.length;ie<He;ie++){const Xe=this._viewContainer.get(ie);Xe.context.index=ie,Xe.context.count=He,Xe.context.ngForOf=this._ngForOf}b.forEachIdentityChange(ie=>{this._viewContainer.get(ie.currentIndex).context.$implicit=ie.item})}_perViewChange(b,k){b.context.$implicit=k.item}static ngTemplateContextGuard(b,k){return!0}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),C})();class fi{constructor(A,b){this.record=A,this.view=b}}let Yr=(()=>{class C{constructor(b,k){this._viewContainer=b,this._context=new Qn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){wr("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){wr("ngIfElse",b),this._elseTemplateRef=b,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(b,k){return!0}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.s_b),g.Y36(g.Rgc))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),C})();class Qn{constructor(){this.$implicit=null,this.ngIf=null}}function wr(C,A){if(A&&!A.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,g.AaK)(A)}'.`)}class Lr{constructor(A,b){this._viewContainerRef=A,this._templateRef=b,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let An=(()=>{class C{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(b)}_matchCase(b){const k=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(b){if(this._defaultViews&&b!==this._defaultUsed){this._defaultUsed=b;for(let k=0;k<this._defaultViews.length;k++)this._defaultViews[k].enforceState(b)}}}return C.\u0275fac=function(b){return new(b||C)},C.\u0275dir=g.lG2({type:C,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),C})(),Rn=(()=>{class C{constructor(b,k,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Lr(b,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(An,9))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),C})(),Sr=(()=>{class C{constructor(b,k,ie){ie._addDefault(new Lr(b,k))}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(An,9))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngSwitchDefault",""]]}),C})(),vr=(()=>{class C{constructor(b,k,ie){this._ngEl=b,this._differs=k,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(b){this._ngStyle=b,!this._differ&&b&&(this._differ=this._differs.find(b).create())}ngDoCheck(){if(this._differ){const b=this._differ.diff(this._ngStyle);b&&this._applyChanges(b)}}_setStyle(b,k){const[ie,He]=b.split(".");null!=(k=null!=k&&He?`${k}${He}`:k)?this._renderer.setStyle(this._ngEl.nativeElement,ie,k):this._renderer.removeStyle(this._ngEl.nativeElement,ie)}_applyChanges(b){b.forEachRemovedItem(k=>this._setStyle(k.key,null)),b.forEachAddedItem(k=>this._setStyle(k.key,k.currentValue)),b.forEachChangedItem(k=>this._setStyle(k.key,k.currentValue))}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.SBq),g.Y36(g.aQg),g.Y36(g.Qsj))},C.\u0275dir=g.lG2({type:C,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),C})();class ms{createSubscription(A,b){return A.subscribe({next:b,error:k=>{throw k}})}dispose(A){A.unsubscribe()}onDestroy(A){A.unsubscribe()}}class Vs{createSubscription(A,b){return A.then(b,k=>{throw k})}dispose(A){}onDestroy(A){}}const yo=new Vs,pi=new ms;let vo=(()=>{class C{constructor(b){this._ref=b,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,k=>this._updateLatestValue(b,k))}_selectStrategy(b){if((0,g.QGY)(b))return yo;if((0,g.F4k)(b))return pi;throw function(C,A){return Error(`InvalidPipeArgument: '${A}' for pipe '${(0,g.AaK)(C)}'`)}(C,b)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,k){b===this._obj&&(this._latestValue=k,this._ref.markForCheck())}}return C.\u0275fac=function(b){return new(b||C)(g.Y36(g.sBO,16))},C.\u0275pipe=g.Yjl({name:"async",type:C,pure:!1}),C})(),Zi=(()=>{class C{}return C.\u0275fac=function(b){return new(b||C)},C.\u0275mod=g.oAB({type:C}),C.\u0275inj=g.cJS({providers:[{provide:Ee,useClass:Q}]}),C})();const Yi="browser";function Br(C){return C===Yi}let Xn=(()=>{class C{}return C.\u0275prov=(0,g.Yz7)({token:C,providedIn:"root",factory:()=>new Ks((0,g.LFG)(N),window)}),C})();class Ks{constructor(A,b){this.document=A,this.window=b,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const b=function(C,A){const b=C.getElementById(A)||C.getElementsByName(A)[0];if(b)return b;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const k=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let ie=k.currentNode;for(;ie;){const He=ie.shadowRoot;if(He){const Xe=He.getElementById(A)||He.querySelector(`[name="${A}"]`);if(Xe)return Xe}ie=k.nextNode()}}return null}(this.document,A);b&&(this.scrollToElement(b),this.attemptFocus(b))}setHistoryScrollRestoration(A){if(this.supportScrollRestoration()){const b=this.window.history;b&&b.scrollRestoration&&(b.scrollRestoration=A)}}scrollToElement(A){const b=A.getBoundingClientRect(),k=b.left+this.window.pageXOffset,ie=b.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(k-He[0],ie-He[1])}attemptFocus(A){return A.focus(),this.document.activeElement===A}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const A=ti(this.window.history)||ti(Object.getPrototypeOf(this.window.history));return!(!A||!A.writable&&!A.set)}catch(A){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(A){return!1}}}function ti(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class sa{}},3882:(Ze,ae,y)=>{y.d(ae,{eN:()=>Fe,JF:()=>Et});var g=y(4364),a=y(2316),U=y(7599),z=y(1325),j=y(5051),F=y(6477),N=y(9005);class x{}class H{}class L{constructor(ue){this.normalizedNames=new Map,this.lazyUpdate=null,ue?this.lazyInit="string"==typeof ue?()=>{this.headers=new Map,ue.split("\n").forEach(de=>{const oe=de.indexOf(":");if(oe>0){const ne=de.slice(0,oe),I=ne.toLowerCase(),K=de.slice(oe+1).trim();this.maybeSetNormalizedName(ne,I),this.headers.has(I)?this.headers.get(I).push(K):this.headers.set(I,[K])}})}:()=>{this.headers=new Map,Object.keys(ue).forEach(de=>{let oe=ue[de];const ne=de.toLowerCase();"string"==typeof oe&&(oe=[oe]),oe.length>0&&(this.headers.set(ne,oe),this.maybeSetNormalizedName(de,ne))})}:this.headers=new Map}has(ue){return this.init(),this.headers.has(ue.toLowerCase())}get(ue){this.init();const de=this.headers.get(ue.toLowerCase());return de&&de.length>0?de[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ue){return this.init(),this.headers.get(ue.toLowerCase())||null}append(ue,de){return this.clone({name:ue,value:de,op:"a"})}set(ue,de){return this.clone({name:ue,value:de,op:"s"})}delete(ue,de){return this.clone({name:ue,value:de,op:"d"})}maybeSetNormalizedName(ue,de){this.normalizedNames.has(de)||this.normalizedNames.set(de,ue)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ue=>this.applyUpdate(ue)),this.lazyUpdate=null))}copyFrom(ue){ue.init(),Array.from(ue.headers.keys()).forEach(de=>{this.headers.set(de,ue.headers.get(de)),this.normalizedNames.set(de,ue.normalizedNames.get(de))})}clone(ue){const de=new L;return de.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,de.lazyUpdate=(this.lazyUpdate||[]).concat([ue]),de}applyUpdate(ue){const de=ue.name.toLowerCase();switch(ue.op){case"a":case"s":let oe=ue.value;if("string"==typeof oe&&(oe=[oe]),0===oe.length)return;this.maybeSetNormalizedName(ue.name,de);const ne=("a"===ue.op?this.headers.get(de):void 0)||[];ne.push(...oe),this.headers.set(de,ne);break;case"d":const I=ue.value;if(I){let K=this.headers.get(de);if(!K)return;K=K.filter(ve=>-1===I.indexOf(ve)),0===K.length?(this.headers.delete(de),this.normalizedNames.delete(de)):this.headers.set(de,K)}else this.headers.delete(de),this.normalizedNames.delete(de)}}forEach(ue){this.init(),Array.from(this.normalizedNames.keys()).forEach(de=>ue(this.normalizedNames.get(de),this.headers.get(de)))}}class M{encodeKey(ue){return G(ue)}encodeValue(ue){return G(ue)}decodeKey(ue){return decodeURIComponent(ue)}decodeValue(ue){return decodeURIComponent(ue)}}const W=/%(\d[a-f0-9])/gi,X={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function G(je){return encodeURIComponent(je).replace(W,(ue,de)=>{var oe;return null!==(oe=X[de])&&void 0!==oe?oe:ue})}function te(je){return`${je}`}class Y{constructor(ue={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ue.encoder||new M,ue.fromString){if(ue.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(je,ue){const de=new Map;return je.length>0&&je.replace(/^\?/,"").split("&").forEach(ne=>{const I=ne.indexOf("="),[K,ve]=-1==I?[ue.decodeKey(ne),""]:[ue.decodeKey(ne.slice(0,I)),ue.decodeValue(ne.slice(I+1))],Ue=de.get(K)||[];Ue.push(ve),de.set(K,Ue)}),de}(ue.fromString,this.encoder)}else ue.fromObject?(this.map=new Map,Object.keys(ue.fromObject).forEach(de=>{const oe=ue.fromObject[de];this.map.set(de,Array.isArray(oe)?oe:[oe])})):this.map=null}has(ue){return this.init(),this.map.has(ue)}get(ue){this.init();const de=this.map.get(ue);return de?de[0]:null}getAll(ue){return this.init(),this.map.get(ue)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ue,de){return this.clone({param:ue,value:de,op:"a"})}appendAll(ue){const de=[];return Object.keys(ue).forEach(oe=>{const ne=ue[oe];Array.isArray(ne)?ne.forEach(I=>{de.push({param:oe,value:I,op:"a"})}):de.push({param:oe,value:ne,op:"a"})}),this.clone(de)}set(ue,de){return this.clone({param:ue,value:de,op:"s"})}delete(ue,de){return this.clone({param:ue,value:de,op:"d"})}toString(){return this.init(),this.keys().map(ue=>{const de=this.encoder.encodeKey(ue);return this.map.get(ue).map(oe=>de+"="+this.encoder.encodeValue(oe)).join("&")}).filter(ue=>""!==ue).join("&")}clone(ue){const de=new Y({encoder:this.encoder});return de.cloneFrom=this.cloneFrom||this,de.updates=(this.updates||[]).concat(ue),de}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ue=>this.map.set(ue,this.cloneFrom.map.get(ue))),this.updates.forEach(ue=>{switch(ue.op){case"a":case"s":const de=("a"===ue.op?this.map.get(ue.param):void 0)||[];de.push(te(ue.value)),this.map.set(ue.param,de);break;case"d":if(void 0===ue.value){this.map.delete(ue.param);break}{let oe=this.map.get(ue.param)||[];const ne=oe.indexOf(te(ue.value));-1!==ne&&oe.splice(ne,1),oe.length>0?this.map.set(ue.param,oe):this.map.delete(ue.param)}}}),this.cloneFrom=this.updates=null)}}class _e{constructor(){this.map=new Map}set(ue,de){return this.map.set(ue,de),this}get(ue){return this.map.has(ue)||this.map.set(ue,ue.defaultValue()),this.map.get(ue)}delete(ue){return this.map.delete(ue),this}keys(){return this.map.keys()}}function pe(je){return"undefined"!=typeof ArrayBuffer&&je instanceof ArrayBuffer}function me(je){return"undefined"!=typeof Blob&&je instanceof Blob}function ce(je){return"undefined"!=typeof FormData&&je instanceof FormData}class Le{constructor(ue,de,oe,ne){let I;if(this.url=de,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ue.toUpperCase(),function(je){switch(je){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ne?(this.body=void 0!==oe?oe:null,I=ne):I=oe,I&&(this.reportProgress=!!I.reportProgress,this.withCredentials=!!I.withCredentials,I.responseType&&(this.responseType=I.responseType),I.headers&&(this.headers=I.headers),I.context&&(this.context=I.context),I.params&&(this.params=I.params)),this.headers||(this.headers=new L),this.context||(this.context=new _e),this.params){const K=this.params.toString();if(0===K.length)this.urlWithParams=de;else{const ve=de.indexOf("?");this.urlWithParams=de+(-1===ve?"?":ve<de.length-1?"&":"")+K}}else this.params=new Y,this.urlWithParams=de}serializeBody(){return null===this.body?null:pe(this.body)||me(this.body)||ce(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Y?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||ce(this.body)?null:me(this.body)?this.body.type||null:pe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Y?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ue={}){var de;const oe=ue.method||this.method,ne=ue.url||this.url,I=ue.responseType||this.responseType,K=void 0!==ue.body?ue.body:this.body,ve=void 0!==ue.withCredentials?ue.withCredentials:this.withCredentials,Ue=void 0!==ue.reportProgress?ue.reportProgress:this.reportProgress;let st=ue.headers||this.headers,pt=ue.params||this.params;const at=null!==(de=ue.context)&&void 0!==de?de:this.context;return void 0!==ue.setHeaders&&(st=Object.keys(ue.setHeaders).reduce((ft,_t)=>ft.set(_t,ue.setHeaders[_t]),st)),ue.setParams&&(pt=Object.keys(ue.setParams).reduce((ft,_t)=>ft.set(_t,ue.setParams[_t]),pt)),new Le(oe,ne,K,{params:pt,headers:st,context:at,reportProgress:Ue,responseType:I,withCredentials:ve})}}var ze=(()=>((ze=ze||{})[ze.Sent=0]="Sent",ze[ze.UploadProgress=1]="UploadProgress",ze[ze.ResponseHeader=2]="ResponseHeader",ze[ze.DownloadProgress=3]="DownloadProgress",ze[ze.Response=4]="Response",ze[ze.User=5]="User",ze))();class De{constructor(ue,de=200,oe="OK"){this.headers=ue.headers||new L,this.status=void 0!==ue.status?ue.status:de,this.statusText=ue.statusText||oe,this.url=ue.url||null,this.ok=this.status>=200&&this.status<300}}class Re extends De{constructor(ue={}){super(ue),this.type=ze.ResponseHeader}clone(ue={}){return new Re({headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class Oe extends De{constructor(ue={}){super(ue),this.type=ze.Response,this.body=void 0!==ue.body?ue.body:null}clone(ue={}){return new Oe({body:void 0!==ue.body?ue.body:this.body,headers:ue.headers||this.headers,status:void 0!==ue.status?ue.status:this.status,statusText:ue.statusText||this.statusText,url:ue.url||this.url||void 0})}}class Ve extends De{constructor(ue){super(ue,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ue.url||"(unknown url)"}`:`Http failure response for ${ue.url||"(unknown url)"}: ${ue.status} ${ue.statusText}`,this.error=ue.error||null}}function $e(je,ue){return{body:ue,headers:je.headers,context:je.context,observe:je.observe,params:je.params,reportProgress:je.reportProgress,responseType:je.responseType,withCredentials:je.withCredentials}}let Fe=(()=>{class je{constructor(de){this.handler=de}request(de,oe,ne={}){let I;if(de instanceof Le)I=de;else{let Ue,st;Ue=ne.headers instanceof L?ne.headers:new L(ne.headers),ne.params&&(st=ne.params instanceof Y?ne.params:new Y({fromObject:ne.params})),I=new Le(de,oe,void 0!==ne.body?ne.body:null,{headers:Ue,context:ne.context,params:st,reportProgress:ne.reportProgress,responseType:ne.responseType||"json",withCredentials:ne.withCredentials})}const K=(0,U.of)(I).pipe((0,j.b)(Ue=>this.handler.handle(Ue)));if(de instanceof Le||"events"===ne.observe)return K;const ve=K.pipe((0,F.h)(Ue=>Ue instanceof Oe));switch(ne.observe||"body"){case"body":switch(I.responseType){case"arraybuffer":return ve.pipe((0,N.U)(Ue=>{if(null!==Ue.body&&!(Ue.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ue.body}));case"blob":return ve.pipe((0,N.U)(Ue=>{if(null!==Ue.body&&!(Ue.body instanceof Blob))throw new Error("Response is not a Blob.");return Ue.body}));case"text":return ve.pipe((0,N.U)(Ue=>{if(null!==Ue.body&&"string"!=typeof Ue.body)throw new Error("Response is not a string.");return Ue.body}));default:return ve.pipe((0,N.U)(Ue=>Ue.body))}case"response":return ve;default:throw new Error(`Unreachable: unhandled observe type ${ne.observe}}`)}}delete(de,oe={}){return this.request("DELETE",de,oe)}get(de,oe={}){return this.request("GET",de,oe)}head(de,oe={}){return this.request("HEAD",de,oe)}jsonp(de,oe){return this.request("JSONP",de,{params:(new Y).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(de,oe={}){return this.request("OPTIONS",de,oe)}patch(de,oe,ne={}){return this.request("PATCH",de,$e(ne,oe))}post(de,oe,ne={}){return this.request("POST",de,$e(ne,oe))}put(de,oe,ne={}){return this.request("PUT",de,$e(ne,oe))}}return je.\u0275fac=function(de){return new(de||je)(a.LFG(x))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})();class dt{constructor(ue,de){this.next=ue,this.interceptor=de}handle(ue){return this.interceptor.intercept(ue,this.next)}}const Lt=new a.OlP("HTTP_INTERCEPTORS");let sn=(()=>{class je{intercept(de,oe){return oe.handle(de)}}return je.\u0275fac=function(de){return new(de||je)},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})();const Sn=/^\)\]\}',?\n/;let fn=(()=>{class je{constructor(de){this.xhrFactory=de}handle(de){if("JSONP"===de.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z.y(oe=>{const ne=this.xhrFactory.build();if(ne.open(de.method,de.urlWithParams),de.withCredentials&&(ne.withCredentials=!0),de.headers.forEach((_t,mt)=>ne.setRequestHeader(_t,mt.join(","))),de.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!de.headers.has("Content-Type")){const _t=de.detectContentTypeHeader();null!==_t&&ne.setRequestHeader("Content-Type",_t)}if(de.responseType){const _t=de.responseType.toLowerCase();ne.responseType="json"!==_t?_t:"text"}const I=de.serializeBody();let K=null;const ve=()=>{if(null!==K)return K;const _t=1223===ne.status?204:ne.status,mt=ne.statusText||"OK",ye=new L(ne.getAllResponseHeaders()),fe=function(je){return"responseURL"in je&&je.responseURL?je.responseURL:/^X-Request-URL:/m.test(je.getAllResponseHeaders())?je.getResponseHeader("X-Request-URL"):null}(ne)||de.url;return K=new Re({headers:ye,status:_t,statusText:mt,url:fe}),K},Ue=()=>{let{headers:_t,status:mt,statusText:ye,url:fe}=ve(),Z=null;204!==mt&&(Z=void 0===ne.response?ne.responseText:ne.response),0===mt&&(mt=Z?200:0);let Te=mt>=200&&mt<300;if("json"===de.responseType&&"string"==typeof Z){const ct=Z;Z=Z.replace(Sn,"");try{Z=""!==Z?JSON.parse(Z):null}catch(Se){Z=ct,Te&&(Te=!1,Z={error:Se,text:Z})}}Te?(oe.next(new Oe({body:Z,headers:_t,status:mt,statusText:ye,url:fe||void 0})),oe.complete()):oe.error(new Ve({error:Z,headers:_t,status:mt,statusText:ye,url:fe||void 0}))},st=_t=>{const{url:mt}=ve(),ye=new Ve({error:_t,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:mt||void 0});oe.error(ye)};let pt=!1;const at=_t=>{pt||(oe.next(ve()),pt=!0);let mt={type:ze.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(mt.total=_t.total),"text"===de.responseType&&!!ne.responseText&&(mt.partialText=ne.responseText),oe.next(mt)},ft=_t=>{let mt={type:ze.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(mt.total=_t.total),oe.next(mt)};return ne.addEventListener("load",Ue),ne.addEventListener("error",st),ne.addEventListener("timeout",st),ne.addEventListener("abort",st),de.reportProgress&&(ne.addEventListener("progress",at),null!==I&&ne.upload&&ne.upload.addEventListener("progress",ft)),ne.send(I),oe.next({type:ze.Sent}),()=>{ne.removeEventListener("error",st),ne.removeEventListener("abort",st),ne.removeEventListener("load",Ue),ne.removeEventListener("timeout",st),de.reportProgress&&(ne.removeEventListener("progress",at),null!==I&&ne.upload&&ne.upload.removeEventListener("progress",ft)),ne.readyState!==ne.DONE&&ne.abort()}})}}return je.\u0275fac=function(de){return new(de||je)(a.LFG(g.JF))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})();const pn=new a.OlP("XSRF_COOKIE_NAME"),hn=new a.OlP("XSRF_HEADER_NAME");class ot{}let wt=(()=>{class je{constructor(de,oe,ne){this.doc=de,this.platform=oe,this.cookieName=ne,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const de=this.doc.cookie||"";return de!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g.Mx)(de,this.cookieName),this.lastCookieString=de),this.lastToken}}return je.\u0275fac=function(de){return new(de||je)(a.LFG(g.K0),a.LFG(a.Lbi),a.LFG(pn))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})(),be=(()=>{class je{constructor(de,oe){this.tokenService=de,this.headerName=oe}intercept(de,oe){const ne=de.url.toLowerCase();if("GET"===de.method||"HEAD"===de.method||ne.startsWith("http://")||ne.startsWith("https://"))return oe.handle(de);const I=this.tokenService.getToken();return null!==I&&!de.headers.has(this.headerName)&&(de=de.clone({headers:de.headers.set(this.headerName,I)})),oe.handle(de)}}return je.\u0275fac=function(de){return new(de||je)(a.LFG(ot),a.LFG(hn))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})(),xe=(()=>{class je{constructor(de,oe){this.backend=de,this.injector=oe,this.chain=null}handle(de){if(null===this.chain){const oe=this.injector.get(Lt,[]);this.chain=oe.reduceRight((ne,I)=>new dt(ne,I),this.backend)}return this.chain.handle(de)}}return je.\u0275fac=function(de){return new(de||je)(a.LFG(H),a.LFG(a.zs3))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac}),je})(),Qe=(()=>{class je{static disable(){return{ngModule:je,providers:[{provide:be,useClass:sn}]}}static withOptions(de={}){return{ngModule:je,providers:[de.cookieName?{provide:pn,useValue:de.cookieName}:[],de.headerName?{provide:hn,useValue:de.headerName}:[]]}}}return je.\u0275fac=function(de){return new(de||je)},je.\u0275mod=a.oAB({type:je}),je.\u0275inj=a.cJS({providers:[be,{provide:Lt,useExisting:be,multi:!0},{provide:ot,useClass:wt},{provide:pn,useValue:"XSRF-TOKEN"},{provide:hn,useValue:"X-XSRF-TOKEN"}]}),je})(),Et=(()=>{class je{}return je.\u0275fac=function(de){return new(de||je)},je.\u0275mod=a.oAB({type:je}),je.\u0275inj=a.cJS({providers:[Fe,{provide:x,useClass:xe},fn,{provide:H,useExisting:fn}],imports:[[Qe.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),je})()},2316:(Ze,ae,y)=>{y.d(ae,{deG:()=>nd,tb:()=>Hy,AFp:()=>Uy,ip1:()=>Dh,CZH:()=>nl,hGG:()=>xS,z2F:()=>lc,sBO:()=>rS,Sil:()=>Mh,_Vd:()=>Ja,EJc:()=>Wy,SBq:()=>ps,qLn:()=>$,vpe:()=>gs,gxx:()=>Fa,tBr:()=>Pi,XFs:()=>Qe,OlP:()=>jn,zs3:()=>Wn,ZZ4:()=>ku,aQg:()=>Bu,soG:()=>xu,YKP:()=>X_,h0i:()=>Yo,PXZ:()=>Yw,R0b:()=>li,FiY:()=>Xr,Lbi:()=>jy,g9A:()=>Vy,n_E:()=>sc,Qsj:()=>oD,FYo:()=>Mu,JOm:()=>cs,Tiy:()=>ah,q3G:()=>$n,WD2:()=>vs,tp0:()=>is,Rgc:()=>oc,dDg:()=>Zy,DyG:()=>Fo,q4F:()=>lh,GfV:()=>Y_,s_b:()=>Ru,ifc:()=>K,eFA:()=>qy,G48:()=>Hw,Gpc:()=>M,f3M:()=>xc,X6Q:()=>Ph,_c5:()=>TS,VLi:()=>jw,c2e:()=>$y,zSh:()=>Wl,wAp:()=>Ot,vHH:()=>G,EiD:()=>Ta,mCW:()=>$o,qzn:()=>Ps,JVY:()=>bd,pB0:()=>jc,eBb:()=>wd,L6k:()=>Dd,LAX:()=>Sd,cg1:()=>Xf,Tjo:()=>hS,kL8:()=>__,yhl:()=>Vc,dqk:()=>at,sIi:()=>Kl,CqO:()=>Vf,QGY:()=>Uf,F4k:()=>Sm,RDi:()=>bo,AaK:()=>x,z3N:()=>Fi,qOj:()=>Sf,TTD:()=>Zi,_Bn:()=>W_,xp6:()=>eg,uIk:()=>If,Tol:()=>Gm,Gre:()=>a_,ekj:()=>Gf,Suo:()=>_y,Xpm:()=>Be,lG2:()=>qr,Yz7:()=>Ht,cJS:()=>zt,oAB:()=>er,Yjl:()=>ui,Y36:()=>Yl,_UZ:()=>Dm,BQk:()=>Bf,ynx:()=>kf,qZA:()=>Lf,TgZ:()=>Nf,EpF:()=>wm,n5z:()=>qs,Ikx:()=>Qf,LFG:()=>Ln,$8M:()=>eo,NdJ:()=>jf,CRH:()=>yy,kcU:()=>Nt,O4$:()=>ht,oxw:()=>Im,ALo:()=>ly,lcZ:()=>cy,Hsn:()=>Rm,F$t:()=>Am,Q6J:()=>xf,s9C:()=>Wf,MGl:()=>yu,VKq:()=>ty,WLB:()=>ny,iGM:()=>gy,MAs:()=>dm,evT:()=>Ip,Jf7:()=>ho,CHM:()=>wo,oJD:()=>Ll,LSH:()=>Ma,kYT:()=>Dr,Udp:()=>zf,WFA:()=>Hf,d8E:()=>Jf,YNc:()=>um,_uU:()=>qm,Oqu:()=>Zf,hij:()=>Eu,AsE:()=>Yf,Gf:()=>my});var g=y(8187),a=y(1289),U=y(1325),z=y(7159),j=y(1635);function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function N(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function x(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(x).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 H(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L=F({__forward_ref__:F});function M(e){return e.__forward_ref__=M,e.toString=function(){return x(this())},e}function R(e){return W(e)?e():e}function W(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===M}class G extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function q(e){return"string"==typeof e?e:null==e?"":String(e)}function _e(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}function ce(e,t){const n=t?` in ${t}`:"";throw new G("201",`No provider for ${_e(e)} found${n}`)}function Ut(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ht(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function fn(e){return pn(e,be)||pn(e,qe)}function pn(e,t){return e.hasOwnProperty(t)?e[t]:null}function wt(e){return e&&(e.hasOwnProperty(xe)||e.hasOwnProperty(nt))?e[xe]:null}const be=F({\u0275prov:F}),xe=F({\u0275inj:F}),qe=F({ngInjectableDef:F}),nt=F({ngInjectorDef:F});var Qe=(()=>((Qe=Qe||{})[Qe.Default=0]="Default",Qe[Qe.Host=1]="Host",Qe[Qe.Self=2]="Self",Qe[Qe.SkipSelf=4]="SkipSelf",Qe[Qe.Optional=8]="Optional",Qe))();let Et;function Yt(e){const t=Et;return Et=e,t}function je(e,t,n){const r=fn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Qe.Optional?null:void 0!==t?t:void ce(x(e),"Injector")}function de(e){return{toString:e}.toString()}var oe=(()=>((oe=oe||{})[oe.OnPush=0]="OnPush",oe[oe.Default=1]="Default",oe))(),K=(()=>((K=K||{})[K.Emulated=0]="Emulated",K[K.None=2]="None",K[K.ShadowDom=3]="ShadowDom",K))();const ve="undefined"!=typeof globalThis&&globalThis,Ue="undefined"!=typeof window&&window,st="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,at=ve||"undefined"!=typeof global&&global||Ue||st,mt={},ye=[],fe=F({\u0275cmp:F}),Z=F({\u0275dir:F}),Te=F({\u0275pipe:F}),ct=F({\u0275mod:F}),Se=F({\u0275loc:F}),le=F({\u0275fac:F}),J=F({__NG_ELEMENT_ID__:F});let we=0;function Be(e){return de(()=>{const n={},r={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===oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||K.Emulated,id:"c",styles:e.styles||ye,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,l=e.pipes;return r.id+=we++,r.inputs=ci(e.inputs,n),r.outputs=ci(e.outputs),s&&s.forEach(f=>f(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(bt):null,r.pipeDefs=l?()=>("function"==typeof l?l():l).map(un):null,r})}function bt(e){return Tn(e)||function(e){return e[Z]||null}(e)}function un(e){return function(e){return e[Te]||null}(e)}const kn={};function er(e){return de(()=>{const t={type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(kn[e.id]=e.type),t})}function Dr(e,t){return de(()=>{const n=Bn(e,!0);n.declarations=t.declarations||ye,n.imports=t.imports||ye,n.exports=t.exports||ye})}function ci(e,t){if(null==e)return mt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const qr=Be;function ui(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Tn(e){return e[fe]||null}function Bn(e,t){const n=e[ct]||null;if(!n&&!0===t)throw new Error(`Type ${x(e)} does not have '\u0275mod' property.`);return n}function yr(e){return Array.isArray(e)&&"object"==typeof e[1]}function gn(e){return Array.isArray(e)&&!0===e[1]}function kr(e){return 0!=(8&e.flags)}function vr(e){return 2==(2&e.flags)}function hi(e){return 1==(1&e.flags)}function Tr(e){return null!==e.template}function fr(e){return 0!=(512&e[2])}function ei(e,t){return e.hasOwnProperty(le)?e[le]:null}class vs{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zi(){return Yi}function Yi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ws),Ti}function Ti(){const e=Br(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ws(e,t,n,r){const i=Br(e)||function(e,t){return e[zs]=t}(e,{previous:mt,current:null}),s=i.current||(i.current={}),l=i.previous,f=this.declaredInputs[n],m=l[f];s[f]=new vs(m&&m.currentValue,t,l===mt),e[r]=t}Zi.ngInherit=!0;const zs="__ngSimpleChanges__";function Br(e){return e[zs]||null}const Xn="http://www.w3.org/2000/svg";let ti;function bo(e){ti=e}function Es(){return void 0!==ti?ti:"undefined"!=typeof document?document:void 0}function C(e){return!!e.listen}const b={createRenderer:(e,t)=>Es()};function ie(e){for(;Array.isArray(e);)e=e[0];return e}function yt(e,t){return ie(t[e])}function $t(e,t){return ie(t[e.index])}function dn(e,t){return e.data[t]}function Zt(e,t){return e[t]}function ln(e,t){const n=t[e];return yr(n)?n:n[0]}function _n(e){return 4==(4&e[2])}function Gn(e){return 128==(128&e[2])}function qn(e,t){return null==t?null:e[t]}function Ur(e){e[18]=0}function Vr(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const It={lFrame:rr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function oa(){return It.bindingsEnabled}function Je(){return It.lFrame.lView}function Xt(){return It.lFrame.tView}function wo(e){return It.lFrame.contextLView=e,e[8]}function Un(){let e=So();for(;null!==e&&64===e.type;)e=e.parent;return e}function So(){return It.lFrame.currentTNode}function ri(e,t){const n=It.lFrame;n.currentTNode=e,n.isParent=t}function S(){return It.lFrame.isParent}function h(){It.lFrame.isParent=!1}function T(){return It.isInCheckNoChangesMode}function B(e){It.isInCheckNoChangesMode=e}function ee(){const e=It.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function se(){return It.lFrame.bindingIndex}function We(){return It.lFrame.bindingIndex++}function tt(e){const t=It.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function en(e,t){const n=It.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rt(t)}function Rt(e){It.lFrame.currentDirectiveIndex=e}function Jt(e){const t=It.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function On(){return It.lFrame.currentQueryIndex}function Dn(e){It.lFrame.currentQueryIndex=e}function or(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Kn(e,t,n){if(n&Qe.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Qe.Host||(i=or(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=It.lFrame=nr();return r.currentTNode=t,r.lView=e,!0}function Qr(e){const t=nr(),n=e[1];It.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nr(){const e=It.lFrame,t=null===e?null:e.child;return null===t?rr(e):t}function rr(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 Jr(){const e=It.lFrame;return It.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const jr=Jr;function ir(){const e=Jr();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 Nn(){return It.lFrame.selectedIndex}function ii(e){It.lFrame.selectedIndex=e}function Pn(){const e=It.lFrame;return dn(e.tView,e.selectedIndex)}function ht(){It.lFrame.currentNamespace=Xn}function Nt(){It.lFrame.currentNamespace=null}function Vn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:f,ngAfterViewInit:m,ngAfterViewChecked:E,ngOnDestroy:w}=s;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=w&&(e.destroyHooks||(e.destroyHooks=[])).push(n,w)}}function Ir(e,t,n){Hr(e,t,3,n)}function wn(e,t,n,r){(3&e[2])===n&&Hr(e,t,n,r)}function To(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Hr(e,t,n,r){const s=null!=r?r:-1,l=t.length-1;let f=0;for(let m=void 0!==r?65535&e[18]:0;m<l;m++)if("number"==typeof t[m+1]){if(f=t[m],null!=r&&f>=r)break}else t[m]<0&&(e[18]+=65536),(f<s||-1==s)&&(Ds(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function Ds(e,t,n,r){const i=n[r]<0,s=n[r+1],f=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}class Wr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function la(e,t,n){const r=C(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const l=n[i++],f=n[i++],m=n[i++];r?e.setAttribute(t,f,m,l):t.setAttributeNS(l,f,m)}else{const l=s,f=n[++i];ca(l)?r&&e.setProperty(t,l,f):r?e.setAttribute(t,l,f):t.setAttribute(l,f),i++}}return i}function ws(e){return 3===e||4===e||6===e}function ca(e){return 64===e.charCodeAt(0)}function Qs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||bc(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function bc(e,t,n,r,i){let s=0,l=e.length;if(-1===t)l=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){l=-1;break}if(f>t){l=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==l&&(e.splice(l,0,t),s=l+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Dc(e){return-1!==e}function Js(e){return 32767&e}function Ss(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ua=!0;function Io(e){const t=ua;return ua=e,t}let Xu=0;function Xs(e,t){const n=gl(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,da(r.data,e),da(t,null),da(r.blueprint,null));const i=Ao(e,t),s=e.injectorIndex;if(Dc(i)){const l=Js(i),f=Ss(i,t),m=f[1].data;for(let E=0;E<8;E++)t[s+E]=f[l+E]|m[l+E]}return t[s+8]=i,s}function da(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ao(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],l=s.type;if(r=2===l?s.declTNode:1===l?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function fa(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(r=n[J]),null==r&&(r=n[J]=Xu++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ml(e,t,n){if(n&Qe.Optional)return e;ce(t,"NodeInjector")}function Ro(e,t,n,r){if(n&Qe.Optional&&void 0===r&&(r=null),0==(n&(Qe.Self|Qe.Host))){const i=e[9],s=Yt(void 0);try{return i?i.get(t,r,n&Qe.Optional):je(t,r,n&Qe.Optional)}finally{Yt(s)}}return ml(r,t,n)}function Ji(e,t,n,r=Qe.Default,i){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(J)?e[J]:void 0;return"number"==typeof t?t>=0?255&t:Oo:t}(n);if("function"==typeof s){if(!Kn(t,e,r))return r&Qe.Host?ml(i,n,r):Ro(t,n,r,i);try{const l=s(r);if(null!=l||r&Qe.Optional)return l;ce(n)}finally{jr()}}else if("number"==typeof s){let l=null,f=gl(e,t),m=-1,E=r&Qe.Host?t[16][6]:null;for((-1===f||r&Qe.SkipSelf)&&(m=-1===f?Ao(e,t):t[f+8],-1!==m&&Sc(r,!1)?(l=t[1],f=Js(m),t=Ss(m,t)):f=-1);-1!==f;){const w=t[1];if(yl(s,f,w.data)){const P=ed(f,t,n,l,r,E);if(P!==rn)return P}m=t[f+8],-1!==m&&Sc(r,t[1].data[f+8]===E)&&yl(s,f,t)?(l=w,f=Js(m),t=Ss(m,t)):f=-1}}}return Ro(t,n,r,i)}const rn={};function Oo(){return new Ai(Un(),Je())}function ed(e,t,n,r,i,s){const l=t[1],f=l.data[e+8],w=mi(f,l,n,null==r?vr(f)&&ua:r!=l&&0!=(3&f.type),i&Qe.Host&&s===f);return null!==w?Po(t,l,w,f):rn}function mi(e,t,n,r,i){const s=e.providerIndexes,l=t.data,f=1048575&s,m=e.directiveStart,w=s>>20,V=i?f+w:e.directiveEnd;for(let re=r?f:f+w;re<V;re++){const ge=l[re];if(re<m&&n===ge||re>=m&&ge.type===n)return re}if(i){const re=l[m];if(re&&Tr(re)&&re.type===n)return m}return null}function Po(e,t,n,r){let i=e[n];const s=t.data;if(function(e){return e instanceof Wr}(i)){const l=i;l.resolving&&function(e,t){throw new G("200",`Circular dependency in DI detected for ${e}`)}(_e(s[n]));const f=Io(l.canSeeViewProviders);l.resolving=!0;const m=l.injectImpl?Yt(l.injectImpl):null;Kn(e,r,Qe.Default);try{i=e[n]=l.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const l=Yi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==m&&Yt(m),Io(f),l.resolving=!1,jr()}}return i}function yl(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Sc(e,t){return!(e&Qe.Self||e&Qe.Host&&t)}class Ai{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return Ji(this._tNode,this._lView,t,void 0,n)}}function qs(e){return de(()=>{const t=e.prototype.constructor,n=t[le]||ha(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[le]||ha(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function ha(e){return W(e)?()=>{const t=ha(R(e));return t&&t()}:ei(e)}function eo(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(ws(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Un(),e)}const Xi="__parameters__";function Ts(e,t,n){return de(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const l=new i(...s);return f.annotation=l,f;function f(m,E,w){const P=m.hasOwnProperty(Xi)?m[Xi]:Object.defineProperty(m,Xi,{value:[]})[Xi];for(;P.length<=w;)P.push(null);return(P[w]=P[w]||[]).push(l),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}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=Ht({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const nd=new jn("AnalyzeForEntryComponents"),Fo=Function;function Ar(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Ar(r,t)):t!==e&&t.push(r)}return t}function _i(e,t){e.forEach(n=>Array.isArray(n)?_i(n,t):t(n))}function Is(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function es(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ts(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rr(e,t,n){let r=ns(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Cl(e,t){const n=ns(e,t);if(n>=0)return e[1|n]}function ns(e,t){return function(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),l=e[s<<n];if(t===l)return s<<n;l>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ko={},Ca="__NG_DI_FLAG__",io="ngTempTokenPath",rs=/\n/gm,Oi="__source",wl=F({provide:String,useValue:F});let Bo;function so(e){const t=Bo;return Bo=e,t}function Uo(e,t=Qe.Default){if(void 0===Bo)throw new Error("inject() must be called from an injection context");return null===Bo?je(e,void 0,t):Bo.get(e,t&Qe.Optional?null:void 0,t)}function Ln(e,t=Qe.Default){return(Et||Uo)(R(e),t)}const xc=Ln;function As(e){const t=[];for(let n=0;n<e.length;n++){const r=R(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,s=Qe.Default;for(let l=0;l<r.length;l++){const f=r[l],m=Tl(f);"number"==typeof m?-1===m?i=f.token:s|=m:i=f}t.push(Ln(i,s))}else t.push(Ln(r))}return t}function Vo(e,t){return e[Ca]=t,e.prototype[Ca]=t,e}function Tl(e){return e[Ca]}function zr(e,t,n,r){const i=e[io];throw t[Oi]&&i.unshift(t[Oi]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=x(t);if(Array.isArray(t))i=t.map(x).join(" -> ");else if("object"==typeof t){let s=[];for(let l in t)if(t.hasOwnProperty(l)){let f=t[l];s.push(l+":"+("string"==typeof f?JSON.stringify(f):x(f)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(rs,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[io]=null,e}const Pi=Vo(Ts("Inject",e=>({token:e})),-1),Xr=Vo(Ts("Optional"),8),is=Vo(Ts("SkipSelf"),4);let Rs,Sa;function lo(e){var t;return(null===(t=function(){if(void 0===Rs&&(Rs=null,at.trustedTypes))try{Rs=at.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Rs}())||void 0===t?void 0:t.createHTML(e))||e}function co(e){var t;return(null===(t=function(){if(void 0===Sa&&(Sa=null,at.trustedTypes))try{Sa=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Sa}())||void 0===t?void 0:t.createHTML(e))||e}class Os{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class _d extends Os{getTypeName(){return"HTML"}}class yd extends Os{getTypeName(){return"Style"}}class vd extends Os{getTypeName(){return"Script"}}class Ed extends Os{getTypeName(){return"URL"}}class Cd extends Os{getTypeName(){return"ResourceURL"}}function Fi(e){return e instanceof Os?e.changingThisBreaksApplicationSecurity:e}function Ps(e,t){const n=Vc(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 Vc(e){return e instanceof Os&&e.getTypeName()||null}function bd(e){return new _d(e)}function Dd(e){return new yd(e)}function wd(e){return new vd(e)}function Sd(e){return new Ed(e)}function jc(e){return new Cd(e)}class Hc{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(lo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class $c{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 r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=lo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=lo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const l=n.item(i).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const zc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Md=/^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 $o(e){return(e=String(e)).match(zc)||e.match(Md)?e:"unsafe:"+e}function yi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function xs(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Kc=yi("area,br,col,hr,img,wbr"),Zc=yi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yc=yi("rp,rt"),ss=xs(Kc,xs(Zc,yi("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")),xs(Yc,yi("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")),xs(Yc,Zc)),xl=yi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fl=yi("srcset"),Nl=xs(xl,Fl,yi("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"),yi("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")),Ad=yi("script,style,template");class Rd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ss.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ad.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),l=s.name,f=l.toLowerCase();if(!Nl.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let m=s.value;xl[f]&&(m=$o(m)),Fl[f]&&(e=m,m=(e=String(e)).split(",").map(t=>$o(t.trim())).join(", ")),this.buf.push(" ",l,'="',Wo(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();ss.hasOwnProperty(n)&&!Kc.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Wo(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 Or=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Od=/([^\#-~ |!])/g;function Wo(e){return e.replace(/&/g,"&").replace(Or,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Od,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let uo;function Ta(e,t){let n=null;try{uo=uo||function(e){const t=new $c(e);return function(){try{return!!(new window.DOMParser).parseFromString(lo(""),"text/html")}catch(e){return!1}}()?new Hc(t):t}(e);let r=t?String(t):"";n=uo.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=uo.getInertBodyElement(r)}while(r!==s);return lo((new Rd).sanitizeChildren(os(n)||n))}finally{if(n){const r=os(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function os(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var $n=(()=>(($n=$n||{})[$n.NONE=0]="NONE",$n[$n.HTML=1]="HTML",$n[$n.STYLE=2]="STYLE",$n[$n.SCRIPT=3]="SCRIPT",$n[$n.URL=4]="URL",$n[$n.RESOURCE_URL=5]="RESOURCE_URL",$n))();function Ll(e){const t=zo();return t?co(t.sanitize($n.HTML,e)||""):Ps(e,"HTML")?co(Fi(e)):Ta(Es(),q(e))}function Ma(e){const t=zo();return t?t.sanitize($n.URL,e)||"":Ps(e,"URL")?Fi(e):$o(q(e))}function zo(){const e=Je();return e&&e[12]}const tu="__ngContext__";function hr(e,t){e[tu]=t}function Bl(e){const t=function(e){return e[tu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function _(e){return e.ngOriginalError}function O(e,...t){e.error(...t)}class ${constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),i=(e=t)&&e.ngErrorLogger||O;var e;i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n),r&&i(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(_(t)):null}_findOriginalError(t){let n=t&&_(t);for(;n&&_(n);)n=_(n);return n||null}}const oi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(at))();function ho(e){return e.ownerDocument.defaultView}function Ip(e){return e.ownerDocument}function ls(e){return e instanceof Function?e():e}var cs=(()=>((cs=cs||{})[cs.Important=1]="Important",cs[cs.DashCase=2]="DashCase",cs))();function jd(e,t){return undefined(e,t)}function Vl(e){const t=e[3];return gn(t)?t[3]:t}function Hd(e){return xp(e[13])}function $d(e){return xp(e[4])}function xp(e){for(;null!==e&&!gn(e);)e=e[4];return e}function Ra(e,t,n,r,i){if(null!=r){let s,l=!1;gn(r)?s=r:yr(r)&&(l=!0,r=r[0]);const f=ie(r);0===e&&null!==n?null==i?Up(t,n,f):Go(t,n,f,i||null,!0):1===e&&null!==n?Go(t,n,f,i||null,!0):2===e?function(e,t,n){const r=ou(e,t);r&&function(e,t,n,r){C(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,l):3===e&&t.destroyNode(f),null!=s&&function(e,t,n,r,i){const s=n[7];s!==ie(n)&&Ra(t,e,r,s,i);for(let f=10;f<n.length;f++){const m=n[f];jl(m[1],m,e,t,r,s)}}(t,e,s,n,i)}}function zd(e,t,n){return C(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Np(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Vr(i,-1)),n.splice(r,1)}function Gd(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Np(i,r),t>0&&(e[n-1][4]=r[4]);const s=es(e,10+t);!function(e,t){jl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=s[19];null!==l&&l.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Lp(e,t){if(!(256&t[2])){const n=t[11];C(n)&&n.destroyNode&&jl(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Kd(e[1],e);for(;t;){let n=null;if(yr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)yr(t)&&Kd(t[1],t),t=t[3];null===t&&(t=e),yr(t)&&Kd(t[1],t),n=t&&t[4]}t=n}}(t)}}function Kd(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 r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Wr)){const s=n[r+1];if(Array.isArray(s))for(let l=0;l<s.length;l+=2){const f=i[s[l]],m=s[l+1];try{m.call(f)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const l=n[s+1],f="function"==typeof l?l(t):ie(t[l]),m=r[i=n[s+2]],E=n[s+3];"boolean"==typeof E?f.removeEventListener(n[s],m,E):E>=0?r[i=E]():r[i=-E].unsubscribe(),s+=2}else{const l=r[i=n[s+1]];n[s].call(l)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&C(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&gn(t[3])){n!==t[3]&&Np(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function kp(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===K.None||i===K.Emulated)return null}return $t(r,n)}(e,t.parent,n)}function Go(e,t,n,r,i){C(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Up(e,t,n){C(e)?e.appendChild(t,n):t.appendChild(n)}function Vp(e,t,n,r,i){null!==r?Go(e,t,n,r,i):Up(e,t,n)}function ou(e,t){return C(e)?e.parentNode(t):t.parentNode}function jp(e,t,n){return $p(e,t,n)}let $p=function(e,t,n){return 40&e.type?$t(e,n):null};function au(e,t,n,r){const i=kp(e,r,t),s=t[11],f=jp(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)Vp(s,i,n[m],f,!1);else Vp(s,i,n,f,!1)}function lu(e,t){if(null!==t){const n=t.type;if(3&n)return $t(t,e);if(4&n)return Yd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return lu(e,r);{const i=e[t.index];return gn(i)?Yd(-1,i):ie(i)}}if(32&n)return jd(t,e)()||ie(e[t.index]);{const r=zp(e,t);return null!==r?Array.isArray(r)?r[0]:lu(Vl(e[16]),r):lu(e,t.next)}}return null}function zp(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Yd(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return lu(r,i)}return t[7]}function Qd(e,t,n,r,i,s,l){for(;null!=n;){const f=r[n.index],m=n.type;if(l&&0===t&&(f&&hr(ie(f),r),n.flags|=4),64!=(64&n.flags))if(8&m)Qd(e,t,n.child,r,i,s,!1),Ra(t,e,i,f,s);else if(32&m){const E=jd(n,r);let w;for(;w=E();)Ra(t,e,i,w,s);Ra(t,e,i,f,s)}else 16&m?Kp(e,t,r,n,i,s):Ra(t,e,i,f,s);n=l?n.projectionNext:n.next}}function jl(e,t,n,r,i,s){Qd(n,r,e.firstChild,t,i,s,!1)}function Kp(e,t,n,r,i,s){const l=n[16],m=l[6].projection[r.projection];if(Array.isArray(m))for(let E=0;E<m.length;E++)Ra(t,e,i,m[E],s);else Qd(e,t,m,l[3],i,s,!0)}function Zp(e,t,n){C(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Jd(e,t,n){C(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Yp(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Qp="ng-template";function mE(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Yp(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Jp(e){return 4===e.type&&e.value!==Qp}function _E(e,t,n){return t===(4!==e.type||n?e.value:Qp)}function yE(e,t,n){let r=4;const i=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++)if(ws(e[t]))return t;return e.length}(i);let l=!1;for(let f=0;f<t.length;f++){const m=t[f];if("number"!=typeof m){if(!l)if(4&r){if(r=2|1&r,""!==m&&!_E(e,m,n)||""===m&&1===t.length){if(Ni(r))return!1;l=!0}}else{const E=8&r?m:t[++f];if(8&r&&null!==e.attrs){if(!mE(e.attrs,E,n)){if(Ni(r))return!1;l=!0}continue}const P=vE(8&r?"class":m,i,Jp(e),n);if(-1===P){if(Ni(r))return!1;l=!0;continue}if(""!==E){let V;V=P>s?"":i[P+1].toLowerCase();const re=8&r?V:null;if(re&&-1!==Yp(re,E,0)||2&r&&E!==V){if(Ni(r))return!1;l=!0}}}}else{if(!l&&!Ni(r)&&!Ni(m))return!1;if(l&&Ni(m))continue;l=!1,r=m|1&r}}return Ni(r)||l}function Ni(e){return 0==(1&e)}function vE(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const l=t[i];if(l===e)return i;if(3===l||6===l)s=!0;else{if(1===l||2===l){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===l)break;if(0===l){i+=4;continue}}i+=s?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Xp(e,t,n=!1){for(let r=0;r<t.length;r++)if(yE(e,t[r],n))return!0;return!1}function DE(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function qp(e,t){return e?":not("+t.trim()+")":t}function wE(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const f=e[++n];i+="["+l+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+l:4&r&&(i+=" "+l);else""!==i&&!Ni(l)&&(t+=qp(s,i),i=""),r=l,s=s||!Ni(r);n++}return""!==i&&(t+=qp(s,i)),t}const Gt={};function eg(e){tg(Xt(),Je(),Nn()+e,T())}function tg(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ir(t,s,n)}else{const s=e.preOrderHooks;null!==s&&wn(t,s,0,n)}ii(n)}function cu(e,t){return e<<17|t<<2}function Li(e){return e>>17&32767}function Xd(e){return 2|e}function Ns(e){return(131068&e)>>2}function qd(e,t){return-131069&e|t<<2}function ef(e){return 1|e}function dg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const l=e.data[s];Dn(i),l.contentQueries(2,t[s],s)}}}function Hl(e,t,n,r,i,s,l,f,m,E){const w=t.blueprint.slice();return w[0]=i,w[2]=140|r,Ur(w),w[3]=w[15]=e,w[8]=n,w[10]=l||e&&e[10],w[11]=f||e&&e[11],w[12]=m||e&&e[12]||null,w[9]=E||e&&e[9]||null,w[6]=s,w[16]=2==t.type?e[16]:w,w}function Oa(e,t,n,r,i){let s=e.data[t];if(null===s)s=function(e,t,n,r,i){const s=So(),l=S(),m=e.data[t]=function(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,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,l?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=m),null!==s&&(l?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m)),m}(e,t,n,r,i),It.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const l=function(){const e=It.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===l?-1:l.injectorIndex}return ri(s,!0),s}function Pa(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function $l(e,t,n){Qr(t);try{const r=e.viewQuery;null!==r&&_f(1,r,n);const i=e.template;null!==i&&fg(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&dg(e,t),e.staticViewQueries&&_f(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)r0(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ir()}}function xa(e,t,n,r){const i=t[2];if(256==(256&i))return;Qr(t);const s=T();try{Ur(t),function(e){It.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&fg(e,t,n,2,r);const l=3==(3&i);if(!s)if(l){const E=e.preOrderCheckHooks;null!==E&&Ir(t,E,null)}else{const E=e.preOrderHooks;null!==E&&wn(t,E,0,null),To(t,0)}if(function(e){for(let t=Hd(e);null!==t;t=$d(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&Vr(s,1),i[2]|=1024}}}(t),function(e){for(let t=Hd(e);null!==t;t=$d(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Gn(r)&&xa(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&dg(e,t),!s)if(l){const E=e.contentCheckHooks;null!==E&&Ir(t,E)}else{const E=e.contentHooks;null!==E&&wn(t,E,1),To(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)ii(~i);else{const s=i,l=n[++r],f=n[++r];en(l,s),f(2,t[s])}}}finally{ii(-1)}}(e,t);const f=e.components;null!==f&&function(e,t){for(let n=0;n<t.length;n++)n0(e,t[n])}(t,f);const m=e.viewQuery;if(null!==m&&_f(2,m,r),!s)if(l){const E=e.viewCheckHooks;null!==E&&Ir(t,E)}else{const E=e.viewHooks;null!==E&&wn(t,E,2),To(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Vr(t[3],-1))}finally{ir()}}function kE(e,t,n,r){const i=t[10],s=!T(),l=_n(t);try{s&&!l&&i.begin&&i.begin(),l&&$l(e,t,r),xa(e,t,n,r)}finally{s&&!l&&i.end&&i.end()}}function fg(e,t,n,r,i){const s=Nn(),l=2&r;try{ii(-1),l&&t.length>20&&tg(e,t,20,T()),n(r,i)}finally{ii(s)}}function hg(e,t,n){if(kr(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const l=e.data[s];l.contentQueries&&l.contentQueries(1,n[s],s)}}}function cf(e,t,n){!oa()||(function(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Xs(n,t),hr(r,t);const l=n.initialInputs;for(let f=i;f<s;f++){const m=e.data[f],E=Tr(m);E&&JE(t,n,m);const w=Po(t,e,f,n);hr(w,t),null!==l&&XE(0,f-i,w,m,0,l),E&&(ln(n.index,t)[8]=w)}}(e,t,n,$t(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,l=n.index,f=It.lFrame.currentDirectiveIndex;try{ii(l);for(let m=r;m<i;m++){const E=e.data[m],w=t[m];Rt(m),(null!==E.hostBindings||0!==E.hostVars||null!==E.hostAttrs)&&Cg(E,w)}}finally{ii(-1),Rt(f)}}(e,t,n))}function uf(e,t,n=$t){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const l=r[s+1],f=-1===l?n(t,e):e[l];e[i++]=f}}}function pg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=fu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function fu(e,t,n,r,i,s,l,f,m,E){const w=20+r,P=w+i,V=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Gt);return n}(w,P),re="function"==typeof E?E():E;return V[1]={type:e,blueprint:V,template:n,queries:null,viewQuery:f,declTNode:t,data:V.slice().fill(null,w),bindingStartIndex:w,expandoStartIndex:P,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 s?s():s,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:m,consts:re,incompleteFirstPass:!1}}function _g(e,t,n,r){const i=Mg(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Ig(e).push(r,i.length-1))}function yg(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function ai(e,t,n,r,i,s,l,f){const m=$t(t,n);let w,E=t.inputs;!f&&null!=E&&(w=E[r])?(Og(e,n,w,r,i),vr(t)&&function(e,t){const n=ln(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=l?l(i,t.value||"",r):i,C(s)?s.setProperty(m,r,i):ca(r)||(m.setProperty?m.setProperty(r,i):m[r]=i))}function df(e,t,n,r){let i=!1;if(oa()){const s=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const l=r[s];Xp(n,l.selectors,!1)&&(i||(i=[]),fa(Xs(n,t),e,l.type),Tr(l)?(bg(e,n),i.unshift(l)):i.push(l))}return i}(e,t,n),l=null===r?null:{"":-1};if(null!==s){i=!0,Dg(n,e.data.length,s.length);for(let w=0;w<s.length;w++){const P=s[w];P.providersResolver&&P.providersResolver(P)}let f=!1,m=!1,E=Pa(e,t,s.length,null);for(let w=0;w<s.length;w++){const P=s[w];n.mergedAttrs=Qs(n.mergedAttrs,P.hostAttrs),wg(e,n,t,E,P),QE(E,P,l),null!==P.contentQueries&&(n.flags|=8),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=128);const V=P.type.prototype;!f&&(V.ngOnChanges||V.ngOnInit||V.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!m&&(V.ngOnChanges||V.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),E++}!function(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,l=[];let f=null,m=null;for(let E=t.directiveStart;E<r;E++){const w=i[E],P=w.inputs,V=null===s||Jp(t)?null:qE(P,s);l.push(V),f=yg(P,E,f),m=yg(w.outputs,E,m)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=f,t.outputs=m}(e,n)}l&&function(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new G("301",`Export of name '${t[i+1]}' not found!`);r.push(t[i],s)}}}(n,r,l)}return n.mergedAttrs=Qs(n.mergedAttrs,n.attrs),i}function Eg(e,t,n,r,i,s){const l=s.hostBindings;if(l){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~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})(f)!=m&&f.push(m),f.push(r,i,l)}}function Cg(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function bg(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function QE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Tr(t)&&(n[""]=e)}}function Dg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wg(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=ei(i.type)),l=new Wr(s,Tr(i),null);e.blueprint[r]=l,n[r]=l,Eg(e,t,0,r,Pa(e,n,i.hostVars,Gt),i)}function JE(e,t,n){const r=$t(t,e),i=pg(n),s=e[10],l=hu(e,Hl(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=l}function us(e,t,n,r,i,s){const l=$t(e,t);!function(e,t,n,r,i,s,l){if(null==s)C(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const f=null==l?q(s):l(s,r||"",i);C(e)?e.setAttribute(t,i,f,n):n?t.setAttributeNS(n,i,f):t.setAttribute(i,f)}}(t[11],l,s,e.value,n,r,i)}function XE(e,t,n,r,i,s){const l=s[t];if(null!==l){const f=r.setInput;for(let m=0;m<l.length;){const E=l[m++],w=l[m++],P=l[m++];null!==f?r.setInput(n,P,E,w):n[w]=P}}}function qE(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Sg(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function n0(e,t){const n=ln(t,e);if(Gn(n)){const r=n[1];80&n[2]?xa(r,n,r.template,n[8]):n[5]>0&&hf(n)}}function hf(e){for(let r=Hd(e);null!==r;r=$d(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const l=s[1];xa(l,s,l.template,s[8])}else s[5]>0&&hf(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=ln(n[r],e);Gn(i)&&i[5]>0&&hf(i)}}function r0(e,t){const n=ln(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),$l(r,n,n[8])}function hu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function pf(e){for(;e;){e[2]|=64;const t=Vl(e);if(fr(e)&&!t)return e;e=t}return null}function mf(e,t,n){const r=t[10];r.begin&&r.begin();try{xa(e,t,e.template,n)}catch(i){throw Rg(t,i),i}finally{r.end&&r.end()}}function Tg(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Bl(n),i=r[1];kE(i,r,i.template,n)}}(e[8])}function _f(e,t,n){Dn(0),t(e,n)}const c0=(()=>Promise.resolve(null))();function Mg(e){return e[7]||(e[7]=[])}function Ig(e){return e.cleanup||(e.cleanup=[])}function Ag(e,t,n){return(null===e||Tr(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 Rg(e,t){const n=e[9],r=n?n.get($,null):null;r&&r.handleError(t)}function Og(e,t,n,r,i){for(let s=0;s<n.length;){const l=n[s++],f=n[s++],m=t[l],E=e.data[l];null!==E.setInput?E.setInput(m,i,r,f):m[f]=i}}function ks(e,t,n){const r=yt(t,e);!function(e,t,n){C(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function pu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let l=0;l<t.length;l++){const f=t[l];"number"==typeof f?s=f:1==s?i=H(i,f):2==s&&(r=H(r,f+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Fa=new jn("INJECTOR",-1);class Pg{get(t,n=ko){if(n===ko){const r=new Error(`NullInjectorError: No provider for ${x(t)}!`);throw r.name="NullInjectorError",r}return n}}const Wl=new jn("Set Injector scope."),zl={},f0={};let yf;function xg(){return void 0===yf&&(yf=new Pg),yf}function Fg(e,t=null,n=null,r){return new p0(e,n,t||xg(),r)}class p0{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&_i(n,f=>this.processProvider(f,t,n)),_i([t],f=>this.processInjectorType(f,[],s)),this.records.set(Fa,Na(void 0,this));const l=this.records.get(Wl);this.scope=null!=l?l.value:null,this.source=i||("object"==typeof t?null:x(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=ko,r=Qe.Default){this.assertNotDestroyed();const i=so(this),s=Yt(void 0);try{if(!(r&Qe.SkipSelf)){let f=this.records.get(t);if(void 0===f){const m=("function"==typeof(e=t)||"object"==typeof e&&e instanceof jn)&&fn(t);f=m&&this.injectableDefInScope(m)?Na(vf(t),zl):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&Qe.Self?xg():this.parent).get(t,n=r&Qe.Optional&&n===ko?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[io]=l[io]||[]).unshift(x(t)),i)throw l;return zr(l,t,"R3InjectorError",this.source)}throw l}finally{Yt(s),so(i)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(x(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=R(t)))return!1;let i=wt(t);const s=null==i&&t.ngModule||void 0,l=void 0===s?t:s,f=-1!==r.indexOf(l);if(void 0!==s&&(i=wt(s)),null==i)return!1;if(null!=i.imports&&!f){let w;r.push(l);try{_i(i.imports,P=>{this.processInjectorType(P,n,r)&&(void 0===w&&(w=[]),w.push(P))})}finally{}if(void 0!==w)for(let P=0;P<w.length;P++){const{ngModule:V,providers:re}=w[P];_i(re,ge=>this.processProvider(ge,V,re||ye))}}this.injectorDefTypes.add(l);const m=ei(l)||(()=>new l);this.records.set(l,Na(m,zl));const E=i.providers;if(null!=E&&!f){const w=t;_i(E,P=>this.processProvider(P,w,E))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=La(t=R(t))?t:R(t&&t.provide);const s=(e=t,Lg(e)?Na(void 0,e.useValue):Na(Ng(e),zl));var e;if(La(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=Na(void 0,zl,!0),l.factory=()=>As(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===zl&&(n.value=f0,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=R(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function vf(e){const t=fn(e),n=null!==t?t.factory:ei(e);if(null!==n)return n;if(e instanceof jn)throw new Error(`Token ${x(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=ts(t,"?");throw new Error(`Can't resolve all parameters for ${x(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[be]||e[qe]);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 Ng(e,t,n){let r;if(La(e)){const i=R(e);return ei(i)||vf(i)}if(Lg(e))r=()=>R(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...As(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Ln(R(e.useExisting));else{const i=R(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ei(i)||vf(i);r=()=>new i(...As(e.deps))}return r}function Na(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Lg(e){return null!==e&&"object"==typeof e&&wl in e}function La(e){return"function"==typeof e}const kg=function(e,t,n){return function(e,t=null,n=null,r){const i=Fg(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let Wn=(()=>{class e{static create(n,r){return Array.isArray(n)?kg(n,r,""):kg(n.providers,n.parent,n.name||"")}}return e.THROW_IF_NOT_FOUND=ko,e.NULL=new Pg,e.\u0275prov=Ht({token:e,providedIn:"any",factory:()=>Ln(Fa)}),e.__NG_ELEMENT_ID__=-1,e})();function N0(e,t){Vn(Bl(e)[1],Un())}function Sf(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Tr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const l=e;l.inputs=Tf(e.inputs),l.declaredInputs=Tf(e.declaredInputs),l.outputs=Tf(e.outputs);const f=i.hostBindings;f&&U0(e,f);const m=i.viewQuery,E=i.contentQueries;if(m&&k0(e,m),E&&B0(e,E),N(e.inputs,i.inputs),N(e.declaredInputs,i.declaredInputs),N(e.outputs,i.outputs),Tr(i)&&i.data.animation){const w=e.data;w.animation=(w.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let l=0;l<s.length;l++){const f=s[l];f&&f.ngInherit&&f(e),f===Sf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Qs(i.hostAttrs,n=Qs(n,i.hostAttrs))}}(r)}function Tf(e){return e===mt?{}:e===ye?[]:e}function k0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function B0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function U0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let gu=null;function ka(){if(!gu){const e=at.Symbol;if(e&&e.iterator)gu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(gu=r)}}}return gu}class Bi{constructor(t){this.wrapped=t}static wrap(t){return new Bi(t)}static unwrap(t){return Bi.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Bi}}function Kl(e){return!!Mf(e)&&(Array.isArray(e)||!(e instanceof Map)&&ka()in e)}function Mf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ds(e,t,n){return e[t]=n}function Pr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ko(e,t,n,r){const i=Pr(e,t,n);return Pr(e,t+1,r)||i}function If(e,t,n,r){const i=Je();return Pr(i,We(),t)&&(Xt(),us(Pn(),i,e,t,n,r)),If}function Ua(e,t,n,r){return Pr(e,We(),n)?t+q(n)+r:Gt}function um(e,t,n,r,i,s,l,f){const m=Je(),E=Xt(),w=e+20,P=E.firstCreatePass?function(e,t,n,r,i,s,l,f,m){const E=t.consts,w=Oa(t,e,4,l||null,qn(E,f));df(t,n,w,qn(E,m)),Vn(t,w);const P=w.tViews=fu(2,w,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,w),P.queries=t.queries.embeddedTView(w)),w}(w,E,m,t,n,r,i,s,l):E.data[w];ri(P,!1);const V=m[11].createComment("");au(E,m,V,P),hr(V,m),hu(m,m[w]=Sg(V,m,V,P)),hi(P)&&cf(E,m,P),null!=l&&uf(m,P,f)}function dm(e){return Zt(It.lFrame.contextLView,20+e)}function Yl(e,t=Qe.Default){const n=Je();return null===n?Ln(e,t):Ji(Un(),n,R(e),t)}function xf(e,t,n){const r=Je();return Pr(r,We(),t)&&ai(Xt(),Pn(),r,e,t,r[11],n,!1),xf}function Ff(e,t,n,r,i){const l=i?"class":"style";Og(e,n,t.inputs[l],l,r)}function Nf(e,t,n,r){const i=Je(),s=Xt(),l=20+e,f=i[11],m=i[l]=zd(f,t,It.lFrame.currentNamespace),E=s.firstCreatePass?function(e,t,n,r,i,s,l){const f=t.consts,E=Oa(t,e,2,i,qn(f,s));return df(t,n,E,qn(f,l)),null!==E.attrs&&pu(E,E.attrs,!1),null!==E.mergedAttrs&&pu(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(l,s,i,0,t,n,r):s.data[l];ri(E,!0);const w=E.mergedAttrs;null!==w&&la(f,m,w);const P=E.classes;null!==P&&Jd(f,m,P);const V=E.styles;null!==V&&Zp(f,m,V),64!=(64&E.flags)&&au(s,i,m,E),0===It.lFrame.elementDepthCount&&hr(m,i),It.lFrame.elementDepthCount++,hi(E)&&(cf(s,i,E),hg(s,E,i)),null!==r&&uf(i,E)}function Lf(){let e=Un();S()?h():(e=e.parent,ri(e,!1));const t=e;It.lFrame.elementDepthCount--;const n=Xt();n.firstCreatePass&&(Vn(n,e),kr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ff(n,t,Je(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ff(n,t,Je(),t.stylesWithoutHost,!1)}function Dm(e,t,n,r){Nf(e,t,n,r),Lf()}function kf(e,t,n){const r=Je(),i=Xt(),s=e+20,l=i.firstCreatePass?function(e,t,n,r,i){const s=t.consts,l=qn(s,r),f=Oa(t,e,8,"ng-container",l);return null!==l&&pu(f,l,!0),df(t,n,f,qn(s,i)),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,r,t,n):i.data[s];ri(l,!0);const f=r[s]=r[11].createComment("");au(i,r,f,l),hr(f,r),hi(l)&&(cf(i,r,l),hg(i,l,r)),null!=n&&uf(r,l)}function Bf(){let e=Un();const t=Xt();S()?h():(e=e.parent,ri(e,!1)),t.firstCreatePass&&(Vn(t,e),kr(e)&&t.queries.elementEnd(e))}function wm(){return Je()}function Uf(e){return!!e&&"function"==typeof e.then}function Sm(e){return!!e&&"function"==typeof e.subscribe}const Vf=Sm;function jf(e,t,n,r){const i=Je(),s=Xt(),l=Un();return Tm(s,i,i[11],l,e,t,!!n,r),jf}function Hf(e,t){const n=Un(),r=Je(),i=Xt();return Tm(i,r,Ag(Jt(i.data),n,r),n,e,t,!1),Hf}function Tm(e,t,n,r,i,s,l,f){const m=hi(r),w=e.firstCreatePass&&Ig(e),P=t[8],V=Mg(t);let re=!0;if(3&r.type||f){const Ie=$t(r,t),et=f?f(Ie):Ie,Ke=V.length,St=f?Bt=>f(ie(Bt[r.index])):r.index;if(C(n)){let Bt=null;if(!f&&m&&(Bt=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const l=i[s];if(l===n&&i[s+1]===r){const f=t[7],m=i[s+2];return f.length>m?f[m]:null}"string"==typeof l&&(s+=2)}return null}(e,t,i,r.index)),null!==Bt)(Bt.__ngLastListenerFn__||Bt).__ngNextListenerFn__=s,Bt.__ngLastListenerFn__=s,re=!1;else{s=$f(r,t,P,s,!1);const an=n.listen(et,i,s);V.push(s,an),w&&w.push(i,St,Ke,Ke+1)}}else s=$f(r,t,P,s,!0),et.addEventListener(i,s,l),V.push(s),w&&w.push(i,St,Ke,l)}else s=$f(r,t,P,s,!1);const ge=r.outputs;let ke;if(re&&null!==ge&&(ke=ge[i])){const Ie=ke.length;if(Ie)for(let et=0;et<Ie;et+=2){const cr=t[ke[et]][ke[et+1]].subscribe(s),bi=V.length;V.push(s,cr),w&&w.push(i,r.index,bi,-(bi+1))}}}function Mm(e,t,n,r){try{return!1!==n(r)}catch(i){return Rg(e,i),!1}}function $f(e,t,n,r,i){return function s(l){if(l===Function)return r;const f=2&e.flags?ln(e.index,t):t;0==(32&t[2])&&pf(f);let m=Mm(t,0,r,l),E=s.__ngNextListenerFn__;for(;E;)m=Mm(t,0,E,l)&&m,E=E.__ngNextListenerFn__;return i&&!1===m&&(l.preventDefault(),l.returnValue=!1),m}}function Im(e=1){return function(e){return(It.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,It.lFrame.contextLView))[8]}(e)}function EC(e,t){let n=null;const r=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 i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Xp(e,s,!0):DE(r,s))return i}else n=i}return n}function Am(e){const t=Je()[16][6];if(!t.projection){const r=t.projection=ts(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const l=e?EC(s,e):0;null!==l&&(i[l]?i[l].projectionNext=s:r[l]=s,i[l]=s),s=s.next}}}function Rm(e,t=0,n){const r=Je(),i=Xt(),s=Oa(i,20+e,16,null,n||null);null===s.projection&&(s.projection=t),h(),64!=(64&s.flags)&&function(e,t,n){Kp(t[11],0,t,n,kp(e,n,t),jp(n.parent||t[6],n,t))}(i,r,s)}function Wf(e,t,n){return yu(e,"",t,"",n),Wf}function yu(e,t,n,r,i){const s=Je(),l=Ua(s,t,n,r);return l!==Gt&&ai(Xt(),Pn(),s,e,l,s[11],i,!1),yu}function Um(e,t,n,r,i){const s=e[n+1],l=null===t;let f=r?Li(s):Ns(s),m=!1;for(;0!==f&&(!1===m||l);){const w=e[f+1];DC(e[f],t)&&(m=!0,e[f+1]=r?ef(w):Xd(w)),f=r?Li(w):Ns(w)}m&&(e[n+1]=r?Xd(s):ef(s))}function DC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ns(e,t)>=0}const lr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vm(e){return e.substring(lr.key,lr.keyEnd)}function jm(e,t){const n=lr.textEnd;return n===t?-1:(t=lr.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,lr.key=t,n),Za(e,t,n))}function Za(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zf(e,t,n){return Ui(e,t,n,!1),zf}function Gf(e,t){return Ui(e,t,null,!0),Gf}function Gm(e){Vi(Rr,hs,e,!0)}function hs(e,t){for(let n=function(e){return function(e){lr.key=0,lr.keyEnd=0,lr.value=0,lr.valueEnd=0,lr.textEnd=e.length}(e),jm(e,Za(e,0,lr.textEnd))}(t);n>=0;n=jm(t,n))Rr(e,Vm(t),!0)}function Ui(e,t,n,r){const i=Je(),s=Xt(),l=tt(2);s.firstUpdatePass&&Zm(s,e,l,r),t!==Gt&&Pr(i,l,t)&&Qm(s,s.data[Nn()],i,i[11],e,i[l+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=x(Fi(e)))),e}(t,n),r,l)}function Vi(e,t,n,r){const i=Xt(),s=tt(2);i.firstUpdatePass&&Zm(i,null,s,r);const l=Je();if(n!==Gt&&Pr(l,s,n)){const f=i.data[Nn()];if(Xm(f,r)&&!Km(i,s)){let m=r?f.classesWithoutHost:f.stylesWithoutHost;null!==m&&(n=H(m,n||"")),Ff(i,f,l,n,r)}else!function(e,t,n,r,i,s,l,f){i===Gt&&(i=ye);let m=0,E=0,w=0<i.length?i[0]:null,P=0<s.length?s[0]:null;for(;null!==w||null!==P;){const V=m<i.length?i[m+1]:void 0,re=E<s.length?s[E+1]:void 0;let ke,ge=null;w===P?(m+=2,E+=2,V!==re&&(ge=P,ke=re)):null===P||null!==w&&w<P?(m+=2,ge=w):(E+=2,ge=P,ke=re),null!==ge&&Qm(e,t,n,r,ge,ke,l,f),w=m<i.length?i[m]:null,P=E<s.length?s[E]:null}}(i,f,l,l[11],l[s+1],l[s+1]=function(e,t,n){if(null==n||""===n)return ye;const r=[],i=Fi(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Km(e,t){return t>=e.expandoStartIndex}function Zm(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Nn()],l=Km(e,n);Xm(s,r)&&null===t&&!l&&(t=!1),t=function(e,t,n,r){const i=Jt(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ql(n=Kf(null,e,t,n,r),t.attrs,r),s=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==i)if(n=Kf(i,e,t,n,r),null===s){let m=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ns(r))return e[Li(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=Kf(null,e,t,m[1],r),m=Ql(m,t.attrs,r),function(e,t,n,r){e[Li(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else s=function(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=Ql(r,e[s].hostAttrs,n);return Ql(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function(e,t,n,r,i,s){let l=s?t.classBindings:t.styleBindings,f=Li(l),m=Ns(l);e[r]=n;let w,E=!1;if(Array.isArray(n)){const P=n;w=P[1],(null===w||ns(P,w)>0)&&(E=!0)}else w=n;if(i)if(0!==m){const V=Li(e[f+1]);e[r+1]=cu(V,f),0!==V&&(e[V+1]=qd(e[V+1],r)),e[f+1]=function(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=cu(f,0),0!==f&&(e[f+1]=qd(e[f+1],r)),f=r;else e[r+1]=cu(m,0),0===f?f=r:e[m+1]=qd(e[m+1],r),m=r;E&&(e[r+1]=Xd(e[r+1])),Um(e,w,r,!0),Um(e,w,r,!1),function(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ns(s,t)>=0&&(n[r+1]=ef(n[r+1]))}(t,w,e,r,s),l=cu(f,m),s?t.classBindings=l:t.styleBindings=l}(i,s,t,n,l,r)}}function Kf(e,t,n,r,i){let s=null;const l=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<l&&(s=t[f],r=Ql(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function Ql(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Rr(e,l,!!n||t[++s]))}return void 0===e?null:e}function Qm(e,t,n,r,i,s,l,f){if(!(3&t.type))return;const m=e.data,E=m[f+1];vu(function(e){return 1==(1&e)}(E)?Jm(m,t,n,i,Ns(E),l):void 0)||(vu(s)||function(e){return 2==(2&e)}(E)&&(s=Jm(m,null,n,i,f,l)),function(e,t,n,r,i){const s=C(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let l=-1===r.indexOf("-")?void 0:cs.DashCase;if(null==i)s?e.removeStyle(n,r,l):n.style.removeProperty(r);else{const f="string"==typeof i&&i.endsWith("!important");f&&(i=i.slice(0,-10),l|=cs.Important),s?e.setStyle(n,r,i,l):n.style.setProperty(r,i,f?"important":"")}}}(r,l,yt(Nn(),n),i,s))}function Jm(e,t,n,r,i,s){const l=null===t;let f;for(;i>0;){const m=e[i],E=Array.isArray(m),w=E?m[1]:m,P=null===w;let V=n[i+1];V===Gt&&(V=P?ye:void 0);let re=P?Cl(V,r):w===r?V:void 0;if(E&&!vu(re)&&(re=Cl(m,r)),vu(re)&&(f=re,l))return f;const ge=e[i+1];i=l?Li(ge):Ns(ge)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(f=Cl(m,r))}return f}function vu(e){return void 0!==e}function Xm(e,t){return 0!=(e.flags&(t?16:32))}function qm(e,t=""){const n=Je(),r=Xt(),i=e+20,s=r.firstCreatePass?Oa(r,i,1,t,null):r.data[i],l=n[i]=function(e,t){return C(e)?e.createText(t):e.createTextNode(t)}(n[11],t);au(r,n,l,s),ri(s,!1)}function Zf(e){return Eu("",e,""),Zf}function Eu(e,t,n){const r=Je(),i=Ua(r,e,t,n);return i!==Gt&&ks(r,Nn(),i),Eu}function Yf(e,t,n,r,i){const s=Je(),l=function(e,t,n,r,i,s){const f=Ko(e,se(),n,i);return tt(2),f?t+q(n)+r+q(i)+s:Gt}(s,e,t,n,r,i);return l!==Gt&&ks(s,Nn(),l),Yf}function a_(e,t,n){Vi(Rr,hs,Ua(Je(),e,t,n),!0)}function Qf(e,t,n){const r=Je();return Pr(r,We(),t)&&ai(Xt(),Pn(),r,e,t,r[11],n,!0),Qf}function Jf(e,t,n){const r=Je();if(Pr(r,We(),t)){const s=Xt(),l=Pn();ai(s,l,r,e,t,Ag(Jt(s.data),l,r),n,!0)}return Jf}const Zo=void 0;var nb=["en",[["a","p"],["AM","PM"],Zo],[["AM","PM"],Zo,Zo],[["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"]],Zo,[["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"]],Zo,[["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}",Zo,"{1} 'at' {0}",Zo],[".",",",";","%","+","-","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 Ya={};function Xf(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=y_(t);if(n)return n;const r=t.split("-")[0];if(n=y_(r),n)return n;if("en"===r)return nb;throw new Error(`Missing locale data for the locale "${e}".`)}function __(e){return Xf(e)[Ot.PluralCase]}function y_(e){return e in Ya||(Ya[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),Ya[e]}var Ot=(()=>((Ot=Ot||{})[Ot.LocaleId=0]="LocaleId",Ot[Ot.DayPeriodsFormat=1]="DayPeriodsFormat",Ot[Ot.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ot[Ot.DaysFormat=3]="DaysFormat",Ot[Ot.DaysStandalone=4]="DaysStandalone",Ot[Ot.MonthsFormat=5]="MonthsFormat",Ot[Ot.MonthsStandalone=6]="MonthsStandalone",Ot[Ot.Eras=7]="Eras",Ot[Ot.FirstDayOfWeek=8]="FirstDayOfWeek",Ot[Ot.WeekendRange=9]="WeekendRange",Ot[Ot.DateFormat=10]="DateFormat",Ot[Ot.TimeFormat=11]="TimeFormat",Ot[Ot.DateTimeFormat=12]="DateTimeFormat",Ot[Ot.NumberSymbols=13]="NumberSymbols",Ot[Ot.NumberFormats=14]="NumberFormats",Ot[Ot.CurrencyCode=15]="CurrencyCode",Ot[Ot.CurrencySymbol=16]="CurrencySymbol",Ot[Ot.CurrencyName=17]="CurrencyName",Ot[Ot.Currencies=18]="Currencies",Ot[Ot.Directionality=19]="Directionality",Ot[Ot.PluralCase=20]="PluralCase",Ot[Ot.ExtraData=21]="ExtraData",Ot))();const Cu="en-US";let v_=Cu;function qf(e){Ut(e,"Expected localeId to be defined"),"string"==typeof e&&(v_=e.toLowerCase().replace(/_/g,"-"))}function nh(e,t,n,r,i){if(e=R(e),Array.isArray(e))for(let s=0;s<e.length;s++)nh(e[s],t,n,r,i);else{const s=Xt(),l=Je();let f=La(e)?e:R(e.provide),m=Ng(e);const E=Un(),w=1048575&E.providerIndexes,P=E.directiveStart,V=E.providerIndexes>>20;if(La(e)||!e.multi){const re=new Wr(m,i,Yl),ge=ih(f,t,i?w:w+V,P);-1===ge?(fa(Xs(E,l),s,f),rh(s,e,t.length),t.push(f),E.directiveStart++,E.directiveEnd++,i&&(E.providerIndexes+=1048576),n.push(re),l.push(re)):(n[ge]=re,l[ge]=re)}else{const re=ih(f,t,w+V,P),ge=ih(f,t,w,w+V),ke=re>=0&&n[re],Ie=ge>=0&&n[ge];if(i&&!Ie||!i&&!ke){fa(Xs(E,l),s,f);const et=function(e,t,n,r,i){const s=new Wr(e,n,Yl);return s.multi=[],s.index=t,s.componentProviders=0,$_(s,i,r&&!n),s}(i?qb:Xb,n.length,i,r,m);!i&&Ie&&(n[ge].providerFactory=et),rh(s,e,t.length,0),t.push(f),E.directiveStart++,E.directiveEnd++,i&&(E.providerIndexes+=1048576),n.push(et),l.push(et)}else rh(s,e,re>-1?re:ge,$_(n[i?ge:re],m,!i&&r));!i&&r&&Ie&&n[ge].componentProviders++}}}function rh(e,t,n,r){const i=La(t);if(i||function(e){return!!e.useClass}(t)){const l=(t.useClass||t).prototype.ngOnDestroy;if(l){const f=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const m=f.indexOf(n);-1===m?f.push(n,[r,l]):f[m+1].push(r,l)}else f.push(n,l)}}}function $_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ih(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Xb(e,t,n,r){return sh(this.multi,[])}function qb(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const l=this.providerFactory.componentProviders,f=Po(n,n[1],this.providerFactory.index,r);s=f.slice(0,l),sh(i,s);for(let m=l;m<f.length;m++)s.push(f[m])}else s=[],sh(i,s);return s}function sh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function W_(e,t=[]){return n=>{n.providersResolver=(r,i)=>function(e,t,n){const r=Xt();if(r.firstCreatePass){const i=Tr(e);nh(n,r.data,r.blueprint,i,!0),nh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class z_{}const K_="ngComponent";class nD{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${x(e)}. Did you add it to @NgModule.entryComponents?`);return t[K_]=e,t}(t)}}let Ja=(()=>{class e{}return e.NULL=new nD,e})();function Tu(...e){}function Xa(e,t){return new ps($t(e,t))}const sD=function(){return Xa(Un(),Je())};let ps=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=sD,e})();function Z_(e){return e instanceof ps?e.nativeElement:e}class Mu{}let oD=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>lD(),e})();const lD=function(){const e=Je(),n=ln(Un().index,e);return function(e){return e[11]}(yr(n)?n:e)};let ah=(()=>{class e{}return e.\u0275prov=Ht({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 lh=new Y_("13.0.0-next.9"),qa={};function Iu(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(ie(s)),gn(s))for(let f=10;f<s.length;f++){const m=s[f],E=m[1].firstChild;null!==E&&Iu(m[1],m,E,r)}const l=n.type;if(8&l)Iu(e,t,n.child,r);else if(32&l){const f=jd(n,t);let m;for(;m=f();)r.push(m)}else if(16&l){const f=zp(t,n);if(Array.isArray(f))r.push(...f);else{const m=Vl(t[16]);Iu(m[1],m,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class tc{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 Iu(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(gn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Gd(t,r),es(n,r))}this._attachedToViewContainer=!1}Lp(this._lView[1],this._lView)}onDestroy(t){_g(this._lView[1],this._lView,null,t)}markForCheck(){pf(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){mf(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){B(!0);try{mf(e,t,n)}finally{B(!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,jl(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 dD extends tc{constructor(t){super(t),this._view=t}detectChanges(){Tg(this._view)}checkNoChanges(){!function(e){B(!0);try{Tg(e)}finally{B(!1)}}(this._view)}get context(){return null}}class Q_ extends Ja{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Tn(t);return new ch(n,this.ngModule)}}function J_(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const hD=new jn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>oi});class ch extends z_{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(wE).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return J_(this.componentDef.inputs)}get outputs(){return J_(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const s=e.get(n,qa,i);return s!==qa||r===qa?s:t.get(n,r,i)}}}(t,i.injector):t,l=s.get(Mu,b),f=s.get(ah,null),m=l.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",w=r?function(e,t,n){if(C(e))return e.selectRootElement(t,n===K.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):zd(l.createRenderer(null,this.componentDef),E,function(e){const t=e.toLowerCase();return"svg"===t?Xn:"math"===t?"http://www.w3.org/1998/MathML/":null}(E)),P=this.componentDef.onPush?576:528,V=function(e,t){return{components:[],scheduler:e||oi,clean:c0,playerHandler:t||null,flags:0}}(),re=fu(0,null,null,1,0,null,null,null,null,null),ge=Hl(null,re,V,P,null,null,l,m,f,s);let ke,Ie;Qr(ge);try{const et=function(e,t,n,r,i,s){const l=n[1];n[20]=e;const m=Oa(l,20,2,"#host",null),E=m.mergedAttrs=t.hostAttrs;null!==E&&(pu(m,E,!0),null!==e&&(la(i,e,E),null!==m.classes&&Jd(i,e,m.classes),null!==m.styles&&Zp(i,e,m.styles)));const w=r.createRenderer(e,t),P=Hl(n,pg(t),null,t.onPush?64:16,n[20],m,r,w,s||null,null);return l.firstCreatePass&&(fa(Xs(m,n),l,t.type),bg(l,m),Dg(m,n.length,1)),hu(n,P),n[20]=P}(w,this.componentDef,ge,l,m);if(w)if(r)la(m,w,["ng-version",lh.full]);else{const{attrs:Ke,classes:St}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!Ni(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ke&&la(m,w,Ke),St&&St.length>0&&Jd(m,w,St.join(" "))}if(Ie=dn(re,20),void 0!==n){const Ke=Ie.projection=[];for(let St=0;St<this.ngContentSelectors.length;St++){const Bt=n[St];Ke.push(null!=Bt?Array.from(Bt):null)}}ke=function(e,t,n,r,i){const s=n[1],l=function(e,t,n){const r=Un();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),wg(e,r,t,Pa(e,t,1,null),n));const i=Po(t,e,r.directiveStart,r);hr(i,t);const s=$t(r,t);return s&&hr(s,t),i}(s,n,t);if(r.components.push(l),e[8]=l,i&&i.forEach(m=>m(l,t)),t.contentQueries){const m=Un();t.contentQueries(1,l,m.directiveStart)}const f=Un();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ii(f.index),Eg(n[1],f,0,f.directiveStart,f.directiveEnd,t),Cg(t,l)),l}(et,this.componentDef,ge,V,[N0]),$l(re,ge,null)}finally{ir()}return new mD(this.componentType,ke,Xa(Ie,ge),ge,Ie)}}class mD extends class{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new dD(i),this.componentType=t}get injector(){return new Ai(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Yo{}class X_{}const el=new Map;class vD extends Yo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Q_(this);const r=Bn(t),i=t[Se]||null;i&&qf(i),this._bootstrapComponents=ls(r.bootstrap),this._r3Injector=Fg(t,n,[{provide:Yo,useValue:this},{provide:Ja,useValue:this.componentFactoryResolver}],x(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Wn.THROW_IF_NOT_FOUND,r=Qe.Default){return t===Wn||t===Yo||t===Fa?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class uh extends X_{constructor(t){super(),this.moduleType=t,null!==Bn(t)&&function(e){const t=new Set;!function n(r){const i=Bn(r,!0),s=i.id;null!==s&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${x(t)} vs ${x(t.name)}`)}(s,el.get(s),r),el.set(s,r));const l=ls(i.imports);for(const f of l)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new vD(this.moduleType,t)}}function ty(e,t,n,r){return ry(Je(),ee(),e,t,n,r)}function ny(e,t,n,r,i){return function(e,t,n,r,i,s,l){const f=t+n;return Ko(e,f,i,s)?ds(e,f+2,l?r.call(l,i,s):r(i,s)):nc(e,f+2)}(Je(),ee(),e,t,n,r,i)}function nc(e,t){const n=e[t];return n===Gt?void 0:n}function ry(e,t,n,r,i,s){const l=t+n;return Pr(e,l,i)?ds(e,l+1,s?r.call(s,i):r(i)):nc(e,l+1)}function ly(e,t){const n=Xt();let r;const i=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new G("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=ei(r.type)),l=Yt(Yl);try{const f=Io(!1),m=s();return Io(f),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Je(),i,m),m}finally{Yt(l)}}function cy(e,t,n){const r=e+20,i=Je(),s=Zt(i,r);return function(e,t){Bi.isWrapped(t)&&(t=Bi.unwrap(t),e[se()]=Gt);return t}(i,function(e,t){return e[1].data[t].pure}(i,r)?ry(i,ee(),t,s.transform,n,s):s.transform(n))}function dh(e){return t=>{setTimeout(e,void 0,t)}}const gs=class extends g.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,s,l;let f=t,m=n||(()=>null),E=r;if(t&&"object"==typeof t){const P=t;f=null===(i=P.next)||void 0===i?void 0:i.bind(P),m=null===(s=P.error)||void 0===s?void 0:s.bind(P),E=null===(l=P.complete)||void 0===l?void 0:l.bind(P)}this.__isAsync&&(m=dh(m),f&&(f=dh(f)),E&&(E=dh(E)));const w=super.subscribe({next:f,error:m,complete:E});return t instanceof a.w0&&t.add(w),w}};function FD(){return this._results[ka()]()}class sc{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=ka(),r=sc.prototype;r[n]||(r[n]=FD)}get changes(){return this._changes||(this._changes=new gs)}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 r=this;r.dirty=!1;const i=Ar(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;const LD=function(){return Au(Un(),Je())};let oc=(()=>{class e{}return e.__NG_ELEMENT_ID__=LD,e})();const kD=oc,BD=class extends kD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Hl(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),$l(n,r,t),new tc(r)}};function Au(e,t){return 4&e.type?new BD(t,e,Xa(e,t)):null}const jD=function(){return fy(Un(),Je())};let Ru=(()=>{class e{}return e.__NG_ELEMENT_ID__=jD,e})();const $D=Ru,uy=class extends $D{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xa(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ao(this._hostTNode,this._hostLView);if(Dc(t)){const n=Ss(t,this._hostLView),r=Js(t);return new Ai(n[1].data[r+8],n)}return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const l=t&&!("function"==typeof t);let f;if(l)f=n;else{const P=n||{};f=P.index,r=P.injector,i=P.projectableNodes,s=P.ngModuleRef}const m=l?t:new ch(Tn(t)),E=r||this.parentInjector;if(!s&&null==m.ngModule&&E){const P=E.get(Yo,null);P&&(s=P)}const w=m.create(E,i,void 0,s);return this.insert(w.hostView,f),w}insert(t,n){const r=t._lView,i=r[1];if(gn(r[3])){const w=this.indexOf(t);if(-1!==w)this.detach(w);else{const P=r[3],V=new uy(P,P[6],P[3]);V.detach(V.indexOf(t))}}const s=this._adjustIndex(n),l=this._lContainer;!function(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Is(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=128}(i,r,l,s);const f=Yd(s,l),m=r[11],E=ou(m,l[7]);return null!==E&&function(e,t,n,r,i,s){r[0]=i,r[6]=t,jl(e,r,n,1,i,s)}(i,l[6],m,r,E,f),t.attachToViewContainerRef(),Is(fh(l),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Gd(this._lContainer,n);r&&(es(fh(this._lContainer),n),Lp(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Gd(this._lContainer,n);return r&&null!=es(fh(this._lContainer),n)?new tc(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function dy(e){return e[8]}function fh(e){return e[8]||(e[8]=[])}function fy(e,t){let n;const r=t[e.index];if(gn(r))n=r;else{let i;if(8&e.type)i=ie(r);else{const s=t[11];i=s.createComment("");const l=$t(e,t);Go(s,ou(s,l),i,function(e,t){return C(e)?e.nextSibling(t):t.nextSibling}(s,l),!1)}t[e.index]=n=Sg(r,t,i,e),hu(t,n)}return new uy(n,e,t)}class hh{constructor(t){this.queryList=t,this.matches=null}clone(){return new hh(this.queryList)}setDirty(){this.queryList.setDirty()}}class ph{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const l=n.getByIndex(s);i.push(this.queries[l.indexInDeclarationView].clone())}return new ph(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Cy(t,n).matches&&this.queries[n].setDirty()}}class hy{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class gh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new gh(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class mh{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 mh(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,GD(n,s)),this.matchTNodeWithReadOption(t,n,mi(n,t,s,!1,!1))}else r===oc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,mi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ps||i===Ru||i===oc&&4&n.type)this.addMatch(n.index,-2);else{const s=mi(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function GD(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ZD(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Xa(e,t):4&e.type?Au(e,t):null}(t,e):-2===n?function(e,t,n){return n===ps?Xa(t,e):n===oc?Au(t,e):n===Ru?fy(t,e):void 0}(e,t,r):Po(e,e[1],n,t)}function py(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,l=n.matches,f=[];for(let m=0;m<l.length;m+=2){const E=l[m];f.push(E<0?null:ZD(t,s[E],l[m+1],n.metadata.read))}i.matches=f}return i.matches}function _h(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const l=py(e,t,i,n);for(let f=0;f<s.length;f+=2){const m=s[f];if(m>0)r.push(l[f/2]);else{const E=s[f+1],w=t[-m];for(let P=10;P<w.length;P++){const V=w[P];V[17]===V[3]&&_h(V[1],V,E,r)}if(null!==w[9]){const P=w[9];for(let V=0;V<P.length;V++){const re=P[V];_h(re[1],re,E,r)}}}}}return r}function gy(e){const t=Je(),n=Xt(),r=On();Dn(r+1);const i=Cy(n,r);if(e.dirty&&_n(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?_h(n,t,r,[]):py(n,t,i,r);e.reset(s,Z_),e.notifyOnChanges()}return!0}return!1}function my(e,t,n){const r=Xt();r.firstCreatePass&&(Ey(r,new hy(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),vy(r,Je(),t)}function _y(e,t,n,r){const i=Xt();if(i.firstCreatePass){const s=Un();Ey(i,new hy(t,n,r),s.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)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}vy(i,Je(),n)}function yy(){return e=Je(),t=On(),e[19].queries[t].queryList;var e,t}function vy(e,t,n){const r=new sc(4==(4&n));_g(e,t,r,r.destroy),null===t[19]&&(t[19]=new ph),t[19].queries.push(new hh(r))}function Ey(e,t,n){null===e.queries&&(e.queries=new gh),e.queries.track(new mh(t,n))}function Cy(e,t){return e.queries.getByIndex(t)}const Dh=new jn("Application Initializer");let nl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Tu,this.reject=Tu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Uf(s))n.push(s);else if(Vf(s)){const l=new Promise((f,m)=>{s.subscribe({complete:f,error:m})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Ln(Dh,8))},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();const Uy=new jn("AppId"),Sw={provide:Uy,useFactory:function(){return`${wh()}${wh()}${wh()}`},deps:[]};function wh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vy=new jn("Platform Initializer"),jy=new jn("Platform ID"),Hy=new jn("appBootstrapListener");let $y=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();const xu=new jn("LocaleId"),Wy=new jn("DefaultCurrencyCode");class Mw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Th=function(e){return new uh(e)},Iw=Th,Aw=function(e){return Promise.resolve(Th(e))},zy=function(e){const t=Th(e),r=ls(Bn(e).declarations).reduce((i,s)=>{const l=Tn(s);return l&&i.push(new ch(l)),i},[]);return new Mw(t,r)},Rw=zy,Ow=function(e){return Promise.resolve(zy(e))};let Mh=(()=>{class e{constructor(){this.compileModuleSync=Iw,this.compileModuleAsync=Aw,this.compileModuleAndAllComponentsSync=Rw,this.compileModuleAndAllComponentsAsync=Ow}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();const Fw=(()=>Promise.resolve(0))();function Ih(e){"undefined"==typeof Zone?Fw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gs(!1),this.onMicrotaskEmpty=new gs(!1),this.onStable=new gs(!1),this.onError=new gs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rh(e),e.isCheckStableRunning=!0,Ah(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,l,f)=>{try{return Gy(e),n.invokeTask(i,s,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ky(e)}},onInvoke:(n,r,i,s,l,f,m)=>{try{return Gy(e),n.invoke(i,s,l,f,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ky(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Rh(e),Ah(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!li.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(li.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,l=s.scheduleEventTask("NgZoneEvent: "+i,t,Lw,Tu,Tu);try{return s.runTask(l,n,r)}finally{s.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Lw={};function Ah(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 Rh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ky(e){e._nesting--,Ah(e)}class Uw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gs,this.onMicrotaskEmpty=new gs,this.onStable=new gs,this.onError=new gs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Zy=(()=>{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:()=>{li.assertNotInAngularZone(),Ih(()=>{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())Ih(()=>{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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ln(li))},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})(),Yy=(()=>{class e{constructor(){this._applications=new Map,Oh.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Oh.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();class Vw{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function jw(e){Oh=e}let Oh=new Vw,Qy=!0,Jy=!1;function Ph(){return Jy=!0,Qy}function Hw(){if(Jy)throw new Error("Cannot enable prod mode after platform setup.");Qy=!1}let ji;const Xy=new jn("AllowMultipleToken");class Yw{constructor(t,n){this.name=t,this.token=n}}function qy(e,t,n=[]){const r=`Platform: ${t}`,i=new jn(r);return(s=[])=>{let l=ev();if(!l||l.injector.get(Xy,!1))if(e)e(n.concat(s).concat({provide:i,useValue:!0}));else{const f=n.concat(s).concat({provide:i,useValue:!0},{provide:Wl,useValue:"platform"});!function(e){if(ji&&!ji.destroyed&&!ji.injector.get(Xy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ji=e.get(tv);const t=e.get(Vy,null);t&&t.forEach(n=>n())}(Wn.create({providers:f,name:r}))}return function(e){const t=ev();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}(i)}}function ev(){return ji&&!ji.destroyed?ji:null}let tv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const f=function(e,t){let n;return n="noop"===e?new Uw:("zone.js"===e?void 0:e)||new li({enableLongStackTrace:Ph(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:li,useValue:f}];return f.run(()=>{const E=Wn.create({providers:m,parent:this.injector,name:n.moduleType.name}),w=n.create(E),P=w.injector.get($,null);if(!P)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return f.runOutsideAngular(()=>{const V=f.onError.subscribe({next:re=>{P.handleError(re)}});w.onDestroy(()=>{xh(this._modules,w),V.unsubscribe()})}),function(e,t,n){try{const r=n();return Uf(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(P,f,()=>{const V=w.injector.get(nl);return V.runInitializers(),V.donePromise.then(()=>(qf(w.injector.get(xu,Cu)||Cu),this._moduleDoBootstrap(w),w))})})}bootstrapModule(n,r=[]){const i=nv({},r);return function(e,t,n){const r=new uh(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(lc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${x(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(r)}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)(Ln(Wn))},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();function nv(e,t){return Array.isArray(t)?t.reduce(nv,e):Object.assign(Object.assign({},e),t)}let lc=(()=>{class e{constructor(n,r,i,s,l){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=l,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 f=new U.y(E=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{E.next(this._stable),E.complete()})}),m=new U.y(E=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{li.assertNotInAngularZone(),Ih(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,E.next(!0))})})});const P=this._zone.onUnstable.subscribe(()=>{li.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{E.next(!1)}))});return()=>{w.unsubscribe(),P.unsubscribe()}});this.isStable=(0,z.T)(f,m.pipe((0,j.B)()))}bootstrap(n,r){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 i;i=n instanceof z_?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Yo),f=i.create(Wn.NULL,[],r||i.selector,s),m=f.location.nativeElement,E=f.injector.get(Zy,null),w=E&&f.injector.get(Yy);return E&&w&&w.registerApplication(m,E),f.onDestroy(()=>{this.detachView(f.hostView),xh(this.components,f),w&&w.unregisterApplication(m)}),this._loadComponent(f),f}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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;xh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Hy,[]).concat(this._bootstrapListeners).forEach(i=>i(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)(Ln(li),Ln(Wn),Ln($),Ln(Ja),Ln(nl))},e.\u0275prov=Ht({token:e,factory:e.\u0275fac}),e})();function xh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const nS=function(e){return function(e,t,n){if(vr(e)&&!n){const r=ln(e.index,t);return new tc(r,r)}return 47&e.type?new tc(t[16],t):null}(Un(),Je(),16==(16&e))};let rS=(()=>{class e{}return e.__NG_ELEMENT_ID__=nS,e})();const hS=function(e){return null};class uv{constructor(){}supports(t){return Kl(t)}create(t){return new mS(t)}}const gS=(e,t)=>t;class mS{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||gS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const l=!r||n&&n.currentIndex<fv(r,i,s)?n:r,f=fv(l,i,s),m=l.currentIndex;if(l===r)i--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)i++;else{s||(s=[]);const E=f-i,w=m-i;if(E!=w){for(let V=0;V<E;V++){const re=V<s.length?s[V]:s[V]=0,ge=re+V;w<=ge&&ge<E&&(s[V]=re+1)}s[l.previousIndex]=w-E}}f!==m&&t(l,f,m)}}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=[]),!Kl(t))throw new Error(`Error trying to diff '${x(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],l=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,s,l,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,l,f),r=!0),n=n._next}else i=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ka()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{l=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,f,l,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,l,i),r=!0),n=n._next,i++}),this.length=i;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,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new _S(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const 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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new dv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 dv),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 _S{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 yS{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class dv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new yS,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 fv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class hv{constructor(){}supports(t){return t instanceof Map||Mf(t)}create(){return new vS}}class vS{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||Mf(t)))throw new Error(`Error trying to diff '${x(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,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,l=i._next;return s&&(s._next=l),l&&(l._prev=s),i._next=null,i._prev=null,i}const r=new ES(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class ES{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 pv(){return new ku([new uv])}let ku=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pv()),deps:[[e,new is,new Xr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=Ht({token:e,providedIn:"root",factory:pv}),e})();function gv(){return new Bu([new hv])}let Bu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gv()),deps:[[e,new is,new Xr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=Ht({token:e,providedIn:"root",factory:gv}),e})();const bS=[new hv],wS=new ku([new uv]),SS=new Bu(bS),TS=qy(null,"core",[{provide:jy,useValue:"unknown"},{provide:tv,deps:[Wn]},{provide:Yy,deps:[]},{provide:$y,deps:[]}]),OS=[{provide:lc,useClass:lc,deps:[li,Wn,$,Ja,nl]},{provide:hD,deps:[li],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:nl,useClass:nl,deps:[[new Xr,Dh]]},{provide:Mh,useClass:Mh,deps:[]},Sw,{provide:ku,useFactory:function(){return wS},deps:[]},{provide:Bu,useFactory:function(){return SS},deps:[]},{provide:xu,useFactory:function(e){return qf(e=e||"undefined"!=typeof $localize&&$localize.locale||Cu),e},deps:[[new Pi(xu),new Xr,new is]]},{provide:Wy,useValue:"USD"}];let xS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Ln(lc))},e.\u0275mod=er({type:e}),e.\u0275inj=zt({providers:OS}),e})()},781:(Ze,ae,y)=>{y.d(ae,{zs:()=>R,lW:()=>M,ot:()=>W});var g=y(8920),a=y(8848),U=y(2316),z=y(1606);const j=["mat-button",""],F=["*"],N=".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;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;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;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;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",H=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],L=(0,g.pj)((0,g.Id)((0,g.Kr)(class{constructor(X){this._elementRef=X}})));let M=(()=>{class X extends L{constructor(te,Y,q){super(te),this._focusMonitor=Y,this._animationMode=q,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const _e of H)this._hasHostAttributes(_e)&&this._getHostElement().classList.add(_e);te.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(te,Y){te?this._focusMonitor.focusVia(this._getHostElement(),te,Y):this._getHostElement().focus(Y)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...te){return te.some(Y=>this._getHostElement().hasAttribute(Y))}}return X.\u0275fac=function(te){return new(te||X)(U.Y36(U.SBq),U.Y36(z.tE),U.Y36(a.Qb,8))},X.\u0275cmp=U.Xpm({type:X,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(te,Y){if(1&te&&U.Gf(g.wG,5),2&te){let q;U.iGM(q=U.CRH())&&(Y.ripple=q.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(te,Y){2&te&&(U.uIk("disabled",Y.disabled||null),U.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-button-disabled",Y.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[U.qOj],attrs:j,ngContentSelectors:F,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(te,Y){1&te&&(U.F$t(),U.TgZ(0,"span",0),U.Hsn(1),U.qZA(),U._UZ(2,"span",1),U._UZ(3,"span",2)),2&te&&(U.xp6(2),U.ekj("mat-button-ripple-round",Y.isRoundButton||Y.isIconButton),U.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleCentered",Y.isIconButton)("matRippleTrigger",Y._getHostElement()))},directives:[g.wG],styles:[N],encapsulation:2,changeDetection:0}),X})(),R=(()=>{class X extends M{constructor(te,Y,q){super(Y,te,q)}_haltDisabledEvents(te){this.disabled&&(te.preventDefault(),te.stopImmediatePropagation())}}return X.\u0275fac=function(te){return new(te||X)(U.Y36(z.tE),U.Y36(U.SBq),U.Y36(a.Qb,8))},X.\u0275cmp=U.Xpm({type:X,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(te,Y){1&te&&U.NdJ("click",function(_e){return Y._haltDisabledEvents(_e)}),2&te&&(U.uIk("tabindex",Y.disabled?-1:Y.tabIndex||0)("disabled",Y.disabled||null)("aria-disabled",Y.disabled.toString()),U.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-button-disabled",Y.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[U.qOj],attrs:j,ngContentSelectors:F,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(te,Y){1&te&&(U.F$t(),U.TgZ(0,"span",0),U.Hsn(1),U.qZA(),U._UZ(2,"span",1),U._UZ(3,"span",2)),2&te&&(U.xp6(2),U.ekj("mat-button-ripple-round",Y.isRoundButton||Y.isIconButton),U.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleCentered",Y.isIconButton)("matRippleTrigger",Y._getHostElement()))},directives:[g.wG],styles:[N],encapsulation:2,changeDetection:0}),X})(),W=(()=>{class X{}return X.\u0275fac=function(te){return new(te||X)},X.\u0275mod=U.oAB({type:X}),X.\u0275inj=U.cJS({imports:[[g.si,g.BQ],g.BQ]}),X})()},8920:(Ze,ae,y)=>{y.d(ae,{Y2:()=>Et,BQ:()=>me,wG:()=>cn,si:()=>Yt,IR:()=>qe,pj:()=>Pe,Kr:()=>Le,Id:()=>ce,sb:()=>ze});var g=y(2316),a=y(1606),U=y(772);const z=new g.GfV("13.0.0-next.7");var j=y(4364),F=y(6145),N=y(657),H=(y(8187),y(8848));y(84);const _e=new g.GfV("13.0.0-next.7"),pe=new g.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let me=(()=>{class ye{constructor(Z,Te,ct){this._hasDoneGlobalChecks=!1,this._document=ct,Z._applyBodyHighContrastModeCssClasses(),this._sanityChecks=Te,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Z){return!(!(0,g.X6Q)()||(0,F.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Z])}_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 Z=this._document.createElement("div");Z.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(Z);const Te=getComputedStyle(Z);Te&&"none"!==Te.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(Z)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&_e.full!==z.full&&console.warn("The Angular Material version ("+_e.full+") does not match the Angular CDK version ("+z.full+").\nPlease ensure the versions of these two packages exactly match.")}}return ye.\u0275fac=function(Z){return new(Z||ye)(g.LFG(a.qm),g.LFG(pe,8),g.LFG(j.K0))},ye.\u0275mod=g.oAB({type:ye}),ye.\u0275inj=g.cJS({imports:[[U.vT],U.vT]}),ye})();function ce(ye){return class extends ye{constructor(...fe){super(...fe),this._disabled=!1}get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,N.Ig)(fe)}}}function Pe(ye,fe){return class extends ye{constructor(...Z){super(...Z),this.defaultColor=fe,this.color=fe}get color(){return this._color}set color(Z){const Te=Z||this.defaultColor;Te!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Te&&this._elementRef.nativeElement.classList.add(`mat-${Te}`),this._color=Te)}}}function Le(ye){return class extends ye{constructor(...fe){super(...fe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(fe){this._disableRipple=(0,N.Ig)(fe)}}}function ze(ye,fe=0){return class extends ye{constructor(...Z){super(...Z),this._tabIndex=fe,this.defaultTabIndex=fe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Z){this._tabIndex=null!=Z?(0,N.su)(Z):this.defaultTabIndex}}}class pn{constructor(fe,Z,Te){this._renderer=fe,this.element=Z,this.config=Te,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const hn={enterDuration:225,exitDuration:150},wt=(0,F.i$)({passive:!0}),be=["mousedown","touchstart"],xe=["mouseup","mouseleave","touchend","touchcancel"];class qe{constructor(fe,Z,Te,ct){this._target=fe,this._ngZone=Z,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,ct.isBrowser&&(this._containerElement=(0,N.fI)(Te))}fadeInRipple(fe,Z,Te={}){const ct=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Se=Object.assign(Object.assign({},hn),Te.animation);Te.centered&&(fe=ct.left+ct.width/2,Z=ct.top+ct.height/2);const le=Te.radius||function(ye,fe,Z){const Te=Math.max(Math.abs(ye-Z.left),Math.abs(ye-Z.right)),ct=Math.max(Math.abs(fe-Z.top),Math.abs(fe-Z.bottom));return Math.sqrt(Te*Te+ct*ct)}(fe,Z,ct),J=fe-ct.left,we=Z-ct.top,Be=Se.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=J-le+"px",rt.style.top=we-le+"px",rt.style.height=2*le+"px",rt.style.width=2*le+"px",null!=Te.color&&(rt.style.backgroundColor=Te.color),rt.style.transitionDuration=`${Be}ms`,this._containerElement.appendChild(rt),window.getComputedStyle(rt).getPropertyValue("opacity"),rt.style.transform="scale(1)";const bt=new pn(this,rt,Te);return bt.state=0,this._activeRipples.add(bt),Te.persistent||(this._mostRecentTransientRipple=bt),this._runTimeoutOutsideZone(()=>{const un=bt===this._mostRecentTransientRipple;bt.state=1,!Te.persistent&&(!un||!this._isPointerDown)&&bt.fadeOut()},Be),bt}fadeOutRipple(fe){const Z=this._activeRipples.delete(fe);if(fe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!Z)return;const Te=fe.element,ct=Object.assign(Object.assign({},hn),fe.config.animation);Te.style.transitionDuration=`${ct.exitDuration}ms`,Te.style.opacity="0",fe.state=2,this._runTimeoutOutsideZone(()=>{fe.state=3,Te.parentNode.removeChild(Te)},ct.exitDuration)}fadeOutAll(){this._activeRipples.forEach(fe=>fe.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(fe=>{fe.config.persistent||fe.fadeOut()})}setupTriggerEvents(fe){const Z=(0,N.fI)(fe);!Z||Z===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Z,this._registerEvents(be))}handleEvent(fe){"mousedown"===fe.type?this._onMousedown(fe):"touchstart"===fe.type?this._onTouchStart(fe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(xe),this._pointerUpEventsRegistered=!0)}_onMousedown(fe){const Z=(0,a.X6)(fe),Te=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Z&&!Te&&(this._isPointerDown=!0,this.fadeInRipple(fe.clientX,fe.clientY,this._target.rippleConfig))}_onTouchStart(fe){if(!this._target.rippleDisabled&&!(0,a.yG)(fe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Z=fe.changedTouches;for(let Te=0;Te<Z.length;Te++)this.fadeInRipple(Z[Te].clientX,Z[Te].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(fe=>{!fe.config.persistent&&(1===fe.state||fe.config.terminateOnPointerUp&&0===fe.state)&&fe.fadeOut()}))}_runTimeoutOutsideZone(fe,Z=0){this._ngZone.runOutsideAngular(()=>setTimeout(fe,Z))}_registerEvents(fe){this._ngZone.runOutsideAngular(()=>{fe.forEach(Z=>{this._triggerElement.addEventListener(Z,this,wt)})})}_removeTriggerEvents(){this._triggerElement&&(be.forEach(fe=>{this._triggerElement.removeEventListener(fe,this,wt)}),this._pointerUpEventsRegistered&&xe.forEach(fe=>{this._triggerElement.removeEventListener(fe,this,wt)}))}}const Et=new g.OlP("mat-ripple-global-options");let cn=(()=>{class ye{constructor(Z,Te,ct,Se,le){this._elementRef=Z,this._animationMode=le,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Se||{},this._rippleRenderer=new qe(this,Te,Z,ct)}get disabled(){return this._disabled}set disabled(Z){Z&&this.fadeOutAllNonPersistent(),this._disabled=Z,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Z){this._trigger=Z,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(Z,Te=0,ct){return"number"==typeof Z?this._rippleRenderer.fadeInRipple(Z,Te,Object.assign(Object.assign({},this.rippleConfig),ct)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Z))}}return ye.\u0275fac=function(Z){return new(Z||ye)(g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(F.t4),g.Y36(Et,8),g.Y36(H.Qb,8))},ye.\u0275dir=g.lG2({type:ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Z,Te){2&Z&&g.ekj("mat-ripple-unbounded",Te.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"]}),ye})(),Yt=(()=>{class ye{}return ye.\u0275fac=function(Z){return new(Z||ye)},ye.\u0275mod=g.oAB({type:ye}),ye.\u0275inj=g.cJS({imports:[[me,F.ud],me]}),ye})()},7280:(Ze,ae,y)=>{y.d(ae,{Hw:()=>pn,Ps:()=>hn,jv:()=>dt});var g=y(2316),a=y(8920),U=y(657),z=y(4364),j=y(1325),F=y(8371),N=y(4915),x=y(5681),H=y(6487),L=y(8301),M=y(9501),W=y(7599),X=y(864),G=y(1289),te=y(9349),Y=y(9005),q=y(4864),_e=y(7465),Ne=y(1635),pe=y(5116),me=y(3882),ce=y(1570);const Pe=["*"];let Le;function De(ot){var wt;return(null===(wt=function(){if(void 0===Le&&(Le=null,"undefined"!=typeof window)){const ot=window;void 0!==ot.trustedTypes&&(Le=ot.trustedTypes.createPolicy("angular#components",{createHTML:wt=>wt}))}return Le}())||void 0===wt?void 0:wt.createHTML(ot))||ot}function Re(ot){return Error(`Unable to find icon with the name "${ot}"`)}function Ve(ot){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ot}".`)}function $e(ot){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ot}".`)}class Fe{constructor(wt,be,xe){this.url=wt,this.svgText=be,this.options=xe}}let dt=(()=>{class ot{constructor(be,xe,qe,nt){this._httpClient=be,this._sanitizer=xe,this._errorHandler=nt,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=qe}addSvgIcon(be,xe,qe){return this.addSvgIconInNamespace("",be,xe,qe)}addSvgIconLiteral(be,xe,qe){return this.addSvgIconLiteralInNamespace("",be,xe,qe)}addSvgIconInNamespace(be,xe,qe,nt){return this._addSvgIconConfig(be,xe,new Fe(qe,null,nt))}addSvgIconResolver(be){return this._resolvers.push(be),this}addSvgIconLiteralInNamespace(be,xe,qe,nt){const Qe=this._sanitizer.sanitize(g.q3G.HTML,qe);if(!Qe)throw $e(qe);const Et=De(Qe);return this._addSvgIconConfig(be,xe,new Fe("",Et,nt))}addSvgIconSet(be,xe){return this.addSvgIconSetInNamespace("",be,xe)}addSvgIconSetLiteral(be,xe){return this.addSvgIconSetLiteralInNamespace("",be,xe)}addSvgIconSetInNamespace(be,xe,qe){return this._addSvgIconSetConfig(be,new Fe(xe,null,qe))}addSvgIconSetLiteralInNamespace(be,xe,qe){const nt=this._sanitizer.sanitize(g.q3G.HTML,xe);if(!nt)throw $e(xe);const Qe=De(nt);return this._addSvgIconSetConfig(be,new Fe("",Qe,qe))}registerFontClassAlias(be,xe=be){return this._fontCssClassesByAlias.set(be,xe),this}classNameForFontAlias(be){return this._fontCssClassesByAlias.get(be)||be}setDefaultFontSetClass(be){return this._defaultFontSetClass=be,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(be){const xe=this._sanitizer.sanitize(g.q3G.RESOURCE_URL,be);if(!xe)throw Ve(be);const qe=this._cachedIconsByUrl.get(xe);return qe?(0,W.of)(Ct(qe)):this._loadSvgIconFromConfig(new Fe(be,null)).pipe((0,te.b)(nt=>this._cachedIconsByUrl.set(xe,nt)),(0,Y.U)(nt=>Ct(nt)))}getNamedSvgIcon(be,xe=""){const qe=Ut(xe,be);let nt=this._svgIconConfigs.get(qe);if(nt)return this._getSvgFromConfig(nt);if(nt=this._getIconConfigFromResolvers(xe,be),nt)return this._svgIconConfigs.set(qe,nt),this._getSvgFromConfig(nt);const Qe=this._iconSetConfigs.get(xe);return Qe?this._getSvgFromIconSetConfigs(be,Qe):(0,X._)(Re(qe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(be){return be.svgText?(0,W.of)(Ct(this._svgElementFromConfig(be))):this._loadSvgIconFromConfig(be).pipe((0,Y.U)(xe=>Ct(xe)))}_getSvgFromIconSetConfigs(be,xe){const qe=this._extractIconWithNameFromAnySet(be,xe);return qe?(0,W.of)(qe):function(){for(var ot=[],wt=0;wt<arguments.length;wt++)ot[wt]=arguments[wt];var be=(0,x.jO)(ot),xe=(0,F.D)(ot),qe=xe.args,nt=xe.keys,Qe=new j.y(function(Et){var cn=qe.length;if(cn)for(var Yt=new Array(cn),je=cn,ue=cn,de=function(ne){var I=!1;(0,N.Xf)(qe[ne]).subscribe(new H.Q(Et,function(K){I||(I=!0,ue--),Yt[ne]=K},function(){return je--},void 0,function(){(!je||!I)&&(ue||Et.next(nt?(0,M.n)(nt,Yt):Yt),Et.complete())}))},oe=0;oe<cn;oe++)de(oe);else Et.complete()});return be?Qe.pipe((0,L.Z)(be)):Qe}(xe.filter(Qe=>!Qe.svgText).map(Qe=>this._loadSvgIconSetFromConfig(Qe).pipe((0,q.K)(Et=>{const Yt=`Loading icon set URL: ${this._sanitizer.sanitize(g.q3G.RESOURCE_URL,Qe.url)} failed: ${Et.message}`;return this._errorHandler.handleError(new Error(Yt)),(0,W.of)(null)})))).pipe((0,Y.U)(()=>{const Qe=this._extractIconWithNameFromAnySet(be,xe);if(!Qe)throw Re(be);return Qe}))}_extractIconWithNameFromAnySet(be,xe){for(let qe=xe.length-1;qe>=0;qe--){const nt=xe[qe];if(nt.svgText&&nt.svgText.toString().indexOf(be)>-1){const Qe=this._svgElementFromConfig(nt),Et=this._extractSvgIconFromSet(Qe,be,nt.options);if(Et)return Et}}return null}_loadSvgIconFromConfig(be){return this._fetchIcon(be).pipe((0,te.b)(xe=>be.svgText=xe),(0,Y.U)(()=>this._svgElementFromConfig(be)))}_loadSvgIconSetFromConfig(be){return be.svgText?(0,W.of)(null):this._fetchIcon(be).pipe((0,te.b)(xe=>be.svgText=xe))}_extractSvgIconFromSet(be,xe,qe){const nt=be.querySelector(`[id="${xe}"]`);if(!nt)return null;const Qe=nt.cloneNode(!0);if(Qe.removeAttribute("id"),"svg"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(Qe,qe);if("symbol"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Qe),qe);const Et=this._svgElementFromString(De("<svg></svg>"));return Et.appendChild(Qe),this._setSvgAttributes(Et,qe)}_svgElementFromString(be){const xe=this._document.createElement("DIV");xe.innerHTML=be;const qe=xe.querySelector("svg");if(!qe)throw Error("<svg> tag not found");return qe}_toSvgElement(be){const xe=this._svgElementFromString(De("<svg></svg>")),qe=be.attributes;for(let nt=0;nt<qe.length;nt++){const{name:Qe,value:Et}=qe[nt];"id"!==Qe&&xe.setAttribute(Qe,Et)}for(let nt=0;nt<be.childNodes.length;nt++)be.childNodes[nt].nodeType===this._document.ELEMENT_NODE&&xe.appendChild(be.childNodes[nt].cloneNode(!0));return xe}_setSvgAttributes(be,xe){return be.setAttribute("fit",""),be.setAttribute("height","100%"),be.setAttribute("width","100%"),be.setAttribute("preserveAspectRatio","xMidYMid meet"),be.setAttribute("focusable","false"),xe&&xe.viewBox&&be.setAttribute("viewBox",xe.viewBox),be}_fetchIcon(be){var xe;const{url:qe,options:nt}=be,Qe=null!==(xe=null==nt?void 0:nt.withCredentials)&&void 0!==xe&&xe;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==qe)throw Error(`Cannot fetch icon from URL "${qe}".`);const Et=this._sanitizer.sanitize(g.q3G.RESOURCE_URL,qe);if(!Et)throw Ve(qe);const cn=this._inProgressUrlFetches.get(Et);if(cn)return cn;const Yt=this._httpClient.get(Et,{responseType:"text",withCredentials:Qe}).pipe((0,Y.U)(je=>De(je)),(0,_e.x)(()=>this._inProgressUrlFetches.delete(Et)),(0,Ne.B)());return this._inProgressUrlFetches.set(Et,Yt),Yt}_addSvgIconConfig(be,xe,qe){return this._svgIconConfigs.set(Ut(be,xe),qe),this}_addSvgIconSetConfig(be,xe){const qe=this._iconSetConfigs.get(be);return qe?qe.push(xe):this._iconSetConfigs.set(be,[xe]),this}_svgElementFromConfig(be){if(!be.svgElement){const xe=this._svgElementFromString(be.svgText);this._setSvgAttributes(xe,be.options),be.svgElement=xe}return be.svgElement}_getIconConfigFromResolvers(be,xe){for(let qe=0;qe<this._resolvers.length;qe++){const nt=this._resolvers[qe](xe,be);if(nt)return Mt(nt)?new Fe(nt.url,null,nt.options):new Fe(nt,null)}}}return ot.\u0275fac=function(be){return new(be||ot)(g.LFG(me.eN,8),g.LFG(ce.H7),g.LFG(z.K0,8),g.LFG(g.qLn))},ot.\u0275prov=g.Yz7({factory:function(){return new ot(g.LFG(me.eN,8),g.LFG(ce.H7),g.LFG(z.K0,8),g.LFG(g.qLn))},token:ot,providedIn:"root"}),ot})();function Ct(ot){return ot.cloneNode(!0)}function Ut(ot,wt){return ot+":"+wt}function Mt(ot){return!(!ot.url||!ot.options)}const on=(0,a.pj)(class{constructor(ot){this._elementRef=ot}}),Fn=new g.OlP("mat-icon-location",{providedIn:"root",factory:function(){const ot=(0,g.f3M)(z.K0),wt=ot?ot.location:null;return{getPathname:()=>wt?wt.pathname+wt.search:""}}}),Ht=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],zt=Ht.map(ot=>`[${ot}]`).join(", "),fn=/^url\(['"]?#(.*?)['"]?\)$/;let pn=(()=>{class ot extends on{constructor(be,xe,qe,nt,Qe){super(be),this._iconRegistry=xe,this._location=nt,this._errorHandler=Qe,this._inline=!1,this._currentIconFetch=G.w0.EMPTY,qe||be.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(be){this._inline=(0,U.Ig)(be)}get svgIcon(){return this._svgIcon}set svgIcon(be){be!==this._svgIcon&&(be?this._updateSvgIcon(be):this._svgIcon&&this._clearSvgElement(),this._svgIcon=be)}get fontSet(){return this._fontSet}set fontSet(be){const xe=this._cleanupFontValue(be);xe!==this._fontSet&&(this._fontSet=xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(be){const xe=this._cleanupFontValue(be);xe!==this._fontIcon&&(this._fontIcon=xe,this._updateFontIconClasses())}_splitIconName(be){if(!be)return["",""];const xe=be.split(":");switch(xe.length){case 1:return["",xe[0]];case 2:return xe;default:throw Error(`Invalid icon name: "${be}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const be=this._elementsWithExternalReferences;if(be&&be.size){const xe=this._location.getPathname();xe!==this._previousPath&&(this._previousPath=xe,this._prependPathToReferences(xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(be){this._clearSvgElement();const xe=be.querySelectorAll("style");for(let nt=0;nt<xe.length;nt++)xe[nt].textContent+=" ";const qe=this._location.getPathname();this._previousPath=qe,this._cacheChildrenWithExternalReferences(be),this._prependPathToReferences(qe),this._elementRef.nativeElement.appendChild(be)}_clearSvgElement(){const be=this._elementRef.nativeElement;let xe=be.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();xe--;){const qe=be.childNodes[xe];(1!==qe.nodeType||"svg"===qe.nodeName.toLowerCase())&&be.removeChild(qe)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const be=this._elementRef.nativeElement,xe=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();xe!=this._previousFontSetClass&&(this._previousFontSetClass&&be.classList.remove(this._previousFontSetClass),xe&&be.classList.add(xe),this._previousFontSetClass=xe),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&be.classList.remove(this._previousFontIconClass),this.fontIcon&&be.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(be){return"string"==typeof be?be.trim().split(" ")[0]:be}_prependPathToReferences(be){const xe=this._elementsWithExternalReferences;xe&&xe.forEach((qe,nt)=>{qe.forEach(Qe=>{nt.setAttribute(Qe.name,`url('${be}#${Qe.value}')`)})})}_cacheChildrenWithExternalReferences(be){const xe=be.querySelectorAll(zt),qe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let nt=0;nt<xe.length;nt++)Ht.forEach(Qe=>{const Et=xe[nt],cn=Et.getAttribute(Qe),Yt=cn?cn.match(fn):null;if(Yt){let je=qe.get(Et);je||(je=[],qe.set(Et,je)),je.push({name:Qe,value:Yt[1]})}})}_updateSvgIcon(be){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),be){const[xe,qe]=this._splitIconName(be);xe&&(this._svgNamespace=xe),qe&&(this._svgName=qe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(qe,xe).pipe((0,pe.q)(1)).subscribe(nt=>this._setSvgElement(nt),nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${xe}:${qe}! ${nt.message}`))})}}}return ot.\u0275fac=function(be){return new(be||ot)(g.Y36(g.SBq),g.Y36(dt),g.$8M("aria-hidden"),g.Y36(Fn),g.Y36(g.qLn))},ot.\u0275cmp=g.Xpm({type:ot,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(be,xe){2&be&&(g.uIk("data-mat-icon-type",xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",xe._svgName||xe.fontIcon)("data-mat-icon-namespace",xe._svgNamespace||xe.fontSet),g.ekj("mat-icon-inline",xe.inline)("mat-icon-no-color","primary"!==xe.color&&"accent"!==xe.color&&"warn"!==xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[g.qOj],ngContentSelectors:Pe,decls:1,vars:0,template:function(be,xe){1&be&&(g.F$t(),g.Hsn(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}),ot})(),hn=(()=>{class ot{}return ot.\u0275fac=function(be){return new(be||ot)},ot.\u0275mod=g.oAB({type:ot}),ot.\u0275inj=g.cJS({imports:[[a.BQ],a.BQ]}),ot})()},8848:(Ze,ae,y)=>{y.d(ae,{Qb:()=>Xt,PW:()=>bs});var g=y(2316),a=y(1570),U=y(7175);function z(){return"undefined"!=typeof window&&void 0!==window.document}function j(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function F(S){switch(S.length){case 0:return new U.ZN;case 1:return S[0];default:return new U.ZE(S)}}function N(S,h,p,v,T={},B={}){const ee=[],se=[];let Ae=-1,We=null;if(v.forEach(tt=>{const gt=tt.offset,kt=gt==Ae,en=kt&&We||{};Object.keys(tt).forEach(vt=>{let Rt=vt,Jt=tt[vt];if("offset"!==vt)switch(Rt=h.normalizePropertyName(Rt,ee),Jt){case U.k1:Jt=T[vt];break;case U.l3:Jt=B[vt];break;default:Jt=h.normalizeStyleValue(vt,Rt,Jt,ee)}en[Rt]=Jt}),kt||se.push(en),We=en,Ae=gt}),ee.length){const tt="\n - ";throw new Error(`Unable to animate due to the following errors:${tt}${ee.join(tt)}`)}return se}function x(S,h,p,v){switch(h){case"start":S.onStart(()=>v(p&&H(p,"start",S)));break;case"done":S.onDone(()=>v(p&&H(p,"done",S)));break;case"destroy":S.onDestroy(()=>v(p&&H(p,"destroy",S)))}}function H(S,h,p){const v=p.totalTime,B=L(S.element,S.triggerName,S.fromState,S.toState,h||S.phaseName,null==v?S.totalTime:v,!!p.disabled),ee=S._data;return null!=ee&&(B._data=ee),B}function L(S,h,p,v,T="",B=0,ee){return{element:S,triggerName:h,fromState:p,toState:v,phaseName:T,totalTime:B,disabled:!!ee}}function M(S,h,p){let v;return S instanceof Map?(v=S.get(h),v||S.set(h,v=p)):(v=S[h],v||(v=S[h]=p)),v}function R(S){const h=S.indexOf(":");return[S.substring(1,h),S.substr(h+1)]}let W=(S,h)=>!1,G=(S,h)=>!1,Y=(S,h,p)=>[];const _e=j();(_e||"undefined"!=typeof Element)&&(W=z()?(S,h)=>{for(;h&&h!==document.documentElement;){if(h===S)return!0;h=h.parentNode||h.host}return!1}:(S,h)=>S.contains(h),G=(()=>{if(_e||Element.prototype.matches)return(S,h)=>S.matches(h);{const S=Element.prototype,h=S.matchesSelector||S.mozMatchesSelector||S.msMatchesSelector||S.oMatchesSelector||S.webkitMatchesSelector;return h?(p,v)=>h.apply(p,[v]):G}})(),Y=(S,h,p)=>{let v=[];if(p){const T=S.querySelectorAll(h);for(let B=0;B<T.length;B++)v.push(T[B])}else{const T=S.querySelector(h);T&&v.push(T)}return v});let pe=null,me=!1;function ce(S){pe||(pe=("undefined"!=typeof document?document.body:null)||{},me=!!pe.style&&"WebkitAppearance"in pe.style);let h=!0;return pe.style&&!function(S){return"ebkit"==S.substring(1,6)}(S)&&(h=S in pe.style,!h&&me&&(h="Webkit"+S.charAt(0).toUpperCase()+S.substr(1)in pe.style)),h}const Le=G,ze=W,De=Y;function Re(S){const h={};return Object.keys(S).forEach(p=>{const v=p.replace(/([a-z])([A-Z])/g,"$1-$2");h[v]=S[p]}),h}let Oe=(()=>{class S{validateStyleProperty(p){return ce(p)}matchesElement(p,v){return Le(p,v)}containsElement(p,v){return ze(p,v)}query(p,v,T){return De(p,v,T)}computeStyle(p,v,T){return T||""}animate(p,v,T,B,ee,se=[],Ae){return new U.ZN(T,B)}}return S.\u0275fac=function(p){return new(p||S)},S.\u0275prov=g.Yz7({token:S,factory:S.\u0275fac}),S})(),Ve=(()=>{class S{}return S.NOOP=new Oe,S})();const Lt="ng-enter",sn="ng-leave",Mt="ng-trigger",on=".ng-trigger",Fn="ng-animating",xn=".ng-animating";function Ht(S){if("number"==typeof S)return S;const h=S.match(/^(-?[\.\d]+)(m?s)/);return!h||h.length<2?0:Sn(parseFloat(h[1]),h[2])}function Sn(S,h){return"s"===h?1e3*S:S}function zt(S,h,p){return S.hasOwnProperty("duration")?S:function(S,h,p){let T,B=0,ee="";if("string"==typeof S){const se=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===se)return h.push(`The provided timing value "${S}" is invalid.`),{duration:0,delay:0,easing:""};T=Sn(parseFloat(se[1]),se[2]);const Ae=se[3];null!=Ae&&(B=Sn(parseFloat(Ae),se[4]));const We=se[5];We&&(ee=We)}else T=S;if(!p){let se=!1,Ae=h.length;T<0&&(h.push("Duration values below 0 are not allowed for this animation step."),se=!0),B<0&&(h.push("Delay values below 0 are not allowed for this animation step."),se=!0),se&&h.splice(Ae,0,`The provided timing value "${S}" is invalid.`)}return{duration:T,delay:B,easing:ee}}(S,h,p)}function pn(S,h={}){return Object.keys(S).forEach(p=>{h[p]=S[p]}),h}function ot(S,h,p={}){if(h)for(let v in S)p[v]=S[v];else pn(S,p);return p}function wt(S,h,p){return p?h+":"+p+";":""}function be(S){let h="";for(let p=0;p<S.style.length;p++){const v=S.style.item(p);h+=wt(0,v,S.style.getPropertyValue(v))}for(const p in S.style)S.style.hasOwnProperty(p)&&!p.startsWith("_")&&(h+=wt(0,oe(p),S.style[p]));S.setAttribute("style",h)}function xe(S,h,p){S.style&&(Object.keys(h).forEach(v=>{const T=de(v);p&&!p.hasOwnProperty(v)&&(p[v]=S.style[T]),S.style[T]=h[v]}),j()&&be(S))}function qe(S,h){S.style&&(Object.keys(h).forEach(p=>{const v=de(p);S.style[v]=""}),j()&&be(S))}function nt(S){return Array.isArray(S)?1==S.length?S[0]:(0,U.vP)(S):S}const Et=new RegExp("{{\\s*(.+?)\\s*}}","g");function cn(S){let h=[];if("string"==typeof S){let p;for(;p=Et.exec(S);)h.push(p[1]);Et.lastIndex=0}return h}function Yt(S,h,p){const v=S.toString(),T=v.replace(Et,(B,ee)=>{let se=h[ee];return h.hasOwnProperty(ee)||(p.push(`Please provide a value for the animation param ${ee}`),se=""),se.toString()});return T==v?S:T}function je(S){const h=[];let p=S.next();for(;!p.done;)h.push(p.value),p=S.next();return h}const ue=/-+([a-z0-9])/g;function de(S){return S.replace(ue,(...h)=>h[1].toUpperCase())}function oe(S){return S.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ne(S,h){return 0===S||0===h}function I(S,h,p){const v=Object.keys(p);if(v.length&&h.length){let B=h[0],ee=[];if(v.forEach(se=>{B.hasOwnProperty(se)||ee.push(se),B[se]=p[se]}),ee.length)for(var T=1;T<h.length;T++){let se=h[T];ee.forEach(function(Ae){se[Ae]=ve(S,Ae)})}}return h}function K(S,h,p){switch(h.type){case 7:return S.visitTrigger(h,p);case 0:return S.visitState(h,p);case 1:return S.visitTransition(h,p);case 2:return S.visitSequence(h,p);case 3:return S.visitGroup(h,p);case 4:return S.visitAnimate(h,p);case 5:return S.visitKeyframes(h,p);case 6:return S.visitStyle(h,p);case 8:return S.visitReference(h,p);case 9:return S.visitAnimateChild(h,p);case 10:return S.visitAnimateRef(h,p);case 11:return S.visitQuery(h,p);case 12:return S.visitStagger(h,p);default:throw new Error(`Unable to resolve animation metadata node #${h.type}`)}}function ve(S,h){return window.getComputedStyle(S)[h]}function st(S,h){const p=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(v=>function(S,h,p){if(":"==S[0]){const Ae=function(S,h){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(p,v)=>parseFloat(v)>parseFloat(p);case":decrement":return(p,v)=>parseFloat(v)<parseFloat(p);default:return h.push(`The transition alias value "${S}" is not supported`),"* => *"}}(S,p);if("function"==typeof Ae)return void h.push(Ae);S=Ae}const v=S.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return p.push(`The provided transition expression "${S}" is not supported`),h;const T=v[1],B=v[2],ee=v[3];h.push(mt(T,ee));"<"==B[0]&&!("*"==T&&"*"==ee)&&h.push(mt(ee,T))}(v,p,h)):p.push(S),p}const ft=new Set(["true","1"]),_t=new Set(["false","0"]);function mt(S,h){const p=ft.has(S)||_t.has(S),v=ft.has(h)||_t.has(h);return(T,B)=>{let ee="*"==S||S==T,se="*"==h||h==B;return!ee&&p&&"boolean"==typeof T&&(ee=T?ft.has(S):_t.has(S)),!se&&v&&"boolean"==typeof B&&(se=B?ft.has(h):_t.has(h)),ee&&se}}const fe=new RegExp("s*:selfs*,?","g");function Z(S,h,p){return new ct(S).build(h,p)}class ct{constructor(h){this._driver=h}build(h,p){const v=new J(p);return this._resetContextStyleTimingState(v),K(this,nt(h),v)}_resetContextStyleTimingState(h){h.currentQuerySelector="",h.collectedStyles={},h.collectedStyles[""]={},h.currentTime=0}visitTrigger(h,p){let v=p.queryCount=0,T=p.depCount=0;const B=[],ee=[];return"@"==h.name.charAt(0)&&p.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),h.definitions.forEach(se=>{if(this._resetContextStyleTimingState(p),0==se.type){const Ae=se,We=Ae.name;We.toString().split(/\s*,\s*/).forEach(tt=>{Ae.name=tt,B.push(this.visitState(Ae,p))}),Ae.name=We}else if(1==se.type){const Ae=this.visitTransition(se,p);v+=Ae.queryCount,T+=Ae.depCount,ee.push(Ae)}else p.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:h.name,states:B,transitions:ee,queryCount:v,depCount:T,options:null}}visitState(h,p){const v=this.visitStyle(h.styles,p),T=h.options&&h.options.params||null;if(v.containsDynamicStyles){const B=new Set,ee=T||{};if(v.styles.forEach(se=>{if(Be(se)){const Ae=se;Object.keys(Ae).forEach(We=>{cn(Ae[We]).forEach(tt=>{ee.hasOwnProperty(tt)||B.add(tt)})})}}),B.size){const se=je(B.values());p.errors.push(`state("${h.name}", ...) must define default values for all the following style substitutions: ${se.join(", ")}`)}}return{type:0,name:h.name,style:v,options:T?{params:T}:null}}visitTransition(h,p){p.queryCount=0,p.depCount=0;const v=K(this,nt(h.animation),p);return{type:1,matchers:st(h.expr,p.errors),animation:v,queryCount:p.queryCount,depCount:p.depCount,options:bt(h.options)}}visitSequence(h,p){return{type:2,steps:h.steps.map(v=>K(this,v,p)),options:bt(h.options)}}visitGroup(h,p){const v=p.currentTime;let T=0;const B=h.steps.map(ee=>{p.currentTime=v;const se=K(this,ee,p);return T=Math.max(T,p.currentTime),se});return p.currentTime=T,{type:3,steps:B,options:bt(h.options)}}visitAnimate(h,p){const v=function(S,h){let p=null;if(S.hasOwnProperty("duration"))p=S;else if("number"==typeof S)return un(zt(S,h).duration,0,"");const v=S;if(v.split(/\s+/).some(B=>"{"==B.charAt(0)&&"{"==B.charAt(1))){const B=un(0,0,"");return B.dynamic=!0,B.strValue=v,B}return p=p||zt(v,h),un(p.duration,p.delay,p.easing)}(h.timings,p.errors);p.currentAnimateTimings=v;let T,B=h.styles?h.styles:(0,U.oB)({});if(5==B.type)T=this.visitKeyframes(B,p);else{let ee=h.styles,se=!1;if(!ee){se=!0;const We={};v.easing&&(We.easing=v.easing),ee=(0,U.oB)(We)}p.currentTime+=v.duration+v.delay;const Ae=this.visitStyle(ee,p);Ae.isEmptyStep=se,T=Ae}return p.currentAnimateTimings=null,{type:4,timings:v,style:T,options:null}}visitStyle(h,p){const v=this._makeStyleAst(h,p);return this._validateStyleAst(v,p),v}_makeStyleAst(h,p){const v=[];Array.isArray(h.styles)?h.styles.forEach(ee=>{"string"==typeof ee?ee==U.l3?v.push(ee):p.errors.push(`The provided style string value ${ee} is not allowed.`):v.push(ee)}):v.push(h.styles);let T=!1,B=null;return v.forEach(ee=>{if(Be(ee)){const se=ee,Ae=se.easing;if(Ae&&(B=Ae,delete se.easing),!T)for(let We in se)if(se[We].toString().indexOf("{{")>=0){T=!0;break}}}),{type:6,styles:v,easing:B,offset:h.offset,containsDynamicStyles:T,options:null}}_validateStyleAst(h,p){const v=p.currentAnimateTimings;let T=p.currentTime,B=p.currentTime;v&&B>0&&(B-=v.duration+v.delay),h.styles.forEach(ee=>{"string"!=typeof ee&&Object.keys(ee).forEach(se=>{if(!this._driver.validateStyleProperty(se))return void p.errors.push(`The provided animation property "${se}" is not a supported CSS property for animations`);const Ae=p.collectedStyles[p.currentQuerySelector],We=Ae[se];let tt=!0;We&&(B!=T&&B>=We.startTime&&T<=We.endTime&&(p.errors.push(`The CSS property "${se}" that exists between the times of "${We.startTime}ms" and "${We.endTime}ms" is also being animated in a parallel animation between the times of "${B}ms" and "${T}ms"`),tt=!1),B=We.startTime),tt&&(Ae[se]={startTime:B,endTime:T}),p.options&&function(S,h,p){const v=h.params||{},T=cn(S);T.length&&T.forEach(B=>{v.hasOwnProperty(B)||p.push(`Unable to resolve the local animation param ${B} in the given list of values`)})}(ee[se],p.options,p.errors)})})}visitKeyframes(h,p){const v={type:5,styles:[],options:null};if(!p.currentAnimateTimings)return p.errors.push("keyframes() must be placed inside of a call to animate()"),v;let B=0;const ee=[];let se=!1,Ae=!1,We=0;const tt=h.steps.map(On=>{const Dn=this._makeStyleAst(On,p);let or=null!=Dn.offset?Dn.offset:function(S){if("string"==typeof S)return null;let h=null;if(Array.isArray(S))S.forEach(p=>{if(Be(p)&&p.hasOwnProperty("offset")){const v=p;h=parseFloat(v.offset),delete v.offset}});else if(Be(S)&&S.hasOwnProperty("offset")){const p=S;h=parseFloat(p.offset),delete p.offset}return h}(Dn.styles),Kn=0;return null!=or&&(B++,Kn=Dn.offset=or),Ae=Ae||Kn<0||Kn>1,se=se||Kn<We,We=Kn,ee.push(Kn),Dn});Ae&&p.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),se&&p.errors.push("Please ensure that all keyframe offsets are in order");const gt=h.steps.length;let kt=0;B>0&&B<gt?p.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==B&&(kt=1/(gt-1));const en=gt-1,vt=p.currentTime,Rt=p.currentAnimateTimings,Jt=Rt.duration;return tt.forEach((On,Dn)=>{const or=kt>0?Dn==en?1:kt*Dn:ee[Dn],Kn=or*Jt;p.currentTime=vt+Rt.delay+Kn,Rt.duration=Kn,this._validateStyleAst(On,p),On.offset=or,v.styles.push(On)}),v}visitReference(h,p){return{type:8,animation:K(this,nt(h.animation),p),options:bt(h.options)}}visitAnimateChild(h,p){return p.depCount++,{type:9,options:bt(h.options)}}visitAnimateRef(h,p){return{type:10,animation:this.visitReference(h.animation,p),options:bt(h.options)}}visitQuery(h,p){const v=p.currentQuerySelector,T=h.options||{};p.queryCount++,p.currentQuery=h;const[B,ee]=function(S){const h=!!S.split(/\s*,\s*/).find(p=>":self"==p);return h&&(S=S.replace(fe,"")),S=S.replace(/@\*/g,on).replace(/@\w+/g,p=>on+"-"+p.substr(1)).replace(/:animating/g,xn),[S,h]}(h.selector);p.currentQuerySelector=v.length?v+" "+B:B,M(p.collectedStyles,p.currentQuerySelector,{});const se=K(this,nt(h.animation),p);return p.currentQuery=null,p.currentQuerySelector=v,{type:11,selector:B,limit:T.limit||0,optional:!!T.optional,includeSelf:ee,animation:se,originalSelector:h.selector,options:bt(h.options)}}visitStagger(h,p){p.currentQuery||p.errors.push("stagger() can only be used inside of query()");const v="full"===h.timings?{duration:0,delay:0,easing:"full"}:zt(h.timings,p.errors,!0);return{type:12,animation:K(this,nt(h.animation),p),timings:v,options:null}}}class J{constructor(h){this.errors=h,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 Be(S){return!Array.isArray(S)&&"object"==typeof S}function bt(S){return S?(S=pn(S)).params&&(S.params=function(S){return S?pn(S):null}(S.params)):S={},S}function un(S,h,p){return{duration:S,delay:h,easing:p}}function kn(S,h,p,v,T,B,ee=null,se=!1){return{type:1,element:S,keyframes:h,preStyleProps:p,postStyleProps:v,duration:T,delay:B,totalTime:T+B,easing:ee,subTimeline:se}}class er{constructor(){this._map=new Map}consume(h){let p=this._map.get(h);return p?this._map.delete(h):p=[],p}append(h,p){let v=this._map.get(h);v||this._map.set(h,v=[]),v.push(...p)}has(h){return this._map.has(h)}clear(){this._map.clear()}}const qr=new RegExp(":enter","g"),Tn=new RegExp(":leave","g");function Cn(S,h,p,v,T,B={},ee={},se,Ae,We=[]){return(new tr).buildKeyframes(S,h,p,v,T,B,ee,se,Ae,We)}class tr{buildKeyframes(h,p,v,T,B,ee,se,Ae,We,tt=[]){We=We||new er;const gt=new Nr(h,p,We,T,B,tt,[]);gt.options=Ae,gt.currentTimeline.setStyles([ee],null,gt.errors,Ae),K(this,v,gt);const kt=gt.timelines.filter(en=>en.containsAnimation());if(kt.length&&Object.keys(se).length){const en=kt[kt.length-1];en.allowOnlyTimelineStyles()||en.setStyles([se],null,gt.errors,Ae)}return kt.length?kt.map(en=>en.buildKeyframes()):[kn(p,[],[],[],0,0,"",!1)]}visitTrigger(h,p){}visitState(h,p){}visitTransition(h,p){}visitAnimateChild(h,p){const v=p.subInstructions.consume(p.element);if(v){const T=p.createSubContext(h.options),B=p.currentTimeline.currentTime,ee=this._visitSubInstructions(v,T,T.options);B!=ee&&p.transformIntoNewTimeline(ee)}p.previousNode=h}visitAnimateRef(h,p){const v=p.createSubContext(h.options);v.transformIntoNewTimeline(),this.visitReference(h.animation,v),p.transformIntoNewTimeline(v.currentTimeline.currentTime),p.previousNode=h}_visitSubInstructions(h,p,v){let B=p.currentTimeline.currentTime;const ee=null!=v.duration?Ht(v.duration):null,se=null!=v.delay?Ht(v.delay):null;return 0!==ee&&h.forEach(Ae=>{const We=p.appendInstructionToTimeline(Ae,ee,se);B=Math.max(B,We.duration+We.delay)}),B}visitReference(h,p){p.updateOptions(h.options,!0),K(this,h.animation,p),p.previousNode=h}visitSequence(h,p){const v=p.subContextCount;let T=p;const B=h.options;if(B&&(B.params||B.delay)&&(T=p.createSubContext(B),T.transformIntoNewTimeline(),null!=B.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=Bn);const ee=Ht(B.delay);T.delayNextStep(ee)}h.steps.length&&(h.steps.forEach(ee=>K(this,ee,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>v&&T.transformIntoNewTimeline()),p.previousNode=h}visitGroup(h,p){const v=[];let T=p.currentTimeline.currentTime;const B=h.options&&h.options.delay?Ht(h.options.delay):0;h.steps.forEach(ee=>{const se=p.createSubContext(h.options);B&&se.delayNextStep(B),K(this,ee,se),T=Math.max(T,se.currentTimeline.currentTime),v.push(se.currentTimeline)}),v.forEach(ee=>p.currentTimeline.mergeTimelineCollectedStyles(ee)),p.transformIntoNewTimeline(T),p.previousNode=h}_visitTiming(h,p){if(h.dynamic){const v=h.strValue;return zt(p.params?Yt(v,p.params,p.errors):v,p.errors)}return{duration:h.duration,delay:h.delay,easing:h.easing}}visitAnimate(h,p){const v=p.currentAnimateTimings=this._visitTiming(h.timings,p),T=p.currentTimeline;v.delay&&(p.incrementTime(v.delay),T.snapshotCurrentStyles());const B=h.style;5==B.type?this.visitKeyframes(B,p):(p.incrementTime(v.duration),this.visitStyle(B,p),T.applyStylesToKeyframe()),p.currentAnimateTimings=null,p.previousNode=h}visitStyle(h,p){const v=p.currentTimeline,T=p.currentAnimateTimings;!T&&v.getCurrentStyleProperties().length&&v.forwardFrame();const B=T&&T.easing||h.easing;h.isEmptyStep?v.applyEmptyStep(B):v.setStyles(h.styles,B,p.errors,p.options),p.previousNode=h}visitKeyframes(h,p){const v=p.currentAnimateTimings,T=p.currentTimeline.duration,B=v.duration,se=p.createSubContext().currentTimeline;se.easing=v.easing,h.styles.forEach(Ae=>{se.forwardTime((Ae.offset||0)*B),se.setStyles(Ae.styles,Ae.easing,p.errors,p.options),se.applyStylesToKeyframe()}),p.currentTimeline.mergeTimelineCollectedStyles(se),p.transformIntoNewTimeline(T+B),p.previousNode=h}visitQuery(h,p){const v=p.currentTimeline.currentTime,T=h.options||{},B=T.delay?Ht(T.delay):0;B&&(6===p.previousNode.type||0==v&&p.currentTimeline.getCurrentStyleProperties().length)&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Bn);let ee=v;const se=p.invokeQuery(h.selector,h.originalSelector,h.limit,h.includeSelf,!!T.optional,p.errors);p.currentQueryTotal=se.length;let Ae=null;se.forEach((We,tt)=>{p.currentQueryIndex=tt;const gt=p.createSubContext(h.options,We);B&>.delayNextStep(B),We===p.element&&(Ae=gt.currentTimeline),K(this,h.animation,gt),gt.currentTimeline.applyStylesToKeyframe(),ee=Math.max(ee,gt.currentTimeline.currentTime)}),p.currentQueryIndex=0,p.currentQueryTotal=0,p.transformIntoNewTimeline(ee),Ae&&(p.currentTimeline.mergeTimelineCollectedStyles(Ae),p.currentTimeline.snapshotCurrentStyles()),p.previousNode=h}visitStagger(h,p){const v=p.parentContext,T=p.currentTimeline,B=h.timings,ee=Math.abs(B.duration),se=ee*(p.currentQueryTotal-1);let Ae=ee*p.currentQueryIndex;switch(B.duration<0?"reverse":B.easing){case"reverse":Ae=se-Ae;break;case"full":Ae=v.currentStaggerTime}const tt=p.currentTimeline;Ae&&tt.delayNextStep(Ae);const gt=tt.currentTime;K(this,h.animation,p),p.previousNode=h,v.currentStaggerTime=T.currentTime-gt+(T.startTime-v.currentTimeline.startTime)}}const Bn={};class Nr{constructor(h,p,v,T,B,ee,se,Ae){this._driver=h,this.element=p,this.subInstructions=v,this._enterClassName=T,this._leaveClassName=B,this.errors=ee,this.timelines=se,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ae||new Mn(this._driver,p,0),se.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(h,p){if(!h)return;const v=h;let T=this.options;null!=v.duration&&(T.duration=Ht(v.duration)),null!=v.delay&&(T.delay=Ht(v.delay));const B=v.params;if(B){let ee=T.params;ee||(ee=this.options.params={}),Object.keys(B).forEach(se=>{(!p||!ee.hasOwnProperty(se))&&(ee[se]=Yt(B[se],ee,this.errors))})}}_copyOptions(){const h={};if(this.options){const p=this.options.params;if(p){const v=h.params={};Object.keys(p).forEach(T=>{v[T]=p[T]})}}return h}createSubContext(h=null,p,v){const T=p||this.element,B=new Nr(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,v||0));return B.previousNode=this.previousNode,B.currentAnimateTimings=this.currentAnimateTimings,B.options=this._copyOptions(),B.updateOptions(h),B.currentQueryIndex=this.currentQueryIndex,B.currentQueryTotal=this.currentQueryTotal,B.parentContext=this,this.subContextCount++,B}transformIntoNewTimeline(h){return this.previousNode=Bn,this.currentTimeline=this.currentTimeline.fork(this.element,h),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(h,p,v){const T={duration:null!=p?p:h.duration,delay:this.currentTimeline.currentTime+(null!=v?v:0)+h.delay,easing:""},B=new lt(this._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,T,h.stretchStartingKeyframe);return this.timelines.push(B),T}incrementTime(h){this.currentTimeline.forwardTime(this.currentTimeline.duration+h)}delayNextStep(h){h>0&&this.currentTimeline.delayNextStep(h)}invokeQuery(h,p,v,T,B,ee){let se=[];if(T&&se.push(this.element),h.length>0){h=(h=h.replace(qr,"."+this._enterClassName)).replace(Tn,"."+this._leaveClassName);let We=this._driver.query(this.element,h,1!=v);0!==v&&(We=v<0?We.slice(We.length+v,We.length):We.slice(0,v)),se.push(...We)}return!B&&0==se.length&&ee.push(`\`query("${p}")\` returned zero elements. (Use \`query("${p}", { optional: true })\` if you wish to allow this.)`),se}}class Mn{constructor(h,p,v,T){this._driver=h,this.element=p,this.startTime=v,this._elementTimelineStylesLookup=T,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(p),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(p,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(h){const p=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||p?(this.forwardTime(this.currentTime+h),p&&this.snapshotCurrentStyles()):this.startTime+=h}fork(h,p){return this.applyStylesToKeyframe(),new Mn(this._driver,h,p||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(h){this.applyStylesToKeyframe(),this.duration=h,this._loadKeyframe()}_updateStyle(h,p){this._localTimelineStyles[h]=p,this._globalTimelineStyles[h]=p,this._styleSummary[h]={time:this.currentTime,value:p}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(h){h&&(this._previousKeyframe.easing=h),Object.keys(this._globalTimelineStyles).forEach(p=>{this._backFill[p]=this._globalTimelineStyles[p]||U.l3,this._currentKeyframe[p]=U.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(h,p,v,T){p&&(this._previousKeyframe.easing=p);const B=T&&T.params||{},ee=function(S,h){const p={};let v;return S.forEach(T=>{"*"===T?(v=v||Object.keys(h),v.forEach(B=>{p[B]=U.l3})):ot(T,!1,p)}),p}(h,this._globalTimelineStyles);Object.keys(ee).forEach(se=>{const Ae=Yt(ee[se],B,v);this._pendingStyles[se]=Ae,this._localTimelineStyles.hasOwnProperty(se)||(this._backFill[se]=this._globalTimelineStyles.hasOwnProperty(se)?this._globalTimelineStyles[se]:U.l3),this._updateStyle(se,Ae)})}applyStylesToKeyframe(){const h=this._pendingStyles,p=Object.keys(h);0!=p.length&&(this._pendingStyles={},p.forEach(v=>{this._currentKeyframe[v]=h[v]}),Object.keys(this._localTimelineStyles).forEach(v=>{this._currentKeyframe.hasOwnProperty(v)||(this._currentKeyframe[v]=this._localTimelineStyles[v])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(h=>{const p=this._localTimelineStyles[h];this._pendingStyles[h]=p,this._updateStyle(h,p)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const h=[];for(let p in this._currentKeyframe)h.push(p);return h}mergeTimelineCollectedStyles(h){Object.keys(h._styleSummary).forEach(p=>{const v=this._styleSummary[p],T=h._styleSummary[p];(!v||T.time>v.time)&&this._updateStyle(p,T.value)})}buildKeyframes(){this.applyStylesToKeyframe();const h=new Set,p=new Set,v=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((se,Ae)=>{const We=ot(se,!0);Object.keys(We).forEach(tt=>{const gt=We[tt];gt==U.k1?h.add(tt):gt==U.l3&&p.add(tt)}),v||(We.offset=Ae/this.duration),T.push(We)});const B=h.size?je(h.values()):[],ee=p.size?je(p.values()):[];if(v){const se=T[0],Ae=pn(se);se.offset=0,Ae.offset=1,T=[se,Ae]}return kn(this.element,T,B,ee,this.duration,this.startTime,this.easing,!1)}}class lt extends Mn{constructor(h,p,v,T,B,ee,se=!1){super(h,p,ee.delay),this.keyframes=v,this.preStyleProps=T,this.postStyleProps=B,this._stretchStartingKeyframe=se,this.timings={duration:ee.duration,delay:ee.delay,easing:ee.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let h=this.keyframes,{delay:p,duration:v,easing:T}=this.timings;if(this._stretchStartingKeyframe&&p){const B=[],ee=v+p,se=p/ee,Ae=ot(h[0],!1);Ae.offset=0,B.push(Ae);const We=ot(h[0],!1);We.offset=Vt(se),B.push(We);const tt=h.length-1;for(let gt=1;gt<=tt;gt++){let kt=ot(h[gt],!1);kt.offset=Vt((p+kt.offset*v)/ee),B.push(kt)}v=ee,p=0,T="",h=B}return kn(this.element,h,this.preStyleProps,this.postStyleProps,v,p,T,!0)}}function Vt(S,h=3){const p=Math.pow(10,h-1);return Math.round(S*p)/p}class ur{}class dr extends ur{normalizePropertyName(h,p){return de(h)}normalizeStyleValue(h,p,v,T){let B="";const ee=v.toString().trim();if(di[p]&&0!==v&&"0"!==v)if("number"==typeof v)B="px";else{const se=v.match(/^[+-]?[\d\.]+([a-z]*)$/);se&&0==se[1].length&&T.push(`Please provide a CSS unit value for ${h}:${v}`)}return ee+B}}const di=(()=>function(S){const h={};return S.forEach(p=>h[p]=!0),h}("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 Pt(S,h,p,v,T,B,ee,se,Ae,We,tt,gt,kt){return{type:0,element:S,triggerName:h,isRemovalTransition:T,fromState:p,fromStyles:B,toState:v,toStyles:ee,timelines:se,queriedElements:Ae,preStyleProps:We,postStyleProps:tt,totalTime:gt,errors:kt}}const Ee={};class he{constructor(h,p,v){this._triggerName=h,this.ast=p,this._stateStyles=v}match(h,p,v,T){return function(S,h,p,v,T){return S.some(B=>B(h,p,v,T))}(this.ast.matchers,h,p,v,T)}buildStyles(h,p,v){const T=this._stateStyles["*"],B=this._stateStyles[h],ee=T?T.buildStyles(p,v):{};return B?B.buildStyles(p,v):ee}build(h,p,v,T,B,ee,se,Ae,We,tt){const gt=[],kt=this.ast.options&&this.ast.options.params||Ee,vt=this.buildStyles(v,se&&se.params||Ee,gt),Rt=Ae&&Ae.params||Ee,Jt=this.buildStyles(T,Rt,gt),On=new Set,Dn=new Map,or=new Map,Kn="void"===T,Qr={params:Object.assign(Object.assign({},kt),Rt)},nr=tt?[]:Cn(h,p,this.ast.animation,B,ee,vt,Jt,Qr,We,gt);let rr=0;if(nr.forEach(jr=>{rr=Math.max(jr.duration+jr.delay,rr)}),gt.length)return Pt(p,this._triggerName,v,T,Kn,vt,Jt,[],[],Dn,or,rr,gt);nr.forEach(jr=>{const ir=jr.element,aa=M(Dn,ir,{});jr.preStyleProps.forEach(Nn=>aa[Nn]=!0);const Ii=M(or,ir,{});jr.postStyleProps.forEach(Nn=>Ii[Nn]=!0),ir!==p&&On.add(ir)});const Jr=je(On.values());return Pt(p,this._triggerName,v,T,Kn,vt,Jt,nr,Jr,Dn,or,rr)}}class Me{constructor(h,p,v){this.styles=h,this.defaultParams=p,this.normalizer=v}buildStyles(h,p){const v={},T=pn(this.defaultParams);return Object.keys(h).forEach(B=>{const ee=h[B];null!=ee&&(T[B]=ee)}),this.styles.styles.forEach(B=>{if("string"!=typeof B){const ee=B;Object.keys(ee).forEach(se=>{let Ae=ee[se];Ae.length>1&&(Ae=Yt(Ae,T,p));const We=this.normalizer.normalizePropertyName(se,p);Ae=this.normalizer.normalizeStyleValue(se,We,Ae,p),v[We]=Ae})}}),v}}class Dt{constructor(h,p,v){this.name=h,this.ast=p,this._normalizer=v,this.transitionFactories=[],this.states={},p.states.forEach(T=>{this.states[T.name]=new Me(T.style,T.options&&T.options.params||{},v)}),qt(this.states,"true","1"),qt(this.states,"false","0"),p.transitions.forEach(T=>{this.transitionFactories.push(new he(h,T,this.states))}),this.fallbackTransition=function(S,h,p){return new he(S,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ee,se)=>!0],options:null,queryCount:0,depCount:0},h)}(h,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(h,p,v,T){return this.transitionFactories.find(ee=>ee.match(h,p,v,T))||null}matchStyles(h,p,v){return this.fallbackTransition.buildStyles(h,p,v)}}function qt(S,h,p){S.hasOwnProperty(h)?S.hasOwnProperty(p)||(S[p]=S[h]):S.hasOwnProperty(p)&&(S[h]=S[p])}const Ft=new er;class fi{constructor(h,p,v){this.bodyNode=h,this._driver=p,this._normalizer=v,this._animations={},this._playersById={},this.players=[]}register(h,p){const v=[],T=Z(this._driver,p,v);if(v.length)throw new Error(`Unable to build the animation due to the following errors: ${v.join("\n")}`);this._animations[h]=T}_buildPlayer(h,p,v){const T=h.element,B=N(0,this._normalizer,0,h.keyframes,p,v);return this._driver.animate(T,B,h.duration,h.delay,h.easing,[],!0)}create(h,p,v={}){const T=[],B=this._animations[h];let ee;const se=new Map;if(B?(ee=Cn(this._driver,p,B,Lt,sn,{},{},v,Ft,T),ee.forEach(tt=>{const gt=M(se,tt.element,{});tt.postStyleProps.forEach(kt=>gt[kt]=null)})):(T.push("The requested animation doesn't exist or has already been destroyed"),ee=[]),T.length)throw new Error(`Unable to create the animation due to the following errors: ${T.join("\n")}`);se.forEach((tt,gt)=>{Object.keys(tt).forEach(kt=>{tt[kt]=this._driver.computeStyle(gt,kt,U.l3)})});const We=F(ee.map(tt=>{const gt=se.get(tt.element);return this._buildPlayer(tt,{},gt)}));return this._playersById[h]=We,We.onDestroy(()=>this.destroy(h)),this.players.push(We),We}destroy(h){const p=this._getPlayer(h);p.destroy(),delete this._playersById[h];const v=this.players.indexOf(p);v>=0&&this.players.splice(v,1)}_getPlayer(h){const p=this._playersById[h];if(!p)throw new Error(`Unable to find the timeline player referenced by ${h}`);return p}listen(h,p,v,T){const B=L(p,"","","");return x(this._getPlayer(h),v,B,T),()=>{}}command(h,p,v,T){if("register"==v)return void this.register(h,T[0]);if("create"==v)return void this.create(h,p,T[0]||{});const B=this._getPlayer(h);switch(v){case"play":B.play();break;case"pause":B.pause();break;case"reset":B.reset();break;case"restart":B.restart();break;case"finish":B.finish();break;case"init":B.init();break;case"setPosition":B.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(h)}}}const Di="ng-animate-queued",Qn="ng-animate-disabled",wr=".ng-animate-disabled",Rn=[],Sr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gn="__ng_removed";class kr{constructor(h,p=""){this.namespaceId=p;const v=h&&h.hasOwnProperty("value");if(this.value=null!=(S=v?h.value:h)?S:null,v){const B=pn(h);delete B.value,this.options=B}else this.options={};var S;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(h){const p=h.params;if(p){const v=this.options.params;Object.keys(p).forEach(T=>{null==v[T]&&(v[T]=p[T])})}}}const vr="void",hi=new kr(vr);class Tr{constructor(h,p,v){this.id=h,this.hostElement=p,this._engine=v,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+h,Er(p,this._hostClassName)}listen(h,p,v,T){if(!this._triggers.hasOwnProperty(p))throw new Error(`Unable to listen on the animation trigger event "${v}" because the animation trigger "${p}" doesn't exist!`);if(null==v||0==v.length)throw new Error(`Unable to listen on the animation trigger "${p}" because the provided event is undefined!`);if("start"!=(S=v)&&"done"!=S)throw new Error(`The provided animation trigger event "${v}" for the animation trigger "${p}" is not supported!`);var S;const B=M(this._elementListeners,h,[]),ee={name:p,phase:v,callback:T};B.push(ee);const se=M(this._engine.statesByElement,h,{});return se.hasOwnProperty(p)||(Er(h,Mt),Er(h,Mt+"-"+p),se[p]=hi),()=>{this._engine.afterFlush(()=>{const Ae=B.indexOf(ee);Ae>=0&&B.splice(Ae,1),this._triggers[p]||delete se[p]})}}register(h,p){return!this._triggers[h]&&(this._triggers[h]=p,!0)}_getTrigger(h){const p=this._triggers[h];if(!p)throw new Error(`The provided animation trigger "${h}" has not been registered!`);return p}trigger(h,p,v,T=!0){const B=this._getTrigger(p),ee=new ms(this.id,p,h);let se=this._engine.statesByElement.get(h);se||(Er(h,Mt),Er(h,Mt+"-"+p),this._engine.statesByElement.set(h,se={}));let Ae=se[p];const We=new kr(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&Ae&&We.absorbOptions(Ae.options),se[p]=We,Ae||(Ae=hi),We.value!==vr&&Ae.value===We.value){if(!function(S,h){const p=Object.keys(S),v=Object.keys(h);if(p.length!=v.length)return!1;for(let T=0;T<p.length;T++){const B=p[T];if(!h.hasOwnProperty(B)||S[B]!==h[B])return!1}return!0}(Ae.params,We.params)){const Rt=[],Jt=B.matchStyles(Ae.value,Ae.params,Rt),On=B.matchStyles(We.value,We.params,Rt);Rt.length?this._engine.reportError(Rt):this._engine.afterFlush(()=>{qe(h,Jt),xe(h,On)})}return}const kt=M(this._engine.playersByElement,h,[]);kt.forEach(Rt=>{Rt.namespaceId==this.id&&Rt.triggerName==p&&Rt.queued&&Rt.destroy()});let en=B.matchTransition(Ae.value,We.value,h,We.params),vt=!1;if(!en){if(!T)return;en=B.fallbackTransition,vt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:p,transition:en,fromState:Ae,toState:We,player:ee,isFallbackTransition:vt}),vt||(Er(h,Di),ee.onStart(()=>{wi(h,Di)})),ee.onDone(()=>{let Rt=this.players.indexOf(ee);Rt>=0&&this.players.splice(Rt,1);const Jt=this._engine.playersByElement.get(h);if(Jt){let On=Jt.indexOf(ee);On>=0&&Jt.splice(On,1)}}),this.players.push(ee),kt.push(ee),ee}deregister(h){delete this._triggers[h],this._engine.statesByElement.forEach((p,v)=>{delete p[h]}),this._elementListeners.forEach((p,v)=>{this._elementListeners.set(v,p.filter(T=>T.name!=h))})}clearElementCache(h){this._engine.statesByElement.delete(h),this._elementListeners.delete(h);const p=this._engine.playersByElement.get(h);p&&(p.forEach(v=>v.destroy()),this._engine.playersByElement.delete(h))}_signalRemovalForInnerTriggers(h,p){const v=this._engine.driver.query(h,on,!0);v.forEach(T=>{if(T[gn])return;const B=this._engine.fetchNamespacesByElement(T);B.size?B.forEach(ee=>ee.triggerLeaveAnimation(T,p,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(h,p,v,T){const B=this._engine.statesByElement.get(h);if(B){const ee=[];if(Object.keys(B).forEach(se=>{if(this._triggers[se]){const Ae=this.trigger(h,se,vr,T);Ae&&ee.push(Ae)}}),ee.length)return this._engine.markElementAsRemoved(this.id,h,!0,p),v&&F(ee).onDone(()=>this._engine.processLeaveNode(h)),!0}return!1}prepareLeaveAnimationListeners(h){const p=this._elementListeners.get(h),v=this._engine.statesByElement.get(h);if(p&&v){const T=new Set;p.forEach(B=>{const ee=B.name;if(T.has(ee))return;T.add(ee);const Ae=this._triggers[ee].fallbackTransition,We=v[ee]||hi,tt=new kr(vr),gt=new ms(this.id,ee,h);this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:ee,transition:Ae,fromState:We,toState:tt,player:gt,isFallbackTransition:!0})})}}removeNode(h,p){const v=this._engine;if(h.childElementCount&&this._signalRemovalForInnerTriggers(h,p),this.triggerLeaveAnimation(h,p,!0))return;let T=!1;if(v.totalAnimations){const B=v.players.length?v.playersByQueriedElement.get(h):[];if(B&&B.length)T=!0;else{let ee=h;for(;ee=ee.parentNode;)if(v.statesByElement.get(ee)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(h),T)v.markElementAsRemoved(this.id,h,!1,p);else{const B=h[gn];(!B||B===Sr)&&(v.afterFlush(()=>this.clearElementCache(h)),v.destroyInnerAnimations(h),v._onRemovalComplete(h,p))}}insertNode(h,p){Er(h,this._hostClassName)}drainQueuedTransitions(h){const p=[];return this._queue.forEach(v=>{const T=v.player;if(T.destroyed)return;const B=v.element,ee=this._elementListeners.get(B);ee&&ee.forEach(se=>{if(se.name==v.triggerName){const Ae=L(B,v.triggerName,v.fromState.value,v.toState.value);Ae._data=h,x(v.player,se.phase,Ae,se.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):p.push(v)}),this._queue=[],p.sort((v,T)=>{const B=v.transition.ast.depCount,ee=T.transition.ast.depCount;return 0==B||0==ee?B-ee:this._engine.driver.containsElement(v.element,T.element)?1:-1})}destroy(h){this.players.forEach(p=>p.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,h)}elementContainsData(h){let p=!1;return this._elementListeners.has(h)&&(p=!0),p=!!this._queue.find(v=>v.element===h)||p,p}}class fr{constructor(h,p,v){this.bodyNode=h,this.driver=p,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=(T,B)=>{}}_onRemovalComplete(h,p){this.onRemovalComplete(h,p)}get queuedPlayers(){const h=[];return this._namespaceList.forEach(p=>{p.players.forEach(v=>{v.queued&&h.push(v)})}),h}createNamespace(h,p){const v=new Tr(h,p,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,p)?this._balanceNamespaceList(v,p):(this.newHostElements.set(p,v),this.collectEnterElement(p)),this._namespaceLookup[h]=v}_balanceNamespaceList(h,p){const v=this._namespaceList.length-1;if(v>=0){let T=!1;for(let B=v;B>=0;B--)if(this.driver.containsElement(this._namespaceList[B].hostElement,p)){this._namespaceList.splice(B+1,0,h),T=!0;break}T||this._namespaceList.splice(0,0,h)}else this._namespaceList.push(h);return this.namespacesByHostElement.set(p,h),h}register(h,p){let v=this._namespaceLookup[h];return v||(v=this.createNamespace(h,p)),v}registerTrigger(h,p,v){let T=this._namespaceLookup[h];T&&T.register(p,v)&&this.totalAnimations++}destroy(h,p){if(!h)return;const v=this._fetchNamespace(h);this.afterFlush(()=>{this.namespacesByHostElement.delete(v.hostElement),delete this._namespaceLookup[h];const T=this._namespaceList.indexOf(v);T>=0&&this._namespaceList.splice(T,1)}),this.afterFlushAnimationsDone(()=>v.destroy(p))}_fetchNamespace(h){return this._namespaceLookup[h]}fetchNamespacesByElement(h){const p=new Set,v=this.statesByElement.get(h);if(v){const T=Object.keys(v);for(let B=0;B<T.length;B++){const ee=v[T[B]].namespaceId;if(ee){const se=this._fetchNamespace(ee);se&&p.add(se)}}}return p}trigger(h,p,v,T){if(pi(p)){const B=this._fetchNamespace(h);if(B)return B.trigger(p,v,T),!0}return!1}insertNode(h,p,v,T){if(!pi(p))return;const B=p[gn];if(B&&B.setForRemoval){B.setForRemoval=!1,B.setForMove=!0;const ee=this.collectedLeaveElements.indexOf(p);ee>=0&&this.collectedLeaveElements.splice(ee,1)}if(h){const ee=this._fetchNamespace(h);ee&&ee.insertNode(p,v)}T&&this.collectEnterElement(p)}collectEnterElement(h){this.collectedEnterElements.push(h)}markElementAsDisabled(h,p){p?this.disabledNodes.has(h)||(this.disabledNodes.add(h),Er(h,Qn)):this.disabledNodes.has(h)&&(this.disabledNodes.delete(h),wi(h,Qn))}removeNode(h,p,v,T){if(pi(p)){const B=h?this._fetchNamespace(h):null;if(B?B.removeNode(p,T):this.markElementAsRemoved(h,p,!1,T),v){const ee=this.namespacesByHostElement.get(p);ee&&ee.id!==h&&ee.removeNode(p,T)}}else this._onRemovalComplete(p,T)}markElementAsRemoved(h,p,v,T){this.collectedLeaveElements.push(p),p[gn]={namespaceId:h,setForRemoval:T,hasAnimation:v,removedBeforeQueried:!1}}listen(h,p,v,T,B){return pi(p)?this._fetchNamespace(h).listen(p,v,T,B):()=>{}}_buildInstruction(h,p,v,T,B){return h.transition.build(this.driver,h.element,h.fromState.value,h.toState.value,v,T,h.fromState.options,h.toState.options,p,B)}destroyInnerAnimations(h){let p=this.driver.query(h,on,!0);p.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(p=this.driver.query(h,xn,!0),p.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(h){const p=this.playersByElement.get(h);p&&p.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(h){const p=this.playersByQueriedElement.get(h);p&&p.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(h=>{if(this.players.length)return F(this.players).onDone(()=>h());h()})}processLeaveNode(h){const p=h[gn];if(p&&p.setForRemoval){if(h[gn]=Sr,p.namespaceId){this.destroyInnerAnimations(h);const v=this._fetchNamespace(p.namespaceId);v&&v.clearElementCache(h)}this._onRemovalComplete(h,p.setForRemoval)}this.driver.matchesElement(h,wr)&&this.markElementAsDisabled(h,!1),this.driver.query(h,wr,!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(h=-1){let p=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,T)=>this._balanceNamespaceList(v,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)Er(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{p=this._flushAnimations(v,h)}finally{for(let T=0;T<v.length;T++)v[T]()}}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=[],p.length?F(p).onDone(()=>{v.forEach(T=>T())}):v.forEach(T=>T())}}reportError(h){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${h.join("\n")}`)}_flushAnimations(h,p){const v=new er,T=[],B=new Map,ee=[],se=new Map,Ae=new Map,We=new Map,tt=new Set;this.disabledNodes.forEach(ht=>{tt.add(ht);const Tt=this.driver.query(ht,".ng-animate-queued",!0);for(let Nt=0;Nt<Tt.length;Nt++)tt.add(Tt[Nt])});const gt=this.bodyNode,kt=Array.from(this.statesByElement.keys()),en=js(kt,this.collectedEnterElements),vt=new Map;let Rt=0;en.forEach((ht,Tt)=>{const Nt=Lt+Rt++;vt.set(Tt,Nt),ht.forEach(tn=>Er(tn,Nt))});const Jt=[],On=new Set,Dn=new Set;for(let ht=0;ht<this.collectedLeaveElements.length;ht++){const Tt=this.collectedLeaveElements[ht],Nt=Tt[gn];Nt&&Nt.setForRemoval&&(Jt.push(Tt),On.add(Tt),Nt.hasAnimation?this.driver.query(Tt,".ng-star-inserted",!0).forEach(tn=>On.add(tn)):Dn.add(Tt))}const or=new Map,Kn=js(kt,Array.from(On));Kn.forEach((ht,Tt)=>{const Nt=sn+Rt++;or.set(Tt,Nt),ht.forEach(tn=>Er(tn,Nt))}),h.push(()=>{en.forEach((ht,Tt)=>{const Nt=vt.get(Tt);ht.forEach(tn=>wi(tn,Nt))}),Kn.forEach((ht,Tt)=>{const Nt=or.get(Tt);ht.forEach(tn=>wi(tn,Nt))}),Jt.forEach(ht=>{this.processLeaveNode(ht)})});const Qr=[],nr=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(p).forEach(Nt=>{const tn=Nt.player,yn=Nt.element;if(Qr.push(tn),this.collectedEnterElements.length){const Hr=yn[gn];if(Hr&&Hr.setForMove)return void tn.destroy()}const Mr=!gt||!this.driver.containsElement(gt,yn),Vn=or.get(yn),Ir=vt.get(yn),wn=this._buildInstruction(Nt,v,Ir,Vn,Mr);if(wn.errors&&wn.errors.length)nr.push(wn);else{if(Mr)return tn.onStart(()=>qe(yn,wn.fromStyles)),tn.onDestroy(()=>xe(yn,wn.toStyles)),void T.push(tn);if(Nt.isFallbackTransition)return tn.onStart(()=>qe(yn,wn.fromStyles)),tn.onDestroy(()=>xe(yn,wn.toStyles)),void T.push(tn);wn.timelines.forEach(Hr=>Hr.stretchStartingKeyframe=!0),v.append(yn,wn.timelines),ee.push({instruction:wn,player:tn,element:yn}),wn.queriedElements.forEach(Hr=>M(se,Hr,[]).push(tn)),wn.preStyleProps.forEach((Hr,Ds)=>{const $r=Object.keys(Hr);if($r.length){let Wr=Ae.get(Ds);Wr||Ae.set(Ds,Wr=new Set),$r.forEach(Ys=>Wr.add(Ys))}}),wn.postStyleProps.forEach((Hr,Ds)=>{const $r=Object.keys(Hr);let Wr=We.get(Ds);Wr||We.set(Ds,Wr=new Set),$r.forEach(Ys=>Wr.add(Ys))})}});if(nr.length){const ht=[];nr.forEach(Tt=>{ht.push(`@${Tt.triggerName} has failed due to:\n`),Tt.errors.forEach(Nt=>ht.push(`- ${Nt}\n`))}),Qr.forEach(Tt=>Tt.destroy()),this.reportError(ht)}const rr=new Map,Jr=new Map;ee.forEach(ht=>{const Tt=ht.element;v.has(Tt)&&(Jr.set(Tt,Tt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,rr))}),T.forEach(ht=>{const Tt=ht.element;this._getPreviousPlayers(Tt,!1,ht.namespaceId,ht.triggerName,null).forEach(tn=>{M(rr,Tt,[]).push(tn),tn.destroy()})});const jr=Jt.filter(ht=>Hs(ht,Ae,We)),ir=new Map;Eo(ir,this.driver,Dn,We,U.l3).forEach(ht=>{Hs(ht,Ae,We)&&jr.push(ht)});const Ii=new Map;en.forEach((ht,Tt)=>{Eo(Ii,this.driver,new Set(ht),Ae,U.k1)}),jr.forEach(ht=>{const Tt=ir.get(ht),Nt=Ii.get(ht);ir.set(ht,Object.assign(Object.assign({},Tt),Nt))});const Nn=[],ii=[],Pn={};ee.forEach(ht=>{const{element:Tt,player:Nt,instruction:tn}=ht;if(v.has(Tt)){if(tt.has(Tt))return Nt.onDestroy(()=>xe(Tt,tn.toStyles)),Nt.disabled=!0,Nt.overrideTotalTime(tn.totalTime),void T.push(Nt);let yn=Pn;if(Jr.size>1){let Vn=Tt;const Ir=[];for(;Vn=Vn.parentNode;){const wn=Jr.get(Vn);if(wn){yn=wn;break}Ir.push(Vn)}Ir.forEach(wn=>Jr.set(wn,yn))}const Mr=this._buildAnimation(Nt.namespaceId,tn,rr,B,Ii,ir);if(Nt.setRealPlayer(Mr),yn===Pn)Nn.push(Nt);else{const Vn=this.playersByElement.get(yn);Vn&&Vn.length&&(Nt.parentPlayer=F(Vn)),T.push(Nt)}}else qe(Tt,tn.fromStyles),Nt.onDestroy(()=>xe(Tt,tn.toStyles)),ii.push(Nt),tt.has(Tt)&&T.push(Nt)}),ii.forEach(ht=>{const Tt=B.get(ht.element);if(Tt&&Tt.length){const Nt=F(Tt);ht.setRealPlayer(Nt)}}),T.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht<Jt.length;ht++){const Tt=Jt[ht],Nt=Tt[gn];if(wi(Tt,sn),Nt&&Nt.hasAnimation)continue;let tn=[];if(se.size){let Mr=se.get(Tt);Mr&&Mr.length&&tn.push(...Mr);let Vn=this.driver.query(Tt,xn,!0);for(let Ir=0;Ir<Vn.length;Ir++){let wn=se.get(Vn[Ir]);wn&&wn.length&&tn.push(...wn)}}const yn=tn.filter(Mr=>!Mr.destroyed);yn.length?ta(this,Tt,yn):this.processLeaveNode(Tt)}return Jt.length=0,Nn.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const Tt=this.players.indexOf(ht);this.players.splice(Tt,1)}),ht.play()}),Nn}elementContainsData(h,p){let v=!1;const T=p[gn];return T&&T.setForRemoval&&(v=!0),this.playersByElement.has(p)&&(v=!0),this.playersByQueriedElement.has(p)&&(v=!0),this.statesByElement.has(p)&&(v=!0),this._fetchNamespace(h).elementContainsData(p)||v}afterFlush(h){this._flushFns.push(h)}afterFlushAnimationsDone(h){this._whenQuietFns.push(h)}_getPreviousPlayers(h,p,v,T,B){let ee=[];if(p){const se=this.playersByQueriedElement.get(h);se&&(ee=se)}else{const se=this.playersByElement.get(h);if(se){const Ae=!B||B==vr;se.forEach(We=>{We.queued||!Ae&&We.triggerName!=T||ee.push(We)})}}return(v||T)&&(ee=ee.filter(se=>!(v&&v!=se.namespaceId||T&&T!=se.triggerName))),ee}_beforeAnimationBuild(h,p,v){const B=p.element,ee=p.isRemovalTransition?void 0:h,se=p.isRemovalTransition?void 0:p.triggerName;for(const Ae of p.timelines){const We=Ae.element,tt=We!==B,gt=M(v,We,[]);this._getPreviousPlayers(We,tt,ee,se,p.toState).forEach(en=>{const vt=en.getRealPlayer();vt.beforeDestroy&&vt.beforeDestroy(),en.destroy(),gt.push(en)})}qe(B,p.fromStyles)}_buildAnimation(h,p,v,T,B,ee){const se=p.triggerName,Ae=p.element,We=[],tt=new Set,gt=new Set,kt=p.timelines.map(vt=>{const Rt=vt.element;tt.add(Rt);const Jt=Rt[gn];if(Jt&&Jt.removedBeforeQueried)return new U.ZN(vt.duration,vt.delay);const On=Rt!==Ae,Dn=function(S){const h=[];return Co(S,h),h}((v.get(Rt)||Rn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===Rt),or=B.get(Rt),Kn=ee.get(Rt),Qr=N(0,this._normalizer,0,vt.keyframes,or,Kn),nr=this._buildPlayer(vt,Qr,Dn);if(vt.subTimeline&&T&>.add(Rt),On){const rr=new ms(h,se,Rt);rr.setRealPlayer(nr),We.push(rr)}return nr});We.forEach(vt=>{M(this.playersByQueriedElement,vt.element,[]).push(vt),vt.onDone(()=>function(S,h,p){let v;if(S instanceof Map){if(v=S.get(h),v){if(v.length){const T=v.indexOf(p);v.splice(T,1)}0==v.length&&S.delete(h)}}else if(v=S[h],v){if(v.length){const T=v.indexOf(p);v.splice(T,1)}0==v.length&&delete S[h]}return v}(this.playersByQueriedElement,vt.element,vt))}),tt.forEach(vt=>Er(vt,Fn));const en=F(kt);return en.onDestroy(()=>{tt.forEach(vt=>wi(vt,Fn)),xe(Ae,p.toStyles)}),gt.forEach(vt=>{M(T,vt,[]).push(en)}),en}_buildPlayer(h,p,v){return p.length>0?this.driver.animate(h.element,p,h.duration,h.delay,h.easing,v):new U.ZN(h.duration,h.delay)}}class ms{constructor(h,p,v){this.namespaceId=h,this.triggerName=p,this.element=v,this._player=new U.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(h){this._containsRealPlayer||(this._player=h,Object.keys(this._queuedCallbacks).forEach(p=>{this._queuedCallbacks[p].forEach(v=>x(h,p,void 0,v))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(h.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(h){this.totalTime=h}syncPlayerEvents(h){const p=this._player;p.triggerCallback&&h.onStart(()=>p.triggerCallback("start")),h.onDone(()=>this.finish()),h.onDestroy(()=>this.destroy())}_queueEvent(h,p){M(this._queuedCallbacks,h,[]).push(p)}onDone(h){this.queued&&this._queueEvent("done",h),this._player.onDone(h)}onStart(h){this.queued&&this._queueEvent("start",h),this._player.onStart(h)}onDestroy(h){this.queued&&this._queueEvent("destroy",h),this._player.onDestroy(h)}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(h){this.queued||this._player.setPosition(h)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(h){const p=this._player;p.triggerCallback&&p.triggerCallback(h)}}function pi(S){return S&&1===S.nodeType}function _s(S,h){const p=S.style.display;return S.style.display=null!=h?h:"none",p}function Eo(S,h,p,v,T){const B=[];p.forEach(Ae=>B.push(_s(Ae)));const ee=[];v.forEach((Ae,We)=>{const tt={};Ae.forEach(gt=>{const kt=tt[gt]=h.computeStyle(We,gt,T);(!kt||0==kt.length)&&(We[gn]=yr,ee.push(We))}),S.set(We,tt)});let se=0;return p.forEach(Ae=>_s(Ae,B[se++])),ee}function js(S,h){const p=new Map;if(S.forEach(se=>p.set(se,[])),0==h.length)return p;const T=new Set(h),B=new Map;function ee(se){if(!se)return 1;let Ae=B.get(se);if(Ae)return Ae;const We=se.parentNode;return Ae=p.has(We)?We:T.has(We)?1:ee(We),B.set(se,Ae),Ae}return h.forEach(se=>{const Ae=ee(se);1!==Ae&&p.get(Ae).push(se)}),p}const ys="$$classes";function Er(S,h){if(S.classList)S.classList.add(h);else{let p=S[ys];p||(p=S[ys]={}),p[h]=!0}}function wi(S,h){if(S.classList)S.classList.remove(h);else{let p=S[ys];p&&delete p[h]}}function ta(S,h,p){F(p).onDone(()=>S.processLeaveNode(h))}function Co(S,h){for(let p=0;p<S.length;p++){const v=S[p];v instanceof U.ZE?Co(v.players,h):h.push(v)}}function Hs(S,h,p){const v=p.get(S);if(!v)return!1;let T=h.get(S);return T?v.forEach(B=>T.add(B)):h.set(S,v),p.delete(S),!0}class Si{constructor(h,p,v){this.bodyNode=h,this._driver=p,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(T,B)=>{},this._transitionEngine=new fr(h,p,v),this._timelineEngine=new fi(h,p,v),this._transitionEngine.onRemovalComplete=(T,B)=>this.onRemovalComplete(T,B)}registerTrigger(h,p,v,T,B){const ee=h+"-"+T;let se=this._triggerCache[ee];if(!se){const Ae=[],We=Z(this._driver,B,Ae);if(Ae.length)throw new Error(`The animation trigger "${T}" has failed to build due to the following errors:\n - ${Ae.join("\n - ")}`);se=function(S,h,p){return new Dt(S,h,p)}(T,We,this._normalizer),this._triggerCache[ee]=se}this._transitionEngine.registerTrigger(p,T,se)}register(h,p){this._transitionEngine.register(h,p)}destroy(h,p){this._transitionEngine.destroy(h,p)}onInsert(h,p,v,T){this._transitionEngine.insertNode(h,p,v,T)}onRemove(h,p,v,T){this._transitionEngine.removeNode(h,p,T||!1,v)}disableAnimations(h,p){this._transitionEngine.markElementAsDisabled(h,p)}process(h,p,v,T){if("@"==v.charAt(0)){const[B,ee]=R(v);this._timelineEngine.command(B,p,ee,T)}else this._transitionEngine.trigger(h,p,v,T)}listen(h,p,v,T,B){if("@"==v.charAt(0)){const[ee,se]=R(v);return this._timelineEngine.listen(ee,p,se,B)}return this._transitionEngine.listen(h,p,v,T,B)}flush(h=-1){this._transitionEngine.flush(h)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Gi(S,h){let p=null,v=null;return Array.isArray(h)&&h.length?(p=Ki(h[0]),h.length>1&&(v=Ki(h[h.length-1]))):h&&(p=Ki(h)),p||v?new ia(S,p,v):null}let ia=(()=>{class S{constructor(p,v,T){this._element=p,this._startStyles=v,this._endStyles=T,this._state=0;let B=S.initialStylesByElement.get(p);B||S.initialStylesByElement.set(p,B={}),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&xe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xe(this._element,this._initialStyles),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(S.initialStylesByElement.delete(this._element),this._startStyles&&(qe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qe(this._element,this._endStyles),this._endStyles=null),xe(this._element,this._initialStyles),this._state=3)}}return S.initialStylesByElement=new WeakMap,S})();function Ki(S){let h=null;const p=Object.keys(S);for(let v=0;v<p.length;v++){const T=p[v];$s(T)&&(h=h||{},h[T]=S[T])}return h}function $s(S){return"display"===S||"position"===S}const vs="animation",Zi="animationend";class Ti{constructor(h,p,v,T,B,ee,se){this._element=h,this._name=p,this._duration=v,this._delay=T,this._easing=B,this._fillMode=ee,this._onDoneFn=se,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=Ae=>this._handleCallback(Ae)}apply(){(function(S,h){const p=Xn(S,"").trim();let v=0;p.length&&(function(S,h){let p=0;for(let v=0;v<S.length;v++)","===S.charAt(v)&&p++;return p}(p)+1,h=`${p}, ${h}`),Jn(S,"",h)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Gs(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Ws(this._element,this._name,"paused")}resume(){Ws(this._element,this._name,"running")}setPosition(h){const p=Qi(this._element,this._name);this._position=h*this._duration,Jn(this._element,"Delay",`-${this._position}ms`,p)}getPosition(){return this._position}_handleCallback(h){const p=h._ngTestManualTimestamp||Date.now(),v=1e3*parseFloat(h.elapsedTime.toFixed(3));h.animationName==this._name&&Math.max(p-this._startTime,0)>=this._delay&&v>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Gs(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(S,h){const v=Xn(S,"").split(","),T=Mi(v,h);T>=0&&(v.splice(T,1),Jn(S,"",v.join(",")))}(this._element,this._name))}}function Ws(S,h,p){Jn(S,"PlayState",p,Qi(S,h))}function Qi(S,h){const p=Xn(S,"");return p.indexOf(",")>0?Mi(p.split(","),h):Mi([p],h)}function Mi(S,h){for(let p=0;p<S.length;p++)if(S[p].indexOf(h)>=0)return p;return-1}function Gs(S,h,p){p?S.removeEventListener(Zi,h):S.addEventListener(Zi,h)}function Jn(S,h,p,v){const T=vs+h;if(null!=v){const B=S.style[T];if(B.length){const ee=B.split(",");ee[v]=p,p=ee.join(",")}}S.style[T]=p}function Xn(S,h){return S.style[vs+h]||""}class Es{constructor(h,p,v,T,B,ee,se,Ae){this.element=h,this.keyframes=p,this.animationName=v,this._duration=T,this._delay=B,this._finalStyles=se,this._specialStyles=Ae,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=ee||"linear",this.totalTime=T+B,this._buildStyler()}onStart(h){this._onStartFns.push(h)}onDone(h){this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(h=>h()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(h=>h()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(h=>h()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(h){this._styler.setPosition(h)}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 Ti(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(h){const p="start"==h?this._onStartFns:this._onDoneFns;p.forEach(v=>v()),p.length=0}beforeDestroy(){this.init();const h={};if(this.hasStarted()){const p=this._state>=3;Object.keys(this._finalStyles).forEach(v=>{"offset"!=v&&(h[v]=p?this._finalStyles[v]:ve(this.element,v))})}this.currentSnapshot=h}}class sa extends U.ZN{constructor(h,p){super(),this.element=h,this._startingStyles={},this.__initialized=!1,this._styles=Re(p)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(h=>{this._startingStyles[h]=this.element.style[h]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(h=>this.element.style.setProperty(h,this._styles[h])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(h=>{const p=this._startingStyles[h];p?this.element.style.setProperty(h,p):this.element.style.removeProperty(h)}),this._startingStyles=null,super.destroy())}}class b{constructor(){this._count=0}validateStyleProperty(h){return ce(h)}matchesElement(h,p){return Le(h,p)}containsElement(h,p){return ze(h,p)}query(h,p,v){return De(h,p,v)}computeStyle(h,p,v){return window.getComputedStyle(h)[p]}buildKeyframeElement(h,p,v){v=v.map(se=>Re(se));let T=`@keyframes ${p} {\n`,B="";v.forEach(se=>{B=" ";const Ae=parseFloat(se.offset);T+=`${B}${100*Ae}% {\n`,B+=" ",Object.keys(se).forEach(We=>{const tt=se[We];switch(We){case"offset":return;case"easing":return void(tt&&(T+=`${B}animation-timing-function: ${tt};\n`));default:return void(T+=`${B}${We}: ${tt};\n`)}}),T+=`${B}}\n`}),T+="}\n";const ee=document.createElement("style");return ee.textContent=T,ee}animate(h,p,v,T,B,ee=[],se){const Ae=ee.filter(Jt=>Jt instanceof Es),We={};ne(v,T)&&Ae.forEach(Jt=>{let On=Jt.currentSnapshot;Object.keys(On).forEach(Dn=>We[Dn]=On[Dn])});const tt=function(S){let h={};return S&&(Array.isArray(S)?S:[S]).forEach(v=>{Object.keys(v).forEach(T=>{"offset"==T||"easing"==T||(h[T]=v[T])})}),h}(p=I(h,p,We));if(0==v)return new sa(h,tt);const gt="gen_css_kf_"+this._count++,kt=this.buildKeyframeElement(h,gt,p);(function(S){var h;const p=null===(h=S.getRootNode)||void 0===h?void 0:h.call(S);return"undefined"!=typeof ShadowRoot&&p instanceof ShadowRoot?p:document.head})(h).appendChild(kt);const vt=Gi(h,p),Rt=new Es(h,p,gt,v,T,B,tt,vt);return Rt.onDestroy(()=>{var S;(S=kt).parentNode.removeChild(S)}),Rt}}class $t{constructor(h,p,v,T){this.element=h,this.keyframes=p,this.options=v,this._specialStyles=T,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(h=>h()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const h=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,h,this.options),this._finalKeyframe=h.length?h[h.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(h,p,v){return h.animate(p,v)}onStart(h){this._onStartFns.push(h)}onDone(h){this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(h=>h()),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(h=>h()),this._onDestroyFns=[])}setPosition(h){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=h*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const h={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(p=>{"offset"!=p&&(h[p]=this._finished?this._finalKeyframe[p]:ve(this.element,p))}),this.currentSnapshot=h}triggerCallback(h){const p="start"==h?this._onStartFns:this._onDoneFns;p.forEach(v=>v()),p.length=0}}class mn{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Zt().toString()),this._cssKeyframesDriver=new b}validateStyleProperty(h){return ce(h)}matchesElement(h,p){return Le(h,p)}containsElement(h,p){return ze(h,p)}query(h,p,v){return De(h,p,v)}computeStyle(h,p,v){return window.getComputedStyle(h)[p]}overrideWebAnimationsSupport(h){this._isNativeImpl=h}animate(h,p,v,T,B,ee=[],se){if(!se&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(h,p,v,T,B,ee);const tt={duration:v,delay:T,fill:0==T?"both":"forwards"};B&&(tt.easing=B);const gt={},kt=ee.filter(vt=>vt instanceof $t);ne(v,T)&&kt.forEach(vt=>{let Rt=vt.currentSnapshot;Object.keys(Rt).forEach(Jt=>gt[Jt]=Rt[Jt])});const en=Gi(h,p=I(h,p=p.map(vt=>ot(vt,!1)),gt));return new $t(h,p,tt,en)}}function Zt(){return z()&&Element.prototype.animate||{}}var ln=y(4364);let _n=(()=>{class S extends U._j{constructor(p,v){super(),this._nextAnimationId=0,this._renderer=p.createRenderer(v.body,{id:"0",encapsulation:g.ifc.None,styles:[],data:{animation:[]}})}build(p){const v=this._nextAnimationId.toString();this._nextAnimationId++;const T=Array.isArray(p)?(0,U.vP)(p):p;return qn(this._renderer,null,v,"register",[T]),new Gn(v,this._renderer)}}return S.\u0275fac=function(p){return new(p||S)(g.LFG(g.FYo),g.LFG(ln.K0))},S.\u0275prov=g.Yz7({token:S,factory:S.\u0275fac}),S})();class Gn extends U.LC{constructor(h,p){super(),this._id=h,this._renderer=p}create(h,p){return new ni(this._id,h,p||{},this._renderer)}}class ni{constructor(h,p,v,T){this.id=h,this.element=p,this._renderer=T,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(h,p){return this._renderer.listen(this.element,`@@${this.id}:${h}`,p)}_command(h,...p){return qn(this._renderer,this.element,this.id,h,p)}onDone(h){this._listen("done",h)}onStart(h){this._listen("start",h)}onDestroy(h){this._listen("destroy",h)}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(h){this._command("setPosition",h)}getPosition(){var h,p;return null!==(p=null===(h=this._renderer.engine.players[+this.id])||void 0===h?void 0:h.getPosition())&&void 0!==p?p:0}}function qn(S,h,p,v,T){return S.setProperty(h,`@@${p}:${v}`,T)}const Vr="@.disabled";let It=(()=>{class S{constructor(p,v,T){this.delegate=p,this.engine=v,this._zone=T,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),v.onRemovalComplete=(B,ee)=>{ee&&ee.parentNode(B)&&ee.removeChild(B.parentNode,B)}}createRenderer(p,v){const B=this.delegate.createRenderer(p,v);if(!(p&&v&&v.data&&v.data.animation)){let tt=this._rendererCache.get(B);return tt||(tt=new Cs("",B,this.engine),this._rendererCache.set(B,tt)),tt}const ee=v.id,se=v.id+"-"+this._currentId;this._currentId++,this.engine.register(se,p);const Ae=tt=>{Array.isArray(tt)?tt.forEach(Ae):this.engine.registerTrigger(ee,se,p,tt.name,tt)};return v.data.animation.forEach(Ae),new Zs(this,se,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(p,v,T){p>=0&&p<this._microtaskId?this._zone.run(()=>v(T)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(B=>{const[ee,se]=B;ee(se)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,T]))}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 S.\u0275fac=function(p){return new(p||S)(g.LFG(g.FYo),g.LFG(Si),g.LFG(g.R0b))},S.\u0275prov=g.Yz7({token:S,factory:S.\u0275fac}),S})();class Cs{constructor(h,p,v){this.namespaceId=h,this.delegate=p,this.engine=v,this.destroyNode=this.delegate.destroyNode?T=>p.destroyNode(T):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(h,p){return this.delegate.createElement(h,p)}createComment(h){return this.delegate.createComment(h)}createText(h){return this.delegate.createText(h)}appendChild(h,p){this.delegate.appendChild(h,p),this.engine.onInsert(this.namespaceId,p,h,!1)}insertBefore(h,p,v,T=!0){this.delegate.insertBefore(h,p,v),this.engine.onInsert(this.namespaceId,p,h,T)}removeChild(h,p,v){this.engine.onRemove(this.namespaceId,p,this.delegate,v)}selectRootElement(h,p){return this.delegate.selectRootElement(h,p)}parentNode(h){return this.delegate.parentNode(h)}nextSibling(h){return this.delegate.nextSibling(h)}setAttribute(h,p,v,T){this.delegate.setAttribute(h,p,v,T)}removeAttribute(h,p,v){this.delegate.removeAttribute(h,p,v)}addClass(h,p){this.delegate.addClass(h,p)}removeClass(h,p){this.delegate.removeClass(h,p)}setStyle(h,p,v,T){this.delegate.setStyle(h,p,v,T)}removeStyle(h,p,v){this.delegate.removeStyle(h,p,v)}setProperty(h,p,v){"@"==p.charAt(0)&&p==Vr?this.disableAnimations(h,!!v):this.delegate.setProperty(h,p,v)}setValue(h,p){this.delegate.setValue(h,p)}listen(h,p,v){return this.delegate.listen(h,p,v)}disableAnimations(h,p){this.engine.disableAnimations(h,p)}}class Zs extends Cs{constructor(h,p,v,T){super(p,v,T),this.factory=h,this.namespaceId=p}setProperty(h,p,v){"@"==p.charAt(0)?"."==p.charAt(1)&&p==Vr?this.disableAnimations(h,v=void 0===v||!!v):this.engine.process(this.namespaceId,h,p.substr(1),v):this.delegate.setProperty(h,p,v)}listen(h,p,v){if("@"==p.charAt(0)){const T=function(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(h);let B=p.substr(1),ee="";return"@"!=B.charAt(0)&&([B,ee]=function(S){const h=S.indexOf(".");return[S.substring(0,h),S.substr(h+1)]}(B)),this.engine.listen(this.namespaceId,T,B,ee,se=>{this.factory.scheduleListenerCallback(se._data||-1,v,se)})}return this.delegate.listen(h,p,v)}}let oa=(()=>{class S extends Si{constructor(p,v,T){super(p.body,v,T)}ngOnDestroy(){this.flush()}}return S.\u0275fac=function(p){return new(p||S)(g.LFG(ln.K0),g.LFG(Ve),g.LFG(ur))},S.\u0275prov=g.Yz7({token:S,factory:S.\u0275fac}),S})();const Xt=new g.OlP("AnimationModuleType"),wo=[{provide:U._j,useClass:_n},{provide:ur,useFactory:function(){return new dr}},{provide:Si,useClass:oa},{provide:g.FYo,useFactory:function(S,h,p){return new It(S,h,p)},deps:[a.se,Si,g.R0b]}],Un=[{provide:Ve,useFactory:function(){return"function"==typeof Zt()?new mn:new b}},{provide:Xt,useValue:"BrowserAnimations"},...wo],So=[{provide:Ve,useClass:Oe},{provide:Xt,useValue:"NoopAnimations"},...wo];let bs=(()=>{class S{static withConfig(p){return{ngModule:S,providers:p.disableAnimations?So:Un}}}return S.\u0275fac=function(p){return new(p||S)},S.\u0275mod=g.oAB({type:S}),S.\u0275inj=g.cJS({providers:Un,imports:[a.b2]}),S})()},1570:(Ze,ae,y)=>{y.d(ae,{b2:()=>er,H7:()=>fe,Dx:()=>Tn,q6:()=>un,se:()=>pn});var g=y(4364),a=y(2316);class U extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends U{static makeCurrent(){(0,g.HT)(new z)}onAndCancel(he,Q,Me){return he.addEventListener(Q,Me,!1),()=>{he.removeEventListener(Q,Me,!1)}}dispatchEvent(he,Q){he.dispatchEvent(Q)}remove(he){he.parentNode&&he.parentNode.removeChild(he)}createElement(he,Q){return(Q=Q||this.getDefaultDocument()).createElement(he)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(he){return he.nodeType===Node.ELEMENT_NODE}isShadowRoot(he){return he instanceof DocumentFragment}getGlobalEventTarget(he,Q){return"window"===Q?window:"document"===Q?he:"body"===Q?he.body:null}getBaseHref(he){const Q=(j=j||document.querySelector("base"),j?j.getAttribute("href"):null);return null==Q?null:function(Ee){N=N||document.createElement("a"),N.setAttribute("href",Ee);const he=N.pathname;return"/"===he.charAt(0)?he:`/${he}`}(Q)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(he){return(0,g.Mx)(document.cookie,he)}}let N,j=null;const H=new a.OlP("TRANSITION_ID"),M=[{provide:a.ip1,useFactory:function(Ee,he,Q){return()=>{Q.get(a.CZH).donePromise.then(()=>{const Me=(0,g.q)(),Ge=he.querySelectorAll(`style[ng-transition="${Ee}"]`);for(let Dt=0;Dt<Ge.length;Dt++)Me.remove(Ge[Dt])})}},deps:[H,g.K0,a.zs3],multi:!0}];class R{static init(){(0,a.VLi)(new R)}addToWindow(he){a.dqk.getAngularTestability=(Me,Ge=!0)=>{const Dt=he.findTestabilityInTree(Me,Ge);if(null==Dt)throw new Error("Could not find testability for element.");return Dt},a.dqk.getAllAngularTestabilities=()=>he.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>he.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(Me=>{const Ge=a.dqk.getAllAngularTestabilities();let Dt=Ge.length,xt=!1;const qt=function(Ft){xt=xt||Ft,Dt--,0==Dt&&Me(xt)};Ge.forEach(function(Ft){Ft.whenStable(qt)})})}findTestabilityInTree(he,Q,Me){if(null==Q)return null;const Ge=he.getTestability(Q);return null!=Ge?Ge:Me?(0,g.q)().isShadowRoot(Q)?this.findTestabilityInTree(he,Q.host,!0):this.findTestabilityInTree(he,Q.parentElement,!0):null}}let W=(()=>{class Ee{build(){return new XMLHttpRequest}}return Ee.\u0275fac=function(Q){return new(Q||Ee)},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();const Oe=new a.OlP("EventManagerPlugins");let Ve=(()=>{class Ee{constructor(Q,Me){this._zone=Me,this._eventNameToPlugin=new Map,Q.forEach(Ge=>Ge.manager=this),this._plugins=Q.slice().reverse()}addEventListener(Q,Me,Ge){return this._findPluginFor(Me).addEventListener(Q,Me,Ge)}addGlobalEventListener(Q,Me,Ge){return this._findPluginFor(Me).addGlobalEventListener(Q,Me,Ge)}getZone(){return this._zone}_findPluginFor(Q){const Me=this._eventNameToPlugin.get(Q);if(Me)return Me;const Ge=this._plugins;for(let Dt=0;Dt<Ge.length;Dt++){const xt=Ge[Dt];if(xt.supports(Q))return this._eventNameToPlugin.set(Q,xt),xt}throw new Error(`No event manager plugin found for event ${Q}`)}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(Oe),a.LFG(a.R0b))},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class $e{constructor(he){this._doc=he}addGlobalEventListener(he,Q,Me){const Ge=(0,g.q)().getGlobalEventTarget(this._doc,he);if(!Ge)throw new Error(`Unsupported event target ${Ge} for event ${Q}`);return this.addEventListener(Ge,Q,Me)}}let Fe=(()=>{class Ee{constructor(){this._stylesSet=new Set}addStyles(Q){const Me=new Set;Q.forEach(Ge=>{this._stylesSet.has(Ge)||(this._stylesSet.add(Ge),Me.add(Ge))}),this.onStylesAdded(Me)}onStylesAdded(Q){}getAllStyles(){return Array.from(this._stylesSet)}}return Ee.\u0275fac=function(Q){return new(Q||Ee)},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),dt=(()=>{class Ee extends Fe{constructor(Q){super(),this._doc=Q,this._hostNodes=new Map,this._hostNodes.set(Q.head,[])}_addStylesToHost(Q,Me,Ge){Q.forEach(Dt=>{const xt=this._doc.createElement("style");xt.textContent=Dt,Ge.push(Me.appendChild(xt))})}addHost(Q){const Me=[];this._addStylesToHost(this._stylesSet,Q,Me),this._hostNodes.set(Q,Me)}removeHost(Q){const Me=this._hostNodes.get(Q);Me&&Me.forEach(Lt),this._hostNodes.delete(Q)}onStylesAdded(Q){this._hostNodes.forEach((Me,Ge)=>{this._addStylesToHost(Q,Ge,Me)})}ngOnDestroy(){this._hostNodes.forEach(Q=>Q.forEach(Lt))}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(g.K0))},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();function Lt(Ee){(0,g.q)().remove(Ee)}const sn={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/"},Ct=/%COMP%/g;function Sn(Ee,he,Q){for(let Me=0;Me<he.length;Me++){let Ge=he[Me];Array.isArray(Ge)?Sn(Ee,Ge,Q):(Ge=Ge.replace(Ct,Ee),Q.push(Ge))}return Q}function zt(Ee){return he=>{if("__ngUnwrap__"===he)return Ee;!1===Ee(he)&&(he.preventDefault(),he.returnValue=!1)}}let pn=(()=>{class Ee{constructor(Q,Me,Ge){this.eventManager=Q,this.sharedStylesHost=Me,this.appId=Ge,this.rendererByCompId=new Map,this.defaultRenderer=new hn(Q)}createRenderer(Q,Me){if(!Q||!Me)return this.defaultRenderer;switch(Me.encapsulation){case a.ifc.Emulated:{let Ge=this.rendererByCompId.get(Me.id);return Ge||(Ge=new xe(this.eventManager,this.sharedStylesHost,Me,this.appId),this.rendererByCompId.set(Me.id,Ge)),Ge.applyToHost(Q),Ge}case 1:case a.ifc.ShadowDom:return new qe(this.eventManager,this.sharedStylesHost,Q,Me);default:if(!this.rendererByCompId.has(Me.id)){const Ge=Sn(Me.id,Me.styles,[]);this.sharedStylesHost.addStyles(Ge),this.rendererByCompId.set(Me.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(Ve),a.LFG(dt),a.LFG(a.AFp))},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class hn{constructor(he){this.eventManager=he,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(he,Q){return Q?document.createElementNS(sn[Q]||Q,he):document.createElement(he)}createComment(he){return document.createComment(he)}createText(he){return document.createTextNode(he)}appendChild(he,Q){he.appendChild(Q)}insertBefore(he,Q,Me){he&&he.insertBefore(Q,Me)}removeChild(he,Q){he&&he.removeChild(Q)}selectRootElement(he,Q){let Me="string"==typeof he?document.querySelector(he):he;if(!Me)throw new Error(`The selector "${he}" did not match any elements`);return Q||(Me.textContent=""),Me}parentNode(he){return he.parentNode}nextSibling(he){return he.nextSibling}setAttribute(he,Q,Me,Ge){if(Ge){Q=Ge+":"+Q;const Dt=sn[Ge];Dt?he.setAttributeNS(Dt,Q,Me):he.setAttribute(Q,Me)}else he.setAttribute(Q,Me)}removeAttribute(he,Q,Me){if(Me){const Ge=sn[Me];Ge?he.removeAttributeNS(Ge,Q):he.removeAttribute(`${Me}:${Q}`)}else he.removeAttribute(Q)}addClass(he,Q){he.classList.add(Q)}removeClass(he,Q){he.classList.remove(Q)}setStyle(he,Q,Me,Ge){Ge&(a.JOm.DashCase|a.JOm.Important)?he.style.setProperty(Q,Me,Ge&a.JOm.Important?"important":""):he.style[Q]=Me}removeStyle(he,Q,Me){Me&a.JOm.DashCase?he.style.removeProperty(Q):he.style[Q]=""}setProperty(he,Q,Me){he[Q]=Me}setValue(he,Q){he.nodeValue=Q}listen(he,Q,Me){return"string"==typeof he?this.eventManager.addGlobalEventListener(he,Q,zt(Me)):this.eventManager.addEventListener(he,Q,zt(Me))}}class xe extends hn{constructor(he,Q,Me,Ge){super(he),this.component=Me;const Dt=Sn(Ge+"-"+Me.id,Me.styles,[]);Q.addStyles(Dt),this.contentAttr="_ngcontent-%COMP%".replace(Ct,Ge+"-"+Me.id),this.hostAttr="_nghost-%COMP%".replace(Ct,Ge+"-"+Me.id)}applyToHost(he){super.setAttribute(he,this.hostAttr,"")}createElement(he,Q){const Me=super.createElement(he,Q);return super.setAttribute(Me,this.contentAttr,""),Me}}class qe extends hn{constructor(he,Q,Me,Ge){super(he),this.sharedStylesHost=Q,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Dt=Sn(Ge.id,Ge.styles,[]);for(let xt=0;xt<Dt.length;xt++){const qt=document.createElement("style");qt.textContent=Dt[xt],this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(he){return he===this.hostEl?this.shadowRoot:he}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(he,Q){return super.appendChild(this.nodeOrShadowRoot(he),Q)}insertBefore(he,Q,Me){return super.insertBefore(this.nodeOrShadowRoot(he),Q,Me)}removeChild(he,Q){return super.removeChild(this.nodeOrShadowRoot(he),Q)}parentNode(he){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(he)))}}let nt=(()=>{class Ee extends $e{constructor(Q){super(Q)}supports(Q){return!0}addEventListener(Q,Me,Ge){return Q.addEventListener(Me,Ge,!1),()=>this.removeEventListener(Q,Me,Ge)}removeEventListener(Q,Me,Ge){return Q.removeEventListener(Me,Ge)}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(g.K0))},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();const I=["alt","control","meta","shift"],ve={"\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"},Ue={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"},_t={alt:Ee=>Ee.altKey,control:Ee=>Ee.ctrlKey,meta:Ee=>Ee.metaKey,shift:Ee=>Ee.shiftKey};let mt=(()=>{class Ee extends $e{constructor(Q){super(Q)}supports(Q){return null!=Ee.parseEventName(Q)}addEventListener(Q,Me,Ge){const Dt=Ee.parseEventName(Me),xt=Ee.eventCallback(Dt.fullKey,Ge,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(Q,Dt.domEventName,xt))}static parseEventName(Q){const Me=Q.toLowerCase().split("."),Ge=Me.shift();if(0===Me.length||"keydown"!==Ge&&"keyup"!==Ge)return null;const Dt=Ee._normalizeKey(Me.pop());let xt="";if(I.forEach(Ft=>{const fi=Me.indexOf(Ft);fi>-1&&(Me.splice(fi,1),xt+=Ft+".")}),xt+=Dt,0!=Me.length||0===Dt.length)return null;const qt={};return qt.domEventName=Ge,qt.fullKey=xt,qt}static getEventFullKey(Q){let Me="",Ge=function(Ee){let he=Ee.key;if(null==he){if(he=Ee.keyIdentifier,null==he)return"Unidentified";he.startsWith("U+")&&(he=String.fromCharCode(parseInt(he.substring(2),16)),3===Ee.location&&Ue.hasOwnProperty(he)&&(he=Ue[he]))}return ve[he]||he}(Q);return Ge=Ge.toLowerCase()," "===Ge?Ge="space":"."===Ge&&(Ge="dot"),I.forEach(Dt=>{Dt!=Ge&&_t[Dt](Q)&&(Me+=Dt+".")}),Me+=Ge,Me}static eventCallback(Q,Me,Ge){return Dt=>{Ee.getEventFullKey(Dt)===Q&&Ge.runGuarded(()=>Me(Dt))}}static _normalizeKey(Q){return"esc"===Q?"escape":Q}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(g.K0))},Ee.\u0275prov=a.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),fe=(()=>{class Ee{}return Ee.\u0275fac=function(Q){return new(Q||Ee)},Ee.\u0275prov=(0,a.Yz7)({factory:function(){return(0,a.LFG)(Te)},token:Ee,providedIn:"root"}),Ee})(),Te=(()=>{class Ee extends fe{constructor(Q){super(),this._doc=Q}sanitize(Q,Me){if(null==Me)return null;switch(Q){case a.q3G.NONE:return Me;case a.q3G.HTML:return(0,a.qzn)(Me,"HTML")?(0,a.z3N)(Me):(0,a.EiD)(this._doc,String(Me)).toString();case a.q3G.STYLE:return(0,a.qzn)(Me,"Style")?(0,a.z3N)(Me):Me;case a.q3G.SCRIPT:if((0,a.qzn)(Me,"Script"))return(0,a.z3N)(Me);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.yhl)(Me),(0,a.qzn)(Me,"URL")?(0,a.z3N)(Me):(0,a.mCW)(String(Me));case a.q3G.RESOURCE_URL:if((0,a.qzn)(Me,"ResourceURL"))return(0,a.z3N)(Me);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Q} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Q){return(0,a.JVY)(Q)}bypassSecurityTrustStyle(Q){return(0,a.L6k)(Q)}bypassSecurityTrustScript(Q){return(0,a.eBb)(Q)}bypassSecurityTrustUrl(Q){return(0,a.LAX)(Q)}bypassSecurityTrustResourceUrl(Q){return(0,a.pB0)(Q)}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(g.K0))},Ee.\u0275prov=(0,a.Yz7)({factory:function(){return function(Ee){return new Te(Ee.get(g.K0))}((0,a.LFG)(a.gxx))},token:Ee,providedIn:"root"}),Ee})();const un=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:g.bD},{provide:a.g9A,useValue:function(){z.makeCurrent(),R.init()},multi:!0},{provide:g.K0,useFactory:function(){return(0,a.RDi)(document),document},deps:[]}]),kn=[[],{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function(){return new a.qLn},deps:[]},{provide:Oe,useClass:nt,multi:!0,deps:[g.K0,a.R0b,a.Lbi]},{provide:Oe,useClass:mt,multi:!0,deps:[g.K0]},[],{provide:pn,useClass:pn,deps:[Ve,dt,a.AFp]},{provide:a.FYo,useExisting:pn},{provide:Fe,useExisting:dt},{provide:dt,useClass:dt,deps:[g.K0]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b]},{provide:Ve,useClass:Ve,deps:[Oe,a.R0b]},{provide:g.JF,useClass:W,deps:[]},[]];let er=(()=>{class Ee{constructor(Q){if(Q)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(Q){return{ngModule:Ee,providers:[{provide:a.AFp,useValue:Q.appId},{provide:H,useExisting:a.AFp},M]}}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(Ee,12))},Ee.\u0275mod=a.oAB({type:Ee}),Ee.\u0275inj=a.cJS({providers:kn,imports:[g.ez,a.hGG]}),Ee})();function ui(){return new Tn((0,a.LFG)(g.K0))}let Tn=(()=>{class Ee{constructor(Q){this._doc=Q}getTitle(){return this._doc.title}setTitle(Q){this._doc.title=Q||""}}return Ee.\u0275fac=function(Q){return new(Q||Ee)(a.LFG(g.K0))},Ee.\u0275prov=(0,a.Yz7)({factory:ui,token:Ee,providedIn:"root"}),Ee})();"undefined"!=typeof window&&window},3537:(Ze,ae,y)=>{y.d(ae,{c:()=>U});var g=y(763),U=function(z){function j(){var F=null!==z&&z.apply(this,arguments)||this;return F._value=null,F._hasValue=!1,F._isComplete=!1,F}return(0,g.ZT)(j,z),j.prototype._checkFinalizedStatuses=function(F){var N=this,H=N._hasValue,L=N._value,R=N.isStopped,W=N._isComplete;N.hasError?F.error(N.thrownError):(R||W)&&(H&&F.next(L),F.complete())},j.prototype.next=function(F){this.isStopped||(this._value=F,this._hasValue=!0)},j.prototype.complete=function(){var F=this,N=F._hasValue,x=F._value;F._isComplete||(this._isComplete=!0,N&&z.prototype.next.call(this,x),z.prototype.complete.call(this))},j}(y(8187).x)},9606:(Ze,ae,y)=>{y.d(ae,{X:()=>U});var g=y(763),U=function(z){function j(F){var N=z.call(this)||this;return N._value=F,N}return(0,g.ZT)(j,z),Object.defineProperty(j.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),j.prototype._subscribe=function(F){var N=z.prototype._subscribe.call(this,F);return!N.closed&&F.next(this._value),N},j.prototype.getValue=function(){var F=this,H=F._value;if(F.hasError)throw F.thrownError;return this._throwIfClosed(),H},j.prototype.next=function(F){z.prototype.next.call(this,this._value=F)},j}(y(8187).x)},1325:(Ze,ae,y)=>{y.d(ae,{y:()=>L});var g=y(1959),a=y(1289),U=y(9263),z=y(7722);function F(X){return 0===X.length?z.y:1===X.length?X[0]:function(te){return X.reduce(function(Y,q){return q(Y)},te)}}var N=y(2795),x=y(3250),H=y(4398),L=function(){function X(G){G&&(this._subscribe=G)}return X.prototype.lift=function(G){var te=new X;return te.source=this,te.operator=G,te},X.prototype.subscribe=function(G,te,Y){var q=this,_e=function(X){return X&&X instanceof g.Lv||function(X){return X&&(0,x.m)(X.next)&&(0,x.m)(X.error)&&(0,x.m)(X.complete)}(X)&&(0,a.Nn)(X)}(G)?G:new g.Hp(G,te,Y);return(0,H.x)(function(){var pe=q.operator,me=q.source;_e.add(pe?pe.call(_e,me):me?q._subscribe(_e):q._trySubscribe(_e))}),_e},X.prototype._trySubscribe=function(G){try{return this._subscribe(G)}catch(te){G.error(te)}},X.prototype.forEach=function(G,te){var Y=this;return new(te=M(te))(function(q,_e){var Ne;Ne=Y.subscribe(function(pe){try{G(pe)}catch(me){_e(me),null==Ne||Ne.unsubscribe()}},_e,q)})},X.prototype._subscribe=function(G){var te;return null===(te=this.source)||void 0===te?void 0:te.subscribe(G)},X.prototype[U.L]=function(){return this},X.prototype.pipe=function(){for(var G=[],te=0;te<arguments.length;te++)G[te]=arguments[te];return F(G)(this)},X.prototype.toPromise=function(G){var te=this;return new(G=M(G))(function(Y,q){var _e;te.subscribe(function(Ne){return _e=Ne},function(Ne){return q(Ne)},function(){return Y(_e)})})},X.create=function(G){return new X(G)},X}();function M(X){var G;return null!==(G=null!=X?X:N.v.Promise)&&void 0!==G?G:Promise}},5552:(Ze,ae,y)=>{y.d(ae,{t:()=>z});var g=y(763),a=y(8187),U=y(7636),z=function(j){function F(N,x,H){void 0===N&&(N=1/0),void 0===x&&(x=1/0),void 0===H&&(H=U.l);var L=j.call(this)||this;return L._bufferSize=N,L._windowTime=x,L._timestampProvider=H,L._buffer=[],L._infiniteTimeWindow=!0,L._infiniteTimeWindow=x===1/0,L._bufferSize=Math.max(1,N),L._windowTime=Math.max(1,x),L}return(0,g.ZT)(F,j),F.prototype.next=function(N){var x=this,L=x._buffer,M=x._infiniteTimeWindow,R=x._timestampProvider,W=x._windowTime;x.isStopped||(L.push(N),!M&&L.push(R.now()+W)),this._trimBuffer(),j.prototype.next.call(this,N)},F.prototype._subscribe=function(N){this._throwIfClosed(),this._trimBuffer();for(var x=this._innerSubscribe(N),L=this._infiniteTimeWindow,R=this._buffer.slice(),W=0;W<R.length&&!N.closed;W+=L?1:2)N.next(R[W]);return this._checkFinalizedStatuses(N),x},F.prototype._trimBuffer=function(){var N=this,x=N._bufferSize,H=N._timestampProvider,L=N._buffer,M=N._infiniteTimeWindow,R=(M?1:2)*x;if(x<1/0&&R<L.length&&L.splice(0,L.length-R),!M){for(var W=H.now(),X=0,G=1;G<L.length&&L[G]<=W;G+=2)X=G;X&&L.splice(0,X+1)}},F}(a.x)},8187:(Ze,ae,y)=>{y.d(ae,{x:()=>x});var g=y(763),a=y(1325),U=y(1289),j=(0,y(9246).d)(function(L){return function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),F=y(1162),N=y(4398),x=function(L){function M(){var R=L.call(this)||this;return R.closed=!1,R.observers=[],R.isStopped=!1,R.hasError=!1,R.thrownError=null,R}return(0,g.ZT)(M,L),M.prototype.lift=function(R){var W=new H(this,this);return W.operator=R,W},M.prototype._throwIfClosed=function(){if(this.closed)throw new j},M.prototype.next=function(R){var W=this;(0,N.x)(function(){var X,G;if(W._throwIfClosed(),!W.isStopped){var te=W.observers.slice();try{for(var Y=(0,g.XA)(te),q=Y.next();!q.done;q=Y.next())q.value.next(R)}catch(Ne){X={error:Ne}}finally{try{q&&!q.done&&(G=Y.return)&&G.call(Y)}finally{if(X)throw X.error}}}})},M.prototype.error=function(R){var W=this;(0,N.x)(function(){if(W._throwIfClosed(),!W.isStopped){W.hasError=W.isStopped=!0,W.thrownError=R;for(var X=W.observers;X.length;)X.shift().error(R)}})},M.prototype.complete=function(){var R=this;(0,N.x)(function(){if(R._throwIfClosed(),!R.isStopped){R.isStopped=!0;for(var W=R.observers;W.length;)W.shift().complete()}})},M.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(M.prototype,"observed",{get:function(){var R;return(null===(R=this.observers)||void 0===R?void 0:R.length)>0},enumerable:!1,configurable:!0}),M.prototype._trySubscribe=function(R){return this._throwIfClosed(),L.prototype._trySubscribe.call(this,R)},M.prototype._subscribe=function(R){return this._throwIfClosed(),this._checkFinalizedStatuses(R),this._innerSubscribe(R)},M.prototype._innerSubscribe=function(R){var W=this,te=W.observers;return W.hasError||W.isStopped?U.Lc:(te.push(R),new U.w0(function(){return(0,F.P)(te,R)}))},M.prototype._checkFinalizedStatuses=function(R){var W=this,te=W.isStopped;W.hasError?R.error(W.thrownError):te&&R.complete()},M.prototype.asObservable=function(){var R=new a.y;return R.source=this,R},M.create=function(R,W){return new H(R,W)},M}(a.y),H=function(L){function M(R,W){var X=L.call(this)||this;return X.destination=R,X.source=W,X}return(0,g.ZT)(M,L),M.prototype.next=function(R){var W,X;null===(X=null===(W=this.destination)||void 0===W?void 0:W.next)||void 0===X||X.call(W,R)},M.prototype.error=function(R){var W,X;null===(X=null===(W=this.destination)||void 0===W?void 0:W.error)||void 0===X||X.call(W,R)},M.prototype.complete=function(){var R,W;null===(W=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===W||W.call(R)},M.prototype._subscribe=function(R){var W,X;return null!==(X=null===(W=this.source)||void 0===W?void 0:W.subscribe(R))&&void 0!==X?X:U.Lc},M}(x)},1959:(Ze,ae,y)=>{y.d(ae,{Hp:()=>X,Lv:()=>W});var g=y(763),a=y(3250),U=y(1289),z=y(2795),j=y(1281),F=y(6484),N=L("C",void 0,void 0);function L(_e,Ne,pe){return{kind:_e,value:Ne,error:pe}}var M=y(387),R=y(4398),W=function(_e){function Ne(pe){var me=_e.call(this)||this;return me.isStopped=!1,pe?(me.destination=pe,(0,U.Nn)(pe)&&pe.add(me)):me.destination=q,me}return(0,g.ZT)(Ne,_e),Ne.create=function(pe,me,ce){return new X(pe,me,ce)},Ne.prototype.next=function(pe){this.isStopped?Y(function(_e){return L("N",_e,void 0)}(pe),this):this._next(pe)},Ne.prototype.error=function(pe){this.isStopped?Y(function(_e){return L("E",void 0,_e)}(pe),this):(this.isStopped=!0,this._error(pe))},Ne.prototype.complete=function(){this.isStopped?Y(N,this):(this.isStopped=!0,this._complete())},Ne.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,_e.prototype.unsubscribe.call(this),this.destination=null)},Ne.prototype._next=function(pe){this.destination.next(pe)},Ne.prototype._error=function(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}},Ne.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ne}(U.w0),X=function(_e){function Ne(pe,me,ce){var Le,Pe=_e.call(this)||this;if((0,a.m)(pe))Le=pe;else if(pe){var ze;Le=pe.next,me=pe.error,ce=pe.complete,Pe&&z.v.useDeprecatedNextContext?(ze=Object.create(pe)).unsubscribe=function(){return Pe.unsubscribe()}:ze=pe,Le=null==Le?void 0:Le.bind(ze),me=null==me?void 0:me.bind(ze),ce=null==ce?void 0:ce.bind(ze)}return Pe.destination={next:Le?G(Le):F.Z,error:G(null!=me?me:te),complete:ce?G(ce):F.Z},Pe}return(0,g.ZT)(Ne,_e),Ne}(W);function G(_e,Ne){return function(){for(var pe=[],me=0;me<arguments.length;me++)pe[me]=arguments[me];try{_e.apply(void 0,(0,g.ev)([],(0,g.CR)(pe)))}catch(ce){z.v.useDeprecatedSynchronousErrorHandling?(0,R.O)(ce):(0,j.h)(ce)}}}function te(_e){throw _e}function Y(_e,Ne){var pe=z.v.onStoppedNotification;pe&&M.z.setTimeout(function(){return pe(_e,Ne)})}var q={closed:!0,next:F.Z,error:te,complete:F.Z}},1289:(Ze,ae,y)=>{y.d(ae,{Lc:()=>N,w0:()=>F,Nn:()=>x});var g=y(763),a=y(3250),z=(0,y(9246).d)(function(L){return function(R){L(this),this.message=R?R.length+" errors occurred during unsubscription:\n"+R.map(function(W,X){return X+1+") "+W.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=R}}),j=y(1162),F=function(){function L(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._teardowns=null}return L.prototype.unsubscribe=function(){var M,R,W,X,G;if(!this.closed){this.closed=!0;var te=this._parentage;if(te)if(this._parentage=null,Array.isArray(te))try{for(var Y=(0,g.XA)(te),q=Y.next();!q.done;q=Y.next())q.value.remove(this)}catch(Le){M={error:Le}}finally{try{q&&!q.done&&(R=Y.return)&&R.call(Y)}finally{if(M)throw M.error}}else te.remove(this);var Ne=this.initialTeardown;if((0,a.m)(Ne))try{Ne()}catch(Le){G=Le instanceof z?Le.errors:[Le]}var pe=this._teardowns;if(pe){this._teardowns=null;try{for(var me=(0,g.XA)(pe),ce=me.next();!ce.done;ce=me.next()){var Pe=ce.value;try{H(Pe)}catch(Le){G=null!=G?G:[],Le instanceof z?G=(0,g.ev)((0,g.ev)([],(0,g.CR)(G)),(0,g.CR)(Le.errors)):G.push(Le)}}}catch(Le){W={error:Le}}finally{try{ce&&!ce.done&&(X=me.return)&&X.call(me)}finally{if(W)throw W.error}}}if(G)throw new z(G)}},L.prototype.add=function(M){var R;if(M&&M!==this)if(this.closed)H(M);else{if(M instanceof L){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._teardowns=null!==(R=this._teardowns)&&void 0!==R?R:[]).push(M)}},L.prototype._hasParent=function(M){var R=this._parentage;return R===M||Array.isArray(R)&&R.includes(M)},L.prototype._addParent=function(M){var R=this._parentage;this._parentage=Array.isArray(R)?(R.push(M),R):R?[R,M]:M},L.prototype._removeParent=function(M){var R=this._parentage;R===M?this._parentage=null:Array.isArray(R)&&(0,j.P)(R,M)},L.prototype.remove=function(M){var R=this._teardowns;R&&(0,j.P)(R,M),M instanceof L&&M._removeParent(this)},L.EMPTY=((M=new L).closed=!0,M),L;var M}(),N=F.EMPTY;function x(L){return L instanceof F||L&&"closed"in L&&(0,a.m)(L.remove)&&(0,a.m)(L.add)&&(0,a.m)(L.unsubscribe)}function H(L){(0,a.m)(L)?L():L.unsubscribe()}},2795:(Ze,ae,y)=>{y.d(ae,{v:()=>g});var g={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2921:(Ze,ae,y)=>{y.d(ae,{c:()=>N});var g=y(763),a=y(1325),U=y(1289),z=y(8169),j=y(6487),F=y(3256),N=function(x){function H(L,M){var R=x.call(this)||this;return R.source=L,R.subjectFactory=M,R._subject=null,R._refCount=0,R._connection=null,(0,F.A)(L)&&(R.lift=L.lift),R}return(0,g.ZT)(H,x),H.prototype._subscribe=function(L){return this.getSubject().subscribe(L)},H.prototype.getSubject=function(){var L=this._subject;return(!L||L.isStopped)&&(this._subject=this.subjectFactory()),this._subject},H.prototype._teardown=function(){this._refCount=0;var L=this._connection;this._subject=this._connection=null,null==L||L.unsubscribe()},H.prototype.connect=function(){var L=this,M=this._connection;if(!M){M=this._connection=new U.w0;var R=this.getSubject();M.add(this.source.subscribe(new j.Q(R,void 0,function(){L._teardown(),R.complete()},function(W){L._teardown(),R.error(W)},function(){return L._teardown()}))),M.closed&&(this._connection=null,M=U.w0.EMPTY)}return M},H.prototype.refCount=function(){return(0,z.x)()(this)},H}(a.y)},7850:(Ze,ae,y)=>{y.d(ae,{a:()=>L});var g=y(1325),a=y(8371),U=y(8202),z=y(7722),j=y(8301),F=y(5681),N=y(9501),x=y(6487),H=y(3686);function L(){for(var W=[],X=0;X<arguments.length;X++)W[X]=arguments[X];var G=(0,F.yG)(W),te=(0,F.jO)(W),Y=(0,a.D)(W),q=Y.args,_e=Y.keys;if(0===q.length)return(0,U.D)([],G);var Ne=new g.y(M(q,G,_e?function(pe){return(0,N.n)(_e,pe)}:z.y));return te?Ne.pipe((0,j.Z)(te)):Ne}function M(W,X,G){return void 0===G&&(G=z.y),function(te){R(X,function(){for(var Y=W.length,q=new Array(Y),_e=Y,Ne=Y,pe=function(ce){R(X,function(){var Pe=(0,U.D)(W[ce],X),Le=!1;Pe.subscribe(new x.Q(te,function(ze){q[ce]=ze,Le||(Le=!0,Ne--),Ne||te.next(G(q.slice()))},function(){--_e||te.complete()}))},te)},me=0;me<Y;me++)pe(me)},te)}}function R(W,X,G){W?(0,H.f)(G,W,X):X()}},6575:(Ze,ae,y)=>{y.d(ae,{z:()=>j});var g=y(7091);function a(){return(0,g.J)(1)}var U=y(5681),z=y(8202);function j(){for(var F=[],N=0;N<arguments.length;N++)F[N]=arguments[N];return a()((0,z.D)(F,(0,U.yG)(F)))}},6367:(Ze,ae,y)=>{y.d(ae,{E:()=>a});var a=new(y(1325).y)(function(j){return j.complete()})},8202:(Ze,ae,y)=>{y.d(ae,{D:()=>me});var g=y(4915),a=y(1025),U=y(9530),F=y(1325),x=y(6488),H=y(3250),L=y(3686);function R(ce,Pe){if(!ce)throw new Error("Iterable cannot be null");return new F.y(function(Le){(0,L.f)(Le,Pe,function(){var ze=ce[Symbol.asyncIterator]();(0,L.f)(Le,Pe,function(){ze.next().then(function(De){De.done?Le.complete():Le.next(De.value)})},0,!0)})})}var W=y(8259),X=y(9633),G=y(6440),te=y(4299),Y=y(3042),q=y(6735),_e=y(6228);function me(ce,Pe){return Pe?function(ce,Pe){if(null!=ce){if((0,W.c)(ce))return function(ce,Pe){return(0,g.Xf)(ce).pipe((0,U.R)(Pe),(0,a.Q)(Pe))}(ce,Pe);if((0,G.z)(ce))return function(ce,Pe){return new F.y(function(Le){var ze=0;return Pe.schedule(function(){ze===ce.length?Le.complete():(Le.next(ce[ze++]),Le.closed||this.schedule())})})}(ce,Pe);if((0,X.t)(ce))return function(ce,Pe){return(0,g.Xf)(ce).pipe((0,U.R)(Pe),(0,a.Q)(Pe))}(ce,Pe);if((0,Y.D)(ce))return R(ce,Pe);if((0,te.T)(ce))return function(ce,Pe){return new F.y(function(Le){var ze;return(0,L.f)(Le,Pe,function(){ze=ce[x.h](),(0,L.f)(Le,Pe,function(){var De,Re,Oe;try{Re=(De=ze.next()).value,Oe=De.done}catch(Ve){return void Le.error(Ve)}Oe?Le.complete():Le.next(Re)},0,!0)}),function(){return(0,H.m)(null==ze?void 0:ze.return)&&ze.return()}})}(ce,Pe);if((0,_e.L)(ce))return function(ce,Pe){return R((0,_e.Q)(ce),Pe)}(ce,Pe)}throw(0,q.z)(ce)}(ce,Pe):(0,g.Xf)(ce)}},2027:(Ze,ae,y)=>{y.d(ae,{R:()=>M});var g=y(763),a=y(4915),U=y(1325),z=y(7023),j=y(6440),F=y(3250),N=y(8301),x=["addListener","removeListener"],H=["addEventListener","removeEventListener"],L=["on","off"];function M(te,Y,q,_e){if((0,F.m)(q)&&(_e=q,q=void 0),_e)return M(te,Y,q).pipe((0,N.Z)(_e));var Ne=(0,g.CR)(function(te){return(0,F.m)(te.addEventListener)&&(0,F.m)(te.removeEventListener)}(te)?H.map(function(ce){return function(Pe){return te[ce](Y,Pe,q)}}):function(te){return(0,F.m)(te.addListener)&&(0,F.m)(te.removeListener)}(te)?x.map(R(te,Y)):function(te){return(0,F.m)(te.on)&&(0,F.m)(te.off)}(te)?L.map(R(te,Y)):[],2),pe=Ne[0],me=Ne[1];if(!pe&&(0,j.z)(te))return(0,z.z)(function(ce){return M(ce,Y,q)})((0,a.Xf)(te));if(!pe)throw new TypeError("Invalid event target");return new U.y(function(ce){var Pe=function(){for(var Le=[],ze=0;ze<arguments.length;ze++)Le[ze]=arguments[ze];return ce.next(1<Le.length?Le:Le[0])};return pe(Pe),function(){return me(Pe)}})}function R(te,Y){return function(q){return function(_e){return te[q](Y,_e)}}}},4915:(Ze,ae,y)=>{y.d(ae,{Xf:()=>W});var g=y(763),a=y(6440),U=y(9633),z=y(1325),j=y(8259),F=y(3042),N=y(6735),x=y(4299),H=y(6228),L=y(3250),M=y(1281),R=y(9263);function W(pe){if(pe instanceof z.y)return pe;if(null!=pe){if((0,j.c)(pe))return function(pe){return new z.y(function(me){var ce=pe[R.L]();if((0,L.m)(ce.subscribe))return ce.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(pe);if((0,a.z)(pe))return function(pe){return new z.y(function(me){for(var ce=0;ce<pe.length&&!me.closed;ce++)me.next(pe[ce]);me.complete()})}(pe);if((0,U.t)(pe))return function(pe){return new z.y(function(me){pe.then(function(ce){me.closed||(me.next(ce),me.complete())},function(ce){return me.error(ce)}).then(null,M.h)})}(pe);if((0,F.D)(pe))return q(pe);if((0,x.T)(pe))return function(pe){return new z.y(function(me){var ce,Pe;try{for(var Le=(0,g.XA)(pe),ze=Le.next();!ze.done;ze=Le.next())if(me.next(ze.value),me.closed)return}catch(Re){ce={error:Re}}finally{try{ze&&!ze.done&&(Pe=Le.return)&&Pe.call(Le)}finally{if(ce)throw ce.error}}me.complete()})}(pe);if((0,H.L)(pe))return function(pe){return q((0,H.Q)(pe))}(pe)}throw(0,N.z)(pe)}function q(pe){return new z.y(function(me){(function(pe,me){var ce,Pe,Le,ze;return(0,g.mG)(this,void 0,void 0,function(){var Re;return(0,g.Jh)(this,function(Oe){switch(Oe.label){case 0:Oe.trys.push([0,5,6,11]),ce=(0,g.KL)(pe),Oe.label=1;case 1:return[4,ce.next()];case 2:if((Pe=Oe.sent()).done)return[3,4];if(me.next(Pe.value),me.closed)return[2];Oe.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return Re=Oe.sent(),Le={error:Re},[3,11];case 6:return Oe.trys.push([6,,9,10]),Pe&&!Pe.done&&(ze=ce.return)?[4,ze.call(ce)]:[3,8];case 7:Oe.sent(),Oe.label=8;case 8:return[3,10];case 9:if(Le)throw Le.error;return[7];case 10:return[7];case 11:return me.complete(),[2]}})})})(pe,me).catch(function(ce){return me.error(ce)})})}},7159:(Ze,ae,y)=>{y.d(ae,{T:()=>F});var g=y(7091),a=y(4915),U=y(6367),z=y(5681),j=y(8202);function F(){for(var N=[],x=0;x<arguments.length;x++)N[x]=arguments[x];var H=(0,z.yG)(N),L=(0,z._6)(N,1/0),M=N;return M.length?1===M.length?(0,a.Xf)(M[0]):(0,g.J)(L)((0,j.D)(M,H)):U.E}},7599:(Ze,ae,y)=>{y.d(ae,{of:()=>U});var g=y(5681),a=y(8202);function U(){for(var z=[],j=0;j<arguments.length;j++)z[j]=arguments[j];var F=(0,g.yG)(z);return(0,a.D)(z,F)}},864:(Ze,ae,y)=>{y.d(ae,{_:()=>U});var g=y(1325),a=y(3250);function U(z,j){var F=(0,a.m)(z)?z:function(){return z},N=function(x){return x.error(F())};return new g.y(j?function(x){return j.schedule(N,0,x)}:N)}},6200:(Ze,ae,y)=>{y.d(ae,{H:()=>j});var g=y(1325),a=y(9216),U=y(6612);function j(F,N,x){void 0===F&&(F=0),void 0===x&&(x=a.P);var H=-1;return null!=N&&((0,U.K)(N)?x=N:H=N),new g.y(function(L){var M=function(F){return F instanceof Date&&!isNaN(F)}(F)?+F-x.now():F;M<0&&(M=0);var R=0;return x.schedule(function(){L.closed||(L.next(R++),0<=H?this.schedule(void 0,H):L.complete())},M)})}},6487:(Ze,ae,y)=>{y.d(ae,{Q:()=>U});var g=y(763),U=function(z){function j(F,N,x,H,L){var M=z.call(this,F)||this;return M.onFinalize=L,M._next=N?function(R){try{N(R)}catch(W){F.error(W)}}:z.prototype._next,M._error=H?function(R){try{H(R)}catch(W){F.error(W)}finally{this.unsubscribe()}}:z.prototype._error,M._complete=x?function(){try{x()}catch(R){F.error(R)}finally{this.unsubscribe()}}:z.prototype._complete,M}return(0,g.ZT)(j,z),j.prototype.unsubscribe=function(){var F,N=this.closed;z.prototype.unsubscribe.call(this),!N&&(null===(F=this.onFinalize)||void 0===F||F.call(this))},j}(y(1959).Lv)},4206:(Ze,ae,y)=>{y.d(ae,{e:()=>N});var g=y(9216),a=y(3256),U=y(4915),z=y(6487),F=y(6200);function N(x,H){return void 0===H&&(H=g.P),function(x){return(0,a.e)(function(H,L){var M=!1,R=null,W=null,X=!1,G=function(){if(null==W||W.unsubscribe(),W=null,M){M=!1;var Y=R;R=null,L.next(Y)}X&&L.complete()},te=function(){W=null,X&&L.complete()};H.subscribe(new z.Q(L,function(Y){M=!0,R=Y,W||(0,U.Xf)(x()).subscribe(W=new z.Q(L,G,te))},function(){X=!0,(!M||!W||W.closed)&&L.complete()}))})}(function(){return(0,F.H)(x,H)})}},4864:(Ze,ae,y)=>{y.d(ae,{K:()=>z});var g=y(4915),a=y(6487),U=y(3256);function z(j){return(0,U.e)(function(F,N){var L,x=null,H=!1;x=F.subscribe(new a.Q(N,void 0,void 0,function(M){L=(0,g.Xf)(j(M,z(j)(F))),x?(x.unsubscribe(),x=null,L.subscribe(N)):H=!0})),H&&(x.unsubscribe(),x=null,L.subscribe(N))})}},5051:(Ze,ae,y)=>{y.d(ae,{b:()=>U});var g=y(7023),a=y(3250);function U(z,j){return(0,a.m)(j)?(0,g.z)(z,j,1):(0,g.z)(z,1)}},3509:(Ze,ae,y)=>{y.d(ae,{$:()=>N});var g=y(8187),a=y(8202),U=y(3256),z=y(1325),F={connector:function(){return new g.x}};function N(x,H){void 0===H&&(H=F);var L=H.connector;return(0,U.e)(function(M,R){var W=L();(0,a.D)(x(function(x){return new z.y(function(H){return x.subscribe(H)})}(W))).subscribe(R),R.add(M.subscribe(W))})}},1775:(Ze,ae,y)=>{y.d(ae,{b:()=>z});var g=y(9216),a=y(3256),U=y(6487);function z(j,F){return void 0===F&&(F=g.z),(0,a.e)(function(N,x){var H=null,L=null,M=null,R=function(){if(H){H.unsubscribe(),H=null;var X=L;L=null,x.next(X)}};function W(){var X=M+j,G=F.now();if(G<X)return H=this.schedule(void 0,X-G),void x.add(H);R()}N.subscribe(new U.Q(x,function(X){L=X,M=F.now(),H||(H=F.schedule(W,j),x.add(H))},function(){R(),x.complete()},void 0,function(){L=H=null}))})}},2012:(Ze,ae,y)=>{y.d(ae,{d:()=>U});var g=y(3256),a=y(6487);function U(z){return(0,g.e)(function(j,F){var N=!1;j.subscribe(new a.Q(F,function(x){N=!0,F.next(x)},function(){N||F.next(z),F.complete()}))})}},2249:(Ze,ae,y)=>{y.d(ae,{x:()=>z});var g=y(7722),a=y(3256),U=y(6487);function z(F,N){return void 0===N&&(N=g.y),F=null!=F?F:j,(0,a.e)(function(x,H){var L,M=!0;x.subscribe(new U.Q(H,function(R){var W=N(R);(M||!F(L,W))&&(M=!1,L=W,H.next(R))}))})}function j(F,N){return F===N}},6477:(Ze,ae,y)=>{y.d(ae,{h:()=>U});var g=y(3256),a=y(6487);function U(z,j){return(0,g.e)(function(F,N){var x=0;F.subscribe(new a.Q(N,function(H){return z.call(j,H,x++)&&N.next(H)}))})}},7465:(Ze,ae,y)=>{y.d(ae,{x:()=>a});var g=y(3256);function a(U){return(0,g.e)(function(z,j){try{z.subscribe(j)}finally{j.add(U)}})}},993:(Ze,ae,y)=>{y.d(ae,{P:()=>N});var g=y(6426),a=y(6477),U=y(5116),z=y(2012),j=y(9156),F=y(7722);function N(x,H){var L=arguments.length>=2;return function(M){return M.pipe(x?(0,a.h)(function(R,W){return x(R,W,M)}):F.y,(0,U.q)(1),L?(0,z.d)(H):(0,j.T)(function(){return new g.K}))}}},9005:(Ze,ae,y)=>{y.d(ae,{U:()=>U});var g=y(3256),a=y(6487);function U(z,j){return(0,g.e)(function(F,N){var x=0;F.subscribe(new a.Q(N,function(H){N.next(z.call(j,H,x++))}))})}},7091:(Ze,ae,y)=>{y.d(ae,{J:()=>U});var g=y(7023),a=y(7722);function U(z){return void 0===z&&(z=1/0),(0,g.z)(a.y,z)}},7023:(Ze,ae,y)=>{y.d(ae,{z:()=>x});var g=y(9005),a=y(4915),U=y(3256),j=(y(3686),y(6487)),N=y(3250);function x(H,L,M){return void 0===M&&(M=1/0),(0,N.m)(L)?x(function(R,W){return(0,g.U)(function(X,G){return L(R,X,W,G)})((0,a.Xf)(H(R,W)))},M):("number"==typeof L&&(M=L),(0,U.e)(function(R,W){return function(H,L,M,R,W,X,G,te){var Y=[],q=0,_e=0,Ne=!1,pe=function(){Ne&&!Y.length&&!q&&L.complete()},me=function(Pe){return q<R?ce(Pe):Y.push(Pe)},ce=function(Pe){q++;var Le=!1;(0,a.Xf)(M(Pe,_e++)).subscribe(new j.Q(L,function(ze){L.next(ze)},function(){Le=!0},void 0,function(){if(Le)try{q--;for(;Y.length&&q<R;)De=void 0,De=Y.shift(),ce(De);pe()}catch(De){L.error(De)}var De}))};return H.subscribe(new j.Q(L,me,function(){Ne=!0,pe()})),function(){}}(R,W,H,M)}))}},6377:(Ze,ae,y)=>{y.d(ae,{O:()=>z});var g=y(2921),a=y(3250),U=y(3509);function z(j,F){var N=(0,a.m)(j)?j:function(){return j};return(0,a.m)(F)?(0,U.$)(F,{connector:N}):function(x){return new g.c(x,N)}}},1025:(Ze,ae,y)=>{y.d(ae,{Q:()=>z});var g=y(3686),a=y(3256),U=y(6487);function z(j,F){return void 0===F&&(F=0),(0,a.e)(function(N,x){N.subscribe(new U.Q(x,function(H){return(0,g.f)(x,j,function(){return x.next(H)},F)},function(){return(0,g.f)(x,j,function(){return x.complete()},F)},function(H){return(0,g.f)(x,j,function(){return x.error(H)},F)}))})}},4823:(Ze,ae,y)=>{y.d(ae,{C:()=>U});var g=y(3537),a=y(2921);function U(){return function(z){var j=new g.c;return new a.c(z,function(){return j})}}},2366:(Ze,ae,y)=>{y.d(ae,{_:()=>z});var g=y(5552),a=y(6377),U=y(3250);function z(j,F,N,x){N&&!(0,U.m)(N)&&(x=N);var H=(0,U.m)(N)?N:void 0;return function(L){return(0,a.O)(new g.t(j,F,x),H)(L)}}},8169:(Ze,ae,y)=>{y.d(ae,{x:()=>U});var g=y(3256),a=y(6487);function U(){return(0,g.e)(function(z,j){var F=null;z._refCount++;var N=new a.Q(j,void 0,void 0,void 0,function(){if(!z||z._refCount<=0||0<--z._refCount)F=null;else{var x=z._connection,H=F;F=null,x&&(!H||x===H)&&x.unsubscribe(),j.unsubscribe()}});z.subscribe(N),N.closed||(F=z.connect())})}},1635:(Ze,ae,y)=>{y.d(ae,{B:()=>N});var g=y(763),a=y(8202),U=y(5116),z=y(8187),j=y(1959),F=y(3256);function N(H){void 0===H&&(H={});var L=H.connector,M=void 0===L?function(){return new z.x}:L,R=H.resetOnError,W=void 0===R||R,X=H.resetOnComplete,G=void 0===X||X,te=H.resetOnRefCountZero,Y=void 0===te||te;return function(q){var _e=null,Ne=null,pe=null,me=0,ce=!1,Pe=!1,Le=function(){null==Ne||Ne.unsubscribe(),Ne=null},ze=function(){Le(),_e=pe=null,ce=Pe=!1},De=function(){var Re=_e;ze(),null==Re||Re.unsubscribe()};return(0,F.e)(function(Re,Oe){me++,!Pe&&!ce&&Le();var Ve=pe=null!=pe?pe:M();Oe.add(function(){0==--me&&!Pe&&!ce&&(Ne=x(De,Y))}),Ve.subscribe(Oe),_e||(_e=new j.Hp({next:function($e){return Ve.next($e)},error:function($e){Pe=!0,Le(),Ne=x(ze,W,$e),Ve.error($e)},complete:function(){ce=!0,Le(),Ne=x(ze,G),Ve.complete()}}),(0,a.D)(Re).subscribe(_e))})(q)}}function x(H,L){for(var M=[],R=2;R<arguments.length;R++)M[R-2]=arguments[R];return!0===L?(H(),null):!1===L?null:L.apply(void 0,(0,g.ev)([],(0,g.CR)(M))).pipe((0,U.q)(1)).subscribe(function(){return H()})}},9454:(Ze,ae,y)=>{y.d(ae,{T:()=>a});var g=y(6477);function a(U){return(0,g.h)(function(z,j){return U<=j})}},7993:(Ze,ae,y)=>{y.d(ae,{O:()=>z});var g=y(6575),a=y(5681),U=y(3256);function z(){for(var j=[],F=0;F<arguments.length;F++)j[F]=arguments[F];var N=(0,a.yG)(j);return(0,U.e)(function(x,H){(N?(0,g.z)(j,x,N):(0,g.z)(j,x)).subscribe(H)})}},9530:(Ze,ae,y)=>{y.d(ae,{R:()=>a});var g=y(3256);function a(U,z){return void 0===z&&(z=0),(0,g.e)(function(j,F){F.add(U.schedule(function(){return j.subscribe(F)},z))})}},8578:(Ze,ae,y)=>{y.d(ae,{w:()=>z});var g=y(4915),a=y(3256),U=y(6487);function z(j,F){return(0,a.e)(function(N,x){var H=null,L=0,M=!1,R=function(){return M&&!H&&x.complete()};N.subscribe(new U.Q(x,function(W){null==H||H.unsubscribe();var X=0,G=L++;(0,g.Xf)(j(W,G)).subscribe(H=new U.Q(x,function(te){return x.next(F?F(W,te,G,X++):te)},function(){H=null,R()}))},function(){M=!0,R()}))})}},5116:(Ze,ae,y)=>{y.d(ae,{q:()=>z});var g=y(6367),a=y(3256),U=y(6487);function z(j){return j<=0?function(){return g.E}:(0,a.e)(function(F,N){var x=0;F.subscribe(new U.Q(N,function(H){++x<=j&&(N.next(H),j<=x&&N.complete())}))})}},4094:(Ze,ae,y)=>{y.d(ae,{R:()=>j});var g=y(3256),a=y(6487),U=y(4915),z=y(6484);function j(F){return(0,g.e)(function(N,x){(0,U.Xf)(F).subscribe(new a.Q(x,function(){return x.complete()},z.Z)),!x.closed&&N.subscribe(x)})}},9349:(Ze,ae,y)=>{y.d(ae,{b:()=>j});var g=y(3250),a=y(3256),U=y(6487),z=y(7722);function j(F,N,x){var H=(0,g.m)(F)||N||x?{next:F,error:N,complete:x}:F;return H?(0,a.e)(function(L,M){var R;null===(R=H.subscribe)||void 0===R||R.call(H);var W=!0;L.subscribe(new U.Q(M,function(X){var G;null===(G=H.next)||void 0===G||G.call(H,X),M.next(X)},function(){var X;W=!1,null===(X=H.complete)||void 0===X||X.call(H),M.complete()},function(X){var G;W=!1,null===(G=H.error)||void 0===G||G.call(H,X),M.error(X)},function(){var X,G;W&&(null===(X=H.unsubscribe)||void 0===X||X.call(H)),null===(G=H.finalize)||void 0===G||G.call(H)}))}):z.y}},9156:(Ze,ae,y)=>{y.d(ae,{T:()=>z});var g=y(6426),a=y(3256),U=y(6487);function z(F){return void 0===F&&(F=j),(0,a.e)(function(N,x){var H=!1;N.subscribe(new U.Q(x,function(L){H=!0,x.next(L)},function(){return H?x.complete():x.error(F())}))})}function j(){return new g.K}},4077:(Ze,ae,y)=>{y.d(ae,{o:()=>F});var g=y(763),U=function(N){function x(H,L){return N.call(this)||this}return(0,g.ZT)(x,N),x.prototype.schedule=function(H,L){return void 0===L&&(L=0),this},x}(y(1289).w0),z={setInterval:function(){for(var N=[],x=0;x<arguments.length;x++)N[x]=arguments[x];var H=z.delegate;return((null==H?void 0:H.setInterval)||setInterval).apply(void 0,(0,g.ev)([],(0,g.CR)(N)))},clearInterval:function(N){var x=z.delegate;return((null==x?void 0:x.clearInterval)||clearInterval)(N)},delegate:void 0},j=y(1162),F=function(N){function x(H,L){var M=N.call(this,H,L)||this;return M.scheduler=H,M.work=L,M.pending=!1,M}return(0,g.ZT)(x,N),x.prototype.schedule=function(H,L){if(void 0===L&&(L=0),this.closed)return this;this.state=H;var M=this.id,R=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(R,M,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(R,this.id,L),this},x.prototype.requestAsyncId=function(H,L,M){return void 0===M&&(M=0),z.setInterval(H.flush.bind(H,this),M)},x.prototype.recycleAsyncId=function(H,L,M){if(void 0===M&&(M=0),null!=M&&this.delay===M&&!1===this.pending)return L;z.clearInterval(L)},x.prototype.execute=function(H,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var M=this._execute(H,L);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},x.prototype._execute=function(H,L){var R,M=!1;try{this.work(H)}catch(W){M=!0,R=W||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),R},x.prototype.unsubscribe=function(){if(!this.closed){var L=this.id,M=this.scheduler,R=M.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,j.P)(R,this),null!=L&&(this.id=this.recycleAsyncId(M,L,null)),this.delay=null,N.prototype.unsubscribe.call(this)}},x}(U)},5428:(Ze,ae,y)=>{y.d(ae,{v:()=>z});var g=y(763),a=y(7636),U=function(){function j(F,N){void 0===N&&(N=j.now),this.schedulerActionCtor=F,this.now=N}return j.prototype.schedule=function(F,N,x){return void 0===N&&(N=0),new this.schedulerActionCtor(this,F).schedule(x,N)},j.now=a.l.now,j}(),z=function(j){function F(N,x){void 0===x&&(x=U.now);var H=j.call(this,N,x)||this;return H.actions=[],H._active=!1,H._scheduled=void 0,H}return(0,g.ZT)(F,j),F.prototype.flush=function(N){var x=this.actions;if(this._active)x.push(N);else{var H;this._active=!0;do{if(H=N.execute(N.state,N.delay))break}while(N=x.shift());if(this._active=!1,H){for(;N=x.shift();)N.unsubscribe();throw H}}},F}(U)},9311:(Ze,ae,y)=>{y.d(ae,{E:()=>G});var z,g=y(763),a=y(4077),U=1,j={};function F(Y){return Y in j&&(delete j[Y],!0)}var H=function(Y){var q=U++;return j[q]=!0,z||(z=Promise.resolve()),z.then(function(){return F(q)&&Y()}),q},L=function(Y){F(Y)},M={setImmediate:function(){for(var Y=[],q=0;q<arguments.length;q++)Y[q]=arguments[q];var _e=M.delegate;return((null==_e?void 0:_e.setImmediate)||H).apply(void 0,(0,g.ev)([],(0,g.CR)(Y)))},clearImmediate:function(Y){var q=M.delegate;return((null==q?void 0:q.clearImmediate)||L)(Y)},delegate:void 0},R=function(Y){function q(_e,Ne){var pe=Y.call(this,_e,Ne)||this;return pe.scheduler=_e,pe.work=Ne,pe}return(0,g.ZT)(q,Y),q.prototype.requestAsyncId=function(_e,Ne,pe){return void 0===pe&&(pe=0),null!==pe&&pe>0?Y.prototype.requestAsyncId.call(this,_e,Ne,pe):(_e.actions.push(this),_e._scheduled||(_e._scheduled=M.setImmediate(_e.flush.bind(_e,void 0))))},q.prototype.recycleAsyncId=function(_e,Ne,pe){if(void 0===pe&&(pe=0),null!=pe&&pe>0||null==pe&&this.delay>0)return Y.prototype.recycleAsyncId.call(this,_e,Ne,pe);0===_e.actions.length&&(M.clearImmediate(Ne),_e._scheduled=void 0)},q}(a.o),G=new(function(Y){function q(){return null!==Y&&Y.apply(this,arguments)||this}return(0,g.ZT)(q,Y),q.prototype.flush=function(_e){this._active=!0,this._scheduled=void 0;var pe,Ne=this.actions,me=-1;_e=_e||Ne.shift();var ce=Ne.length;do{if(pe=_e.execute(_e.state,_e.delay))break}while(++me<ce&&(_e=Ne.shift()));if(this._active=!1,pe){for(;++me<ce&&(_e=Ne.shift());)_e.unsubscribe();throw pe}},q}(y(5428).v))(R)},9216:(Ze,ae,y)=>{y.d(ae,{z:()=>U,P:()=>z});var g=y(4077),U=new(y(5428).v)(g.o),z=U},7636:(Ze,ae,y)=>{y.d(ae,{l:()=>g});var g={now:function(){return(g.delegate||Date).now()},delegate:void 0}},387:(Ze,ae,y)=>{y.d(ae,{z:()=>a});var g=y(763),a={setTimeout:function(){for(var U=[],z=0;z<arguments.length;z++)U[z]=arguments[z];var j=a.delegate;return((null==j?void 0:j.setTimeout)||setTimeout).apply(void 0,(0,g.ev)([],(0,g.CR)(U)))},clearTimeout:function(U){var z=a.delegate;return((null==z?void 0:z.clearTimeout)||clearTimeout)(U)},delegate:void 0}},6488:(Ze,ae,y)=>{y.d(ae,{h:()=>a});var a="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},9263:(Ze,ae,y)=>{y.d(ae,{L:()=>g});var g="function"==typeof Symbol&&Symbol.observable||"@@observable"},6426:(Ze,ae,y)=>{y.d(ae,{K:()=>a});var a=(0,y(9246).d)(function(U){return function(){U(this),this.name="EmptyError",this.message="no elements in sequence"}})},5681:(Ze,ae,y)=>{y.d(ae,{jO:()=>z,yG:()=>j,_6:()=>F});var g=y(3250),a=y(6612);function U(N){return N[N.length-1]}function z(N){return(0,g.m)(U(N))?N.pop():void 0}function j(N){return(0,a.K)(U(N))?N.pop():void 0}function F(N,x){return"number"==typeof U(N)?N.pop():x}},8371:(Ze,ae,y)=>{y.d(ae,{D:()=>j});var g=Array.isArray,a=Object.getPrototypeOf,U=Object.prototype,z=Object.keys;function j(N){if(1===N.length){var x=N[0];if(g(x))return{args:x,keys:null};if(function(N){return N&&"object"==typeof N&&a(N)===U}(x)){var H=z(x);return{args:H.map(function(L){return x[L]}),keys:H}}}return{args:N,keys:null}}},1162:(Ze,ae,y)=>{function g(a,U){if(a){var z=a.indexOf(U);0<=z&&a.splice(z,1)}}y.d(ae,{P:()=>g})},9246:(Ze,ae,y)=>{function g(a){var z=a(function(j){Error.call(j),j.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}y.d(ae,{d:()=>g})},9501:(Ze,ae,y)=>{function g(a,U){return a.reduce(function(z,j,F){return z[j]=U[F],z},{})}y.d(ae,{n:()=>g})},4398:(Ze,ae,y)=>{y.d(ae,{x:()=>U,O:()=>z});var g=y(2795),a=null;function U(j){if(g.v.useDeprecatedSynchronousErrorHandling){var F=!a;if(F&&(a={errorThrown:!1,error:null}),j(),F){var N=a;if(a=null,N.errorThrown)throw N.error}}else j()}function z(j){g.v.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=j)}},3686:(Ze,ae,y)=>{function g(a,U,z,j,F){void 0===j&&(j=0),void 0===F&&(F=!1);var N=U.schedule(function(){z(),F?a.add(this.schedule(null,j)):this.unsubscribe()},j);if(a.add(N),!F)return N}y.d(ae,{f:()=>g})},7722:(Ze,ae,y)=>{function g(a){return a}y.d(ae,{y:()=>g})},6440:(Ze,ae,y)=>{y.d(ae,{z:()=>g});var g=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},3042:(Ze,ae,y)=>{y.d(ae,{D:()=>a});var g=y(3250);function a(U){return Symbol.asyncIterator&&(0,g.m)(null==U?void 0:U[Symbol.asyncIterator])}},3250:(Ze,ae,y)=>{function g(a){return"function"==typeof a}y.d(ae,{m:()=>g})},8259:(Ze,ae,y)=>{y.d(ae,{c:()=>U});var g=y(9263),a=y(3250);function U(z){return(0,a.m)(z[g.L])}},4299:(Ze,ae,y)=>{y.d(ae,{T:()=>U});var g=y(6488),a=y(3250);function U(z){return(0,a.m)(null==z?void 0:z[g.h])}},9633:(Ze,ae,y)=>{y.d(ae,{t:()=>a});var g=y(3250);function a(U){return(0,g.m)(null==U?void 0:U.then)}},6228:(Ze,ae,y)=>{y.d(ae,{Q:()=>U,L:()=>z});var g=y(763),a=y(3250);function U(j){return(0,g.FC)(this,arguments,function(){var N,x,H;return(0,g.Jh)(this,function(M){switch(M.label){case 0:N=j.getReader(),M.label=1;case 1:M.trys.push([1,,9,10]),M.label=2;case 2:return[4,(0,g.qq)(N.read())];case 3:return x=M.sent(),H=x.value,x.done?[4,(0,g.qq)(void 0)]:[3,5];case 4:return[2,M.sent()];case 5:return[4,(0,g.qq)(H)];case 6:return[4,M.sent()];case 7:return M.sent(),[3,2];case 8:return[3,10];case 9:return N.releaseLock(),[7];case 10:return[2]}})})}function z(j){return(0,a.m)(null==j?void 0:j.getReader)}},6612:(Ze,ae,y)=>{y.d(ae,{K:()=>a});var g=y(3250);function a(U){return U&&(0,g.m)(U.schedule)}},3256:(Ze,ae,y)=>{y.d(ae,{A:()=>a,e:()=>U});var g=y(3250);function a(z){return(0,g.m)(null==z?void 0:z.lift)}function U(z){return function(j){if(a(j))return j.lift(function(F){try{return z(F,this)}catch(N){this.error(N)}});throw new TypeError("Unable to lift unknown Observable type")}}},8301:(Ze,ae,y)=>{y.d(ae,{Z:()=>j});var g=y(763),a=y(9005),U=Array.isArray;function j(F){return(0,a.U)(function(N){return function(F,N){return U(N)?F.apply(void 0,(0,g.ev)([],(0,g.CR)(N))):F(N)}(F,N)})}},6484:(Ze,ae,y)=>{function g(){}y.d(ae,{Z:()=>g})},1281:(Ze,ae,y)=>{y.d(ae,{h:()=>U});var g=y(2795),a=y(387);function U(z){a.z.setTimeout(function(){var j=g.v.onUnhandledError;if(!j)throw z;j(z)})}},6735:(Ze,ae,y)=>{function g(a){return new TypeError("You provided "+(null!==a&&"object"==typeof a?"an invalid object":"'"+a+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}y.d(ae,{z:()=>g})},8931:(Ze,ae,y)=>{y.d(ae,{sx:()=>N,fS:()=>F,X$:()=>x});var a=y(6113),U=y(620);class z{constructor(M,R){this.privateDoNotAccessOrElseWrappedHtml=M}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function j(L,M){return null!=M?M:new z(L,a.Y)}function F(L){var M;const R=L;return j(R,null===(M=(0,U.C2)())||void 0===M?void 0:M.createHTML(R))}const N=j("",null===(L=(0,U.Cm)())||void 0===L?void 0:L.emptyHTML);var L;function x(L){var M;if(null===(M=(0,U.Cm)())||void 0===M?void 0:M.isHTML(L))return L;if(L instanceof z)return L.privateDoNotAccessOrElseWrappedHtml;throw new Error("")}},6113:(Ze,ae,y)=>{y.d(ae,{Y:()=>g});const g={}},620:(Ze,ae,y)=>{y.d(ae,{Cm:()=>U,C2:()=>j});let z,g="google#safe";function U(){var N;return null!==(N=function(){if("undefined"!=typeof window)return window.trustedTypes}())&&void 0!==N?N:null}function j(){var N,x;if(void 0===z)try{z=null!==(x=null===(N=U())||void 0===N?void 0:N.createPolicy(g,{createHTML:H=>H,createScript:H=>H,createScriptURL:H=>H}))&&void 0!==x?x:null}catch(H){z=null,console.log(H)}return z}},2324:(Ze,ae,y)=>{y.d(ae,{Kw:()=>U});var g=y(8931);function U(F,N){return(0,g.fS)(F)}},8485:(Ze,ae,y)=>{y.d(ae,{bL:()=>_e,Yp:()=>Ne,Zg:()=>me,cH:()=>q,xx:()=>Y});var g=y(3537),a=y(7599),U=y(8578),z=y(9349),j=y(9005),F=y(4864),N=y(8931);function x(Pe,Le={}){let ze=function(Pe){return Pe.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}(Pe);return Le.preserveSpaces&&(ze=ze.replace(/ /g,"  ")),Le.preserveNewlines&&(ze=ze.replace(/(\r\n|\n|\r)/g,"<br />")),(0,N.fS)(ze)}var R=y(2324),W=y(2316),X=y(4541),G=y(3882),te=y(5370);const Y="file-not-found",q="fetching-error",_e="generated/",Ne=_e+"docs/",pe=Pe=>(0,R.Kw)(`\n <div class="nf-container l-flex-wrap flex-center">\n <div class="nf-icon material-icons">error_outline</div>\n <div class="nf-response l-flex-wrap center">\n <h1 class="no-toc">\u8bf7\u6c42\u6587\u6863\u5931\u8d25</h1>\n <p>\n \u62b1\u6b49\uff0c\u8fd9\u6b21\u6211\u4eec\u6ca1\u80fd\u53d6\u5230 "${x(Pe)}" \u9875\u3002\u8bf7\u68c0\u67e5\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u7a0d\u540e\u518d\u8bd5\u3002\n </p>\n </div>\n </div>\n`,"inline HTML with interpolations escaped");let me=(()=>{class Pe{constructor(ze,De,Re){this.logger=ze,this.http=De,this.cache=new Map,this.currentDocument=Re.currentPath.pipe((0,U.w)(Oe=>this.getDocument(Oe)))}getDocument(ze){const De=ze||"index";return this.logger.log("getting document",De),this.cache.has(De)||this.cache.set(De,this.fetchDocument(De)),this.cache.get(De)}fetchDocument(ze){const De=`${Ne}${function(Pe){return Pe.replace(/[A-Z_]/g,Le=>Le.toLowerCase()+"_")}(ze)}.json`,Re=new g.c;return this.logger.log("fetching document from",De),this.http.get(De,{responseType:"json"}).pipe((0,z.b)(Oe=>{if(!Oe||"object"!=typeof Oe)throw this.logger.log("received invalid data:",Oe),Error("Invalid data")}),(0,j.U)(Oe=>({id:Oe.id,contents:null===Oe.contents?null:(0,R.Kw)(Oe.contents,"^")})),(0,F.K)(Oe=>404===Oe.status?this.getFileNotFoundDoc(ze):this.getErrorDoc(ze,Oe))).subscribe(Re),Re.asObservable()}getFileNotFoundDoc(ze){return ze!==Y?(this.logger.error(new Error(`Document file not found at '${ze}'`)),this.getDocument(Y)):(0,a.of)({id:Y,contents:x("\u6587\u6863\u672a\u627e\u5230")})}getErrorDoc(ze,De){return this.logger.error(new Error(`Error fetching document '${ze}': (${De.message})`)),this.cache.delete(ze),(0,a.of)({id:q,contents:pe(ze)})}}return Pe.\u0275fac=function(ze){return new(ze||Pe)(W.LFG(X.Y),W.LFG(G.eN),W.LFG(te.a))},Pe.\u0275prov=W.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})()},1701:(Ze,ae,y)=>{y.d(ae,{o:()=>G});var g=y(1325),a=y(4915),U=Array.isArray;function z(te){return 1===te.length&&U(te[0])?te[0]:te}var j=y(6487);function N(te){return function(Y){for(var q=[],_e=function(pe){q.push((0,a.Xf)(te[pe]).subscribe(new j.Q(Y,function(me){if(q){for(var ce=0;ce<q.length;ce++)ce!==pe&&q[ce].unsubscribe();q=null}Y.next(me)})))},Ne=0;q&&!Y.closed&&Ne<te.length;Ne++)_e(Ne)}}var x=y(5552),H=y(6200),L=y(993),M=y(5051),R=y(2366);class W{constructor(Y,q){this.worker=Y,this.zone=q,this.nextId=0}static create(Y,q){return new W(Y,q)}sendMessage(Y,q){return new g.y(_e=>{const Ne=this.nextId++,pe=ce=>{const{type:Pe,id:Le,payload:ze}=ce.data;Y===Pe&&Ne===Le&&this.zone.run(()=>{_e.next(ze),_e.complete()})},me=ce=>{this.zone.run(()=>_e.error(ce))};return this.worker.addEventListener("message",pe),this.worker.addEventListener("error",me),this.worker.postMessage({type:Y,id:Ne,payload:q}),()=>{this.worker.removeEventListener("message",pe),this.worker.removeEventListener("error",me)}})}}var X=y(2316);let G=(()=>{class te{constructor(q){this.zone=q,this.searchesSubject=new x.t(1)}initWorker(q){const _e=this.ready=function(){for(var te=[],Y=0;Y<arguments.length;Y++)te[Y]=arguments[Y];return 1===(te=z(te)).length?(0,a.Xf)(te[0]):new g.y(N(te))}((0,H.H)(q),this.searchesSubject.asObservable().pipe((0,L.P)())).pipe((0,M.b)(()=>{const Ne=new Worker(y.tu(new URL(y.p+y.u("src_app_search_search_worker_ts"),y.b)),{type:void 0});return this.worker=W.create(Ne,this.zone),this.worker.sendMessage("load-index")}),(0,R._)(1));return _e.connect(),_e}search(q){return this.searchesSubject.next(q),this.ready.pipe((0,M.b)(()=>this.worker.sendMessage("query-index",q)))}}return te.\u0275fac=function(q){return new(q||te)(X.LFG(X.R0b))},te.\u0275prov=X.Yz7({token:te,factory:te.\u0275fac}),te})()},3964:(Ze,ae,y)=>{y.d(ae,{O:()=>z});var g=y(2340),a=y(4783),U=y(2316);let z=(()=>{class j{constructor(N){this.window=N,this.ga("create",g.N.gaId,"auto")}locationChanged(N){this.sendPage(N)}sendPage(N){N!==this.previousUrl&&(this.previousUrl=N,this.ga("set","page","/"+N),this.ga("send","pageview"))}sendEvent(N,x,H,L){this.ga("send","event",N,x,H,L)}ga(...N){const x=this.window.ga;x&&x(...N)}}return j.\u0275fac=function(N){return new(N||j)(U.LFG(a.R))},j.\u0275prov=U.Yz7({token:j,factory:j.\u0275fac}),j})()},5370:(Ze,ae,y)=>{y.d(ae,{a:()=>x});var g=y(5552),a=y(9005),U=y(9349),z=y(2316),j=y(3964),F=y(4364),N=y(9026);let x=(()=>{class H{constructor(M,R,W,X){this.gaService=M,this.location=R,this.scrollService=W,this.platformLocation=X,this.urlParser=document.createElement("a"),this.urlSubject=new g.t(1),this.fullPageNavigation=!1,this.currentUrl=this.urlSubject.pipe((0,a.U)(G=>this.stripSlashes(G))),this.currentPath=this.currentUrl.pipe((0,a.U)(G=>(G.match(/[^?#]*/)||[])[0]),(0,U.b)(G=>this.gaService.locationChanged(G))),this.urlSubject.next(R.path(!0)),this.location.subscribe(G=>this.urlSubject.next(G.url||""))}fullPageNavigationNeeded(){this.fullPageNavigation=!0}go(M){!M||(M=this.stripSlashes(M),/^http/.test(M)?this.goExternal(M):this.fullPageNavigation?(this.scrollService.removeStoredScrollInfo(),this.goExternal(M)):(this.location.go(M),this.urlSubject.next(M)))}goExternal(M){window.location.assign(M)}replace(M){window.location.replace(M)}reloadPage(){window.location.reload()}stripSlashes(M){return M.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}search(){const M={},R=this.location.path(),W=R.indexOf("?");if(W>-1)try{R.substr(W+1).split("&").forEach(G=>{const te=G.split("=");te[0]&&(M[decodeURIComponent(te[0])]=te[1]&&decodeURIComponent(te[1]))})}catch(X){}return M}setSearch(M,R){const W=Object.keys(R).reduce((X,G)=>{const te=R[G];return void 0===te?X:X+=(X?"&":"?")+`${encodeURIComponent(G)}=${encodeURIComponent(te)}`},"");this.platformLocation.replaceState({},M,this.platformLocation.pathname+W)}handleAnchorClick(M,R=0,W=!1,X=!1){var G,te;if(0!==R||W||X)return!0;const Y=M.target;if(Y&&"_self"!==Y||null!=M.getAttribute("download"))return!0;const{pathname:q,search:_e,hash:Ne}=M,pe=null!==(te=null===(G=M.getAttribute("href"))||void 0===G?void 0:G.startsWith("#"))&&void 0!==te&&te,ce=(pe?this.location.path():q)+_e+Ne;return this.urlParser.href=ce,!pe&&M.href!==this.urlParser.href||!/\/[^/.]*$/.test(q)||(this.go(ce),!1)}}return H.\u0275fac=function(M){return new(M||H)(z.LFG(j.O),z.LFG(F.Ye),z.LFG(N.a),z.LFG(F.lw))},H.\u0275prov=z.Yz7({token:H,factory:H.\u0275fac}),H})()},4541:(Ze,ae,y)=>{y.d(ae,{Y:()=>U});var g=y(2340),a=y(2316);let U=(()=>{class z{constructor(F){this.errorHandler=F}log(F,...N){g.N.production||console.log(F,...N)}error(F){this.errorHandler.handleError(F)}warn(F,...N){console.warn(F,...N)}}return z.\u0275fac=function(F){return new(F||z)(a.LFG(a.qLn))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac}),z})()},4727:(Ze,ae,y)=>{y.d(ae,{f_:()=>R});var g=y(4364),a=y(5552),U=y(8187),z=y(2027),j=y(4206),F=y(4094),N=y(2249),x=y(2316),H=y(9026);class L{constructor(X,G){this.element=X,this.index=G,this.top=0}calculateTop(X,G){this.top=X+this.element.getBoundingClientRect().top-G}}class M{constructor(X){this.activeScrollItem=new a.t(1),this.spiedElements=X.map((G,te)=>new L(G,te))}calibrate(X,G){this.spiedElements.forEach(te=>te.calculateTop(X,G)),this.spiedElements.sort((te,Y)=>Y.top-te.top)}onScroll(X,G){let te;X+1>=G?te=this.spiedElements[0]:this.spiedElements.some(Y=>Y.top<=X&&(te=Y,!0)),this.activeScrollItem.next(te||null)}}let R=(()=>{class W{constructor(G,te){this.doc=G,this.scrollService=te,this.spiedElementGroups=[],this.onStopListening=new U.x,this.resizeEvents=(0,z.R)(window,"resize").pipe((0,j.e)(300),(0,F.R)(this.onStopListening)),this.scrollEvents=(0,z.R)(window,"scroll").pipe((0,j.e)(10),(0,F.R)(this.onStopListening))}spyOn(G){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const te=this.getScrollTop(),Y=this.getTopOffset(),q=this.lastMaxScrollTop,_e=new M(G);return _e.calibrate(te,Y),_e.onScroll(te,q),this.spiedElementGroups.push(_e),{active:_e.activeScrollItem.asObservable().pipe((0,N.x)()),unspy:()=>this.unspy(_e)}}getContentHeight(){return this.doc.body.scrollHeight||Number.MAX_SAFE_INTEGER}getScrollTop(){return window&&window.pageYOffset||0}getTopOffset(){return this.scrollService.topOffset+50}getViewportHeight(){return this.doc.body.clientHeight||0}onResize(){const G=this.getContentHeight(),te=this.getViewportHeight(),Y=this.getScrollTop(),q=this.getTopOffset();this.lastContentHeight=G,this.lastMaxScrollTop=G-te,this.spiedElementGroups.forEach(_e=>_e.calibrate(Y,q))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const G=this.getScrollTop(),te=this.lastMaxScrollTop;this.spiedElementGroups.forEach(Y=>Y.onScroll(G,te))}unspy(G){G.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(te=>te!==G),this.spiedElementGroups.length||this.onStopListening.next()}}return W.\u0275fac=function(G){return new(G||W)(x.LFG(g.K0),x.LFG(H.a))},W.\u0275prov=x.Yz7({token:W,factory:W.\u0275fac}),W})()},9026:(Ze,ae,y)=>{y.d(ae,{a:()=>H});var g=y(4364),a=y(8187),U=y(2027),z=y(4094),j=y(1775),F=y(6945),N=y(2316);let H=(()=>{class M{constructor(W,X,G,te,Y){if(this.document=W,this.platformLocation=X,this.viewportScroller=G,this.location=te,this.storage=Y,this.onDestroy=new a.x,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"pageXOffset"in window&&function(){const M=Object.getOwnPropertyDescriptor(history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(history),"scrollRestoration");return void 0!==M&&!(!M.writable&&!M.set)}(),(0,U.R)(window,"resize").pipe((0,z.R)(this.onDestroy)).subscribe(()=>this._topOffset=null),(0,U.R)(window,"scroll").pipe((0,j.b)(250),(0,z.R)(this.onDestroy)).subscribe(()=>this.updateScrollPositionInHistory()),(0,U.R)(window,"beforeunload").pipe((0,z.R)(this.onDestroy)).subscribe(()=>this.updateScrollLocationHref()),this.supportManualScrollRestoration){history.scrollRestoration="manual";const q=this.location.subscribe(_e=>{"hashchange"===_e.type?this.scrollToPosition():(this.removeStoredScrollInfo(),this.poppedStateScrollPosition=_e.state?_e.state.scrollPosition:null)});this.onDestroy.subscribe(()=>q.unsubscribe())}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}get topOffset(){if(!this._topOffset){const W=this.document.querySelector(".app-toolbar");this._topOffset=(W&&W.clientHeight||0)+16}return this._topOffset}get topOfPageElement(){return this._topOfPageElement||(this._topOfPageElement=this.document.getElementById("top-of-page")||this.document.body),this._topOfPageElement}ngOnDestroy(){this.onDestroy.next()}scroll(){var W;const X=this.getCurrentHash(),G=X?null!==(W=this.document.getElementById(X))&&void 0!==W?W:null:this.topOfPageElement;this.scrollToElement(G)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(W){const X=this.getStoredScrollPosition();X?this.viewportScroller.scrollToPosition(X):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),W):this.scrollToTop()}scrollToElement(W){var X;W&&(W.scrollIntoView(),null===(X=W.focus)||void 0===X||X.call(W),window&&window.scrollBy&&(window.scrollBy(0,W.getBoundingClientRect().top-this.topOffset),window.pageYOffset<20&&window.scrollBy(0,-window.pageYOffset)))}scrollToTop(){this.scrollToElement(this.topOfPageElement)}scrollToPosition(){this.poppedStateScrollPosition&&(this.viewportScroller.scrollToPosition(this.poppedStateScrollPosition),this.poppedStateScrollPosition=null)}updateScrollLocationHref(){this.storage.setItem("scrollLocationHref",window.location.href)}updateScrollPositionInHistory(){if(this.supportManualScrollRestoration){const W=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:W}),this.storage.setItem("scrollPosition",W.join(","))}}getStoredScrollLocationHref(){return this.storage.getItem("scrollLocationHref")||null}getStoredScrollPosition(){const W=this.storage.getItem("scrollPosition");if(!W)return null;const[X,G]=W.split(",");return[+X,+G]}removeStoredScrollInfo(){this.storage.removeItem("scrollLocationHref"),this.storage.removeItem("scrollPosition")}needToFixScrollPosition(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}getCurrentHash(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}}return M.\u0275fac=function(W){return new(W||M)(N.LFG(g.K0),N.LFG(g.lw),N.LFG(g.EM),N.LFG(g.Ye),N.LFG(F.xg))},M.\u0275prov=N.Yz7({token:M,factory:M.\u0275fac}),M})()},26:(Ze,ae,y)=>{y.d(ae,{G:()=>R});var g=y(2316),a=y(4364);function U(G,te){1&G&&(g.ynx(0),g.TgZ(1,"p",2),g._uU(2,"Searching ..."),g.qZA(),g.BQk())}function z(G,te){if(1&G&&g._UZ(0,"span"),2&G){const Y=g.oxw().$implicit;g.Gre("symbol ",Y.type,"")}}function j(G,te){if(1&G){const Y=g.EpF();g.TgZ(0,"li",9),g.TgZ(1,"a",10),g.NdJ("click",function(_e){const pe=g.CHM(Y).$implicit;return g.oxw(3).onResultSelected(pe,_e)}),g.YNc(2,z,1,3,"span",11),g.TgZ(3,"span"),g._uU(4),g.qZA(),g.qZA(),g.qZA()}if(2&G){const Y=te.$implicit,q=g.oxw().$implicit;g.xp6(1),g.s9C("href",Y.path,g.LSH),g.xp6(1),g.Q6J("ngIf","api"===q.name),g.xp6(1),g.ekj("deprecated-api-item",Y.deprecated),g.xp6(1),g.Oqu(Y.title)}}function F(G,te){if(1&G&&g._UZ(0,"span"),2&G){const Y=g.oxw().$implicit;g.Gre("symbol ",Y.type,"")}}function N(G,te){if(1&G){const Y=g.EpF();g.TgZ(0,"li",9),g.TgZ(1,"a",10),g.NdJ("click",function(_e){const pe=g.CHM(Y).$implicit;return g.oxw(3).onResultSelected(pe,_e)}),g.YNc(2,F,1,3,"span",11),g.TgZ(3,"span"),g._uU(4),g.qZA(),g.qZA(),g.qZA()}if(2&G){const Y=te.$implicit,q=g.oxw().$implicit;g.xp6(1),g.s9C("href",Y.path,g.LSH),g.xp6(1),g.Q6J("ngIf","api"===q.name),g.xp6(1),g.ekj("deprecated-api-item",Y.deprecated),g.xp6(1),g.Oqu(Y.title)}}function x(G,te){if(1&G&&(g.TgZ(0,"div",5),g.TgZ(1,"h3",6),g._uU(2),g.qZA(),g.TgZ(3,"ul",7),g.YNc(4,j,5,5,"li",8),g.qZA(),g.TgZ(5,"ul"),g.YNc(6,N,5,5,"li",8),g.qZA(),g.qZA()),2&G){const Y=te.$implicit;g.xp6(2),g.AsE("",Y.name," (",Y.pages.length+Y.priorityPages.length,")"),g.xp6(2),g.Q6J("ngForOf",Y.priorityPages),g.xp6(2),g.Q6J("ngForOf",Y.pages)}}function H(G,te){if(1&G&&(g.ynx(0),g.TgZ(1,"h2",3),g._uU(2,"Search Results"),g.qZA(),g.YNc(3,x,7,4,"div",4),g.BQk()),2&G){const Y=g.oxw();g.xp6(3),g.Q6J("ngForOf",Y.searchAreas)}}function L(G,te){1&G&&(g.ynx(0),g.TgZ(1,"div",5),g.TgZ(2,"p",2),g._uU(3," No results found."),g._UZ(4,"br"),g._uU(5," Here are a few links that might be helpful in finding what you are looking for: "),g.qZA(),g.TgZ(6,"ul",7),g.TgZ(7,"li",9),g.TgZ(8,"a",12),g._uU(9,"API reference"),g.qZA(),g.qZA(),g.TgZ(10,"li",9),g.TgZ(11,"a",13),g._uU(12,"Resources"),g.qZA(),g.qZA(),g.TgZ(13,"li",9),g.TgZ(14,"a",14),g._uU(15,"Glossary"),g.qZA(),g.qZA(),g.TgZ(16,"li",9),g.TgZ(17,"a",15),g._uU(18,"Cheat-sheet"),g.qZA(),g.qZA(),g.TgZ(19,"li",9),g.TgZ(20,"a",16),g._uU(21,"Angular blog"),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.BQk())}var M=(()=>{return(G=M||(M={})).InProgress="in-progress",G.ResultsFound="results-found",G.NoResultsFound="no-results-found",M;var G})();let R=(()=>{class G{constructor(){this.searchResults=null,this.resultSelected=new g.vpe,this.searchState=M.InProgress,this.defaultArea="other",this.folderToAreaMap={api:"api",cli:"cli",docs:"guides",errors:"errors",guide:"guides",start:"tutorials",tutorial:"tutorials"},this.searchAreas=[]}ngOnChanges(){this.searchState=null===this.searchResults?M.InProgress:this.searchResults.results.length?M.ResultsFound:M.NoResultsFound,this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(Y,q){0===q.button&&!q.ctrlKey&&!q.metaKey&&this.resultSelected.emit(Y)}processSearchResults(Y){if(!Y)return[];const q={};return Y.results.forEach(Ne=>{if(!Ne.title)return;const pe=this.computeAreaName(Ne);(q[pe]=q[pe]||[]).push(Ne)}),Object.keys(q).sort((Ne,pe)=>Ne>pe?1:-1).map(Ne=>{const{priorityPages:pe,pages:me,deprecated:ce}=function(G){const te=[],Y=[],q=[];for(G.forEach(_e=>{_e.deprecated?q.push(_e):te.length<5?te.push(_e):Y.push(_e)});te.length<5&&Y.length;)te.push(Y.shift());for(;te.length<5&&q.length;)te.push(q.shift());return Y.sort(X),{priorityPages:te,pages:Y,deprecated:q}}(q[Ne]);return{name:Ne,priorityPages:pe,pages:me.concat(ce)}})}computeAreaName(Y){var q;const[_e]=Y.path.split("/",1);return null!==(q=this.folderToAreaMap[_e])&&void 0!==q?q:this.defaultArea}}return G.\u0275fac=function(Y){return new(Y||G)},G.\u0275cmp=g.Xpm({type:G,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[g.TTD],decls:4,vars:4,consts:[[1,"search-results",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"no-results"],[1,"visually-hidden"],["class","search-area",4,"ngFor","ngForOf"],[1,"search-area"],[1,"search-section-header"],[1,"priority-pages"],["class","search-page",4,"ngFor","ngForOf"],[1,"search-page"],[1,"search-result-item",3,"href","click"],[3,"class",4,"ngIf"],["href","api",1,"search-result-item"],["href","resources",1,"search-result-item"],["href","guide/glossary",1,"search-result-item"],["href","guide/cheatsheet",1,"search-result-item"],["href","https://blog.angular.io/",1,"search-result-item"]],template:function(Y,q){1&Y&&(g.TgZ(0,"div",0),g.YNc(1,U,3,0,"ng-container",1),g.YNc(2,H,4,1,"ng-container",1),g.YNc(3,L,22,0,"ng-container",1),g.qZA()),2&Y&&(g.Q6J("ngSwitch",q.searchState),g.xp6(1),g.Q6J("ngSwitchCase","in-progress"),g.xp6(1),g.Q6J("ngSwitchCase","results-found"),g.xp6(1),g.Q6J("ngSwitchCase","no-results-found"))},directives:[a.RF,a.n9,a.sg,a.O5],encapsulation:2}),G})();function X(G,te){return G.title.toUpperCase()>te.title.toUpperCase()?1:-1}},6155:(Ze,ae,y)=>{y.d(ae,{Iv:()=>a,lZ:()=>U,YP:()=>z});var g=y(2324);function a(j){return(0,g.Kw)(j.innerHTML,"^")}function U(j){return(0,g.Kw)(j.outerHTML,"^")}function z(j){return(0,g.Kw)(j[0],"^")}},587:(Ze,ae,y)=>{y.d(ae,{H:()=>N});var g=y(2316),a=y(4364);function U(x,H){if(1&x&&g._UZ(0,"span"),2&x){const L=g.oxw();g.Gre("symbol ",null==L.selected?null:L.selected.value,"")}}function z(x,H){if(1&x&&g._UZ(0,"span"),2&x){const L=g.oxw().$implicit;g.Gre("symbol ",L.value,"")}}function j(x,H){if(1&x){const L=g.EpF();g.TgZ(0,"li",6),g.NdJ("click",function(){const R=g.CHM(L),W=R.$implicit,X=R.index;return g.oxw(2).select(W,X)})("keydown.enter",function(){const R=g.CHM(L),W=R.$implicit,X=R.index;return g.oxw(2).select(W,X)})("keydown.space",function(R){const W=g.CHM(L),X=W.$implicit,G=W.index;return g.oxw(2).select(X,G),R.preventDefault()}),g.YNc(1,z,1,3,"span",2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.qZA()}if(2&x){const L=H.$implicit,M=g.oxw(2);g.ekj("selected",L===M.selected),g.xp6(1),g.Q6J("ngIf",M.showSymbol),g.xp6(2),g.Oqu(L.title)}}function F(x,H){if(1&x&&(g.TgZ(0,"ul",4),g.YNc(1,j,4,4,"li",5),g.qZA()),2&x){const L=g.oxw();g.xp6(1),g.Q6J("ngForOf",L.options)}}let N=(()=>{class x{constructor(L){this.hostElement=L,this.change=new g.vpe,this.showSymbol=!1,this.showOptions=!1}ngOnInit(){this.label=this.label||""}toggleOptions(){this.showOptions=!this.showOptions}hideOptions(){this.showOptions=!1}select(L,M){this.selected=L,this.change.emit({option:L,index:M}),this.hideOptions()}onClick(L){this.hostElement.nativeElement.contains(L)||this.hideOptions()}onKeyDown(){this.hideOptions()}}return x.\u0275fac=function(L){return new(L||x)(g.Y36(g.SBq))},x.\u0275cmp=g.Xpm({type:x,selectors:[["aio-select"]],hostBindings:function(L,M){1&L&&g.NdJ("click",function(W){return M.onClick(W.target)},!1,g.evT)("keydown.escape",function(){return M.onKeyDown()},!1,g.evT)},inputs:{selected:"selected",options:"options",showSymbol:"showSymbol",label:"label",disabled:"disabled"},outputs:{change:"change"},decls:9,vars:5,consts:[[1,"form-select-menu"],[1,"form-select-button",3,"disabled","click"],[3,"class",4,"ngIf"],["class","form-select-dropdown",4,"ngIf"],[1,"form-select-dropdown"],["role","button","tabindex","0",3,"selected","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["role","button","tabindex","0",3,"click","keydown.enter","keydown.space"]],template:function(L,M){1&L&&(g.TgZ(0,"div",0),g.TgZ(1,"button",1),g.NdJ("click",function(){return M.toggleOptions()}),g.TgZ(2,"span"),g.TgZ(3,"strong"),g._uU(4),g.qZA(),g.qZA(),g.YNc(5,U,1,3,"span",2),g.TgZ(6,"span"),g._uU(7),g.qZA(),g.qZA(),g.YNc(8,F,2,1,"ul",3),g.qZA()),2&L&&(g.xp6(1),g.Q6J("disabled",M.disabled),g.xp6(3),g.Oqu(M.label),g.xp6(1),g.Q6J("ngIf",M.showSymbol),g.xp6(2),g.Oqu(null==M.selected?null:M.selected.title),g.xp6(1),g.Q6J("ngIf",M.showOptions))},directives:[a.O5,a.sg],encapsulation:2}),x})()},4466:(Ze,ae,y)=>{y.d(ae,{m:()=>U});var g=y(4364),a=y(2316);let U=(()=>{class z{}return z.\u0275fac=function(F){return new(F||z)},z.\u0275mod=a.oAB({type:z}),z.\u0275inj=a.cJS({imports:[[g.ez]]}),z})()},6945:(Ze,ae,y)=>{y.d(ae,{mM:()=>U,xg:()=>z,Un:()=>j});var g=y(2316),a=y(4783);const U=new g.OlP("LocalStorage"),z=new g.OlP("SessionStorage"),j=[{provide:U,useFactory:x=>N(x,"localStorage"),deps:[a.R]},{provide:z,useFactory:x=>N(x,"sessionStorage"),deps:[a.R]}];class F{constructor(){this.length=0}clear(){}getItem(){return null}key(){return null}removeItem(){}setItem(){}}function N(x,H){try{return x[H]}catch(L){return new F}}},6308:(Ze,ae,y)=>{y.d(ae,{I:()=>x});var g=y(4364),a=y(5552),U=y(8931),z=y(6155),j=y(2316),F=y(1570),N=y(4727);let x=(()=>{class M{constructor(W,X,G){this.document=W,this.domSanitizer=X,this.scrollSpyService=G,this.tocList=new a.t(1),this.activeItemIndex=new a.t(1),this.scrollSpyInfo=null}genToc(W,X=""){if(this.resetScrollSpyInfo(),!W)return void this.tocList.next([]);const G=this.findTocHeadings(W),te=new Map,Y=G.map(q=>{const{title:_e,content:Ne}=this.extractHeadingSafeHtml(q);return{level:q.tagName.toLowerCase(),href:`${X}#${this.getId(q,te)}`,title:_e,content:Ne}});this.tocList.next(Y),this.scrollSpyInfo=this.scrollSpyService.spyOn(G),this.scrollSpyInfo.active.subscribe(q=>this.activeItemIndex.next(q&&q.index))}reset(){this.resetScrollSpyInfo(),this.tocList.next([])}extractHeadingSafeHtml(W){const X=this.document.createElement("div");return X.innerHTML=(0,U.X$)((0,z.Iv)(W)),H(X,".github-links, .header-link").forEach(L),H(X,"a").forEach(G=>{const te=G.parentNode;for(;G.childNodes.length;)te.insertBefore(G.childNodes[0],G);L(G)}),{content:this.domSanitizer.bypassSecurityTrustHtml(X.innerHTML.trim()),title:(X.textContent||"").trim()}}findTocHeadings(W){return H(W,"h1,h2,h3").filter(te=>!/(?:no-toc|notoc)/i.test(te.className)&&!this.isOriginalText(te))}isOriginalText(W){if(W&&W.hasAttribute("translation-origin")){let X=W.previousElementSibling;if(X&&"AIO-TOC"===X.tagName&&(X=X.previousElementSibling),X&&X.hasAttribute("translation-result"))return!0}return!1}resetScrollSpyInfo(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}getId(W,X){let G=W.id;return G?te(G):(G=(W.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),G=te(G),W.id=G),G;function te(Y){const _e=(X.get(Y)||0)+1;return X.set(Y,_e),1===_e?Y:`${Y}-${_e}`}}}return M.\u0275fac=function(W){return new(W||M)(j.LFG(g.K0),j.LFG(F.H7),j.LFG(N.f_))},M.\u0275prov=j.Yz7({token:M,factory:M.\u0275fac}),M})();function H(M,R){return Array.from(M.querySelectorAll(R))}function L(M){null!==M.parentNode&&M.parentNode.removeChild(M)}},4783:(Ze,ae,y)=>{y.d(ae,{R:()=>a,s:()=>U});const a=new(y(2316).OlP)("Window");function U(){return window}},2340:(Ze,ae,y)=>{y.d(ae,{N:()=>g});const g={gaId:"UA-80456300-1",production:!0,mode:"stable"}},1787:(Ze,ae,y)=>{var g=y(1570),a=y(2316),U=y(3882),z=y(8848),j=y(4364),F=y(1325),N=y(4915);function x(c){return new F.y(function(u){(0,N.Xf)(c()).subscribe(u)})}var H=y(864),L=y(2027),M=y(7599),R=y(6575),W=y(8187),X=y(6484),G=new F.y(X.Z),Y=y(7159),q=y(9005),_e=y(6477),Ne=y(8578),pe=y(6377),Pe=(y(3509),y(5116)),Le=y(9349),ze=y(9216),De=y(3256),Re=y(6487);function Ve(c){return(0,q.U)(function(){return c})}var $e=y(7023);function Fe(c,u){return u?function(o){return(0,R.z)(u.pipe((0,Pe.q)(1),(0,De.e)(function(c,u){c.subscribe(new Re.Q(u,X.Z))})),o.pipe(Fe(c)))}:(0,$e.z)(function(o,d){return c(o,d).pipe((0,Pe.q)(1),Ve(o))})}var dt=y(6200);const sn="Service workers are disabled or not supported by this browser";class Ut{constructor(u){if(this.serviceWorker=u,u){const d=(0,L.R)(u,"controllerchange").pipe((0,q.U)(()=>u.controller)),_=x(()=>(0,M.of)(u.controller)),D=(0,R.z)(_,d);this.worker=D.pipe((0,_e.h)(it=>!!it)),this.registration=this.worker.pipe((0,Ne.w)(()=>u.getRegistration()));const Ye=(0,L.R)(u,"message").pipe((0,q.U)(it=>it.data)).pipe((0,_e.h)(it=>it&&it.type)).pipe(function(u){return(0,pe.O)(new W.x)(u)});Ye.connect(),this.events=Ye}else this.worker=this.events=this.registration=(sn,x(()=>(0,H._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(u,o){return this.worker.pipe((0,Pe.q)(1),(0,Le.b)(d=>{d.postMessage(Object.assign({action:u},o))})).toPromise().then(()=>{})}postMessageWithStatus(u,o,d){const _=this.waitForStatus(d),D=this.postMessage(u,o);return Promise.all([_,D]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(u){return this.events.pipe((0,_e.h)(d=>d.type===u))}nextEventOfType(u){return this.eventsOfType(u).pipe((0,Pe.q)(1))}waitForStatus(u){return this.eventsOfType("STATUS").pipe((0,_e.h)(o=>o.nonce===u),(0,Pe.q)(1),(0,q.U)(o=>{if(!o.status)throw new Error(o.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Mt=(()=>{class c{constructor(o){if(this.sw=o,this.subscriptionChanges=new W.x,!o.isEnabled)return this.messages=G,this.notificationClicks=G,void(this.subscription=G);this.messages=this.sw.eventsOfType("PUSH").pipe((0,q.U)(_=>_.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,q.U)(_=>_.data)),this.pushManager=this.sw.registration.pipe((0,q.U)(_=>_.pushManager));const d=this.pushManager.pipe((0,Ne.w)(_=>_.getSubscription()));this.subscription=(0,Y.T)(d,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(o){if(!this.sw.isEnabled)return Promise.reject(new Error(sn));const d={userVisibleOnly:!0};let _=this.decodeBase64(o.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),D=new Uint8Array(new ArrayBuffer(_.length));for(let O=0;O<_.length;O++)D[O]=_.charCodeAt(O);return d.applicationServerKey=D,this.pushManager.pipe((0,Ne.w)(O=>O.subscribe(d)),(0,Pe.q)(1)).toPromise().then(O=>(this.subscriptionChanges.next(O),O))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Pe.q)(1),(0,Ne.w)(d=>{if(null===d)throw new Error("Not subscribed to push notifications.");return d.unsubscribe().then(_=>{if(!_)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(sn))}decodeBase64(o){return atob(o)}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(Ut))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})(),on=(()=>{class c{constructor(o){if(this.sw=o,!o.isEnabled)return this.available=G,this.activated=G,void(this.unrecoverable=G);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(sn));const o=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:o},o)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(sn));const o=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:o},o)}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(Ut))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();class Fn{}const xn=new a.OlP("NGSW_REGISTER_SCRIPT");function Ht(c,u,o,d){return()=>{if(!(0,j.NF)(d)||!("serviceWorker"in navigator)||!1===o.enabled)return;let D;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof o.registrationStrategy)D=o.registrationStrategy();else{const[$,...Ce]=(o.registrationStrategy||"registerWhenStable:30000").split(":");switch($){case"registerImmediately":D=(0,M.of)(null);break;case"registerWithDelay":D=Sn(+Ce[0]||0);break;case"registerWhenStable":D=Ce[0]?(0,Y.T)(zt(c),Sn(+Ce[0])):zt(c);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${o.registrationStrategy}`)}}c.get(a.R0b).runOutsideAngular(()=>D.pipe((0,Pe.q)(1)).subscribe(()=>navigator.serviceWorker.register(u,{scope:o.scope}).catch($=>console.error("Service worker registration failed with:",$))))}}function Sn(c){return(0,M.of)(null).pipe(function(c,u){void 0===u&&(u=ze.z);var o=(0,dt.H)(c,u);return Fe(function(){return o})}(c))}function zt(c){return c.get(a.z2F).isStable.pipe((0,_e.h)(o=>o))}function fn(c,u){return new Ut((0,j.NF)(u)&&!1!==c.enabled?navigator.serviceWorker:void 0)}let pn=(()=>{class c{static register(o,d={}){return{ngModule:c,providers:[{provide:xn,useValue:o},{provide:Fn,useValue:d},{provide:Ut,useFactory:fn,deps:[Fn,a.Lbi]},{provide:a.ip1,useFactory:Ht,deps:[a.zs3,xn,Fn,a.Lbi],multi:!0}]}}}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({providers:[Mt,on]}),c})();var hn=y(781),ot=y(7280),wt=y(8920),be=y(657),xe=y(1289);const qe=["primaryValueBar"],nt=(0,wt.pj)(class{constructor(c){this._elementRef=c}},"primary"),Qe=new a.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){const c=(0,a.f3M)(j.K0),u=c?c.location:null;return{getPathname:()=>u?u.pathname+u.search:""}}}),cn=new a.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let Yt=0,je=(()=>{class c extends nt{constructor(o,d,_,D,O){super(o),this._ngZone=d,this._animationMode=_,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new a.vpe,this._animationEndSubscription=xe.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+Yt++;const $=D?D.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${$}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===_,O&&(O.color&&(this.color=this.defaultColor=O.color),this.mode=O.mode||this.mode)}get value(){return this._value}set value(o){this._value=ue((0,be.su)(o)||0)}get bufferValue(){return this._bufferValue}set bufferValue(o){this._bufferValue=ue(o||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const o=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,L.R)(o,"transitionend").pipe((0,_e.h)(d=>d.target===o)).subscribe(()=>{("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(z.Qb,8),a.Y36(Qe,8),a.Y36(cn,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-progress-bar"]],viewQuery:function(o,d){if(1&o&&a.Gf(qe,5),2&o){let _;a.iGM(_=a.CRH())&&(d._primaryValueBar=_.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(o,d){2&o&&(a.uIk("aria-valuenow","indeterminate"===d.mode||"query"===d.mode?null:d.value)("mode",d.mode),a.ekj("_mat-animation-noopable",d._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[a.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(o,d){1&o&&(a.TgZ(0,"div",0),a.O4$(),a.TgZ(1,"svg",1),a.TgZ(2,"defs"),a.TgZ(3,"pattern",2),a._UZ(4,"circle",3),a.qZA(),a.qZA(),a._UZ(5,"rect",4),a.qZA(),a.kcU(),a._UZ(6,"div",5),a._UZ(7,"div",6,7),a._UZ(9,"div",8),a.qZA()),2&o&&(a.xp6(3),a.Q6J("id",d.progressbarId),a.xp6(2),a.uIk("fill",d._rectangleFillValue),a.xp6(1),a.Q6J("ngStyle",d._bufferTransform()),a.xp6(1),a.Q6J("ngStyle",d._primaryTransform()))},directives:[j.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),c})();function ue(c,u=0,o=100){return Math.max(u,Math.min(o,c))}let de=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({imports:[[j.ez,wt.BQ],wt.BQ]}),c})();var oe=y(6145),ne=y(5537),I=y(84),K=y(4094),ve=y(2249),Ue=y(7993),st=y(1775),pt=y(7175),at=y(1606),ft=y(772);const _t=["*"];function mt(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(o),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&c){const o=a.oxw();a.ekj("mat-drawer-shown",o._isShowingBackdrop())}}function ye(c,u){1&c&&(a.TgZ(0,"mat-drawer-content"),a.Hsn(1,2),a.qZA())}const fe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Z=["mat-drawer","mat-drawer-content","*"];function Te(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(o),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&c){const o=a.oxw();a.ekj("mat-drawer-shown",o._isShowingBackdrop())}}function ct(c,u){1&c&&(a.TgZ(0,"mat-sidenav-content",3),a.Hsn(1,2),a.qZA())}const Se=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],le=["mat-sidenav","mat-sidenav-content","*"],J=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",we={transformDrawer:(0,pt.X$)("transform",[(0,pt.SB)("open, open-instant",(0,pt.oB)({transform:"none",visibility:"visible"})),(0,pt.SB)("void",(0,pt.oB)({"box-shadow":"none",visibility:"hidden"})),(0,pt.eR)("void => open-instant",(0,pt.jt)("0ms")),(0,pt.eR)("void <=> open, open-instant => void",(0,pt.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},rt=new a.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),bt=new a.OlP("MAT_DRAWER_CONTAINER");let kn=(()=>{class c extends ne.PQ{constructor(o,d,_,D,O){super(_,D,O),this._changeDetectorRef=o,this._container=d}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(()=>Dr)),a.Y36(a.SBq),a.Y36(ne.mF),a.Y36(a.R0b))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(o,d){2&o&&a.Udp("margin-left",d._container._contentMargins.left,"px")("margin-right",d._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:_t,decls:1,vars:0,template:function(o,d){1&o&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),c})(),er=(()=>{class c{constructor(o,d,_,D,O,$,Ce,Ye){this._elementRef=o,this._focusTrapFactory=d,this._focusMonitor=_,this._platform=D,this._ngZone=O,this._interactivityChecker=$,this._doc=Ce,this._container=Ye,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new W.x,this._animationEnd=new W.x,this._animationState="void",this.openedChange=new a.vpe(!0),this._openedStream=this.openedChange.pipe((0,_e.h)(it=>it),(0,q.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,_e.h)(it=>it.fromState!==it.toState&&0===it.toState.indexOf("open")),Ve(void 0)),this._closedStream=this.openedChange.pipe((0,_e.h)(it=>!it),(0,q.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,_e.h)(it=>it.fromState!==it.toState&&"void"===it.toState),Ve(void 0)),this._destroyed=new W.x,this.onPositionChanged=new a.vpe,this._modeChanged=new W.x,this.openedChange.subscribe(it=>{it?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,L.R)(this._elementRef.nativeElement,"keydown").pipe((0,_e.h)(it=>it.keyCode===I.hY&&!this.disableClose&&!(0,I.Vb)(it)),(0,K.R)(this._destroyed)).subscribe(it=>this._ngZone.run(()=>{this.close(),it.stopPropagation(),it.preventDefault()}))}),this._animationEnd.pipe((0,ve.x)((it,ut)=>it.fromState===ut.fromState&&it.toState===ut.toState)).subscribe(it=>{const{fromState:ut,toState:At}=it;(0===At.indexOf("open")&&"void"===ut||"void"===At&&0===ut.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(o){(o="end"===o?"end":"start")!=this._position&&(this._position=o,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(o){this._mode=o,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(o){this._disableClose=(0,be.Ig)(o)}get autoFocus(){const o=this._autoFocus;return null==o?"side"===this.mode?"dialog":"first-tabbable":o}set autoFocus(o){("true"===o||"false"===o)&&(o=(0,be.Ig)(o)),this._autoFocus=o}get opened(){return this._opened}set opened(o){this.toggle((0,be.Ig)(o))}_forceFocus(o,d){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{o.addEventListener("blur",()=>o.removeAttribute("tabindex")),o.addEventListener("mousedown",()=>o.removeAttribute("tabindex"))})),o.focus(d)}_focusByCssSelector(o,d){let _=this._elementRef.nativeElement.querySelector(o);_&&this._forceFocus(_,d)}_takeFocus(){if(!this._focusTrap)return;const o=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(d=>{!d&&"function"==typeof this._elementRef.nativeElement.focus&&o.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(o){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,o):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){var o;const d=null===(o=this._doc)||void 0===o?void 0:o.activeElement;return!!d&&this._elementRef.nativeElement.contains(d)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(o){return this.toggle(!0,o)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(o=!this.opened,d){o&&d&&(this._openedVia=d);const _=this._setOpen(o,!o&&this._isFocusWithinDrawer(),this._openedVia||"program");return o||(this._openedVia=null),_}_setOpen(o,d,_){return this._opened=o,o?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",d&&this._restoreFocus(_)),this._updateFocusTrapState(),new Promise(D=>{this.openedChange.pipe((0,Pe.q)(1)).subscribe(O=>D(O?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(o){this._animationStarted.next(o)}_animationDoneListener(o){this._animationEnd.next(o)}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.SBq),a.Y36(at.qV),a.Y36(at.tE),a.Y36(oe.t4),a.Y36(a.R0b),a.Y36(at.ic),a.Y36(j.K0,8),a.Y36(bt,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(o,d){1&o&&a.WFA("@transform.start",function(D){return d._animationStartListener(D)})("@transform.done",function(D){return d._animationDoneListener(D)}),2&o&&(a.uIk("align",null),a.d8E("@transform",d._animationState),a.ekj("mat-drawer-end","end"===d.position)("mat-drawer-over","over"===d.mode)("mat-drawer-push","push"===d.mode)("mat-drawer-side","side"===d.mode)("mat-drawer-opened",d.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:_t,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(o,d){1&o&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[ne.PQ],encapsulation:2,data:{animation:[we.transformDrawer]},changeDetection:0}),c})(),Dr=(()=>{class c{constructor(o,d,_,D,O,$=!1,Ce){this._dir=o,this._element=d,this._ngZone=_,this._changeDetectorRef=D,this._animationMode=Ce,this._drawers=new a.n_E,this.backdropClick=new a.vpe,this._destroyed=new W.x,this._doCheckSubject=new W.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new W.x,o&&o.change.pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),O.change().pipe((0,K.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=$}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(o){this._autosize=(0,be.Ig)(o)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(o){this._backdropOverride=null==o?null:(0,be.Ig)(o)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Ue.O)(this._allDrawers),(0,K.R)(this._destroyed)).subscribe(o=>{this._drawers.reset(o.filter(d=>!d._container||d._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Ue.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(o=>{this._watchDrawerToggle(o),this._watchDrawerPosition(o),this._watchDrawerMode(o)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,st.b)(10),(0,K.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(o=>o.open())}close(){this._drawers.forEach(o=>o.close())}updateContentMargins(){let o=0,d=0;if(this._left&&this._left.opened)if("side"==this._left.mode)o+=this._left._getWidth();else if("push"==this._left.mode){const _=this._left._getWidth();o+=_,d-=_}if(this._right&&this._right.opened)if("side"==this._right.mode)d+=this._right._getWidth();else if("push"==this._right.mode){const _=this._right._getWidth();d+=_,o-=_}o=o||null,d=d||null,(o!==this._contentMargins.left||d!==this._contentMargins.right)&&(this._contentMargins={left:o,right:d},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(o){o._animationStarted.pipe((0,_e.h)(d=>d.fromState!==d.toState),(0,K.R)(this._drawers.changes)).subscribe(d=>{"open-instant"!==d.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==o.mode&&o.openedChange.pipe((0,K.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(o.opened))}_watchDrawerPosition(o){!o||o.onPositionChanged.pipe((0,K.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Pe.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(o){o&&o._modeChanged.pipe((0,K.R)((0,Y.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(o){const d=this._element.nativeElement.classList,_="mat-drawer-container-has-open";o?d.add(_):d.remove(_)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(o=>{"end"==o.position?this._end=o:this._start=o}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(o=>o&&!o.disableClose&&this._canHaveBackdrop(o)).forEach(o=>o._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(o){return"side"!==o.mode||!!this._backdropOverride}_isDrawerOpen(o){return null!=o&&o.opened}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(ft.Is,8),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(ne.rL),a.Y36(rt),a.Y36(z.Qb,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-drawer-container"]],contentQueries:function(o,d,_){if(1&o&&(a.Suo(_,kn,5),a.Suo(_,er,5)),2&o){let D;a.iGM(D=a.CRH())&&(d._content=D.first),a.iGM(D=a.CRH())&&(d._allDrawers=D)}},viewQuery:function(o,d){if(1&o&&a.Gf(kn,5),2&o){let _;a.iGM(_=a.CRH())&&(d._userContent=_.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(o,d){2&o&&a.ekj("mat-drawer-container-explicit-backdrop",d._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a._Bn([{provide:bt,useExisting:c}])],ngContentSelectors:Z,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(o,d){1&o&&(a.F$t(fe),a.YNc(0,mt,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,ye,2,0,"mat-drawer-content",1)),2&o&&(a.Q6J("ngIf",d.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!d._content))},directives:[j.O5,kn],styles:[J],encapsulation:2,changeDetection:0}),c})(),ci=(()=>{class c extends kn{constructor(o,d,_,D,O){super(o,d,_,D,O)}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(()=>ui)),a.Y36(a.SBq),a.Y36(ne.mF),a.Y36(a.R0b))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(o,d){2&o&&a.Udp("margin-left",d._container._contentMargins.left,"px")("margin-right",d._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:_t,decls:1,vars:0,template:function(o,d){1&o&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),c})(),qr=(()=>{class c extends er{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(o){this._fixedInViewport=(0,be.Ig)(o)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(o){this._fixedTopGap=(0,be.su)(o)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(o){this._fixedBottomGap=(0,be.su)(o)}}return c.\u0275fac=function(){let u;return function(d){return(u||(u=a.n5z(c)))(d||c)}}(),c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(o,d){2&o&&(a.uIk("align",null),a.Udp("top",d.fixedInViewport?d.fixedTopGap:null,"px")("bottom",d.fixedInViewport?d.fixedBottomGap:null,"px"),a.ekj("mat-drawer-end","end"===d.position)("mat-drawer-over","over"===d.mode)("mat-drawer-push","push"===d.mode)("mat-drawer-side","side"===d.mode)("mat-drawer-opened",d.opened)("mat-sidenav-fixed",d.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[a.qOj],ngContentSelectors:_t,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(o,d){1&o&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[ne.PQ],encapsulation:2,data:{animation:[we.transformDrawer]},changeDetection:0}),c})(),ui=(()=>{class c extends Dr{}return c.\u0275fac=function(){let u;return function(d){return(u||(u=a.n5z(c)))(d||c)}}(),c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-sidenav-container"]],contentQueries:function(o,d,_){if(1&o&&(a.Suo(_,ci,5),a.Suo(_,qr,5)),2&o){let D;a.iGM(D=a.CRH())&&(d._content=D.first),a.iGM(D=a.CRH())&&(d._allDrawers=D)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(o,d){2&o&&a.ekj("mat-drawer-container-explicit-backdrop",d._backdropOverride)},exportAs:["matSidenavContainer"],features:[a._Bn([{provide:bt,useExisting:c}]),a.qOj],ngContentSelectors:le,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(o,d){1&o&&(a.F$t(Se),a.YNc(0,Te,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,ct,2,0,"mat-sidenav-content",1)),2&o&&(a.Q6J("ngIf",d.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!d._content))},directives:[j.O5,ci,ne.PQ],styles:[J],encapsulation:2,changeDetection:0}),c})(),Tn=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({imports:[[j.ez,wt.BQ,oe.ud,ne.ZD],ne.ZD,wt.BQ]}),c})();const Cn=["*",[["mat-toolbar-row"]]],tr=["*","mat-toolbar-row"],Bn=(0,wt.pj)(class{constructor(c){this._elementRef=c}});let Nr=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275dir=a.lG2({type:c,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),c})(),Mn=(()=>{class c extends Bn{constructor(o,d,_){super(o),this._platform=d,this._document=_}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.SBq),a.Y36(oe.t4),a.Y36(j.K0))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-toolbar"]],contentQueries:function(o,d,_){if(1&o&&a.Suo(_,Nr,5),2&o){let D;a.iGM(D=a.CRH())&&(d._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(o,d){2&o&&a.ekj("mat-toolbar-multiple-rows",d._toolbarRows.length>0)("mat-toolbar-single-row",0===d._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.qOj],ngContentSelectors:tr,decls:2,vars:0,template:function(o,d){1&o&&(a.F$t(Cn),a.Hsn(0),a.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),c})(),Vt=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({imports:[[wt.BQ],wt.BQ]}),c})();var Qt=y(6155),Yn=y(6113),ur=y(620);class In{constructor(u,o){this.privateDoNotAccessOrElseWrappedResourceUrl=u}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}function dr(c){var u;const o=c,d=null===(u=(0,ur.C2)())||void 0===u?void 0:u.createScriptURL(o);return null!=d?d:new In(o,Yn.Y)}function bn(c){var u;if(null===(u=(0,ur.Cm)())||void 0===u?void 0:u.isScriptURL(c))return c;if(c instanceof In)return c.privateDoNotAccessOrElseWrappedResourceUrl;throw new Error("")}function he(c,...u){if(0===u.length)return dr(c[0]);c[0].toLowerCase();const d=[c[0]];for(let _=0;_<u.length;_++)d.push(encodeURIComponent(u[_])),d.push(c[_+1]);return dr(d.join(""))}const xt=new a.OlP("CurrentDate");function qt(){return new Date}var Ft=y(6945);const fi=["*"],Di="aio-notification/";let Yr=(()=>{class c{constructor(o,d){this.storage=o,this.currentDate=d,this.dismissed=new a.vpe}ngOnInit(){const o="hide"===this.storage.getItem(Di+this.notificationId),d=this.currentDate>new Date(this.expirationDate);this.showNotification=o||d?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.storage.setItem(Di+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(Ft.mM),a.Y36(xt))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(o,d){2&o&&a.d8E("@hideAnimation",d.showNotification)},inputs:{dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:fi,decls:4,vars:0,consts:[[1,"content",3,"click","keyup.enter"],["mat-icon-button","","aria-label","Close",1,"close-button",3,"click"],["svgIcon","close","aria-label","Dismiss notification"]],template:function(o,d){1&o&&(a.F$t(),a.TgZ(0,"span",0),a.NdJ("click",function(){return d.contentClick()})("keyup.enter",function(){return d.contentClick()}),a.Hsn(1),a.qZA(),a.TgZ(2,"button",1),a.NdJ("click",function(){return d.dismiss()}),a._UZ(3,"mat-icon",2),a.qZA())},directives:[hn.lW,ot.Hw],encapsulation:2,data:{animation:[(0,pt.X$)("hideAnimation",[(0,pt.SB)("show",(0,pt.oB)({height:"*"})),(0,pt.SB)("hide",(0,pt.oB)({display:"none",height:0})),(0,pt.eR)("show => hide",(0,pt.jt)(250))])]}}),c})();var Qn=y(5370);const wr=["searchBox"];let Lr=(()=>{class c{constructor(o){this.locationService=o,this.searchDebounce=300,this.searchSubject=new W.x,this.onSearch=this.searchSubject.pipe((0,ve.x)(),(0,st.b)(this.searchDebounce)),this.onFocus=new a.vpe}ngAfterViewInit(){const o=this.locationService.search().search;o&&(this.query=this.decodeQuery(o),this.doSearch())}doSearch(){this.searchSubject.next(this.query)}doFocus(){this.onFocus.emit(this.query)}focus(){this.searchBox.nativeElement.focus()}decodeQuery(o){return o.replace(/\+/g," ")}get query(){return this.searchBox.nativeElement.value}set query(o){this.searchBox.nativeElement.value=o}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(Qn.a))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-search-box"]],viewQuery:function(o,d){if(1&o&&a.Gf(wr,7),2&o){let _;a.iGM(_=a.CRH())&&(d.searchBox=_.first)}},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:2,vars:0,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""]],template:function(o,d){1&o&&(a.TgZ(0,"input",0,1),a.NdJ("input",function(){return d.doSearch()})("keyup",function(){return d.doSearch()})("focus",function(){return d.doFocus()})("click",function(){return d.doSearch()}),a.qZA())},encapsulation:2}),c})();var An=y(9606),Rn=y(7850),Sr=y(993),yr=y(2340);let gn=(()=>{class c{constructor(o){this.location=o,this.mode=this.location.search().mode||yr.N.mode}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(Qn.a))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();var kr=y(8485),vr=y(4823),hi=y(2366);const Tr=kr.bL+"navigation.json";let fr=(()=>{class c{constructor(o,d){this.http=o,this.location=d;const _=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(_),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(_)}fetchNavigationInfo(){const o=this.http.get(Tr).pipe((0,vr.C)());return o.connect(),o}getVersionInfo(o){const d=o.pipe((0,q.U)(_=>_.__versionInfo),(0,vr.C)());return d.connect(),d}getNavigationViews(o){const d=o.pipe((0,q.U)(_=>{const D=Object.assign({},_);return Object.keys(D).forEach(O=>{"_"===O[0]&&delete D[O]}),D}),(0,vr.C)());return d.connect(),d}getCurrentNodes(o){const d=(0,Rn.a)([o.pipe((0,q.U)(_=>this.computeUrlToNavNodesMap(_))),this.location.currentPath]).pipe((0,q.U)(_=>({navMap:_[0],url:_[1]})),(0,q.U)(_=>{const D=/^api/.exec(_.url);return D&&(_.url=D[0]),_.navMap.get(_.url)||{"":{view:"",url:_.url,nodes:[]}}}),(0,hi._)(1));return d.connect(),d}computeUrlToNavNodesMap(o){const d=new Map;return Object.keys(o).forEach(_=>o[_].forEach(D=>this.walkNodes(_,d,D))),d}ensureHasTooltip(o){const d=o.title;null==o.tooltip&&d&&(o.tooltip=d+(/[a-zA-Z0-9]$/.test(d)?".":""))}walkNodes(o,d,_,D=[]){const O=[_,...D],$=_.url;if(this.ensureHasTooltip(_),$){const Ce=$.replace(/\/$/,"");d.has(Ce)||d.set(Ce,{}),d.get(Ce)[o]={url:$,view:o,nodes:O}}_.children&&_.children.forEach(Ce=>this.walkNodes(o,d,Ce,O))}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(U.eN),a.LFG(Qn.a))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();var ms=y(9026),Vs=y(1701),pi=y(4541);let vo=(()=>{class c{constructor(o,d,_,D,O){this.appRef=o,this.errorHandler=d,this.location=_,this.logger=D,this.swu=O,this.checkInterval=216e5,this.onDisable=new W.x}disable(){this.onDisable.next()}enable(){if(!this.swu.isEnabled)return;const o=this.appRef.isStable.pipe((0,Sr.P)(d=>d));(0,R.z)(o,function(c,u){return void 0===c&&(c=0),void 0===u&&(u=ze.z),c<0&&(c=0),(0,dt.H)(c,c,u)}(this.checkInterval)).pipe((0,Le.b)(()=>this.log("Checking for update...")),(0,K.R)(this.onDisable)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe((0,Le.b)(d=>this.log(`Update available: ${JSON.stringify(d)}`)),(0,K.R)(this.onDisable)).subscribe(()=>this.swu.activateUpdate()),this.swu.activated.pipe((0,Le.b)(d=>this.log(`Update activated: ${JSON.stringify(d)}`)),(0,K.R)(this.onDisable)).subscribe(()=>this.location.fullPageNavigationNeeded()),this.swu.unrecoverable.pipe((0,Le.b)(d=>{const _=`Unrecoverable state: ${d.reason}`;this.errorHandler.handleError(_),this.log(`${_}\nReloading...`)}),(0,K.R)(this.onDisable)).subscribe(()=>this.location.reloadPage())}ngOnDestroy(){this.disable()}log(o){const d=(new Date).toISOString();this.logger.log(`[SwUpdates - ${d}]: ${o}`)}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(a.z2F),a.LFG(a.qLn),a.LFG(Qn.a),a.LFG(pi.Y),a.LFG(on))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();var _s=y(6308);function Eo(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"div",1),a.TgZ(1,"h2",2),a._uU(2,"Cookie \u4f7f\u7528\u63d0\u9192"),a.qZA(),a.TgZ(3,"h2",3),a._uU(4,"Cookies concent notice"),a.qZA(),a.TgZ(5,"p",4),a._uU(6,"\u672c\u7ad9\u4f7f\u7528\u6765\u81ea Google \u7684 Cookie \u6765\u63d0\u4f9b\u670d\u52a1\u5e76\u5206\u6790\u4f7f\u7528\u884c\u4e3a\u3002"),a.qZA(),a.TgZ(7,"p",5),a._uU(8,"This site uses cookies from Google to deliver its services and to analyze traffic."),a.qZA(),a.TgZ(9,"div",6),a.TgZ(10,"a",7),a._uU(11," \u4e86\u89e3\u66f4\u591a "),a.qZA(),a.TgZ(12,"button",8),a.NdJ("click",function(){return a.CHM(o),a.oxw().acceptCookies()}),a._uU(13," \u597d\uff0c\u77e5\u9053\u4e86 "),a.qZA(),a.qZA(),a.qZA()}}const js="aio-accepts-cookies";let ys=(()=>{class c{constructor(o){this.storage=o,this.hasAcceptedCookies="true"===this.storage.getItem(js)}acceptCookies(){this.storage.setItem(js,"true"),this.hasAcceptedCookies=!0}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(Ft.mM))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-cookies-popup"]],decls:1,vars:1,consts:[["class","cookies-popup no-print",4,"ngIf"],[1,"cookies-popup","no-print"],["translation-result","on",1,"visually-hidden"],["translation-origin","off",1,"visually-hidden"],["translation-result","on"],["translation-origin","off"],[1,"actions"],["mat-button","","href","https://policies.google.com/technologies/cookies","target","_blank","rel","noopener"],["mat-button","",3,"click"]],template:function(o,d){1&o&&a.YNc(0,Eo,14,0,"div",0),2&o&&a.Q6J("ngIf",!d.hasAcceptedCookies)},directives:[j.O5,hn.zs,hn.lW],encapsulation:2}),c})();const ea="aio-theme";let Er=(()=>{class c{constructor(o,d){this.document=o,this.storage=d,this.isDark=!1,this.initializeThemeFromPreferences()}toggleTheme(){this.isDark=!this.isDark,this.updateRenderedTheme()}initializeThemeFromPreferences(){var o,d;const _=this.storage.getItem(ea);this.isDark=_?"true"===_:null!==(o=null==matchMedia?void 0:matchMedia("(prefers-color-scheme: dark)").matches)&&void 0!==o&&o;const D=this.document.querySelector("#aio-initial-theme");D&&(null===(d=D.parentElement)||void 0===d||d.removeChild(D));const O=this.document.createElement("link");O.id="aio-custom-theme",O.rel="stylesheet",O.href=`${this.getThemeName()}-theme.css`,this.document.head.appendChild(O)}getThemeName(){return this.isDark?"dark":"light"}getToggleLabel(){return`Switch to ${this.isDark?"light":"dark"} mode`}updateRenderedTheme(){const o=this.document.getElementById("aio-custom-theme");o&&(o.href=`${this.getThemeName()}-theme.css`),this.storage.setItem(ea,String(this.isDark))}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(j.K0),a.Y36(Ft.mM))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-theme-toggle"]],decls:3,vars:3,consts:[["mat-icon-button","","type","button",3,"title","click"]],template:function(o,d){1&o&&(a.TgZ(0,"button",0),a.NdJ("click",function(){return d.toggleTheme()}),a.TgZ(1,"mat-icon"),a._uU(2),a.qZA(),a.qZA()),2&o&&(a.Q6J("title",d.getToggleLabel()),a.uIk("aria-label",d.getToggleLabel()),a.xp6(2),a.hij(" ",d.isDark?"light":"dark","_mode "))},directives:[hn.lW,ot.Hw],encapsulation:2}),c})();function wi(c,u){1&c&&(a.TgZ(0,"mat-icon"),a._uU(1,"open_in_new"),a.qZA())}function ta(c,u){if(1&c&&(a.TgZ(0,"a",3),a.TgZ(1,"span"),a._uU(2),a.qZA(),a.YNc(3,wi,2,0,"mat-icon",0),a.qZA()),2&c){const o=a.oxw(2);let d;a.s9C("href",o.node.url,a.LSH),a.s9C("title",o.node.tooltipCn),a.Q6J("ngClass",o.classes)("target",o.isExternalUrl(o.node.url)?"_blank":"_self"),a.xp6(2),a.Oqu(null!==(d=o.node.titleCn)&&void 0!==d?d:o.node.title),a.xp6(1),a.Q6J("ngIf",o.isExternalUrl(o.node.url))}}function na(c,u){1&c&&a._UZ(0,"div",4)}function Co(c,u){if(1&c&&(a.TgZ(0,"div"),a.YNc(1,ta,4,6,"a",1),a.YNc(2,na,1,0,"div",2),a.qZA()),2&c){const o=a.oxw();a.xp6(1),a.Q6J("ngIf",!o.node.divider),a.xp6(1),a.Q6J("ngIf",o.node.divider)}}function ra(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"a",9),a.NdJ("click",function(){return a.CHM(o),a.oxw(2).headerClicked()}),a.TgZ(1,"span"),a._uU(2),a.qZA(),a._UZ(3,"mat-icon",10),a.qZA()}if(2&c){const o=a.oxw(2);let d;a.s9C("href",o.node.url,a.LSH),a.s9C("title",o.node.tooltipCn),a.Q6J("ngClass",o.classes),a.xp6(2),a.Oqu(null!==(d=o.node.titleCn)&&void 0!==d?d:o.node.title)}}function Hs(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"button",11),a.NdJ("click",function(){return a.CHM(o),a.oxw(2).headerClicked()}),a.TgZ(1,"span"),a._uU(2),a.qZA(),a._UZ(3,"mat-icon",10),a.qZA()}if(2&c){const o=a.oxw(2);let d;a.s9C("title",o.node.tooltipCn),a.Q6J("ngClass",o.classes),a.uIk("aria-pressed",o.isExpanded),a.xp6(2),a.Oqu(null!==(d=o.node.titleCn)&&void 0!==d?d:o.node.title)}}function Si(c,u){if(1&c&&a._UZ(0,"aio-nav-item",12),2&c){const o=u.$implicit,d=a.oxw(2);a.Q6J("level",d.level+1)("isWide",d.isWide)("isParentExpanded",d.isExpanded)("node",o)("selectedNodes",d.selectedNodes)}}function Gi(c,u){if(1&c&&(a.TgZ(0,"div"),a.YNc(1,ra,4,4,"a",5),a.YNc(2,Hs,4,4,"button",6),a.TgZ(3,"div",7),a.YNc(4,Si,1,5,"aio-nav-item",8),a.qZA(),a.qZA()),2&c){const o=a.oxw();a.xp6(1),a.Q6J("ngIf",!!o.node.url),a.xp6(1),a.Q6J("ngIf",!o.node.url),a.xp6(1),a.Q6J("ngClass",o.classes),a.xp6(1),a.Q6J("ngForOf",o.nodeChildren)}}let ia=(()=>{class c{constructor(){this.isWide=!1,this.level=1,this.isParentExpanded=!0,this.isExpanded=!1,this.isSelected=!1}ngOnChanges(){if(this.nodeChildren=this.node&&this.node.children?this.node.children.filter(o=>!o.hidden):[],this.selectedNodes){const o=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==o,this.isExpanded=this.isParentExpanded&&(this.isSelected||this.isWide&&this.isExpanded)}else this.isSelected=!1;this.setClasses()}setClasses(){this.classes={["level-"+this.level]:!0,collapsed:!this.isExpanded,expanded:this.isExpanded,selected:this.isSelected}}headerClicked(){this.isExpanded=!this.isExpanded,this.setClasses()}isExternalUrl(o){return/^https?:/.test(o)}}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[a.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","vertical-menu-item","style","position: relative",3,"href","ngClass","title","target",4,"ngIf"],["class","mat-divider","style","margin: 4px 20px; border-top: 1px solid lightgray",4,"ngIf"],[1,"vertical-menu-item",2,"position","relative",3,"href","ngClass","title","target"],[1,"mat-divider",2,"margin","4px 20px","border-top","1px solid lightgray"],["class","vertical-menu-item heading",3,"href","ngClass","title","click",4,"ngIf"],["type","button","class","vertical-menu-item heading",3,"ngClass","title","click",4,"ngIf"],[1,"heading-children",3,"ngClass"],[3,"level","isWide","isParentExpanded","node","selectedNodes",4,"ngFor","ngForOf"],[1,"vertical-menu-item","heading",3,"href","ngClass","title","click"],["svgIcon","keyboard_arrow_right",1,"rotating-icon"],["type","button",1,"vertical-menu-item","heading",3,"ngClass","title","click"],[3,"level","isWide","isParentExpanded","node","selectedNodes"]],template:function(o,d){1&o&&(a.YNc(0,Co,3,2,"div",0),a.YNc(1,Gi,5,4,"div",0)),2&o&&(a.Q6J("ngIf",!d.node.children),a.xp6(1),a.Q6J("ngIf",d.node.children))},directives:[j.O5,j.mk,ot.Hw,j.sg,c],encapsulation:2}),c})();function Ki(c,u){if(1&c&&a._UZ(0,"aio-nav-item",1),2&c){const o=u.$implicit,d=a.oxw();a.Q6J("node",o)("selectedNodes",null==d.currentNode?null:d.currentNode.nodes)("isWide",d.isWide)}}let $s=(()=>{class c{constructor(){this.isWide=!1}get filteredNodes(){return this.nodes?this.nodes.filter(o=>!o.hidden):[]}}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-nav-menu"]],inputs:{currentNode:"currentNode",isWide:"isWide",nodes:"nodes"},decls:1,vars:1,consts:[[3,"node","selectedNodes","isWide",4,"ngFor","ngForOf"],[3,"node","selectedNodes","isWide"]],template:function(o,d){1&o&&a.YNc(0,Ki,1,3,"aio-nav-item",0),2&o&&a.Q6J("ngForOf",d.filteredNodes)},directives:[j.sg,ia],encapsulation:2}),c})();var ei=y(587);function vs(c,u){if(1&c&&(a.TgZ(0,"div",1),a.TgZ(1,"p"),a._uU(2," This is the "),a.TgZ(3,"strong"),a._uU(4),a.qZA(),a._uU(5," Please visit "),a.TgZ(6,"a",2),a._uU(7,"angular.io"),a.qZA(),a._uU(8," to see documentation for the current version of Angular. "),a.qZA(),a.qZA()),2&c){const o=a.oxw();a.xp6(4),a.hij("archived documentation for Angular v",null==o.version?null:o.version.major,".")}}let Zi=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-mode-banner"]],inputs:{mode:"mode",version:"version"},decls:1,vars:1,consts:[["class","mode-banner alert archive-warning",4,"ngIf"],[1,"mode-banner","alert","archive-warning"],["href","https://angular.cn/"]],template:function(o,d){1&o&&a.YNc(0,vs,9,1,"div",0),2&o&&a.Q6J("ngIf","archive"===d.mode)},directives:[j.O5],encapsulation:2}),c})();function Yi(c,u,o,d,_,D,O){try{var $=c[D](O),Ce=$.value}catch(Ye){return void o(Ye)}$.done?u(Ce):Promise.resolve(Ce).then(d,_)}function Ti(c){return function(){var u=this,o=arguments;return new Promise(function(d,_){var D=c.apply(u,o);function O(Ce){Yi(D,d,_,O,$,"next",Ce)}function $(Ce){Yi(D,d,_,O,$,"throw",Ce)}O(void 0)})}}var Ws=y(9311),zs=y(1025),Br=y(4864),Qi=y(8931);const Mi=[{selector:"aio-announcement-bar",loadChildren:()=>y.e("src_app_custom-elements_announcement-bar_announcement-bar_module_ts").then(y.bind(y,6042)).then(c=>c.AnnouncementBarModule)},{selector:"aio-api-list",loadChildren:()=>y.e("src_app_custom-elements_api_api-list_module_ts").then(y.bind(y,4858)).then(c=>c.ApiListModule)},{selector:"aio-contributor-list",loadChildren:()=>y.e("src_app_custom-elements_contributor_contributor-list_module_ts").then(y.bind(y,7283)).then(c=>c.ContributorListModule)},{selector:"aio-file-not-found-search",loadChildren:()=>y.e("src_app_custom-elements_search_file-not-found-search_module_ts").then(y.bind(y,8359)).then(c=>c.FileNotFoundSearchModule)},{selector:"aio-angular-dist-tag",loadChildren:()=>y.e("src_app_custom-elements_dist-tag_dist-tag_module_ts").then(y.bind(y,9857)).then(c=>c.DistTagModule)},{selector:"aio-resource-list",loadChildren:()=>y.e("src_app_custom-elements_resource_resource-list_module_ts").then(y.bind(y,4994)).then(c=>c.ResourceListModule)},{selector:"aio-toc",loadChildren:()=>y.e("src_app_custom-elements_toc_toc_module_ts").then(y.bind(y,2786)).then(c=>c.TocModule)},{selector:"code-example",loadChildren:()=>Promise.all([y.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),y.e("src_app_custom-elements_code_code-example_module_ts")]).then(y.bind(y,102)).then(c=>c.CodeExampleModule)},{selector:"code-tabs",loadChildren:()=>Promise.all([y.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),y.e("src_app_custom-elements_code_code-tabs_module_ts")]).then(y.bind(y,5423)).then(c=>c.CodeTabsModule)},{selector:"live-example",loadChildren:()=>y.e("src_app_custom-elements_live-example_live-example_module_ts").then(y.bind(y,8517)).then(c=>c.LiveExampleModule)},{selector:"aio-events",loadChildren:()=>y.e("src_app_custom-elements_events_events_module_ts").then(y.bind(y,1122)).then(c=>c.EventsModule)}],Gs=new a.OlP("aio/elements-map"),Jn=new Map;Mi.forEach(c=>{Jn.set(c.selector,c.loadChildren)});var Xn=y(8202),Ks=y(5552);const ti={schedule(c,u){const o=setTimeout(c,u);return()=>clearTimeout(o)},scheduleBeforeRender(c){if("undefined"==typeof window)return ti.schedule(c,0);if(void 0===window.requestAnimationFrame)return ti.schedule(c,16);const u=window.requestAnimationFrame(c);return()=>window.cancelAnimationFrame(u)}};let b;function $t(c,u,o){let d=o;return function(c){return!!c&&c.nodeType===Node.ELEMENT_NODE}(c)&&u.some((_,D)=>!("*"===_||!function(c,u){if(!b){const o=Element.prototype;b=o.matches||o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}return c.nodeType===Node.ELEMENT_NODE&&b.call(c,u)}(c,_)||(d=D,0))),d}class dn{constructor(u,o){this.componentFactory=o.get(a._Vd).resolveComponentFactory(u)}create(u){return new Zt(this.componentFactory,u)}}class Zt{constructor(u,o){this.componentFactory=u,this.injector=o,this.eventEmitters=new Ks.t(1),this.events=this.eventEmitters.pipe((0,Ne.w)(d=>(0,Y.T)(...d))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:d})=>d)),this.ngZone=this.injector.get(a.R0b),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(u){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(u)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ti.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(u){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(u):this.componentRef.instance[u])}setInputValue(u,o){this.runInZone(()=>{null!==this.componentRef?function(c,u){return c===u||c!=c&&u!=u}(o,this.getInputValue(u))&&(void 0!==o||!this.unchangedInputs.has(u))||(this.recordInputChange(u,o),this.unchangedInputs.delete(u),this.hasInputChanges=!0,this.componentRef.instance[u]=o,this.scheduleDetectChanges()):this.initialInputValues.set(u,o)})}initializeComponent(u){const o=a.zs3.create({providers:[],parent:this.injector}),d=function(c,u){const o=c.childNodes,d=u.map(()=>[]);let _=-1;u.some((D,O)=>"*"===D&&(_=O,!0));for(let D=0,O=o.length;D<O;++D){const $=o[D],Ce=$t($,u,_);-1!==Ce&&d[Ce].push($)}return d}(u,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(o,d,u),this.viewChangeDetectorRef=this.componentRef.injector.get(a.sBO),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(a.z2F).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:u})=>{this.initialInputValues.has(u)&&this.setInputValue(u,this.initialInputValues.get(u))}),this.initialInputValues.clear()}initializeOutputs(u){const o=this.componentFactory.outputs.map(({propName:d,templateName:_})=>u.instance[d].pipe((0,q.U)(O=>({name:_,value:O}))));this.eventEmitters.next(o)}callNgOnChanges(u){if(!this.implementsOnChanges||null===this.inputChanges)return;const o=this.inputChanges;this.inputChanges=null,u.instance.ngOnChanges(o)}markViewForCheck(u){this.hasInputChanges&&(this.hasInputChanges=!1,u.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ti.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(u,o){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const d=this.inputChanges[u];if(d)return void(d.currentValue=o);const _=this.unchangedInputs.has(u),D=_?void 0:this.getInputValue(u);this.inputChanges[u]=new a.WD2(D,o,_)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(u){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(u):u()}}class ln extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let ni=(()=>{class c{constructor(o,d,_){this.moduleRef=o,this.compiler=_,this.elementsLoading=new Map,this.elementsToLoad=new Map(d)}loadContainedCustomElements(o){const d=Array.from(this.elementsToLoad.keys()).filter(D=>o.querySelector(D));if(!d.length)return(0,M.of)(void 0);const _=Promise.all(d.map(D=>this.loadCustomElement(D)));return(0,Xn.D)(_.then(()=>{}))}loadCustomElement(o){if(this.elementsLoading.has(o))return this.elementsLoading.get(o);if(this.elementsToLoad.has(o)){const _=this.elementsToLoad.get(o)().then(D=>D instanceof a.YKP?D:this.compiler.compileModuleAsync(D)).then(D=>{const O=D.create(this.moduleRef.injector),Ye=function(c,u){const o=function(c,u){return u.get(a._Vd).resolveComponentFactory(c).inputs}(c,u.injector),d=u.strategyFactory||new dn(c,u.injector),_=function(c){const u={};return c.forEach(({propName:o,templateName:d})=>{u[function(c){return c.replace(/[A-Z]/g,u=>`-${u.toLowerCase()}`)}(d)]=o}),u}(o);class D extends ln{constructor($){super(),this.injector=$}get ngElementStrategy(){if(!this._ngElementStrategy){const $=this._ngElementStrategy=d.create(this.injector||u.injector);o.forEach(({propName:Ce})=>{if(!this.hasOwnProperty(Ce))return;const Ye=this[Ce];delete this[Ce],$.setInputValue(Ce,Ye)})}return this._ngElementStrategy}attributeChangedCallback($,Ce,Ye,it){this.ngElementStrategy.setInputValue(_[$],Ye)}connectedCallback(){let $=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),$=!0),this.ngElementStrategy.connect(this),$||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe($=>{const Ce=function(c,u,o){if("function"!=typeof CustomEvent){const D=c.createEvent("CustomEvent");return D.initCustomEvent(u,!1,!1,o),D}return new CustomEvent(u,{bubbles:!1,cancelable:!1,detail:o})}(this.ownerDocument,$.name,$.value);this.dispatchEvent(Ce)})}}return D.observedAttributes=Object.keys(_),o.forEach(({propName:O})=>{Object.defineProperty(D.prototype,O,{get(){return this.ngElementStrategy.getInputValue(O)},set($){this.ngElementStrategy.setInputValue(O,$)},configurable:!0,enumerable:!0})}),D}(O.instance.customElementComponent,{injector:O.injector});return customElements.define(o,Ye),customElements.whenDefined(o)}).then(()=>{this.elementsLoading.delete(o),this.elementsToLoad.delete(o)}).catch(D=>(this.elementsLoading.delete(o),Promise.reject(D)));return this.elementsLoading.set(o,_),_}return Promise.resolve()}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(a.h0i),a.LFG(Gs),a.LFG(a.Sil))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();const Ur=document.querySelector("aio-doc-viewer"),Vr=Ur?(0,Qt.Iv)(Ur):Qi.sx;let It=(()=>{class c{constructor(o,d,_,D,O){this.logger=d,this.titleService=_,this.tocService=D,this.elementsLoader=O,this.void$=(0,M.of)(void 0),this.onDestroy$=new a.vpe,this.docContents$=new a.vpe,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new a.vpe,this.docRemoved=new a.vpe,this.docInserted=new a.vpe,this.docRendered=new a.vpe,this.hostElement=o.nativeElement,this.hostElement.innerHTML=(0,Qi.X$)(Vr),this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe((0,zs.Q)(Ws.E),(0,Ne.w)($=>this.render($)),(0,K.R)(this.onDestroy$)).subscribe()}set doc(o){o&&this.docContents$.emit(o)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(o,d){const _=o.querySelector("h1"),D=!!_&&!/no-?toc/i.test(_.className),O=o.querySelector("aio-toc.embedded");if(_&&_.parentNode&&D&&!O){const $=document.createElement("aio-toc");$.className="embedded",_.parentNode.insertBefore($,_.nextSibling)}else!D&&O&&null!==O.parentNode&&O.parentNode.removeChild(O);return()=>{this.tocService.reset();let $="";_&&($="string"==typeof _.innerText?_.innerText:_.textContent,D&&this.tocService.genToc(o,d)),this.titleService.setTitle($?`Angular - ${$}`:"Angular")}}render(o){let d;return this.setNoIndex(o.id===kr.xx||o.id===kr.cH),this.void$.pipe((0,Le.b)(()=>{null===o.contents?this.nextViewContainer.textContent="":this.nextViewContainer.innerHTML=(0,Qi.X$)(o.contents)}),(0,Le.b)(()=>d=this.prepareTitleAndToc(this.nextViewContainer,o.id)),(0,Ne.w)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),(0,Le.b)(()=>this.docReady.emit()),(0,Ne.w)(()=>this.swapViews(d)),(0,Le.b)(()=>this.docRendered.emit()),(0,Br.K)(_=>{const D=`${_ instanceof Error?_.stack:_}`;return this.logger.error(new Error(`[DocViewer] Error preparing document '${o.id}': ${D}`)),this.nextViewContainer.textContent="",this.setNoIndex(!0),/loading chunk \S+ failed/i.test(D)&&function(){Do.apply(this,arguments)}(),this.void$}))}setNoIndex(o){console.log("no index: ",o)}swapViews(o=(()=>{})){const d=new F.y(Ye=>{const it=requestAnimationFrame(()=>{Ye.next(),Ye.complete()});return()=>cancelAnimationFrame(it)}),D=(Ye,it,ut,At,jt=200)=>{const vn=!c.animationsEnabled||this.hostElement.classList.contains("no-animations");return Ye.style.transition="",vn?this.void$.pipe((0,Le.b)(()=>Ye.style[it]=At)):this.void$.pipe((0,Ne.w)(()=>d),(0,Le.b)(()=>Ye.style[it]=ut),(0,Ne.w)(()=>d),(0,Le.b)(()=>Ye.style.transition=`all ${jt}ms ease-in-out`),(0,Ne.w)(()=>d),(0,Le.b)(()=>Ye.style[it]=At),(0,Ne.w)(()=>(0,dt.H)((Ye=>{const it=getComputedStyle(Ye).transitionDuration||"";return 1e3*Number(it.replace(/s$/,""))})(Ye))),(0,Ne.w)(()=>this.void$))};let Ce=this.void$;return this.currViewContainer.parentElement&&(Ce=Ce.pipe((0,Ne.w)(()=>D(this.currViewContainer,"opacity","1","0.1")),(0,Le.b)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),(0,Le.b)(()=>this.docRemoved.emit()))),Ce.pipe((0,Le.b)(()=>this.hostElement.appendChild(this.nextViewContainer)),(0,Le.b)(()=>o()),(0,Le.b)(()=>this.docInserted.emit()),(0,Ne.w)(()=>D(this.nextViewContainer,"opacity","0.1","1")),(0,Le.b)(()=>{const Ye=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=Ye,this.nextViewContainer.textContent=""}))}toggleTranslationOrigin(o){const d=function(c){for(;c&&!c.hasAttribute("translation-result");)c=c.parentElement;return c}(o.target);if(d&&d.hasAttribute("translation-result")){const _=d.nextElementSibling;if(!_||_.hasAttribute("translation-result")||_.tagName!==d.tagName)return;"on"===_.getAttribute("translation-origin")?_.setAttribute("translation-origin","off"):_.setAttribute("translation-origin","on")}}}return c.animationsEnabled=!0,c.\u0275fac=function(o){return new(o||c)(a.Y36(a.SBq),a.Y36(pi.Y),a.Y36(g.Dx),a.Y36(_s.I),a.Y36(ni))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-doc-viewer"]],hostBindings:function(o,d){1&o&&a.NdJ("click",function(D){return d.toggleTranslationOrigin(D)})},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(o,d){},encapsulation:2}),c})();function Do(){return Do=Ti(function*(){var c,u,o;const d="\n----------",_=null!==(o=null===(u=null===(c=navigator.serviceWorker)||void 0===c?void 0:c.controller)||void 0===u?void 0:u.state)&&void 0!==o?o:"N/A";if(console.log(`\nServiceWorker: ${_}`),"undefined"==typeof caches)console.log(`${d}\nCaches: N/A`);else{const jt=(yield caches.keys()).filter(vn=>vn.startsWith("ngsw:/:"));yield $(jt,"db:control",!0,["manifests"]),yield $(jt,"assets:app-shell:cache",!1),yield $(jt,"assets:app-shell:meta",!0)}function O(){return(O=Ti(function*(){try{const At=yield fetch("/ngsw/state");if(!At.ok)throw new Error(`Response ${At.status} ${At.statusText}`);console.log(yield At.text())}catch(At){console.log(`Failed to retrieve debug info from '/ngsw/state': ${At.message||At}`)}})).apply(this,arguments)}function $(At,jt,vn){return Ce.apply(this,arguments)}function Ce(){return(Ce=Ti(function*(At,jt,vn,pr=[]){const ar=At.filter(br=>br.endsWith(jt));for(const br of ar){const as=yield Ye(br,vn,pr);yield ut(br,as)}})).apply(this,arguments)}function Ye(At,jt){return it.apply(this,arguments)}function it(){return it=Ti(function*(At,jt,vn=[]){const pr=new Set(vn.map(gr=>new Request(gr).url)),ar=yield caches.open(At),br=(yield ar.keys()).map(gr=>gr.url).filter(gr=>!pr.has(gr));return yield Promise.all(br.map(function(){var gr=Ti(function*(oi){var ho;return{key:oi,value:jt?yield null===(ho=yield ar.match(oi))||void 0===ho?void 0:ho.json():void 0}});return function(oi){return gr.apply(this,arguments)}}()))}),it.apply(this,arguments)}function ut(At,jt){const vn=jt.map(({key:pr,value:ar})=>` - ${pr}${ar?`: ${JSON.stringify(ar)}`:""}`).join("\n");console.log(`\nCache: ${At} (${jt.length} entries)\n${vn}`)}"activated"===_&&(console.log(d),yield function(){return O.apply(this,arguments)}()),console.warn(`${d}\nIf you see this error, please report an issue at https://github.com/angular/angular/issues/new?template=3-docs-bug.md including the above logs.`)}),Do.apply(this,arguments)}function dl(c,u){if(1&c&&(a.TgZ(0,"li"),a.TgZ(1,"a",7),a._uU(2),a.qZA(),a.qZA()),2&c){const o=u.$implicit;let d,_;a.xp6(1),a.Q6J("href",o.url,a.LSH)("title",null!==(d=null!==(d=null!==(d=o.tooltipCn)&&void 0!==d?d:o.tooltip)&&void 0!==d?d:o.titleCn)&&void 0!==d?d:o.title),a.xp6(1),a.Oqu(null!==(_=o.titleCn)&&void 0!==_?_:o.title)}}function oa(c,u){if(1&c&&(a.TgZ(0,"div",5),a.TgZ(1,"h3"),a._uU(2),a.qZA(),a.TgZ(3,"ul"),a.YNc(4,dl,3,3,"li",6),a.qZA(),a.qZA()),2&c){const o=u.$implicit;let d;a.xp6(2),a.Oqu(null!==(d=o.titleCn)&&void 0!==d?d:o.title),a.xp6(2),a.Q6J("ngForOf",o.children)}}let fl=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:17,vars:2,consts:[[1,"grid-fluid"],["class","footer-block",4,"ngFor","ngForOf"],["href","license","title","License text"],["href","https://creativecommons.org/licenses/by/4.0/"],["href","https://beian.miit.gov.cn/","target","_blank"],[1,"footer-block"],[4,"ngFor","ngForOf"],[1,"link",3,"href","title"]],template:function(o,d){1&o&&(a.TgZ(0,"div",0),a.YNc(1,oa,5,2,"div",1),a.qZA(),a.TgZ(2,"p"),a._uU(3," Super-powered by Google \xa92010-2021.\n"),a.qZA(),a.TgZ(4,"p"),a._uU(5," \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),a.TgZ(6,"a",2),a._uU(7,"MIT-style License"),a.qZA(),a._uU(8,". \u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a"),a.TgZ(9,"a",3),a._uU(10,"CC BY 4.0"),a.qZA(),a._uU(11,".\n"),a.qZA(),a.TgZ(12,"p"),a._uU(13),a.qZA(),a.TgZ(14,"p"),a.TgZ(15,"a",4),a._uU(16,"\u6caaICP\u590713038357\u53f7-21"),a.qZA(),a.qZA()),2&o&&(a.xp6(1),a.Q6J("ngForOf",d.nodes),a.xp6(12),a.hij(" \u5f53\u524d\u7248\u672c\uff1a",null==d.versionInfo?null:d.versionInfo.full,".\n"))},directives:[j.sg],encapsulation:2}),c})();const hl=function(c){return{selected:c}};function Je(c,u){if(1&c&&(a.TgZ(0,"li",2),a.TgZ(1,"a",3),a.TgZ(2,"span",4),a._uU(3),a.qZA(),a.qZA(),a.qZA()),2&c){const o=u.$implicit,d=a.oxw();let _,D;a.Q6J("ngClass",a.VKq(7,hl,o.url===d.currentUrl)),a.xp6(1),a.ekj("highlight",o.highlight),a.Q6J("href",o.url,a.LSH)("title",null!==(_=null!==(_=null!==(_=o.tooltipCn)&&void 0!==_?_:o.tooltip)&&void 0!==_?_:o.titleCn)&&void 0!==_?_:o.title)("target",o.external?"_blank":"_self"),a.xp6(2),a.Oqu(null!==(D=o.titleCn)&&void 0!==D?D:o.title)}}let Xt=(()=>{class c{get currentUrl(){return this.currentNode?this.currentNode.url:null}}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes",currentNode:"currentNode"},decls:2,vars:1,consts:[["role","navigation"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"nav-link",3,"href","title","target"],[1,"nav-link-inner"]],template:function(o,d){1&o&&(a.TgZ(0,"ul",0),a.YNc(1,Je,4,9,"li",1),a.qZA()),2&o&&(a.xp6(1),a.Q6J("ngForOf",d.nodes))},directives:[j.sg,j.mk],styles:[".nav-link.highlight[_ngcontent-%COMP%]{color:#ff0}\n/*# sourceMappingURL=top-menu.component.ts-angular-inline--2.css.map*/"]}),c})();var wo=y(26);const Un=["dt"];let So=(()=>{class c{constructor(){this.docChange=new a.vpe}get text(){return this.doc&&this.doc.contents}dtextSet(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit(Object.assign({},this.doc))}}return c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-dt"]],viewQuery:function(o,d){if(1&o&&a.Gf(Un,7,a.SBq),2&o){let _;a.iGM(_=a.CRH())&&(d.dt=_.first)}},inputs:{doc:"doc"},outputs:{docChange:"docChange"},decls:7,vars:1,consts:[["rows","10","cols","80",3,"value"],["dt",""],[3,"click"]],template:function(o,d){1&o&&(a.TgZ(0,"div"),a._UZ(1,"hr"),a._UZ(2,"textarea",0,1),a._UZ(4,"br"),a.TgZ(5,"button",2),a.NdJ("click",function(){return d.dtextSet()}),a._uU(6,"Show change"),a.qZA(),a.qZA()),2&o&&(a.xp6(2),a.Q6J("value",d.text))},encapsulation:2}),c})(),bs=(()=>{class c{constructor(o,d,_){this.elementRef=o,this.elementsLoader=d,this.logger=_,this.selector=""}ngOnInit(){this.selector&&!/[^\w-]/.test(this.selector)?(this.elementRef.nativeElement.textContent="",this.elementRef.nativeElement.appendChild(document.createElement(this.selector)),this.elementsLoader.loadCustomElement(this.selector)):this.logger.error(new Error(`Invalid selector for 'aio-lazy-ce': ${this.selector}`))}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(a.SBq),a.Y36(ni),a.Y36(pi.Y))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(o,d){},encapsulation:2}),c})();const ri=["searchBox","searchResultsView"];function S(c,u){1&c&&(a.TgZ(0,"div",41),a._UZ(1,"mat-progress-bar",42),a.qZA())}function h(c,u){1&c&&a._UZ(0,"img",43)}function p(c,u){1&c&&a._UZ(0,"img",44)}function v(c,u){if(1&c&&a._UZ(0,"aio-top-menu",45),2&c){const o=a.oxw();a.Q6J("nodes",o.topMenuNodes)("currentNode",null==o.currentNodes?null:o.currentNodes.TopBar)}}function T(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"aio-search-results",46,47),a.NdJ("resultSelected",function(){return a.CHM(o),a.oxw().hideSearchResults()}),a.ALo(2,"async"),a.qZA()}if(2&c){const o=a.oxw();a.Q6J("searchResults",a.lcZ(2,1,o.searchResults))}}function B(c,u){if(1&c&&a._UZ(0,"aio-nav-menu",30),2&c){const o=a.oxw();a.Q6J("nodes",o.topMenuNarrowNodes)("currentNode",null==o.currentNodes?null:o.currentNodes.TopBarNarrow)("isWide",o.dockSideNav)}}function ee(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"aio-dt",48),a.NdJ("docChange",function(_){return a.CHM(o),a.oxw().currentDocument=_}),a.qZA()}if(2&c){const o=a.oxw();a.Q6J("doc",o.currentDocument)}}function se(c,u){if(1&c){const o=a.EpF();a.TgZ(0,"div",49),a.NdJ("wheel",function(_){return a.CHM(o),a.oxw().restrainScrolling(_)}),a._UZ(1,"aio-lazy-ce",50),a.qZA()}if(2&c){const o=a.oxw();a.Udp("max-height",o.tocMaxHeight,"px")}}const Ae=function(c){return{collapsed:c}},We="SideNav";let en=(()=>{class c{constructor(o,d,_,D,O,$,Ce,Ye,it){this.deployment=o,this.documentService=d,this.hostElement=_,this.locationService=D,this.navigationService=O,this.scrollService=$,this.searchService=Ce,this.swUpdatesService=Ye,this.tocService=it,this.currentNodes={},this.dtOn=!1,this.hostClasses="",this.isStarting=!0,this.isTransitioning=!0,this.isFetching=!1,this.showTopMenu=!1,this.dockSideNav=!1,this.isSideNavDoc=!1,this.hasFloatingToc=!1,this.showFloatingToc=new An.X(!1),this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}get isOpened(){return this.dockSideNav&&this.isSideNavDoc}get mode(){return this.isOpened?"side":"over"}ngOnInit(){"Worker"in window&&this.searchService.initWorker(2e3),this.onResize(window.innerWidth),this.documentService.currentDocument.subscribe(d=>this.currentDocument=d),this.locationService.currentPath.subscribe(d=>{d===this.currentPath?this.scrollService.scroll():(this.currentPath=d,clearTimeout(this.isFetchingTimeout),this.isFetchingTimeout=setTimeout(()=>this.isFetching=!0,200))}),this.navigationService.currentNodes.subscribe(d=>{this.currentNodes=d,"archive"===this.deployment.mode&&!d[We]&&this.locationService.replace("docs")}),(0,Rn.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe((0,q.U)(d=>d.docVersions))]).subscribe(([d,_])=>{const D=[{title:"next",url:"https://next.angular.io/"},{title:"rc",url:"https://rc.angular.io/"},{title:"stable",url:"https://angular.io/"}];"archive"===this.deployment.mode&&D.push({title:`v${d.major}`}),this.docVersions=[...D,..._],this.currentDocVersion=this.docVersions.find(O=>O.title===this.deployment.mode||O.title===`v${d.major}`),this.currentDocVersion.title+=` (v${d.raw})`}),this.navigationService.navigationViews.subscribe(d=>{this.footerNodes=d.Footer||[],this.sideNavNodes=d.SideNav||[],this.topMenuNodes=d.TopBar||[],this.topMenuNarrowNodes=d.TopBarNarrow||this.topMenuNodes}),this.navigationService.versionInfo.subscribe(d=>this.versionInfo=d);const o=this.tocService.tocList.pipe((0,q.U)(d=>d.length>0));(0,Rn.a)([o,this.showFloatingToc]).subscribe(([d,_])=>this.hasFloatingToc=d&&_),(0,Rn.a)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe((0,Sr.P)()).subscribe(()=>this.updateShell()),this.locationService.currentUrl.subscribe(d=>this.currentUrl=d),this.swUpdatesService.enable()}onDocReady(){this.isTransitioning=!0,clearTimeout(this.isFetchingTimeout),setTimeout(()=>this.isFetching=!1,500)}onDocRemoved(){this.scrollService.removeStoredScrollInfo()}onDocInserted(){setTimeout(()=>this.updateShell()),this.scrollService.scrollAfterRender(500)}onDocRendered(){this.isStarting&&setTimeout(()=>this.isStarting=!1,100),this.isTransitioning=!1}onDocVersionChange(o){const d=this.docVersions[o];if(d.url){const _=d.url+(d.url.endsWith("/")?"":"/");this.locationService.go(`${_}${this.currentUrl}`)}}onResize(o){this.showTopMenu=o>=1150,this.dockSideNav=o>=992,this.showFloatingToc.next(o>800),this.showTopMenu&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}onClick(o,d,_,D,O){if(this.searchElements.some(Ce=>Ce.nativeElement.contains(o))||this.hideSearchResults(),"FOOTER"===o.tagName&&D&&O)return this.dtOn=!this.dtOn,!1;let $=o;for(;$&&!($ instanceof HTMLAnchorElement);)$=$.parentElement;return!($ instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick($,d,_,D)}setPageId(o){this.pageId="index"===o?"home":o.replace("/","-")}setFolderId(o){this.folderId="index"===o?"home":o.split("/",1)[0]}notificationDismissed(){this.notificationAnimating=!0,setTimeout(()=>this.notificationAnimating=!1,250),this.updateHostClasses()}updateHostClasses(){const o=`mode-${this.deployment.mode}`,d="sidenav-"+(this.sidenav.opened?"open":"closed"),_=`page-${this.pageId}`,D=`folder-${this.folderId}`,O=Object.keys(this.currentNodes).map(Ye=>`view-${Ye}`).join(" ");this.hostClasses=[o,d,_,D,O,`aio-notification-${this.notification.showNotification}`,this.notificationAnimating?"aio-notification-animating":""].join(" ")}updateShell(){this.updateSideNav(),this.setPageId(this.currentDocument.id),this.setFolderId(this.currentDocument.id),this.updateHostClasses()}updateSideNav(){let o=this.sidenav.opened;const d=!!this.currentNodes[We];this.isSideNavDoc!==d&&(o=this.isSideNavDoc=d),this.sidenav.toggle(this.dockSideNav&&o)}onScroll(){if(!this.tocMaxHeightOffset){const o=this.hostElement.nativeElement,d=o.querySelector(".app-toolbar"),_=o.querySelector("footer");d&&_&&(this.tocMaxHeightOffset=d.clientHeight+_.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(o){const d=o.currentTarget,_=d.scrollTop;o.deltaY<0?_<1&&o.preventDefault():d.scrollHeight-d.clientHeight-_<1&&o.preventDefault()}hideSearchResults(){this.showSearchResults=!1;const o=this.locationService.search();void 0!==o.search&&this.locationService.setSearch("",Object.assign(Object.assign({},o),{search:void 0}))}focusSearchBox(){this.searchBox&&this.searchBox.focus()}doSearch(o){this.searchResults=this.searchService.search(o),this.showSearchResults=!!o}onKeyUp(o,d){("/"===o||191===d)&&this.focusSearchBox(),("Escape"===o||27===d)&&this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(gn),a.Y36(kr.Zg),a.Y36(a.SBq),a.Y36(Qn.a),a.Y36(fr),a.Y36(ms.a),a.Y36(Vs.o),a.Y36(vo),a.Y36(_s.I))},c.\u0275cmp=a.Xpm({type:c,selectors:[["aio-shell"]],viewQuery:function(o,d){if(1&o&&(a.Gf(Lr,7),a.Gf(qr,7),a.Gf(Yr,7),a.Gf(ri,5,a.SBq)),2&o){let _;a.iGM(_=a.CRH())&&(d.searchBox=_.first),a.iGM(_=a.CRH())&&(d.sidenav=_.first),a.iGM(_=a.CRH())&&(d.notification=_.first),a.iGM(_=a.CRH())&&(d.searchElements=_)}},hostVars:3,hostBindings:function(o,d){1&o&&a.NdJ("resize",function(D){return d.onResize(D.target.innerWidth)},!1,a.Jf7)("click",function(D){return d.onClick(D.target,D.button,D.ctrlKey,D.metaKey,D.altKey)})("scroll",function(){return d.onScroll()},!1,a.Jf7)("keyup",function(D){return d.onKeyUp(D.key,D.which)},!1,a.evT),2&o&&(a.d8E("@.disabled",d.isStarting),a.Tol(d.hostClasses))},decls:49,vars:35,consts:[["id","top-of-page"],["href","#main-content",1,"skip-to-content-link"],["class","progress-bar-container",4,"ngIf"],["color","primary",1,"app-toolbar","no-print"],[1,"notification-container"],["notificationId","survey-october-2021","expirationDate","2021-11-10",3,"dismissOnContentClick","dismissed"],["href","https://goo.gle/angular-survey-2021","target","_blank"],["svgIcon","insert_comment","aria-label","Announcement",1,"icon"],[1,"message"],[1,"action-button"],["mat-button","","title","Docs menu",1,"hamburger",3,"click"],["svgIcon","menu"],["href","/",1,"nav-link","home",3,"ngSwitch"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home",4,"ngSwitchCase"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home",4,"ngSwitchDefault"],[3,"nodes","currentNode",4,"ngIf"],[1,"search-container",3,"onSearch","onFocus"],["searchBox",""],[1,"toolbar-external-icons-container"],["mat-icon-button","","href","https://twitter.com/angular","title","Twitter","aria-label","Angular on twitter"],["svgIcon","logos:twitter"],["mat-icon-button","","href","https://github.com/angular/angular","title","GitHub","aria-label","Angular on github"],["svgIcon","logos:github"],["mat-icon-button","","href","https://youtube.com/angular","title","YouTube","aria-label","Angular on YouTube"],["svgIcon","logos:youtube"],[3,"searchResults","resultSelected",4,"ngIf"],["role","main",1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],[3,"nodes","currentNode","isWide",4,"ngIf"],[3,"nodes","currentNode","isWide"],[1,"doc-version"],[3,"options","selected","change"],["role","main",1,"sidenav-content",3,"id"],["id","main-content","tabindex","-1"],[3,"mode","version"],[3,"doc","docReady","docRemoved","docInserted","docRendered"],[3,"doc","docChange",4,"ngIf"],["class","toc-container no-print",3,"max-height","wheel",4,"ngIf"],[1,"no-print"],[3,"nodes","versionInfo"],[1,"progress-bar-container"],["mode","indeterminate","color","warn"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home"],[3,"nodes","currentNode"],[3,"searchResults","resultSelected"],["searchResultsView",""],[3,"doc","docChange"],[1,"toc-container","no-print",3,"wheel"],["selector","aio-toc"]],template:function(o,d){if(1&o){const _=a.EpF();a._UZ(0,"div",0),a._UZ(1,"aio-cookies-popup"),a.TgZ(2,"a",1),a._uU(3,"Skip to main content"),a.qZA(),a.YNc(4,S,2,0,"div",2),a.TgZ(5,"mat-toolbar",3),a.TgZ(6,"mat-toolbar-row",4),a.TgZ(7,"aio-notification",5),a.NdJ("dismissed",function(){return d.notificationDismissed()}),a.TgZ(8,"a",6),a._UZ(9,"mat-icon",7),a.TgZ(10,"span",8),a.TgZ(11,"b"),a._uU(12,"\u586b\u5199\u8fd9\u4efd\u300a\u4e00\u5206\u949f\u8c03\u67e5\u300b"),a.qZA(),a._uU(13,"\uff0c\u5e2e\u6211\u4eec\uff08\u5f00\u53d1\u7ec4\uff09\u505a\u5f97\u66f4\u597d\uff01"),a.qZA(),a.TgZ(14,"span",9),a._uU(15,"\u53bb\u586b\u5199"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.TgZ(16,"mat-toolbar-row"),a.TgZ(17,"button",10),a.NdJ("click",function(){return a.CHM(_),a.MAs(36).toggle()}),a._UZ(18,"mat-icon",11),a.qZA(),a.TgZ(19,"a",12),a.YNc(20,h,1,0,"img",13),a.YNc(21,p,1,0,"img",14),a.qZA(),a.YNc(22,v,1,2,"aio-top-menu",15),a.TgZ(23,"aio-search-box",16,17),a.NdJ("onSearch",function(O){return d.doSearch(O)})("onFocus",function(O){return d.doSearch(O)}),a.qZA(),a._UZ(25,"aio-theme-toggle"),a.TgZ(26,"div",18),a.TgZ(27,"a",19),a._UZ(28,"mat-icon",20),a.qZA(),a.TgZ(29,"a",21),a._UZ(30,"mat-icon",22),a.qZA(),a.TgZ(31,"a",23),a._UZ(32,"mat-icon",24),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.YNc(33,T,3,3,"aio-search-results",25),a.TgZ(34,"mat-sidenav-container",26),a.TgZ(35,"mat-sidenav",27,28),a.NdJ("openedChange",function(){return d.updateHostClasses()}),a.YNc(37,B,1,3,"aio-nav-menu",29),a._UZ(38,"aio-nav-menu",30),a.TgZ(39,"div",31),a.TgZ(40,"aio-select",32),a.NdJ("change",function(O){return d.onDocVersionChange(O.index)}),a.qZA(),a.qZA(),a.qZA(),a.TgZ(41,"main",33),a._UZ(42,"div",34),a._UZ(43,"aio-mode-banner",35),a.TgZ(44,"aio-doc-viewer",36),a.NdJ("docReady",function(){return d.onDocReady()})("docRemoved",function(){return d.onDocRemoved()})("docInserted",function(){return d.onDocInserted()})("docRendered",function(){return d.onDocRendered()}),a.qZA(),a.YNc(45,ee,1,1,"aio-dt",37),a.qZA(),a.YNc(46,se,2,2,"div",38),a.qZA(),a.TgZ(47,"footer",39),a._UZ(48,"aio-footer",40),a.qZA()}2&o&&(a.xp6(4),a.Q6J("ngIf",d.isFetching),a.xp6(1),a.ekj("transitioning",d.isTransitioning),a.xp6(2),a.Q6J("dismissOnContentClick",!0),a.xp6(10),a.ekj("starting",d.isStarting),a.xp6(2),a.Q6J("ngSwitch",d.showTopMenu),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(2),a.Q6J("ngIf",d.showTopMenu),a.xp6(11),a.Q6J("ngIf",d.showSearchResults),a.xp6(1),a.ekj("starting",d.isStarting)("has-floating-toc",d.hasFloatingToc),a.xp6(1),a.Q6J("ngClass",a.VKq(33,Ae,!d.dockSideNav))("mode",d.mode)("opened",d.isOpened),a.xp6(2),a.Q6J("ngIf",!d.showTopMenu),a.xp6(1),a.Q6J("nodes",d.sideNavNodes)("currentNode",null==d.currentNodes?null:d.currentNodes.SideNav)("isWide",d.dockSideNav),a.xp6(2),a.Q6J("options",d.docVersions)("selected",d.currentDocVersion),a.xp6(1),a.Q6J("id",d.pageId),a.xp6(2),a.Q6J("mode",d.deployment.mode)("version",d.versionInfo),a.xp6(1),a.ekj("no-animations",d.isStarting),a.Q6J("doc",d.currentDocument),a.xp6(1),a.Q6J("ngIf",d.dtOn),a.xp6(1),a.Q6J("ngIf",d.hasFloatingToc),a.xp6(2),a.Q6J("nodes",d.footerNodes)("versionInfo",d.versionInfo))},directives:[ys,j.O5,Mn,Nr,Yr,ot.Hw,hn.lW,j.RF,j.n9,j.ED,Lr,Er,hn.zs,ui,qr,j.mk,$s,ei.H,Zi,It,fl,je,Xt,wo.G,So,bs],pipes:[j.Ov],encapsulation:2}),c})();const vt=new a.OlP("SvgIcons"),Rt="$$default";let Jt=(()=>{class c extends ot.jv{constructor(o,d,_,D,O){super(o,d,_,D),this.svgIcons=O,this.cachedSvgElements={[Rt]:{}}}getNamedSvgIcon(o,d){const _=this.cachedSvgElements[d||Rt];let D=_&&_[o];return D||(D=this.loadSvgElement(o,d)),D?(0,M.of)(D.cloneNode(!0)):super.getNamedSvgIcon(o,d)}loadSvgElement(o,d){const _=this.svgIcons.find(Ye=>d?Ye.name===o&&Ye.namespace===d:Ye.name===o);if(!_)return;const D=_.namespace||Rt,O=this.cachedSvgElements[D]||(this.cachedSvgElements[D]={}),$=document.createElement("DIV");$.innerHTML=(0,Qi.X$)(_.svgSource);const Ce=$.querySelector("svg");return O[_.name]=Ce,Ce}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(U.eN),a.LFG(g.H7),a.LFG(j.K0,8),a.LFG(a.qLn),a.LFG(vt))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();var On=y(3964),Dn=y(4783);let or=(()=>{class c extends a.qLn{constructor(o){super(),this.window=o}handleError(o){const d=this.prefixErrorWithVersion(o);try{super.handleError(d)}catch(_){this.reportError(_)}this.reportError(d)}prefixErrorWithVersion(o){const d=`[v${a.q4F.full}] `;if(o instanceof Error){const _=o.message,D=o.stack;o.message=d+_,o.stack=null==D?void 0:D.replace(_,o.message)}else"string"==typeof o&&(o=d+o);return o}reportError(o){if(this.window.onerror)if(o instanceof Error)this.window.onerror(o.message,void 0,void 0,void 0,o);else{if("object"==typeof o)try{o=JSON.stringify(o)}catch(d){}this.window.onerror(`${o}`)}}}return c.\u0275fac=function(o){return new(o||c)(a.LFG(Dn.R))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();var Kn=y(4727);y(6426),y(6367),y(2921),y(5051),y(763),y(9156),y(2012),y(7722),y(8169),y(7465),y(7091);const Pl=new a.OlP("ROUTES");let Bd=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({providers:[ni,{provide:Gs,useValue:Jn},{provide:Pl,useValue:Mi,multi:!0}]}),c})();var Ud=y(4466);const su=[{provide:vt,useValue:{name:"close",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>`},multi:!0},{provide:vt,useValue:{name:"insert_comment",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>`},multi:!0},{provide:vt,useValue:{name:"keyboard_arrow_right",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" />
</svg>`},multi:!0},{provide:vt,useValue:{name:"menu",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
</svg>`},multi:!0},{provide:vt,useValue:{namespace:"logos",name:"github",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 51.8 50.4" xmlns="http://www.w3.org/2000/svg">
<path d="M25.9,0.2C11.8,0.2,0.3,11.7,0.3,25.8c0,11.3,7.3,20.9,17.5,24.3c1.3,0.2,1.7-0.6,1.7-1.2c0-0.6,0-2.6,0-4.8
c-7.1,1.5-8.6-3-8.6-3c-1.2-3-2.8-3.7-2.8-3.7c-2.3-1.6,0.2-1.6,0.2-1.6c2.6,0.2,3.9,2.6,3.9,2.6c2.3,3.9,6,2.8,7.5,2.1
c0.2-1.7,0.9-2.8,1.6-3.4c-5.7-0.6-11.7-2.8-11.7-12.7c0-2.8,1-5.1,2.6-6.9c-0.3-0.7-1.1-3.3,0.3-6.8c0,0,2.1-0.7,7,2.6
c2-0.6,4.2-0.9,6.4-0.9c2.2,0,4.4,0.3,6.4,0.9c4.9-3.3,7-2.6,7-2.6c1.4,3.5,0.5,6.1,0.3,6.8c1.6,1.8,2.6,4.1,2.6,6.9
c0,9.8-6,12-11.7,12.6c0.9,0.8,1.7,2.4,1.7,4.7c0,3.4,0,6.2,0,7c0,0.7,0.5,1.5,1.8,1.2c10.2-3.4,17.5-13,17.5-24.3
C51.5,11.7,40.1,0.2,25.9,0.2z" />
</svg>`},multi:!0},{provide:vt,useValue:{namespace:"logos",name:"twitter",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 50 59" xmlns="http://www.w3.org/2000/svg">
<path d="M50,9.3c-1.8,0.8-3.8,1.4-5.9,1.6c2.1-1.3,3.7-3.3,4.5-5.7c-2,1.2-4.2,2-6.5,2.5c-1.9-2-4.5-3.2-7.5-3.2
c-5.7,0-10.3,4.6-10.3,10.3c0,0.8,0.1,1.6,0.3,2.3C16.1,16.7,8.5,12.6,3.5,6.4c-0.9,1.5-1.4,3.3-1.4,5.2c0,3.6,1.8,6.7,4.6,8.5
C5,20,3.4,19.6,2,18.8c0,0,0,0.1,0,0.1c0,5,3.5,9.1,8.2,10.1c-0.9,0.2-1.8,0.4-2.7,0.4c-0.7,0-1.3-0.1-1.9-0.2
c1.3,4.1,5.1,7,9.6,7.1c-3.5,2.8-7.9,4.4-12.7,4.4c-0.8,0-1.6,0-2.4-0.1c4.5,2.9,9.9,4.6,15.7,4.6c18.9,0,29.2-15.6,29.2-29.2
c0-0.4,0-0.9,0-1.3C46.9,13.2,48.6,11.4,50,9.3z" />
</svg>`},multi:!0},{provide:vt,useValue:{namespace:"logos",name:"youtube",svgSource:Qt.YP`<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77
C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42
c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z" />
</svg>`},multi:!0}];let Ul=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c,bootstrap:[en]}),c.\u0275inj=a.cJS({providers:[gn,kr.Zg,{provide:a.qLn,useClass:or},On.O,pi.Y,j.Ye,{provide:j.S$,useClass:j.b0},Qn.a,{provide:ot.jv,useClass:Jt},fr,ms.a,Kn.f_,Vs.o,Ft.Un,su,_s.I,{provide:xt,useFactory:qt},{provide:Dn.R,useFactory:Dn.s},{provide:a.AFp,useFactory:()=>"ng-docs"}],imports:[[g.b2.withServerTransition({appId:"ng-docs"}),z.PW,Bd,U.JF,hn.ot,ot.Ps,de,Tn,Vt,Ud.m,pn.register(bn(he`/ngsw-worker.js`),{enabled:yr.N.production})]]}),c})();yr.N.production&&(0,a.G48)(),document.addEventListener("DOMContentLoaded",()=>{g.q6().bootstrapModule(Ul).catch(c=>console.error(c))})},763:(Ze,ae,y)=>{y.d(ae,{ZT:()=>a,mG:()=>x,Jh:()=>H,XA:()=>R,CR:()=>W,ev:()=>te,qq:()=>Y,FC:()=>q,KL:()=>Ne});var g=function(De,Re){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Oe,Ve){Oe.__proto__=Ve}||function(Oe,Ve){for(var $e in Ve)Object.prototype.hasOwnProperty.call(Ve,$e)&&(Oe[$e]=Ve[$e])})(De,Re)};function a(De,Re){if("function"!=typeof Re&&null!==Re)throw new TypeError("Class extends value "+String(Re)+" is not a constructor or null");function Oe(){this.constructor=De}g(De,Re),De.prototype=null===Re?Object.create(Re):(Oe.prototype=Re.prototype,new Oe)}function x(De,Re,Oe,Ve){return new(Oe||(Oe=Promise))(function(Fe,dt){function Lt(Ut){try{Ct(Ve.next(Ut))}catch(Mt){dt(Mt)}}function sn(Ut){try{Ct(Ve.throw(Ut))}catch(Mt){dt(Mt)}}function Ct(Ut){Ut.done?Fe(Ut.value):function(Fe){return Fe instanceof Oe?Fe:new Oe(function(dt){dt(Fe)})}(Ut.value).then(Lt,sn)}Ct((Ve=Ve.apply(De,Re||[])).next())})}function H(De,Re){var Ve,$e,Fe,dt,Oe={label:0,sent:function(){if(1&Fe[0])throw Fe[1];return Fe[1]},trys:[],ops:[]};return dt={next:Lt(0),throw:Lt(1),return:Lt(2)},"function"==typeof Symbol&&(dt[Symbol.iterator]=function(){return this}),dt;function Lt(Ct){return function(Ut){return function(Ct){if(Ve)throw new TypeError("Generator is already executing.");for(;Oe;)try{if(Ve=1,$e&&(Fe=2&Ct[0]?$e.return:Ct[0]?$e.throw||((Fe=$e.return)&&Fe.call($e),0):$e.next)&&!(Fe=Fe.call($e,Ct[1])).done)return Fe;switch($e=0,Fe&&(Ct=[2&Ct[0],Fe.value]),Ct[0]){case 0:case 1:Fe=Ct;break;case 4:return Oe.label++,{value:Ct[1],done:!1};case 5:Oe.label++,$e=Ct[1],Ct=[0];continue;case 7:Ct=Oe.ops.pop(),Oe.trys.pop();continue;default:if(!(Fe=(Fe=Oe.trys).length>0&&Fe[Fe.length-1])&&(6===Ct[0]||2===Ct[0])){Oe=0;continue}if(3===Ct[0]&&(!Fe||Ct[1]>Fe[0]&&Ct[1]<Fe[3])){Oe.label=Ct[1];break}if(6===Ct[0]&&Oe.label<Fe[1]){Oe.label=Fe[1],Fe=Ct;break}if(Fe&&Oe.label<Fe[2]){Oe.label=Fe[2],Oe.ops.push(Ct);break}Fe[2]&&Oe.ops.pop(),Oe.trys.pop();continue}Ct=Re.call(De,Oe)}catch(Ut){Ct=[6,Ut],$e=0}finally{Ve=Fe=0}if(5&Ct[0])throw Ct[1];return{value:Ct[0]?Ct[1]:void 0,done:!0}}([Ct,Ut])}}}function R(De){var Re="function"==typeof Symbol&&Symbol.iterator,Oe=Re&&De[Re],Ve=0;if(Oe)return Oe.call(De);if(De&&"number"==typeof De.length)return{next:function(){return De&&Ve>=De.length&&(De=void 0),{value:De&&De[Ve++],done:!De}}};throw new TypeError(Re?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(De,Re){var Oe="function"==typeof Symbol&&De[Symbol.iterator];if(!Oe)return De;var $e,dt,Ve=Oe.call(De),Fe=[];try{for(;(void 0===Re||Re-- >0)&&!($e=Ve.next()).done;)Fe.push($e.value)}catch(Lt){dt={error:Lt}}finally{try{$e&&!$e.done&&(Oe=Ve.return)&&Oe.call(Ve)}finally{if(dt)throw dt.error}}return Fe}function te(De,Re){for(var Oe=0,Ve=Re.length,$e=De.length;Oe<Ve;Oe++,$e++)De[$e]=Re[Oe];return De}function Y(De){return this instanceof Y?(this.v=De,this):new Y(De)}function q(De,Re,Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $e,Ve=Oe.apply(De,Re||[]),Fe=[];return $e={},dt("next"),dt("throw"),dt("return"),$e[Symbol.asyncIterator]=function(){return this},$e;function dt(on){Ve[on]&&($e[on]=function(Fn){return new Promise(function(xn,Ht){Fe.push([on,Fn,xn,Ht])>1||Lt(on,Fn)})})}function Lt(on,Fn){try{!function(on){on.value instanceof Y?Promise.resolve(on.value.v).then(Ct,Ut):Mt(Fe[0][2],on)}(Ve[on](Fn))}catch(xn){Mt(Fe[0][3],xn)}}function Ct(on){Lt("next",on)}function Ut(on){Lt("throw",on)}function Mt(on,Fn){on(Fn),Fe.shift(),Fe.length&&Lt(Fe[0][0],Fe[0][1])}}function Ne(De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Oe,Re=De[Symbol.asyncIterator];return Re?Re.call(De):(De=R(De),Oe={},Ve("next"),Ve("throw"),Ve("return"),Oe[Symbol.asyncIterator]=function(){return this},Oe);function Ve(Fe){Oe[Fe]=De[Fe]&&function(dt){return new Promise(function(Lt,sn){!function(Fe,dt,Lt,sn){Promise.resolve(sn).then(function(Ct){Fe({value:Ct,done:Lt})},dt)}(Lt,sn,(dt=De[Fe](dt)).done,dt.value)})}}}}},Ze=>{Ze(Ze.s=1787)}]);
//# sourceMappingURL=main.917030baf5629541.js.map