-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.3a3ee2af1e1d1208.js
More file actions
29 lines (29 loc) · 445 KB
/
main.3a3ee2af1e1d1208.js
File metadata and controls
29 lines (29 loc) · 445 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.webpackChunksite=self.webpackChunksite||[]).push([["main"],{6403:(Se,W,g)=>{g.d(W,{bL:()=>Me,Yp:()=>_e,Zg:()=>ae,cH:()=>me,xx:()=>se});var m=g(7367),c=g(745),U=g(2673),O=g(9337),N=g(635),B=g(3158),V=g(3710);function x(Re,Oe={}){let Ne=function L(Re){return Re.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}(Re);return Oe.preserveSpaces&&(Ne=Ne.replace(/(^|[\r\n\t ]) /g,"$1 ")),Oe.preserveNewlines&&(Ne=Ne.replace(/(\r\n|\n|\r)/g,"<br>")),Oe.preserveTabs&&(Ne=Ne.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),(0,V.fS)(Ne)}var q=g(4687),K=g(2560),te=g(4541),Z=g(8987),H=g(5370);const se="file-not-found",me="fetching-error",Me="generated/",_e=Me+"docs/";class ae{constructor(Oe,Ne,ce){this.logger=Oe,this.http=Ne,this.cache=new Map,this.currentDocument=ce.currentPath.pipe((0,U.w)(ie=>this.getDocument(ie)))}getDocument(Oe){const Ne=Oe||"index";return this.logger.log("getting document",Ne),this.cache.has(Ne)||this.cache.set(Ne,this.fetchDocument(Ne)),this.cache.get(Ne)}fetchDocument(Oe){const Ne=`${_e}${function Te(Re){return Re.replace(/[A-Z_]/g,Oe=>Oe.toLowerCase()+"_")}(Oe)}.json`,ce=new m.c;return this.logger.log("fetching document from",Ne),this.http.get(Ne,{responseType:"json"}).pipe((0,O.b)(ie=>{if(!ie||"object"!=typeof ie)throw this.logger.log("received invalid data:",ie),Error("Invalid data")}),(0,N.U)(ie=>({id:ie.id,contents:null===ie.contents?null:(0,q.Ci)(ie.contents,"^")})),(0,B.K)(ie=>404===ie.status?this.getFileNotFoundDoc(Oe):this.getErrorDoc(Oe,ie))).subscribe(ce),ce.asObservable()}getFileNotFoundDoc(Oe){return Oe!==se?(this.logger.error(new Error(`Document file not found at '${Oe}'`)),this.getDocument(se)):(0,c.of)({id:se,contents:x("文件未找到")})}getErrorDoc(Oe,Ne){return this.logger.error(new Error(`Error fetching document '${Oe}': (${Ne.message})`)),this.cache.delete(Oe),(0,c.of)({id:me,contents:(Re=Oe,(0,q.Ci)(`\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">請求文件失敗</h1>\n <p>\n 抱歉,這次我們沒能取到 "${x(Re)}" 頁。請檢查你的網路連線,稍後再試。\n </p>\n </div>\n </div>\n`,"inline HTML with interpolations escaped"))});var Re}static#e=this.ɵfac=function(Ne){return new(Ne||ae)(K.LFG(te.Y),K.LFG(Z.eN),K.LFG(H.a))};static#t=this.ɵprov=K.Yz7({token:ae,factory:ae.ɵfac})}},5832:(Se,W,g)=>{g.d(W,{o:()=>te});var m=g(6067),c=g(833),U=g(4987);const{isArray:O}=Array;var B=g(3945);var F=g(5524),I=g(155),L=g(3853),A=g(8917);class q{constructor(H,se){this.worker=H,this.zone=se,this.nextId=0}static create(H,se){return new q(H,se)}sendMessage(H,se){return new c.y(me=>{const Me=this.nextId++,_e=ae=>{const{type:Te,id:Re,payload:Oe}=ae.data;H===Te&&Me===Re&&this.zone.run(()=>{me.next(Oe),me.complete()})},z=ae=>{this.zone.run(()=>me.error(ae))};return this.worker.addEventListener("message",_e),this.worker.addEventListener("error",z),this.worker.postMessage({type:H,id:Me,payload:se}),()=>{this.worker.removeEventListener("message",_e),this.worker.removeEventListener("error",z)}})}}var K=g(2560);class te{constructor(H){this.zone=H,this.searchesSubject=new m.t(1)}initWorker(H){const se=this.ready=function V(...Z){return 1===(Z=function N(Z){return 1===Z.length&&O(Z[0])?Z[0]:Z}(Z)).length?(0,U.Xf)(Z[0]):new c.y(function x(Z){return H=>{let se=[];for(let me=0;se&&!H.closed&&me<Z.length;me++)se.push((0,U.Xf)(Z[me]).subscribe((0,B.x)(H,Me=>{if(se){for(let _e=0;_e<se.length;_e++)_e!==me&&se[_e].unsubscribe();se=null}H.next(Me)})))}}(Z))}((0,F.H)(H),this.searchesSubject.asObservable().pipe((0,I.P)())).pipe((0,L.b)(()=>{const me=new Worker(g.tu(new URL(g.p+g.u("src_app_search_search_worker_ts"),g.b)),{type:void 0});return this.worker=q.create(me,this.zone),this.worker.sendMessage("load-index")}),(0,A._)(1));return se.connect(),se}search(H){return this.searchesSubject.next(H),this.ready.pipe((0,L.b)(()=>this.worker.sendMessage("query-index",H)))}static#e=this.ɵfac=function(se){return new(se||te)(K.LFG(K.R0b))};static#t=this.ɵprov=K.Yz7({token:te,factory:te.ɵfac})}},3336:(Se,W,g)=>{function m(O){const{message:N,filename:B,colno:V,lineno:x,error:F}=O;return F instanceof Error?c(F):`${U(N)}\n${B}:${x||"?"}:${V||"?"}`}function c(O){let N="<no-stack>";return O.stack&&(N=U(O.stack).replace(O.message+"\n","").replace(/^ +/gm,"").replace(/^at /gm,"").replace(/(?: \(|@)http.+\/([^/)]+)\)?(?:\n|$)/gm,"@$1\n").replace(/ *\(eval code(:\d+:\d+)\)(?:\n|$)/gm,"@???$1\n")),`${O.message}\n${N}`}function U(O){return O.replace(/^(Uncaught )?Error: /,"")}g.d(W,{R:()=>c,Z:()=>m})},8507:(Se,W,g)=>{g.d(W,{y:()=>V});var m=g(2297),c=g(9563),U=g(3336),O=g(4783),N=g(2340),B=g(2560);class V{constructor(F){this.window=F,this.isProtractor=this.window.name.includes("NG_DEFER_BOOTSTRAP"),this._installGlobalSiteTag(),this._installWindowErrorHandler(),this._legacyGa("create",N.N.legacyUniversalAnalyticsId,"auto"),this._legacyGa("set","anonymizeIp",!0)}reportError(F,I=!0){F=F.substring(0,150),this._legacyGa("send","exception",{exDescription:F,exFatal:I}),this._gtag("event","exception",{description:F,fatal:I})}locationChanged(F){this._sendPage(F)}sendEvent(F,I){this._gtag("event",F,I)}_sendPage(F){F!==this.previousUrl&&(this.previousUrl=F,this._legacyGa("set","page","/"+F),this._legacyGa("send","pageview"))}_gtag(...F){this.window.gtag&&this.window.gtag(...F)}_legacyGa(...F){this.window.ga&&this.window.ga(...F)}_installGlobalSiteTag(){const F=this.window,I=m.dJ`https://www.googletagmanager.com/gtag/js?id=${N.N.googleAnalyticsId}`;if(F.dataLayer=this.window.dataLayer||[],F.gtag=function(){F.dataLayer?.push(arguments)},F.gtag("js",new Date),F.gtag("config",N.N.googleAnalyticsId),this.isProtractor)return;const L=F.document.createElement("script");L.async=!0,L.src=(0,c.g$)(I),F.document.head.appendChild(L)}_installWindowErrorHandler(){this.window.addEventListener("error",F=>this.reportError((0,U.Z)(F),!0))}static#e=this.ɵfac=function(I){return new(I||V)(B.LFG(O.R))};static#t=this.ɵprov=B.Yz7({token:V,factory:V.ɵfac})}},5370:(Se,W,g)=>{g.d(W,{a:()=>x});var m=g(6067),c=g(635),U=g(9337),O=g(2560),N=g(8507),B=g(4666),V=g(9026);class x{constructor(I,L,A,q){this.analyticsService=I,this.location=L,this.scrollService=A,this.platformLocation=q,this.urlParser=document.createElement("a"),this.urlSubject=new m.t(1),this.fullPageNavigation=!1,this.currentUrl=this.urlSubject.pipe((0,c.U)(K=>this.stripSlashes(K))),this.currentPath=this.currentUrl.pipe((0,c.U)(K=>(K.match(/[^?#]*/)||[])[0]),(0,U.b)(K=>this.analyticsService.locationChanged(K))),this.urlSubject.next(L.path(!0)),this.location.subscribe(K=>this.urlSubject.next(K.url||""))}fullPageNavigationNeeded(){this.fullPageNavigation=!0}go(I){!I||(I=this.stripSlashes(I),/^http/.test(I)?this.goExternal(I):this.fullPageNavigation?(this.scrollService.removeStoredScrollInfo(),this.goExternal(I)):(this.location.go(I),this.urlSubject.next(I)))}goExternal(I){window.location.assign(I)}replace(I){window.location.replace(I)}reloadPage(){window.location.reload()}stripSlashes(I){return I.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}search(){const I={},L=this.location.path(),A=L.indexOf("?");if(A>-1)try{L.slice(A+1).split("&").forEach(K=>{const te=K.split("=");te[0]&&(I[decodeURIComponent(te[0])]=te[1]&&decodeURIComponent(te[1]))})}catch{}return I}setSearch(I,L){const A=Object.keys(L).reduce((q,K)=>{const te=L[K];return void 0===te?q:q+=(q?"&":"?")+`${encodeURIComponent(K)}=${encodeURIComponent(te)}`},"");this.platformLocation.replaceState({},I,this.platformLocation.pathname+A)}handleAnchorClick(I,L=0,A=!1,q=!1){if(0!==L||A||q)return!0;const K=I.target;if(K&&"_self"!==K||null!=I.getAttribute("download"))return!0;const{pathname:te,search:Z,hash:H}=I,se=I.getAttribute("href")?.startsWith("#")??!1,Me=(se?this.location.path():te)+Z+H;return this.urlParser.href=Me,!se&&I.href!==this.urlParser.href||!/\/[^/.]*$/.test(te)||(this.go(Me),!1)}static#e=this.ɵfac=function(L){return new(L||x)(O.LFG(N.y),O.LFG(B.Ye),O.LFG(V.a),O.LFG(B.lw))};static#t=this.ɵprov=O.Yz7({token:x,factory:x.ɵfac})}},4541:(Se,W,g)=>{g.d(W,{Y:()=>U});var m=g(2340),c=g(2560);class U{constructor(N){this.errorHandler=N}log(N,...B){m.N.production||console.log(N,...B)}error(N){this.errorHandler.handleError(N)}warn(N,...B){console.warn(N,...B)}static#e=this.ɵfac=function(B){return new(B||U)(c.LFG(c.qLn))};static#t=this.ɵprov=c.Yz7({token:U,factory:U.ɵfac})}},4727:(Se,W,g)=>{g.d(W,{f_:()=>A});var m=g(4666),c=g(6067),U=g(253),O=g(3280),N=g(9211),B=g(8951),V=g(8977),x=g(2560),F=g(9026);class I{constructor(K,te){this.element=K,this.index=te,this.top=0}calculateTop(K,te){this.top=K+this.element.getBoundingClientRect().top-te}}class L{constructor(K){this.activeScrollItem=new c.t(1),this.spiedElements=K.map((te,Z)=>new I(te,Z))}calibrate(K,te){this.spiedElements.forEach(Z=>Z.calculateTop(K,te)),this.spiedElements.sort((Z,H)=>H.top-Z.top)}onScroll(K,te){let Z;K+1>=te?Z=this.spiedElements[0]:this.spiedElements.some(H=>H.top<=K&&(Z=H,!0)),this.activeScrollItem.next(Z||null)}}class A{constructor(K,te){this.doc=K,this.scrollService=te,this.spiedElementGroups=[],this.onStopListening=new U.x,this.resizeEvents=(0,O.R)(window,"resize").pipe((0,N.e)(300),(0,B.R)(this.onStopListening)),this.scrollEvents=(0,O.R)(window,"scroll").pipe((0,N.e)(10),(0,B.R)(this.onStopListening))}spyOn(K){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const te=this.getScrollTop(),Z=this.getTopOffset(),H=this.lastMaxScrollTop,se=new L(K);return se.calibrate(te,Z),se.onScroll(te,H),this.spiedElementGroups.push(se),{active:se.activeScrollItem.asObservable().pipe((0,V.x)()),unspy:()=>this.unspy(se)}}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 K=this.getContentHeight(),te=this.getViewportHeight(),Z=this.getScrollTop(),H=this.getTopOffset();this.lastContentHeight=K,this.lastMaxScrollTop=K-te,this.spiedElementGroups.forEach(se=>se.calibrate(Z,H))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const K=this.getScrollTop(),te=this.lastMaxScrollTop;this.spiedElementGroups.forEach(Z=>Z.onScroll(K,te))}unspy(K){K.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(te=>te!==K),this.spiedElementGroups.length||this.onStopListening.next()}static#e=this.ɵfac=function(te){return new(te||A)(x.LFG(m.K0),x.LFG(F.a))};static#t=this.ɵprov=x.Yz7({token:A,factory:A.ɵfac})}},9026:(Se,W,g)=>{g.d(W,{a:()=>F});var m=g(4666),c=g(253),U=g(3280),O=g(8951),N=g(1989),B=g(6945),V=g(2560);class F{constructor(A,q,K,te,Z){if(this.document=A,this.platformLocation=q,this.viewportScroller=K,this.location=te,this.storage=Z,this.onDestroy=new c.x,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"pageXOffset"in window&&function I(){const L=Object.getOwnPropertyDescriptor(history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(history),"scrollRestoration");return void 0!==L&&!(!L.writable&&!L.set)}(),(0,U.R)(window,"resize").pipe((0,O.R)(this.onDestroy)).subscribe(()=>this._topOffset=null),(0,U.R)(window,"scroll").pipe((0,N.b)(250),(0,O.R)(this.onDestroy)).subscribe(()=>this.updateScrollPositionInHistory()),(0,U.R)(window,"beforeunload").pipe((0,O.R)(this.onDestroy)).subscribe(()=>this.updateScrollLocationHref()),this.supportManualScrollRestoration){history.scrollRestoration="manual";const H=this.location.subscribe(se=>{"hashchange"===se.type?this.scrollToPosition():(this.removeStoredScrollInfo(),this.poppedStateScrollPosition=se.state?se.state.scrollPosition:null)});this.onDestroy.subscribe(()=>H.unsubscribe())}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}get topOffset(){if(!this._topOffset){const A=this.document.querySelector(".app-toolbar");this._topOffset=(A&&A.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(){const A=this.getCurrentHash(),q=A?this.document.getElementById(A)??null:this.topOfPageElement;this.scrollToElement(q)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(A){const q=this.getStoredScrollPosition();q?this.viewportScroller.scrollToPosition(q):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),A):this.scrollToTop()}scrollToElement(A){A&&(A.scrollIntoView(),A.focus?.(),window&&window.scrollBy&&(window.scrollBy(0,A.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 A=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:A}),this.storage.setItem("scrollPosition",A.join(","))}}getStoredScrollLocationHref(){return this.storage.getItem("scrollLocationHref")||null}getStoredScrollPosition(){const A=this.storage.getItem("scrollPosition");if(!A)return null;const[q,K]=A.split(",");return[+q,+K]}removeStoredScrollInfo(){this.storage.removeItem("scrollLocationHref"),this.storage.removeItem("scrollPosition")}needToFixScrollPosition(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}getCurrentHash(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}static#e=this.ɵfac=function(q){return new(q||F)(V.LFG(m.K0),V.LFG(m.lw),V.LFG(m.EM),V.LFG(m.Ye),V.LFG(B.xg))};static#t=this.ɵprov=V.Yz7({token:F,factory:F.ɵfac})}},26:(Se,W,g)=>{g.d(W,{G:()=>q});var m=g(2560),c=g(4666),U=g(1014);function O(Z,H){1&Z&&(m.ynx(0),m.TgZ(1,"p",4),m._uU(2,"Searching ..."),m.qZA(),m.BQk())}function N(Z,H){if(1&Z&&m._UZ(0,"span"),2&Z){const se=m.oxw().$implicit;m.Gre("symbol ",se.type,"")}}function B(Z,H){if(1&Z){const se=m.EpF();m.TgZ(0,"li",11)(1,"a",12),m.NdJ("click",function(Me){const z=m.CHM(se).$implicit,ae=m.oxw(3);return m.KtG(ae.onResultSelected(z,Me))}),m.YNc(2,N,1,3,"span",13),m.TgZ(3,"span"),m._uU(4),m.qZA()()()}if(2&Z){const se=H.$implicit,me=m.oxw().$implicit;m.xp6(1),m.s9C("href",se.path,m.LSH),m.xp6(1),m.Q6J("ngIf","api"===me.name),m.xp6(1),m.ekj("deprecated-api-item",se.deprecated),m.xp6(1),m.Oqu(se.title)}}function V(Z,H){if(1&Z&&m._UZ(0,"span"),2&Z){const se=m.oxw().$implicit;m.Gre("symbol ",se.type,"")}}function x(Z,H){if(1&Z){const se=m.EpF();m.TgZ(0,"li",11)(1,"a",12),m.NdJ("click",function(Me){const z=m.CHM(se).$implicit,ae=m.oxw(3);return m.KtG(ae.onResultSelected(z,Me))}),m.YNc(2,V,1,3,"span",13),m.TgZ(3,"span"),m._uU(4),m.qZA()()()}if(2&Z){const se=H.$implicit,me=m.oxw().$implicit;m.xp6(1),m.s9C("href",se.path,m.LSH),m.xp6(1),m.Q6J("ngIf","api"===me.name),m.xp6(1),m.ekj("deprecated-api-item",se.deprecated),m.xp6(1),m.Oqu(se.title)}}function F(Z,H){if(1&Z&&(m.TgZ(0,"div",7)(1,"h3",8),m._uU(2),m.qZA(),m.TgZ(3,"ul",9),m.YNc(4,B,5,5,"li",10),m.qZA(),m.TgZ(5,"ul"),m.YNc(6,x,5,5,"li",10),m.qZA()()),2&Z){const se=H.$implicit;m.xp6(2),m.AsE("",se.name," (",se.pages.length+se.priorityPages.length,")"),m.xp6(2),m.Q6J("ngForOf",se.priorityPages),m.xp6(2),m.Q6J("ngForOf",se.pages)}}function I(Z,H){if(1&Z&&(m.ynx(0),m.TgZ(1,"h2",5),m._uU(2,"Search Results"),m.qZA(),m.YNc(3,F,7,4,"div",6),m.BQk()),2&Z){const se=m.oxw();m.xp6(3),m.Q6J("ngForOf",se.searchAreas)}}function L(Z,H){1&Z&&(m.ynx(0),m.TgZ(1,"div",7)(2,"p",4),m._uU(3," No results found."),m._UZ(4,"br"),m._uU(5," Here are a few links that might be helpful in finding what you are looking for: "),m.qZA(),m.TgZ(6,"ul",9)(7,"li",11)(8,"a",14),m._uU(9,"API reference"),m.qZA()(),m.TgZ(10,"li",11)(11,"a",15),m._uU(12,"Resources"),m.qZA()(),m.TgZ(13,"li",11)(14,"a",16),m._uU(15,"Glossary"),m.qZA()(),m.TgZ(16,"li",11)(17,"a",17),m._uU(18,"Cheat-sheet"),m.qZA()(),m.TgZ(19,"li",11)(20,"a",18),m._uU(21,"Angular blog"),m.qZA()()()(),m.BQk())}var A=(()=>{return(Z=A||(A={})).InProgress="in-progress",Z.ResultsFound="results-found",Z.NoResultsFound="no-results-found",A;var Z})();class q{constructor(){this.searchResults=null,this.resultSelected=new m.vpe,this.closeButtonClick=new m.vpe,this.searchState=A.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?A.InProgress:this.searchResults.results.length?A.ResultsFound:A.NoResultsFound,this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(H,se){0===se.button&&!se.ctrlKey&&!se.metaKey&&this.resultSelected.emit(H)}onCloseClicked(){this.closeButtonClick.emit()}processSearchResults(H){if(!H)return[];const se={};return H.results.forEach(Me=>{if(!Me.title)return;const _e=this.computeAreaName(Me);(se[_e]=se[_e]||[]).push(Me)}),Object.keys(se).sort((Me,_e)=>Me>_e?1:-1).map(Me=>{const{priorityPages:_e,pages:z,deprecated:ae}=function K(Z){const H=[],se=[],me=[];for(Z.forEach(Me=>{Me.deprecated?me.push(Me):H.length<5?H.push(Me):se.push(Me)});H.length<5&&se.length;)H.push(se.shift());for(;H.length<5&&me.length;)H.push(me.shift());return se.sort(te),{priorityPages:H,pages:se,deprecated:me}}(se[Me]);return{name:Me,priorityPages:_e,pages:z.concat(ae)}})}computeAreaName(H){const[se]=H.path.split("/",1);return this.folderToAreaMap[se]??this.defaultArea}static#e=this.ɵfac=function(se){return new(se||q)};static#t=this.ɵcmp=m.Xpm({type:q,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected",closeButtonClick:"closeButtonClick"},features:[m.TTD],decls:6,vars:4,consts:[[1,"search-results",3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","aria-label","Close search results panel",1,"close-button",3,"click"],["svgIcon","close"],[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(se,me){1&se&&(m.TgZ(0,"div",0),m.YNc(1,O,3,0,"ng-container",1),m.YNc(2,I,4,1,"ng-container",1),m.YNc(3,L,22,0,"ng-container",1),m.TgZ(4,"button",2),m.NdJ("click",function(){return me.onCloseClicked()}),m._UZ(5,"mat-icon",3),m.qZA()()),2&se&&(m.Q6J("ngSwitch",me.searchState),m.xp6(1),m.Q6J("ngSwitchCase","in-progress"),m.xp6(1),m.Q6J("ngSwitchCase","results-found"),m.xp6(1),m.Q6J("ngSwitchCase","no-results-found"))},dependencies:[c.sg,c.O5,c.RF,c.n9,U.Hw],encapsulation:2})}function te(Z,H){return Z.title.toUpperCase()>H.title.toUpperCase()?1:-1}},6155:(Se,W,g)=>{g.d(W,{Iv:()=>c,YP:()=>O,lZ:()=>U});var m=g(4687);function c(N){return(0,m.Ci)(N.innerHTML,"^")}function U(N){return(0,m.Ci)(N.outerHTML,"^")}function O(N){return(0,m.Ci)(N[0],"^")}},4466:(Se,W,g)=>{g.d(W,{m:()=>O});var m=g(4666),c=g(1014),U=g(2560);class O{static#e=this.ɵfac=function(V){return new(V||O)};static#t=this.ɵmod=U.oAB({type:O});static#n=this.ɵinj=U.cJS({imports:[m.ez,c.Ps,c.Ps]})}},6945:(Se,W,g)=>{g.d(W,{Un:()=>N,mM:()=>U,xg:()=>O});var m=g(2560),c=g(4783);const U=new m.OlP("LocalStorage"),O=new m.OlP("SessionStorage"),N=[{provide:U,useFactory:x=>V(x,"localStorage"),deps:[c.R]},{provide:O,useFactory:x=>V(x,"sessionStorage"),deps:[c.R]}];class B{constructor(){this.length=0}clear(){}getItem(){return null}key(){return null}removeItem(){}setItem(){}}function V(x,F){try{return x[F]}catch{return new B}}},6308:(Se,W,g)=>{g.d(W,{I:()=>x});var m=g(4666),c=g(6067),U=g(3710),O=g(6155),N=g(2560),B=g(4497),V=g(4727);class x{constructor(I,L,A){this.document=I,this.domSanitizer=L,this.scrollSpyService=A,this.tocList=new c.t(1),this.activeItemIndex=new c.t(1),this.scrollSpyInfo=null}genToc(I,L=""){if(this.resetScrollSpyInfo(),!I)return void this.tocList.next([]);const A=this.findTocHeadings(I),q=new Map,K=A.map(te=>{const{title:Z,content:H}=this.extractHeadingSafeHtml(te);return{level:te.tagName.toLowerCase(),href:`${L}#${this.getId(te,q)}`,title:Z,content:H}});this.tocList.next(K),this.scrollSpyInfo=this.scrollSpyService.spyOn(A),this.scrollSpyInfo.active.subscribe(te=>this.activeItemIndex.next(te&&te.index))}reset(){this.resetScrollSpyInfo(),this.tocList.next([])}extractHeadingSafeHtml(I){const L=this.document.createElement("div");return L.innerHTML=(0,U.xo)((0,O.Iv)(I)),L.querySelectorAll(".github-links, .header-link").forEach(A=>A.remove()),L.querySelectorAll("a").forEach(A=>{const q=A.parentNode;for(;A.childNodes.length;)q.insertBefore(A.childNodes[0],A);A.remove()}),{content:this.domSanitizer.bypassSecurityTrustHtml(L.innerHTML.trim()),title:(L.textContent||"").trim()}}findTocHeadings(I){const L=I.querySelectorAll("h1,h2,h3");return Array.prototype.filter.call(L,q=>!/(?:no-toc|notoc)/i.test(q.className)&&!this.isOriginalText(q))}isOriginalText(I){if(I&&I.hasAttribute("translation-origin")){let L=I.previousElementSibling;if(L&&"AIO-TOC"===L.tagName&&(L=L.previousElementSibling),L&&L.hasAttribute("translation-result"))return!0}return!1}resetScrollSpyInfo(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}getId(I,L){let A=I.id;return A?q(A):(A=(I.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),A=q(A),I.id=A),A;function q(K){const Z=(L.get(K)||0)+1;return L.set(K,Z),1===Z?K:`${K}-${Z}`}}static#e=this.ɵfac=function(L){return new(L||x)(N.LFG(m.K0),N.LFG(B.H7),N.LFG(V.f_))};static#t=this.ɵprov=N.Yz7({token:x,factory:x.ɵfac})}},4783:(Se,W,g)=>{g.d(W,{R:()=>c,s:()=>U});const c=new(g(2560).OlP)("Window");function U(){return window}},2340:(Se,W,g)=>{g.d(W,{N:()=>m});const m={legacyUniversalAnalyticsId:"UA-80456300-1",googleAnalyticsId:"G-BVV0RDSG7F",production:!0,mode:"stable"}},4952:(Se,W,g)=>{var m=g(4497),c=g(2560),U=g(8987),O=g(4851);function B(l){return new c.vHH(3e3,!1)}function St(){return typeof window<"u"&&typeof window.document<"u"}function Ke(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Le(l){switch(l.length){case 0:return new O.ZN;case 1:return l[0];default:return new O.ZE(l)}}function J(l,i,r,s,d=new Map,f=new Map){const y=[],D=[];let R=-1,X=null;if(s.forEach(de=>{const Ce=de.get("offset"),Ye=Ce==R,ht=Ye&&X||new Map;de.forEach((Je,dt)=>{let xt=dt,Jt=Je;if("offset"!==dt)switch(xt=i.normalizePropertyName(xt,y),Jt){case O.k1:Jt=d.get(dt);break;case O.l3:Jt=f.get(dt);break;default:Jt=i.normalizeStyleValue(dt,xt,Jt,y)}ht.set(xt,Jt)}),Ye||D.push(ht),X=ht,R=Ce}),y.length)throw function ye(l){return new c.vHH(3502,!1)}();return D}function Ie(l,i,r,s){switch(i){case"start":l.onStart(()=>s(r&&Ee(r,"start",l)));break;case"done":l.onDone(()=>s(r&&Ee(r,"done",l)));break;case"destroy":l.onDestroy(()=>s(r&&Ee(r,"destroy",l)))}}function Ee(l,i,r){const f=Be(l.element,l.triggerName,l.fromState,l.toState,i||l.phaseName,r.totalTime??l.totalTime,!!r.disabled),y=l._data;return null!=y&&(f._data=y),f}function Be(l,i,r,s,d="",f=0,y){return{element:l,triggerName:i,fromState:r,toState:s,phaseName:d,totalTime:f,disabled:!!y}}function ne(l,i,r){let s=l.get(i);return s||l.set(i,s=r),s}function pe(l){const i=l.indexOf(":");return[l.substring(1,i),l.slice(i+1)]}let Pe=(l,i)=>!1,He=(l,i,r)=>[],Ge=null;function wt(l){const i=l.parentNode||l.host;return i===Ge?null:i}(Ke()||typeof Element<"u")&&(St()?(Ge=(()=>document.documentElement)(),Pe=(l,i)=>{for(;i;){if(i===l)return!0;i=wt(i)}return!1}):Pe=(l,i)=>l.contains(i),He=(l,i,r)=>{if(r)return Array.from(l.querySelectorAll(i));const s=l.querySelector(i);return s?[s]:[]});let Xt=null,on=!1;const ot=Pe,Ze=He;let Sn=(()=>{class l{validateStyleProperty(r){return function Cn(l){Xt||(Xt=function Dt(){return typeof document<"u"?document.body:null}()||{},on=!!Xt.style&&"WebkitAppearance"in Xt.style);let i=!0;return Xt.style&&!function hn(l){return"ebkit"==l.substring(1,6)}(l)&&(i=l in Xt.style,!i&&on&&(i="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in Xt.style)),i}(r)}matchesElement(r,s){return!1}containsElement(r,s){return ot(r,s)}getParentElement(r){return wt(r)}query(r,s,d){return Ze(r,s,d)}computeStyle(r,s,d){return d||""}animate(r,s,d,f,y,D=[],R){return new O.ZN(d,f)}}return l.ɵfac=function(r){return new(r||l)},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})(),qt=(()=>{class l{}return l.NOOP=new Sn,l})();const Y="ng-enter",le="ng-leave",be="ng-trigger",st=".ng-trigger",zt="ng-animating",At=".ng-animating";function ge(l){if("number"==typeof l)return l;const i=l.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:P(parseFloat(i[1]),i[2])}function P(l,i){return"s"===i?1e3*l:l}function C(l,i,r){return l.hasOwnProperty("duration")?l:function T(l,i,r){let d,f=0,y="";if("string"==typeof l){const D=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===D)return i.push(B()),{duration:0,delay:0,easing:""};d=P(parseFloat(D[1]),D[2]);const R=D[3];null!=R&&(f=P(parseFloat(R),D[4]));const X=D[5];X&&(y=X)}else d=l;if(!r){let D=!1,R=i.length;d<0&&(i.push(function V(){return new c.vHH(3100,!1)}()),D=!0),f<0&&(i.push(function x(){return new c.vHH(3101,!1)}()),D=!0),D&&i.splice(R,0,B())}return{duration:d,delay:f,easing:y}}(l,i,r)}function G(l,i={}){return Object.keys(l).forEach(r=>{i[r]=l[r]}),i}function ue(l){const i=new Map;return Object.keys(l).forEach(r=>{i.set(r,l[r])}),i}function _t(l,i=new Map,r){if(r)for(let[s,d]of r)i.set(s,d);for(let[s,d]of l)i.set(s,d);return i}function nt(l,i,r){return r?i+":"+r+";":""}function fn(l){let i="";for(let r=0;r<l.style.length;r++){const s=l.style.item(r);i+=nt(0,s,l.style.getPropertyValue(s))}for(const r in l.style)l.style.hasOwnProperty(r)&&!r.startsWith("_")&&(i+=nt(0,Rt(r),l.style[r]));l.setAttribute("style",i)}function pn(l,i,r){l.style&&(i.forEach((s,d)=>{const f=rt(d);r&&!r.has(d)&&r.set(d,l.style[f]),l.style[f]=s}),Ke()&&fn(l))}function Zt(l,i){l.style&&(i.forEach((r,s)=>{const d=rt(s);l.style[d]=""}),Ke()&&fn(l))}function Wt(l){return Array.isArray(l)?1==l.length?l[0]:(0,O.vP)(l):l}const re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Q(l){let i=[];if("string"==typeof l){let r;for(;r=re.exec(l);)i.push(r[1]);re.lastIndex=0}return i}function j(l,i,r){const s=l.toString(),d=s.replace(re,(f,y)=>{let D=i[y];return null==D&&(r.push(function I(l){return new c.vHH(3003,!1)}()),D=""),D.toString()});return d==s?l:d}function oe(l){const i=[];let r=l.next();for(;!r.done;)i.push(r.value),r=l.next();return i}const we=/-+([a-z0-9])/g;function rt(l){return l.replace(we,(...i)=>i[1].toUpperCase())}function Rt(l){return l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Mn(l,i,r){switch(i.type){case 7:return l.visitTrigger(i,r);case 0:return l.visitState(i,r);case 1:return l.visitTransition(i,r);case 2:return l.visitSequence(i,r);case 3:return l.visitGroup(i,r);case 4:return l.visitAnimate(i,r);case 5:return l.visitKeyframes(i,r);case 6:return l.visitStyle(i,r);case 8:return l.visitReference(i,r);case 9:return l.visitAnimateChild(i,r);case 10:return l.visitAnimateRef(i,r);case 11:return l.visitQuery(i,r);case 12:return l.visitStagger(i,r);default:throw function L(l){return new c.vHH(3004,!1)}()}}function oi(l,i){return window.getComputedStyle(l)[i]}function Ti(l,i){const r=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(s=>function Qn(l,i,r){if(":"==l[0]){const R=function Jn(l,i){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,s)=>parseFloat(s)>parseFloat(r);case":decrement":return(r,s)=>parseFloat(s)<parseFloat(r);default:return i.push(function Oe(l){return new c.vHH(3016,!1)}()),"* => *"}}(l,r);if("function"==typeof R)return void i.push(R);l=R}const s=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return r.push(function Re(l){return new c.vHH(3015,!1)}()),i;const d=s[1],f=s[2],y=s[3];i.push(Qt(d,y));"<"==f[0]&&!("*"==d&&"*"==y)&&i.push(Qt(y,d))}(s,r,i)):r.push(l),r}const ze=new Set(["true","1"]),yt=new Set(["false","0"]);function Qt(l,i){const r=ze.has(l)||yt.has(l),s=ze.has(i)||yt.has(i);return(d,f)=>{let y="*"==l||l==d,D="*"==i||i==f;return!y&&r&&"boolean"==typeof d&&(y=d?ze.has(l):yt.has(l)),!D&&s&&"boolean"==typeof f&&(D=f?ze.has(i):yt.has(i)),y&&D}}const Pr=new RegExp("s*:selfs*,?","g");function un(l,i,r,s){return new Gt(l).build(i,r,s)}class Gt{constructor(i){this._driver=i}build(i,r,s){const d=new Mt(r);return this._resetContextStyleTimingState(d),Mn(this,Wt(i),d)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,r){let s=r.queryCount=0,d=r.depCount=0;const f=[],y=[];return"@"==i.name.charAt(0)&&r.errors.push(function q(){return new c.vHH(3006,!1)}()),i.definitions.forEach(D=>{if(this._resetContextStyleTimingState(r),0==D.type){const R=D,X=R.name;X.toString().split(/\s*,\s*/).forEach(de=>{R.name=de,f.push(this.visitState(R,r))}),R.name=X}else if(1==D.type){const R=this.visitTransition(D,r);s+=R.queryCount,d+=R.depCount,y.push(R)}else r.errors.push(function K(){return new c.vHH(3007,!1)}())}),{type:7,name:i.name,states:f,transitions:y,queryCount:s,depCount:d,options:null}}visitState(i,r){const s=this.visitStyle(i.styles,r),d=i.options&&i.options.params||null;if(s.containsDynamicStyles){const f=new Set,y=d||{};s.styles.forEach(D=>{D instanceof Map&&D.forEach(R=>{Q(R).forEach(X=>{y.hasOwnProperty(X)||f.add(X)})})}),f.size&&(oe(f.values()),r.errors.push(function te(l,i){return new c.vHH(3008,!1)}()))}return{type:0,name:i.name,style:s,options:d?{params:d}:null}}visitTransition(i,r){r.queryCount=0,r.depCount=0;const s=Mn(this,Wt(i.animation),r);return{type:1,matchers:Ti(i.expr,r.errors),animation:s,queryCount:r.queryCount,depCount:r.depCount,options:Cr(i.options)}}visitSequence(i,r){return{type:2,steps:i.steps.map(s=>Mn(this,s,r)),options:Cr(i.options)}}visitGroup(i,r){const s=r.currentTime;let d=0;const f=i.steps.map(y=>{r.currentTime=s;const D=Mn(this,y,r);return d=Math.max(d,r.currentTime),D});return r.currentTime=d,{type:3,steps:f,options:Cr(i.options)}}visitAnimate(i,r){const s=function ai(l,i){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return Wr(C(l,i).duration,0,"");const r=l;if(r.split(/\s+/).some(f=>"{"==f.charAt(0)&&"{"==f.charAt(1))){const f=Wr(0,0,"");return f.dynamic=!0,f.strValue=r,f}const d=C(r,i);return Wr(d.duration,d.delay,d.easing)}(i.timings,r.errors);r.currentAnimateTimings=s;let d,f=i.styles?i.styles:(0,O.oB)({});if(5==f.type)d=this.visitKeyframes(f,r);else{let y=i.styles,D=!1;if(!y){D=!0;const X={};s.easing&&(X.easing=s.easing),y=(0,O.oB)(X)}r.currentTime+=s.duration+s.delay;const R=this.visitStyle(y,r);R.isEmptyStep=D,d=R}return r.currentAnimateTimings=null,{type:4,timings:s,style:d,options:null}}visitStyle(i,r){const s=this._makeStyleAst(i,r);return this._validateStyleAst(s,r),s}_makeStyleAst(i,r){const s=[],d=Array.isArray(i.styles)?i.styles:[i.styles];for(let D of d)"string"==typeof D?D===O.l3?s.push(D):r.errors.push(new c.vHH(3002,!1)):s.push(ue(D));let f=!1,y=null;return s.forEach(D=>{if(D instanceof Map&&(D.has("easing")&&(y=D.get("easing"),D.delete("easing")),!f))for(let R of D.values())if(R.toString().indexOf("{{")>=0){f=!0;break}}),{type:6,styles:s,easing:y,offset:i.offset,containsDynamicStyles:f,options:null}}_validateStyleAst(i,r){const s=r.currentAnimateTimings;let d=r.currentTime,f=r.currentTime;s&&f>0&&(f-=s.duration+s.delay),i.styles.forEach(y=>{"string"!=typeof y&&y.forEach((D,R)=>{const X=r.collectedStyles.get(r.currentQuerySelector),de=X.get(R);let Ce=!0;de&&(f!=d&&f>=de.startTime&&d<=de.endTime&&(r.errors.push(function se(l,i,r,s,d){return new c.vHH(3010,!1)}()),Ce=!1),f=de.startTime),Ce&&X.set(R,{startTime:f,endTime:d}),r.options&&function it(l,i,r){const s=i.params||{},d=Q(l);d.length&&d.forEach(f=>{s.hasOwnProperty(f)||r.push(function F(l){return new c.vHH(3001,!1)}())})}(D,r.options,r.errors)})})}visitKeyframes(i,r){const s={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(function me(){return new c.vHH(3011,!1)}()),s;let f=0;const y=[];let D=!1,R=!1,X=0;const de=i.steps.map(Jt=>{const mn=this._makeStyleAst(Jt,r);let Gn=null!=mn.offset?mn.offset:function si(l){if("string"==typeof l)return null;let i=null;if(Array.isArray(l))l.forEach(r=>{if(r instanceof Map&&r.has("offset")){const s=r;i=parseFloat(s.get("offset")),s.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const r=l;i=parseFloat(r.get("offset")),r.delete("offset")}return i}(mn.styles),Kn=0;return null!=Gn&&(f++,Kn=mn.offset=Gn),R=R||Kn<0||Kn>1,D=D||Kn<X,X=Kn,y.push(Kn),mn});R&&r.errors.push(function Me(){return new c.vHH(3012,!1)}()),D&&r.errors.push(function _e(){return new c.vHH(3200,!1)}());const Ce=i.steps.length;let Ye=0;f>0&&f<Ce?r.errors.push(function z(){return new c.vHH(3202,!1)}()):0==f&&(Ye=1/(Ce-1));const ht=Ce-1,Je=r.currentTime,dt=r.currentAnimateTimings,xt=dt.duration;return de.forEach((Jt,mn)=>{const Gn=Ye>0?mn==ht?1:Ye*mn:y[mn],Kn=Gn*xt;r.currentTime=Je+dt.delay+Kn,dt.duration=Kn,this._validateStyleAst(Jt,r),Jt.offset=Gn,s.styles.push(Jt)}),s}visitReference(i,r){return{type:8,animation:Mn(this,Wt(i.animation),r),options:Cr(i.options)}}visitAnimateChild(i,r){return r.depCount++,{type:9,options:Cr(i.options)}}visitAnimateRef(i,r){return{type:10,animation:this.visitReference(i.animation,r),options:Cr(i.options)}}visitQuery(i,r){const s=r.currentQuerySelector,d=i.options||{};r.queryCount++,r.currentQuery=i;const[f,y]=function $r(l){const i=!!l.split(/\s*,\s*/).find(r=>":self"==r);return i&&(l=l.replace(Pr,"")),l=l.replace(/@\*/g,st).replace(/@\w+/g,r=>st+"-"+r.slice(1)).replace(/:animating/g,At),[l,i]}(i.selector);r.currentQuerySelector=s.length?s+" "+f:f,ne(r.collectedStyles,r.currentQuerySelector,new Map);const D=Mn(this,Wt(i.animation),r);return r.currentQuery=null,r.currentQuerySelector=s,{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:y,animation:D,originalSelector:i.selector,options:Cr(i.options)}}visitStagger(i,r){r.currentQuery||r.errors.push(function ae(){return new c.vHH(3013,!1)}());const s="full"===i.timings?{duration:0,delay:0,easing:"full"}:C(i.timings,r.errors,!0);return{type:12,animation:Mn(this,Wt(i.animation),r),timings:s,options:null}}}class Mt{constructor(i){this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Cr(l){return l?(l=G(l)).params&&(l.params=function zr(l){return l?G(l):null}(l.params)):l={},l}function Wr(l,i,r){return{duration:l,delay:i,easing:r}}function Dn(l,i,r,s,d,f,y=null,D=!1){return{type:1,element:l,keyframes:i,preStyleProps:r,postStyleProps:s,duration:d,delay:f,totalTime:d+f,easing:y,subTimeline:D}}class Gr{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,r){let s=this._map.get(i);s||this._map.set(i,s=[]),s.push(...r)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const qi=new RegExp(":enter","g"),en=new RegExp(":leave","g");function gs(l,i,r,s,d,f=new Map,y=new Map,D,R,X=[]){return(new Dl).buildKeyframes(l,i,r,s,d,f,y,D,R,X)}class Dl{buildKeyframes(i,r,s,d,f,y,D,R,X,de=[]){X=X||new Gr;const Ce=new Ii(i,r,X,d,f,de,[]);Ce.options=R;const Ye=R.delay?ge(R.delay):0;Ce.currentTimeline.delayNextStep(Ye),Ce.currentTimeline.setStyles([y],null,Ce.errors,R),Mn(this,s,Ce);const ht=Ce.timelines.filter(Je=>Je.containsAnimation());if(ht.length&&D.size){let Je;for(let dt=ht.length-1;dt>=0;dt--){const xt=ht[dt];if(xt.element===r){Je=xt;break}}Je&&!Je.allowOnlyTimelineStyles()&&Je.setStyles([D],null,Ce.errors,R)}return ht.length?ht.map(Je=>Je.buildKeyframes()):[Dn(r,[],[],[],0,Ye,"",!1)]}visitTrigger(i,r){}visitState(i,r){}visitTransition(i,r){}visitAnimateChild(i,r){const s=r.subInstructions.get(r.element);if(s){const d=r.createSubContext(i.options),f=r.currentTimeline.currentTime,y=this._visitSubInstructions(s,d,d.options);f!=y&&r.transformIntoNewTimeline(y)}r.previousNode=i}visitAnimateRef(i,r){const s=r.createSubContext(i.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],r,s),this.visitReference(i.animation,s),r.transformIntoNewTimeline(s.currentTimeline.currentTime),r.previousNode=i}_applyAnimationRefDelays(i,r,s){for(const d of i){const f=d?.delay;if(f){const y="number"==typeof f?f:ge(j(f,d?.params??{},r.errors));s.delayNextStep(y)}}}_visitSubInstructions(i,r,s){let f=r.currentTimeline.currentTime;const y=null!=s.duration?ge(s.duration):null,D=null!=s.delay?ge(s.delay):null;return 0!==y&&i.forEach(R=>{const X=r.appendInstructionToTimeline(R,y,D);f=Math.max(f,X.duration+X.delay)}),f}visitReference(i,r){r.updateOptions(i.options,!0),Mn(this,i.animation,r),r.previousNode=i}visitSequence(i,r){const s=r.subContextCount;let d=r;const f=i.options;if(f&&(f.params||f.delay)&&(d=r.createSubContext(f),d.transformIntoNewTimeline(),null!=f.delay)){6==d.previousNode.type&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=ci);const y=ge(f.delay);d.delayNextStep(y)}i.steps.length&&(i.steps.forEach(y=>Mn(this,y,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>s&&d.transformIntoNewTimeline()),r.previousNode=i}visitGroup(i,r){const s=[];let d=r.currentTimeline.currentTime;const f=i.options&&i.options.delay?ge(i.options.delay):0;i.steps.forEach(y=>{const D=r.createSubContext(i.options);f&&D.delayNextStep(f),Mn(this,y,D),d=Math.max(d,D.currentTimeline.currentTime),s.push(D.currentTimeline)}),s.forEach(y=>r.currentTimeline.mergeTimelineCollectedStyles(y)),r.transformIntoNewTimeline(d),r.previousNode=i}_visitTiming(i,r){if(i.dynamic){const s=i.strValue;return C(r.params?j(s,r.params,r.errors):s,r.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,r){const s=r.currentAnimateTimings=this._visitTiming(i.timings,r),d=r.currentTimeline;s.delay&&(r.incrementTime(s.delay),d.snapshotCurrentStyles());const f=i.style;5==f.type?this.visitKeyframes(f,r):(r.incrementTime(s.duration),this.visitStyle(f,r),d.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=i}visitStyle(i,r){const s=r.currentTimeline,d=r.currentAnimateTimings;!d&&s.hasCurrentStyleProperties()&&s.forwardFrame();const f=d&&d.easing||i.easing;i.isEmptyStep?s.applyEmptyStep(f):s.setStyles(i.styles,f,r.errors,r.options),r.previousNode=i}visitKeyframes(i,r){const s=r.currentAnimateTimings,d=r.currentTimeline.duration,f=s.duration,D=r.createSubContext().currentTimeline;D.easing=s.easing,i.styles.forEach(R=>{D.forwardTime((R.offset||0)*f),D.setStyles(R.styles,R.easing,r.errors,r.options),D.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(D),r.transformIntoNewTimeline(d+f),r.previousNode=i}visitQuery(i,r){const s=r.currentTimeline.currentTime,d=i.options||{},f=d.delay?ge(d.delay):0;f&&(6===r.previousNode.type||0==s&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ci);let y=s;const D=r.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!d.optional,r.errors);r.currentQueryTotal=D.length;let R=null;D.forEach((X,de)=>{r.currentQueryIndex=de;const Ce=r.createSubContext(i.options,X);f&&Ce.delayNextStep(f),X===r.element&&(R=Ce.currentTimeline),Mn(this,i.animation,Ce),Ce.currentTimeline.applyStylesToKeyframe(),y=Math.max(y,Ce.currentTimeline.currentTime)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(y),R&&(r.currentTimeline.mergeTimelineCollectedStyles(R),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=i}visitStagger(i,r){const s=r.parentContext,d=r.currentTimeline,f=i.timings,y=Math.abs(f.duration),D=y*(r.currentQueryTotal-1);let R=y*r.currentQueryIndex;switch(f.duration<0?"reverse":f.easing){case"reverse":R=D-R;break;case"full":R=s.currentStaggerTime}const de=r.currentTimeline;R&&de.delayNextStep(R);const Ce=de.currentTime;Mn(this,i.animation,r),r.previousNode=i,s.currentStaggerTime=d.currentTime-Ce+(d.startTime-s.currentTimeline.startTime)}}const ci={};class Ii{constructor(i,r,s,d,f,y,D,R){this._driver=i,this.element=r,this.subInstructions=s,this._enterClassName=d,this._leaveClassName=f,this.errors=y,this.timelines=D,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ci,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=R||new Kr(this._driver,r,0),D.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,r){if(!i)return;const s=i;let d=this.options;null!=s.duration&&(d.duration=ge(s.duration)),null!=s.delay&&(d.delay=ge(s.delay));const f=s.params;if(f){let y=d.params;y||(y=this.options.params={}),Object.keys(f).forEach(D=>{(!r||!y.hasOwnProperty(D))&&(y[D]=j(f[D],y,this.errors))})}}_copyOptions(){const i={};if(this.options){const r=this.options.params;if(r){const s=i.params={};Object.keys(r).forEach(d=>{s[d]=r[d]})}}return i}createSubContext(i=null,r,s){const d=r||this.element,f=new Ii(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,s||0));return f.previousNode=this.previousNode,f.currentAnimateTimings=this.currentAnimateTimings,f.options=this._copyOptions(),f.updateOptions(i),f.currentQueryIndex=this.currentQueryIndex,f.currentQueryTotal=this.currentQueryTotal,f.parentContext=this,this.subContextCount++,f}transformIntoNewTimeline(i){return this.previousNode=ci,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,r,s){const d={duration:r??i.duration,delay:this.currentTimeline.currentTime+(s??0)+i.delay,easing:""},f=new Eo(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,d,i.stretchStartingKeyframe);return this.timelines.push(f),d}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,r,s,d,f,y){let D=[];if(d&&D.push(this.element),i.length>0){i=(i=i.replace(qi,"."+this._enterClassName)).replace(en,"."+this._leaveClassName);let X=this._driver.query(this.element,i,1!=s);0!==s&&(X=s<0?X.slice(X.length+s,X.length):X.slice(0,s)),D.push(...X)}return!f&&0==D.length&&y.push(function Te(l){return new c.vHH(3014,!1)}()),D}}class Kr{constructor(i,r,s,d){this._driver=i,this.element=r,this.startTime=s,this._elementTimelineStylesLookup=d,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const r=1===this._keyframes.size&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+i),r&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,r){return this.applyStylesToKeyframe(),new Kr(this._driver,i,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,r){this._localTimelineStyles.set(i,r),this._globalTimelineStyles.set(i,r),this._styleSummary.set(i,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[r,s]of this._globalTimelineStyles)this._backFill.set(r,s||O.l3),this._currentKeyframe.set(r,O.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,r,s,d){r&&this._previousKeyframe.set("easing",r);const f=d&&d.params||{},y=function xn(l,i){const r=new Map;let s;return l.forEach(d=>{if("*"===d){s=s||i.keys();for(let f of s)r.set(f,O.l3)}else _t(d,r)}),r}(i,this._globalTimelineStyles);for(let[D,R]of y){const X=j(R,f,s);this._pendingStyles.set(D,X),this._localTimelineStyles.has(D)||this._backFill.set(D,this._globalTimelineStyles.get(D)??O.l3),this._updateStyle(D,X)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,r)=>{this._currentKeyframe.set(r,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,i)}))}snapshotCurrentStyles(){for(let[i,r]of this._localTimelineStyles)this._pendingStyles.set(i,r),this._updateStyle(i,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let r in this._currentKeyframe)i.push(r);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((r,s)=>{const d=this._styleSummary.get(s);(!d||r.time>d.time)&&this._updateStyle(s,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,r=new Set,s=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((D,R)=>{const X=_t(D,new Map,this._backFill);X.forEach((de,Ce)=>{de===O.k1?i.add(Ce):de===O.l3&&r.add(Ce)}),s||X.set("offset",R/this.duration),d.push(X)});const f=i.size?oe(i.values()):[],y=r.size?oe(r.values()):[];if(s){const D=d[0],R=new Map(D);D.set("offset",0),R.set("offset",1),d=[D,R]}return Dn(this.element,d,f,y,this.duration,this.startTime,this.easing,!1)}}class Eo extends Kr{constructor(i,r,s,d,f,y,D=!1){super(i,r,y.delay),this.keyframes=s,this.preStyleProps=d,this.postStyleProps=f,this._stretchStartingKeyframe=D,this.timings={duration:y.duration,delay:y.delay,easing:y.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:r,duration:s,easing:d}=this.timings;if(this._stretchStartingKeyframe&&r){const f=[],y=s+r,D=r/y,R=_t(i[0]);R.set("offset",0),f.push(R);const X=_t(i[0]);X.set("offset",Yr(D)),f.push(X);const de=i.length-1;for(let Ce=1;Ce<=de;Ce++){let Ye=_t(i[Ce]);const ht=Ye.get("offset");Ye.set("offset",Yr((r+ht*s)/y)),f.push(Ye)}s=y,r=0,d="",i=f}return Dn(this.element,i,this.preStyleProps,this.postStyleProps,s,r,d,!0)}}function Yr(l,i=3){const r=Math.pow(10,i-1);return Math.round(l*r)/r}class Pn{}const ms=new Set(["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"]);class bo extends Pn{normalizePropertyName(i,r){return rt(i)}normalizeStyleValue(i,r,s,d){let f="";const y=s.toString().trim();if(ms.has(r)&&0!==s&&"0"!==s)if("number"==typeof s)f="px";else{const D=s.match(/^[+-]?[\d\.]+([a-z]*)$/);D&&0==D[1].length&&d.push(function A(l,i){return new c.vHH(3005,!1)}())}return y+f}}function eo(l,i,r,s,d,f,y,D,R,X,de,Ce,Ye){return{type:0,element:l,triggerName:i,isRemovalTransition:d,fromState:r,fromStyles:f,toState:s,toStyles:y,timelines:D,queriedElements:R,preStyleProps:X,postStyleProps:de,totalTime:Ce,errors:Ye}}const rr={};class ua{constructor(i,r,s){this._triggerName=i,this.ast=r,this._stateStyles=s}match(i,r,s,d){return function wl(l,i,r,s,d){return l.some(f=>f(i,r,s,d))}(this.ast.matchers,i,r,s,d)}buildStyles(i,r,s){let d=this._stateStyles.get("*");return void 0!==i&&(d=this._stateStyles.get(i?.toString())||d),d?d.buildStyles(r,s):new Map}build(i,r,s,d,f,y,D,R,X,de){const Ce=[],Ye=this.ast.options&&this.ast.options.params||rr,Je=this.buildStyles(s,D&&D.params||rr,Ce),dt=R&&R.params||rr,xt=this.buildStyles(d,dt,Ce),Jt=new Set,mn=new Map,Gn=new Map,Kn="void"===d,Di={params:da(dt,Ye),delay:this.ast.options?.delay},ar=de?[]:gs(i,r,this.ast.animation,f,y,Je,xt,Di,X,Ce);let Yn=0;if(ar.forEach(jr=>{Yn=Math.max(jr.duration+jr.delay,Yn)}),Ce.length)return eo(r,this._triggerName,s,d,Kn,Je,xt,[],[],mn,Gn,Yn,Ce);ar.forEach(jr=>{const Or=jr.element,iu=ne(mn,Or,new Set);jr.preStyleProps.forEach(wi=>iu.add(wi));const _o=ne(Gn,Or,new Set);jr.postStyleProps.forEach(wi=>_o.add(wi)),Or!==r&&Jt.add(Or)});const br=oe(Jt.values());return eo(r,this._triggerName,s,d,Kn,Je,xt,ar,br,mn,Gn,Yn)}}function da(l,i){const r=G(i);for(const s in l)l.hasOwnProperty(s)&&null!=l[s]&&(r[s]=l[s]);return r}class Du{constructor(i,r,s){this.styles=i,this.defaultParams=r,this.normalizer=s}buildStyles(i,r){const s=new Map,d=G(this.defaultParams);return Object.keys(i).forEach(f=>{const y=i[f];null!==y&&(d[f]=y)}),this.styles.styles.forEach(f=>{"string"!=typeof f&&f.forEach((y,D)=>{y&&(y=j(y,d,r));const R=this.normalizer.normalizePropertyName(D,r);y=this.normalizer.normalizeStyleValue(D,R,y,r),s.set(R,y)})}),s}}class Cu{constructor(i,r,s){this.name=i,this.ast=r,this._normalizer=s,this.transitionFactories=[],this.states=new Map,r.states.forEach(d=>{this.states.set(d.name,new Du(d.style,d.options&&d.options.params||{},s))}),_s(this.states,"true","1"),_s(this.states,"false","0"),r.transitions.forEach(d=>{this.transitionFactories.push(new ua(i,d,this.states))}),this.fallbackTransition=function ha(l,i,r){return new ua(l,{type:1,animation:{type:2,steps:[],options:null},matchers:[(y,D)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,r,s,d){return this.transitionFactories.find(y=>y.match(i,r,s,d))||null}matchStyles(i,r,s){return this.fallbackTransition.buildStyles(i,r,s)}}function _s(l,i,r){l.has(i)?l.has(r)||l.set(r,l.get(i)):l.has(r)&&l.set(i,l.get(r))}const Su=new Gr;class df{constructor(i,r,s){this.bodyNode=i,this._driver=r,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,r){const s=[],f=un(this._driver,r,s,[]);if(s.length)throw function fe(l){return new c.vHH(3503,!1)}();this._animations.set(i,f)}_buildPlayer(i,r,s){const d=i.element,f=J(0,this._normalizer,0,i.keyframes,r,s);return this._driver.animate(d,f,i.duration,i.delay,i.easing,[],!0)}create(i,r,s={}){const d=[],f=this._animations.get(i);let y;const D=new Map;if(f?(y=gs(this._driver,r,f,Y,le,new Map,new Map,s,Su,d),y.forEach(de=>{const Ce=ne(D,de.element,new Map);de.postStyleProps.forEach(Ye=>Ce.set(Ye,null))})):(d.push(function je(){return new c.vHH(3300,!1)}()),y=[]),d.length)throw function ke(l){return new c.vHH(3504,!1)}();D.forEach((de,Ce)=>{de.forEach((Ye,ht)=>{de.set(ht,this._driver.computeStyle(Ce,ht,O.l3))})});const X=Le(y.map(de=>{const Ce=D.get(de.element);return this._buildPlayer(de,new Map,Ce)}));return this._playersById.set(i,X),X.onDestroy(()=>this.destroy(i)),this.players.push(X),X}destroy(i){const r=this._getPlayer(i);r.destroy(),this._playersById.delete(i);const s=this.players.indexOf(r);s>=0&&this.players.splice(s,1)}_getPlayer(i){const r=this._playersById.get(i);if(!r)throw function ct(l){return new c.vHH(3301,!1)}();return r}listen(i,r,s,d){const f=Be(r,"","","");return Ie(this._getPlayer(i),s,f,d),()=>{}}command(i,r,s,d){if("register"==s)return void this.register(i,d[0]);if("create"==s)return void this.create(i,r,d[0]||{});const f=this._getPlayer(i);switch(s){case"play":f.play();break;case"pause":f.pause();break;case"reset":f.reset();break;case"restart":f.restart();break;case"finish":f.finish();break;case"init":f.init();break;case"setPosition":f.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(i)}}}const Cl="ng-animate-queued",fa="ng-animate-disabled",hf=[],pa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ga={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mr="__ng_removed";class ma{constructor(i,r=""){this.namespaceId=r;const s=i&&i.hasOwnProperty("value");if(this.value=function vs(l){return l??null}(s?i.value:i),s){const f=G(i);delete f.value,this.options=f}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(i){const r=i.params;if(r){const s=this.options.params;Object.keys(r).forEach(d=>{null==s[d]&&(s[d]=r[d])})}}}const Do="void",Tr=new ma(Do);class _a{constructor(i,r,s){this.id=i,this.hostElement=r,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,dn(r,this._hostClassName)}listen(i,r,s,d){if(!this._triggers.has(r))throw function Lt(l,i){return new c.vHH(3302,!1)}();if(null==s||0==s.length)throw function nn(l){return new c.vHH(3303,!1)}();if(!function ya(l){return"start"==l||"done"==l}(s))throw function gt(l,i){return new c.vHH(3400,!1)}();const f=ne(this._elementListeners,i,[]),y={name:r,phase:s,callback:d};f.push(y);const D=ne(this._engine.statesByElement,i,new Map);return D.has(r)||(dn(i,be),dn(i,be+"-"+r),D.set(r,Tr)),()=>{this._engine.afterFlush(()=>{const R=f.indexOf(y);R>=0&&f.splice(R,1),this._triggers.has(r)||D.delete(r)})}}register(i,r){return!this._triggers.has(i)&&(this._triggers.set(i,r),!0)}_getTrigger(i){const r=this._triggers.get(i);if(!r)throw function It(l){return new c.vHH(3401,!1)}();return r}trigger(i,r,s,d=!0){const f=this._getTrigger(r),y=new wo(this.id,r,i);let D=this._engine.statesByElement.get(i);D||(dn(i,be),dn(i,be+"-"+r),this._engine.statesByElement.set(i,D=new Map));let R=D.get(r);const X=new ma(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&R&&X.absorbOptions(R.options),D.set(r,X),R||(R=Tr),X.value!==Do&&R.value===X.value){if(!function Ru(l,i){const r=Object.keys(l),s=Object.keys(i);if(r.length!=s.length)return!1;for(let d=0;d<r.length;d++){const f=r[d];if(!i.hasOwnProperty(f)||l[f]!==i[f])return!1}return!0}(R.params,X.params)){const dt=[],xt=f.matchStyles(R.value,R.params,dt),Jt=f.matchStyles(X.value,X.params,dt);dt.length?this._engine.reportError(dt):this._engine.afterFlush(()=>{Zt(i,xt),pn(i,Jt)})}return}const Ye=ne(this._engine.playersByElement,i,[]);Ye.forEach(dt=>{dt.namespaceId==this.id&&dt.triggerName==r&&dt.queued&&dt.destroy()});let ht=f.matchTransition(R.value,X.value,i,X.params),Je=!1;if(!ht){if(!d)return;ht=f.fallbackTransition,Je=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:r,transition:ht,fromState:R,toState:X,player:y,isFallbackTransition:Je}),Je||(dn(i,Cl),y.onStart(()=>{vr(i,Cl)})),y.onDone(()=>{let dt=this.players.indexOf(y);dt>=0&&this.players.splice(dt,1);const xt=this._engine.playersByElement.get(i);if(xt){let Jt=xt.indexOf(y);Jt>=0&&xt.splice(Jt,1)}}),this.players.push(y),Ye.push(y),y}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(r=>r.delete(i)),this._elementListeners.forEach((r,s)=>{this._elementListeners.set(s,r.filter(d=>d.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const r=this._engine.playersByElement.get(i);r&&(r.forEach(s=>s.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,r){const s=this._engine.driver.query(i,st,!0);s.forEach(d=>{if(d[Mr])return;const f=this._engine.fetchNamespacesByElement(d);f.size?f.forEach(y=>y.triggerLeaveAnimation(d,r,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(i,r,s,d){const f=this._engine.statesByElement.get(i),y=new Map;if(f){const D=[];if(f.forEach((R,X)=>{if(y.set(X,R.value),this._triggers.has(X)){const de=this.trigger(i,X,Do,d);de&&D.push(de)}}),D.length)return this._engine.markElementAsRemoved(this.id,i,!0,r,y),s&&Le(D).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const r=this._elementListeners.get(i),s=this._engine.statesByElement.get(i);if(r&&s){const d=new Set;r.forEach(f=>{const y=f.name;if(d.has(y))return;d.add(y);const R=this._triggers.get(y).fallbackTransition,X=s.get(y)||Tr,de=new ma(Do),Ce=new wo(this.id,y,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:y,transition:R,fromState:X,toState:de,player:Ce,isFallbackTransition:!0})})}}removeNode(i,r){const s=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,r),this.triggerLeaveAnimation(i,r,!0))return;let d=!1;if(s.totalAnimations){const f=s.players.length?s.playersByQueriedElement.get(i):[];if(f&&f.length)d=!0;else{let y=i;for(;y=y.parentNode;)if(s.statesByElement.get(y)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(i),d)s.markElementAsRemoved(this.id,i,!1,r);else{const f=i[Mr];(!f||f===pa)&&(s.afterFlush(()=>this.clearElementCache(i)),s.destroyInnerAnimations(i),s._onRemovalComplete(i,r))}}insertNode(i,r){dn(i,this._hostClassName)}drainQueuedTransitions(i){const r=[];return this._queue.forEach(s=>{const d=s.player;if(d.destroyed)return;const f=s.element,y=this._elementListeners.get(f);y&&y.forEach(D=>{if(D.name==s.triggerName){const R=Be(f,s.triggerName,s.fromState.value,s.toState.value);R._data=i,Ie(s.player,D.phase,R,D.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):r.push(s)}),this._queue=[],r.sort((s,d)=>{const f=s.transition.ast.depCount,y=d.transition.ast.depCount;return 0==f||0==y?f-y:this._engine.driver.containsElement(s.element,d.element)?1:-1})}destroy(i){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let r=!1;return this._elementListeners.has(i)&&(r=!0),r=!!this._queue.find(s=>s.element===i)||r,r}}class va{constructor(i,r,s){this.bodyNode=i,this.driver=r,this._normalizer=s,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=(d,f)=>{}}_onRemovalComplete(i,r){this.onRemovalComplete(i,r)}get queuedPlayers(){const i=[];return this._namespaceList.forEach(r=>{r.players.forEach(s=>{s.queued&&i.push(s)})}),i}createNamespace(i,r){const s=new _a(i,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(s,r):(this.newHostElements.set(r,s),this.collectEnterElement(r)),this._namespaceLookup[i]=s}_balanceNamespaceList(i,r){const s=this._namespaceList,d=this.namespacesByHostElement;if(s.length-1>=0){let y=!1,D=this.driver.getParentElement(r);for(;D;){const R=d.get(D);if(R){const X=s.indexOf(R);s.splice(X+1,0,i),y=!0;break}D=this.driver.getParentElement(D)}y||s.unshift(i)}else s.push(i);return d.set(r,i),i}register(i,r){let s=this._namespaceLookup[i];return s||(s=this.createNamespace(i,r)),s}registerTrigger(i,r,s){let d=this._namespaceLookup[i];d&&d.register(r,s)&&this.totalAnimations++}destroy(i,r){if(!i)return;const s=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(s.hostElement),delete this._namespaceLookup[i];const d=this._namespaceList.indexOf(s);d>=0&&this._namespaceList.splice(d,1)}),this.afterFlushAnimationsDone(()=>s.destroy(r))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const r=new Set,s=this.statesByElement.get(i);if(s)for(let d of s.values())if(d.namespaceId){const f=this._fetchNamespace(d.namespaceId);f&&r.add(f)}return r}trigger(i,r,s,d){if(Co(r)){const f=this._fetchNamespace(i);if(f)return f.trigger(r,s,d),!0}return!1}insertNode(i,r,s,d){if(!Co(r))return;const f=r[Mr];if(f&&f.setForRemoval){f.setForRemoval=!1,f.setForMove=!0;const y=this.collectedLeaveElements.indexOf(r);y>=0&&this.collectedLeaveElements.splice(y,1)}if(i){const y=this._fetchNamespace(i);y&&y.insertNode(r,s)}d&&this.collectEnterElement(r)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,r){r?this.disabledNodes.has(i)||(this.disabledNodes.add(i),dn(i,fa)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),vr(i,fa))}removeNode(i,r,s,d){if(Co(r)){const f=i?this._fetchNamespace(i):null;if(f?f.removeNode(r,d):this.markElementAsRemoved(i,r,!1,d),s){const y=this.namespacesByHostElement.get(r);y&&y.id!==i&&y.removeNode(r,d)}}else this._onRemovalComplete(r,d)}markElementAsRemoved(i,r,s,d,f){this.collectedLeaveElements.push(r),r[Mr]={namespaceId:i,setForRemoval:d,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:f}}listen(i,r,s,d,f){return Co(r)?this._fetchNamespace(i).listen(r,s,d,f):()=>{}}_buildInstruction(i,r,s,d,f){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,s,d,i.fromState.options,i.toState.options,r,f)}destroyInnerAnimations(i){let r=this.driver.query(i,st,!0);r.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(r=this.driver.query(i,At,!0),r.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(i){const r=this.playersByElement.get(i);r&&r.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(i){const r=this.playersByQueriedElement.get(i);r&&r.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Le(this.players).onDone(()=>i());i()})}processLeaveNode(i){const r=i[Mr];if(r&&r.setForRemoval){if(i[Mr]=pa,r.namespaceId){this.destroyInnerAnimations(i);const s=this._fetchNamespace(r.namespaceId);s&&s.clearElementCache(i)}this._onRemovalComplete(i,r.setForRemoval)}i.classList?.contains(fa)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(i=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,d)=>this._balanceNamespaceList(s,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++)dn(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{r=this._flushAnimations(s,i)}finally{for(let d=0;d<s.length;d++)s[d]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],r.length?Le(r).onDone(()=>{s.forEach(d=>d())}):s.forEach(d=>d())}}reportError(i){throw function mt(l){return new c.vHH(3402,!1)}()}_flushAnimations(i,r){const s=new Gr,d=[],f=new Map,y=[],D=new Map,R=new Map,X=new Map,de=new Set;this.disabledNodes.forEach(tt=>{de.add(tt);const ft=this.driver.query(tt,".ng-animate-queued",!0);for(let bt=0;bt<ft.length;bt++)de.add(ft[bt])});const Ce=this.bodyNode,Ye=Array.from(this.statesByElement.keys()),ht=ys(Ye,this.collectedEnterElements),Je=new Map;let dt=0;ht.forEach((tt,ft)=>{const bt=Y+dt++;Je.set(ft,bt),tt.forEach(Vt=>dn(Vt,bt))});const xt=[],Jt=new Set,mn=new Set;for(let tt=0;tt<this.collectedLeaveElements.length;tt++){const ft=this.collectedLeaveElements[tt],bt=ft[Mr];bt&&bt.setForRemoval&&(xt.push(ft),Jt.add(ft),bt.hasAnimation?this.driver.query(ft,".ng-star-inserted",!0).forEach(Vt=>Jt.add(Vt)):mn.add(ft))}const Gn=new Map,Kn=ys(Ye,Array.from(Jt));Kn.forEach((tt,ft)=>{const bt=le+dt++;Gn.set(ft,bt),tt.forEach(Vt=>dn(Vt,bt))}),i.push(()=>{ht.forEach((tt,ft)=>{const bt=Je.get(ft);tt.forEach(Vt=>vr(Vt,bt))}),Kn.forEach((tt,ft)=>{const bt=Gn.get(ft);tt.forEach(Vt=>vr(Vt,bt))}),xt.forEach(tt=>{this.processLeaveNode(tt)})});const Di=[],ar=[];for(let tt=this._namespaceList.length-1;tt>=0;tt--)this._namespaceList[tt].drainQueuedTransitions(r).forEach(bt=>{const Vt=bt.player,Bn=bt.element;if(Di.push(Vt),this.collectedEnterElements.length){const tr=Bn[Mr];if(tr&&tr.setForMove){if(tr.previousTriggersValues&&tr.previousTriggersValues.has(bt.triggerName)){const ds=tr.previousTriggersValues.get(bt.triggerName),mr=this.statesByElement.get(bt.element);if(mr&&mr.has(bt.triggerName)){const oa=mr.get(bt.triggerName);oa.value=ds,mr.set(bt.triggerName,oa)}}return void Vt.destroy()}}const Hr=!Ce||!this.driver.containsElement(Ce,Bn),pr=Gn.get(Bn),Wi=Je.get(Bn),_n=this._buildInstruction(bt,s,Wi,pr,Hr);if(_n.errors&&_n.errors.length)return void ar.push(_n);if(Hr)return Vt.onStart(()=>Zt(Bn,_n.fromStyles)),Vt.onDestroy(()=>pn(Bn,_n.toStyles)),void d.push(Vt);if(bt.isFallbackTransition)return Vt.onStart(()=>Zt(Bn,_n.fromStyles)),Vt.onDestroy(()=>pn(Bn,_n.toStyles)),void d.push(Vt);const gr=[];_n.timelines.forEach(tr=>{tr.stretchStartingKeyframe=!0,this.disabledNodes.has(tr.element)||gr.push(tr)}),_n.timelines=gr,s.append(Bn,_n.timelines),y.push({instruction:_n,player:Vt,element:Bn}),_n.queriedElements.forEach(tr=>ne(D,tr,[]).push(Vt)),_n.preStyleProps.forEach((tr,ds)=>{if(tr.size){let mr=R.get(ds);mr||R.set(ds,mr=new Set),tr.forEach((oa,su)=>mr.add(su))}}),_n.postStyleProps.forEach((tr,ds)=>{let mr=X.get(ds);mr||X.set(ds,mr=new Set),tr.forEach((oa,su)=>mr.add(su))})});if(ar.length){const tt=[];ar.forEach(ft=>{tt.push(function yn(l,i){return new c.vHH(3505,!1)}())}),Di.forEach(ft=>ft.destroy()),this.reportError(tt)}const Yn=new Map,br=new Map;y.forEach(tt=>{const ft=tt.element;s.has(ft)&&(br.set(ft,ft),this._beforeAnimationBuild(tt.player.namespaceId,tt.instruction,Yn))}),d.forEach(tt=>{const ft=tt.element;this._getPreviousPlayers(ft,!1,tt.namespaceId,tt.triggerName,null).forEach(Vt=>{ne(Yn,ft,[]).push(Vt),Vt.destroy()})});const jr=xt.filter(tt=>En(tt,R,X)),Or=new Map;So(Or,this.driver,mn,X,O.l3).forEach(tt=>{En(tt,R,X)&&jr.push(tt)});const _o=new Map;ht.forEach((tt,ft)=>{So(_o,this.driver,new Set(tt),R,O.k1)}),jr.forEach(tt=>{const ft=Or.get(tt),bt=_o.get(tt);Or.set(tt,new Map([...Array.from(ft?.entries()??[]),...Array.from(bt?.entries()??[])]))});const wi=[],sl=[],ou={};y.forEach(tt=>{const{element:ft,player:bt,instruction:Vt}=tt;if(s.has(ft)){if(de.has(ft))return bt.onDestroy(()=>pn(ft,Vt.toStyles)),bt.disabled=!0,bt.overrideTotalTime(Vt.totalTime),void d.push(bt);let Bn=ou;if(br.size>1){let pr=ft;const Wi=[];for(;pr=pr.parentNode;){const _n=br.get(pr);if(_n){Bn=_n;break}Wi.push(pr)}Wi.forEach(_n=>br.set(_n,Bn))}const Hr=this._buildAnimation(bt.namespaceId,Vt,Yn,f,_o,Or);if(bt.setRealPlayer(Hr),Bn===ou)wi.push(bt);else{const pr=this.playersByElement.get(Bn);pr&&pr.length&&(bt.parentPlayer=Le(pr)),d.push(bt)}}else Zt(ft,Vt.fromStyles),bt.onDestroy(()=>pn(ft,Vt.toStyles)),sl.push(bt),de.has(ft)&&d.push(bt)}),sl.forEach(tt=>{const ft=f.get(tt.element);if(ft&&ft.length){const bt=Le(ft);tt.setRealPlayer(bt)}}),d.forEach(tt=>{tt.parentPlayer?tt.syncPlayerEvents(tt.parentPlayer):tt.destroy()});for(let tt=0;tt<xt.length;tt++){const ft=xt[tt],bt=ft[Mr];if(vr(ft,le),bt&&bt.hasAnimation)continue;let Vt=[];if(D.size){let Hr=D.get(ft);Hr&&Hr.length&&Vt.push(...Hr);let pr=this.driver.query(ft,At,!0);for(let Wi=0;Wi<pr.length;Wi++){let _n=D.get(pr[Wi]);_n&&_n.length&&Vt.push(..._n)}}const Bn=Vt.filter(Hr=>!Hr.destroyed);Bn.length?Ml(this,ft,Bn):this.processLeaveNode(ft)}return xt.length=0,wi.forEach(tt=>{this.players.push(tt),tt.onDone(()=>{tt.destroy();const ft=this.players.indexOf(tt);this.players.splice(ft,1)}),tt.play()}),wi}elementContainsData(i,r){let s=!1;const d=r[Mr];return d&&d.setForRemoval&&(s=!0),this.playersByElement.has(r)&&(s=!0),this.playersByQueriedElement.has(r)&&(s=!0),this.statesByElement.has(r)&&(s=!0),this._fetchNamespace(i).elementContainsData(r)||s}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,r,s,d,f){let y=[];if(r){const D=this.playersByQueriedElement.get(i);D&&(y=D)}else{const D=this.playersByElement.get(i);if(D){const R=!f||f==Do;D.forEach(X=>{X.queued||!R&&X.triggerName!=d||y.push(X)})}}return(s||d)&&(y=y.filter(D=>!(s&&s!=D.namespaceId||d&&d!=D.triggerName))),y}_beforeAnimationBuild(i,r,s){const f=r.element,y=r.isRemovalTransition?void 0:i,D=r.isRemovalTransition?void 0:r.triggerName;for(const R of r.timelines){const X=R.element,de=X!==f,Ce=ne(s,X,[]);this._getPreviousPlayers(X,de,y,D,r.toState).forEach(ht=>{const Je=ht.getRealPlayer();Je.beforeDestroy&&Je.beforeDestroy(),ht.destroy(),Ce.push(ht)})}Zt(f,r.fromStyles)}_buildAnimation(i,r,s,d,f,y){const D=r.triggerName,R=r.element,X=[],de=new Set,Ce=new Set,Ye=r.timelines.map(Je=>{const dt=Je.element;de.add(dt);const xt=dt[Mr];if(xt&&xt.removedBeforeQueried)return new O.ZN(Je.duration,Je.delay);const Jt=dt!==R,mn=function Es(l){const i=[];return Tl(l,i),i}((s.get(dt)||hf).map(Yn=>Yn.getRealPlayer())).filter(Yn=>!!Yn.element&&Yn.element===dt),Gn=f.get(dt),Kn=y.get(dt),Di=J(0,this._normalizer,0,Je.keyframes,Gn,Kn),ar=this._buildPlayer(Je,Di,mn);if(Je.subTimeline&&d&&Ce.add(dt),Jt){const Yn=new wo(i,D,dt);Yn.setRealPlayer(ar),X.push(Yn)}return ar});X.forEach(Je=>{ne(this.playersByQueriedElement,Je.element,[]).push(Je),Je.onDone(()=>function Au(l,i,r){let s=l.get(i);if(s){if(s.length){const d=s.indexOf(r);s.splice(d,1)}0==s.length&&l.delete(i)}return s}(this.playersByQueriedElement,Je.element,Je))}),de.forEach(Je=>dn(Je,zt));const ht=Le(Ye);return ht.onDestroy(()=>{de.forEach(Je=>vr(Je,zt)),pn(R,r.toStyles)}),Ce.forEach(Je=>{ne(d,Je,[]).push(ht)}),ht}_buildPlayer(i,r,s){return r.length>0?this.driver.animate(i.element,r,i.duration,i.delay,i.easing,s):new O.ZN(i.duration,i.delay)}}class wo{constructor(i,r,s){this.namespaceId=i,this.triggerName=r,this.element=s,this._player=new O.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((r,s)=>{r.forEach(d=>Ie(i,s,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const r=this._player;r.triggerCallback&&i.onStart(()=>r.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,r){ne(this._queuedCallbacks,i,[]).push(r)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const r=this._player;r.triggerCallback&&r.triggerCallback(i)}}function Co(l){return l&&1===l.nodeType}function Ea(l,i){const r=l.style.display;return l.style.display=i??"none",r}function So(l,i,r,s,d){const f=[];r.forEach(R=>f.push(Ea(R)));const y=[];s.forEach((R,X)=>{const de=new Map;R.forEach(Ce=>{const Ye=i.computeStyle(X,Ce,d);de.set(Ce,Ye),(!Ye||0==Ye.length)&&(X[Mr]=ga,y.push(X))}),l.set(X,de)});let D=0;return r.forEach(R=>Ea(R,f[D++])),y}function ys(l,i){const r=new Map;if(l.forEach(D=>r.set(D,[])),0==i.length)return r;const d=new Set(i),f=new Map;function y(D){if(!D)return 1;let R=f.get(D);if(R)return R;const X=D.parentNode;return R=r.has(X)?X:d.has(X)?1:y(X),f.set(D,R),R}return i.forEach(D=>{const R=y(D);1!==R&&r.get(R).push(D)}),r}function dn(l,i){l.classList?.add(i)}function vr(l,i){l.classList?.remove(i)}function Ml(l,i,r){Le(r).onDone(()=>l.processLeaveNode(i))}function Tl(l,i){for(let r=0;r<l.length;r++){const s=l[r];s instanceof O.ZE?Tl(s.players,i):i.push(s)}}function En(l,i,r){const s=r.get(l);if(!s)return!1;let d=i.get(l);return d?s.forEach(f=>d.add(f)):i.set(l,s),r.delete(l),!0}class Mo{constructor(i,r,s){this.bodyNode=i,this._driver=r,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(d,f)=>{},this._transitionEngine=new va(i,r,s),this._timelineEngine=new df(i,r,s),this._transitionEngine.onRemovalComplete=(d,f)=>this.onRemovalComplete(d,f)}registerTrigger(i,r,s,d,f){const y=i+"-"+d;let D=this._triggerCache[y];if(!D){const R=[],de=un(this._driver,f,R,[]);if(R.length)throw function ie(l,i){return new c.vHH(3404,!1)}();D=function wu(l,i,r){return new Cu(l,i,r)}(d,de,this._normalizer),this._triggerCache[y]=D}this._transitionEngine.registerTrigger(r,d,D)}register(i,r){this._transitionEngine.register(i,r)}destroy(i,r){this._transitionEngine.destroy(i,r)}onInsert(i,r,s,d){this._transitionEngine.insertNode(i,r,s,d)}onRemove(i,r,s,d){this._transitionEngine.removeNode(i,r,d||!1,s)}disableAnimations(i,r){this._transitionEngine.markElementAsDisabled(i,r)}process(i,r,s,d){if("@"==s.charAt(0)){const[f,y]=pe(s);this._timelineEngine.command(f,r,y,d)}else this._transitionEngine.trigger(i,r,s,d)}listen(i,r,s,d,f){if("@"==s.charAt(0)){const[y,D]=pe(s);return this._timelineEngine.listen(y,r,D,f)}return this._transitionEngine.listen(i,r,s,d,f)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let bs=(()=>{class l{constructor(r,s,d){this._element=r,this._startStyles=s,this._endStyles=d,this._state=0;let f=l.initialStylesByElement.get(r);f||l.initialStylesByElement.set(r,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&pn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pn(this._element,this._initialStyles),this._endStyles&&(pn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(Zt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zt(this._element,this._endStyles),this._endStyles=null),pn(this._element,this._initialStyles),this._state=3)}}return l.initialStylesByElement=new WeakMap,l})();function jn(l){let i=null;return l.forEach((r,s)=>{(function Il(l){return"display"===l||"position"===l})(s)&&(i=i||new Map,i.set(s,r))}),i}class To{constructor(i,r,s,d){this.element=i,this.keyframes=r,this.options=s,this._specialStyles=d,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const r=[];return i.forEach(s=>{r.push(Object.fromEntries(s))}),r}_triggerWebAnimation(i,r,s){return i.animate(this._convertKeyframesToObject(r),s)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,d)=>{"offset"!==d&&i.set(d,this._finished?s:oi(this.element,d))}),this.currentSnapshot=i}triggerCallback(i){const r="start"===i?this._onStartFns:this._onDoneFns;r.forEach(s=>s()),r.length=0}}class Ai{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,r){return!1}containsElement(i,r){return ot(i,r)}getParentElement(i){return wt(i)}query(i,r,s){return Ze(i,r,s)}computeStyle(i,r,s){return window.getComputedStyle(i)[r]}animate(i,r,s,d,f,y=[]){const R={duration:s,delay:d,fill:0==d?"both":"forwards"};f&&(R.easing=f);const X=new Map,de=y.filter(ht=>ht instanceof To);(function gn(l,i){return 0===l||0===i})(s,d)&&de.forEach(ht=>{ht.currentSnapshot.forEach((Je,dt)=>X.set(dt,Je))});let Ce=function $e(l){return l.length?l[0]instanceof Map?l:l.map(i=>ue(i)):[]}(r).map(ht=>_t(ht));Ce=function Un(l,i,r){if(r.size&&i.length){let s=i[0],d=[];if(r.forEach((f,y)=>{s.has(y)||d.push(y),s.set(y,f)}),d.length)for(let f=1;f<i.length;f++){let y=i[f];d.forEach(D=>y.set(D,oi(l,D)))}}return i}(i,Ce,X);const Ye=function Ou(l,i){let r=null,s=null;return Array.isArray(i)&&i.length?(r=jn(i[0]),i.length>1&&(s=jn(i[i.length-1]))):i instanceof Map&&(r=jn(i)),r||s?new bs(l,r,s):null}(i,Ce);return new To(i,Ce,R,Ye)}}var Et=g(4666);let Al=(()=>{class l extends O._j{constructor(r,s){super(),this._nextAnimationId=0,this._renderer=r.createRenderer(s.body,{id:"0",encapsulation:c.ifc.None,styles:[],data:{animation:[]}})}build(r){const s=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(r)?(0,O.vP)(r):r;return Fr(this._renderer,null,s,"register",[d]),new Io(s,this._renderer)}}return l.ɵfac=function(r){return new(r||l)(c.LFG(c.FYo),c.LFG(Et.K0))},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})();class Io extends O.LC{constructor(i,r){super(),this._id=i,this._renderer=r}create(i,r){return new Rl(this._id,i,r||{},this._renderer)}}class Rl{constructor(i,r,s,d){this.id=i,this.element=r,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(i,r){return this._renderer.listen(this.element,`@@${this.id}:${i}`,r)}_command(i,...r){return Fr(this._renderer,this.element,this.id,i,r)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Fr(l,i,r,s,d){return l.setProperty(i,`@@${r}:${s}`,d)}const Ro="@.disabled";let et=(()=>{class l{constructor(r,s,d){this.delegate=r,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),s.onRemovalComplete=(f,y)=>{const D=y?.parentNode(f);D&&y.removeChild(D,f)}}createRenderer(r,s){const f=this.delegate.createRenderer(r,s);if(!(r&&s&&s.data&&s.data.animation)){let de=this._rendererCache.get(f);return de||(de=new ba("",f,this.engine,()=>this._rendererCache.delete(f)),this._rendererCache.set(f,de)),de}const y=s.id,D=s.id+"-"+this._currentId;this._currentId++,this.engine.register(D,r);const R=de=>{Array.isArray(de)?de.forEach(R):this.engine.registerTrigger(y,D,r,de.name,de)};return s.data.animation.forEach(R),new ff(this,D,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(r,s,d){r>=0&&r<this._microtaskId?this._zone.run(()=>s(d)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(f=>{const[y,D]=f;y(D)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([s,d]))}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 l.ɵfac=function(r){return new(r||l)(c.LFG(c.FYo),c.LFG(Mo),c.LFG(c.R0b))},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})();class ba{constructor(i,r,s,d){this.namespaceId=i,this.delegate=r,this.engine=s,this._onDestroy=d,this.destroyNode=this.delegate.destroyNode?f=>r.destroyNode(f):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,r){return this.delegate.createElement(i,r)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,r){this.delegate.appendChild(i,r),this.engine.onInsert(this.namespaceId,r,i,!1)}insertBefore(i,r,s,d=!0){this.delegate.insertBefore(i,r,s),this.engine.onInsert(this.namespaceId,r,i,d)}removeChild(i,r,s){this.engine.onRemove(this.namespaceId,r,this.delegate,s)}selectRootElement(i,r){return this.delegate.selectRootElement(i,r)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,r,s,d){this.delegate.setAttribute(i,r,s,d)}removeAttribute(i,r,s){this.delegate.removeAttribute(i,r,s)}addClass(i,r){this.delegate.addClass(i,r)}removeClass(i,r){this.delegate.removeClass(i,r)}setStyle(i,r,s,d){this.delegate.setStyle(i,r,s,d)}removeStyle(i,r,s){this.delegate.removeStyle(i,r,s)}setProperty(i,r,s){"@"==r.charAt(0)&&r==Ro?this.disableAnimations(i,!!s):this.delegate.setProperty(i,r,s)}setValue(i,r){this.delegate.setValue(i,r)}listen(i,r,s){return this.delegate.listen(i,r,s)}disableAnimations(i,r){this.engine.disableAnimations(i,r)}}class ff extends ba{constructor(i,r,s,d,f){super(r,s,d,f),this.factory=i,this.namespaceId=r}setProperty(i,r,s){"@"==r.charAt(0)?"."==r.charAt(1)&&r==Ro?this.disableAnimations(i,s=void 0===s||!!s):this.engine.process(this.namespaceId,i,r.slice(1),s):this.delegate.setProperty(i,r,s)}listen(i,r,s){if("@"==r.charAt(0)){const d=function xu(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(i);let f=r.slice(1),y="";return"@"!=f.charAt(0)&&([f,y]=function Pu(l){const i=l.indexOf(".");return[l.substring(0,i),l.slice(i+1)]}(f)),this.engine.listen(this.namespaceId,d,f,y,D=>{this.factory.scheduleListenerCallback(D._data||-1,s,D)})}return this.delegate.listen(i,r,s)}}const Pl=[{provide:O._j,useClass:Al},{provide:Pn,useFactory:function Ol(){return new bo}},{provide:Mo,useClass:(()=>{class l extends Mo{constructor(r,s,d,f){super(r.body,s,d)}ngOnDestroy(){this.flush()}}return l.ɵfac=function(r){return new(r||l)(c.LFG(Et.K0),c.LFG(qt),c.LFG(Pn),c.LFG(c.z2F))},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})()},{provide:c.FYo,useFactory:function xl(l,i,r){return new et(l,i,r)},deps:[m.se,Mo,c.R0b]}],xe=[{provide:qt,useFactory:()=>new Ai},{provide:c.QbO,useValue:"BrowserAnimations"},...Pl],Bt=[{provide:qt,useClass:Sn},{provide:c.QbO,useValue:"NoopAnimations"},...Pl];let Ds=(()=>{class l{static withConfig(r){return{ngModule:l,providers:r.disableAnimations?Bt:xe}}}return l.ɵfac=function(r){return new(r||l)},l.ɵmod=c.oAB({type:l}),l.ɵinj=c.cJS({providers:xe,imports:[m.b2]}),l})();var dr=g(833),Nr=g(4987);function to(l){return new dr.y(i=>{(0,Nr.Xf)(l()).subscribe(i)})}var Lr=g(5474),Oo=g(3280),lt=g(745),xo=g(9319),Nn=g(253),Hn=g(9635);const $n=new dr.y(Hn.Z);var Zr=g(6646),at=g(635),Ln=g(116),sn=g(2673),Lu=g(8532),ku=g(1381),Xn=g(9295),Nt=g(9337),Po=g(6936),Ss=g(1944),Fo=g(3945);function No(l){return(0,at.U)(()=>l)}var ir=g(9525);function wa(l,i){return i?r=>(0,xo.z)(i.pipe((0,Xn.q)(1),function Da(){return(0,Ss.e)((l,i)=>{l.subscribe((0,Fo.x)(i,Hn.Z))})}()),r.pipe(wa(l))):(0,ir.z)((r,s)=>l(r,s).pipe((0,Xn.q)(1),No(r)))}var Ms=g(5524);const _="Service workers are disabled or not supported by this browser";class E{constructor(i){if(this.serviceWorker=i,i){const s=(0,Oo.R)(i,"controllerchange").pipe((0,at.U)(()=>i.controller)),d=to(()=>(0,lt.of)(i.controller)),f=(0,xo.z)(d,s);this.worker=f.pipe((0,Ln.h)(de=>!!de)),this.registration=this.worker.pipe((0,sn.w)(()=>i.getRegistration()));const X=(0,Oo.R)(i,"message").pipe((0,at.U)(de=>de.data)).pipe((0,Ln.h)(de=>de&&de.type)).pipe(function Cs(l){return l?i=>(0,ku.$)(l)(i):i=>(0,Lu.O)(new Nn.x)(i)}());X.connect(),this.events=X}else this.worker=this.events=this.registration=function w(l){return to(()=>(0,Lr._)(new Error(l)))}(_)}postMessage(i,r){return this.worker.pipe((0,Xn.q)(1),(0,Nt.b)(s=>{s.postMessage({action:i,...r})})).toPromise().then(()=>{})}postMessageWithOperation(i,r,s){const d=this.waitForOperationCompleted(s),f=this.postMessage(i,r);return Promise.all([f,d]).then(([,y])=>y)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let r;return r="string"==typeof i?s=>s.type===i:s=>i.includes(s.type),this.events.pipe((0,Ln.h)(r))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,Xn.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Ln.h)(r=>r.nonce===i),(0,Xn.q)(1),(0,at.U)(r=>{if(void 0!==r.result)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let M=(()=>{class l{constructor(r){if(this.sw=r,this.subscriptionChanges=new Nn.x,!r.isEnabled)return this.messages=$n,this.notificationClicks=$n,void(this.subscription=$n);this.messages=this.sw.eventsOfType("PUSH").pipe((0,at.U)(d=>d.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,at.U)(d=>d.data)),this.pushManager=this.sw.registration.pipe((0,at.U)(d=>d.pushManager));const s=this.pushManager.pipe((0,sn.w)(d=>d.getSubscription()));this.subscription=(0,Zr.T)(s,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(r){if(!this.sw.isEnabled)return Promise.reject(new Error(_));const s={userVisibleOnly:!0};let d=this.decodeBase64(r.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),f=new Uint8Array(new ArrayBuffer(d.length));for(let y=0;y<d.length;y++)f[y]=d.charCodeAt(y);return s.applicationServerKey=f,this.pushManager.pipe((0,sn.w)(y=>y.subscribe(s)),(0,Xn.q)(1)).toPromise().then(y=>(this.subscriptionChanges.next(y),y))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Xn.q)(1),(0,sn.w)(s=>{if(null===s)throw new Error("Not subscribed to push notifications.");return s.unsubscribe().then(d=>{if(!d)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(_))}decodeBase64(r){return atob(r)}}return l.ɵfac=function(r){return new(r||l)(c.LFG(E))},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})(),$=(()=>{class l{constructor(r){if(this.sw=r,!r.isEnabled)return this.versionUpdates=$n,this.available=$n,this.activated=$n,void(this.unrecoverable=$n);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Ln.h)(s=>"VERSION_READY"===s.type),(0,at.U)(s=>({type:"UPDATE_AVAILABLE",current:s.currentVersion,available:s.latestVersion}))),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(_));const r=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:r},r)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(_));const r=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:r},r)}}return l.ɵfac=function(r){return new(r||l)(c.LFG(E))},l.ɵprov=c.Yz7({token:l,factory:l.ɵfac}),l})();class ve{}const Ae=new c.OlP("NGSW_REGISTER_SCRIPT");function qe(l,i,r,s){return()=>{if(!(0,Et.NF)(s)||!("serviceWorker"in navigator)||!1===r.enabled)return;let d;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof r.registrationStrategy)d=r.registrationStrategy();else{const[y,...D]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(y){case"registerImmediately":d=(0,lt.of)(null);break;case"registerWithDelay":d=Ht(+D[0]||0);break;case"registerWhenStable":d=D[0]?(0,Zr.T)($t(l),Ht(+D[0])):$t(l);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}l.get(c.R0b).runOutsideAngular(()=>d.pipe((0,Xn.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:r.scope}).catch(y=>console.error("Service worker registration failed with:",y))))}}function Ht(l){return(0,lt.of)(null).pipe(function Ca(l,i=Po.z){const r=(0,Ms.H)(l,i);return wa(()=>r)}(l))}function $t(l){return l.get(c.z2F).isStable.pipe((0,Ln.h)(r=>r))}function Kt(l,i){return new E((0,Et.NF)(i)&&!1!==l.enabled?navigator.serviceWorker:void 0)}let Pt=(()=>{class l{static register(r,s={}){return{ngModule:l,providers:[{provide:Ae,useValue:r},{provide:ve,useValue:s},{provide:E,useFactory:Kt,deps:[ve,c.Lbi]},{provide:c.ip1,useFactory:qe,deps:[c.zs3,Ae,ve,c.Lbi],multi:!0}]}}}return l.ɵfac=function(r){return new(r||l)},l.ɵmod=c.oAB({type:l}),l.ɵinj=c.cJS({providers:[M,$]}),l})();var Yt=g(4522),kt=g(1014),tn=g(207),kn=g(8971),Ir=g(7714);const qn=["primaryValueBar"],hr=(0,tn.pj)(class{constructor(l){this._elementRef=l}},"primary"),Lo=new c.OlP("mat-progress-bar-location",{providedIn:"root",factory:function Ts(){const l=(0,c.f3M)(Et.K0),i=l?l.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),Ri=new c.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let Nl=0,pf=(()=>{class l extends hr{constructor(r,s,d,f,y,D){super(r),this._ngZone=s,this._animationMode=d,this._changeDetectorRef=D,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new c.vpe,this._animationEndSubscription=Ir.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+Nl++;const R=f?f.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${R}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===d,y&&(y.color&&(this.color=this.defaultColor=y.color),this.mode=y.mode||this.mode)}get value(){return this._value}set value(r){this._value=Bu((0,kn.su)(r)||0),this._changeDetectorRef?.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(r){this._bufferValue=Bu(r||0),this._changeDetectorRef?.markForCheck()}_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 r=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,Oo.R)(r,"transitionend").pipe((0,Ln.h)(s=>s.target===r)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return l.ɵfac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.QbO,8),c.Y36(Lo,8),c.Y36(Ri,8),c.Y36(c.sBO))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-progress-bar"]],viewQuery:function(r,s){if(1&r&&c.Gf(qn,5),2&r){let d;c.iGM(d=c.CRH())&&(s._primaryValueBar=d.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(r,s){2&r&&(c.uIk("aria-valuenow","indeterminate"===s.mode||"query"===s.mode?null:s.value)("mode",s.mode),c.ekj("_mat-animation-noopable",s._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[c.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(r,s){1&r&&(c.TgZ(0,"div",0),c.O4$(),c.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),c._UZ(4,"circle",3),c.qZA()(),c._UZ(5,"rect",4),c.qZA(),c.kcU(),c._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),c.qZA()),2&r&&(c.xp6(3),c.Q6J("id",s.progressbarId),c.xp6(2),c.uIk("fill",s._rectangleFillValue),c.xp6(1),c.Q6J("ngStyle",s._bufferTransform()),c.xp6(1),c.Q6J("ngStyle",s._primaryTransform()))},dependencies:[Et.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.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)}}'],encapsulation:2,changeDetection:0}),l})();function Bu(l,i=0,r=100){return Math.max(i,Math.min(r,l))}let im=(()=>{class l{}return l.ɵfac=function(r){return new(r||l)},l.ɵmod=c.oAB({type:l}),l.ɵinj=c.cJS({imports:[Et.ez,tn.BQ,tn.BQ]}),l})();var ui=g(2602),Is=g(4218),Uu=g(2867),Ll=g(8456),ko=g(9107),or=g(8951),kl=g(8977),Oi=g(4874),Vu=g(1989);const di=["*"],Bl=["content"];function Sa(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"div",2),c.NdJ("click",function(){c.CHM(r);const d=c.oxw();return c.KtG(d._onBackdropClicked())}),c.qZA()}if(2&l){const r=c.oxw();c.ekj("mat-drawer-shown",r._isShowingBackdrop())}}function om(l,i){1&l&&(c.TgZ(0,"mat-drawer-content"),c.Hsn(1,2),c.qZA())}const ju=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Hu=["mat-drawer","mat-drawer-content","*"];function gf(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"div",2),c.NdJ("click",function(){c.CHM(r);const d=c.oxw();return c.KtG(d._onBackdropClicked())}),c.qZA()}if(2&l){const r=c.oxw();c.ekj("mat-drawer-shown",r._isShowingBackdrop())}}function Qr(l,i){1&l&&(c.TgZ(0,"mat-sidenav-content"),c.Hsn(1,2),c.qZA())}const mf=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ma=["mat-sidenav","mat-sidenav-content","*"],Ta={transformDrawer:(0,O.X$)("transform",[(0,O.SB)("open, open-instant",(0,O.oB)({transform:"none",visibility:"visible"})),(0,O.SB)("void",(0,O.oB)({"box-shadow":"none",visibility:"hidden"})),(0,O.eR)("void => open-instant",(0,O.jt)("0ms")),(0,O.eR)("void <=> open, open-instant => void",(0,O.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},jl=new c.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function $u(){return!1}}),Hl=new c.OlP("MAT_DRAWER_CONTAINER");let As=(()=>{class l extends ui.PQ{constructor(r,s,d,f,y){super(d,f,y),this._changeDetectorRef=r,this._container=s}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return l.ɵfac=function(r){return new(r||l)(c.Y36(c.sBO),c.Y36((0,c.Gpc)(()=>zl)),c.Y36(c.SBq),c.Y36(ui.mF),c.Y36(c.R0b))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(r,s){2&r&&c.Udp("margin-left",s._container._contentMargins.left,"px")("margin-right",s._container._contentMargins.right,"px")},features:[c._Bn([{provide:ui.PQ,useExisting:l}]),c.qOj],ngContentSelectors:di,decls:1,vars:0,template:function(r,s){1&r&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),$l=(()=>{class l{constructor(r,s,d,f,y,D,R,X){this._elementRef=r,this._focusTrapFactory=s,this._focusMonitor=d,this._platform=f,this._ngZone=y,this._interactivityChecker=D,this._doc=R,this._container=X,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Nn.x,this._animationEnd=new Nn.x,this._animationState="void",this.openedChange=new c.vpe(!0),this._openedStream=this.openedChange.pipe((0,Ln.h)(de=>de),(0,at.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Ln.h)(de=>de.fromState!==de.toState&&0===de.toState.indexOf("open")),No(void 0)),this._closedStream=this.openedChange.pipe((0,Ln.h)(de=>!de),(0,at.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Ln.h)(de=>de.fromState!==de.toState&&"void"===de.toState),No(void 0)),this._destroyed=new Nn.x,this.onPositionChanged=new c.vpe,this._modeChanged=new Nn.x,this.openedChange.subscribe(de=>{de?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,Oo.R)(this._elementRef.nativeElement,"keydown").pipe((0,Ln.h)(de=>de.keyCode===Ll.hY&&!this.disableClose&&!(0,Ll.Vb)(de)),(0,or.R)(this._destroyed)).subscribe(de=>this._ngZone.run(()=>{this.close(),de.stopPropagation(),de.preventDefault()}))}),this._animationEnd.pipe((0,kl.x)((de,Ce)=>de.fromState===Ce.fromState&&de.toState===Ce.toState)).subscribe(de=>{const{fromState:Ce,toState:Ye}=de;(0===Ye.indexOf("open")&&"void"===Ce||"void"===Ye&&0===Ce.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(r){(r="end"===r?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(r),this._position=r,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(r){this._mode=r,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(r){this._disableClose=(0,kn.Ig)(r)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(r){("true"===r||"false"===r||null==r)&&(r=(0,kn.Ig)(r)),this._autoFocus=r}get opened(){return this._opened}set opened(r){this.toggle((0,kn.Ig)(r))}_forceFocus(r,s){this._interactivityChecker.isFocusable(r)||(r.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const d=()=>{r.removeEventListener("blur",d),r.removeEventListener("mousedown",d),r.removeAttribute("tabindex")};r.addEventListener("blur",d),r.addEventListener("mousedown",d)})),r.focus(s)}_focusByCssSelector(r,s){let d=this._elementRef.nativeElement.querySelector(r);d&&this._forceFocus(d,s)}_takeFocus(){if(!this._focusTrap)return;const r=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(s=>{!s&&"function"==typeof this._elementRef.nativeElement.focus&&r.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(r){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,r):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const r=this._doc.activeElement;return!!r&&this._elementRef.nativeElement.contains(r)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(r){return this.toggle(!0,r)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(r=!this.opened,s){r&&s&&(this._openedVia=s);const d=this._setOpen(r,!r&&this._isFocusWithinDrawer(),this._openedVia||"program");return r||(this._openedVia=null),d}_setOpen(r,s,d){return this._opened=r,r?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",s&&this._restoreFocus(d)),this._updateFocusTrapState(),new Promise(f=>{this.openedChange.pipe((0,Xn.q)(1)).subscribe(y=>f(y?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(r){const s=this._elementRef.nativeElement,d=s.parentNode;"end"===r?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),d.insertBefore(this._anchor,s)),d.appendChild(s)):this._anchor&&this._anchor.parentNode.insertBefore(s,this._anchor)}}return l.ɵfac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(Is.qV),c.Y36(Is.tE),c.Y36(ko.t4),c.Y36(c.R0b),c.Y36(Is.ic),c.Y36(Et.K0,8),c.Y36(Hl,8))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-drawer"]],viewQuery:function(r,s){if(1&r&&c.Gf(Bl,5),2&r){let d;c.iGM(d=c.CRH())&&(s._content=d.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(r,s){1&r&&c.WFA("@transform.start",function(f){return s._animationStarted.next(f)})("@transform.done",function(f){return s._animationEnd.next(f)}),2&r&&(c.uIk("align",null),c.d8E("@transform",s._animationState),c.ekj("mat-drawer-end","end"===s.position)("mat-drawer-over","over"===s.mode)("mat-drawer-push","push"===s.mode)("mat-drawer-side","side"===s.mode)("mat-drawer-opened",s.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:di,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,s){1&r&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA())},dependencies:[ui.PQ],encapsulation:2,data:{animation:[Ta.transformDrawer]},changeDetection:0}),l})(),zl=(()=>{class l{constructor(r,s,d,f,y,D=!1,R){this._dir=r,this._element=s,this._ngZone=d,this._changeDetectorRef=f,this._animationMode=R,this._drawers=new c.n_E,this.backdropClick=new c.vpe,this._destroyed=new Nn.x,this._doCheckSubject=new Nn.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Nn.x,r&&r.change.pipe((0,or.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),y.change().pipe((0,or.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=D}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(r){this._autosize=(0,kn.Ig)(r)}get hasBackdrop(){return this._backdropOverride??(!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode)}set hasBackdrop(r){this._backdropOverride=null==r?null:(0,kn.Ig)(r)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Oi.O)(this._allDrawers),(0,or.R)(this._destroyed)).subscribe(r=>{this._drawers.reset(r.filter(s=>!s._container||s._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Oi.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(r=>{this._watchDrawerToggle(r),this._watchDrawerPosition(r),this._watchDrawerMode(r)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Vu.b)(10),(0,or.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(r=>r.open())}close(){this._drawers.forEach(r=>r.close())}updateContentMargins(){let r=0,s=0;if(this._left&&this._left.opened)if("side"==this._left.mode)r+=this._left._getWidth();else if("push"==this._left.mode){const d=this._left._getWidth();r+=d,s-=d}if(this._right&&this._right.opened)if("side"==this._right.mode)s+=this._right._getWidth();else if("push"==this._right.mode){const d=this._right._getWidth();s+=d,r-=d}r=r||null,s=s||null,(r!==this._contentMargins.left||s!==this._contentMargins.right)&&(this._contentMargins={left:r,right:s},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(r){r._animationStarted.pipe((0,Ln.h)(s=>s.fromState!==s.toState),(0,or.R)(this._drawers.changes)).subscribe(s=>{"open-instant"!==s.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==r.mode&&r.openedChange.pipe((0,or.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(r.opened))}_watchDrawerPosition(r){!r||r.onPositionChanged.pipe((0,or.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Xn.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(r){r&&r._modeChanged.pipe((0,or.R)((0,Zr.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(r){const s=this._element.nativeElement.classList,d="mat-drawer-container-has-open";r?s.add(d):s.remove(d)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(r=>{"end"==r.position?this._end=r:this._start=r}),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(r=>r&&!r.disableClose&&this._canHaveBackdrop(r)).forEach(r=>r._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(r){return"side"!==r.mode||!!this._backdropOverride}_isDrawerOpen(r){return null!=r&&r.opened}}return l.ɵfac=function(r){return new(r||l)(c.Y36(Uu.Is,8),c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(ui.rL),c.Y36(jl),c.Y36(c.QbO,8))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-drawer-container"]],contentQueries:function(r,s,d){if(1&r&&(c.Suo(d,As,5),c.Suo(d,$l,5)),2&r){let f;c.iGM(f=c.CRH())&&(s._content=f.first),c.iGM(f=c.CRH())&&(s._allDrawers=f)}},viewQuery:function(r,s){if(1&r&&c.Gf(As,5),2&r){let d;c.iGM(d=c.CRH())&&(s._userContent=d.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(r,s){2&r&&c.ekj("mat-drawer-container-explicit-backdrop",s._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[c._Bn([{provide:Hl,useExisting:l}])],ngContentSelectors:Hu,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(r,s){1&r&&(c.F$t(ju),c.YNc(0,Sa,1,2,"div",0),c.Hsn(1),c.Hsn(2,1),c.YNc(3,om,2,0,"mat-drawer-content",1)),2&r&&(c.Q6J("ngIf",s.hasBackdrop),c.xp6(3),c.Q6J("ngIf",!s._content))},dependencies:[Et.O5,As],styles:['.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),l})(),zu=(()=>{class l extends As{constructor(r,s,d,f,y){super(r,s,d,f,y)}}return l.ɵfac=function(r){return new(r||l)(c.Y36(c.sBO),c.Y36((0,c.Gpc)(()=>no)),c.Y36(c.SBq),c.Y36(ui.mF),c.Y36(c.R0b))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(r,s){2&r&&c.Udp("margin-left",s._container._contentMargins.left,"px")("margin-right",s._container._contentMargins.right,"px")},features:[c._Bn([{provide:ui.PQ,useExisting:l}]),c.qOj],ngContentSelectors:di,decls:1,vars:0,template:function(r,s){1&r&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),Bo=(()=>{class l extends $l{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(r){this._fixedInViewport=(0,kn.Ig)(r)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(r){this._fixedTopGap=(0,kn.su)(r)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(r){this._fixedBottomGap=(0,kn.su)(r)}}return l.ɵfac=function(){let i;return function(s){return(i||(i=c.n5z(l)))(s||l)}}(),l.ɵcmp=c.Xpm({type:l,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(r,s){2&r&&(c.uIk("align",null),c.Udp("top",s.fixedInViewport?s.fixedTopGap:null,"px")("bottom",s.fixedInViewport?s.fixedBottomGap:null,"px"),c.ekj("mat-drawer-end","end"===s.position)("mat-drawer-over","over"===s.mode)("mat-drawer-push","push"===s.mode)("mat-drawer-side","side"===s.mode)("mat-drawer-opened",s.opened)("mat-sidenav-fixed",s.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[c.qOj],ngContentSelectors:di,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,s){1&r&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA())},dependencies:[ui.PQ],encapsulation:2,data:{animation:[Ta.transformDrawer]},changeDetection:0}),l})(),no=(()=>{class l extends zl{}return l.ɵfac=function(){let i;return function(s){return(i||(i=c.n5z(l)))(s||l)}}(),l.ɵcmp=c.Xpm({type:l,selectors:[["mat-sidenav-container"]],contentQueries:function(r,s,d){if(1&r&&(c.Suo(d,zu,5),c.Suo(d,Bo,5)),2&r){let f;c.iGM(f=c.CRH())&&(s._content=f.first),c.iGM(f=c.CRH())&&(s._allDrawers=f)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(r,s){2&r&&c.ekj("mat-drawer-container-explicit-backdrop",s._backdropOverride)},exportAs:["matSidenavContainer"],features:[c._Bn([{provide:Hl,useExisting:l}]),c.qOj],ngContentSelectors:Ma,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(r,s){1&r&&(c.F$t(mf),c.YNc(0,gf,1,2,"div",0),c.Hsn(1),c.Hsn(2,1),c.YNc(3,Qr,2,0,"mat-sidenav-content",1)),2&r&&(c.Q6J("ngIf",s.hasBackdrop),c.xp6(3),c.Q6J("ngIf",!s._content))},dependencies:[Et.O5,zu],styles:['.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),l})(),_f=(()=>{class l{}return l.ɵfac=function(r){return new(r||l)},l.ɵmod=c.oAB({type:l}),l.ɵinj=c.cJS({imports:[Et.ez,tn.BQ,ui.ZD,ui.ZD,tn.BQ]}),l})();const Wu=["*",[["mat-toolbar-row"]]],Gu=["*","mat-toolbar-row"],Uo=(0,tn.pj)(class{constructor(l){this._elementRef=l}});let Ku=(()=>{class l{}return l.ɵfac=function(r){return new(r||l)},l.ɵdir=c.lG2({type:l,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),l})(),Yu=(()=>{class l extends Uo{constructor(r,s,d){super(r),this._platform=s,this._document=d}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return l.ɵfac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(ko.t4),c.Y36(Et.K0))},l.ɵcmp=c.Xpm({type:l,selectors:[["mat-toolbar"]],contentQueries:function(r,s,d){if(1&r&&c.Suo(d,Ku,5),2&r){let f;c.iGM(f=c.CRH())&&(s._toolbarRows=f)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(r,s){2&r&&c.ekj("mat-toolbar-multiple-rows",s._toolbarRows.length>0)("mat-toolbar-single-row",0===s._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[c.qOj],ngContentSelectors:Gu,decls:2,vars:0,template:function(r,s){1&r&&(c.F$t(Wu),c.Hsn(0),c.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%}"],encapsulation:2,changeDetection:0}),l})(),vf=(()=>{class l{}return l.ɵfac=function(r){return new(r||l)},l.ɵmod=c.oAB({type:l}),l.ɵinj=c.cJS({imports:[tn.BQ,tn.BQ]}),l})();var hi=g(6155),Wl=g(9563),Vo=g(2297);const ro=new c.OlP("CurrentDate");function jo(){return new Date}var Rs=g(6945);const Gl=["*"],io="aio-notification/";class Ia{constructor(i,r){this.storage=i,this.currentDate=r,this.bannerNotficationDescription="notification banner.",this.dismissed=new c.vpe}ngOnInit(){const i="hide"===this.storage.getItem(io+this.notificationId),r=this.currentDate>new Date(this.expirationDate);this.showNotification=i||r?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.storage.setItem(io+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}static#e=this.ɵfac=function(r){return new(r||Ia)(c.Y36(Rs.mM),c.Y36(ro))};static#t=this.ɵcmp=c.Xpm({type:Ia,selectors:[["aio-notification"]],hostAttrs:["role","group","aria-label","Notification"],hostVars:1,hostBindings:function(r,s){2&r&&c.d8E("@hideAnimation",s.showNotification)},inputs:{bannerNotficationDescription:"bannerNotficationDescription",dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:Gl,decls:4,vars:1,consts:[[1,"content",3,"click","keyup.enter"],["mat-icon-button","",1,"close-button",3,"click"],["svgIcon","close"]],template:function(r,s){1&r&&(c.F$t(),c.TgZ(0,"span",0),c.NdJ("click",function(){return s.contentClick()})("keyup.enter",function(){return s.contentClick()}),c.Hsn(1),c.qZA(),c.TgZ(2,"button",1),c.NdJ("click",function(){return s.dismiss()}),c._UZ(3,"mat-icon",2),c.qZA()),2&r&&(c.xp6(2),c.uIk("aria-label","Close"+s.bannerNotficationDescription))},dependencies:[Yt.lW,kt.Hw],encapsulation:2,data:{animation:[(0,O.X$)("hideAnimation",[(0,O.SB)("show",(0,O.oB)({height:"*"})),(0,O.SB)("hide",(0,O.oB)({display:"none",height:0})),(0,O.eR)("show => hide",(0,O.jt)(250))])]}})}var Ho=g(5370);const an=["searchBox"];function sm(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"mat-icon",4),c.NdJ("click",function(){c.CHM(r),c.oxw();const d=c.MAs(1);return d.value="",c.KtG(d.focus())}),c._uU(1," close "),c.qZA()}}class Aa{constructor(i){this.locationService=i,this.searchDebounce=300,this.searchSubject=new Nn.x,this.onSearch=this.searchSubject.pipe((0,kl.x)(),(0,Vu.b)(this.searchDebounce)),this.onFocus=new c.vpe}ngAfterViewInit(){const i=this.locationService.search().search;i&&(this.query=this.decodeQuery(i),this.doSearch())}doSearch(){this.searchSubject.next(this.query)}doFocus(){this.onFocus.emit(this.query)}focus(){this.searchBox.nativeElement.focus()}decodeQuery(i){return i.replace(/\+/g," ")}get query(){return this.searchBox.nativeElement.value}set query(i){this.searchBox.nativeElement.value=i}static#e=this.ɵfac=function(r){return new(r||Aa)(c.Y36(Ho.a))};static#t=this.ɵcmp=c.Xpm({type:Aa,selectors:[["aio-search-box"]],viewQuery:function(r,s){if(1&r&&c.Gf(an,7),2&r){let d;c.iGM(d=c.CRH())&&(s.searchBox=d.first)}},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:5,vars:1,consts:[["type","search","aria-label","search","placeholder","搜尋",3,"input","keyup","focus","click"],["searchBox",""],[1,"search-box-shortcut"],[3,"click",4,"ngIf"],[3,"click"]],template:function(r,s){if(1&r&&(c.TgZ(0,"input",0,1),c.NdJ("input",function(){return s.doSearch()})("keyup",function(){return s.doSearch()})("focus",function(){return s.doFocus()})("click",function(){return s.doSearch()}),c.qZA(),c.TgZ(2,"div",2),c._uU(3,"/"),c.qZA(),c.YNc(4,sm,2,0,"mat-icon",3)),2&r){const d=c.MAs(1);c.xp6(4),c.Q6J("ngIf",d.value)}},dependencies:[Et.O5,kt.Hw],encapsulation:2})}var kr=g(6317),Os=g(6562),fi=g(155),Qu=g(2340);class xs{constructor(i){this.location=i,this.mode=this.location.search().mode||Qu.N.mode}static#e=this.ɵfac=function(r){return new(r||xs)(c.LFG(Ho.a))};static#t=this.ɵprov=c.Yz7({token:xs,factory:xs.ɵfac})}var pi=g(6403),Ju=g(4),am=g(8917);const Rn=pi.bL+"navigation.json";class xi{constructor(i,r){this.http=i,this.location=r;const s=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(s),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(s)}fetchNavigationInfo(){const i=this.http.get(Rn).pipe((0,Ju.C)());return i.connect(),i}getVersionInfo(i){const r=i.pipe((0,at.U)(s=>s.__versionInfo),(0,Ju.C)());return r.connect(),r}getNavigationViews(i){const r=i.pipe((0,at.U)(s=>{const d=Object.assign({},s);return Object.keys(d).forEach(f=>{"_"===f[0]&&delete d[f]}),d}),(0,Ju.C)());return r.connect(),r}getCurrentNodes(i){const r=(0,Os.a)([i.pipe((0,at.U)(s=>this.computeUrlToNavNodesMap(s))),this.location.currentPath]).pipe((0,at.U)(s=>({navMap:s[0],url:s[1]})),(0,at.U)(s=>{const d=/^api/.exec(s.url);return d&&(s.url=d[0]),s.navMap.get(s.url)||{"":{view:"",url:s.url,nodes:[]}}}),(0,am._)(1));return r.connect(),r}computeUrlToNavNodesMap(i){const r=new Map;return Object.keys(i).forEach(s=>i[s].forEach(d=>this.walkNodes(s,r,d))),r}ensureHasTooltip(i){const r=i.title;null==i.tooltip&&r&&(i.tooltip=r+(/[a-zA-Z0-9]$/.test(r)?".":""))}walkNodes(i,r,s,d=[]){const f=[s,...d],y=s.url;if(this.ensureHasTooltip(s),y){const D=y.replace(/\/$/,"");r.has(D)||r.set(D,{}),r.get(D)[i]={url:y,view:i,nodes:f}}s.children&&s.children.forEach(D=>this.walkNodes(i,r,D,f))}static#e=this.ɵfac=function(r){return new(r||xi)(c.LFG(U.eN),c.LFG(Ho.a))};static#t=this.ɵprov=c.Yz7({token:xi,factory:xi.ɵfac})}var $o=g(9026),yf=g(5832),er=g(4541);class Br{constructor(i,r,s,d,f){this.appRef=i,this.errorHandler=r,this.location=s,this.logger=d,this.swu=f,this.checkInterval=216e5,this.onDisable=new Nn.x}disable(){this.onDisable.next()}enable(){if(!this.swu.isEnabled)return;const i=this.appRef.isStable.pipe((0,fi.P)(r=>r));(0,xo.z)(i,function Ef(l=0,i=Po.z){return l<0&&(l=0),(0,Ms.H)(l,l,i)}(this.checkInterval)).pipe((0,Nt.b)(()=>this.log("Checking for update...")),(0,or.R)(this.onDisable)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe((0,Nt.b)(r=>this.log(`Update available: ${JSON.stringify(r)}`)),(0,or.R)(this.onDisable)).subscribe(()=>this.swu.activateUpdate()),this.swu.activated.pipe((0,Nt.b)(r=>this.log(`Update activated: ${JSON.stringify(r)}`)),(0,or.R)(this.onDisable)).subscribe(()=>this.location.fullPageNavigationNeeded()),this.swu.unrecoverable.pipe((0,Nt.b)(r=>{const s=`Unrecoverable state: ${r.reason}`;this.errorHandler.handleError(s),this.log(`${s}\nReloading...`)}),(0,or.R)(this.onDisable)).subscribe(()=>this.location.reloadPage())}ngOnDestroy(){this.disable()}log(i){const r=(new Date).toISOString();this.logger.log(`[SwUpdates - ${r}]: ${i}`)}static#e=this.ɵfac=function(r){return new(r||Br)(c.LFG(c.z2F),c.LFG(c.qLn),c.LFG(Ho.a),c.LFG(er.Y),c.LFG($))};static#t=this.ɵprov=c.Yz7({token:Br,factory:Br.ɵfac,providedIn:"root"})}var Ra=g(6308);const Ps=[{selector:"aio-announcement-bar",loadChildren:()=>g.e("src_app_custom-elements_announcement-bar_announcement-bar_module_ts").then(g.bind(g,6042)).then(l=>l.AnnouncementBarModule)},{selector:"aio-api-list",loadChildren:()=>g.e("src_app_custom-elements_api_api-list_module_ts").then(g.bind(g,9947)).then(l=>l.ApiListModule)},{selector:"aio-contributor-list",loadChildren:()=>g.e("src_app_custom-elements_contributor_contributor-list_module_ts").then(g.bind(g,7283)).then(l=>l.ContributorListModule)},{selector:"aio-file-not-found-search",loadChildren:()=>g.e("src_app_custom-elements_search_file-not-found-search_module_ts").then(g.bind(g,8359)).then(l=>l.FileNotFoundSearchModule)},{selector:"aio-angular-dist-tag",loadChildren:()=>g.e("src_app_custom-elements_dist-tag_dist-tag_module_ts").then(g.bind(g,9857)).then(l=>l.DistTagModule)},{selector:"aio-resource-list",loadChildren:()=>g.e("src_app_custom-elements_resource_resource-list_module_ts").then(g.bind(g,4994)).then(l=>l.ResourceListModule)},{selector:"aio-toc",loadChildren:()=>g.e("src_app_custom-elements_toc_toc_module_ts").then(g.bind(g,2786)).then(l=>l.TocModule)},{selector:"code-example",loadChildren:()=>Promise.all([g.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),g.e("src_app_custom-elements_code_code-example_module_ts")]).then(g.bind(g,102)).then(l=>l.CodeExampleModule)},{selector:"code-tabs",loadChildren:()=>Promise.all([g.e("default-src_app_custom-elements_code_code_component_ts-src_app_custom-elements_code_code_module_ts"),g.e("src_app_custom-elements_code_code-tabs_module_ts")]).then(g.bind(g,7748)).then(l=>l.CodeTabsModule)},{selector:"live-example",loadChildren:()=>g.e("src_app_custom-elements_live-example_live-example_module_ts").then(g.bind(g,8517)).then(l=>l.LiveExampleModule)},{selector:"aio-events",loadChildren:()=>g.e("src_app_custom-elements_events_events_module_ts").then(g.bind(g,1122)).then(l=>l.EventsModule)}],zo=new c.OlP("aio/elements-map"),Kl=new Map;Ps.forEach(l=>{Kl.set(l.selector,l.loadChildren)});var yr=g(3609),bf=g(6067);const Yl={schedule(l,i){const r=setTimeout(l,i);return()=>clearTimeout(r)},scheduleBeforeRender(l){if(typeof window>"u")return Yl.schedule(l,0);if(typeof window.requestAnimationFrame>"u")return Yl.schedule(l,16);const i=window.requestAnimationFrame(l);return()=>window.cancelAnimationFrame(i)}};let Pi;function Sf(l,i,r){let s=r;return function Xu(l){return!!l&&l.nodeType===Node.ELEMENT_NODE}(l)&&i.some((d,f)=>!("*"===d||!function cm(l,i){if(!Pi){const r=Element.prototype;Pi=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return l.nodeType===Node.ELEMENT_NODE&&Pi.call(l,i)}(l,d)||(s=f,0))),s}class Tf{constructor(i,r){this.componentFactory=r.get(c._Vd).resolveComponentFactory(i)}create(i){return new Zl(this.componentFactory,i)}}class Zl{constructor(i,r){this.componentFactory=i,this.injector=r,this.eventEmitters=new bf.t(1),this.events=this.eventEmitters.pipe((0,sn.w)(s=>(0,Zr.T)(...s))),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:s})=>s)),this.ngZone=this.injector.get(c.R0b),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(i){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(i)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Yl.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(i){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(i):this.componentRef.instance[i])}setInputValue(i,r){this.runInZone(()=>{null!==this.componentRef?function ed(l,i){return l===i||l!=l&&i!=i}(r,this.getInputValue(i))&&(void 0!==r||!this.unchangedInputs.has(i))||(this.recordInputChange(i,r),this.unchangedInputs.delete(i),this.hasInputChanges=!0,this.componentRef.instance[i]=r,this.scheduleDetectChanges()):this.initialInputValues.set(i,r)})}initializeComponent(i){const r=c.zs3.create({providers:[],parent:this.injector}),s=function Cf(l,i){const r=l.childNodes,s=i.map(()=>[]);let d=-1;i.some((f,y)=>"*"===f&&(d=y,!0));for(let f=0,y=r.length;f<y;++f){const D=r[f],R=Sf(D,i,d);-1!==R&&s[R].push(D)}return s}(i,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(r,s,i),this.viewChangeDetectorRef=this.componentRef.injector.get(c.sBO),this.implementsOnChanges=function Er(l){return"function"==typeof l}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(c.z2F).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:i})=>{this.initialInputValues.has(i)&&this.setInputValue(i,this.initialInputValues.get(i))}),this.initialInputValues.clear()}initializeOutputs(i){const r=this.componentFactory.outputs.map(({propName:s,templateName:d})=>i.instance[s].pipe((0,at.U)(y=>({name:d,value:y}))));this.eventEmitters.next(r)}callNgOnChanges(i){if(!this.implementsOnChanges||null===this.inputChanges)return;const r=this.inputChanges;this.inputChanges=null,i.instance.ngOnChanges(r)}markViewForCheck(i){this.hasInputChanges&&(this.hasInputChanges=!1,i.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Yl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(i,r){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const s=this.inputChanges[i];if(s)return void(s.currentValue=r);const d=this.unchangedInputs.has(i),f=d?void 0:this.getInputValue(i);this.inputChanges[i]=new c.WD2(f,r,d)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(i){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(i):i()}}class Oa extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class Fi{constructor(i,r){this.moduleRef=i,this.elementsLoading=new Map,this.elementsToLoad=new Map(r)}loadContainedCustomElements(i){const r=Array.from(this.elementsToLoad.keys()).filter(d=>i.querySelector(d));if(!r.length)return(0,lt.of)(void 0);const s=Promise.all(r.map(d=>this.loadCustomElement(d)));return(0,yr.D)(s.then(()=>{}))}loadCustomElement(i){if(this.elementsLoading.has(i))return this.elementsLoading.get(i);if(this.elementsToLoad.has(i)){const s=this.elementsToLoad.get(i)().then(d=>{const f=(0,c.hM9)(d,this.moduleRef.injector),R=function Ql(l,i){const r=function wf(l,i){return i.get(c._Vd).resolveComponentFactory(l).inputs}(l,i.injector),s=i.strategyFactory||new Tf(l,i.injector),d=function Df(l){const i={};return l.forEach(({propName:r,templateName:s})=>{i[function lm(l){return l.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}(s)]=r}),i}(r);class f extends Oa{constructor(D){super(),this.injector=D}get ngElementStrategy(){if(!this._ngElementStrategy){const D=this._ngElementStrategy=s.create(this.injector||i.injector);r.forEach(({propName:R})=>{if(!this.hasOwnProperty(R))return;const X=this[R];delete this[R],D.setInputValue(R,X)})}return this._ngElementStrategy}attributeChangedCallback(D,R,X,de){this.ngElementStrategy.setInputValue(d[D],X)}connectedCallback(){let D=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),D=!0),this.ngElementStrategy.connect(this),D||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(D=>{const R=new CustomEvent(D.name,{detail:D.value});this.dispatchEvent(R)})}}return f.observedAttributes=Object.keys(d),r.forEach(({propName:y})=>{Object.defineProperty(f.prototype,y,{get(){return this.ngElementStrategy.getInputValue(y)},set(D){this.ngElementStrategy.setInputValue(y,D)},configurable:!0,enumerable:!0})}),f}(f.instance.customElementComponent,{injector:f.injector});return customElements.define(i,R),customElements.whenDefined(i)}).then(()=>{this.elementsLoading.delete(i),this.elementsToLoad.delete(i)}).catch(d=>(this.elementsLoading.delete(i),Promise.reject(d)));return this.elementsLoading.set(i,s),s}return Promise.resolve()}static#e=this.ɵfac=function(r){return new(r||Fi)(c.LFG(c.h0i),c.LFG(zo))};static#t=this.ɵprov=c.Yz7({token:Fi,factory:Fi.ɵfac})}class Ni{constructor(i,r,s){this.elementRef=i,this.elementsLoader=r,this.logger=s,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}`))}static#e=this.ɵfac=function(r){return new(r||Ni)(c.Y36(c.SBq),c.Y36(Fi),c.Y36(er.Y))};static#t=this.ɵcmp=c.Xpm({type:Ni,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(r,s){},encapsulation:2})}var If=g(26);function td(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"div",1)(1,"h2",2),c._uU(2,"Cookie 使用提醒"),c.qZA(),c.TgZ(3,"h2",3),c._uU(4,"Cookies concent notice"),c.qZA(),c.TgZ(5,"p",4),c._uU(6,"本站使用來自 Google 的 Cookie 來提供服務並分析使用行為。"),c.qZA(),c.TgZ(7,"p",5),c._uU(8,"This site uses cookies from Google to deliver its services and to analyze traffic."),c.qZA(),c.TgZ(9,"div",6)(10,"a",7),c._uU(11," 瞭解更多 "),c.qZA(),c.TgZ(12,"button",8),c.NdJ("click",function(){c.CHM(r);const d=c.oxw();return c.KtG(d.acceptCookies())}),c._uU(13," 好,知道了 "),c.qZA()()()}}const Wo="aio-accepts-cookies";class oo{constructor(i){this.storage=i,this.hasAcceptedCookies="true"===this.storage.getItem(Wo)}acceptCookies(){this.storage.setItem(Wo,"true"),this.hasAcceptedCookies=!0}static#e=this.ɵfac=function(r){return new(r||oo)(c.Y36(Rs.mM))};static#t=this.ɵcmp=c.Xpm({type:oo,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",2,"color","inherit"],["translation-origin","off",2,"color","inherit"],[1,"actions"],["mat-button","","href","https://policies.google.com/technologies/cookies","target","_blank","rel","noopener"],["mat-button","",3,"click"]],template:function(r,s){1&r&&c.YNc(0,td,14,0,"div",0),2&r&&c.Q6J("ngIf",!s.hasAcceptedCookies)},dependencies:[Et.O5,Yt.lW,Yt.zs],encapsulation:2})}var nd=g(3888),Af=g(8728),Li=g(3158),gi=g(3710);const rd=document.querySelector("aio-doc-viewer"),um=rd?(0,hi.Iv)(rd):gi.sx;class Ns{constructor(i,r,s,d,f){this.logger=r,this.titleService=s,this.tocService=d,this.elementsLoader=f,this.void$=(0,lt.of)(void 0),this.onDestroy$=new c.vpe,this.docContents$=new c.vpe,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new c.vpe,this.docRemoved=new c.vpe,this.docInserted=new c.vpe,this.docRendered=new c.vpe,this.hostElement=i.nativeElement,this.hostElement.innerHTML=(0,gi.xo)(um),this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe((0,Af.Q)(nd.E),(0,sn.w)(y=>this.render(y)),(0,or.R)(this.onDestroy$)).subscribe()}set doc(i){i&&this.docContents$.emit(i)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(i,r){const s=i.querySelector("h1"),d=!!s&&!/no-?title/i.test(s.className),f=!!s&&!/no-?toc/i.test(s.className),y=i.querySelector("aio-toc.embedded");if(s&&s.parentNode&&f&&!y){const D=document.createElement("aio-toc");D.className="embedded",s.parentNode.insertBefore(D,s.nextSibling)}else!f&&y&&y.remove();return()=>{this.tocService.reset();let D="";s&&(d&&(D="string"==typeof s.innerText?s.innerText:s.textContent),f&&this.tocService.genToc(i,r)),this.titleService.setTitle(D?`Angular - ${D}`:"Angular")}}render(i){let r;return this.setNoIndex(i.id===pi.xx||i.id===pi.cH),this.void$.pipe((0,Nt.b)(()=>{null===i.contents?this.nextViewContainer.textContent="":this.nextViewContainer.innerHTML=(0,gi.xo)(i.contents)}),(0,Nt.b)(()=>r=this.prepareTitleAndToc(this.nextViewContainer,i.id)),(0,sn.w)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),(0,Nt.b)(()=>this.docReady.emit()),(0,sn.w)(()=>this.swapViews(r)),(0,Nt.b)(()=>this.docRendered.emit()),(0,Li.K)(s=>{const d=`${s instanceof Error?s.stack:s}`;return this.logger.error(new Error(`[DocViewer] Error preparing document '${i.id}': ${d}`)),this.nextViewContainer.textContent="",this.setNoIndex(!0),this.void$}))}setNoIndex(i){console.log("no index: ",i)}swapViews(i=(()=>{})){const r=new dr.y(R=>{const X=requestAnimationFrame(()=>{R.next(),R.complete()});return()=>cancelAnimationFrame(X)}),d=(R,X,de,Ce,Ye=200)=>{const ht=this.hostElement.classList.contains("no-animations");return R.style.transition="",ht?this.void$.pipe((0,Nt.b)(()=>R.style[X]=Ce)):this.void$.pipe((0,sn.w)(()=>r),(0,Nt.b)(()=>R.style[X]=de),(0,sn.w)(()=>r),(0,Nt.b)(()=>R.style.transition=`all ${Ye}ms ease-in-out`),(0,sn.w)(()=>r),(0,Nt.b)(()=>R.style[X]=Ce),(0,sn.w)(()=>(0,Ms.H)((R=>{const X=getComputedStyle(R).transitionDuration||"";return 1e3*Number(X.replace(/s$/,""))})(R))),(0,sn.w)(()=>this.void$))};let D=this.void$;return this.currViewContainer.parentElement&&(D=D.pipe((0,sn.w)(()=>d(this.currViewContainer,"opacity","1","0.1")),(0,Nt.b)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),(0,Nt.b)(()=>this.docRemoved.emit()))),D.pipe((0,Nt.b)(()=>this.hostElement.appendChild(this.nextViewContainer)),(0,Nt.b)(()=>i()),(0,Nt.b)(()=>this.docInserted.emit()),(0,sn.w)(()=>d(this.nextViewContainer,"opacity","0.1","1")),(0,Nt.b)(()=>{const R=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=R,this.nextViewContainer.textContent=""}))}toggleTranslationOrigin(i){const r=function Rf(l){for(;l&&!l.hasAttribute("translation-result");)l=l.parentElement;return l}(i.target);if(r&&r.hasAttribute("translation-result")){const s=r.nextElementSibling;if(!s||s.hasAttribute("translation-result")||s.tagName!==r.tagName)return;"on"===s.getAttribute("translation-origin")?s.setAttribute("translation-origin","off"):s.setAttribute("translation-origin","on")}}static#e=this.ɵfac=function(r){return new(r||Ns)(c.Y36(c.SBq),c.Y36(er.Y),c.Y36(m.Dx),c.Y36(Ra.I),c.Y36(Fi))};static#t=this.ɵcmp=c.Xpm({type:Ns,selectors:[["aio-doc-viewer"]],hostBindings:function(r,s){1&r&&c.NdJ("click",function(f){return s.toggleTranslationOrigin(f)})},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(r,s){},encapsulation:2})}const dm=["dt"];class Pa{constructor(){this.docChange=new c.vpe}get text(){return this.doc&&this.doc.contents}dtextSet(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit({...this.doc})}static#e=this.ɵfac=function(r){return new(r||Pa)};static#t=this.ɵcmp=c.Xpm({type:Pa,selectors:[["aio-dt"]],viewQuery:function(r,s){if(1&r&&c.Gf(dm,7,c.SBq),2&r){let d;c.iGM(d=c.CRH())&&(s.dt=d.first)}},inputs:{doc:"doc"},outputs:{docChange:"docChange"},decls:7,vars:1,consts:[["rows","10","cols","80",3,"value"],["dt",""],[3,"click"]],template:function(r,s){1&r&&(c.TgZ(0,"div"),c._UZ(1,"hr")(2,"textarea",0,1)(4,"br"),c.TgZ(5,"button",2),c.NdJ("click",function(){return s.dtextSet()}),c._uU(6,"Show change"),c.qZA()()),2&r&&(c.xp6(2),c.Q6J("value",s.text))},encapsulation:2})}function Of(l,i){if(1&l&&(c.TgZ(0,"li")(1,"a",8),c._uU(2),c.qZA()()),2&l){const r=i.$implicit;let s,d;c.xp6(1),c.Q6J("href",r.url,c.LSH)("title",null!==(s=null!==(s=null!==(s=r.tooltipCn)&&void 0!==s?s:r.tooltip)&&void 0!==s?s:r.titleCn)&&void 0!==s?s:r.title),c.xp6(1),c.Oqu(null!==(d=r.titleCn)&&void 0!==d?d:r.title)}}function xf(l,i){if(1&l&&(c.TgZ(0,"div",5)(1,"div",6),c._uU(2),c.qZA(),c.TgZ(3,"ul"),c.YNc(4,Of,3,3,"li",7),c.qZA()()),2&l){const r=i.$implicit;let s;c.xp6(2),c.Oqu(null!==(s=r.titleCn)&&void 0!==s?s:r.title),c.xp6(2),c.Q6J("ngForOf",r.children)}}class so{static#e=this.ɵfac=function(r){return new(r||so)};static#t=this.ɵcmp=c.Xpm({type:so,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"],[1,"footer-block-heading"],[4,"ngFor","ngForOf"],[1,"link",3,"href","title"]],template:function(r,s){1&r&&(c.TgZ(0,"div",0),c.YNc(1,xf,5,2,"div",1),c.qZA(),c.TgZ(2,"p"),c._uU(3," Super-powered by Google \xa92010-2022.\n"),c.qZA(),c.TgZ(4,"p"),c._uU(5," 程式碼授權方式:"),c.TgZ(6,"a",2),c._uU(7,"MIT-style License"),c.qZA(),c._uU(8,". 文件授權方式:"),c.TgZ(9,"a",3),c._uU(10,"CC BY 4.0"),c.qZA(),c._uU(11,".\n"),c.qZA(),c.TgZ(12,"p"),c._uU(13),c.qZA(),c.TgZ(14,"p")(15,"a",4),c._uU(16,""),c.qZA()()),2&r&&(c.xp6(1),c.Q6J("ngForOf",s.nodes),c.xp6(12),c.hij(" 當前版本:",null==s.versionInfo?null:s.versionInfo.full,".\n"))},dependencies:[Et.sg],encapsulation:2})}function id(l,i){if(1&l&&(c.TgZ(0,"div",1)(1,"p"),c._uU(2," This is the "),c.TgZ(3,"strong"),c._uU(4),c.qZA(),c._uU(5," Please visit "),c.TgZ(6,"a",2),c._uU(7,"angular.io"),c.qZA(),c._uU(8," to see documentation for the current version of Angular. "),c.qZA()()),2&l){const r=c.oxw();c.xp6(4),c.hij("archived documentation for Angular v",null==r.version?null:r.version.major,".")}}class Fa{static#e=this.ɵfac=function(r){return new(r||Fa)};static#t=this.ɵcmp=c.Xpm({type:Fa,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(r,s){1&r&&c.YNc(0,id,9,1,"div",0),2&r&&c.Q6J("ngIf","archive"===s.mode)},dependencies:[Et.O5],encapsulation:2})}function od(l,i){1&l&&(c.TgZ(0,"mat-icon"),c._uU(1,"open_in_new"),c.qZA())}function hm(l,i){if(1&l&&(c.TgZ(0,"a",3)(1,"span",4),c._uU(2),c.qZA(),c.YNc(3,od,2,0,"mat-icon",0),c.qZA()),2&l){const r=c.oxw(2);let s;c.s9C("href",r.node.url,c.LSH),c.s9C("title",r.node.tooltipCn),c.Q6J("ngClass",r.classes)("target",r.isExternalUrl(r.node.url)?"_blank":"_self"),c.xp6(2),c.Oqu(null!==(s=r.node.titleCn)&&void 0!==s?s:r.node.title),c.xp6(1),c.Q6J("ngIf",r.isExternalUrl(r.node.url))}}function sd(l,i){1&l&&c._UZ(0,"div",5)}function fm(l,i){if(1&l&&(c.TgZ(0,"div"),c.YNc(1,hm,4,6,"a",1),c.YNc(2,sd,1,0,"div",2),c.qZA()),2&l){const r=c.oxw();c.xp6(1),c.Q6J("ngIf",!r.node.divider),c.xp6(1),c.Q6J("ngIf",r.node.divider)}}function Pf(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"a",10),c.NdJ("click",function(){c.CHM(r);const d=c.oxw(2);return c.KtG(d.headerClicked())}),c.TgZ(1,"span"),c._uU(2),c.qZA(),c._UZ(3,"mat-icon",11),c.qZA()}if(2&l){const r=c.oxw(2);let s;c.s9C("href",r.node.url,c.LSH),c.s9C("title",r.node.tooltipCn),c.Q6J("ngClass",r.classes),c.xp6(2),c.Oqu(null!==(s=r.node.titleCn)&&void 0!==s?s:r.node.title)}}function Ff(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"button",12),c.NdJ("click",function(){c.CHM(r);const d=c.oxw(2);return c.KtG(d.headerClicked())}),c.TgZ(1,"span"),c._uU(2),c.qZA(),c._UZ(3,"mat-icon",11),c.qZA()}if(2&l){const r=c.oxw(2);let s;c.s9C("title",r.node.tooltipCn),c.Q6J("ngClass",r.classes),c.uIk("aria-pressed",r.isExpanded),c.xp6(2),c.Oqu(null!==(s=r.node.titleCn)&&void 0!==s?s:r.node.title)}}function Jl(l,i){if(1&l&&c._UZ(0,"aio-nav-item",13),2&l){const r=i.$implicit,s=c.oxw(2);c.Q6J("level",s.level+1)("isWide",s.isWide)("isParentExpanded",s.isExpanded)("node",r)("selectedNodes",s.selectedNodes)}}function pm(l,i){if(1&l&&(c.TgZ(0,"div"),c.YNc(1,Pf,4,4,"a",6),c.YNc(2,Ff,4,4,"button",7),c.TgZ(3,"div",8),c.YNc(4,Jl,1,5,"aio-nav-item",9),c.qZA()()),2&l){const r=c.oxw();c.xp6(1),c.Q6J("ngIf",!!r.node.url),c.xp6(1),c.Q6J("ngIf",!r.node.url),c.xp6(1),c.Q6J("ngClass",r.classes),c.xp6(1),c.Q6J("ngForOf",r.nodeChildren)}}class Na{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(i=>!i.hidden):[],this.selectedNodes){const i=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==i,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(i){return/^https?:/.test(i)}static#e=this.ɵfac=function(r){return new(r||Na)};static#t=this.ɵcmp=c.Xpm({type:Na,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[c.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,"vertical-menu-item-text"],[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(r,s){1&r&&(c.YNc(0,fm,3,2,"div",0),c.YNc(1,pm,5,4,"div",0)),2&r&&(c.Q6J("ngIf",!s.node.children),c.xp6(1),c.Q6J("ngIf",s.node.children))},dependencies:[Et.mk,Et.sg,Et.O5,kt.Hw,Na],encapsulation:2})}function Xl(l,i){if(1&l&&c._UZ(0,"aio-nav-item",1),2&l){const r=i.$implicit,s=c.oxw();c.Q6J("node",r)("selectedNodes",s.selectedNodes)("isWide",s.isWide)}}class ql{constructor(){this.isWide=!1}get filteredNodes(){return this.nodes?this.nodes.filter(i=>!i.hidden):[]}get selectedNodes(){if(this.currentNode)return this.currentNode.nodes||[this.currentNode]}static#e=this.ɵfac=function(r){return new(r||ql)};static#t=this.ɵcmp=c.Xpm({type:ql,selectors:[["aio-nav-menu"]],inputs:{currentNode:"currentNode",isWide:"isWide",nodes:"nodes",navLabel:"navLabel"},decls:2,vars:2,consts:[[3,"node","selectedNodes","isWide",4,"ngFor","ngForOf"],[3,"node","selectedNodes","isWide"]],template:function(r,s){1&r&&(c.TgZ(0,"nav"),c.YNc(1,Xl,1,3,"aio-nav-item",0),c.qZA()),2&r&&(c.uIk("aria-label",s.navLabel||null),c.xp6(1),c.Q6J("ngForOf",s.filteredNodes))},dependencies:[Et.sg,Na],encapsulation:2})}const gm=function(l){return{selected:l}};function mm(l,i){if(1&l&&(c.TgZ(0,"li",2)(1,"a",3)(2,"span",4),c._uU(3),c.qZA()()()),2&l){const r=i.$implicit,s=c.oxw();let d,f;c.Q6J("ngClass",c.VKq(7,gm,r.url===s.currentUrl)),c.xp6(1),c.ekj("highlight",r.highlight),c.Q6J("href",r.url,c.LSH)("title",null!==(d=null!==(d=null!==(d=r.tooltipCn)&&void 0!==d?d:r.tooltip)&&void 0!==d?d:r.titleCn)&&void 0!==d?d:r.title)("target",r.external?"_blank":"_self"),c.xp6(2),c.Oqu(null!==(f=r.titleCn)&&void 0!==f?f:r.title)}}class ec{get currentUrl(){return this.currentNode?this.currentNode.url:null}static#e=this.ɵfac=function(r){return new(r||ec)};static#t=this.ɵcmp=c.Xpm({type:ec,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes",currentNode:"currentNode"},decls:3,vars:1,consts:[["aria-label","primary"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"nav-link",3,"href","title","target"],[1,"nav-link-inner"]],template:function(r,s){1&r&&(c.TgZ(0,"nav",0)(1,"ul"),c.YNc(2,mm,4,9,"li",1),c.qZA()()),2&r&&(c.xp6(2),c.Q6J("ngForOf",s.nodes))},dependencies:[Et.mk,Et.sg],styles:[".nav-link.highlight[_ngcontent-%COMP%]{color:#ff0}\n/*# sourceMappingURL=top-menu.component.ts-angular-inline--2.css.map*/"]})}const Nf="aio-theme";class La{constructor(i,r){this.document=i,this.storage=r,this.isDark=!1,this.initializeThemeFromPreferences()}toggleTheme(){this.isDark=!this.isDark,this.updateRenderedTheme()}initializeThemeFromPreferences(){const i=this.storage.getItem(Nf);this.isDark=i?"true"===i:matchMedia?.("(prefers-color-scheme: dark)").matches??!1;const r=this.document.querySelector("#aio-initial-theme");r&&r.parentElement?.removeChild(r);const s=this.document.createElement("link");s.id="aio-custom-theme",s.rel="stylesheet",s.href=`${this.getThemeName()}-theme.css`,this.document.head.appendChild(s)}getThemeName(){return this.isDark?"dark":"light"}getToggleLabel(){return`Switch to ${this.isDark?"light":"dark"} mode`}updateRenderedTheme(){const i=this.document.getElementById("aio-custom-theme");i&&(i.href=`${this.getThemeName()}-theme.css`),this.storage.setItem(Nf,String(this.isDark))}static#e=this.ɵfac=function(r){return new(r||La)(c.Y36(Et.K0),c.Y36(Rs.mM))};static#t=this.ɵcmp=c.Xpm({type:La,selectors:[["aio-theme-toggle"]],decls:3,vars:3,consts:[["mat-icon-button","","type","button",3,"title","click"]],template:function(r,s){1&r&&(c.TgZ(0,"button",0),c.NdJ("click",function(){return s.toggleTheme()}),c.TgZ(1,"mat-icon"),c._uU(2),c.qZA()()),2&r&&(c.Q6J("title",s.getToggleLabel()),c.uIk("aria-label",s.getToggleLabel()),c.xp6(2),c.hij(" ",s.isDark?"light":"dark","_mode "))},dependencies:[Yt.lW,kt.Hw],encapsulation:2})}const ad=["searchResultsView"],tc=["appToolbar"],ld=["searchBox","searchResultsView"],cd=["themeToggle","externalIcons"];function ud(l,i){1&l&&(c.TgZ(0,"div",45),c._UZ(1,"mat-progress-bar",46),c.qZA())}function Jr(l,i){1&l&&c._UZ(0,"img",47)}function Lf(l,i){1&l&&c._UZ(0,"img",48)}function kf(l,i){if(1&l&&c._UZ(0,"aio-top-menu",49),2&l){const r=c.oxw();c.Q6J("nodes",r.topMenuNodes)("currentNode",r.currentNodes.TopBar)}}function Bf(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"aio-search-results",50,51),c.NdJ("resultSelected",function(){c.CHM(r);const d=c.oxw();return c.KtG(d.hideSearchResults())})("closeButtonClick",function(){c.CHM(r);const d=c.oxw();return c.KtG(d.hideSearchResults())}),c.ALo(2,"async"),c.qZA()}if(2&l){const r=c.oxw();c.Q6J("searchResults",c.lcZ(2,1,r.searchResults))}}function dd(l,i){if(1&l&&c._UZ(0,"aio-nav-menu",52),2&l){const r=c.oxw();c.Q6J("nodes",r.topMenuNarrowNodes)("currentNode",r.currentNodes.TopBarNarrow)("isWide",r.dockSideNav)}}function nc(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"aio-dt",53),c.NdJ("docChange",function(d){c.CHM(r);const f=c.oxw();return c.KtG(f.currentDocument=d)}),c.qZA()}if(2&l){const r=c.oxw();c.Q6J("doc",r.currentDocument)}}function Uf(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"div",54),c.NdJ("wheel",function(d){c.CHM(r);const f=c.oxw();return c.KtG(f.restrainScrolling(d))}),c._UZ(1,"aio-lazy-ce",55),c.qZA()}if(2&l){const r=c.oxw();c.Udp("max-height",r.tocMaxHeight,"px")}}const Vf=function(l){return{collapsed:l}},hd="SideNav";class Tn{constructor(i,r,s,d,f,y,D,R,X){this.deployment=i,this.documentService=r,this.hostElement=s,this.locationService=d,this.navigationService=f,this.scrollService=y,this.searchService=D,this.swUpdatesService=R,this.tocService=X,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 kr.X(!1),this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}static#e=this.reducedMotion=window.matchMedia("(prefers-reduced-motion)").matches;get disableAnimations(){return Tn.reducedMotion||this.isStarting}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(r=>this.currentDocument=r),this.locationService.currentPath.subscribe(r=>{r===this.currentPath?this.scrollService.scroll():(this.currentPath=r,clearTimeout(this.isFetchingTimeout),this.isFetchingTimeout=setTimeout(()=>this.isFetching=!0,200))}),this.navigationService.currentNodes.subscribe(r=>{this.currentNodes=r,"archive"===this.deployment.mode&&!r[hd]&&this.locationService.replace("docs")}),(0,Os.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe((0,at.U)(r=>r.docVersions)),this.locationService.currentUrl]).subscribe(([r,s,d])=>{const f=[{title:"next",url:"https://next.angular.io/"},{title:"rc",url:"https://rc.angular.io/"},{title:"stable",url:"https://angular.io/"}];"archive"===this.deployment.mode&&f.push({title:`v${r.major}`});const y=[...f,...s].map(D=>({...D,url:`${D.url}${D.url?.endsWith("/")?"":"/"}${d}`}));this.currentDocsVersionNode=y.find(D=>D.title===this.deployment.mode||D.title===`v${r.major}`),this.docVersions=[{title:"文件版本",children:y}]}),this.navigationService.navigationViews.subscribe(r=>{this.footerNodes=r.Footer||[],this.sideNavNodes=r.SideNav||[],this.topMenuNodes=r.TopBar||[],this.topMenuNarrowNodes=r.TopBarNarrow||this.topMenuNodes}),this.navigationService.versionInfo.subscribe(r=>this.versionInfo=r);const i=this.tocService.tocList.pipe((0,at.U)(r=>r.length>0));(0,Os.a)([i,this.showFloatingToc]).subscribe(([r,s])=>this.hasFloatingToc=r&&s),(0,Os.a)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe((0,fi.P)()).subscribe(()=>this.updateShell()),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}onResize(i){this.showTopMenu=i>=1150,this.dockSideNav=i>=992,this.showFloatingToc.next(i>800),this.showTopMenu&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}onFocus(i){if(this.showSearchResults){const r=[...this.toolbarIcons,...this.searchElements].some(d=>d.nativeElement.contains(i)),s=this.toolbar.nativeElement.contains(i);r||(s?this.searchResultsView.nativeElement.querySelector("button.close-button").focus():this.focusSearchBox())}}onClick(i,r,s,d,f){if(this.showSearchResults&&!this.searchElements.some(D=>D.nativeElement.contains(i))&&this.hideSearchResults(),"FOOTER"===i.tagName&&d&&f)return this.dtOn=!this.dtOn,!1;let y=i;for(;y&&!(y instanceof HTMLAnchorElement);)y=y.parentElement;return!(y instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(y,r,s,d)}setPageId(i){this.pageId="index"===i?"home":i.replace("/","-")}setFolderId(i){this.folderId="index"===i?"home":i.split("/",1)[0]}notificationDismissed(){this.notificationAnimating=!0,setTimeout(()=>this.notificationAnimating=!1,250),this.updateHostClasses()}updateHostClasses(){const i=`mode-${this.deployment.mode}`,r="sidenav-"+(this.sidenav.opened?"open":"closed"),s=`page-${this.pageId}`,d=`folder-${this.folderId}`,f=Object.keys(this.currentNodes).map(R=>`view-${R}`).join(" ");this.hostClasses=[i,r,s,d,f,`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 i=this.sidenav.opened;const r=!!this.currentNodes[hd];this.isSideNavDoc!==r&&(i=this.isSideNavDoc=r),this.sidenav.toggle(this.dockSideNav&&i)}onScroll(){if(!this.tocMaxHeightOffset){const i=this.hostElement.nativeElement,r=i.querySelector(".app-toolbar"),s=i.querySelector("footer");r&&s&&(this.tocMaxHeightOffset=r.clientHeight+s.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(i){const r=i.currentTarget,s=r.scrollTop;i.deltaY<0?s<1&&i.preventDefault():r.scrollHeight-r.clientHeight-s<1&&i.preventDefault()}hideSearchResults(){this.showSearchResults=!1;const i=this.locationService.search();void 0!==i.search&&this.locationService.setSearch("",{...i,search:void 0})}focusSearchBox(){this.searchBox&&this.searchBox.focus()}doSearch(i,r=!1){this.showSearchResults&&r||(this.searchResults=this.searchService.search(i),this.showSearchResults=!!i)}onKeyUp(i,r){("/"===i||191===r)&&this.focusSearchBox(),("Escape"===i||27===r)&&this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}static#t=this.ɵfac=function(r){return new(r||Tn)(c.Y36(xs),c.Y36(pi.Zg),c.Y36(c.SBq),c.Y36(Ho.a),c.Y36(xi),c.Y36($o.a),c.Y36(yf.o),c.Y36(Br),c.Y36(Ra.I))};static#n=this.ɵcmp=c.Xpm({type:Tn,selectors:[["aio-shell"]],viewQuery:function(r,s){if(1&r&&(c.Gf(Aa,7),c.Gf(ad,5,c.SBq),c.Gf(Bo,7),c.Gf(Ia,7),c.Gf(tc,5,c.SBq),c.Gf(ld,5,c.SBq),c.Gf(cd,5,c.SBq)),2&r){let d;c.iGM(d=c.CRH())&&(s.searchBox=d.first),c.iGM(d=c.CRH())&&(s.searchResultsView=d.first),c.iGM(d=c.CRH())&&(s.sidenav=d.first),c.iGM(d=c.CRH())&&(s.notification=d.first),c.iGM(d=c.CRH())&&(s.toolbar=d.first),c.iGM(d=c.CRH())&&(s.searchElements=d),c.iGM(d=c.CRH())&&(s.toolbarIcons=d)}},hostVars:3,hostBindings:function(r,s){1&r&&c.NdJ("resize",function(f){return s.onResize(f.target.innerWidth)},!1,c.Jf7)("focusin",function(f){return s.onFocus(f.target)})("click",function(f){return s.onClick(f.target,f.button,f.ctrlKey,f.metaKey,f.altKey)})("scroll",function(){return s.onScroll()},!1,c.Jf7)("keyup",function(f){return s.onKeyUp(f.key,f.which)},!1,c.evT),2&r&&(c.d8E("@.disabled",s.disableAnimations),c.Tol(s.hostClasses))},decls:54,vars:36,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"],["appToolbar",""],[1,"notification-container"],["notificationId","survey-october-2021","expirationDate","2021-12-04",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",""],["themeToggle",""],[1,"toolbar-external-icons-container"],["externalIcons",""],["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","closeButtonClick",4,"ngIf"],[1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],["navLabel","primary",3,"nodes","currentNode","isWide",4,"ngIf"],["navLabel","guides and docs",3,"nodes","currentNode","isWide"],[1,"doc-version"],["navLabel","docs versions",3,"nodes","isWide","currentNode"],[1,"sidenav-content-container"],[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","closeButtonClick"],["searchResultsView",""],["navLabel","primary",3,"nodes","currentNode","isWide"],[3,"doc","docChange"],[1,"toc-container","no-print",3,"wheel"],["selector","aio-toc"]],template:function(r,s){if(1&r){const d=c.EpF();c._UZ(0,"div",0)(1,"aio-cookies-popup"),c.TgZ(2,"a",1),c._uU(3,"Skip to main content"),c.qZA(),c.YNc(4,ud,2,0,"div",2),c.TgZ(5,"header")(6,"mat-toolbar",3,4)(8,"mat-toolbar-row",5)(9,"aio-notification",6),c.NdJ("dismissed",function(){return s.notificationDismissed()}),c.TgZ(10,"a",7),c._UZ(11,"mat-icon",8),c.TgZ(12,"span",9)(13,"b"),c._uU(14,"填寫這份《一分鐘調查》"),c.qZA(),c._uU(15,",幫我們(開發組)做得更好!"),c.qZA(),c.TgZ(16,"span",10),c._uU(17,"去填寫"),c.qZA()()()(),c.TgZ(18,"mat-toolbar-row")(19,"button",11),c.NdJ("click",function(){c.CHM(d);const y=c.MAs(40);return c.KtG(y.toggle())}),c._UZ(20,"mat-icon",12),c.qZA(),c.TgZ(21,"a",13),c.YNc(22,Jr,1,0,"img",14),c.YNc(23,Lf,1,0,"img",15),c.qZA(),c.YNc(24,kf,1,2,"aio-top-menu",16),c.TgZ(25,"aio-search-box",17,18),c.NdJ("onSearch",function(y){return s.doSearch(y)})("onFocus",function(y){return s.doSearch(y,!0)}),c.qZA(),c._UZ(27,"aio-theme-toggle",null,19),c.TgZ(29,"div",20,21)(31,"a",22),c._UZ(32,"mat-icon",23),c.qZA(),c.TgZ(33,"a",24),c._UZ(34,"mat-icon",25),c.qZA(),c.TgZ(35,"a",26),c._UZ(36,"mat-icon",27),c.qZA()()()()(),c.YNc(37,Bf,3,3,"aio-search-results",28),c.TgZ(38,"mat-sidenav-container",29)(39,"mat-sidenav",30,31),c.NdJ("openedChange",function(){return s.updateHostClasses()}),c.YNc(41,dd,1,3,"aio-nav-menu",32),c._UZ(42,"aio-nav-menu",33),c.TgZ(43,"div",34),c._UZ(44,"aio-nav-menu",35),c.qZA()(),c.TgZ(45,"section",36)(46,"main",37),c._UZ(47,"div",38)(48,"aio-mode-banner",39),c.TgZ(49,"aio-doc-viewer",40),c.NdJ("docReady",function(){return s.onDocReady()})("docRemoved",function(){return s.onDocRemoved()})("docInserted",function(){return s.onDocInserted()})("docRendered",function(){return s.onDocRendered()}),c.qZA(),c.YNc(50,nc,1,1,"aio-dt",41),c.qZA(),c.YNc(51,Uf,2,2,"div",42),c.qZA(),c.TgZ(52,"footer",43),c._UZ(53,"aio-footer",44),c.qZA()()}2&r&&(c.xp6(4),c.Q6J("ngIf",s.isFetching),c.xp6(2),c.ekj("transitioning",s.isTransitioning),c.xp6(3),c.Q6J("dismissOnContentClick",!0),c.xp6(10),c.ekj("no-animations",s.disableAnimations),c.xp6(2),c.Q6J("ngSwitch",s.showTopMenu),c.xp6(1),c.Q6J("ngSwitchCase",!0),c.xp6(2),c.Q6J("ngIf",s.showTopMenu),c.xp6(13),c.Q6J("ngIf",s.showSearchResults),c.xp6(1),c.ekj("no-animations",s.disableAnimations)("has-floating-toc",s.hasFloatingToc),c.xp6(1),c.Q6J("ngClass",c.VKq(34,Vf,!s.dockSideNav))("mode",s.mode)("opened",s.isOpened),c.xp6(2),c.Q6J("ngIf",!s.showTopMenu),c.xp6(1),c.Q6J("nodes",s.sideNavNodes)("currentNode",s.currentNodes.SideNav)("isWide",s.dockSideNav),c.xp6(2),c.Q6J("nodes",s.docVersions)("isWide",!0)("currentNode",s.currentDocsVersionNode),c.xp6(2),c.Q6J("id",s.pageId),c.xp6(2),c.Q6J("mode",s.deployment.mode)("version",s.versionInfo),c.xp6(1),c.ekj("no-animations",s.disableAnimations),c.Q6J("doc",s.currentDocument),c.xp6(1),c.Q6J("ngIf",s.dtOn),c.xp6(1),c.Q6J("ngIf",s.hasFloatingToc),c.xp6(2),c.Q6J("nodes",s.footerNodes)("versionInfo",s.versionInfo))},dependencies:[Et.mk,Et.O5,Et.RF,Et.n9,Et.ED,Ni,Yt.lW,Yt.zs,pf,Bo,no,Yu,Ku,If.G,kt.Hw,oo,Ns,Pa,so,Fa,ql,Aa,Ia,ec,La,Et.Ov],encapsulation:2})}const Xr=new c.OlP("SvgIcons"),ka="$$default";class ao extends kt.jv{constructor(i,r,s,d,f){super(i,r,s,d),this.svgIcons=f,this.cachedSvgElements={[ka]:{}}}getNamedSvgIcon(i,r){const s=this.cachedSvgElements[r||ka];let d=s&&s[i];return d||(d=this.loadSvgElement(i,r)),d?(0,lt.of)(d.cloneNode(!0)):super.getNamedSvgIcon(i,r)}loadSvgElement(i,r){const s=this.svgIcons.find(R=>r?R.name===i&&R.namespace===r:R.name===i);if(!s)return;const d=s.namespace||ka,f=this.cachedSvgElements[d]||(this.cachedSvgElements[d]={}),y=document.createElement("DIV");y.innerHTML=(0,gi.xo)(s.svgSource);const D=y.querySelector("svg");return f[s.name]=D,D}static#e=this.ɵfac=function(r){return new(r||ao)(c.LFG(U.eN),c.LFG(m.H7),c.LFG(Et.K0,8),c.LFG(c.qLn),c.LFG(Xr))};static#t=this.ɵprov=c.Yz7({token:ao,factory:ao.ɵfac})}var zn=g(8507),Ls=g(3336);class Go extends c.qLn{constructor(i){super(),this._analytics=i}handleError(i){const r=this.prefixErrorWithVersion(i);try{super.handleError(r)}catch(s){this.reportError(s)}this.reportError(r)}prefixErrorWithVersion(i){const r=`[v${c.q4F.full}] `;if(i instanceof Error){const s=i.message,d=i.stack;i.message=r+s,i.stack=d?.replace(s,i.message)}else"string"==typeof i&&(i=r+i);return i}reportError(i){if(i instanceof Error)this._analytics.reportError((0,Ls.R)(i));else{if("object"==typeof i)try{i=JSON.stringify(i)}catch{}this._analytics.reportError(`${i}`)}}static#e=this.ɵfac=function(r){return new(r||Go)(c.LFG(zn.y))};static#t=this.ɵprov=c.Yz7({token:Go,factory:Go.ɵfac})}var pd=g(4727),gd=g(4783);g(4423),g(629),g(591),g(3932),g(3853),g(7354),g(4744),g(9173),g(2313),g(6074),g(1308);const nl=new c.OlP("ROUTES");class nu{static#e=this.ɵfac=function(r){return new(r||nu)};static#t=this.ɵmod=c.oAB({type:nu});static#n=this.ɵinj=c.cJS({providers:[Fi,{provide:zo,useValue:Kl},{provide:nl,useValue:Ps,multi:!0}]})}var Um=g(4466);const Vm=[{provide:Xr,useValue:{name:"close",svgSource:hi.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:Xr,useValue:{name:"insert_comment",svgSource:hi.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:Xr,useValue:{name:"keyboard_arrow_right",svgSource:hi.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:Xr,useValue:{name:"menu",svgSource:hi.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:Xr,useValue:{namespace:"logos",name:"github",svgSource:hi.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:Xr,useValue:{namespace:"logos",name:"twitter",svgSource:hi.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:Xr,useValue:{namespace:"logos",name:"youtube",svgSource:hi.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}];class ru{static#e=this.ɵfac=function(r){return new(r||ru)};static#t=this.ɵmod=c.oAB({type:ru,bootstrap:[Tn]});static#n=this.ɵinj=c.cJS({providers:[zn.y,xs,pi.Zg,{provide:c.qLn,useClass:Go},er.Y,Et.Ye,{provide:Et.S$,useClass:Et.b0},Ho.a,{provide:kt.jv,useClass:ao},xi,$o.a,pd.f_,yf.o,Rs.Un,Vm,Ra.I,{provide:ro,useFactory:jo},{provide:gd.R,useFactory:gd.s}],imports:[m.b2,Ds.withConfig({disableAnimations:Tn.reducedMotion}),nu,U.JF,Yt.ot,im,_f,vf,Um.m,Pt.register((0,Wl.g$)(Vo.dJ`/ngsw-worker.js`),{enabled:Qu.N.production})]})}Qu.N.production&&(0,c.G48)(),document.addEventListener("DOMContentLoaded",()=>{m.q6().bootstrapModule(ru).catch(l=>console.error(l))})},7367:(Se,W,g)=>{g.d(W,{c:()=>c});var m=g(253);class c extends m.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(O){const{hasError:N,_hasValue:B,_value:V,thrownError:x,isStopped:F,_isComplete:I}=this;N?O.error(x):(F||I)&&(B&&O.next(V),O.complete())}next(O){this.isStopped||(this._value=O,this._hasValue=!0)}complete(){const{_hasValue:O,_value:N,_isComplete:B}=this;B||(this._isComplete=!0,O&&super.next(N),super.complete())}}},6317:(Se,W,g)=>{g.d(W,{X:()=>c});var m=g(253);class c extends m.x{constructor(O){super(),this._value=O}get value(){return this.getValue()}_subscribe(O){const N=super._subscribe(O);return!N.closed&&O.next(this._value),N}getValue(){const{hasError:O,thrownError:N,_value:B}=this;if(O)throw N;return this._throwIfClosed(),B}next(O){super.next(this._value=O)}}},833:(Se,W,g)=>{g.d(W,{y:()=>x});var m=g(5463),c=g(7714),U=g(4585),O=g(629),N=g(9057),B=g(2971),V=g(2309);let x=(()=>{class A{constructor(K){K&&(this._subscribe=K)}lift(K){const te=new A;return te.source=this,te.operator=K,te}subscribe(K,te,Z){const H=function L(A){return A&&A instanceof m.Lv||function I(A){return A&&(0,B.m)(A.next)&&(0,B.m)(A.error)&&(0,B.m)(A.complete)}(A)&&(0,c.Nn)(A)}(K)?K:new m.Hp(K,te,Z);return(0,V.x)(()=>{const{operator:se,source:me}=this;H.add(se?se.call(H,me):me?this._subscribe(H):this._trySubscribe(H))}),H}_trySubscribe(K){try{return this._subscribe(K)}catch(te){K.error(te)}}forEach(K,te){return new(te=F(te))((Z,H)=>{const se=new m.Hp({next:me=>{try{K(me)}catch(Me){H(Me),se.unsubscribe()}},error:H,complete:Z});this.subscribe(se)})}_subscribe(K){var te;return null===(te=this.source)||void 0===te?void 0:te.subscribe(K)}[U.L](){return this}pipe(...K){return(0,O.U)(K)(this)}toPromise(K){return new(K=F(K))((te,Z)=>{let H;this.subscribe(se=>H=se,se=>Z(se),()=>te(H))})}}return A.create=q=>new A(q),A})();function F(A){var q;return null!==(q=A??N.v.Promise)&&void 0!==q?q:Promise}},6067:(Se,W,g)=>{g.d(W,{t:()=>U});var m=g(253),c=g(7654);class U extends m.x{constructor(N=1/0,B=1/0,V=c.l){super(),this._bufferSize=N,this._windowTime=B,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=B===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,B)}next(N){const{isStopped:B,_buffer:V,_infiniteTimeWindow:x,_timestampProvider:F,_windowTime:I}=this;B||(V.push(N),!x&&V.push(F.now()+I)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const B=this._innerSubscribe(N),{_infiniteTimeWindow:V,_buffer:x}=this,F=x.slice();for(let I=0;I<F.length&&!N.closed;I+=V?1:2)N.next(F[I]);return this._checkFinalizedStatuses(N),B}_trimBuffer(){const{_bufferSize:N,_timestampProvider:B,_buffer:V,_infiniteTimeWindow:x}=this,F=(x?1:2)*N;if(N<1/0&&F<V.length&&V.splice(0,V.length-F),!x){const I=B.now();let L=0;for(let A=1;A<V.length&&V[A]<=I;A+=2)L=A;L&&V.splice(0,L+1)}}}},253:(Se,W,g)=>{g.d(W,{x:()=>V});var m=g(833),c=g(7714);const O=(0,g(7543).d)(F=>function(){F(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=g(9663),B=g(2309);let V=(()=>{class F extends m.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const A=new x(this,this);return A.operator=L,A}_throwIfClosed(){if(this.closed)throw new O}next(L){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const A of this.currentObservers)A.next(L)}})}error(L){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:A}=this;for(;A.length;)A.shift().error(L)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:A,isStopped:q,observers:K}=this;return A||q?c.Lc:(this.currentObservers=null,K.push(L),new c.w0(()=>{this.currentObservers=null,(0,N.P)(K,L)}))}_checkFinalizedStatuses(L){const{hasError:A,thrownError:q,isStopped:K}=this;A?L.error(q):K&&L.complete()}asObservable(){const L=new m.y;return L.source=this,L}}return F.create=(I,L)=>new x(I,L),F})();class x extends V{constructor(I,L){super(),this.destination=I,this.source=L}next(I){var L,A;null===(A=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===A||A.call(L,I)}error(I){var L,A;null===(A=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===A||A.call(L,I)}complete(){var I,L;null===(L=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===L||L.call(I)}_subscribe(I){var L,A;return null!==(A=null===(L=this.source)||void 0===L?void 0:L.subscribe(I))&&void 0!==A?A:c.Lc}}},5463:(Se,W,g)=>{g.d(W,{Hp:()=>Z,Lv:()=>A});var m=g(2971),c=g(7714),U=g(9057),O=g(4709),N=g(9635);const B=F("C",void 0,void 0);function F(_e,z,ae){return{kind:_e,value:z,error:ae}}var I=g(3542),L=g(2309);class A extends c.w0{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,c.Nn)(z)&&z.add(this)):this.destination=Me}static create(z,ae,Te){return new Z(z,ae,Te)}next(z){this.isStopped?me(function x(_e){return F("N",_e,void 0)}(z),this):this._next(z)}error(z){this.isStopped?me(function V(_e){return F("E",void 0,_e)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?me(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const q=Function.prototype.bind;function K(_e,z){return q.call(_e,z)}class te{constructor(z){this.partialObserver=z}next(z){const{partialObserver:ae}=this;if(ae.next)try{ae.next(z)}catch(Te){H(Te)}}error(z){const{partialObserver:ae}=this;if(ae.error)try{ae.error(z)}catch(Te){H(Te)}else H(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(ae){H(ae)}}}class Z extends A{constructor(z,ae,Te){let Re;if(super(),(0,m.m)(z)||!z)Re={next:z??void 0,error:ae??void 0,complete:Te??void 0};else{let Oe;this&&U.v.useDeprecatedNextContext?(Oe=Object.create(z),Oe.unsubscribe=()=>this.unsubscribe(),Re={next:z.next&&K(z.next,Oe),error:z.error&&K(z.error,Oe),complete:z.complete&&K(z.complete,Oe)}):Re=z}this.destination=new te(Re)}}function H(_e){U.v.useDeprecatedSynchronousErrorHandling?(0,L.O)(_e):(0,O.h)(_e)}function me(_e,z){const{onStoppedNotification:ae}=U.v;ae&&I.z.setTimeout(()=>ae(_e,z))}const Me={closed:!0,next:N.Z,error:function se(_e){throw _e},complete:N.Z}},7714:(Se,W,g)=>{g.d(W,{Lc:()=>B,w0:()=>N,Nn:()=>V});var m=g(2971);const U=(0,g(7543).d)(F=>function(L){F(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((A,q)=>`${q+1}) ${A.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var O=g(9663);class N{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const K of L)K.remove(this);else L.remove(this);const{initialTeardown:A}=this;if((0,m.m)(A))try{A()}catch(K){I=K instanceof U?K.errors:[K]}const{_finalizers:q}=this;if(q){this._finalizers=null;for(const K of q)try{x(K)}catch(te){I=I??[],te instanceof U?I=[...I,...te.errors]:I.push(te)}}if(I)throw new U(I)}}add(I){var L;if(I&&I!==this)if(this.closed)x(I);else{if(I instanceof N){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(I)}}_hasParent(I){const{_parentage:L}=this;return L===I||Array.isArray(L)&&L.includes(I)}_addParent(I){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(I),L):L?[L,I]:I}_removeParent(I){const{_parentage:L}=this;L===I?this._parentage=null:Array.isArray(L)&&(0,O.P)(L,I)}remove(I){const{_finalizers:L}=this;L&&(0,O.P)(L,I),I instanceof N&&I._removeParent(this)}}N.EMPTY=(()=>{const F=new N;return F.closed=!0,F})();const B=N.EMPTY;function V(F){return F instanceof N||F&&"closed"in F&&(0,m.m)(F.remove)&&(0,m.m)(F.add)&&(0,m.m)(F.unsubscribe)}function x(F){(0,m.m)(F)?F():F.unsubscribe()}},9057:(Se,W,g)=>{g.d(W,{v:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3932:(Se,W,g)=>{g.d(W,{c:()=>B});var m=g(833),c=g(7714),U=g(6074),O=g(3945),N=g(1944);class B extends m.y{constructor(x,F){super(),this.source=x,this.subjectFactory=F,this._subject=null,this._refCount=0,this._connection=null,(0,N.A)(x)&&(this.lift=x.lift)}_subscribe(x){return this.getSubject().subscribe(x)}getSubject(){const x=this._subject;return(!x||x.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:x}=this;this._subject=this._connection=null,x?.unsubscribe()}connect(){let x=this._connection;if(!x){x=this._connection=new c.w0;const F=this.getSubject();x.add(this.source.subscribe((0,O.x)(F,void 0,()=>{this._teardown(),F.complete()},I=>{this._teardown(),F.error(I)},()=>this._teardown()))),x.closed&&(this._connection=null,x=c.w0.EMPTY)}return x}refCount(){return(0,U.x)()(this)}}},6562:(Se,W,g)=>{g.d(W,{a:()=>I});var m=g(833),c=g(5756),U=g(3609),O=g(9173),N=g(8385),B=g(420),V=g(1054),x=g(3945),F=g(1817);function I(...q){const K=(0,B.yG)(q),te=(0,B.jO)(q),{args:Z,keys:H}=(0,c.D)(q);if(0===Z.length)return(0,U.D)([],K);const se=new m.y(function L(q,K,te=O.y){return Z=>{A(K,()=>{const{length:H}=q,se=new Array(H);let me=H,Me=H;for(let _e=0;_e<H;_e++)A(K,()=>{const z=(0,U.D)(q[_e],K);let ae=!1;z.subscribe((0,x.x)(Z,Te=>{se[_e]=Te,ae||(ae=!0,Me--),Me||Z.next(te(se.slice()))},()=>{--me||Z.complete()}))},Z)},Z)}}(Z,K,H?me=>(0,V.n)(H,me):O.y));return te?se.pipe((0,N.Z)(te)):se}function A(q,K,te){q?(0,F.f)(te,q,K):K()}},9319:(Se,W,g)=>{g.d(W,{z:()=>N});var m=g(1308),U=g(420),O=g(3609);function N(...B){return function c(){return(0,m.J)(1)}()((0,O.D)(B,(0,U.yG)(B)))}},591:(Se,W,g)=>{g.d(W,{E:()=>c});const c=new(g(833).y)(N=>N.complete())},3609:(Se,W,g)=>{g.d(W,{D:()=>z});var m=g(4987),c=g(8728),U=g(4317),B=g(833),x=g(7321),F=g(2971),I=g(1817);function A(ae,Te){if(!ae)throw new Error("Iterable cannot be null");return new B.y(Re=>{(0,I.f)(Re,Te,()=>{const Oe=ae[Symbol.asyncIterator]();(0,I.f)(Re,Te,()=>{Oe.next().then(Ne=>{Ne.done?Re.complete():Re.next(Ne.value)})},0,!0)})})}var q=g(1331),K=g(9548),te=g(9806),Z=g(3433),H=g(470),se=g(7785),me=g(181);function z(ae,Te){return Te?function _e(ae,Te){if(null!=ae){if((0,q.c)(ae))return function O(ae,Te){return(0,m.Xf)(ae).pipe((0,U.R)(Te),(0,c.Q)(Te))}(ae,Te);if((0,te.z)(ae))return function V(ae,Te){return new B.y(Re=>{let Oe=0;return Te.schedule(function(){Oe===ae.length?Re.complete():(Re.next(ae[Oe++]),Re.closed||this.schedule())})})}(ae,Te);if((0,K.t)(ae))return function N(ae,Te){return(0,m.Xf)(ae).pipe((0,U.R)(Te),(0,c.Q)(Te))}(ae,Te);if((0,H.D)(ae))return A(ae,Te);if((0,Z.T)(ae))return function L(ae,Te){return new B.y(Re=>{let Oe;return(0,I.f)(Re,Te,()=>{Oe=ae[x.h](),(0,I.f)(Re,Te,()=>{let Ne,ce;try{({value:Ne,done:ce}=Oe.next())}catch(ie){return void Re.error(ie)}ce?Re.complete():Re.next(Ne)},0,!0)}),()=>(0,F.m)(Oe?.return)&&Oe.return()})}(ae,Te);if((0,me.L)(ae))return function Me(ae,Te){return A((0,me.Q)(ae),Te)}(ae,Te)}throw(0,se.z)(ae)}(ae,Te):(0,m.Xf)(ae)}},3280:(Se,W,g)=>{g.d(W,{R:()=>I});var m=g(4987),c=g(833),U=g(9525),O=g(9806),N=g(2971),B=g(8385);const V=["addListener","removeListener"],x=["addEventListener","removeEventListener"],F=["on","off"];function I(te,Z,H,se){if((0,N.m)(H)&&(se=H,H=void 0),se)return I(te,Z,H).pipe((0,B.Z)(se));const[me,Me]=function K(te){return(0,N.m)(te.addEventListener)&&(0,N.m)(te.removeEventListener)}(te)?x.map(_e=>z=>te[_e](Z,z,H)):function A(te){return(0,N.m)(te.addListener)&&(0,N.m)(te.removeListener)}(te)?V.map(L(te,Z)):function q(te){return(0,N.m)(te.on)&&(0,N.m)(te.off)}(te)?F.map(L(te,Z)):[];if(!me&&(0,O.z)(te))return(0,U.z)(_e=>I(_e,Z,H))((0,m.Xf)(te));if(!me)throw new TypeError("Invalid event target");return new c.y(_e=>{const z=(...ae)=>_e.next(1<ae.length?ae:ae[0]);return me(z),()=>Me(z)})}function L(te,Z){return H=>se=>te[H](Z,se)}},4987:(Se,W,g)=>{g.d(W,{Xf:()=>q});var m=g(4929),c=g(9806),U=g(9548),O=g(833),N=g(1331),B=g(470),V=g(7785),x=g(3433),F=g(181),I=g(2971),L=g(4709),A=g(4585);function q(_e){if(_e instanceof O.y)return _e;if(null!=_e){if((0,N.c)(_e))return function K(_e){return new O.y(z=>{const ae=_e[A.L]();if((0,I.m)(ae.subscribe))return ae.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(_e);if((0,c.z)(_e))return function te(_e){return new O.y(z=>{for(let ae=0;ae<_e.length&&!z.closed;ae++)z.next(_e[ae]);z.complete()})}(_e);if((0,U.t)(_e))return function Z(_e){return new O.y(z=>{_e.then(ae=>{z.closed||(z.next(ae),z.complete())},ae=>z.error(ae)).then(null,L.h)})}(_e);if((0,B.D)(_e))return se(_e);if((0,x.T)(_e))return function H(_e){return new O.y(z=>{for(const ae of _e)if(z.next(ae),z.closed)return;z.complete()})}(_e);if((0,F.L)(_e))return function me(_e){return se((0,F.Q)(_e))}(_e)}throw(0,V.z)(_e)}function se(_e){return new O.y(z=>{(function Me(_e,z){var ae,Te,Re,Oe;return(0,m.mG)(this,void 0,void 0,function*(){try{for(ae=(0,m.KL)(_e);!(Te=yield ae.next()).done;)if(z.next(Te.value),z.closed)return}catch(Ne){Re={error:Ne}}finally{try{Te&&!Te.done&&(Oe=ae.return)&&(yield Oe.call(ae))}finally{if(Re)throw Re.error}}z.complete()})})(_e,z).catch(ae=>z.error(ae))})}},6646:(Se,W,g)=>{g.d(W,{T:()=>B});var m=g(1308),c=g(4987),U=g(591),O=g(420),N=g(3609);function B(...V){const x=(0,O.yG)(V),F=(0,O._6)(V,1/0),I=V;return I.length?1===I.length?(0,c.Xf)(I[0]):(0,m.J)(F)((0,N.D)(I,x)):U.E}},745:(Se,W,g)=>{g.d(W,{of:()=>U});var m=g(420),c=g(3609);function U(...O){const N=(0,m.yG)(O);return(0,c.D)(O,N)}},5474:(Se,W,g)=>{g.d(W,{_:()=>U});var m=g(833),c=g(2971);function U(O,N){const B=(0,c.m)(O)?O:()=>O,V=x=>x.error(B());return new m.y(N?x=>N.schedule(V,0,x):V)}},5524:(Se,W,g)=>{g.d(W,{H:()=>N});var m=g(833),c=g(6936),U=g(9867);function N(B=0,V,x=c.P){let F=-1;return null!=V&&((0,U.K)(V)?x=V:F=V),new m.y(I=>{let L=function O(B){return B instanceof Date&&!isNaN(B)}(B)?+B-x.now():B;L<0&&(L=0);let A=0;return x.schedule(function(){I.closed||(I.next(A++),0<=F?this.schedule(void 0,F):I.complete())},L)})}},3945:(Se,W,g)=>{g.d(W,{x:()=>c});var m=g(5463);function c(O,N,B,V,x){return new U(O,N,B,V,x)}class U extends m.Lv{constructor(N,B,V,x,F,I){super(N),this.onFinalize=F,this.shouldUnsubscribe=I,this._next=B?function(L){try{B(L)}catch(A){N.error(A)}}:super._next,this._error=x?function(L){try{x(L)}catch(A){N.error(A)}finally{this.unsubscribe()}}:super._error,this._complete=V?function(){try{V()}catch(L){N.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var N;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(N=this.onFinalize)||void 0===N||N.call(this))}}}},9211:(Se,W,g)=>{g.d(W,{e:()=>V});var m=g(6936),c=g(1944),U=g(4987),O=g(3945),B=g(5524);function V(x,F=m.z){return function N(x){return(0,c.e)((F,I)=>{let L=!1,A=null,q=null,K=!1;const te=()=>{if(q?.unsubscribe(),q=null,L){L=!1;const H=A;A=null,I.next(H)}K&&I.complete()},Z=()=>{q=null,K&&I.complete()};F.subscribe((0,O.x)(I,H=>{L=!0,A=H,q||(0,U.Xf)(x(H)).subscribe(q=(0,O.x)(I,te,Z))},()=>{K=!0,(!L||!q||q.closed)&&I.complete()}))})}(()=>(0,B.H)(x,F))}},3158:(Se,W,g)=>{g.d(W,{K:()=>O});var m=g(4987),c=g(3945),U=g(1944);function O(N){return(0,U.e)((B,V)=>{let I,x=null,F=!1;x=B.subscribe((0,c.x)(V,void 0,void 0,L=>{I=(0,m.Xf)(N(L,O(N)(B))),x?(x.unsubscribe(),x=null,I.subscribe(V)):F=!0})),F&&(x.unsubscribe(),x=null,I.subscribe(V))})}},3853:(Se,W,g)=>{g.d(W,{b:()=>U});var m=g(9525),c=g(2971);function U(O,N){return(0,c.m)(N)?(0,m.z)(O,N,1):(0,m.z)(O,1)}},1381:(Se,W,g)=>{g.d(W,{$:()=>V});var m=g(253),c=g(4987),U=g(1944),O=g(833);const B={connector:()=>new m.x};function V(x,F=B){const{connector:I}=F;return(0,U.e)((L,A)=>{const q=I();(0,c.Xf)(x(function N(x){return new O.y(F=>x.subscribe(F))}(q))).subscribe(A),A.add(L.subscribe(q))})}},1989:(Se,W,g)=>{g.d(W,{b:()=>O});var m=g(6936),c=g(1944),U=g(3945);function O(N,B=m.z){return(0,c.e)((V,x)=>{let F=null,I=null,L=null;const A=()=>{if(F){F.unsubscribe(),F=null;const K=I;I=null,x.next(K)}};function q(){const K=L+N,te=B.now();if(te<K)return F=this.schedule(void 0,K-te),void x.add(F);A()}V.subscribe((0,U.x)(x,K=>{I=K,L=B.now(),F||(F=B.schedule(q,N),x.add(F))},()=>{A(),x.complete()},void 0,()=>{I=F=null}))})}},4744:(Se,W,g)=>{g.d(W,{d:()=>U});var m=g(1944),c=g(3945);function U(O){return(0,m.e)((N,B)=>{let V=!1;N.subscribe((0,c.x)(B,x=>{V=!0,B.next(x)},()=>{V||B.next(O),B.complete()}))})}},8977:(Se,W,g)=>{g.d(W,{x:()=>O});var m=g(9173),c=g(1944),U=g(3945);function O(B,V=m.y){return B=B??N,(0,c.e)((x,F)=>{let I,L=!0;x.subscribe((0,U.x)(F,A=>{const q=V(A);(L||!B(I,q))&&(L=!1,I=q,F.next(A))}))})}function N(B,V){return B===V}},116:(Se,W,g)=>{g.d(W,{h:()=>U});var m=g(1944),c=g(3945);function U(O,N){return(0,m.e)((B,V)=>{let x=0;B.subscribe((0,c.x)(V,F=>O.call(N,F,x++)&&V.next(F)))})}},2313:(Se,W,g)=>{g.d(W,{x:()=>c});var m=g(1944);function c(U){return(0,m.e)((O,N)=>{try{O.subscribe(N)}finally{N.add(U)}})}},155:(Se,W,g)=>{g.d(W,{P:()=>V});var m=g(4423),c=g(116),U=g(9295),O=g(4744),N=g(7354),B=g(9173);function V(x,F){const I=arguments.length>=2;return L=>L.pipe(x?(0,c.h)((A,q)=>x(A,q,L)):B.y,(0,U.q)(1),I?(0,O.d)(F):(0,N.T)(()=>new m.K))}},635:(Se,W,g)=>{g.d(W,{U:()=>U});var m=g(1944),c=g(3945);function U(O,N){return(0,m.e)((B,V)=>{let x=0;B.subscribe((0,c.x)(V,F=>{V.next(O.call(N,F,x++))}))})}},1308:(Se,W,g)=>{g.d(W,{J:()=>U});var m=g(9525),c=g(9173);function U(O=1/0){return(0,m.z)(c.y,O)}},9525:(Se,W,g)=>{g.d(W,{z:()=>x});var m=g(635),c=g(4987),U=g(1944),O=g(1817),N=g(3945),V=g(2971);function x(F,I,L=1/0){return(0,V.m)(I)?x((A,q)=>(0,m.U)((K,te)=>I(A,K,q,te))((0,c.Xf)(F(A,q))),L):("number"==typeof I&&(L=I),(0,U.e)((A,q)=>function B(F,I,L,A,q,K,te,Z){const H=[];let se=0,me=0,Me=!1;const _e=()=>{Me&&!H.length&&!se&&I.complete()},z=Te=>se<A?ae(Te):H.push(Te),ae=Te=>{K&&I.next(Te),se++;let Re=!1;(0,c.Xf)(L(Te,me++)).subscribe((0,N.x)(I,Oe=>{q?.(Oe),K?z(Oe):I.next(Oe)},()=>{Re=!0},void 0,()=>{if(Re)try{for(se--;H.length&&se<A;){const Oe=H.shift();te?(0,O.f)(I,te,()=>ae(Oe)):ae(Oe)}_e()}catch(Oe){I.error(Oe)}}))};return F.subscribe((0,N.x)(I,z,()=>{Me=!0,_e()})),()=>{Z?.()}}(A,q,F,L)))}},8532:(Se,W,g)=>{g.d(W,{O:()=>O});var m=g(3932),c=g(2971),U=g(1381);function O(N,B){const V=(0,c.m)(N)?N:()=>N;return(0,c.m)(B)?(0,U.$)(B,{connector:V}):x=>new m.c(x,V)}},8728:(Se,W,g)=>{g.d(W,{Q:()=>O});var m=g(1817),c=g(1944),U=g(3945);function O(N,B=0){return(0,c.e)((V,x)=>{V.subscribe((0,U.x)(x,F=>(0,m.f)(x,N,()=>x.next(F),B),()=>(0,m.f)(x,N,()=>x.complete(),B),F=>(0,m.f)(x,N,()=>x.error(F),B)))})}},4:(Se,W,g)=>{g.d(W,{C:()=>U});var m=g(7367),c=g(3932);function U(){return O=>{const N=new m.c;return new c.c(O,()=>N)}}},8917:(Se,W,g)=>{g.d(W,{_:()=>O});var m=g(6067),c=g(8532),U=g(2971);function O(N,B,V,x){V&&!(0,U.m)(V)&&(x=V);const F=(0,U.m)(V)?V:void 0;return I=>(0,c.O)(new m.t(N,B,x),F)(I)}},6074:(Se,W,g)=>{g.d(W,{x:()=>U});var m=g(1944),c=g(3945);function U(){return(0,m.e)((O,N)=>{let B=null;O._refCount++;const V=(0,c.x)(N,void 0,void 0,void 0,()=>{if(!O||O._refCount<=0||0<--O._refCount)return void(B=null);const x=O._connection,F=B;B=null,x&&(!F||x===F)&&x.unsubscribe(),N.unsubscribe()});O.subscribe(V),V.closed||(B=O.connect())})}},1203:(Se,W,g)=>{g.d(W,{B:()=>N});var m=g(4987),c=g(253),U=g(5463),O=g(1944);function N(V={}){const{connector:x=(()=>new c.x),resetOnError:F=!0,resetOnComplete:I=!0,resetOnRefCountZero:L=!0}=V;return A=>{let q,K,te,Z=0,H=!1,se=!1;const me=()=>{K?.unsubscribe(),K=void 0},Me=()=>{me(),q=te=void 0,H=se=!1},_e=()=>{const z=q;Me(),z?.unsubscribe()};return(0,O.e)((z,ae)=>{Z++,!se&&!H&&me();const Te=te=te??x();ae.add(()=>{Z--,0===Z&&!se&&!H&&(K=B(_e,L))}),Te.subscribe(ae),!q&&Z>0&&(q=new U.Hp({next:Re=>Te.next(Re),error:Re=>{se=!0,me(),K=B(Me,F,Re),Te.error(Re)},complete:()=>{H=!0,me(),K=B(Me,I),Te.complete()}}),(0,m.Xf)(z).subscribe(q))})(A)}}function B(V,x,...F){if(!0===x)return void V();if(!1===x)return;const I=new U.Hp({next:()=>{I.unsubscribe(),V()}});return x(...F).subscribe(I)}},7260:(Se,W,g)=>{g.d(W,{T:()=>c});var m=g(116);function c(U){return(0,m.h)((O,N)=>U<=N)}},4874:(Se,W,g)=>{g.d(W,{O:()=>O});var m=g(9319),c=g(420),U=g(1944);function O(...N){const B=(0,c.yG)(N);return(0,U.e)((V,x)=>{(B?(0,m.z)(N,V,B):(0,m.z)(N,V)).subscribe(x)})}},4317:(Se,W,g)=>{g.d(W,{R:()=>c});var m=g(1944);function c(U,O=0){return(0,m.e)((N,B)=>{B.add(U.schedule(()=>N.subscribe(B),O))})}},2673:(Se,W,g)=>{g.d(W,{w:()=>O});var m=g(4987),c=g(1944),U=g(3945);function O(N,B){return(0,c.e)((V,x)=>{let F=null,I=0,L=!1;const A=()=>L&&!F&&x.complete();V.subscribe((0,U.x)(x,q=>{F?.unsubscribe();let K=0;const te=I++;(0,m.Xf)(N(q,te)).subscribe(F=(0,U.x)(x,Z=>x.next(B?B(q,Z,te,K++):Z),()=>{F=null,A()}))},()=>{L=!0,A()}))})}},9295:(Se,W,g)=>{g.d(W,{q:()=>O});var m=g(591),c=g(1944),U=g(3945);function O(N){return N<=0?()=>m.E:(0,c.e)((B,V)=>{let x=0;B.subscribe((0,U.x)(V,F=>{++x<=N&&(V.next(F),N<=x&&V.complete())}))})}},8951:(Se,W,g)=>{g.d(W,{R:()=>N});var m=g(1944),c=g(3945),U=g(4987),O=g(9635);function N(B){return(0,m.e)((V,x)=>{(0,U.Xf)(B).subscribe((0,c.x)(x,()=>x.complete(),O.Z)),!x.closed&&V.subscribe(x)})}},9337:(Se,W,g)=>{g.d(W,{b:()=>N});var m=g(2971),c=g(1944),U=g(3945),O=g(9173);function N(B,V,x){const F=(0,m.m)(B)||V||x?{next:B,error:V,complete:x}:B;return F?(0,c.e)((I,L)=>{var A;null===(A=F.subscribe)||void 0===A||A.call(F);let q=!0;I.subscribe((0,U.x)(L,K=>{var te;null===(te=F.next)||void 0===te||te.call(F,K),L.next(K)},()=>{var K;q=!1,null===(K=F.complete)||void 0===K||K.call(F),L.complete()},K=>{var te;q=!1,null===(te=F.error)||void 0===te||te.call(F,K),L.error(K)},()=>{var K,te;q&&(null===(K=F.unsubscribe)||void 0===K||K.call(F)),null===(te=F.finalize)||void 0===te||te.call(F)}))}):O.y}},7354:(Se,W,g)=>{g.d(W,{T:()=>O});var m=g(4423),c=g(1944),U=g(3945);function O(B=N){return(0,c.e)((V,x)=>{let F=!1;V.subscribe((0,U.x)(x,I=>{F=!0,x.next(I)},()=>F?x.complete():x.error(B())))})}function N(){return new m.K}},5417:(Se,W,g)=>{g.d(W,{o:()=>N});var m=g(7714);class c extends m.w0{constructor(V,x){super()}schedule(V,x=0){return this}}const U={setInterval(B,V,...x){const{delegate:F}=U;return F?.setInterval?F.setInterval(B,V,...x):setInterval(B,V,...x)},clearInterval(B){const{delegate:V}=U;return(V?.clearInterval||clearInterval)(B)},delegate:void 0};var O=g(9663);class N extends c{constructor(V,x){super(V,x),this.scheduler=V,this.work=x,this.pending=!1}schedule(V,x=0){var F;if(this.closed)return this;this.state=V;const I=this.id,L=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(L,I,x)),this.pending=!0,this.delay=x,this.id=null!==(F=this.id)&&void 0!==F?F:this.requestAsyncId(L,this.id,x),this}requestAsyncId(V,x,F=0){return U.setInterval(V.flush.bind(V,this),F)}recycleAsyncId(V,x,F=0){if(null!=F&&this.delay===F&&!1===this.pending)return x;null!=x&&U.clearInterval(x)}execute(V,x){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const F=this._execute(V,x);if(F)return F;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,x){let I,F=!1;try{this.work(V)}catch(L){F=!0,I=L||new Error("Scheduled action threw falsy error")}if(F)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:V,scheduler:x}=this,{actions:F}=x;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(F,this),null!=V&&(this.id=this.recycleAsyncId(x,V,null)),this.delay=null,super.unsubscribe()}}}},1010:(Se,W,g)=>{g.d(W,{v:()=>U});var m=g(7654);class c{constructor(N,B=c.now){this.schedulerActionCtor=N,this.now=B}schedule(N,B=0,V){return new this.schedulerActionCtor(this,N).schedule(V,B)}}c.now=m.l.now;class U extends c{constructor(N,B=c.now){super(N,B),this.actions=[],this._active=!1}flush(N){const{actions:B}=this;if(this._active)return void B.push(N);let V;this._active=!0;do{if(V=N.execute(N.state,N.delay))break}while(N=B.shift());if(this._active=!1,V){for(;N=B.shift();)N.unsubscribe();throw V}}}},3888:(Se,W,g)=>{g.d(W,{E:()=>K});var m=g(5417);let U,c=1;const O={};function N(Z){return Z in O&&(delete O[Z],!0)}const B={setImmediate(Z){const H=c++;return O[H]=!0,U||(U=Promise.resolve()),U.then(()=>N(H)&&Z()),H},clearImmediate(Z){N(Z)}},{setImmediate:x,clearImmediate:F}=B,I={setImmediate(...Z){const{delegate:H}=I;return(H?.setImmediate||x)(...Z)},clearImmediate(Z){const{delegate:H}=I;return(H?.clearImmediate||F)(Z)},delegate:void 0};var A=g(1010);const K=new class q extends A.v{flush(H){this._active=!0;const se=this._scheduled;this._scheduled=void 0;const{actions:me}=this;let Me;H=H||me.shift();do{if(Me=H.execute(H.state,H.delay))break}while((H=me[0])&&H.id===se&&me.shift());if(this._active=!1,Me){for(;(H=me[0])&&H.id===se&&me.shift();)H.unsubscribe();throw Me}}}(class L extends m.o{constructor(H,se){super(H,se),this.scheduler=H,this.work=se}requestAsyncId(H,se,me=0){return null!==me&&me>0?super.requestAsyncId(H,se,me):(H.actions.push(this),H._scheduled||(H._scheduled=I.setImmediate(H.flush.bind(H,void 0))))}recycleAsyncId(H,se,me=0){var Me;if(null!=me?me>0:this.delay>0)return super.recycleAsyncId(H,se,me);const{actions:_e}=H;null!=se&&(null===(Me=_e[_e.length-1])||void 0===Me?void 0:Me.id)!==se&&(I.clearImmediate(se),H._scheduled=void 0)}})},6936:(Se,W,g)=>{g.d(W,{P:()=>O,z:()=>U});var m=g(5417);const U=new(g(1010).v)(m.o),O=U},7654:(Se,W,g)=>{g.d(W,{l:()=>m});const m={now:()=>(m.delegate||Date).now(),delegate:void 0}},3542:(Se,W,g)=>{g.d(W,{z:()=>m});const m={setTimeout(c,U,...O){const{delegate:N}=m;return N?.setTimeout?N.setTimeout(c,U,...O):setTimeout(c,U,...O)},clearTimeout(c){const{delegate:U}=m;return(U?.clearTimeout||clearTimeout)(c)},delegate:void 0}},7321:(Se,W,g)=>{g.d(W,{h:()=>c});const c=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4585:(Se,W,g)=>{g.d(W,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},4423:(Se,W,g)=>{g.d(W,{K:()=>c});const c=(0,g(7543).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},420:(Se,W,g)=>{g.d(W,{_6:()=>B,jO:()=>O,yG:()=>N});var m=g(2971),c=g(9867);function U(V){return V[V.length-1]}function O(V){return(0,m.m)(U(V))?V.pop():void 0}function N(V){return(0,c.K)(U(V))?V.pop():void 0}function B(V,x){return"number"==typeof U(V)?V.pop():x}},5756:(Se,W,g)=>{g.d(W,{D:()=>N});const{isArray:m}=Array,{getPrototypeOf:c,prototype:U,keys:O}=Object;function N(V){if(1===V.length){const x=V[0];if(m(x))return{args:x,keys:null};if(function B(V){return V&&"object"==typeof V&&c(V)===U}(x)){const F=O(x);return{args:F.map(I=>x[I]),keys:F}}}return{args:V,keys:null}}},9663:(Se,W,g)=>{function m(c,U){if(c){const O=c.indexOf(U);0<=O&&c.splice(O,1)}}g.d(W,{P:()=>m})},7543:(Se,W,g)=>{function m(c){const O=c(N=>{Error.call(N),N.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}g.d(W,{d:()=>m})},1054:(Se,W,g)=>{function m(c,U){return c.reduce((O,N,B)=>(O[N]=U[B],O),{})}g.d(W,{n:()=>m})},2309:(Se,W,g)=>{g.d(W,{O:()=>O,x:()=>U});var m=g(9057);let c=null;function U(N){if(m.v.useDeprecatedSynchronousErrorHandling){const B=!c;if(B&&(c={errorThrown:!1,error:null}),N(),B){const{errorThrown:V,error:x}=c;if(c=null,V)throw x}}else N()}function O(N){m.v.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=N)}},1817:(Se,W,g)=>{function m(c,U,O,N=0,B=!1){const V=U.schedule(function(){O(),B?c.add(this.schedule(null,N)):this.unsubscribe()},N);if(c.add(V),!B)return V}g.d(W,{f:()=>m})},9173:(Se,W,g)=>{function m(c){return c}g.d(W,{y:()=>m})},9806:(Se,W,g)=>{g.d(W,{z:()=>m});const m=c=>c&&"number"==typeof c.length&&"function"!=typeof c},470:(Se,W,g)=>{g.d(W,{D:()=>c});var m=g(2971);function c(U){return Symbol.asyncIterator&&(0,m.m)(U?.[Symbol.asyncIterator])}},2971:(Se,W,g)=>{function m(c){return"function"==typeof c}g.d(W,{m:()=>m})},1331:(Se,W,g)=>{g.d(W,{c:()=>U});var m=g(4585),c=g(2971);function U(O){return(0,c.m)(O[m.L])}},3433:(Se,W,g)=>{g.d(W,{T:()=>U});var m=g(7321),c=g(2971);function U(O){return(0,c.m)(O?.[m.h])}},9548:(Se,W,g)=>{g.d(W,{t:()=>c});var m=g(2971);function c(U){return(0,m.m)(U?.then)}},181:(Se,W,g)=>{g.d(W,{L:()=>O,Q:()=>U});var m=g(4929),c=g(2971);function U(N){return(0,m.FC)(this,arguments,function*(){const V=N.getReader();try{for(;;){const{value:x,done:F}=yield(0,m.qq)(V.read());if(F)return yield(0,m.qq)(void 0);yield yield(0,m.qq)(x)}}finally{V.releaseLock()}})}function O(N){return(0,c.m)(N?.getReader)}},9867:(Se,W,g)=>{g.d(W,{K:()=>c});var m=g(2971);function c(U){return U&&(0,m.m)(U.schedule)}},1944:(Se,W,g)=>{g.d(W,{A:()=>c,e:()=>U});var m=g(2971);function c(O){return(0,m.m)(O?.lift)}function U(O){return N=>{if(c(N))return N.lift(function(B){try{return O(B,this)}catch(V){this.error(V)}});throw new TypeError("Unable to lift unknown Observable type")}}},8385:(Se,W,g)=>{g.d(W,{Z:()=>O});var m=g(635);const{isArray:c}=Array;function O(N){return(0,m.U)(B=>function U(N,B){return c(B)?N(...B):N(B)}(N,B))}},9635:(Se,W,g)=>{function m(){}g.d(W,{Z:()=>m})},629:(Se,W,g)=>{g.d(W,{U:()=>U,z:()=>c});var m=g(9173);function c(...O){return U(O)}function U(O){return 0===O.length?m.y:1===O.length?O[0]:function(B){return O.reduce((V,x)=>x(V),B)}}},4709:(Se,W,g)=>{g.d(W,{h:()=>U});var m=g(9057),c=g(3542);function U(O){c.z.setTimeout(()=>{const{onUnhandledError:N}=m.v;if(!N)throw O;N(O)})}},7785:(Se,W,g)=>{function m(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(W,{z:()=>m})},4929:(Se,W,g)=>{function x(ce,ie,ye,fe){return new(ye||(ye=Promise))(function(ke,ct){function Lt(It){try{gt(fe.next(It))}catch(mt){ct(mt)}}function nn(It){try{gt(fe.throw(It))}catch(mt){ct(mt)}}function gt(It){It.done?ke(It.value):function je(ke){return ke instanceof ye?ke:new ye(function(ct){ct(ke)})}(It.value).then(Lt,nn)}gt((fe=fe.apply(ce,ie||[])).next())})}function H(ce){return this instanceof H?(this.v=ce,this):new H(ce)}function se(ce,ie,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var je,fe=ye.apply(ce,ie||[]),ke=[];return je={},ct("next"),ct("throw"),ct("return"),je[Symbol.asyncIterator]=function(){return this},je;function ct(jt){fe[jt]&&(je[jt]=function(yn){return new Promise(function(rn,St){ke.push([jt,yn,rn,St])>1||Lt(jt,yn)})})}function Lt(jt,yn){try{!function nn(jt){jt.value instanceof H?Promise.resolve(jt.value.v).then(gt,It):mt(ke[0][2],jt)}(fe[jt](yn))}catch(rn){mt(ke[0][3],rn)}}function gt(jt){Lt("next",jt)}function It(jt){Lt("throw",jt)}function mt(jt,yn){jt(yn),ke.shift(),ke.length&&Lt(ke[0][0],ke[0][1])}}function Me(ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,ie=ce[Symbol.asyncIterator];return ie?ie.call(ce):(ce=function A(ce){var ie="function"==typeof Symbol&&Symbol.iterator,ye=ie&&ce[ie],fe=0;if(ye)return ye.call(ce);if(ce&&"number"==typeof ce.length)return{next:function(){return ce&&fe>=ce.length&&(ce=void 0),{value:ce&&ce[fe++],done:!ce}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}(ce),ye={},fe("next"),fe("throw"),fe("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function fe(ke){ye[ke]=ce[ke]&&function(ct){return new Promise(function(Lt,nn){!function je(ke,ct,Lt,nn){Promise.resolve(nn).then(function(gt){ke({value:gt,done:Lt})},ct)}(Lt,nn,(ct=ce[ke](ct)).done,ct.value)})}}}g.d(W,{FC:()=>se,KL:()=>Me,mG:()=>x,qq:()=>H})},4851:(Se,W,g)=>{g.d(W,{LC:()=>c,SB:()=>F,X$:()=>O,ZE:()=>me,ZN:()=>se,_j:()=>m,eR:()=>L,jt:()=>N,k1:()=>Me,l3:()=>U,oB:()=>x,vP:()=>V});class m{}class c{}const U="*";function O(_e,z){return{type:7,name:_e,definitions:z,options:{}}}function N(_e,z=null){return{type:4,styles:z,timings:_e}}function V(_e,z=null){return{type:2,steps:_e,options:z}}function x(_e){return{type:6,styles:_e,offset:null}}function F(_e,z,ae){return{type:0,name:_e,styles:z,options:ae}}function L(_e,z,ae=null){return{type:1,expr:_e,animation:z,options:ae}}function H(_e){Promise.resolve().then(_e)}class se{constructor(z=0,ae=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=z+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){H(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(z=>z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const ae="start"==z?this._onStartFns:this._onDoneFns;ae.forEach(Te=>Te()),ae.length=0}}class me{constructor(z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;let ae=0,Te=0,Re=0;const Oe=this.players.length;0==Oe?H(()=>this._onFinish()):this.players.forEach(Ne=>{Ne.onDone(()=>{++ae==Oe&&this._onFinish()}),Ne.onDestroy(()=>{++Te==Oe&&this._onDestroy()}),Ne.onStart(()=>{++Re==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((Ne,ce)=>Math.max(Ne,ce.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this.players.forEach(z=>z.init())}onStart(z){this._onStartFns.push(z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(z=>z()),this._onStartFns=[])}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(z=>z.play())}pause(){this.players.forEach(z=>z.pause())}restart(){this.players.forEach(z=>z.restart())}finish(){this._onFinish(),this.players.forEach(z=>z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(z=>z.destroy()),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this.players.forEach(z=>z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(z){const ae=z*this.totalTime;this.players.forEach(Te=>{const Re=Te.totalTime?Math.min(1,ae/Te.totalTime):1;Te.setPosition(Re)})}getPosition(){const z=this.players.reduce((ae,Te)=>null===ae||Te.totalTime>ae.totalTime?Te:ae,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const ae="start"==z?this._onStartFns:this._onDoneFns;ae.forEach(Te=>Te()),ae.length=0}}const Me="!"},4218:(Se,W,g)=>{g.d(W,{Em:()=>ke,Kd:()=>Sn,X6:()=>Qe,ic:()=>Lt,kH:()=>Y,qV:()=>Be,qm:()=>zt,rt:()=>At,tE:()=>Ue,yG:()=>hn});var m=g(4666),c=g(2560),U=g(9107),O=g(253),N=g(7714),B=g(6317),V=g(745),x=g(8456),F=g(9337),I=g(1989),L=g(116),A=g(635),q=g(9295),K=g(7260),te=g(8977),Z=g(8951),H=g(8971),se=g(3773),me=g(3278);class fe{constructor(P){this._items=P,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new O.x,this._typeaheadSubscription=N.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new O.x,this.change=new O.x,P instanceof c.n_E&&P.changes.subscribe(C=>{if(this._activeItem){const G=C.toArray().indexOf(this._activeItem);G>-1&&G!==this._activeItemIndex&&(this._activeItemIndex=G)}})}skipPredicate(P){return this._skipPredicateFn=P,this}withWrap(P=!0){return this._wrap=P,this}withVerticalOrientation(P=!0){return this._vertical=P,this}withHorizontalOrientation(P){return this._horizontal=P,this}withAllowedModifierKeys(P){return this._allowedModifierKeys=P,this}withTypeAhead(P=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,F.b)(C=>this._pressedLetters.push(C)),(0,I.b)(P),(0,L.h)(()=>this._pressedLetters.length>0),(0,A.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const T=this._getItemsArray();for(let G=1;G<T.length+1;G++){const ue=(this._activeItemIndex+G)%T.length,$e=T[ue];if(!this._skipPredicateFn($e)&&0===$e.getLabel().toUpperCase().trim().indexOf(C)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}withHomeAndEnd(P=!0){return this._homeAndEnd=P,this}setActiveItem(P){const C=this._activeItem;this.updateActiveItem(P),this._activeItem!==C&&this.change.next(this._activeItemIndex)}onKeydown(P){const C=P.keyCode,G=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!P[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(C){case x.Mf:return void this.tabOut.next();case x.JH:if(this._vertical&&G){this.setNextItemActive();break}return;case x.LH:if(this._vertical&&G){this.setPreviousItemActive();break}return;case x.SV:if(this._horizontal&&G){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case x.oh:if(this._horizontal&&G){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case x.Sd:if(this._homeAndEnd&&G){this.setFirstItemActive();break}return;case x.uR:if(this._homeAndEnd&&G){this.setLastItemActive();break}return;default:return void((G||(0,x.Vb)(P,"shiftKey"))&&(P.key&&1===P.key.length?this._letterKeyStream.next(P.key.toLocaleUpperCase()):(C>=x.A&&C<=x.Z||C>=x.xE&&C<=x.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],P.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(P){const C=this._getItemsArray(),T="number"==typeof P?P:C.indexOf(P);this._activeItem=C[T]??null,this._activeItemIndex=T}_setActiveItemByDelta(P){this._wrap?this._setActiveInWrapMode(P):this._setActiveInDefaultMode(P)}_setActiveInWrapMode(P){const C=this._getItemsArray();for(let T=1;T<=C.length;T++){const G=(this._activeItemIndex+P*T+C.length)%C.length;if(!this._skipPredicateFn(C[G]))return void this.setActiveItem(G)}}_setActiveInDefaultMode(P){this._setActiveItemByIndex(this._activeItemIndex+P,P)}_setActiveItemByIndex(P,C){const T=this._getItemsArray();if(T[P]){for(;this._skipPredicateFn(T[P]);)if(!T[P+=C])return;this.setActiveItem(P)}}_getItemsArray(){return this._items instanceof c.n_E?this._items.toArray():this._items}}class ke extends fe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(P){return this._origin=P,this}setActiveItem(P){super.setActiveItem(P),this.activeItem&&this.activeItem.focus(this._origin)}}let Lt=(()=>{class ge{constructor(C){this._platform=C}isDisabled(C){return C.hasAttribute("disabled")}isVisible(C){return function gt(ge){return!!(ge.offsetWidth||ge.offsetHeight||"function"==typeof ge.getClientRects&&ge.getClientRects().length)}(C)&&"visible"===getComputedStyle(C).visibility}isTabbable(C){if(!this._platform.isBrowser)return!1;const T=function nn(ge){try{return ge.frameElement}catch{return null}}(function Ie(ge){return ge.ownerDocument&&ge.ownerDocument.defaultView||window}(C));if(T&&(-1===Ke(T)||!this.isVisible(T)))return!1;let G=C.nodeName.toLowerCase(),ue=Ke(C);return C.hasAttribute("contenteditable")?-1!==ue:!("iframe"===G||"object"===G||this._platform.WEBKIT&&this._platform.IOS&&!function Le(ge){let P=ge.nodeName.toLowerCase(),C="input"===P&&ge.type;return"text"===C||"password"===C||"select"===P||"textarea"===P}(C))&&("audio"===G?!!C.hasAttribute("controls")&&-1!==ue:"video"===G?-1!==ue&&(null!==ue||this._platform.FIREFOX||C.hasAttribute("controls")):C.tabIndex>=0)}isFocusable(C,T){return function J(ge){return!function mt(ge){return function yn(ge){return"input"==ge.nodeName.toLowerCase()}(ge)&&"hidden"==ge.type}(ge)&&(function It(ge){let P=ge.nodeName.toLowerCase();return"input"===P||"select"===P||"button"===P||"textarea"===P}(ge)||function jt(ge){return function rn(ge){return"a"==ge.nodeName.toLowerCase()}(ge)&&ge.hasAttribute("href")}(ge)||ge.hasAttribute("contenteditable")||St(ge))}(C)&&!this.isDisabled(C)&&(T?.ignoreVisibility||this.isVisible(C))}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(U.t4))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})();function St(ge){if(!ge.hasAttribute("tabindex")||void 0===ge.tabIndex)return!1;let P=ge.getAttribute("tabindex");return!(!P||isNaN(parseInt(P,10)))}function Ke(ge){if(!St(ge))return null;const P=parseInt(ge.getAttribute("tabindex")||"",10);return isNaN(P)?-1:P}class Ee{constructor(P,C,T,G,ue=!1){this._element=P,this._checker=C,this._ngZone=T,this._document=G,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}get enabled(){return this._enabled}set enabled(P){this._enabled=P,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(P,this._startAnchor),this._toggleAnchorTabIndex(P,this._endAnchor))}destroy(){const P=this._startAnchor,C=this._endAnchor;P&&(P.removeEventListener("focus",this.startAnchorListener),P.remove()),C&&(C.removeEventListener("focus",this.endAnchorListener),C.remove()),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(P){return new Promise(C=>{this._executeOnStable(()=>C(this.focusInitialElement(P)))})}focusFirstTabbableElementWhenReady(P){return new Promise(C=>{this._executeOnStable(()=>C(this.focusFirstTabbableElement(P)))})}focusLastTabbableElementWhenReady(P){return new Promise(C=>{this._executeOnStable(()=>C(this.focusLastTabbableElement(P)))})}_getRegionBoundary(P){const C=this._element.querySelectorAll(`[cdk-focus-region-${P}], [cdkFocusRegion${P}], [cdk-focus-${P}]`);return"start"==P?C.length?C[0]:this._getFirstTabbableElement(this._element):C.length?C[C.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(P){const C=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(C){if(!this._checker.isFocusable(C)){const T=this._getFirstTabbableElement(C);return T?.focus(P),!!T}return C.focus(P),!0}return this.focusFirstTabbableElement(P)}focusFirstTabbableElement(P){const C=this._getRegionBoundary("start");return C&&C.focus(P),!!C}focusLastTabbableElement(P){const C=this._getRegionBoundary("end");return C&&C.focus(P),!!C}hasAttached(){return this._hasAttached}_getFirstTabbableElement(P){if(this._checker.isFocusable(P)&&this._checker.isTabbable(P))return P;const C=P.children;for(let T=0;T<C.length;T++){const G=C[T].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(C[T]):null;if(G)return G}return null}_getLastTabbableElement(P){if(this._checker.isFocusable(P)&&this._checker.isTabbable(P))return P;const C=P.children;for(let T=C.length-1;T>=0;T--){const G=C[T].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(C[T]):null;if(G)return G}return null}_createAnchor(){const P=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,P),P.classList.add("cdk-visually-hidden"),P.classList.add("cdk-focus-trap-anchor"),P.setAttribute("aria-hidden","true"),P}_toggleAnchorTabIndex(P,C){P?C.setAttribute("tabindex","0"):C.removeAttribute("tabindex")}toggleAnchors(P){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(P,this._startAnchor),this._toggleAnchorTabIndex(P,this._endAnchor))}_executeOnStable(P){this._ngZone.isStable?P():this._ngZone.onStable.pipe((0,q.q)(1)).subscribe(P)}}let Be=(()=>{class ge{constructor(C,T,G){this._checker=C,this._ngZone=T,this._document=G}create(C,T=!1){return new Ee(C,this._checker,this._ngZone,this._document,T)}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(Lt),c.LFG(c.R0b),c.LFG(m.K0))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})();function Qe(ge){return 0===ge.buttons||0===ge.offsetX&&0===ge.offsetY}function hn(ge){const P=ge.touches&&ge.touches[0]||ge.changedTouches&&ge.changedTouches[0];return!(!P||-1!==P.identifier||null!=P.radiusX&&1!==P.radiusX||null!=P.radiusY&&1!==P.radiusY)}const Xt=new c.OlP("cdk-input-modality-detector-options"),on={ignoreKeys:[x.zL,x.jx,x.b2,x.MW,x.JU]},nr=(0,U.i$)({passive:!0,capture:!0});let Dt=(()=>{class ge{constructor(C,T,G,ue){this._platform=C,this._mostRecentTarget=null,this._modality=new B.X(null),this._lastTouchMs=0,this._onKeydown=$e=>{this._options?.ignoreKeys?.some(ut=>ut===$e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,U.sA)($e))},this._onMousedown=$e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Qe($e)?"keyboard":"mouse"),this._mostRecentTarget=(0,U.sA)($e))},this._onTouchstart=$e=>{hn($e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,U.sA)($e))},this._options={...on,...ue},this.modalityDetected=this._modality.pipe((0,K.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,te.x)()),C.isBrowser&&T.runOutsideAngular(()=>{G.addEventListener("keydown",this._onKeydown,nr),G.addEventListener("mousedown",this._onMousedown,nr),G.addEventListener("touchstart",this._onTouchstart,nr)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,nr),document.removeEventListener("mousedown",this._onMousedown,nr),document.removeEventListener("touchstart",this._onTouchstart,nr))}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(U.t4),c.LFG(c.R0b),c.LFG(m.K0),c.LFG(Xt,8))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})();const ot=new c.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ze(){return null}}),lr=new c.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Sn=(()=>{class ge{constructor(C,T,G,ue){this._ngZone=T,this._defaultOptions=ue,this._document=G,this._liveElement=C||this._createLiveElement()}announce(C,...T){const G=this._defaultOptions;let ue,$e;return 1===T.length&&"number"==typeof T[0]?$e=T[0]:[ue,$e]=T,this.clear(),clearTimeout(this._previousTimeout),ue||(ue=G&&G.politeness?G.politeness:"polite"),null==$e&&G&&($e=G.duration),this._liveElement.setAttribute("aria-live",ue),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ut=>this._currentResolve=ut)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=C,"number"==typeof $e&&(this._previousTimeout=setTimeout(()=>this.clear(),$e)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const C="cdk-live-announcer-element",T=this._document.getElementsByClassName(C),G=this._document.createElement("div");for(let ue=0;ue<T.length;ue++)T[ue].remove();return G.classList.add(C),G.classList.add("cdk-visually-hidden"),G.setAttribute("aria-atomic","true"),G.setAttribute("aria-live","polite"),this._document.body.appendChild(G),G}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(ot,8),c.LFG(c.R0b),c.LFG(m.K0),c.LFG(lr,8))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})();const On=new c.OlP("cdk-focus-monitor-default-options"),cn=(0,U.i$)({passive:!0,capture:!0});let Ue=(()=>{class ge{constructor(C,T,G,ue,$e){this._ngZone=C,this._platform=T,this._inputModalityDetector=G,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=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new O.x,this._rootNodeFocusAndBlurListener=ut=>{for(let nt=(0,U.sA)(ut);nt;nt=nt.parentElement)"focus"===ut.type?this._onFocus(ut,nt):this._onBlur(ut,nt)},this._document=ue,this._detectionMode=$e?.detectionMode||0}monitor(C,T=!1){const G=(0,H.fI)(C);if(!this._platform.isBrowser||1!==G.nodeType)return(0,V.of)(null);const ue=(0,U.kV)(G)||this._getDocument(),$e=this._elementInfo.get(G);if($e)return T&&($e.checkChildren=!0),$e.subject;const ut={checkChildren:T,subject:new O.x,rootNode:ue};return this._elementInfo.set(G,ut),this._registerGlobalListeners(ut),ut.subject}stopMonitoring(C){const T=(0,H.fI)(C),G=this._elementInfo.get(T);G&&(G.subject.complete(),this._setClasses(T),this._elementInfo.delete(T),this._removeGlobalListeners(G))}focusVia(C,T,G){const ue=(0,H.fI)(C);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([ut,_t])=>this._originChanged(ut,T,_t)):(this._setOrigin(T),"function"==typeof ue.focus&&ue.focus(G))}ngOnDestroy(){this._elementInfo.forEach((C,T)=>this.stopMonitoring(T))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,T){C.classList.toggle("cdk-focused",!!T),C.classList.toggle("cdk-touch-focused","touch"===T),C.classList.toggle("cdk-keyboard-focused","keyboard"===T),C.classList.toggle("cdk-mouse-focused","mouse"===T),C.classList.toggle("cdk-program-focused","program"===T)}_setOrigin(C,T=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&T,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,T){const G=this._elementInfo.get(T),ue=(0,U.sA)(C);!G||!G.checkChildren&&T!==ue||this._originChanged(T,this._getFocusOrigin(ue),G)}_onBlur(C,T){const G=this._elementInfo.get(T);!G||G.checkChildren&&C.relatedTarget instanceof Node&&T.contains(C.relatedTarget)||(this._setClasses(T),this._emitOrigin(G,null))}_emitOrigin(C,T){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(T))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const T=C.rootNode,G=this._rootNodeFocusListenerCount.get(T)||0;G||this._ngZone.runOutsideAngular(()=>{T.addEventListener("focus",this._rootNodeFocusAndBlurListener,cn),T.addEventListener("blur",this._rootNodeFocusAndBlurListener,cn)}),this._rootNodeFocusListenerCount.set(T,G+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(C){const T=C.rootNode;if(this._rootNodeFocusListenerCount.has(T)){const G=this._rootNodeFocusListenerCount.get(T);G>1?this._rootNodeFocusListenerCount.set(T,G-1):(T.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cn),T.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cn),this._rootNodeFocusListenerCount.delete(T))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,T,G){this._setClasses(C,T),this._emitOrigin(G,T),this._lastFocusOrigin=T}_getClosestElementsInfo(C){const T=[];return this._elementInfo.forEach((G,ue)=>{(ue===C||G.checkChildren&&ue.contains(C))&&T.push([ue,G])}),T}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:T,mostRecentModality:G}=this._inputModalityDetector;if("mouse"!==G||!T||T===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ue=C.labels;if(ue)for(let $e=0;$e<ue.length;$e++)if(ue[$e].contains(T))return!0;return!1}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(c.R0b),c.LFG(U.t4),c.LFG(Dt),c.LFG(m.K0,8),c.LFG(On,8))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})(),Y=(()=>{class ge{constructor(C,T){this._elementRef=C,this._focusMonitor=T,this._focusOrigin=null,this.cdkFocusChange=new c.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const C=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(C,1===C.nodeType&&C.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(T=>{this._focusOrigin=T,this.cdkFocusChange.emit(T)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ge.ɵfac=function(C){return new(C||ge)(c.Y36(c.SBq),c.Y36(Ue))},ge.ɵdir=c.lG2({type:ge,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ge})();const le="cdk-high-contrast-black-on-white",be="cdk-high-contrast-white-on-black",st="cdk-high-contrast-active";let zt=(()=>{class ge{constructor(C,T){this._platform=C,this._document=T,this._breakpointSubscription=(0,c.f3M)(me.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const T=this._document.defaultView||window,G=T&&T.getComputedStyle?T.getComputedStyle(C):null,ue=(G&&G.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ue){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(st,le,be),this._hasCheckedHighContrastMode=!0;const T=this.getHighContrastMode();1===T?C.add(st,le):2===T&&C.add(st,be)}}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(U.t4),c.LFG(m.K0))},ge.ɵprov=c.Yz7({token:ge,factory:ge.ɵfac,providedIn:"root"}),ge})(),At=(()=>{class ge{constructor(C){C._applyBodyHighContrastModeCssClasses()}}return ge.ɵfac=function(C){return new(C||ge)(c.LFG(zt))},ge.ɵmod=c.oAB({type:ge}),ge.ɵinj=c.cJS({imports:[se.Q8]}),ge})()},2867:(Se,W,g)=>{g.d(W,{Is:()=>V,vT:()=>F});var m=g(2560),c=g(4666);const U=new m.OlP("cdk-dir-doc",{providedIn:"root",factory:function O(){return(0,m.f3M)(c.K0)}}),N=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let V=(()=>{class I{constructor(A){if(this.value="ltr",this.change=new m.vpe,A){const K=A.documentElement?A.documentElement.dir:null;this.value=function B(I){const L=I?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?N.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((A.body?A.body.dir:null)||K||"ltr")}}ngOnDestroy(){this.change.complete()}}return I.ɵfac=function(A){return new(A||I)(m.LFG(U,8))},I.ɵprov=m.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})(),F=(()=>{class I{}return I.ɵfac=function(A){return new(A||I)},I.ɵmod=m.oAB({type:I}),I.ɵinj=m.cJS({}),I})()},8971:(Se,W,g)=>{g.d(W,{Eq:()=>N,HM:()=>B,Ig:()=>c,fI:()=>V,su:()=>U});var m=g(2560);function c(F){return null!=F&&"false"!=`${F}`}function U(F,I=0){return function O(F){return!isNaN(parseFloat(F))&&!isNaN(Number(F))}(F)?Number(F):I}function N(F){return Array.isArray(F)?F:[F]}function B(F){return null==F?"":"string"==typeof F?F:`${F}px`}function V(F){return F instanceof m.SBq?F.nativeElement:F}},8456:(Se,W,g)=>{g.d(W,{A:()=>mt,JH:()=>Me,JU:()=>B,K5:()=>N,LH:()=>se,L_:()=>A,MW:()=>lr,Mf:()=>U,SV:()=>me,Sd:()=>Z,Vb:()=>wr,Z:()=>Ze,aO:()=>ct,b2:()=>un,hY:()=>L,jx:()=>V,oh:()=>H,uR:()=>te,xE:()=>Re,zL:()=>x});const U=9,N=13,B=16,V=17,x=18,L=27,A=32,te=35,Z=36,H=37,se=38,me=39,Me=40,Re=48,ct=57,mt=65,Ze=90,lr=91,un=224;function wr(Gt,...$r){return $r.length?$r.some(zr=>Gt[zr]):Gt.altKey||Gt.shiftKey||Gt.ctrlKey||Gt.metaKey}},3278:(Se,W,g)=>{g.d(W,{Yg:()=>Me,u3:()=>z});var m=g(2560),c=g(8971),U=g(253),O=g(6562),N=g(9319),B=g(833),V=g(9295),x=g(7260),F=g(1989),I=g(635),L=g(4874),A=g(8951),q=g(9107);const te=new Set;let Z,H=(()=>{class ae{constructor(Re){this._platform=Re,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):me}matchMedia(Re){return(this._platform.WEBKIT||this._platform.BLINK)&&function se(ae){if(!te.has(ae))try{Z||(Z=document.createElement("style"),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${ae} {body{ }}`,0),te.add(ae))}catch(Te){console.error(Te)}}(Re),this._matchMedia(Re)}}return ae.ɵfac=function(Re){return new(Re||ae)(m.LFG(q.t4))},ae.ɵprov=m.Yz7({token:ae,factory:ae.ɵfac,providedIn:"root"}),ae})();function me(ae){return{matches:"all"===ae||""===ae,media:ae,addListener:()=>{},removeListener:()=>{}}}let Me=(()=>{class ae{constructor(Re,Oe){this._mediaMatcher=Re,this._zone=Oe,this._queries=new Map,this._destroySubject=new U.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Re){return _e((0,c.Eq)(Re)).some(Ne=>this._registerQuery(Ne).mql.matches)}observe(Re){const Ne=_e((0,c.Eq)(Re)).map(ie=>this._registerQuery(ie).observable);let ce=(0,O.a)(Ne);return ce=(0,N.z)(ce.pipe((0,V.q)(1)),ce.pipe((0,x.T)(1),(0,F.b)(0))),ce.pipe((0,I.U)(ie=>{const ye={matches:!1,breakpoints:{}};return ie.forEach(({matches:fe,query:je})=>{ye.matches=ye.matches||fe,ye.breakpoints[je]=fe}),ye}))}_registerQuery(Re){if(this._queries.has(Re))return this._queries.get(Re);const Oe=this._mediaMatcher.matchMedia(Re),ce={observable:new B.y(ie=>{const ye=fe=>this._zone.run(()=>ie.next(fe));return Oe.addListener(ye),()=>{Oe.removeListener(ye)}}).pipe((0,L.O)(Oe),(0,I.U)(({matches:ie})=>({query:Re,matches:ie})),(0,A.R)(this._destroySubject)),mql:Oe};return this._queries.set(Re,ce),ce}}return ae.ɵfac=function(Re){return new(Re||ae)(m.LFG(H),m.LFG(m.R0b))},ae.ɵprov=m.Yz7({token:ae,factory:ae.ɵfac,providedIn:"root"}),ae})();function _e(ae){return ae.map(Te=>Te.split(",")).reduce((Te,Re)=>Te.concat(Re)).map(Te=>Te.trim())}const z={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},3773:(Se,W,g)=>{g.d(W,{Q8:()=>F,wD:()=>x});var m=g(8971),c=g(2560),U=g(833),O=g(253),N=g(1989);let B=(()=>{class I{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}}return I.ɵfac=function(A){return new(A||I)},I.ɵprov=c.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})(),V=(()=>{class I{constructor(A){this._mutationObserverFactory=A,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((A,q)=>this._cleanupObserver(q))}observe(A){const q=(0,m.fI)(A);return new U.y(K=>{const Z=this._observeElement(q).subscribe(K);return()=>{Z.unsubscribe(),this._unobserveElement(q)}})}_observeElement(A){if(this._observedElements.has(A))this._observedElements.get(A).count++;else{const q=new O.x,K=this._mutationObserverFactory.create(te=>q.next(te));K&&K.observe(A,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(A,{observer:K,stream:q,count:1})}return this._observedElements.get(A).stream}_unobserveElement(A){this._observedElements.has(A)&&(this._observedElements.get(A).count--,this._observedElements.get(A).count||this._cleanupObserver(A))}_cleanupObserver(A){if(this._observedElements.has(A)){const{observer:q,stream:K}=this._observedElements.get(A);q&&q.disconnect(),K.complete(),this._observedElements.delete(A)}}}return I.ɵfac=function(A){return new(A||I)(c.LFG(B))},I.ɵprov=c.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})(),x=(()=>{class I{constructor(A,q,K){this._contentObserver=A,this._elementRef=q,this._ngZone=K,this.event=new c.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(A){this._disabled=(0,m.Ig)(A),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(A){this._debounce=(0,m.su)(A),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const A=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?A.pipe((0,N.b)(this.debounce)):A).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return I.ɵfac=function(A){return new(A||I)(c.Y36(V),c.Y36(c.SBq),c.Y36(c.R0b))},I.ɵdir=c.lG2({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),I})(),F=(()=>{class I{}return I.ɵfac=function(A){return new(A||I)},I.ɵmod=c.oAB({type:I}),I.ɵinj=c.cJS({providers:[B]}),I})()},9107:(Se,W,g)=>{g.d(W,{Mq:()=>K,Oy:()=>_e,_i:()=>te,i$:()=>L,kV:()=>se,sA:()=>Me,t4:()=>O});var m=g(2560),c=g(4666);let U;try{U=typeof Intl<"u"&&Intl.v8BreakIterator}catch{U=!1}let F,A,q,Z,O=(()=>{class z{constructor(Te){this._platformId=Te,this.isBrowser=this._platformId?(0,c.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)&&typeof CSS<"u"&&!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 z.ɵfac=function(Te){return new(Te||z)(m.LFG(m.Lbi))},z.ɵprov=m.Yz7({token:z,factory:z.ɵfac,providedIn:"root"}),z})();function L(z){return function I(){if(null==F&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>F=!0}))}finally{F=F||!1}return F}()?z:!!z.capture}function K(){if(null==q){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return q=!1,q;if("scrollBehavior"in document.documentElement.style)q=!0;else{const z=Element.prototype.scrollTo;q=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return q}function te(){if("object"!=typeof document||!document)return 0;if(null==A){const z=document.createElement("div"),ae=z.style;z.dir="rtl",ae.width="1px",ae.overflow="auto",ae.visibility="hidden",ae.pointerEvents="none",ae.position="absolute";const Te=document.createElement("div"),Re=Te.style;Re.width="2px",Re.height="1px",z.appendChild(Te),document.body.appendChild(z),A=0,0===z.scrollLeft&&(z.scrollLeft=1,A=0===z.scrollLeft?1:2),z.remove()}return A}function se(z){if(function H(){if(null==Z){const z=typeof document<"u"?document.head:null;Z=!(!z||!z.createShadowRoot&&!z.attachShadow)}return Z}()){const ae=z.getRootNode?z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ae instanceof ShadowRoot)return ae}return null}function Me(z){return z.composedPath?z.composedPath()[0]:z.target}function _e(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2602:(Se,W,g)=>{g.d(W,{PQ:()=>ye,ZD:()=>rn,mF:()=>ie,Cl:()=>St,rL:()=>je});var m=g(8971),c=g(2560),U=g(253),O=g(745),N=g(833),B=g(3280),V=g(5417),x=g(7714);const F={schedule(Ke){let Le=requestAnimationFrame,J=cancelAnimationFrame;const{delegate:Ie}=F;Ie&&(Le=Ie.requestAnimationFrame,J=Ie.cancelAnimationFrame);const Ee=Le(Be=>{J=void 0,Ke(Be)});return new x.w0(()=>J?.(Ee))},requestAnimationFrame(...Ke){const{delegate:Le}=F;return(Le?.requestAnimationFrame||requestAnimationFrame)(...Ke)},cancelAnimationFrame(...Ke){const{delegate:Le}=F;return(Le?.cancelAnimationFrame||cancelAnimationFrame)(...Ke)},delegate:void 0};var L=g(1010);new class A extends L.v{flush(Le){this._active=!0;const J=this._scheduled;this._scheduled=void 0;const{actions:Ie}=this;let Ee;Le=Le||Ie.shift();do{if(Ee=Le.execute(Le.state,Le.delay))break}while((Le=Ie[0])&&Le.id===J&&Ie.shift());if(this._active=!1,Ee){for(;(Le=Ie[0])&&Le.id===J&&Ie.shift();)Le.unsubscribe();throw Ee}}}(class I extends V.o{constructor(Le,J){super(Le,J),this.scheduler=Le,this.work=J}requestAsyncId(Le,J,Ie=0){return null!==Ie&&Ie>0?super.requestAsyncId(Le,J,Ie):(Le.actions.push(this),Le._scheduled||(Le._scheduled=F.requestAnimationFrame(()=>Le.flush(void 0))))}recycleAsyncId(Le,J,Ie=0){var Ee;if(null!=Ie?Ie>0:this.delay>0)return super.recycleAsyncId(Le,J,Ie);const{actions:Be}=Le;null!=J&&(null===(Ee=Be[Be.length-1])||void 0===Ee?void 0:Ee.id)!==J&&(F.cancelAnimationFrame(J),Le._scheduled=void 0)}});g(3888);var Z=g(9211),H=g(116),se=g(8951),me=g(9107),Me=g(4666),_e=g(2867);let ie=(()=>{class Ke{constructor(J,Ie,Ee){this._ngZone=J,this._platform=Ie,this._scrolled=new U.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ee}register(J){this.scrollContainers.has(J)||this.scrollContainers.set(J,J.elementScrolled().subscribe(()=>this._scrolled.next(J)))}deregister(J){const Ie=this.scrollContainers.get(J);Ie&&(Ie.unsubscribe(),this.scrollContainers.delete(J))}scrolled(J=20){return this._platform.isBrowser?new N.y(Ie=>{this._globalSubscription||this._addGlobalListener();const Ee=J>0?this._scrolled.pipe((0,Z.e)(J)).subscribe(Ie):this._scrolled.subscribe(Ie);return this._scrolledCount++,()=>{Ee.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,O.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((J,Ie)=>this.deregister(Ie)),this._scrolled.complete()}ancestorScrolled(J,Ie){const Ee=this.getAncestorScrollContainers(J);return this.scrolled(Ie).pipe((0,H.h)(Be=>!Be||Ee.indexOf(Be)>-1))}getAncestorScrollContainers(J){const Ie=[];return this.scrollContainers.forEach((Ee,Be)=>{this._scrollableContainsElement(Be,J)&&Ie.push(Be)}),Ie}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(J,Ie){let Ee=(0,m.fI)(Ie),Be=J.getElementRef().nativeElement;do{if(Ee==Be)return!0}while(Ee=Ee.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const J=this._getWindow();return(0,B.R)(J.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ke.ɵfac=function(J){return new(J||Ke)(c.LFG(c.R0b),c.LFG(me.t4),c.LFG(Me.K0,8))},Ke.ɵprov=c.Yz7({token:Ke,factory:Ke.ɵfac,providedIn:"root"}),Ke})(),ye=(()=>{class Ke{constructor(J,Ie,Ee,Be){this.elementRef=J,this.scrollDispatcher=Ie,this.ngZone=Ee,this.dir=Be,this._destroyed=new U.x,this._elementScrolled=new N.y(ne=>this.ngZone.runOutsideAngular(()=>(0,B.R)(this.elementRef.nativeElement,"scroll").pipe((0,se.R)(this._destroyed)).subscribe(ne)))}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(J){const Ie=this.elementRef.nativeElement,Ee=this.dir&&"rtl"==this.dir.value;null==J.left&&(J.left=Ee?J.end:J.start),null==J.right&&(J.right=Ee?J.start:J.end),null!=J.bottom&&(J.top=Ie.scrollHeight-Ie.clientHeight-J.bottom),Ee&&0!=(0,me._i)()?(null!=J.left&&(J.right=Ie.scrollWidth-Ie.clientWidth-J.left),2==(0,me._i)()?J.left=J.right:1==(0,me._i)()&&(J.left=J.right?-J.right:J.right)):null!=J.right&&(J.left=Ie.scrollWidth-Ie.clientWidth-J.right),this._applyScrollToOptions(J)}_applyScrollToOptions(J){const Ie=this.elementRef.nativeElement;(0,me.Mq)()?Ie.scrollTo(J):(null!=J.top&&(Ie.scrollTop=J.top),null!=J.left&&(Ie.scrollLeft=J.left))}measureScrollOffset(J){const Ie="left",Be=this.elementRef.nativeElement;if("top"==J)return Be.scrollTop;if("bottom"==J)return Be.scrollHeight-Be.clientHeight-Be.scrollTop;const ne=this.dir&&"rtl"==this.dir.value;return"start"==J?J=ne?"right":Ie:"end"==J&&(J=ne?Ie:"right"),ne&&2==(0,me._i)()?J==Ie?Be.scrollWidth-Be.clientWidth-Be.scrollLeft:Be.scrollLeft:ne&&1==(0,me._i)()?J==Ie?Be.scrollLeft+Be.scrollWidth-Be.clientWidth:-Be.scrollLeft:J==Ie?Be.scrollLeft:Be.scrollWidth-Be.clientWidth-Be.scrollLeft}}return Ke.ɵfac=function(J){return new(J||Ke)(c.Y36(c.SBq),c.Y36(ie),c.Y36(c.R0b),c.Y36(_e.Is,8))},Ke.ɵdir=c.lG2({type:Ke,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Ke})(),je=(()=>{class Ke{constructor(J,Ie,Ee){this._platform=J,this._change=new U.x,this._changeListener=Be=>{this._change.next(Be)},this._document=Ee,Ie.runOutsideAngular(()=>{if(J.isBrowser){const Be=this._getWindow();Be.addEventListener("resize",this._changeListener),Be.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const J=this._getWindow();J.removeEventListener("resize",this._changeListener),J.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const J={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),J}getViewportRect(){const J=this.getViewportScrollPosition(),{width:Ie,height:Ee}=this.getViewportSize();return{top:J.top,left:J.left,bottom:J.top+Ee,right:J.left+Ie,height:Ee,width:Ie}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const J=this._document,Ie=this._getWindow(),Ee=J.documentElement,Be=Ee.getBoundingClientRect();return{top:-Be.top||J.body.scrollTop||Ie.scrollY||Ee.scrollTop||0,left:-Be.left||J.body.scrollLeft||Ie.scrollX||Ee.scrollLeft||0}}change(J=20){return J>0?this._change.pipe((0,Z.e)(J)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const J=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:J.innerWidth,height:J.innerHeight}:{width:0,height:0}}}return Ke.ɵfac=function(J){return new(J||Ke)(c.LFG(me.t4),c.LFG(c.R0b),c.LFG(Me.K0,8))},Ke.ɵprov=c.Yz7({token:Ke,factory:Ke.ɵfac,providedIn:"root"}),Ke})(),rn=(()=>{class Ke{}return Ke.ɵfac=function(J){return new(J||Ke)},Ke.ɵmod=c.oAB({type:Ke}),Ke.ɵinj=c.cJS({}),Ke})(),St=(()=>{class Ke{}return Ke.ɵfac=function(J){return new(J||Ke)},Ke.ɵmod=c.oAB({type:Ke}),Ke.ɵinj=c.cJS({imports:[_e.vT,rn,_e.vT,rn]}),Ke})()},4666:(Se,W,g)=>{g.d(W,{ED:()=>Cr,EM:()=>ma,HT:()=>N,JF:()=>wo,K0:()=>V,Mx:()=>Qn,NF:()=>Iu,O5:()=>Gt,Ov:()=>Ii,PC:()=>li,RF:()=>si,S$:()=>H,Ye:()=>_e,b0:()=>me,bD:()=>Sl,ez:()=>Cl,lw:()=>x,mk:()=>Jn,n9:()=>ai,q:()=>U,sg:()=>Pr,tP:()=>cr,w_:()=>B});var m=g(2560);let c=null;function U(){return c}function N(_){c||(c=_)}class B{}const V=new m.OlP("DocumentToken");let x=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=m.Yz7({token:_,factory:function(){return function F(){return(0,m.LFG)(L)}()},providedIn:"platform"}),_})(),L=(()=>{class _ extends x{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(E){const M=U().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",E,!1),()=>M.removeEventListener("popstate",E)}onHashChange(E){const M=U().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",E,!1),()=>M.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,M,$){A()?this._history.pushState(E,M,$):this.location.hash=$}replaceState(E,M,$){A()?this._history.replaceState(E,M,$):this.location.hash=$}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return _.ɵfac=function(E){return new(E||_)(m.LFG(V))},_.ɵprov=m.Yz7({token:_,factory:function(){return function q(){return new L((0,m.LFG)(V))}()},providedIn:"platform"}),_})();function A(){return!!window.history.pushState}function K(_,w){if(0==_.length)return w;if(0==w.length)return _;let E=0;return _.endsWith("/")&&E++,w.startsWith("/")&&E++,2==E?_+w.substring(1):1==E?_+w:_+"/"+w}function te(_){const w=_.match(/#|\?|$/),E=w&&w.index||_.length;return _.slice(0,E-("/"===_[E-1]?1:0))+_.slice(E)}function Z(_){return _&&"?"!==_[0]?"?"+_:_}let H=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.ɵfac=function(E){return new(E||_)},_.ɵprov=m.Yz7({token:_,factory:function(){return(0,m.f3M)(me)},providedIn:"root"}),_})();const se=new m.OlP("appBaseHref");let me=(()=>{class _ extends H{constructor(E,M){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return K(this._baseHref,E)}path(E=!1){const M=this._platformLocation.pathname+Z(this._platformLocation.search),$=this._platformLocation.hash;return $&&E?`${M}${$}`:M}pushState(E,M,$,ve){const Ae=this.prepareExternalUrl($+Z(ve));this._platformLocation.pushState(E,M,Ae)}replaceState(E,M,$,ve){const Ae=this.prepareExternalUrl($+Z(ve));this._platformLocation.replaceState(E,M,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return _.ɵfac=function(E){return new(E||_)(m.LFG(x),m.LFG(se,8))},_.ɵprov=m.Yz7({token:_,factory:_.ɵfac,providedIn:"root"}),_})(),_e=(()=>{class _{constructor(E){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const M=this._locationStrategy.getBaseHref();this._baseHref=te(Te(M)),this._locationStrategy.onPopState($=>{this._subject.emit({url:this.path(!0),pop:!0,state:$.state,type:$.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,M=""){return this.path()==this.normalize(E+Z(M))}normalize(E){return _.stripTrailingSlash(function ae(_,w){return _&&w.startsWith(_)?w.substring(_.length):w}(this._baseHref,Te(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,M="",$=null){this._locationStrategy.pushState($,"",E,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+Z(M)),$)}replaceState(E,M="",$=null){this._locationStrategy.replaceState($,"",E,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+Z(M)),$)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",M){this._urlChangeListeners.forEach($=>$(E,M))}subscribe(E,M,$){return this._subject.subscribe({next:E,error:M,complete:$})}}return _.normalizeQueryParams=Z,_.joinWithSlash=K,_.stripTrailingSlash=te,_.ɵfac=function(E){return new(E||_)(m.LFG(H))},_.ɵprov=m.Yz7({token:_,factory:function(){return function z(){return new _e((0,m.LFG)(H))}()},providedIn:"root"}),_})();function Te(_){return _.replace(/\/index.html$/,"")}function Qn(_,w){w=encodeURIComponent(w);for(const E of _.split(";")){const M=E.indexOf("="),[$,ve]=-1==M?[E,""]:[E.slice(0,M),E.slice(M+1)];if($.trim()===w)return decodeURIComponent(ve)}return null}let Jn=(()=>{class _{constructor(E,M,$,ve){this._iterableDiffers=E,this._keyValueDiffers=M,this._ngEl=$,this._renderer=ve,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,m.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(M=>this._toggleClass(M.key,M.currentValue)),E.forEachChangedItem(M=>this._toggleClass(M.key,M.currentValue)),E.forEachRemovedItem(M=>{M.previousValue&&this._toggleClass(M.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,m.AaK)(M.item)}`);this._toggleClass(M.item,!0)}),E.forEachRemovedItem(M=>this._toggleClass(M.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(M=>this._toggleClass(M,!0)):Object.keys(E).forEach(M=>this._toggleClass(M,!!E[M])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(M=>this._toggleClass(M,!1)):Object.keys(E).forEach(M=>this._toggleClass(M,!1)))}_toggleClass(E,M){(E=E.trim())&&E.split(/\s+/g).forEach($=>{M?this._renderer.addClass(this._ngEl.nativeElement,$):this._renderer.removeClass(this._ngEl.nativeElement,$)})}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))},_.ɵdir=m.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class Vn{constructor(w,E,M,$){this.$implicit=w,this.ngForOf=E,this.index=M,this.count=$}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Pr=(()=>{class _{constructor(E,M,$){this._viewContainer=E,this._template=M,this._differs=$,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const M=this._viewContainer;E.forEachOperation(($,ve,Ae)=>{if(null==$.previousIndex)M.createEmbeddedView(this._template,new Vn($.item,this._ngForOf,-1,-1),null===Ae?void 0:Ae);else if(null==Ae)M.remove(null===ve?void 0:ve);else if(null!==ve){const qe=M.get(ve);M.move(qe,Ae),un(qe,$)}});for(let $=0,ve=M.length;$<ve;$++){const qe=M.get($).context;qe.index=$,qe.count=ve,qe.ngForOf=this._ngForOf}E.forEachIdentityChange($=>{un(M.get($.currentIndex),$)})}static ngTemplateContextGuard(E,M){return!0}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))},_.ɵdir=m.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function un(_,w){_.context.$implicit=w.item}let Gt=(()=>{class _{constructor(E,M){this._viewContainer=E,this._context=new $r,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){zr("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){zr("ngIfElse",E),this._elseTemplateRef=E,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(E,M){return!0}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.s_b),m.Y36(m.Rgc))},_.ɵdir=m.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class $r{constructor(){this.$implicit=null,this.ngIf=null}}function zr(_,w){if(w&&!w.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,m.AaK)(w)}'.`)}class Mt{constructor(w,E){this._viewContainerRef=w,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let si=(()=>{class _{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const M=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let M=0;M<this._defaultViews.length;M++)this._defaultViews[M].enforceState(E)}}}return _.ɵfac=function(E){return new(E||_)},_.ɵdir=m.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),ai=(()=>{class _{constructor(E,M,$){this.ngSwitch=$,$._addCase(),this._view=new Mt(E,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(si,9))},_.ɵdir=m.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),_})(),Cr=(()=>{class _{constructor(E,M,$){$._addDefault(new Mt(E,M))}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(si,9))},_.ɵdir=m.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0}),_})(),li=(()=>{class _{constructor(E,M,$){this._ngEl=E,this._differs=M,this._renderer=$,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,M){const[$,ve]=E.split("."),Ae=-1===$.indexOf("-")?void 0:m.JOm.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,$,ve?`${M}${ve}`:M,Ae):this._renderer.removeStyle(this._ngEl.nativeElement,$,Ae)}_applyChanges(E){E.forEachRemovedItem(M=>this._setStyle(M.key,null)),E.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),E.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))},_.ɵdir=m.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),_})(),cr=(()=>{class _{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(E.ngTemplateOutlet||E.ngTemplateOutletInjector){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:$,ngTemplateOutletContext:ve,ngTemplateOutletInjector:Ae}=this;this._viewRef=M.createEmbeddedView($,ve,Ae?{injector:Ae}:void 0)}else this._viewRef=null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.s_b))},_.ɵdir=m.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]}),_})();class en{createSubscription(w,E){return w.subscribe({next:E,error:M=>{throw M}})}dispose(w){w.unsubscribe()}}class gs{createSubscription(w,E){return w.then(E,M=>{throw M})}dispose(w){}}const Dl=new gs,ci=new en;let Ii=(()=>{class _{constructor(E){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,M=>this._updateLatestValue(E,M))}_selectStrategy(E){if((0,m.QGY)(E))return Dl;if((0,m.F4k)(E))return ci;throw function ur(_,w){return new m.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,M){E===this._obj&&(this._latestValue=M,this._ref.markForCheck())}}return _.ɵfac=function(E){return new(E||_)(m.Y36(m.sBO,16))},_.ɵpipe=m.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})(),Cl=(()=>{class _{}return _.ɵfac=function(E){return new(E||_)},_.ɵmod=m.oAB({type:_}),_.ɵinj=m.cJS({}),_})();const Sl="browser";function Iu(_){return _===Sl}let ma=(()=>{class _{}return _.ɵprov=(0,m.Yz7)({token:_,providedIn:"root",factory:()=>new Do((0,m.LFG)(V),window)}),_})();class Do{constructor(w,E){this.document=w,this.window=E,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const E=function _a(_,w){const E=_.getElementById(w)||_.getElementsByName(w)[0];if(E)return E;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const M=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let $=M.currentNode;for(;$;){const ve=$.shadowRoot;if(ve){const Ae=ve.getElementById(w)||ve.querySelector(`[name="${w}"]`);if(Ae)return Ae}$=M.nextNode()}}return null}(this.document,w);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=w)}}scrollToElement(w){const E=w.getBoundingClientRect(),M=E.left+this.window.pageXOffset,$=E.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(M-ve[0],$-ve[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=Tr(this.window.history)||Tr(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Tr(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class wo{}},8987:(Se,W,g)=>{g.d(W,{JF:()=>zt,eN:()=>ke});var m=g(4666),c=g(2560),U=g(745),O=g(833),N=g(3853),B=g(116),V=g(635);class x{}class F{}class I{constructor(C){this.normalizedNames=new Map,this.lazyUpdate=null,C?this.lazyInit="string"==typeof C?()=>{this.headers=new Map,C.split("\n").forEach(T=>{const G=T.indexOf(":");if(G>0){const ue=T.slice(0,G),$e=ue.toLowerCase(),ut=T.slice(G+1).trim();this.maybeSetNormalizedName(ue,$e),this.headers.has($e)?this.headers.get($e).push(ut):this.headers.set($e,[ut])}})}:()=>{this.headers=new Map,Object.keys(C).forEach(T=>{let G=C[T];const ue=T.toLowerCase();"string"==typeof G&&(G=[G]),G.length>0&&(this.headers.set(ue,G),this.maybeSetNormalizedName(T,ue))})}:this.headers=new Map}has(C){return this.init(),this.headers.has(C.toLowerCase())}get(C){this.init();const T=this.headers.get(C.toLowerCase());return T&&T.length>0?T[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(C){return this.init(),this.headers.get(C.toLowerCase())||null}append(C,T){return this.clone({name:C,value:T,op:"a"})}set(C,T){return this.clone({name:C,value:T,op:"s"})}delete(C,T){return this.clone({name:C,value:T,op:"d"})}maybeSetNormalizedName(C,T){this.normalizedNames.has(T)||this.normalizedNames.set(T,C)}init(){this.lazyInit&&(this.lazyInit instanceof I?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(C=>this.applyUpdate(C)),this.lazyUpdate=null))}copyFrom(C){C.init(),Array.from(C.headers.keys()).forEach(T=>{this.headers.set(T,C.headers.get(T)),this.normalizedNames.set(T,C.normalizedNames.get(T))})}clone(C){const T=new I;return T.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,T.lazyUpdate=(this.lazyUpdate||[]).concat([C]),T}applyUpdate(C){const T=C.name.toLowerCase();switch(C.op){case"a":case"s":let G=C.value;if("string"==typeof G&&(G=[G]),0===G.length)return;this.maybeSetNormalizedName(C.name,T);const ue=("a"===C.op?this.headers.get(T):void 0)||[];ue.push(...G),this.headers.set(T,ue);break;case"d":const $e=C.value;if($e){let ut=this.headers.get(T);if(!ut)return;ut=ut.filter(_t=>-1===$e.indexOf(_t)),0===ut.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,ut)}else this.headers.delete(T),this.normalizedNames.delete(T)}}forEach(C){this.init(),Array.from(this.normalizedNames.keys()).forEach(T=>C(this.normalizedNames.get(T),this.headers.get(T)))}}class A{encodeKey(C){return Z(C)}encodeValue(C){return Z(C)}decodeKey(C){return decodeURIComponent(C)}decodeValue(C){return decodeURIComponent(C)}}const K=/%(\d[a-f0-9])/gi,te={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Z(P){return encodeURIComponent(P).replace(K,(C,T)=>te[T]??C)}function H(P){return`${P}`}class se{constructor(C={}){if(this.updates=null,this.cloneFrom=null,this.encoder=C.encoder||new A,C.fromString){if(C.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(P,C){const T=new Map;return P.length>0&&P.replace(/^\?/,"").split("&").forEach(ue=>{const $e=ue.indexOf("="),[ut,_t]=-1==$e?[C.decodeKey(ue),""]:[C.decodeKey(ue.slice(0,$e)),C.decodeValue(ue.slice($e+1))],nt=T.get(ut)||[];nt.push(_t),T.set(ut,nt)}),T}(C.fromString,this.encoder)}else C.fromObject?(this.map=new Map,Object.keys(C.fromObject).forEach(T=>{const G=C.fromObject[T],ue=Array.isArray(G)?G.map(H):[H(G)];this.map.set(T,ue)})):this.map=null}has(C){return this.init(),this.map.has(C)}get(C){this.init();const T=this.map.get(C);return T?T[0]:null}getAll(C){return this.init(),this.map.get(C)||null}keys(){return this.init(),Array.from(this.map.keys())}append(C,T){return this.clone({param:C,value:T,op:"a"})}appendAll(C){const T=[];return Object.keys(C).forEach(G=>{const ue=C[G];Array.isArray(ue)?ue.forEach($e=>{T.push({param:G,value:$e,op:"a"})}):T.push({param:G,value:ue,op:"a"})}),this.clone(T)}set(C,T){return this.clone({param:C,value:T,op:"s"})}delete(C,T){return this.clone({param:C,value:T,op:"d"})}toString(){return this.init(),this.keys().map(C=>{const T=this.encoder.encodeKey(C);return this.map.get(C).map(G=>T+"="+this.encoder.encodeValue(G)).join("&")}).filter(C=>""!==C).join("&")}clone(C){const T=new se({encoder:this.encoder});return T.cloneFrom=this.cloneFrom||this,T.updates=(this.updates||[]).concat(C),T}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(C=>this.map.set(C,this.cloneFrom.map.get(C))),this.updates.forEach(C=>{switch(C.op){case"a":case"s":const T=("a"===C.op?this.map.get(C.param):void 0)||[];T.push(H(C.value)),this.map.set(C.param,T);break;case"d":if(void 0===C.value){this.map.delete(C.param);break}{let G=this.map.get(C.param)||[];const ue=G.indexOf(H(C.value));-1!==ue&&G.splice(ue,1),G.length>0?this.map.set(C.param,G):this.map.delete(C.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(C,T){return this.map.set(C,T),this}get(C){return this.map.has(C)||this.map.set(C,C.defaultValue()),this.map.get(C)}delete(C){return this.map.delete(C),this}has(C){return this.map.has(C)}keys(){return this.map.keys()}}function z(P){return typeof ArrayBuffer<"u"&&P instanceof ArrayBuffer}function ae(P){return typeof Blob<"u"&&P instanceof Blob}function Te(P){return typeof FormData<"u"&&P instanceof FormData}class Oe{constructor(C,T,G,ue){let $e;if(this.url=T,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=C.toUpperCase(),function _e(P){switch(P){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ue?(this.body=void 0!==G?G:null,$e=ue):$e=G,$e&&(this.reportProgress=!!$e.reportProgress,this.withCredentials=!!$e.withCredentials,$e.responseType&&(this.responseType=$e.responseType),$e.headers&&(this.headers=$e.headers),$e.context&&(this.context=$e.context),$e.params&&(this.params=$e.params)),this.headers||(this.headers=new I),this.context||(this.context=new Me),this.params){const ut=this.params.toString();if(0===ut.length)this.urlWithParams=T;else{const _t=T.indexOf("?");this.urlWithParams=T+(-1===_t?"?":_t<T.length-1?"&":"")+ut}}else this.params=new se,this.urlWithParams=T}serializeBody(){return null===this.body?null:z(this.body)||ae(this.body)||Te(this.body)||function Re(P){return typeof URLSearchParams<"u"&&P instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof se?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||Te(this.body)?null:ae(this.body)?this.body.type||null:z(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof se?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(C={}){const T=C.method||this.method,G=C.url||this.url,ue=C.responseType||this.responseType,$e=void 0!==C.body?C.body:this.body,ut=void 0!==C.withCredentials?C.withCredentials:this.withCredentials,_t=void 0!==C.reportProgress?C.reportProgress:this.reportProgress;let nt=C.headers||this.headers,fn=C.params||this.params;const pn=C.context??this.context;return void 0!==C.setHeaders&&(nt=Object.keys(C.setHeaders).reduce((Zt,Wt)=>Zt.set(Wt,C.setHeaders[Wt]),nt)),C.setParams&&(fn=Object.keys(C.setParams).reduce((Zt,Wt)=>Zt.set(Wt,C.setParams[Wt]),fn)),new Oe(T,G,$e,{params:fn,headers:nt,context:pn,reportProgress:_t,responseType:ue,withCredentials:ut})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class ce{constructor(C,T=200,G="OK"){this.headers=C.headers||new I,this.status=void 0!==C.status?C.status:T,this.statusText=C.statusText||G,this.url=C.url||null,this.ok=this.status>=200&&this.status<300}}class ie extends ce{constructor(C={}){super(C),this.type=Ne.ResponseHeader}clone(C={}){return new ie({headers:C.headers||this.headers,status:void 0!==C.status?C.status:this.status,statusText:C.statusText||this.statusText,url:C.url||this.url||void 0})}}class ye extends ce{constructor(C={}){super(C),this.type=Ne.Response,this.body=void 0!==C.body?C.body:null}clone(C={}){return new ye({body:void 0!==C.body?C.body:this.body,headers:C.headers||this.headers,status:void 0!==C.status?C.status:this.status,statusText:C.statusText||this.statusText,url:C.url||this.url||void 0})}}class fe extends ce{constructor(C){super(C,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${C.url||"(unknown url)"}`:`Http failure response for ${C.url||"(unknown url)"}: ${C.status} ${C.statusText}`,this.error=C.error||null}}function je(P,C){return{body:C,headers:P.headers,context:P.context,observe:P.observe,params:P.params,reportProgress:P.reportProgress,responseType:P.responseType,withCredentials:P.withCredentials}}let ke=(()=>{class P{constructor(T){this.handler=T}request(T,G,ue={}){let $e;if(T instanceof Oe)$e=T;else{let nt,fn;nt=ue.headers instanceof I?ue.headers:new I(ue.headers),ue.params&&(fn=ue.params instanceof se?ue.params:new se({fromObject:ue.params})),$e=new Oe(T,G,void 0!==ue.body?ue.body:null,{headers:nt,context:ue.context,params:fn,reportProgress:ue.reportProgress,responseType:ue.responseType||"json",withCredentials:ue.withCredentials})}const ut=(0,U.of)($e).pipe((0,N.b)(nt=>this.handler.handle(nt)));if(T instanceof Oe||"events"===ue.observe)return ut;const _t=ut.pipe((0,B.h)(nt=>nt instanceof ye));switch(ue.observe||"body"){case"body":switch($e.responseType){case"arraybuffer":return _t.pipe((0,V.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nt.body}));case"blob":return _t.pipe((0,V.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof Blob))throw new Error("Response is not a Blob.");return nt.body}));case"text":return _t.pipe((0,V.U)(nt=>{if(null!==nt.body&&"string"!=typeof nt.body)throw new Error("Response is not a string.");return nt.body}));default:return _t.pipe((0,V.U)(nt=>nt.body))}case"response":return _t;default:throw new Error(`Unreachable: unhandled observe type ${ue.observe}}`)}}delete(T,G={}){return this.request("DELETE",T,G)}get(T,G={}){return this.request("GET",T,G)}head(T,G={}){return this.request("HEAD",T,G)}jsonp(T,G){return this.request("JSONP",T,{params:(new se).append(G,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,G={}){return this.request("OPTIONS",T,G)}patch(T,G,ue={}){return this.request("PATCH",T,je(ue,G))}post(T,G,ue={}){return this.request("POST",T,je(ue,G))}put(T,G,ue={}){return this.request("PUT",T,je(ue,G))}}return P.ɵfac=function(T){return new(T||P)(c.LFG(x))},P.ɵprov=c.Yz7({token:P,factory:P.ɵfac}),P})();function ct(P,C){return C(P)}function Lt(P,C){return(T,G)=>C.intercept(T,{handle:ue=>P(ue,G)})}const gt=new c.OlP("HTTP_INTERCEPTORS"),It=new c.OlP("HTTP_INTERCEPTOR_FNS");function mt(){let P=null;return(C,T)=>(null===P&&(P=((0,c.f3M)(gt,{optional:!0})??[]).reduceRight(Lt,ct)),P(C,T))}let jt=(()=>{class P extends x{constructor(T,G){super(),this.backend=T,this.injector=G,this.chain=null}handle(T){if(null===this.chain){const G=Array.from(new Set(this.injector.get(It)));this.chain=G.reduceRight((ue,$e)=>function nn(P,C,T){return(G,ue)=>T.runInContext(()=>C(G,$e=>P($e,ue)))}(ue,$e,this.injector),ct)}return this.chain(T,G=>this.backend.handle(G))}}return P.ɵfac=function(T){return new(T||P)(c.LFG(F),c.LFG(c.lqb))},P.ɵprov=c.Yz7({token:P,factory:P.ɵfac}),P})();const Pe=/^\)\]\}',?\n/;let Ge=(()=>{class P{constructor(T){this.xhrFactory=T}handle(T){if("JSONP"===T.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(G=>{const ue=this.xhrFactory.build();if(ue.open(T.method,T.urlWithParams),T.withCredentials&&(ue.withCredentials=!0),T.headers.forEach((it,re)=>ue.setRequestHeader(it,re.join(","))),T.headers.has("Accept")||ue.setRequestHeader("Accept","application/json, text/plain, */*"),!T.headers.has("Content-Type")){const it=T.detectContentTypeHeader();null!==it&&ue.setRequestHeader("Content-Type",it)}if(T.responseType){const it=T.responseType.toLowerCase();ue.responseType="json"!==it?it:"text"}const $e=T.serializeBody();let ut=null;const _t=()=>{if(null!==ut)return ut;const it=ue.statusText||"OK",re=new I(ue.getAllResponseHeaders()),Q=function He(P){return"responseURL"in P&&P.responseURL?P.responseURL:/^X-Request-URL:/m.test(P.getAllResponseHeaders())?P.getResponseHeader("X-Request-URL"):null}(ue)||T.url;return ut=new ie({headers:re,status:ue.status,statusText:it,url:Q}),ut},nt=()=>{let{headers:it,status:re,statusText:Q,url:j}=_t(),oe=null;204!==re&&(oe=typeof ue.response>"u"?ue.responseText:ue.response),0===re&&(re=oe?200:0);let we=re>=200&&re<300;if("json"===T.responseType&&"string"==typeof oe){const rt=oe;oe=oe.replace(Pe,"");try{oe=""!==oe?JSON.parse(oe):null}catch(Rt){oe=rt,we&&(we=!1,oe={error:Rt,text:oe})}}we?(G.next(new ye({body:oe,headers:it,status:re,statusText:Q,url:j||void 0})),G.complete()):G.error(new fe({error:oe,headers:it,status:re,statusText:Q,url:j||void 0}))},fn=it=>{const{url:re}=_t(),Q=new fe({error:it,status:ue.status||0,statusText:ue.statusText||"Unknown Error",url:re||void 0});G.error(Q)};let pn=!1;const Zt=it=>{pn||(G.next(_t()),pn=!0);let re={type:Ne.DownloadProgress,loaded:it.loaded};it.lengthComputable&&(re.total=it.total),"text"===T.responseType&&!!ue.responseText&&(re.partialText=ue.responseText),G.next(re)},Wt=it=>{let re={type:Ne.UploadProgress,loaded:it.loaded};it.lengthComputable&&(re.total=it.total),G.next(re)};return ue.addEventListener("load",nt),ue.addEventListener("error",fn),ue.addEventListener("timeout",fn),ue.addEventListener("abort",fn),T.reportProgress&&(ue.addEventListener("progress",Zt),null!==$e&&ue.upload&&ue.upload.addEventListener("progress",Wt)),ue.send($e),G.next({type:Ne.Sent}),()=>{ue.removeEventListener("error",fn),ue.removeEventListener("abort",fn),ue.removeEventListener("load",nt),ue.removeEventListener("timeout",fn),T.reportProgress&&(ue.removeEventListener("progress",Zt),null!==$e&&ue.upload&&ue.upload.removeEventListener("progress",Wt)),ue.readyState!==ue.DONE&&ue.abort()}})}}return P.ɵfac=function(T){return new(T||P)(c.LFG(m.JF))},P.ɵprov=c.Yz7({token:P,factory:P.ɵfac}),P})();const wt=new c.OlP("XSRF_ENABLED"),Qe="XSRF-TOKEN",hn=new c.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Qe}),Xt="X-XSRF-TOKEN",on=new c.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Xt});class Cn{}let nr=(()=>{class P{constructor(T,G,ue){this.doc=T,this.platform=G,this.cookieName=ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const T=this.doc.cookie||"";return T!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,m.Mx)(T,this.cookieName),this.lastCookieString=T),this.lastToken}}return P.ɵfac=function(T){return new(T||P)(c.LFG(m.K0),c.LFG(c.Lbi),c.LFG(hn))},P.ɵprov=c.Yz7({token:P,factory:P.ɵfac}),P})();function Dt(P,C){const T=P.url.toLowerCase();if(!(0,c.f3M)(wt)||"GET"===P.method||"HEAD"===P.method||T.startsWith("http://")||T.startsWith("https://"))return C(P);const G=(0,c.f3M)(Cn).getToken(),ue=(0,c.f3M)(on);return null!=G&&!P.headers.has(ue)&&(P=P.clone({headers:P.headers.set(ue,G)})),C(P)}var Ze=(()=>((Ze=Ze||{})[Ze.Interceptors=0]="Interceptors",Ze[Ze.LegacyInterceptors=1]="LegacyInterceptors",Ze[Ze.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ze[Ze.NoXsrfProtection=3]="NoXsrfProtection",Ze[Ze.JsonpSupport=4]="JsonpSupport",Ze[Ze.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ze))();function lr(P,C){return{ɵkind:P,ɵproviders:C}}function Sn(...P){const C=[ke,Ge,jt,{provide:x,useExisting:jt},{provide:F,useExisting:Ge},{provide:It,useValue:Dt,multi:!0},{provide:wt,useValue:!0},{provide:Cn,useClass:nr}];for(const T of P)C.push(...T.ɵproviders);return(0,c.MR2)(C)}const On=new c.OlP("LEGACY_INTERCEPTOR_FN");function Ue({cookieName:P,headerName:C}){const T=[];return void 0!==P&&T.push({provide:hn,useValue:P}),void 0!==C&&T.push({provide:on,useValue:C}),lr(Ze.CustomXsrfConfiguration,T)}let zt=(()=>{class P{}return P.ɵfac=function(T){return new(T||P)},P.ɵmod=c.oAB({type:P}),P.ɵinj=c.cJS({providers:[Sn(lr(Ze.LegacyInterceptors,[{provide:On,useFactory:mt},{provide:It,useExisting:On,multi:!0}]),Ue({cookieName:Qe,headerName:Xt}))]}),P})()},2560:(Se,W,g)=>{g.d(W,{$8M:()=>Wl,$Z:()=>Zc,AFp:()=>Ry,ALo:()=>Qv,AaK:()=>x,AsE:()=>fg,BQk:()=>Hh,CHM:()=>Ds,CRH:()=>sy,CZH:()=>tf,CqO:()=>u_,D6c:()=>Aw,EJc:()=>GD,EiD:()=>Hd,EpF:()=>l_,F$t:()=>g_,F4k:()=>c_,FYo:()=>po,FiY:()=>xa,G48:()=>dw,Gf:()=>iy,GfV:()=>eh,GkF:()=>ig,Gpc:()=>L,Gre:()=>K_,Hsn:()=>m_,JOm:()=>Jr,JVY:()=>ep,JZr:()=>Z,Jf7:()=>na,KtG:()=>Fl,L6k:()=>mc,LAX:()=>Nd,LFG:()=>At,LSH:()=>Ks,Lbi:()=>jD,Lck:()=>Fv,MAs:()=>a_,MGl:()=>$h,MMx:()=>wg,MR2:()=>Zs,NdJ:()=>sg,O4$:()=>ve,OlP:()=>an,Oqu:()=>hg,P3R:()=>Wd,Q2q:()=>eg,Q6J:()=>tg,QGY:()=>og,QP$:()=>Ti,QbO:()=>$D,Qsj:()=>dp,R0b:()=>ii,RDi:()=>Jf,Rgc:()=>yu,SBq:()=>ta,Sil:()=>YD,Suo:()=>oy,TTD:()=>va,TgZ:()=>Uh,Tol:()=>x_,Udp:()=>cg,VKq:()=>$v,W1O:()=>uy,WD2:()=>_a,WFA:()=>ag,WLB:()=>zv,XFs:()=>Qe,Xpm:()=>gn,Xts:()=>Qa,Y36:()=>$i,YKP:()=>Pv,YNc:()=>s_,Yjl:()=>Xi,Yz7:()=>St,Z0I:()=>Ie,ZZ4:()=>Kg,_Bn:()=>xv,_UZ:()=>rg,_Vd:()=>qs,_c5:()=>Tw,_uU:()=>U_,aQg:()=>Yg,c2e:()=>zD,cJS:()=>Le,cg1:()=>gg,d8E:()=>pg,dDg:()=>rw,dqk:()=>Dt,eBb:()=>tp,eFA:()=>Hy,ekj:()=>ug,eoX:()=>Uy,evT:()=>rh,f3M:()=>P,g9A:()=>xy,h0i:()=>yl,hGG:()=>Iw,hM9:()=>kb,hij:()=>Wh,iGM:()=>ry,ifc:()=>Zt,ip1:()=>Ay,jDz:()=>Lv,kL8:()=>iv,kcU:()=>qe,lG2:()=>ps,lcZ:()=>Jv,lqb:()=>Vr,lri:()=>ky,mCW:()=>Za,n5z:()=>Yu,n_E:()=>Qh,oAB:()=>xr,oJD:()=>Gs,oxw:()=>p_,pB0:()=>Ld,q3G:()=>wn,q4F:()=>th,qLn:()=>ss,qOj:()=>Qp,qZA:()=>Vh,qzn:()=>Vi,rWj:()=>By,s9C:()=>lg,sBO:()=>hw,sIi:()=>cu,s_b:()=>Xh,soG:()=>nf,tp0:()=>Ni,uIk:()=>qp,vHH:()=>H,vpe:()=>Qi,wAp:()=>vt,xp6:()=>Ap,ynx:()=>jh,z2F:()=>rf,z3N:()=>_i,zSh:()=>Rc,zs3:()=>Hi});var m=g(253),c=g(7714),U=g(833),O=g(6646),N=g(1203);function B(e){for(let t in e)if(e[t]===B)return t;throw Error("Could not find renamed property on target object.")}function V(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 F(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const I=B({__forward_ref__:B});function L(e){return e.__forward_ref__=L,e.toString=function(){return x(this())},e}function A(e){return q(e)?e():e}function q(e){return"function"==typeof e&&e.hasOwnProperty(I)&&e.__forward_ref__===L}function K(e){return e&&!!e.ɵproviders}const Z="https://g.co/ng/security#xss";class H extends Error{constructor(t,n){super(function se(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function me(e){return"string"==typeof e?e:null==e?"":String(e)}function Te(e,t){throw new H(-201,!1)}function It(e,t){null==e&&function mt(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function St(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function J(e){return Ee(e,Pe)||Ee(e,Ge)}function Ie(e){return null!==J(e)}function Ee(e,t){return e.hasOwnProperty(t)?e[t]:null}function pe(e){return e&&(e.hasOwnProperty(He)||e.hasOwnProperty(wt))?e[He]:null}const Pe=B({ɵprov:B}),He=B({ɵinj:B}),Ge=B({ngInjectableDef:B}),wt=B({ngInjectorDef:B});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 hn;function on(e){const t=hn;return hn=e,t}function Cn(e,t,n){const o=J(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&Qe.Optional?null:void 0!==t?t:void Te(x(e))}const Dt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Sn={},qt="__NG_DI_FLAG__",On="ngTempTokenPath",Ue=/\n/gm,le="__source";let be;function st(e){const t=be;return be=e,t}function zt(e,t=Qe.Default){if(void 0===be)throw new H(-203,!1);return null===be?Cn(e,void 0,t):be.get(e,t&Qe.Optional?null:void 0,t)}function At(e,t=Qe.Default){return(function Xt(){return hn}()||zt)(A(e),t)}function P(e,t=Qe.Default){return At(e,C(t))}function C(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function T(e){const t=[];for(let n=0;n<e.length;n++){const o=A(e[n]);if(Array.isArray(o)){if(0===o.length)throw new H(900,!1);let a,u=Qe.Default;for(let h=0;h<o.length;h++){const p=o[h],v=ue(p);"number"==typeof v?-1===v?a=p.token:u|=v:a=p}t.push(At(a,u))}else t.push(At(o))}return t}function G(e,t){return e[qt]=t,e.prototype[qt]=t,e}function ue(e){return e[qt]}function _t(e){return{toString:e}.toString()}var nt=(()=>((nt=nt||{})[nt.OnPush=0]="OnPush",nt[nt.Default=1]="Default",nt))(),Zt=(()=>{return(e=Zt||(Zt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Zt;var e})();const Wt={},it=[],re=B({ɵcmp:B}),Q=B({ɵdir:B}),j=B({ɵpipe:B}),oe=B({ɵmod:B}),we=B({ɵfac:B}),rt=B({__NG_ELEMENT_ID__:B});let Rt=0;function gn(e){return _t(()=>{const n=!0===e.standalone,o={},a={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:o,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Zt.Emulated,id:"c"+Rt++,styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},u=e.dependencies,h=e.features;return a.inputs=fs(e.inputs,o),a.outputs=fs(e.outputs),h&&h.forEach(p=>p(a)),a.directiveDefs=u?()=>("function"==typeof u?u():u).map(Mn).filter(oi):null,a.pipeDefs=u?()=>("function"==typeof u?u():u).map(bn).filter(oi):null,a})}function Mn(e){return Ut(e)||An(e)}function oi(e){return null!==e}function xr(e){return _t(()=>({type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fs(e,t){if(null==e)return Wt;const n={};for(const o in e)if(e.hasOwnProperty(o)){let a=e[o],u=a;Array.isArray(a)&&(u=a[1],a=a[0]),n[a]=o,t&&(t[a]=u)}return n}const ps=gn;function Xi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ut(e){return e[re]||null}function An(e){return e[Q]||null}function bn(e){return e[j]||null}function Ti(e){const t=Ut(e)||An(e)||bn(e);return null!==t&&t.standalone}function Qn(e,t){const n=e[oe]||null;if(!n&&!0===t)throw new Error(`Type ${x(e)} does not have 'ɵmod' property.`);return n}function Pn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Sr(e){return Array.isArray(e)&&!0===e[1]}function ms(e){return 0!=(4&e.flags)}function bo(e){return e.componentOffset>-1}function eo(e){return 1==(1&e.flags)}function rr(e){return null!==e.template}function ua(e){return 0!=(256&e[2])}function Tr(e,t){return e.hasOwnProperty(we)?e[we]:null}class _a{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function va(){return wo}function wo(e){return e.type.prototype.ngOnChanges&&(e.setInput=vs),Au}function Au(){const e=ya(this),t=e?.current;if(t){const n=e.previous;if(n===Wt)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function vs(e,t,n,o){const a=this.declaredInputs[n],u=ya(e)||function Ea(e,t){return e[Co]=t}(e,{previous:Wt,current:null}),h=u.current||(u.current={}),p=u.previous,v=p[a];h[a]=new _a(v&&v.currentValue,t,p===Wt),e[o]=t}va.ngInherit=!0;const Co="__ngSimpleChanges__";function ya(e){return e[Co]||null}function En(e){for(;Array.isArray(e);)e=e[0];return e}function bs(e,t){return En(t[e])}function jn(e,t){return En(t[e.index])}function To(e,t){return e.data[t]}function Ai(e,t){return e[t]}function Et(e,t){const n=t[e];return Pn(n)?n:n[0]}function Io(e){return 64==(64&e[2])}function Fr(e,t){return null==t?null:e[t]}function Ao(e){e[18]=0}function Ro(e,t){e[5]+=t;let n=e,o=e[3];for(;null!==o&&(1===t&&1===n[5]||-1===t&&0===n[5]);)o[5]+=t,n=o,o=o[3]}const et={lFrame:ir(null),bindingsEnabled:!0};function Ol(){return et.bindingsEnabled}function xe(){return et.lFrame.lView}function Bt(){return et.lFrame.tView}function Ds(e){return et.lFrame.contextLView=e,e[8]}function Fl(e){return et.lFrame.contextLView=null,e}function Fn(){let e=ws();for(;null!==e&&64===e.type;)e=e.parent;return e}function ws(){return et.lFrame.currentTNode}function Nr(e,t){const n=et.lFrame;n.currentTNode=e,n.isParent=t}function to(){return et.lFrame.isParent}function Lr(){et.lFrame.isParent=!1}function Hn(){const e=et.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zr(){return et.lFrame.bindingIndex++}function at(e){const t=et.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Lu(e,t){const n=et.lFrame;n.bindingIndex=n.bindingRootIndex=e,Cs(t)}function Cs(e){et.lFrame.currentDirectiveIndex=e}function Xn(e){const t=et.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Nt(){return et.lFrame.currentQueryIndex}function Po(e){et.lFrame.currentQueryIndex=e}function Ss(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Fo(e,t,n){if(n&Qe.SkipSelf){let a=t,u=e;for(;!(a=a.parent,null!==a||n&Qe.Host||(a=Ss(u),null===a||(u=u[15],10&a.type))););if(null===a)return!1;t=a,e=u}const o=et.lFrame=No();return o.currentTNode=t,o.lView=e,!0}function Da(e){const t=No(),n=e[1];et.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function No(){const e=et.lFrame,t=null===e?null:e.child;return null===t?ir(e):t}function ir(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 wa(){const e=et.lFrame;return et.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ms=wa;function Ca(){const e=wa();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 E(){return et.lFrame.selectedIndex}function M(e){et.lFrame.selectedIndex=e}function $(){const e=et.lFrame;return To(e.tView,e.selectedIndex)}function ve(){et.lFrame.currentNamespace="svg"}function qe(){!function Ht(){et.lFrame.currentNamespace=null}()}function Pt(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n<o;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:b,ngOnDestroy:S}=u;h&&(e.contentHooks||(e.contentHooks=[])).push(-n,h),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=S&&(e.destroyHooks||(e.destroyHooks=[])).push(n,S)}}function Yt(e,t,n){kn(e,t,3,n)}function kt(e,t,n,o){(3&e[2])===n&&kn(e,t,n,o)}function tn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function kn(e,t,n,o){const u=o??-1,h=t.length-1;let p=0;for(let v=void 0!==o?65535&e[18]:0;v<h;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=o&&p>=o)break}else t[v]<0&&(e[18]+=65536),(p<u||-1==u)&&(Ir(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function Ir(e,t,n,o){const a=n[o]<0,u=n[o+1],p=e[a?-n[o]:n[o]];if(a){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{u.call(p)}finally{}}}else try{u.call(p)}finally{}}class hr{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function Is(e,t,n){let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const u=n[o++],h=n[o++],p=n[o++];e.setAttribute(t,h,p,u)}else{const u=a,h=n[++o];Ll(u)?e.setProperty(t,u,h):e.setAttribute(t,u,h),o++}}return o}function Uu(e){return 3===e||4===e||6===e}function Ll(e){return 64===e.charCodeAt(0)}function ko(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?n=a:0===n||or(e,n,a,null,-1===n||2===n?t[++o]:null)}}return e}function or(e,t,n,o,a){let u=0,h=e.length;if(-1===t)h=-1;else for(;u<e.length;){const p=e[u++];if("number"==typeof p){if(p===t){h=-1;break}if(p>t){h=u-1;break}}}for(;u<e.length;){const p=e[u];if("number"==typeof p)break;if(p===n){if(null===o)return void(null!==a&&(e[u+1]=a));if(o===e[u+1])return void(e[u+2]=a)}u++,null!==o&&u++,null!==a&&u++}-1!==h&&(e.splice(h,0,t),u=h+1),e.splice(u++,0,n),null!==o&&e.splice(u++,0,o),null!==a&&e.splice(u++,0,a)}function kl(e){return-1!==e}function Oi(e){return 32767&e}function di(e,t){let n=function Vu(e){return e>>16}(e),o=t;for(;n>0;)o=o[15],n--;return o}let Bl=!0;function Sa(e){const t=Bl;return Bl=e,t}let gf=0;const Qr={};function Ma(e,t){const n=Ta(e,t);if(-1!==n)return n;const o=t[1];o.firstCreatePass&&(e.injectorIndex=t.length,Ul(o.data,e),Ul(t,null),Ul(o.blueprint,null));const a=Vl(e,t),u=e.injectorIndex;if(kl(a)){const h=Oi(a),p=di(a,t),v=p[1].data;for(let b=0;b<8;b++)t[u+b]=p[h+b]|v[h+b]}return t[u+8]=a,u}function Ul(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ta(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,a=t;for(;null!==a;){if(o=hi(a),null===o)return-1;if(n++,a=a[15],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return-1}function jl(e,t,n){!function mf(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(rt)&&(o=n[rt]),null==o&&(o=n[rt]=gf++);const a=255&o;t.data[e+(a>>5)]|=1<<a}(e,t,n)}function $u(e,t,n){if(n&Qe.Optional||void 0!==e)return e;Te()}function As(e,t,n,o){if(n&Qe.Optional&&void 0===o&&(o=null),0==(n&(Qe.Self|Qe.Host))){const a=e[9],u=on(void 0);try{return a?a.get(t,o,n&Qe.Optional):Cn(t,o,n&Qe.Optional)}finally{on(u)}}return $u(o,0,n)}function $l(e,t,n,o=Qe.Default,a){if(null!==e){if(1024&t[2]){const h=function vf(e,t,n,o,a){let u=e,h=t;for(;null!==u&&null!==h&&1024&h[2]&&!(256&h[2]);){const p=zl(u,h,n,o|Qe.Self,Qr);if(p!==Qr)return p;let v=u.parent;if(!v){const b=h[21];if(b){const S=b.get(n,Qr,o);if(S!==Qr)return S}v=hi(h),h=h[15]}u=v}return a}(e,t,n,o,Qr);if(h!==Qr)return h}const u=zl(e,t,n,o,Qr);if(u!==Qr)return u}return As(t,n,o,a)}function zl(e,t,n,o,a){const u=function _f(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rt)?e[rt]:void 0;return"number"==typeof t?t>=0?255&t:Ku:t}(n);if("function"==typeof u){if(!Fo(t,e,o))return o&Qe.Host?$u(a,0,o):As(t,n,o,a);try{const h=u(o);if(null!=h||o&Qe.Optional)return h;Te()}finally{Ms()}}else if("number"==typeof u){let h=null,p=Ta(e,t),v=-1,b=o&Qe.Host?t[16][6]:null;for((-1===p||o&Qe.SkipSelf)&&(v=-1===p?Vl(e,t):t[p+8],-1!==v&&Gu(o,!1)?(h=t[1],p=Oi(v),t=di(v,t)):p=-1);-1!==p;){const S=t[1];if(Wu(u,p,S.data)){const k=zu(p,t,n,h,o,b);if(k!==Qr)return k}v=t[p+8],-1!==v&&Gu(o,t[1].data[p+8]===b)&&Wu(u,p,t)?(h=S,p=Oi(v),t=di(v,t)):p=-1}}return a}function zu(e,t,n,o,a,u){const h=t[1],p=h.data[e+8],S=Bo(p,h,n,null==o?bo(p)&&Bl:o!=h&&0!=(3&p.type),a&Qe.Host&&u===p);return null!==S?no(t,h,S,p):Qr}function Bo(e,t,n,o,a){const u=e.providerIndexes,h=t.data,p=1048575&u,v=e.directiveStart,S=u>>20,ee=a?p+S:e.directiveEnd;for(let he=o?p:p+S;he<ee;he++){const De=h[he];if(he<v&&n===De||he>=v&&De.type===n)return he}if(a){const he=h[v];if(he&&rr(he)&&he.type===n)return v}return null}function no(e,t,n,o){let a=e[n];const u=t.data;if(function Lo(e){return e instanceof hr}(a)){const h=a;h.resolving&&function _e(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Me(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():me(e)}(u[n]));const p=Sa(h.canSeeViewProviders);h.resolving=!0;const v=h.injectImpl?on(h.injectImpl):null;Fo(e,o,Qe.Default);try{a=e[n]=h.factory(void 0,u,e,o),t.firstCreatePass&&n>=o.directiveStart&&function Kt(e,t,n){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:u}=t.type.prototype;if(o){const h=wo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==v&&on(v),Sa(p),h.resolving=!1,Ms()}}return a}function Wu(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Gu(e,t){return!(e&Qe.Self||e&Qe.Host&&t)}class Uo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,o){return $l(this._tNode,this._lView,t,C(o),n)}}function Ku(){return new Uo(Fn(),xe())}function Yu(e){return _t(()=>{const t=e.prototype.constructor,n=t[we]||Zu(t),o=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==o;){const u=a[we]||Zu(a);if(u&&u!==n)return u;a=Object.getPrototypeOf(a)}return u=>new u})}function Zu(e){return q(e)?()=>{const t=Zu(A(e));return t&&t()}:Tr(e)}function hi(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Wl(e){return function Hl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let a=0;for(;a<o;){const u=n[a];if(Uu(u))break;if(0===u)a+=2;else if("number"==typeof u)for(a++;a<o&&"string"==typeof n[a];)a++;else{if(u===t)return n[a+1];a+=2}}}return null}(Fn(),e)}const ro="__parameters__";function io(e,t,n){return _t(()=>{const o=function Gl(e){return function(...n){if(e){const o=e(...n);for(const a in o)this[a]=o[a]}}}(t);function a(...u){if(this instanceof a)return o.apply(this,u),this;const h=new a(...u);return p.annotation=h,p;function p(v,b,S){const k=v.hasOwnProperty(ro)?v[ro]:Object.defineProperty(v,ro,{value:[]})[ro];for(;k.length<=S;)k.push(null);return(k[S]=k[S]||[]).push(h),v}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class an{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=St({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function er(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let o=e[n];Array.isArray(o)?(t===e&&(t=e.slice(0,n)),er(o,t)):t!==e&&t.push(o)}return t}function Br(e,t){e.forEach(n=>Array.isArray(n)?Br(n,t):t(n))}function Ra(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ps(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function zo(e,t){const n=[];for(let o=0;o<e;o++)n.push(t);return n}function Er(e,t,n){let o=Pi(e,t);return o>=0?e[1|o]=n:(o=~o,function bf(e,t,n,o){let a=e.length;if(a==t)e.push(n,o);else if(1===a)e.push(o,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function qu(e,t){const n=Pi(e,t);if(n>=0)return e[1|n]}function Pi(e,t){return function ed(e,t,n){let o=0,a=e.length>>n;for(;a!==o;){const u=o+(a-o>>1),h=e[u<<n];if(t===h)return u<<n;h>t?a=u:o=u+1}return~(a<<n)}(e,t,1)}const xa=G(io("Optional"),8),Ni=G(io("SkipSelf"),4);var Jr=(()=>((Jr=Jr||{})[Jr.Important=1]="Important",Jr[Jr.DashCase=2]="DashCase",Jr))();const nc=new Map;let Uf=0;const ao="__ngContext__";function zn(e,t){Pn(t)?(e[ao]=t[20],function hd(e){nc.set(e[20],e)}(t)):e[ao]=t}function ic(e,t){return undefined(e,t)}function Bs(e){const t=e[3];return Sr(t)?t[3]:t}function Ba(e){return Ko(e[13])}function Ot(e){return Ko(e[4])}function Ko(e){for(;null!==e&&!Sr(e);)e=e[4];return e}function Ur(e,t,n,o,a){if(null!=o){let u,h=!1;Sr(o)?u=o:Pn(o)&&(h=!0,o=o[0]);const p=En(o);0===e&&null!==n?null==a?Bi(t,n,p):ei(t,n,p,a||null,!0):1===e&&null!==n?ei(t,n,p,a||null,!0):2===e?function Qo(e,t,n){const o=ti(e,t);o&&function Us(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,p,h):3===e&&t.destroyNode(p),null!=u&&function Yf(e,t,n,o,a){const u=n[7];u!==En(n)&&Ur(t,e,o,u,a);for(let p=10;p<n.length;p++){const v=n[p];Jo(v[1],v,e,t,o,u)}}(t,e,u,n,a)}}function Ua(e,t,n){return e.createElement(t,n)}function Cd(e,t){const n=e[9],o=n.indexOf(t),a=t[3];512&t[2]&&(t[2]&=-513,Ro(a,-1)),n.splice(o,1)}function ja(e,t){if(e.length<=10)return;const n=10+t,o=e[n];if(o){const a=o[17];null!==a&&a!==e&&Cd(a,o),t>0&&(e[n-1][4]=o[4]);const u=Ps(e,10+t);!function Dd(e,t){Jo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(o[1],o);const h=u[19];null!==h&&h.detachView(u[1]),o[3]=null,o[4]=null,o[2]&=-65}return o}function lc(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Jo(e,t,n,3,null,null),function Wn(e){let t=e[13];if(!t)return cc(e[1],e);for(;t;){let n=null;if(Pn(t))n=t[13];else{const o=t[10];o&&(n=o)}if(!n){for(;t&&!t[4]&&t!==e;)Pn(t)&&cc(t[1],t),t=t[3];null===t&&(t=e),Pn(t)&&cc(t[1],t),n=t&&t[4]}t=n}}(t)}}function cc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Wf(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o<n.length;o+=2){const a=t[n[o]];if(!(a instanceof hr)){const u=n[o+1];if(Array.isArray(u))for(let h=0;h<u.length;h+=2){const p=a[u[h]],v=u[h+1];try{v.call(p)}finally{}}else try{u.call(a)}finally{}}}}(e,t),function Sd(e,t){const n=e.cleanup,o=t[7];let a=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const h=n[u+3];h>=0?o[a=h]():o[a=-h].unsubscribe(),u+=2}else{const h=o[a=n[u+1]];n[u].call(h)}if(null!==o){for(let u=a+1;u<o.length;u++)(0,o[u])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Sr(t[3])){n!==t[3]&&Cd(n,t);const o=t[19];null!==o&&o.detachView(e)}!function jf(e){nc.delete(e[20])}(t)}}function uc(e,t,n){return function dc(e,t,n){let o=t;for(;null!==o&&40&o.type;)o=(t=o).parent;if(null===o)return n[0];{const{componentOffset:a}=o;if(a>-1){const{encapsulation:u}=e.data[o.directiveStart+a];if(u===Zt.None||u===Zt.Emulated)return null}return jn(o,n)}}(e,t.parent,n)}function ei(e,t,n,o,a){e.insertBefore(t,n,o,a)}function Bi(e,t,n){e.appendChild(t,n)}function Ft(e,t,n,o,a){null!==o?ei(e,t,n,o,a):Bi(e,t,n)}function ti(e,t){return e.parentNode(t)}function hc(e,t,n){return Md(e,t,n)}let Wa,Od,Ka,Md=function Ha(e,t,n){return 40&e.type?jn(e,n):null};function Vs(e,t,n,o){const a=uc(e,o,t),u=t[11],p=hc(o.parent||t[6],o,t);if(null!=a)if(Array.isArray(n))for(let v=0;v<n.length;v++)Ft(u,a,n[v],p,!1);else Ft(u,a,n,p,!1)}function uo(e,t){if(null!==t){const n=t.type;if(3&n)return jn(t,e);if(4&n)return js(-1,e[t.index]);if(8&n){const o=t.child;if(null!==o)return uo(e,o);{const a=e[t.index];return Sr(a)?js(-1,a):En(a)}}if(32&n)return ic(t,e)()||En(e[t.index]);{const o=Td(e,t);return null!==o?Array.isArray(o)?o[0]:uo(Bs(e[16]),o):uo(e,t.next)}}return null}function Td(e,t){return null!==t?e[16][6].projection[t.projection]:null}function js(e,t){const n=10+e+1;if(n<t.length){const o=t[n],a=o[1].firstChild;if(null!==a)return uo(o,a)}return t[7]}function $a(e,t,n,o,a,u,h){for(;null!=n;){const p=o[n.index],v=n.type;if(h&&0===t&&(p&&zn(En(p),o),n.flags|=2),32!=(32&n.flags))if(8&v)$a(e,t,n.child,o,a,u,!1),Ur(t,e,a,p,u);else if(32&v){const b=ic(n,o);let S;for(;S=b();)Ur(t,e,a,S,u);Ur(t,e,a,p,u)}else 16&v?Id(e,t,o,n,a,u):Ur(t,e,a,p,u);n=h?n.projectionNext:n.next}}function Jo(e,t,n,o,a,u){$a(n,o,e.firstChild,t,a,u,!1)}function Id(e,t,n,o,a,u){const h=n[16],v=h[6].projection[o.projection];if(Array.isArray(v))for(let b=0;b<v.length;b++)Ur(t,e,a,v[b],u);else $a(e,t,v,h[3],a,u,!0)}function Ad(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Rd(e,t,n){const{mergedAttrs:o,classes:a,styles:u}=n;null!==o&&Is(e,t,o),null!==a&&Ad(e,t,a),null!==u&&function Zf(e,t,n){e.setAttribute(t,"style",n)}(e,t,u)}function mi(e){return function fc(){if(void 0===Wa&&(Wa=null,Dt.trustedTypes))try{Wa=Dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wa}()?.createHTML(e)||e}function Jf(e){Od=e}function ho(){if(void 0===Ka&&(Ka=null,Dt.trustedTypes))try{Ka=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ka}function qo(e){return ho()?.createHTML(e)||e}function gc(e){return ho()?.createScriptURL(e)||e}class Ui{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Z})`}}class Pd extends Ui{getTypeName(){return"HTML"}}class es extends Ui{getTypeName(){return"Style"}}class Xf extends Ui{getTypeName(){return"Script"}}class qf extends Ui{getTypeName(){return"URL"}}class Fd extends Ui{getTypeName(){return"ResourceURL"}}function _i(e){return e instanceof Ui?e.changingThisBreaksApplicationSecurity:e}function Vi(e,t){const n=function Hs(e){return e instanceof Ui&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Z})`)}return n===t}function ep(e){return new Pd(e)}function mc(e){return new es(e)}function tp(e){return new Xf(e)}function Nd(e){return new qf(e)}function Ld(e){return new Fd(e)}class kd{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(mi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class $s{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 o=this.inertDocument.createElement("body");n.appendChild(o)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=mi(t),n;const o=this.inertDocument.createElement("body");return o.innerHTML=mi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(o),o}stripCustomNsAttrs(t){const n=t.attributes;for(let a=n.length-1;0<a;a--){const h=n.item(a).name;("xmlns:ns1"===h||0===h.indexOf("ns1:"))&&t.removeAttribute(h)}let o=t.firstChild;for(;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling}}const Bd=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Za(e){return(e=String(e)).match(Bd)?e:"unsafe:"+e}function vi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zs(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const Ud=vi("area,br,col,hr,img,wbr"),Vd=vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jd=vi("rp,rt"),_c=zs(Ud,zs(Vd,vi("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")),zs(jd,vi("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")),zs(jd,Vd)),vc=vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yc=zs(vc,vi("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vi("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")),Ec=vi("script,style,template");class bc{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,o=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=this.checkClobberedElement(n,n.nextSibling);if(a){n=a;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!_c.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ec.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let a=0;a<o.length;a++){const u=o.item(a),h=u.name,p=h.toLowerCase();if(!yc.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=u.value;vc[p]&&(v=Za(v)),this.buf.push(" ",h,'="',Dc(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();_c.hasOwnProperty(n)&&!Ud.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Dc(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 yi=/[���-���][���-���]/g,ts=/([^\#-~ |!])/g;function Dc(e){return e.replace(/&/g,"&").replace(yi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ts,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ws;function Hd(e,t){let n=null;try{Ws=Ws||function ni(e){const t=new $s(e);return function Ya(){try{return!!(new window.DOMParser).parseFromString(mi(""),"text/html")}catch{return!1}}()?new kd(t):t}(e);let o=t?String(t):"";n=Ws.getInertBodyElement(o);let a=5,u=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=u,u=n.innerHTML,n=Ws.getInertBodyElement(o)}while(o!==u);return mi((new bc).sanitizeChildren(ji(n)||n))}finally{if(n){const o=ji(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function ji(e){return"content"in e&&function $d(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wn=(()=>((wn=wn||{})[wn.NONE=0]="NONE",wn[wn.HTML=1]="HTML",wn[wn.STYLE=2]="STYLE",wn[wn.SCRIPT=3]="SCRIPT",wn[wn.URL=4]="URL",wn[wn.RESOURCE_URL=5]="RESOURCE_URL",wn))();function Gs(e){const t=ns();return t?qo(t.sanitize(wn.HTML,e)||""):Vi(e,"HTML")?qo(_i(e)):Hd(function xd(){return void 0!==Od?Od:typeof document<"u"?document:void 0}(),me(e))}function Ks(e){const t=ns();return t?t.sanitize(wn.URL,e)||"":Vi(e,"URL")?_i(e):Za(me(e))}function wc(e){const t=ns();if(t)return gc(t.sanitize(wn.RESOURCE_URL,e)||"");if(Vi(e,"ResourceURL"))return gc(_i(e));throw new H(904,!1)}function Wd(e,t,n){return function Ys(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?wc:Ks}(t,n)(e)}function ns(){const e=xe();return e&&e[12]}const Qa=new an("ENVIRONMENT_INITIALIZER"),Mc=new an("INJECTOR",-1),Tc=new an("INJECTOR_DEF_TYPES");class Kd{get(t,n=Sn){if(n===Sn){const o=new Error(`NullInjectorError: No provider for ${x(t)}!`);throw o.name="NullInjectorError",o}return n}}function Zs(e){return{ɵproviders:e}}function Ja(...e){return{ɵproviders:Ic(0,e),ɵfromNgModule:!0}}function Ic(e,...t){const n=[],o=new Set;let a;return Br(t,u=>{const h=u;Ac(h,n,[],o)&&(a||(a=[]),a.push(h))}),void 0!==a&&Yd(a,n),n}function Yd(e,t){for(let n=0;n<e.length;n++){const{providers:a}=e[n];Xa(a,u=>{t.push(u)})}}function Ac(e,t,n,o){if(!(e=A(e)))return!1;let a=null,u=pe(e);const h=!u&&Ut(e);if(u||h){if(h&&!h.standalone)return!1;a=e}else{const v=e.ngModule;if(u=pe(v),!u)return!1;a=v}const p=o.has(a);if(h){if(p)return!1;if(o.add(a),h.dependencies){const v="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const b of v)Ac(b,t,n,o)}}else{if(!u)return!1;{if(null!=u.imports&&!p){let b;o.add(a);try{Br(u.imports,S=>{Ac(S,t,n,o)&&(b||(b=[]),b.push(S))})}finally{}void 0!==b&&Yd(b,t)}if(!p){const b=Tr(a)||(()=>new a);t.push({provide:a,useFactory:b,deps:it},{provide:Tc,useValue:a,multi:!0},{provide:Qa,useValue:()=>At(a),multi:!0})}const v=u.providers;null==v||p||Xa(v,S=>{t.push(S)})}}return a!==e&&void 0!==e.providers}function Xa(e,t){for(let n of e)K(n)&&(n=n.ɵproviders),Array.isArray(n)?Xa(n,t):t(n)}const Sm=B({provide:String,useValue:B});function Zd(e){return null!==e&&"object"==typeof e&&Sm in e}function Ei(e){return"function"==typeof e}const Rc=new an("Set Injector scope."),qa={},Oc={};let fr;function Qs(){return void 0===fr&&(fr=new Kd),fr}class Vr{}class Qd extends Vr{constructor(t,n,o,a){super(),this.parent=n,this.source=o,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pc(t,h=>this.processProvider(h)),this.records.set(Mc,rs(void 0,this)),a.has("environment")&&this.records.set(Vr,rs(void 0,this));const u=this.records.get(Rc);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Tc.multi,it,Qe.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=st(this),o=on(void 0);try{return t()}finally{st(n),on(o)}}get(t,n=Sn,o=Qe.Default){this.assertNotDestroyed(),o=C(o);const a=st(this),u=on(void 0);try{if(!(o&Qe.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function ap(e){return"function"==typeof e||"object"==typeof e&&e instanceof an}(t)&&J(t);p=v&&this.injectableDefInScope(v)?rs(xc(t),qa):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(o&Qe.Self?Qs():this.parent).get(t,n=o&Qe.Optional&&n===Sn?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[On]=h[On]||[]).unshift(x(t)),a)throw h;return function $e(e,t,n,o){const a=e[On];throw t[le]&&a.unshift(t[le]),e.message=function ut(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let a=x(t);if(Array.isArray(t))a=t.map(x).join(" -> ");else if("object"==typeof t){let u=[];for(let h in t)if(t.hasOwnProperty(h)){let p=t[h];u.push(h+":"+("string"==typeof p?JSON.stringify(p):x(p)))}a=`{${u.join(", ")}}`}return`${n}${o?"("+o+")":""}[${a}]: ${e.replace(Ue,"\n ")}`}("\n"+e.message,a,n,o),e.ngTokenPath=a,e[On]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{on(u),st(a)}}resolveInjectorInitializers(){const t=st(this),n=on(void 0);try{const o=this.get(Qa.multi,it,Qe.Self);for(const a of o)a()}finally{st(t),on(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(x(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let n=Ei(t=A(t))?t:A(t&&t.provide);const o=function el(e){return Zd(e)?rs(void 0,e.useValue):rs(Xd(e),qa)}(t);if(Ei(t)||!0!==t.multi)this.records.get(n);else{let a=this.records.get(n);a||(a=rs(void 0,qa,!0),a.factory=()=>T(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===qa&&(n.value=Oc,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Js(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function xc(e){const t=J(e),n=null!==t?t.factory:Tr(e);if(null!==n)return n;if(e instanceof an)throw new H(204,!1);if(e instanceof Function)return function Jd(e){const t=e.length;if(t>0)throw zo(t,"?"),new H(204,!1);const n=function Be(e){const t=e&&(e[Pe]||e[Ge]);if(t){const n=function ne(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 H(204,!1)}function Xd(e,t,n){let o;if(Ei(e)){const a=A(e);return Tr(a)||xc(a)}if(Zd(e))o=()=>A(e.useValue);else if(function op(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...T(e.deps||[]));else if(function ip(e){return!(!e||!e.useExisting)}(e))o=()=>At(A(e.useExisting));else{const a=A(e&&(e.useClass||e.provide));if(!function is(e){return!!e.deps}(e))return Tr(a)||xc(a);o=()=>new a(...T(e.deps))}return o}function rs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Pc(e,t){for(const n of e)Array.isArray(n)?Pc(n,t):n&&K(n)?Pc(n.ɵproviders,t):t(n)}class Xs{}class os{}class cp{resolveComponentFactory(t){throw function lp(e){const t=Error(`No component factory found for ${x(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let qs=(()=>{class e{}return e.NULL=new cp,e})();function up(){return ea(Fn(),xe())}function ea(e,t){return new ta(jn(e,t))}let ta=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=up,e})();function Fc(e){return e instanceof ta?e.nativeElement:e}class po{}let dp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function hp(){const e=xe(),n=Et(Fn().index,e);return(Pn(n)?n:e)[11]}(),e})(),fp=(()=>{class e{}return e.ɵprov=St({token:e,providedIn:"root",factory:()=>null}),e})();class eh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const th=new eh("15.0.0+forAIOLocalBuildToAvoidMismatch"),Lc={};function Bc(e){return e.ngOriginalError}class ss{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Bc(t);for(;n&&Bc(n);)n=Bc(n);return n||null}}function na(e){return e.ownerDocument.defaultView}function rh(e){return e.ownerDocument}function bi(e){return e instanceof Function?e():e}function ls(e,t,n){let o=e.length;for(;;){const a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const u=t.length;if(a+u===o||e.charCodeAt(a+u)<=32)return a}n=a+1}}const oh="ng-template";function Ep(e,t,n){let o=0;for(;o<e.length;){let a=e[o++];if(n&&"class"===a){if(a=e[o],-1!==ls(a.toLowerCase(),t,0))return!0}else if(1===a){for(;o<e.length&&"string"==typeof(a=e[o++]);)if(a.toLowerCase()===t)return!0;return!1}}return!1}function sh(e){return 4===e.type&&e.value!==oh}function bp(e,t,n){return t===(4!==e.type||n?e.value:oh)}function Dp(e,t,n){let o=4;const a=e.attrs||[],u=function Sp(e){for(let t=0;t<e.length;t++)if(Uu(e[t]))return t;return e.length}(a);let h=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!h)if(4&o){if(o=2|1&o,""!==v&&!bp(e,v,n)||""===v&&1===t.length){if(Ar(o))return!1;h=!0}}else{const b=8&o?v:t[++p];if(8&o&&null!==e.attrs){if(!Ep(e.attrs,b,n)){if(Ar(o))return!1;h=!0}continue}const k=wp(8&o?"class":v,a,sh(e),n);if(-1===k){if(Ar(o))return!1;h=!0;continue}if(""!==b){let ee;ee=k>u?"":a[k+1].toLowerCase();const he=8&o?ee:null;if(he&&-1!==ls(he,b,0)||2&o&&b!==ee){if(Ar(o))return!1;h=!0}}}}else{if(!h&&!Ar(o)&&!Ar(v))return!1;if(h&&Ar(v))continue;h=!1,o=v|1&o}}return Ar(o)||h}function Ar(e){return 0==(1&e)}function wp(e,t,n,o){if(null===t)return-1;let a=0;if(o||!n){let u=!1;for(;a<t.length;){const h=t[a];if(h===e)return a;if(3===h||6===h)u=!0;else{if(1===h||2===h){let p=t[++a];for(;"string"==typeof p;)p=t[++a];continue}if(4===h)break;if(0===h){a+=4;continue}}a+=u?1:2}return-1}return function Mp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const o=e[n];if("number"==typeof o)return-1;if(o===t)return n;n++}return-1}(t,e)}function ah(e,t,n=!1){for(let o=0;o<t.length;o++)if(Dp(e,t[o],n))return!0;return!1}function Tp(e,t){e:for(let n=0;n<t.length;n++){const o=t[n];if(e.length===o.length){for(let a=0;a<e.length;a++)if(e[a]!==o[a])continue e;return!0}}return!1}function lh(e,t){return e?":not("+t.trim()+")":t}function ch(e){let t=e[0],n=1,o=2,a="",u=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&o){const p=e[++n];a+="["+h+(p.length>0?'="'+p+'"':"")+"]"}else 8&o?a+="."+h:4&o&&(a+=" "+h);else""!==a&&!Ar(h)&&(t+=lh(u,a),a=""),o=h,u=u||!Ar(o);n++}return""!==a&&(t+=lh(u,a)),t}const Tt={};function Ap(e){Hc(Bt(),xe(),E()+e,!1)}function Hc(e,t,n,o){if(!o)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&Yt(t,u,n)}else{const u=e.preOrderHooks;null!==u&&kt(t,u,0,n)}M(n)}function zc(e,t=null,n=null,o){const a=gh(e,t,n,o);return a.resolveInjectorInitializers(),a}function gh(e,t=null,n=null,o,a=new Set){const u=[n||it,Ja(e)];return o=o||("object"==typeof e?void 0:x(e)),new Qd(u,t||Qs(),o||null,a)}let Hi=(()=>{class e{static create(n,o){if(Array.isArray(n))return zc({name:""},o,n,"");{const a=n.name??"";return zc({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=Sn,e.NULL=new Kd,e.ɵprov=St({token:e,providedIn:"any",factory:()=>At(Mc)}),e.__NG_ELEMENT_ID__=-1,e})();function $i(e,t=Qe.Default){const n=xe();return null===n?At(e,t):$l(Fn(),n,A(e),t)}function Zc(){throw new Error("invalid")}function Qc(e,t){return e<<17|t<<2}function Rr(e){return e>>17&32767}function Xc(e){return 2|e}function zi(e){return(131068&e)>>2}function Mh(e,t){return-131069&e|t<<2}function ol(e){return 1|e}function mn(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;o<n.length;o+=2){const a=n[o],u=n[o+1];if(-1!==u){const h=e.data[u];Po(a),h.contentQueries(2,t[u],u)}}}function Di(e,t,n,o,a,u,h,p,v,b,S){const k=t.blueprint.slice();return k[0]=a,k[2]=76|o,(null!==S||e&&1024&e[2])&&(k[2]|=1024),Ao(k),k[3]=k[15]=e,k[8]=n,k[10]=h||e&&e[10],k[11]=p||e&&e[11],k[12]=v||e&&e[12]||null,k[9]=b||e&&e[9]||null,k[6]=u,k[20]=function Vf(){return Uf++}(),k[21]=S,k[16]=2==t.type?e[16]:k,k}function ar(e,t,n,o,a){let u=e.data[t];if(null===u)u=function Yn(e,t,n,o,a){const u=ws(),h=to(),v=e.data[t]=function Bn(e,t,n,o,a,u){return{type:n,index:o,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:a,attrs:u,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,h?u:u&&u.parent,n,t,o,a);return null===e.firstChild&&(e.firstChild=v),null!==u&&(h?null==u.child&&null!==v.parent&&(u.child=v):null===u.next&&(u.next=v)),v}(e,t,n,o,a),function Ln(){return et.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=o,u.attrs=a;const h=function dr(){const e=et.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===h?-1:h.injectorIndex}return Nr(u,!0),u}function br(e,t,n,o){if(0===n)return-1;const a=t.length;for(let u=0;u<n;u++)t.push(o),e.blueprint.push(o),e.data.push(null);return a}function jr(e,t,n){Da(t);try{const o=e.viewQuery;null!==o&&Kp(1,o,n);const a=e.template;null!==a&&iu(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&mn(e,t),e.staticViewQueries&&Kp(2,e.viewQuery,n);const u=e.components;null!==u&&function Kn(e,t){for(let n=0;n<t.length;n++)C0(e,t[n])}(t,u)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[2]&=-5,Ca()}}function Or(e,t,n,o){const a=t[2];if(128!=(128&a)){Da(t);try{Ao(t),function Nu(e){return et.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&iu(e,t,n,2,o);const h=3==(3&a);if(h){const b=e.preOrderCheckHooks;null!==b&&Yt(t,b,null)}else{const b=e.preOrderHooks;null!==b&&kt(t,b,0,null),tn(t,0)}if(function D0(e){for(let t=Ba(e);null!==t;t=Ot(t)){if(!t[2])continue;const n=t[9];for(let o=0;o<n.length;o++){const a=n[o],u=a[3];0==(512&a[2])&&Ro(u,1),a[2]|=512}}}(t),function b0(e){for(let t=Ba(e);null!==t;t=Ot(t))for(let n=10;n<t.length;n++){const o=t[n],a=o[1];Io(o)&&Or(a,o,a.template,o[8])}}(t),null!==e.contentQueries&&mn(e,t),h){const b=e.contentCheckHooks;null!==b&&Yt(t,b)}else{const b=e.contentHooks;null!==b&&kt(t,b,1),tn(t,1)}!function Jt(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let o=0;o<n.length;o++){const a=n[o];if(a<0)M(~a);else{const u=a,h=n[++o],p=n[++o];Lu(h,u),p(2,t[u])}}}finally{M(-1)}}(e,t);const p=e.components;null!==p&&function Gn(e,t){for(let n=0;n<t.length;n++)w0(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&Kp(2,v,o),h){const b=e.viewCheckHooks;null!==b&&Yt(t,b)}else{const b=e.viewHooks;null!==b&&kt(t,b,2),tn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ro(t[3],-1))}finally{Ca()}}}function iu(e,t,n,o,a){const u=E(),h=2&o;try{M(-1),h&&t.length>22&&Hc(e,t,22,!1),n(o,a)}finally{M(u)}}function _o(e,t,n){if(ms(t)){const a=t.directiveEnd;for(let u=t.directiveStart;u<a;u++){const h=e.data[u];h.contentQueries&&h.contentQueries(1,n[u],u)}}}function wi(e,t,n){!Ol()||(function d0(e,t,n,o){const a=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||Ma(n,t),zn(o,t);const h=n.initialInputs;for(let p=a;p<u;p++){const v=e.data[p],b=rr(v);b&&v0(t,n,v);const S=no(t,e,p,n);zn(S,t),null!==h&&y0(0,p-a,S,v,0,h),b&&(Et(n.index,t)[8]=S)}}(e,t,n,jn(n,t)),64==(64&n.flags)&&jm(e,t,n))}function sl(e,t,n=jn){const o=t.localNames;if(null!==o){let a=t.index+1;for(let u=0;u<o.length;u+=2){const h=o[u+1],p=-1===h?n(t,e):e[h];e[a++]=p}}}function ou(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=tt(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function tt(e,t,n,o,a,u,h,p,v,b){const S=22+o,k=S+a,ee=function ft(e,t){const n=[];for(let o=0;o<t;o++)n.push(o<e?null:Tt);return n}(S,k),he="function"==typeof b?b():b;return ee[1]={type:e,blueprint:ee,template:n,queries:null,viewQuery:p,declTNode:t,data:ee.slice().fill(null,S),bindingStartIndex:S,expandoStartIndex:k,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 u?u():u,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:v,consts:he,incompleteFirstPass:!1}}function Vt(e,t,n,o){const a=$m(t);null===n?a.push(o):(a.push(n),e.firstCreatePass&&zm(e).push(o,a.length-1))}function Hr(e,t,n,o){for(let a in e)if(e.hasOwnProperty(a)){n=null===n?{}:n;const u=e[a];null===o?pr(n,t,a,u):o.hasOwnProperty(a)&&pr(n,t,o[a],u)}return n}function pr(e,t,n,o){e.hasOwnProperty(n)?e[n].push(t,o):e[n]=[t,o]}function gr(e,t,n,o,a,u,h,p){const v=jn(t,n);let S,b=t.inputs;!p&&null!=b&&(S=b[o])?(Yp(e,n,S,o,a),bo(t)&&xh(n,t.index)):3&t.type&&(o=function _n(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),a=null!=h?h(a,t.value||"",o):a,u.setProperty(v,o,a))}function xh(e,t){const n=Et(t,e);16&n[2]||(n[2]|=32)}function mr(e,t,n,o){let a=!1;if(Ol()){const u=null===o?null:{"":-1},h=function f0(e,t){const n=e.directiveRegistry;let o=null,a=null;if(n)for(let u=0;u<n.length;u++){const h=n[u];if(ah(t,h.selectors,!1))if(o||(o=[]),rr(h))if(null!==h.findHostDirectiveDefs){const p=[];a=a||new Map,h.findHostDirectiveDefs(h,p,a),o.unshift(...p,h),$p(e,t,p.length)}else o.unshift(h),$p(e,t,0);else a=a||new Map,h.findHostDirectiveDefs?.(h,o,a),o.push(h)}return null===o?null:[o,a]}(e,n);let p,v;null===h?p=v=null:[p,v]=h,null!==p&&(a=!0,oa(e,t,n,p,u,v)),u&&function p0(e,t,n){if(t){const o=e.localNames=[];for(let a=0;a<t.length;a+=2){const u=n[t[a+1]];if(null==u)throw new H(-301,!1);o.push(t[a],u)}}}(n,o,u)}return n.mergedAttrs=ko(n.mergedAttrs,n.attrs),a}function oa(e,t,n,o,a,u){for(let b=0;b<o.length;b++)jl(Ma(n,t),e,o[b].type);!function m0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,o.length);for(let b=0;b<o.length;b++){const S=o[b];S.providersResolver&&S.providersResolver(S)}let h=!1,p=!1,v=br(e,t,o.length,null);for(let b=0;b<o.length;b++){const S=o[b];n.mergedAttrs=ko(n.mergedAttrs,S.hostAttrs),_0(e,n,t,v,S),g0(v,S,a),null!==S.contentQueries&&(n.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(n.flags|=64);const k=S.type.prototype;!h&&(k.ngOnChanges||k.ngOnInit||k.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!p&&(k.ngOnChanges||k.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function Wi(e,t,n){const a=t.directiveEnd,u=e.data,h=t.attrs,p=[];let v=null,b=null;for(let S=t.directiveStart;S<a;S++){const k=u[S],ee=n?n.get(k):null,De=ee?ee.outputs:null;v=Hr(k.inputs,S,v,ee?ee.inputs:null),b=Hr(k.outputs,S,b,De);const Ve=null===v||null===h||sh(t)?null:E0(v,S,h);p.push(Ve)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=v,t.outputs=b}(e,n,u)}function jm(e,t,n){const o=n.directiveStart,a=n.directiveEnd,u=n.index,h=function ku(){return et.lFrame.currentDirectiveIndex}();try{M(u);for(let p=o;p<a;p++){const v=e.data[p],b=t[p];Cs(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&h0(v,b)}}finally{M(-1),Cs(h)}}function h0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $p(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function g0(e,t,n){if(n){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)n[t.exportAs[o]]=e;rr(t)&&(n[""]=e)}}function _0(e,t,n,o,a){e.data[o]=a;const u=a.factory||(a.factory=Tr(a.type)),h=new hr(u,rr(a),$i);e.blueprint[o]=h,n[o]=h,function su(e,t,n,o,a){const u=a.hostBindings;if(u){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const p=~t.index;(function u0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=p&&h.push(p),h.push(n,o,u)}}(e,t,o,br(e,n,a.hostVars,Tt),a)}function v0(e,t,n){const o=jn(t,e),a=ou(n),u=e[10],h=Ph(e,Di(e,a,null,n.onPush?32:16,o,t,u,u.createRenderer(o,n),null,null,null));e[t.index]=h}function Gi(e,t,n,o,a,u){const h=jn(e,t);!function zp(e,t,n,o,a,u,h){if(null==u)e.removeAttribute(t,a,n);else{const p=null==h?me(u):h(u,o||"",a);e.setAttribute(t,a,p,n)}}(t[11],h,u,e.value,n,o,a)}function y0(e,t,n,o,a,u){const h=u[t];if(null!==h){const p=o.setInput;for(let v=0;v<h.length;){const b=h[v++],S=h[v++],k=h[v++];null!==p?o.setInput(n,k,b,S):n[S]=k}}}function E0(e,t,n){let o=null,a=0;for(;a<n.length;){const u=n[a];if(0!==u)if(5!==u){if("number"==typeof u)break;if(e.hasOwnProperty(u)){null===o&&(o=[]);const h=e[u];for(let p=0;p<h.length;p+=2)if(h[p]===t){o.push(u,h[p+1],n[a+1]);break}}a+=2}else a+=2;else a+=4}return o}function Hm(e,t,n,o){return new Array(e,!0,!1,t,null,0,o,n,null,null)}function w0(e,t){const n=Et(t,e);if(Io(n)){const o=n[1];48&n[2]?Or(o,n,o.template,n[8]):n[5]>0&&Wp(n)}}function Wp(e){for(let o=Ba(e);null!==o;o=Ot(o))for(let a=10;a<o.length;a++){const u=o[a];if(Io(u))if(512&u[2]){const h=u[1];Or(h,u,h.template,u[8])}else u[5]>0&&Wp(u)}const n=e[1].components;if(null!==n)for(let o=0;o<n.length;o++){const a=Et(n[o],e);Io(a)&&a[5]>0&&Wp(a)}}function C0(e,t){const n=Et(t,e),o=n[1];(function S0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(o,n),jr(o,n,n[8])}function Ph(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gp(e){for(;e;){e[2]|=32;const t=Bs(e);if(ua(e)&&!t)return e;e=t}return null}function Fh(e,t,n,o=!0){const a=t[10];a.begin&&a.begin();try{Or(e,t,e.template,n)}catch(h){throw o&&Gm(t,h),h}finally{a.end&&a.end()}}function Kp(e,t,n){Po(0),t(e,n)}function $m(e){return e[7]||(e[7]=[])}function zm(e){return e.cleanup||(e.cleanup=[])}function Wm(e,t,n){return(null===e||rr(e))&&(n=function Mo(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Gm(e,t){const n=e[9],o=n?n.get(ss,null):null;o&&o.handleError(t)}function Yp(e,t,n,o,a){for(let u=0;u<n.length;){const h=n[u++],p=n[u++],v=t[h],b=e.data[h];null!==b.setInput?b.setInput(v,a,o,p):v[p]=a}}function vo(e,t,n){const o=bs(t,e);!function bd(e,t,n){e.setValue(t,n)}(e[11],o,n)}function Nh(e,t,n){let o=n?e.styles:null,a=n?e.classes:null,u=0;if(null!==t)for(let h=0;h<t.length;h++){const p=t[h];"number"==typeof p?u=p:1==u?a=F(a,p):2==u&&(o=F(o,p+": "+t[++h]+";"))}n?e.styles=o:e.stylesWithoutHost=o,n?e.classes=a:e.classesWithoutHost=a}function Lh(e,t,n,o,a=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&o.push(En(u)),Sr(u))for(let p=10;p<u.length;p++){const v=u[p],b=v[1].firstChild;null!==b&&Lh(v[1],v,b,o)}const h=n.type;if(8&h)Lh(e,t,n.child,o);else if(32&h){const p=ic(n,t);let v;for(;v=p();)o.push(v)}else if(16&h){const p=Td(t,n);if(Array.isArray(p))o.push(...p);else{const v=Bs(t[16]);Lh(v[1],v,p,o,!0)}}n=a?n.projectionNext:n.next}return o}class au{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 Lh(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Sr(t)){const n=t[8],o=n?n.indexOf(this):-1;o>-1&&(ja(t,o),Ps(n,o))}this._attachedToViewContainer=!1}lc(this._lView[1],this._lView)}onDestroy(t){Vt(this._lView[1],this._lView,null,t)}markForCheck(){Gp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Fh(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(e,t){Jo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class M0 extends au{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Fh(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Zp extends qs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new lu(n,this.ngModule)}}function Km(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class I0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=C(o);const a=this.injector.get(t,Lc,o);return a!==Lc||n===Lc?a:this.parentInjector.get(t,n,o)}}class lu extends os{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ip(e){return e.map(ch).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Km(this.componentDef.inputs)}get outputs(){return Km(this.componentDef.outputs)}create(t,n,o,a){let u=(a=a||this.ngModule)instanceof Vr?a:a?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const h=u?new I0(t,u):t,p=h.get(po,null);if(null===p)throw new H(407,!1);const v=h.get(fp,null),b=p.createRenderer(null,this.componentDef),S=this.componentDef.selectors[0][0]||"div",k=o?function bt(e,t,n){return e.selectRootElement(t,n===Zt.ShadowDom)}(b,o,this.componentDef.encapsulation):Ua(b,S,function T0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(S)),ee=this.componentDef.onPush?288:272,he=tt(0,null,null,1,0,null,null,null,null,null),De=Di(null,he,null,ee,null,null,p,b,v,h,null);let Ve,We;Da(De);try{const Xe=this.componentDef;let pt,Fe=null;Xe.findHostDirectiveDefs?(pt=[],Fe=new Map,Xe.findHostDirectiveDefs(Xe,pt,Fe),pt.push(Xe)):pt=[Xe];const Ct=function O0(e,t){const n=e[1];return e[22]=t,ar(n,22,2,"#host",null)}(De,k),ln=function x0(e,t,n,o,a,u,h,p){const v=a[1];!function P0(e,t,n,o){for(const a of e)t.mergedAttrs=ko(t.mergedAttrs,a.hostAttrs);null!==t.mergedAttrs&&(Nh(t,t.mergedAttrs,!0),null!==n&&Rd(o,n,t))}(o,e,t,h);const b=u.createRenderer(t,n),S=Di(a,ou(n),null,n.onPush?32:16,a[e.index],e,u,b,p||null,null,null);return v.firstCreatePass&&$p(v,e,o.length-1),Ph(a,S),a[e.index]=S}(Ct,k,Xe,pt,De,p,b);We=To(he,22),k&&function N0(e,t,n,o){if(o)Is(e,n,["ng-version",th.full]);else{const{attrs:a,classes:u}=function uh(e){const t=[],n=[];let o=1,a=2;for(;o<e.length;){let u=e[o];if("string"==typeof u)2===a?""!==u&&t.push(u,e[++o]):8===a&&n.push(u);else{if(!Ar(a))break;a=u}o++}return{attrs:t,classes:n}}(t.selectors[0]);a&&Is(e,n,a),u&&u.length>0&&Ad(e,n,u.join(" "))}}(b,Xe,k,o),void 0!==n&&function L0(e,t,n){const o=e.projection=[];for(let a=0;a<t.length;a++){const u=n[a];o.push(null!=u?Array.from(u):null)}}(We,this.ngContentSelectors,n),Ve=function F0(e,t,n,o,a,u){const h=Fn(),p=a[1],v=jn(h,a);oa(p,a,h,n,null,o);for(let S=0;S<n.length;S++)zn(no(a,p,h.directiveStart+S,h),a);jm(p,a,h),v&&zn(v,a);const b=no(a,p,h.directiveStart+h.componentOffset,h);if(e[8]=a[8]=b,null!==u)for(const S of u)S(b,t);return _o(p,h,e),b}(ln,Xe,pt,Fe,De,[k0]),jr(he,De,null)}finally{Ca()}return new R0(this.componentType,Ve,ea(We,De),De,We)}}class R0 extends Xs{constructor(t,n,o,a,u){super(),this.location=o,this._rootLView=a,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new M0(a),this.componentType=t}setInput(t,n){const o=this._tNode.inputs;let a;if(null!==o&&(a=o[t])){const u=this._rootLView;Yp(u[1],u,a,t,n),xh(u,this._tNode.index)}}get injector(){return new Uo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function k0(){const e=Fn();Pt(xe()[1],e)}function Qp(e){let t=function Ym(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let a;if(rr(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new H(903,!1);a=t.ɵdir}if(a){if(n){o.push(a);const h=e;h.inputs=Jp(e.inputs),h.declaredInputs=Jp(e.declaredInputs),h.outputs=Jp(e.outputs);const p=a.hostBindings;p&&j0(e,p);const v=a.viewQuery,b=a.contentQueries;if(v&&U0(e,v),b&&V0(e,b),V(e.inputs,a.inputs),V(e.declaredInputs,a.declaredInputs),V(e.outputs,a.outputs),rr(a)&&a.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(a.data.animation)}}const u=a.features;if(u)for(let h=0;h<u.length;h++){const p=u[h];p&&p.ngInherit&&p(e),p===Qp&&(n=!1)}}t=Object.getPrototypeOf(t)}!function B0(e){let t=0,n=null;for(let o=e.length-1;o>=0;o--){const a=e[o];a.hostVars=t+=a.hostVars,a.hostAttrs=ko(a.hostAttrs,n=ko(n,a.hostAttrs))}}(o)}function Jp(e){return e===Wt?{}:e===it?[]:e}function U0(e,t){const n=e.viewQuery;e.viewQuery=n?(o,a)=>{t(o,a),n(o,a)}:t}function V0(e,t){const n=e.contentQueries;e.contentQueries=n?(o,a,u)=>{t(o,a,u),n(o,a,u)}:t}function j0(e,t){const n=e.hostBindings;e.hostBindings=n?(o,a)=>{t(o,a),n(o,a)}:t}let kh=null;function sa(){if(!kh){const e=Dt.Symbol;if(e&&e.iterator)kh=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const o=t[n];"entries"!==o&&"size"!==o&&Map.prototype[o]===Map.prototype.entries&&(kh=o)}}}return kh}function cu(e){return!!Xp(e)&&(Array.isArray(e)||!(e instanceof Map)&&sa()in e)}function Xp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ki(e,t,n){return e[t]=n}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function aa(e,t,n,o){const a=_r(e,t,n);return _r(e,t+1,o)||a}function qp(e,t,n,o){const a=xe();return _r(a,Zr(),t)&&(Bt(),Gi($(),a,e,t,n,o)),qp}function ll(e,t,n,o){return _r(e,Zr(),n)?t+me(n)+o:Tt}function cl(e,t,n,o,a,u){const p=aa(e,function $n(){return et.lFrame.bindingIndex}(),n,a);return at(2),p?t+me(n)+o+me(a)+u:Tt}function eg(e,t,n,o,a,u){const h=xe(),p=ll(h,t,n,o);return p!==Tt&&Gi($(),h,e,p,a,u),eg}function s_(e,t,n,o,a,u,h,p){const v=xe(),b=Bt(),S=e+22,k=b.firstCreatePass?function J0(e,t,n,o,a,u,h,p,v){const b=t.consts,S=ar(t,e,4,h||null,Fr(b,p));mr(t,n,S,Fr(b,v)),Pt(t,S);const k=S.tViews=tt(2,S,o,a,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,S),k.queries=t.queries.embeddedTView(S)),S}(S,b,v,t,n,o,a,u,h):b.data[S];Nr(k,!1);const ee=v[11].createComment("");Vs(b,v,ee,k),zn(ee,v),Ph(v,v[S]=Hm(ee,v,ee,k)),eo(k)&&wi(b,v,k),null!=h&&sl(v,k,p)}function a_(e){return Ai(function lt(){return et.lFrame.contextLView}(),22+e)}function tg(e,t,n){const o=xe();return _r(o,Zr(),t)&&gr(Bt(),$(),o,e,t,o[11],n,!1),tg}function ng(e,t,n,o,a){const h=a?"class":"style";Yp(e,n,t.inputs[h],h,o)}function Uh(e,t,n,o){const a=xe(),u=Bt(),h=22+e,p=a[11],v=a[h]=Ua(p,t,function $t(){return et.lFrame.currentNamespace}()),b=u.firstCreatePass?function q0(e,t,n,o,a,u,h){const p=t.consts,b=ar(t,e,2,a,Fr(p,u));return mr(t,n,b,Fr(p,h)),null!==b.attrs&&Nh(b,b.attrs,!1),null!==b.mergedAttrs&&Nh(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(h,u,a,0,t,n,o):u.data[h];return Nr(b,!0),Rd(p,v,b),32!=(32&b.flags)&&Vs(u,a,v,b),0===function xu(){return et.lFrame.elementDepthCount}()&&zn(v,a),function Pu(){et.lFrame.elementDepthCount++}(),eo(b)&&(wi(u,a,b),_o(u,b,a)),null!==o&&sl(a,b),Uh}function Vh(){let e=Fn();to()?Lr():(e=e.parent,Nr(e,!1));const t=e;!function Fu(){et.lFrame.elementDepthCount--}();const n=Bt();return n.firstCreatePass&&(Pt(n,e),ms(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function pf(e){return 0!=(8&e.flags)}(t)&&ng(n,t,xe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Bu(e){return 0!=(16&e.flags)}(t)&&ng(n,t,xe(),t.stylesWithoutHost,!1),Vh}function rg(e,t,n,o){return Uh(e,t,n,o),Vh(),rg}function jh(e,t,n){const o=xe(),a=Bt(),u=e+22,h=a.firstCreatePass?function eE(e,t,n,o,a){const u=t.consts,h=Fr(u,o),p=ar(t,e,8,"ng-container",h);return null!==h&&Nh(p,h,!0),mr(t,n,p,Fr(u,a)),null!==t.queries&&t.queries.elementStart(t,p),p}(u,a,o,t,n):a.data[u];Nr(h,!0);const p=o[u]=o[11].createComment("");return Vs(a,o,p,h),zn(p,o),eo(h)&&(wi(a,o,h),_o(a,h,o)),null!=n&&sl(o,h),jh}function Hh(){let e=Fn();const t=Bt();return to()?Lr():(e=e.parent,Nr(e,!1)),t.firstCreatePass&&(Pt(t,e),ms(e)&&t.queries.elementEnd(e)),Hh}function ig(e,t,n){return jh(e,t,n),Hh(),ig}function l_(){return xe()}function og(e){return!!e&&"function"==typeof e.then}function c_(e){return!!e&&"function"==typeof e.subscribe}const u_=c_;function sg(e,t,n,o){const a=xe(),u=Bt(),h=Fn();return d_(u,a,a[11],h,e,t,o),sg}function ag(e,t){const n=Fn(),o=xe(),a=Bt();return d_(a,o,Wm(Xn(a.data),n,o),n,e,t),ag}function d_(e,t,n,o,a,u,h){const p=eo(o),b=e.firstCreatePass&&zm(e),S=t[8],k=$m(t);let ee=!0;if(3&o.type||h){const Ve=jn(o,t),We=h?h(Ve):Ve,Xe=k.length,pt=h?Ct=>h(En(Ct[o.index])):o.index;let Fe=null;if(!h&&p&&(Fe=function tE(e,t,n,o){const a=e.cleanup;if(null!=a)for(let u=0;u<a.length-1;u+=2){const h=a[u];if(h===n&&a[u+1]===o){const p=t[7],v=a[u+2];return p.length>v?p[v]:null}"string"==typeof h&&(u+=2)}return null}(e,t,a,o.index)),null!==Fe)(Fe.__ngLastListenerFn__||Fe).__ngNextListenerFn__=u,Fe.__ngLastListenerFn__=u,ee=!1;else{u=f_(o,t,S,u,!1);const Ct=n.listen(We,a,u);k.push(u,Ct),b&&b.push(a,pt,Xe,Xe+1)}}else u=f_(o,t,S,u,!1);const he=o.outputs;let De;if(ee&&null!==he&&(De=he[a])){const Ve=De.length;if(Ve)for(let We=0;We<Ve;We+=2){const ln=t[De[We]][De[We+1]].subscribe(u),vn=k.length;k.push(u,ln),b&&b.push(a,o.index,vn,-(vn+1))}}}function h_(e,t,n,o){try{return!1!==n(o)}catch(a){return Gm(e,a),!1}}function f_(e,t,n,o,a){return function u(h){if(h===Function)return o;Gp(e.componentOffset>-1?Et(e.index,t):t);let v=h_(t,0,o,h),b=u.__ngNextListenerFn__;for(;b;)v=h_(t,0,b,h)&&v,b=b.__ngNextListenerFn__;return a&&!1===v&&(h.preventDefault(),h.returnValue=!1),v}}function p_(e=1){return function _(e){return(et.lFrame.contextLView=function w(e,t){for(;e>0;)t=t[15],e--;return t}(e,et.lFrame.contextLView))[8]}(e)}function nE(e,t){let n=null;const o=function Cp(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 a=0;a<t.length;a++){const u=t[a];if("*"!==u){if(null===o?ah(e,u,!0):Tp(o,u))return a}else n=a}return n}function g_(e){const t=xe()[16][6];if(!t.projection){const o=t.projection=zo(e?e.length:1,null),a=o.slice();let u=t.child;for(;null!==u;){const h=e?nE(u,e):0;null!==h&&(a[h]?a[h].projectionNext=u:o[h]=u,a[h]=u),u=u.next}}}function m_(e,t=0,n){const o=xe(),a=Bt(),u=ar(a,22+e,16,null,n||null);null===u.projection&&(u.projection=t),Lr(),32!=(32&u.flags)&&function Kf(e,t,n){Id(t[11],0,t,n,uc(e,n,t),hc(n.parent||t[6],n,t))}(a,o,u)}function lg(e,t,n){return $h(e,"",t,"",n),lg}function $h(e,t,n,o,a){const u=xe(),h=ll(u,t,n,o);return h!==Tt&&gr(Bt(),$(),u,e,h,u[11],a,!1),$h}function S_(e,t,n,o,a){const u=e[n+1],h=null===t;let p=o?Rr(u):zi(u),v=!1;for(;0!==p&&(!1===v||h);){const S=e[p+1];oE(e[p],t)&&(v=!0,e[p+1]=o?ol(S):Xc(S)),p=o?Rr(S):zi(S)}v&&(e[n+1]=o?Xc(u):ol(u))}function oE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Pi(e,t)>=0}const Zn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function M_(e){return e.substring(Zn.key,Zn.keyEnd)}function T_(e,t){const n=Zn.textEnd;return n===t?-1:(t=Zn.keyEnd=function cE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Zn.key=t,n),ml(e,t,n))}function ml(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cg(e,t,n){return Ci(e,t,n,!1),cg}function ug(e,t){return Ci(e,t,null,!0),ug}function x_(e){Si(Er,Zi,e,!0)}function Zi(e,t){for(let n=function aE(e){return function A_(e){Zn.key=0,Zn.keyEnd=0,Zn.value=0,Zn.valueEnd=0,Zn.textEnd=e.length}(e),T_(e,ml(e,0,Zn.textEnd))}(t);n>=0;n=T_(t,n))Er(e,M_(t),!0)}function Ci(e,t,n,o){const a=xe(),u=Bt(),h=at(2);u.firstUpdatePass&&F_(u,e,h,o),t!==Tt&&_r(a,h,t)&&L_(u,u.data[E()],a,a[11],e,a[h+1]=function yE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=x(_i(e)))),e}(t,n),o,h)}function Si(e,t,n,o){const a=Bt(),u=at(2);a.firstUpdatePass&&F_(a,null,u,o);const h=xe();if(n!==Tt&&_r(h,u,n)){const p=a.data[E()];if(B_(p,o)&&!P_(a,u)){let v=o?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=F(v,n||"")),ng(a,p,h,n,o)}else!function vE(e,t,n,o,a,u,h,p){a===Tt&&(a=it);let v=0,b=0,S=0<a.length?a[0]:null,k=0<u.length?u[0]:null;for(;null!==S||null!==k;){const ee=v<a.length?a[v+1]:void 0,he=b<u.length?u[b+1]:void 0;let Ve,De=null;S===k?(v+=2,b+=2,ee!==he&&(De=k,Ve=he)):null===k||null!==S&&S<k?(v+=2,De=S):(b+=2,De=k,Ve=he),null!==De&&L_(e,t,n,o,De,Ve,h,p),S=v<a.length?a[v]:null,k=b<u.length?u[b]:null}}(a,p,h,h[11],h[u+1],h[u+1]=function _E(e,t,n){if(null==n||""===n)return it;const o=[],a=_i(n);if(Array.isArray(a))for(let u=0;u<a.length;u++)e(o,a[u],!0);else if("object"==typeof a)for(const u in a)a.hasOwnProperty(u)&&e(o,u,a[u]);else"string"==typeof a&&t(o,a);return o}(e,t,n),o,u)}}function P_(e,t){return t>=e.expandoStartIndex}function F_(e,t,n,o){const a=e.data;if(null===a[n+1]){const u=a[E()],h=P_(e,n);B_(u,o)&&null===t&&!h&&(t=!1),t=function fE(e,t,n,o){const a=Xn(e);let u=o?t.residualClasses:t.residualStyles;if(null===a)0===(o?t.classBindings:t.styleBindings)&&(n=du(n=dg(null,e,t,n,o),t.attrs,o),u=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==a)if(n=dg(a,e,t,n,o),null===u){let v=function pE(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==zi(o))return e[Rr(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=dg(null,e,t,v[1],o),v=du(v,t.attrs,o),function gE(e,t,n,o){e[Rr(n?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else u=function mE(e,t,n){let o;const a=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<a;u++)o=du(o,e[u].hostAttrs,n);return du(o,t.attrs,n)}(e,t,o)}return void 0!==u&&(o?t.residualClasses=u:t.residualStyles=u),n}(a,u,t,o),function rE(e,t,n,o,a,u){let h=u?t.classBindings:t.styleBindings,p=Rr(h),v=zi(h);e[o]=n;let S,b=!1;if(Array.isArray(n)){const k=n;S=k[1],(null===S||Pi(k,S)>0)&&(b=!0)}else S=n;if(a)if(0!==v){const ee=Rr(e[p+1]);e[o+1]=Qc(ee,p),0!==ee&&(e[ee+1]=Mh(e[ee+1],o)),e[p+1]=function Jc(e,t){return 131071&e|t<<17}(e[p+1],o)}else e[o+1]=Qc(p,0),0!==p&&(e[p+1]=Mh(e[p+1],o)),p=o;else e[o+1]=Qc(v,0),0===p?p=o:e[v+1]=Mh(e[v+1],o),v=o;b&&(e[o+1]=Xc(e[o+1])),S_(e,S,o,!0),S_(e,S,o,!1),function iE(e,t,n,o,a){const u=a?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Pi(u,t)>=0&&(n[o+1]=ol(n[o+1]))}(t,S,e,o,u),h=Qc(p,v),u?t.classBindings=h:t.styleBindings=h}(a,u,t,n,h,o)}}function dg(e,t,n,o,a){let u=null;const h=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<h&&(u=t[p],o=du(o,u.hostAttrs,a),u!==e);)p++;return null!==e&&(n.directiveStylingLast=p),o}function du(e,t,n){const o=n?1:2;let a=-1;if(null!==t)for(let u=0;u<t.length;u++){const h=t[u];"number"==typeof h?a=h:a===o&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Er(e,h,!!n||t[++u]))}return void 0===e?null:e}function L_(e,t,n,o,a,u,h,p){if(!(3&t.type))return;const v=e.data,b=v[p+1];zh(function qc(e){return 1==(1&e)}(b)?k_(v,t,n,a,zi(b),h):void 0)||(zh(u)||function mo(e){return 2==(2&e)}(b)&&(u=k_(v,null,n,a,p,h)),function za(e,t,n,o,a){if(t)a?e.addClass(n,o):e.removeClass(n,o);else{let u=-1===o.indexOf("-")?void 0:Jr.DashCase;null==a?e.removeStyle(n,o,u):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),u|=Jr.Important),e.setStyle(n,o,a,u))}}(o,h,bs(E(),n),a,u))}function k_(e,t,n,o,a,u){const h=null===t;let p;for(;a>0;){const v=e[a],b=Array.isArray(v),S=b?v[1]:v,k=null===S;let ee=n[a+1];ee===Tt&&(ee=k?it:void 0);let he=k?qu(ee,o):S===o?ee:void 0;if(b&&!zh(he)&&(he=qu(v,o)),zh(he)&&(p=he,h))return p;const De=e[a+1];a=h?Rr(De):zi(De)}if(null!==t){let v=u?t.residualClasses:t.residualStyles;null!=v&&(p=qu(v,o))}return p}function zh(e){return void 0!==e}function B_(e,t){return 0!=(e.flags&(t?8:16))}function U_(e,t=""){const n=xe(),o=Bt(),a=e+22,u=o.firstCreatePass?ar(o,a,1,t,null):o.data[a],h=n[a]=function ac(e,t){return e.createText(t)}(n[11],t);Vs(o,n,h,u),Nr(u,!1)}function hg(e){return Wh("",e,""),hg}function Wh(e,t,n){const o=xe(),a=ll(o,e,t,n);return a!==Tt&&vo(o,E(),a),Wh}function fg(e,t,n,o,a){const u=xe(),h=cl(u,e,t,n,o,a);return h!==Tt&&vo(u,E(),h),fg}function K_(e,t,n){Si(Er,Zi,ll(xe(),e,t,n),!0)}function pg(e,t,n){const o=xe();if(_r(o,Zr(),t)){const u=Bt(),h=$();gr(u,h,o,e,t,Wm(Xn(u.data),h,o),n,!0)}return pg}const la=void 0;var BE=["en",[["a","p"],["AM","PM"],la],[["AM","PM"],la,la],[["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"]],la,[["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"]],la,[["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}",la,"{1} 'at' {0}",la],[".",",",";","%","+","-","E","\xd7","‰","∞","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kE(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let _l={};function gg(e){const t=function UE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ov(t);if(n)return n;const o=t.split("-")[0];if(n=ov(o),n)return n;if("en"===o)return BE;throw new H(701,!1)}function iv(e){return gg(e)[vt.PluralCase]}function ov(e){return e in _l||(_l[e]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[e]),_l[e]}var vt=(()=>((vt=vt||{})[vt.LocaleId=0]="LocaleId",vt[vt.DayPeriodsFormat=1]="DayPeriodsFormat",vt[vt.DayPeriodsStandalone=2]="DayPeriodsStandalone",vt[vt.DaysFormat=3]="DaysFormat",vt[vt.DaysStandalone=4]="DaysStandalone",vt[vt.MonthsFormat=5]="MonthsFormat",vt[vt.MonthsStandalone=6]="MonthsStandalone",vt[vt.Eras=7]="Eras",vt[vt.FirstDayOfWeek=8]="FirstDayOfWeek",vt[vt.WeekendRange=9]="WeekendRange",vt[vt.DateFormat=10]="DateFormat",vt[vt.TimeFormat=11]="TimeFormat",vt[vt.DateTimeFormat=12]="DateTimeFormat",vt[vt.NumberSymbols=13]="NumberSymbols",vt[vt.NumberFormats=14]="NumberFormats",vt[vt.CurrencyCode=15]="CurrencyCode",vt[vt.CurrencySymbol=16]="CurrencySymbol",vt[vt.CurrencyName=17]="CurrencyName",vt[vt.Currencies=18]="Currencies",vt[vt.Directionality=19]="Directionality",vt[vt.PluralCase=20]="PluralCase",vt[vt.ExtraData=21]="ExtraData",vt))();const vl="en-US";let sv=vl;function vg(e,t,n,o,a){if(e=A(e),Array.isArray(e))for(let u=0;u<e.length;u++)vg(e[u],t,n,o,a);else{const u=Bt(),h=xe();let p=Ei(e)?e:A(e.provide),v=Xd(e);const b=Fn(),S=1048575&b.providerIndexes,k=b.directiveStart,ee=b.providerIndexes>>20;if(Ei(e)||!e.multi){const he=new hr(v,a,$i),De=Eg(p,t,a?S:S+ee,k);-1===De?(jl(Ma(b,h),u,p),yg(u,e,t.length),t.push(p),b.directiveStart++,b.directiveEnd++,a&&(b.providerIndexes+=1048576),n.push(he),h.push(he)):(n[De]=he,h[De]=he)}else{const he=Eg(p,t,S+ee,k),De=Eg(p,t,S,S+ee),Ve=he>=0&&n[he],We=De>=0&&n[De];if(a&&!We||!a&&!Ve){jl(Ma(b,h),u,p);const Xe=function Lb(e,t,n,o,a){const u=new hr(e,n,$i);return u.multi=[],u.index=t,u.componentProviders=0,Ov(u,a,o&&!n),u}(a?Nb:Fb,n.length,a,o,v);!a&&We&&(n[De].providerFactory=Xe),yg(u,e,t.length,0),t.push(p),b.directiveStart++,b.directiveEnd++,a&&(b.providerIndexes+=1048576),n.push(Xe),h.push(Xe)}else yg(u,e,he>-1?he:De,Ov(n[a?De:he],v,!a&&o));!a&&o&&We&&n[De].componentProviders++}}}function yg(e,t,n,o){const a=Ei(t),u=function sp(e){return!!e.useClass}(t);if(a||u){const v=(u?A(t.useClass):t).prototype.ngOnDestroy;if(v){const b=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const S=b.indexOf(n);-1===S?b.push(n,[o,v]):b[S+1].push(o,v)}else b.push(n,v)}}}function Ov(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Eg(e,t,n,o){for(let a=n;a<o;a++)if(t[a]===e)return a;return-1}function Fb(e,t,n,o){return bg(this.multi,[])}function Nb(e,t,n,o){const a=this.multi;let u;if(this.providerFactory){const h=this.providerFactory.componentProviders,p=no(n,n[1],this.providerFactory.index,o);u=p.slice(0,h),bg(a,u);for(let v=h;v<p.length;v++)u.push(p[v])}else u=[],bg(a,u);return u}function bg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xv(e,t=[]){return n=>{n.providersResolver=(o,a)=>function Pb(e,t,n){const o=Bt();if(o.firstCreatePass){const a=rr(e);vg(n,o.data,o.blueprint,a,!0),vg(t,o.data,o.blueprint,a,!1)}}(o,a?a(e):e,t)}}class yl{}class Pv{}function Fv(e,t){return new Nv(e,t??null)}const kb=Fv;class Nv extends yl{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zp(this);const o=Qn(t);this._bootstrapComponents=bi(o.bootstrap),this._r3Injector=gh(t,n,[{provide:yl,useValue:this},{provide:qs,useValue:this.componentFactoryResolver}],x(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Dg extends Pv{constructor(t){super(),this.moduleType=t}create(t){return new Nv(this.moduleType,t)}}class Bb extends yl{constructor(t,n,o){super(),this.componentFactoryResolver=new Zp(this),this.instance=null;const a=new Qd([...t,{provide:yl,useValue:this},{provide:qs,useValue:this.componentFactoryResolver}],n||Qs(),o,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function wg(e,t,n=null){return new Bb(e,t,n).injector}let Ub=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const o=Ic(0,n.type),a=o.length>0?wg([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,a)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=St({token:e,providedIn:"environment",factory:()=>new e(At(Vr))}),e})();function Lv(e){e.getStandaloneInjector=t=>t.get(Ub).getOrCreateStandaloneInjector(e)}function $v(e,t,n,o){return Wv(xe(),Hn(),e,t,n,o)}function zv(e,t,n,o,a){return function Gv(e,t,n,o,a,u,h){const p=t+n;return aa(e,p,a,u)?Ki(e,p+2,h?o.call(h,a,u):o(a,u)):_u(e,p+2)}(xe(),Hn(),e,t,n,o,a)}function _u(e,t){const n=e[t];return n===Tt?void 0:n}function Wv(e,t,n,o,a,u){const h=t+n;return _r(e,h,a)?Ki(e,h+1,u?o.call(u,a):o(a)):_u(e,h+1)}function Qv(e,t){const n=Bt();let o;const a=e+22;n.firstCreatePass?(o=function nD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[a]=o,o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,o.onDestroy)):o=n.data[a];const u=o.factory||(o.factory=Tr(o.type)),h=on($i);try{const p=Sa(!1),v=u();return Sa(p),function X0(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,xe(),a,v),v}finally{on(h)}}function Jv(e,t,n){const o=e+22,a=xe(),u=Ai(a,o);return function vu(e,t){return e[1].data[t].pure}(a,o)?Wv(a,Hn(),t,u.transform,n,u):u.transform(n)}function Sg(e){return t=>{setTimeout(e,void 0,t)}}const Qi=class aD extends m.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let a=t,u=n||(()=>null),h=o;if(t&&"object"==typeof t){const v=t;a=v.next?.bind(v),u=v.error?.bind(v),h=v.complete?.bind(v)}this.__isAsync&&(u=Sg(u),a&&(a=Sg(a)),h&&(h=Sg(h)));const p=super.subscribe({next:a,error:u,complete:h});return t instanceof c.w0&&t.add(p),p}};function lD(){return this._results[sa()]()}class Qh{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=sa(),o=Qh.prototype;o[n]||(o[n]=lD)}get changes(){return this._changes||(this._changes=new Qi)}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 o=this;o.dirty=!1;const a=er(t);(this._changesDetected=!function Ef(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){let a=e[o],u=t[o];if(n&&(a=n(a),u=n(u)),u!==a)return!1}return!0}(o._results,a,n))&&(o._results=a,o.length=a.length,o.last=a[this.length-1],o.first=a[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let yu=(()=>{class e{}return e.__NG_ELEMENT_ID__=dD,e})();const cD=yu,uD=class extends cD{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tViews,a=Di(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);a[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(a[19]=h.createEmbeddedView(o)),jr(o,a,t),new au(a)}};function dD(){return Jh(Fn(),xe())}function Jh(e,t){return 4&e.type?new uD(t,e,ea(e,t)):null}let Xh=(()=>{class e{}return e.__NG_ELEMENT_ID__=hD,e})();function hD(){return ey(Fn(),xe())}const fD=Xh,Xv=class extends fD{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return ea(this._hostTNode,this._hostLView)}get injector(){return new Uo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vl(this._hostTNode,this._hostLView);if(kl(t)){const n=di(t,this._hostLView),o=Oi(t);return new Uo(n[1].data[o+8],n)}return new Uo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,o){let a,u;"number"==typeof o?a=o:null!=o&&(a=o.index,u=o.injector);const h=t.createEmbeddedView(n||{},u);return this.insert(h,a),h}createComponent(t,n,o,a,u){const h=t&&!function $o(e){return"function"==typeof e}(t);let p;if(h)p=n;else{const k=n||{};p=k.index,o=k.injector,a=k.projectableNodes,u=k.environmentInjector||k.ngModuleRef}const v=h?t:new lu(Ut(t)),b=o||this.parentInjector;if(!u&&null==v.ngModule){const ee=(h?b:this.parentInjector).get(Vr,null);ee&&(u=ee)}const S=v.create(b,a,void 0,u);return this.insert(S.hostView,p),S}insert(t,n){const o=t._lView,a=o[1];if(function Rl(e){return Sr(e[3])}(o)){const S=this.indexOf(t);if(-1!==S)this.detach(S);else{const k=o[3],ee=new Xv(k,k[6],k[3]);ee.detach(ee.indexOf(t))}}const u=this._adjustIndex(n),h=this._lContainer;!function ki(e,t,n,o){const a=10+o,u=n.length;o>0&&(n[a-1][4]=t),o<u-10?(t[4]=n[a],Ra(n,10+o,t)):(n.push(t),t[4]=null),t[3]=n;const h=t[17];null!==h&&n!==h&&function Va(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(h,t);const p=t[19];null!==p&&p.insertView(e),t[2]|=64}(a,o,h,u);const p=js(u,h),v=o[11],b=ti(v,h[7]);return null!==b&&function wd(e,t,n,o,a,u){o[0]=a,o[6]=t,Jo(e,o,n,1,a,u)}(a,h[6],v,o,b,p),t.attachToViewContainerRef(),Ra(Mg(h),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=qv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=ja(this._lContainer,n);o&&(Ps(Mg(this._lContainer),n),lc(o[1],o))}detach(t){const n=this._adjustIndex(t,-1),o=ja(this._lContainer,n);return o&&null!=Ps(Mg(this._lContainer),n)?new au(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function qv(e){return e[8]}function Mg(e){return e[8]||(e[8]=[])}function ey(e,t){let n;const o=t[e.index];if(Sr(o))n=o;else{let a;if(8&e.type)a=En(o);else{const u=t[11];a=u.createComment("");const h=jn(e,t);ei(u,ti(u,h),a,function Gf(e,t){return e.nextSibling(t)}(u,h),!1)}t[e.index]=n=Hm(o,t,a,e),Ph(t,n)}return new Xv(n,e,t)}class Tg{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ig{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let u=0;u<o;u++){const h=n.getByIndex(u);a.push(this.queries[h.indexInDeclarationView].clone())}return new Ig(a)}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 ty{constructor(t,n,o=null){this.predicate=t,this.flags=n,this.read=o}}class Ag{constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].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 o=0;o<this.length;o++){const a=null!==n?n.length:0,u=this.getByIndex(o).embeddedTView(t,a);u&&(u.indexInDeclarationView=o,null!==n?n.push(u):n=[u])}return null!==n?new Ag(n):null}template(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Rg{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 Rg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let o=t.parent;for(;null!==o&&8&o.type&&o.index!==n;)o=o.parent;return n===(null!==o?o.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const o=this.metadata.predicate;if(Array.isArray(o))for(let a=0;a<o.length;a++){const u=o[a];this.matchTNodeWithReadOption(t,n,mD(n,u)),this.matchTNodeWithReadOption(t,n,Bo(n,t,u,!1,!1))}else o===yu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bo(n,t,o,!1,!1))}matchTNodeWithReadOption(t,n,o){if(null!==o){const a=this.metadata.read;if(null!==a)if(a===ta||a===Xh||a===yu&&4&n.type)this.addMatch(n.index,-2);else{const u=Bo(n,t,a,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,o)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function mD(e,t){const n=e.localNames;if(null!==n)for(let o=0;o<n.length;o+=2)if(n[o]===t)return n[o+1];return null}function vD(e,t,n,o){return-1===n?function _D(e,t){return 11&e.type?ea(e,t):4&e.type?Jh(e,t):null}(t,e):-2===n?function yD(e,t,n){return n===ta?ea(t,e):n===yu?Jh(t,e):n===Xh?ey(t,e):void 0}(e,t,o):no(e,e[1],n,t)}function ny(e,t,n,o){const a=t[19].queries[o];if(null===a.matches){const u=e.data,h=n.matches,p=[];for(let v=0;v<h.length;v+=2){const b=h[v];p.push(b<0?null:vD(t,u[b],h[v+1],n.metadata.read))}a.matches=p}return a.matches}function Og(e,t,n,o){const a=e.queries.getByIndex(n),u=a.matches;if(null!==u){const h=ny(e,t,a,n);for(let p=0;p<u.length;p+=2){const v=u[p];if(v>0)o.push(h[p/2]);else{const b=u[p+1],S=t[-v];for(let k=10;k<S.length;k++){const ee=S[k];ee[17]===ee[3]&&Og(ee[1],ee,b,o)}if(null!==S[9]){const k=S[9];for(let ee=0;ee<k.length;ee++){const he=k[ee];Og(he[1],he,b,o)}}}}}return o}function ry(e){const t=xe(),n=Bt(),o=Nt();Po(o+1);const a=cy(n,o);if(e.dirty&&function Al(e){return 4==(4&e[2])}(t)===(2==(2&a.metadata.flags))){if(null===a.matches)e.reset([]);else{const u=a.crossesNgTemplate?Og(n,t,o,[]):ny(n,t,a,o);e.reset(u,Fc),e.notifyOnChanges()}return!0}return!1}function iy(e,t,n){const o=Bt();o.firstCreatePass&&(ly(o,new ty(e,t,n),-1),2==(2&t)&&(o.staticViewQueries=!0)),ay(o,xe(),t)}function oy(e,t,n,o){const a=Bt();if(a.firstCreatePass){const u=Fn();ly(a,new ty(t,n,o),u.index),function bD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(a,e),2==(2&n)&&(a.staticContentQueries=!0)}ay(a,xe(),n)}function sy(){return function ED(e,t){return e[19].queries[t].queryList}(xe(),Nt())}function ay(e,t,n){const o=new Qh(4==(4&n));Vt(e,t,o,o.destroy),null===t[19]&&(t[19]=new Ig),t[19].queries.push(new Tg(o))}function ly(e,t,n){null===e.queries&&(e.queries=new Ag),e.queries.track(new Rg(t,n))}function cy(e,t){return e.queries.getByIndex(t)}function uy(e,t){return Jh(e,t)}function ef(...e){}const Ay=new an("Application Initializer");let tf=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ef,this.reject=ef,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,a)=>{this.resolve=o,this.reject=a})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a<this.appInits.length;a++){const u=this.appInits[a]();if(og(u))n.push(u);else if(u_(u)){const h=new Promise((p,v)=>{u.subscribe({complete:p,error:v})});n.push(h)}}Promise.all(n).then(()=>{o()}).catch(a=>{this.reject(a)}),0===n.length&&o(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(At(Ay,8))},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Ry=new an("AppId",{providedIn:"root",factory:function Oy(){return`${Lg()}${Lg()}${Lg()}`}});function Lg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xy=new an("Platform Initializer"),jD=new an("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),HD=new an("appBootstrapListener"),$D=new an("AnimationModuleType");let zD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const nf=new an("LocaleId",{providedIn:"root",factory:()=>P(nf,Qe.Optional|Qe.SkipSelf)||function WD(){return typeof $localize<"u"&&$localize.locale||vl}()}),GD=new an("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class KD{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let YD=(()=>{class e{compileModuleSync(n){return new Dg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),u=bi(Qn(n).declarations).reduce((h,p)=>{const v=Ut(p);return v&&h.push(new lu(v)),h},[]);return new KD(o,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const JD=(()=>Promise.resolve(0))();function kg(e){typeof Zone>"u"?JD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ii{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qi(!1),this.onMicrotaskEmpty=new Qi(!1),this.onStable=new Qi(!1),this.onError=new Qi(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&n,a.shouldCoalesceRunChangeDetection=o,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function XD(){let e=Dt.requestAnimationFrame,t=Dt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function tw(e){const t=()=>{!function ew(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ug(e),e.isCheckStableRunning=!0,Bg(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ug(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,a,u,h,p)=>{try{return Ny(e),n.invokeTask(a,u,h,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),Ly(e)}},onInvoke:(n,o,a,u,h,p,v)=>{try{return Ny(e),n.invoke(a,u,h,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ly(e)}},onHasTask:(n,o,a,u)=>{n.hasTask(a,u),o===a&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Ug(e),Bg(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,o,a,u)=>(n.handleError(a,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ii.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(ii.isInAngularZone())throw new H(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,a){const u=this._inner,h=u.scheduleEventTask("NgZoneEvent: "+a,t,qD,ef,ef);try{return u.runTask(h,n,o)}finally{u.cancelTask(h)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const qD={};function Bg(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 Ug(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ny(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ly(e){e._nesting--,Bg(e)}class nw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qi,this.onMicrotaskEmpty=new Qi,this.onStable=new Qi,this.onError=new Qi}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,a){return t.apply(n,o)}}const ky=new an(""),By=new an("");let Vg,rw=(()=>{class e{constructor(n,o,a){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Vg||(function iw(e){Vg=e}(a),a.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{ii.assertNotInAngularZone(),kg(()=>{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())kg(()=>{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(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.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,o,a){let u=-1;o&&o>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==u),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:a})}whenStable(n,o,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,a){return[]}}return e.ɵfac=function(n){return new(n||e)(At(ii),At(Uy),At(By))},e.ɵprov=St({token:e,factory:e.ɵfac}),e})(),Uy=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Vg?.findTestabilityInTree(this,n,o)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),hs=null;const Vy=new an("AllowMultipleToken"),jg=new an("PlatformDestroyListeners");function Hy(e,t,n=[]){const o=`Platform: ${t}`,a=new an(o);return(u=[])=>{let h=Hg();if(!h||h.injector.get(Vy,!1)){const p=[...n,...u,{provide:a,useValue:!0}];e?e(p):function aw(e){if(hs&&!hs.get(Vy,!1))throw new H(400,!1);hs=e;const t=e.get(zy);(function jy(e){const t=e.get(xy,null);t&&t.forEach(n=>n())})(e)}(function $y(e=[],t){return Hi.create({name:t,providers:[{provide:Rc,useValue:"platform"},{provide:jg,useValue:new Set([()=>hs=null])},...e]})}(p,o))}return function cw(e){const t=Hg();if(!t)throw new H(401,!1);return t}()}}function Hg(){return hs?.get(zy)??null}let zy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const a=function Gy(e,t){let n;return n="noop"===e?new nw:("zone.js"===e?void 0:e)||new ii(t),n}(o?.ngZone,function Wy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),u=[{provide:ii,useValue:a}];return a.run(()=>{const h=Hi.create({providers:u,parent:this.injector,name:n.moduleType.name}),p=n.create(h),v=p.injector.get(ss,null);if(!v)throw new H(402,!1);return a.runOutsideAngular(()=>{const b=a.onError.subscribe({next:S=>{v.handleError(S)}});p.onDestroy(()=>{sf(this._modules,p),b.unsubscribe()})}),function Ky(e,t,n){try{const o=n();return og(o)?o.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(v,a,()=>{const b=p.injector.get(tf);return b.runInitializers(),b.donePromise.then(()=>(function av(e){It(e,"Expected localeId to be defined"),"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(nf,vl)||vl),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,o=[]){const a=Yy({},o);return function ow(e,t,n){const o=new Dg(n);return Promise.resolve(o)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,a))}_moduleDoBootstrap(n){const o=n.injector.get(rf);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>o.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new H(403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new H(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(jg,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(At(Hi))},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function Yy(e,t){return Array.isArray(t)?t.reduce(Yy,e):{...e,...t}}let rf=(()=>{class e{constructor(n,o,a){this._zone=n,this._injector=o,this._exceptionHandler=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new U.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),h=new U.y(p=>{let v;this._zone.runOutsideAngular(()=>{v=this._zone.onStable.subscribe(()=>{ii.assertNotInAngularZone(),kg(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const b=this._zone.onUnstable.subscribe(()=>{ii.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),b.unsubscribe()}});this.isStable=(0,O.T)(u,h.pipe((0,N.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const a=n instanceof os;if(!this._injector.get(tf).done)throw!a&&Ti(n),new H(405,false);let h;h=a?n:this._injector.get(qs).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const p=function sw(e){return e.isBoundToModule}(h)?void 0:this._injector.get(yl),b=h.create(Hi.NULL,[],o||h.selector,p),S=b.location.nativeElement,k=b.injector.get(ky,null);return k?.registerApplication(S),b.onDestroy(()=>{this.detachView(b.hostView),sf(this.components,b),k?.unregisterApplication(S)}),this._loadComponent(b),b}tick(){if(this._runningTick)throw new H(101,!1);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 o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;sf(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(HD,[]).concat(this._bootstrapListeners).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>sf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new H(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.ɵfac=function(n){return new(n||e)(At(ii),At(Vr),At(ss))},e.ɵprov=St({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function sf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dw(){}let hw=(()=>{class e{}return e.__NG_ELEMENT_ID__=fw,e})();function fw(e){return function pw(e,t,n){if(bo(e)&&!n){const o=Et(e.index,t);return new au(o,o)}return 47&e.type?new au(t[16],t):null}(Fn(),xe(),16==(16&e))}class qy{constructor(){}supports(t){return cu(t)}create(t){return new Ew(t)}}const yw=(e,t)=>t;class Ew{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||yw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,a=0,u=null;for(;n||o;){const h=!o||n&&n.currentIndex<t0(o,a,u)?n:o,p=t0(h,a,u),v=h.currentIndex;if(h===o)a--,o=o._nextRemoved;else if(n=n._next,null==h.previousIndex)a++;else{u||(u=[]);const b=p-a,S=v-a;if(b!=S){for(let ee=0;ee<b;ee++){const he=ee<u.length?u[ee]:u[ee]=0,De=he+ee;S<=De&&De<b&&(u[ee]=he+1)}u[h.previousIndex]=S-b}}p!==v&&t(h,p,v)}}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=[]),!cu(t))throw new H(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let a,u,h,n=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)u=t[p],h=this._trackByFn(p,u),null!==n&&Object.is(n.trackById,h)?(o&&(n=this._verifyReinsertion(n,u,h,p)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,h,p),o=!0),n=n._next}else a=0,function Y0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[sa()]();let o;for(;!(o=n.next()).done;)t(o.value)}}(t,p=>{h=this._trackByFn(a,p),null!==n&&Object.is(n.trackById,h)?(o&&(n=this._verifyReinsertion(n,p,h,a)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,h,a),o=!0),n=n._next,a++}),this.length=a;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,o,a){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,a)):t=this._addAfter(new bw(n,o),u,a),t}_verifyReinsertion(t,n,o,a){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==u?t=this._reinsertAfter(u,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),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,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,u=t._nextRemoved;return null===a?this._removalsHead=u:a._nextRemoved=u,null===u?this._removalsTail=a:u._prevRemoved=a,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new e0),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._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 e0),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 bw{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 Dw{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 o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class e0{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new Dw,this.map.set(n,o)),o.add(t)}get(t,n){const a=this.map.get(t);return a?a.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 t0(e,t,n){const o=e.previousIndex;if(null===o)return o;let a=0;return n&&o<n.length&&(a=n[o]),o+t+a}class n0{constructor(){}supports(t){return t instanceof Map||Xp(t)}create(){return new ww}}class ww{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||Xp(t)))throw new H(900,!1)}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,(o,a)=>{if(n&&n.key===a)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(a,o);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._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 a=this._records.get(t);this._maybeAddToChanges(a,n);const u=a._prev,h=a._next;return u&&(u._next=h),h&&(h._prev=u),a._next=null,a._prev=null,a}const o=new Cw(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_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(o=>n(t[o],o))}}class Cw{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 r0(){return new Kg([new qy])}let Kg=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||r0()),deps:[[e,new Ni,new xa]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(null!=o)return o;throw new H(901,!1)}}return e.ɵprov=St({token:e,providedIn:"root",factory:r0}),e})();function o0(){return new Yg([new n0])}let Yg=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||o0()),deps:[[e,new Ni,new xa]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(o)return o;throw new H(901,!1)}}return e.ɵprov=St({token:e,providedIn:"root",factory:o0}),e})();const Tw=Hy(null,"core",[]);let Iw=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(At(rf))},e.ɵmod=xr({type:e}),e.ɵinj=Le({}),e})();function Aw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4522:(Se,W,g)=>{g.d(W,{lW:()=>I,ot:()=>A,zs:()=>L});var m=g(2560),c=g(207),U=g(4218);const O=["mat-button",""],N=["*"],x=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],F=(0,c.pj)((0,c.Id)((0,c.Kr)(class{constructor(q){this._elementRef=q}})));let I=(()=>{class q extends F{constructor(te,Z,H){super(te),this._focusMonitor=Z,this._animationMode=H,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const se of x)this._hasHostAttributes(se)&&this._getHostElement().classList.add(se);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,Z){te?this._focusMonitor.focusVia(this._getHostElement(),te,Z):this._getHostElement().focus(Z)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...te){return te.some(Z=>this._getHostElement().hasAttribute(Z))}}return q.ɵfac=function(te){return new(te||q)(m.Y36(m.SBq),m.Y36(U.tE),m.Y36(m.QbO,8))},q.ɵcmp=m.Xpm({type:q,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,Z){if(1&te&&m.Gf(c.wG,5),2&te){let H;m.iGM(H=m.CRH())&&(Z.ripple=H.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(te,Z){2&te&&(m.uIk("disabled",Z.disabled||null),m.ekj("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[m.qOj],attrs:O,ngContentSelectors:N,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,Z){1&te&&(m.F$t(),m.TgZ(0,"span",0),m.Hsn(1),m.qZA(),m._UZ(2,"span",1)(3,"span",2)),2&te&&(m.xp6(2),m.ekj("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),m.Q6J("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},dependencies:[c.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),q})(),L=(()=>{class q extends I{constructor(te,Z,H,se){super(Z,te,H),this._ngZone=se,this._haltDisabledEvents=me=>{this.disabled&&(me.preventDefault(),me.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return q.ɵfac=function(te){return new(te||q)(m.Y36(U.tE),m.Y36(m.SBq),m.Y36(m.QbO,8),m.Y36(m.R0b,8))},q.ɵcmp=m.Xpm({type:q,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,Z){2&te&&(m.uIk("tabindex",Z.disabled?-1:Z.tabIndex)("disabled",Z.disabled||null)("aria-disabled",Z.disabled.toString()),m.ekj("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[m.qOj],attrs:O,ngContentSelectors:N,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,Z){1&te&&(m.F$t(),m.TgZ(0,"span",0),m.Hsn(1),m.qZA(),m._UZ(2,"span",1)(3,"span",2)),2&te&&(m.xp6(2),m.ekj("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),m.Q6J("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},dependencies:[c.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),q})(),A=(()=>{class q{}return q.ɵfac=function(te){return new(te||q)},q.ɵmod=m.oAB({type:q}),q.ɵinj=m.cJS({imports:[c.si,c.BQ,c.BQ]}),q})()},207:(Se,W,g)=>{g.d(W,{BQ:()=>se,wG:()=>He,si:()=>Ge,pj:()=>ae,Kr:()=>Te,Id:()=>z});var m=g(2560),c=g(4218),U=g(2867),N=g(4666),B=g(9107),V=g(8971);const H=new m.OlP("mat-sanity-checks",{providedIn:"root",factory:function Z(){return!0}});let se=(()=>{class Ue{constructor(le,be,st){this._sanityChecks=be,this._document=st,this._hasDoneGlobalChecks=!1,le._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(le){return!(0,B.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[le])}}return Ue.ɵfac=function(le){return new(le||Ue)(m.LFG(c.qm),m.LFG(H,8),m.LFG(N.K0))},Ue.ɵmod=m.oAB({type:Ue}),Ue.ɵinj=m.cJS({imports:[U.vT,U.vT]}),Ue})();function z(Ue){return class extends Ue{constructor(...Y){super(...Y),this._disabled=!1}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,V.Ig)(Y)}}}function ae(Ue,Y){return class extends Ue{constructor(...le){super(...le),this.defaultColor=Y,this.color=Y}get color(){return this._color}set color(le){const be=le||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}}}function Te(Ue){return class extends Ue{constructor(...Y){super(...Y),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Y){this._disableRipple=(0,V.Ig)(Y)}}}class Ke{constructor(Y,le,be,st=!1){this._renderer=Y,this.element=le,this.config=be,this._animationForciblyDisabledThroughCss=st,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Le={enterDuration:225,exitDuration:150},Ie=(0,B.i$)({passive:!0}),Ee=["mousedown","touchstart"],Be=["mouseup","mouseleave","touchend","touchcancel"];class ne{constructor(Y,le,be,st){this._target=Y,this._ngZone=le,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,st.isBrowser&&(this._containerElement=(0,V.fI)(be))}fadeInRipple(Y,le,be={}){const st=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),zt={...Le,...be.animation};be.centered&&(Y=st.left+st.width/2,le=st.top+st.height/2);const At=be.radius||function pe(Ue,Y,le){const be=Math.max(Math.abs(Ue-le.left),Math.abs(Ue-le.right)),st=Math.max(Math.abs(Y-le.top),Math.abs(Y-le.bottom));return Math.sqrt(be*be+st*st)}(Y,le,st),ge=Y-st.left,P=le-st.top,C=zt.enterDuration,T=document.createElement("div");T.classList.add("mat-ripple-element"),T.style.left=ge-At+"px",T.style.top=P-At+"px",T.style.height=2*At+"px",T.style.width=2*At+"px",null!=be.color&&(T.style.backgroundColor=be.color),T.style.transitionDuration=`${C}ms`,this._containerElement.appendChild(T);const G=window.getComputedStyle(T),$e=G.transitionDuration,ut="none"===G.transitionProperty||"0s"===$e||"0s, 0s"===$e,_t=new Ke(this,T,be,ut);T.style.transform="scale3d(1, 1, 1)",_t.state=0,be.persistent||(this._mostRecentTransientRipple=_t);let nt=null;return!ut&&(C||zt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fn=()=>this._finishRippleTransition(_t),pn=()=>this._destroyRipple(_t);T.addEventListener("transitionend",fn),T.addEventListener("transitioncancel",pn),nt={onTransitionEnd:fn,onTransitionCancel:pn}}),this._activeRipples.set(_t,nt),(ut||!C)&&this._finishRippleTransition(_t),_t}fadeOutRipple(Y){if(2===Y.state||3===Y.state)return;const le=Y.element,be={...Le,...Y.config.animation};le.style.transitionDuration=`${be.exitDuration}ms`,le.style.opacity="0",Y.state=2,(Y._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(Y)}fadeOutAll(){this._getActiveRipples().forEach(Y=>Y.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Y=>{Y.config.persistent||Y.fadeOut()})}setupTriggerEvents(Y){const le=(0,V.fI)(Y);!le||le===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=le,this._registerEvents(Ee))}handleEvent(Y){"mousedown"===Y.type?this._onMousedown(Y):"touchstart"===Y.type?this._onTouchStart(Y):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Be),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Y){0===Y.state?this._startFadeOutTransition(Y):2===Y.state&&this._destroyRipple(Y)}_startFadeOutTransition(Y){const le=Y===this._mostRecentTransientRipple,{persistent:be}=Y.config;Y.state=1,!be&&(!le||!this._isPointerDown)&&Y.fadeOut()}_destroyRipple(Y){const le=this._activeRipples.get(Y)??null;this._activeRipples.delete(Y),this._activeRipples.size||(this._containerRect=null),Y===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Y.state=3,null!==le&&(Y.element.removeEventListener("transitionend",le.onTransitionEnd),Y.element.removeEventListener("transitioncancel",le.onTransitionCancel)),Y.element.remove()}_onMousedown(Y){const le=(0,c.X6)(Y),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!le&&!be&&(this._isPointerDown=!0,this.fadeInRipple(Y.clientX,Y.clientY,this._target.rippleConfig))}_onTouchStart(Y){if(!this._target.rippleDisabled&&!(0,c.yG)(Y)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const le=Y.changedTouches;for(let be=0;be<le.length;be++)this.fadeInRipple(le[be].clientX,le[be].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Y=>{!Y.config.persistent&&(1===Y.state||Y.config.terminateOnPointerUp&&0===Y.state)&&Y.fadeOut()}))}_registerEvents(Y){this._ngZone.runOutsideAngular(()=>{Y.forEach(le=>{this._triggerElement.addEventListener(le,this,Ie)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Ee.forEach(Y=>{this._triggerElement.removeEventListener(Y,this,Ie)}),this._pointerUpEventsRegistered&&Be.forEach(Y=>{this._triggerElement.removeEventListener(Y,this,Ie)}))}}const Pe=new m.OlP("mat-ripple-global-options");let He=(()=>{class Ue{constructor(le,be,st,zt,At){this._elementRef=le,this._animationMode=At,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=zt||{},this._rippleRenderer=new ne(this,be,le,st)}get disabled(){return this._disabled}set disabled(le){le&&this.fadeOutAllNonPersistent(),this._disabled=le,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(le){this._trigger=le,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:{...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(le,be=0,st){return"number"==typeof le?this._rippleRenderer.fadeInRipple(le,be,{...this.rippleConfig,...st}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...le})}}return Ue.ɵfac=function(le){return new(le||Ue)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(B.t4),m.Y36(Pe,8),m.Y36(m.QbO,8))},Ue.ɵdir=m.lG2({type:Ue,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(le,be){2&le&&m.ekj("mat-ripple-unbounded",be.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ue})(),Ge=(()=>{class Ue{}return Ue.ɵfac=function(le){return new(le||Ue)},Ue.ɵmod=m.oAB({type:Ue}),Ue.ɵinj=m.cJS({imports:[se,se]}),Ue})()},1014:(Se,W,g)=>{g.d(W,{Hw:()=>J,Ps:()=>Ie,jv:()=>ke});var m=g(2560),c=g(207),U=g(8971),O=g(4666),N=g(745),B=g(5474),V=g(833),x=g(5756),F=g(4987),I=g(420),L=g(3945),A=g(8385),q=g(1054),te=g(7714),Z=g(9337),H=g(635),se=g(3158),me=g(2313),Me=g(1203),_e=g(9295),z=g(8987),ae=g(4497);const Te=["*"];let Re;function Ne(Ee){return function Oe(){if(void 0===Re&&(Re=null,typeof window<"u")){const Ee=window;void 0!==Ee.trustedTypes&&(Re=Ee.trustedTypes.createPolicy("angular#components",{createHTML:Be=>Be}))}return Re}()?.createHTML(Ee)||Ee}function ce(Ee){return Error(`Unable to find icon with the name "${Ee}"`)}function ye(Ee){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ee}".`)}function fe(Ee){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ee}".`)}class je{constructor(Be,ne,pe){this.url=Be,this.svgText=ne,this.options=pe}}let ke=(()=>{class Ee{constructor(ne,pe,Pe,He){this._httpClient=ne,this._sanitizer=pe,this._errorHandler=He,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","mat-ligature-font"],this._document=Pe}addSvgIcon(ne,pe,Pe){return this.addSvgIconInNamespace("",ne,pe,Pe)}addSvgIconLiteral(ne,pe,Pe){return this.addSvgIconLiteralInNamespace("",ne,pe,Pe)}addSvgIconInNamespace(ne,pe,Pe,He){return this._addSvgIconConfig(ne,pe,new je(Pe,null,He))}addSvgIconResolver(ne){return this._resolvers.push(ne),this}addSvgIconLiteralInNamespace(ne,pe,Pe,He){const Ge=this._sanitizer.sanitize(m.q3G.HTML,Pe);if(!Ge)throw fe(Pe);const wt=Ne(Ge);return this._addSvgIconConfig(ne,pe,new je("",wt,He))}addSvgIconSet(ne,pe){return this.addSvgIconSetInNamespace("",ne,pe)}addSvgIconSetLiteral(ne,pe){return this.addSvgIconSetLiteralInNamespace("",ne,pe)}addSvgIconSetInNamespace(ne,pe,Pe){return this._addSvgIconSetConfig(ne,new je(pe,null,Pe))}addSvgIconSetLiteralInNamespace(ne,pe,Pe){const He=this._sanitizer.sanitize(m.q3G.HTML,pe);if(!He)throw fe(pe);const Ge=Ne(He);return this._addSvgIconSetConfig(ne,new je("",Ge,Pe))}registerFontClassAlias(ne,pe=ne){return this._fontCssClassesByAlias.set(ne,pe),this}classNameForFontAlias(ne){return this._fontCssClassesByAlias.get(ne)||ne}setDefaultFontSetClass(...ne){return this._defaultFontSetClass=ne,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ne){const pe=this._sanitizer.sanitize(m.q3G.RESOURCE_URL,ne);if(!pe)throw ye(ne);const Pe=this._cachedIconsByUrl.get(pe);return Pe?(0,N.of)(nn(Pe)):this._loadSvgIconFromConfig(new je(ne,null)).pipe((0,Z.b)(He=>this._cachedIconsByUrl.set(pe,He)),(0,H.U)(He=>nn(He)))}getNamedSvgIcon(ne,pe=""){const Pe=gt(pe,ne);let He=this._svgIconConfigs.get(Pe);if(He)return this._getSvgFromConfig(He);if(He=this._getIconConfigFromResolvers(pe,ne),He)return this._svgIconConfigs.set(Pe,He),this._getSvgFromConfig(He);const Ge=this._iconSetConfigs.get(pe);return Ge?this._getSvgFromIconSetConfigs(ne,Ge):(0,B._)(ce(Pe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ne){return ne.svgText?(0,N.of)(nn(this._svgElementFromConfig(ne))):this._loadSvgIconFromConfig(ne).pipe((0,H.U)(pe=>nn(pe)))}_getSvgFromIconSetConfigs(ne,pe){const Pe=this._extractIconWithNameFromAnySet(ne,pe);return Pe?(0,N.of)(Pe):function K(...Ee){const Be=(0,I.jO)(Ee),{args:ne,keys:pe}=(0,x.D)(Ee),Pe=new V.y(He=>{const{length:Ge}=ne;if(!Ge)return void He.complete();const wt=new Array(Ge);let Qe=Ge,hn=Ge;for(let Xt=0;Xt<Ge;Xt++){let on=!1;(0,F.Xf)(ne[Xt]).subscribe((0,L.x)(He,Cn=>{on||(on=!0,hn--),wt[Xt]=Cn},()=>Qe--,void 0,()=>{(!Qe||!on)&&(hn||He.next(pe?(0,q.n)(pe,wt):wt),He.complete())}))}});return Be?Pe.pipe((0,A.Z)(Be)):Pe}(pe.filter(Ge=>!Ge.svgText).map(Ge=>this._loadSvgIconSetFromConfig(Ge).pipe((0,se.K)(wt=>{const hn=`Loading icon set URL: ${this._sanitizer.sanitize(m.q3G.RESOURCE_URL,Ge.url)} failed: ${wt.message}`;return this._errorHandler.handleError(new Error(hn)),(0,N.of)(null)})))).pipe((0,H.U)(()=>{const Ge=this._extractIconWithNameFromAnySet(ne,pe);if(!Ge)throw ce(ne);return Ge}))}_extractIconWithNameFromAnySet(ne,pe){for(let Pe=pe.length-1;Pe>=0;Pe--){const He=pe[Pe];if(He.svgText&&He.svgText.toString().indexOf(ne)>-1){const Ge=this._svgElementFromConfig(He),wt=this._extractSvgIconFromSet(Ge,ne,He.options);if(wt)return wt}}return null}_loadSvgIconFromConfig(ne){return this._fetchIcon(ne).pipe((0,Z.b)(pe=>ne.svgText=pe),(0,H.U)(()=>this._svgElementFromConfig(ne)))}_loadSvgIconSetFromConfig(ne){return ne.svgText?(0,N.of)(null):this._fetchIcon(ne).pipe((0,Z.b)(pe=>ne.svgText=pe))}_extractSvgIconFromSet(ne,pe,Pe){const He=ne.querySelector(`[id="${pe}"]`);if(!He)return null;const Ge=He.cloneNode(!0);if(Ge.removeAttribute("id"),"svg"===Ge.nodeName.toLowerCase())return this._setSvgAttributes(Ge,Pe);if("symbol"===Ge.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ge),Pe);const wt=this._svgElementFromString(Ne("<svg></svg>"));return wt.appendChild(Ge),this._setSvgAttributes(wt,Pe)}_svgElementFromString(ne){const pe=this._document.createElement("DIV");pe.innerHTML=ne;const Pe=pe.querySelector("svg");if(!Pe)throw Error("<svg> tag not found");return Pe}_toSvgElement(ne){const pe=this._svgElementFromString(Ne("<svg></svg>")),Pe=ne.attributes;for(let He=0;He<Pe.length;He++){const{name:Ge,value:wt}=Pe[He];"id"!==Ge&&pe.setAttribute(Ge,wt)}for(let He=0;He<ne.childNodes.length;He++)ne.childNodes[He].nodeType===this._document.ELEMENT_NODE&&pe.appendChild(ne.childNodes[He].cloneNode(!0));return pe}_setSvgAttributes(ne,pe){return ne.setAttribute("fit",""),ne.setAttribute("height","100%"),ne.setAttribute("width","100%"),ne.setAttribute("preserveAspectRatio","xMidYMid meet"),ne.setAttribute("focusable","false"),pe&&pe.viewBox&&ne.setAttribute("viewBox",pe.viewBox),ne}_fetchIcon(ne){const{url:pe,options:Pe}=ne,He=Pe?.withCredentials??!1;if(!this._httpClient)throw function ie(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==pe)throw Error(`Cannot fetch icon from URL "${pe}".`);const Ge=this._sanitizer.sanitize(m.q3G.RESOURCE_URL,pe);if(!Ge)throw ye(pe);const wt=this._inProgressUrlFetches.get(Ge);if(wt)return wt;const Qe=this._httpClient.get(Ge,{responseType:"text",withCredentials:He}).pipe((0,H.U)(hn=>Ne(hn)),(0,me.x)(()=>this._inProgressUrlFetches.delete(Ge)),(0,Me.B)());return this._inProgressUrlFetches.set(Ge,Qe),Qe}_addSvgIconConfig(ne,pe,Pe){return this._svgIconConfigs.set(gt(ne,pe),Pe),this}_addSvgIconSetConfig(ne,pe){const Pe=this._iconSetConfigs.get(ne);return Pe?Pe.push(pe):this._iconSetConfigs.set(ne,[pe]),this}_svgElementFromConfig(ne){if(!ne.svgElement){const pe=this._svgElementFromString(ne.svgText);this._setSvgAttributes(pe,ne.options),ne.svgElement=pe}return ne.svgElement}_getIconConfigFromResolvers(ne,pe){for(let Pe=0;Pe<this._resolvers.length;Pe++){const He=this._resolvers[Pe](pe,ne);if(He)return It(He)?new je(He.url,null,He.options):new je(He,null)}}}return Ee.ɵfac=function(ne){return new(ne||Ee)(m.LFG(z.eN,8),m.LFG(ae.H7),m.LFG(O.K0,8),m.LFG(m.qLn))},Ee.ɵprov=m.Yz7({token:Ee,factory:Ee.ɵfac,providedIn:"root"}),Ee})();function nn(Ee){return Ee.cloneNode(!0)}function gt(Ee,Be){return Ee+":"+Be}function It(Ee){return!(!Ee.url||!Ee.options)}const mt=(0,c.pj)(class{constructor(Ee){this._elementRef=Ee}}),jt=new m.OlP("MAT_ICON_DEFAULT_OPTIONS"),yn=new m.OlP("mat-icon-location",{providedIn:"root",factory:function rn(){const Ee=(0,m.f3M)(O.K0),Be=Ee?Ee.location:null;return{getPathname:()=>Be?Be.pathname+Be.search:""}}}),St=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ke=St.map(Ee=>`[${Ee}]`).join(", "),Le=/^url\(['"]?#(.*?)['"]?\)$/;let J=(()=>{class Ee extends mt{constructor(ne,pe,Pe,He,Ge,wt){super(ne),this._iconRegistry=pe,this._location=He,this._errorHandler=Ge,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=te.w0.EMPTY,wt&&(wt.color&&(this.color=this.defaultColor=wt.color),wt.fontSet&&(this.fontSet=wt.fontSet)),Pe||ne.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(ne){this._inline=(0,U.Ig)(ne)}get svgIcon(){return this._svgIcon}set svgIcon(ne){ne!==this._svgIcon&&(ne?this._updateSvgIcon(ne):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ne)}get fontSet(){return this._fontSet}set fontSet(ne){const pe=this._cleanupFontValue(ne);pe!==this._fontSet&&(this._fontSet=pe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ne){const pe=this._cleanupFontValue(ne);pe!==this._fontIcon&&(this._fontIcon=pe,this._updateFontIconClasses())}_splitIconName(ne){if(!ne)return["",""];const pe=ne.split(":");switch(pe.length){case 1:return["",pe[0]];case 2:return pe;default:throw Error(`Invalid icon name: "${ne}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ne=this._elementsWithExternalReferences;if(ne&&ne.size){const pe=this._location.getPathname();pe!==this._previousPath&&(this._previousPath=pe,this._prependPathToReferences(pe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ne){this._clearSvgElement();const pe=this._location.getPathname();this._previousPath=pe,this._cacheChildrenWithExternalReferences(ne),this._prependPathToReferences(pe),this._elementRef.nativeElement.appendChild(ne)}_clearSvgElement(){const ne=this._elementRef.nativeElement;let pe=ne.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();pe--;){const Pe=ne.childNodes[pe];(1!==Pe.nodeType||"svg"===Pe.nodeName.toLowerCase())&&Pe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ne=this._elementRef.nativeElement,pe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Pe=>Pe.length>0);this._previousFontSetClass.forEach(Pe=>ne.classList.remove(Pe)),pe.forEach(Pe=>ne.classList.add(Pe)),this._previousFontSetClass=pe,this.fontIcon!==this._previousFontIconClass&&!pe.includes("mat-ligature-font")&&(this._previousFontIconClass&&ne.classList.remove(this._previousFontIconClass),this.fontIcon&&ne.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ne){return"string"==typeof ne?ne.trim().split(" ")[0]:ne}_prependPathToReferences(ne){const pe=this._elementsWithExternalReferences;pe&&pe.forEach((Pe,He)=>{Pe.forEach(Ge=>{He.setAttribute(Ge.name,`url('${ne}#${Ge.value}')`)})})}_cacheChildrenWithExternalReferences(ne){const pe=ne.querySelectorAll(Ke),Pe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let He=0;He<pe.length;He++)St.forEach(Ge=>{const wt=pe[He],Qe=wt.getAttribute(Ge),hn=Qe?Qe.match(Le):null;if(hn){let Xt=Pe.get(wt);Xt||(Xt=[],Pe.set(wt,Xt)),Xt.push({name:Ge,value:hn[1]})}})}_updateSvgIcon(ne){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ne){const[pe,Pe]=this._splitIconName(ne);pe&&(this._svgNamespace=pe),Pe&&(this._svgName=Pe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Pe,pe).pipe((0,_e.q)(1)).subscribe(He=>this._setSvgElement(He),He=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${pe}:${Pe}! ${He.message}`))})}}}return Ee.ɵfac=function(ne){return new(ne||Ee)(m.Y36(m.SBq),m.Y36(ke),m.$8M("aria-hidden"),m.Y36(yn),m.Y36(m.qLn),m.Y36(jt,8))},Ee.ɵcmp=m.Xpm({type:Ee,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(ne,pe){2&ne&&(m.uIk("data-mat-icon-type",pe._usingFontIcon()?"font":"svg")("data-mat-icon-name",pe._svgName||pe.fontIcon)("data-mat-icon-namespace",pe._svgNamespace||pe.fontSet)("fontIcon",pe._usingFontIcon()?pe.fontIcon:null),m.ekj("mat-icon-inline",pe.inline)("mat-icon-no-color","primary"!==pe.color&&"accent"!==pe.color&&"warn"!==pe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[m.qOj],ngContentSelectors:Te,decls:1,vars:0,template:function(ne,pe){1&ne&&(m.F$t(),m.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),Ee})(),Ie=(()=>{class Ee{}return Ee.ɵfac=function(ne){return new(ne||Ee)},Ee.ɵmod=m.oAB({type:Ee}),Ee.ɵinj=m.cJS({imports:[c.BQ,c.BQ]}),Ee})()},4497:(Se,W,g)=>{g.d(W,{Dx:()=>nr,H7:()=>pn,b2:()=>Qe,q6:()=>Pe,se:()=>fe});var m=g(4666),c=g(2560);class U extends m.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends U{static makeCurrent(){(0,m.HT)(new O)}onAndCancel(Q,j,oe){return Q.addEventListener(j,oe,!1),()=>{Q.removeEventListener(j,oe,!1)}}dispatchEvent(Q,j){Q.dispatchEvent(j)}remove(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}createElement(Q,j){return(j=j||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,j){return"window"===j?window:"document"===j?Q:"body"===j?Q.body:null}getBaseHref(Q){const j=function B(){return N=N||document.querySelector("base"),N?N.getAttribute("href"):null}();return null==j?null:function x(re){V=V||document.createElement("a"),V.setAttribute("href",re);const Q=V.pathname;return"/"===Q.charAt(0)?Q:`/${Q}`}(j)}resetBaseElement(){N=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,m.Mx)(document.cookie,Q)}}let V,N=null;const F=new c.OlP("TRANSITION_ID"),L=[{provide:c.ip1,useFactory:function I(re,Q,j){return()=>{j.get(c.CZH).donePromise.then(()=>{const oe=(0,m.q)(),we=Q.querySelectorAll(`style[ng-transition="${re}"]`);for(let rt=0;rt<we.length;rt++)oe.remove(we[rt])})}},deps:[F,m.K0,c.zs3],multi:!0}];let q=(()=>{class re{build(){return new XMLHttpRequest}}return re.ɵfac=function(j){return new(j||re)},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();const K=new c.OlP("EventManagerPlugins");let te=(()=>{class re{constructor(j,oe){this._zone=oe,this._eventNameToPlugin=new Map,j.forEach(we=>we.manager=this),this._plugins=j.slice().reverse()}addEventListener(j,oe,we){return this._findPluginFor(oe).addEventListener(j,oe,we)}addGlobalEventListener(j,oe,we){return this._findPluginFor(oe).addGlobalEventListener(j,oe,we)}getZone(){return this._zone}_findPluginFor(j){const oe=this._eventNameToPlugin.get(j);if(oe)return oe;const we=this._plugins;for(let rt=0;rt<we.length;rt++){const Rt=we[rt];if(Rt.supports(j))return this._eventNameToPlugin.set(j,Rt),Rt}throw new Error(`No event manager plugin found for event ${j}`)}}return re.ɵfac=function(j){return new(j||re)(c.LFG(K),c.LFG(c.R0b))},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();class Z{constructor(Q){this._doc=Q}addGlobalEventListener(Q,j,oe){const we=(0,m.q)().getGlobalEventTarget(this._doc,Q);if(!we)throw new Error(`Unsupported event target ${we} for event ${j}`);return this.addEventListener(we,j,oe)}}let H=(()=>{class re{constructor(){this._stylesSet=new Set}addStyles(j){const oe=new Set;j.forEach(we=>{this._stylesSet.has(we)||(this._stylesSet.add(we),oe.add(we))}),this.onStylesAdded(oe)}onStylesAdded(j){}getAllStyles(){return Array.from(this._stylesSet)}}return re.ɵfac=function(j){return new(j||re)},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})(),se=(()=>{class re extends H{constructor(j){super(),this._doc=j,this._hostNodes=new Map,this._hostNodes.set(j.head,[])}_addStylesToHost(j,oe,we){j.forEach(rt=>{const Rt=this._doc.createElement("style");Rt.textContent=rt,we.push(oe.appendChild(Rt))})}addHost(j){const oe=[];this._addStylesToHost(this._stylesSet,j,oe),this._hostNodes.set(j,oe)}removeHost(j){const oe=this._hostNodes.get(j);oe&&oe.forEach(me),this._hostNodes.delete(j)}onStylesAdded(j){this._hostNodes.forEach((oe,we)=>{this._addStylesToHost(j,we,oe)})}ngOnDestroy(){this._hostNodes.forEach(j=>j.forEach(me))}}return re.ɵfac=function(j){return new(j||re)(c.LFG(m.K0))},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();function me(re){(0,m.q)().remove(re)}const Me={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/",math:"http://www.w3.org/1998/MathML/"},_e=/%COMP%/g;function ce(re,Q,j){for(let oe=0;oe<Q.length;oe++){let we=Q[oe];Array.isArray(we)?ce(re,we,j):(we=we.replace(_e,re),j.push(we))}return j}function ie(re){return Q=>{if("__ngUnwrap__"===Q)return re;!1===re(Q)&&(Q.preventDefault(),Q.returnValue=!1)}}let fe=(()=>{class re{constructor(j,oe,we){this.eventManager=j,this.sharedStylesHost=oe,this.appId=we,this.rendererByCompId=new Map,this.defaultRenderer=new je(j)}createRenderer(j,oe){if(!j||!oe)return this.defaultRenderer;switch(oe.encapsulation){case c.ifc.Emulated:{let we=this.rendererByCompId.get(oe.id);return we||(we=new nn(this.eventManager,this.sharedStylesHost,oe,this.appId),this.rendererByCompId.set(oe.id,we)),we.applyToHost(j),we}case 1:case c.ifc.ShadowDom:return new gt(this.eventManager,this.sharedStylesHost,j,oe);default:if(!this.rendererByCompId.has(oe.id)){const we=ce(oe.id,oe.styles,[]);this.sharedStylesHost.addStyles(we),this.rendererByCompId.set(oe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return re.ɵfac=function(j){return new(j||re)(c.LFG(te),c.LFG(se),c.LFG(c.AFp))},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();class je{constructor(Q){this.eventManager=Q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Q,j){return j?document.createElementNS(Me[j]||j,Q):document.createElement(Q)}createComment(Q){return document.createComment(Q)}createText(Q){return document.createTextNode(Q)}appendChild(Q,j){(Lt(Q)?Q.content:Q).appendChild(j)}insertBefore(Q,j,oe){Q&&(Lt(Q)?Q.content:Q).insertBefore(j,oe)}removeChild(Q,j){Q&&Q.removeChild(j)}selectRootElement(Q,j){let oe="string"==typeof Q?document.querySelector(Q):Q;if(!oe)throw new Error(`The selector "${Q}" did not match any elements`);return j||(oe.textContent=""),oe}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,j,oe,we){if(we){j=we+":"+j;const rt=Me[we];rt?Q.setAttributeNS(rt,j,oe):Q.setAttribute(j,oe)}else Q.setAttribute(j,oe)}removeAttribute(Q,j,oe){if(oe){const we=Me[oe];we?Q.removeAttributeNS(we,j):Q.removeAttribute(`${oe}:${j}`)}else Q.removeAttribute(j)}addClass(Q,j){Q.classList.add(j)}removeClass(Q,j){Q.classList.remove(j)}setStyle(Q,j,oe,we){we&(c.JOm.DashCase|c.JOm.Important)?Q.style.setProperty(j,oe,we&c.JOm.Important?"important":""):Q.style[j]=oe}removeStyle(Q,j,oe){oe&c.JOm.DashCase?Q.style.removeProperty(j):Q.style[j]=""}setProperty(Q,j,oe){Q[j]=oe}setValue(Q,j){Q.nodeValue=j}listen(Q,j,oe){return"string"==typeof Q?this.eventManager.addGlobalEventListener(Q,j,ie(oe)):this.eventManager.addEventListener(Q,j,ie(oe))}}function Lt(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class nn extends je{constructor(Q,j,oe,we){super(Q),this.component=oe;const rt=ce(we+"-"+oe.id,oe.styles,[]);j.addStyles(rt),this.contentAttr=function Oe(re){return"_ngcontent-%COMP%".replace(_e,re)}(we+"-"+oe.id),this.hostAttr=function Ne(re){return"_nghost-%COMP%".replace(_e,re)}(we+"-"+oe.id)}applyToHost(Q){super.setAttribute(Q,this.hostAttr,"")}createElement(Q,j){const oe=super.createElement(Q,j);return super.setAttribute(oe,this.contentAttr,""),oe}}class gt extends je{constructor(Q,j,oe,we){super(Q),this.sharedStylesHost=j,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=ce(we.id,we.styles,[]);for(let Rt=0;Rt<rt.length;Rt++){const gn=document.createElement("style");gn.textContent=rt[Rt],this.shadowRoot.appendChild(gn)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Q,j){return super.appendChild(this.nodeOrShadowRoot(Q),j)}insertBefore(Q,j,oe){return super.insertBefore(this.nodeOrShadowRoot(Q),j,oe)}removeChild(Q,j){return super.removeChild(this.nodeOrShadowRoot(Q),j)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}}let It=(()=>{class re extends Z{constructor(j){super(j)}supports(j){return!0}addEventListener(j,oe,we){return j.addEventListener(oe,we,!1),()=>this.removeEventListener(j,oe,we)}removeEventListener(j,oe,we){return j.removeEventListener(oe,we)}}return re.ɵfac=function(j){return new(j||re)(c.LFG(m.K0))},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();const mt=["alt","control","meta","shift"],jt={"\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"},yn={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let rn=(()=>{class re extends Z{constructor(j){super(j)}supports(j){return null!=re.parseEventName(j)}addEventListener(j,oe,we){const rt=re.parseEventName(oe),Rt=re.eventCallback(rt.fullKey,we,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,m.q)().onAndCancel(j,rt.domEventName,Rt))}static parseEventName(j){const oe=j.toLowerCase().split("."),we=oe.shift();if(0===oe.length||"keydown"!==we&&"keyup"!==we)return null;const rt=re._normalizeKey(oe.pop());let Rt="",gn=oe.indexOf("code");if(gn>-1&&(oe.splice(gn,1),Rt="code."),mt.forEach(Mn=>{const oi=oe.indexOf(Mn);oi>-1&&(oe.splice(oi,1),Rt+=Mn+".")}),Rt+=rt,0!=oe.length||0===rt.length)return null;const Un={};return Un.domEventName=we,Un.fullKey=Rt,Un}static matchEventFullKeyCode(j,oe){let we=jt[j.key]||j.key,rt="";return oe.indexOf("code.")>-1&&(we=j.code,rt="code."),!(null==we||!we)&&(we=we.toLowerCase()," "===we?we="space":"."===we&&(we="dot"),mt.forEach(Rt=>{Rt!==we&&(0,yn[Rt])(j)&&(rt+=Rt+".")}),rt+=we,rt===oe)}static eventCallback(j,oe,we){return rt=>{re.matchEventFullKeyCode(rt,j)&&we.runGuarded(()=>oe(rt))}}static _normalizeKey(j){return"esc"===j?"escape":j}}return re.ɵfac=function(j){return new(j||re)(c.LFG(m.K0))},re.ɵprov=c.Yz7({token:re,factory:re.ɵfac}),re})();const Pe=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:m.bD},{provide:c.g9A,useValue:function Ee(){O.makeCurrent()},multi:!0},{provide:m.K0,useFactory:function ne(){return(0,c.RDi)(document),document},deps:[]}]),He=new c.OlP(""),Ge=[{provide:c.rWj,useClass:class A{addToWindow(Q){c.dqk.getAngularTestability=(oe,we=!0)=>{const rt=Q.findTestabilityInTree(oe,we);if(null==rt)throw new Error("Could not find testability for element.");return rt},c.dqk.getAllAngularTestabilities=()=>Q.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>Q.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(oe=>{const we=c.dqk.getAllAngularTestabilities();let rt=we.length,Rt=!1;const gn=function(Un){Rt=Rt||Un,rt--,0==rt&&oe(Rt)};we.forEach(function(Un){Un.whenStable(gn)})})}findTestabilityInTree(Q,j,oe){return null==j?null:Q.getTestability(j)??(oe?(0,m.q)().isShadowRoot(j)?this.findTestabilityInTree(Q,j.host,!0):this.findTestabilityInTree(Q,j.parentElement,!0):null)}},deps:[]},{provide:c.lri,useClass:c.dDg,deps:[c.R0b,c.eoX,c.rWj]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b,c.eoX,c.rWj]}],wt=[{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function Be(){return new c.qLn},deps:[]},{provide:K,useClass:It,multi:!0,deps:[m.K0,c.R0b,c.Lbi]},{provide:K,useClass:rn,multi:!0,deps:[m.K0]},{provide:fe,useClass:fe,deps:[te,se,c.AFp]},{provide:c.FYo,useExisting:fe},{provide:H,useExisting:se},{provide:se,useClass:se,deps:[m.K0]},{provide:te,useClass:te,deps:[K,c.R0b]},{provide:m.JF,useClass:q,deps:[]},[]];let Qe=(()=>{class re{constructor(j){}static withServerTransition(j){return{ngModule:re,providers:[{provide:c.AFp,useValue:j.appId},{provide:F,useExisting:c.AFp},L]}}}return re.ɵfac=function(j){return new(j||re)(c.LFG(He,12))},re.ɵmod=c.oAB({type:re}),re.ɵinj=c.cJS({providers:[...wt,...Ge],imports:[m.ez,c.hGG]}),re})(),nr=(()=>{class re{constructor(j){this._doc=j}getTitle(){return this._doc.title}setTitle(j){this._doc.title=j||""}}return re.ɵfac=function(j){return new(j||re)(c.LFG(m.K0))},re.ɵprov=c.Yz7({token:re,factory:function(j){let oe=null;return oe=j?new j:function Cn(){return new nr((0,c.LFG)(m.K0))}(),oe},providedIn:"root"}),re})();typeof window<"u"&&window;let pn=(()=>{class re{}return re.ɵfac=function(j){return new(j||re)},re.ɵprov=c.Yz7({token:re,factory:function(j){let oe=null;return oe=j?new(j||re):c.LFG(Wt),oe},providedIn:"root"}),re})(),Wt=(()=>{class re extends pn{constructor(j){super(),this._doc=j}sanitize(j,oe){if(null==oe)return null;switch(j){case c.q3G.NONE:return oe;case c.q3G.HTML:return(0,c.qzn)(oe,"HTML")?(0,c.z3N)(oe):(0,c.EiD)(this._doc,String(oe)).toString();case c.q3G.STYLE:return(0,c.qzn)(oe,"Style")?(0,c.z3N)(oe):oe;case c.q3G.SCRIPT:if((0,c.qzn)(oe,"Script"))return(0,c.z3N)(oe);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.qzn)(oe,"URL")?(0,c.z3N)(oe):(0,c.mCW)(String(oe));case c.q3G.RESOURCE_URL:if((0,c.qzn)(oe,"ResourceURL"))return(0,c.z3N)(oe);throw new Error(`unsafe value used in a resource URL context (see ${c.JZr})`);default:throw new Error(`Unexpected SecurityContext ${j} (see ${c.JZr})`)}}bypassSecurityTrustHtml(j){return(0,c.JVY)(j)}bypassSecurityTrustStyle(j){return(0,c.L6k)(j)}bypassSecurityTrustScript(j){return(0,c.eBb)(j)}bypassSecurityTrustUrl(j){return(0,c.LAX)(j)}bypassSecurityTrustResourceUrl(j){return(0,c.pB0)(j)}}return re.ɵfac=function(j){return new(j||re)(c.LFG(m.K0))},re.ɵprov=c.Yz7({token:re,factory:function(j){let oe=null;return oe=j?new j:function Zt(re){return new Wt(re.get(m.K0))}(c.LFG(c.zs3)),oe},providedIn:"root"}),re})()},2297:(Se,W,g)=>{g.d(W,{dJ:()=>N});var m=g(9563);function N(I,...L){if(0===L.length)return(0,m.Gt)(I[0]);I[0].toLowerCase();const q=[I[0]];for(let K=0;K<L.length;K++)q.push(encodeURIComponent(L[K])),q.push(I[K+1]);return(0,m.Gt)(q.join(""))}},3710:(Se,W,g)=>{g.d(W,{fS:()=>V,sx:()=>x,xo:()=>I});var m=g(8644),c=g(7218);class U{privateDoNotAccessOrElseWrappedHtml;constructor(A,q){this.privateDoNotAccessOrElseWrappedHtml=A}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function O(L,A){return A??new U(L,m.Y)}function V(L){const A=L;return O(A,(0,c.C2)()?.createHTML(A))}void 0!==typeof window&&window;const x=(()=>O("",(0,c.Cm)()?.emptyHTML))();function I(L){if((0,c.Cm)()?.isHTML(L))return L;if(L instanceof U)return L.privateDoNotAccessOrElseWrappedHtml;throw new Error("")}},9563:(Se,W,g)=>{g.d(W,{Gt:()=>B,g$:()=>x});var m=g(8644),c=g(7218);class U{privateDoNotAccessOrElseWrappedResourceUrl;constructor(I,L){this.privateDoNotAccessOrElseWrappedResourceUrl=I}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}function B(F){const I=F;return(0,c.C2)()?.createScriptURL(I)??new U(I,m.Y)}function x(F){if((0,c.Cm)()?.isScriptURL(F))return F;if(F instanceof U)return F.privateDoNotAccessOrElseWrappedResourceUrl;throw new Error("")}void 0!==typeof window&&window},8644:(Se,W,g)=>{g.d(W,{Y:()=>m});const m={}},7218:(Se,W,g)=>{g.d(W,{C2:()=>N,Cm:()=>U});let O,m="google#safe";function U(){return function c(){if(typeof window<"u")return window.trustedTypes}()??null}function N(){if(void 0===O)try{O=U()?.createPolicy(m,{createHTML:V=>V,createScript:V=>V,createScriptURL:V=>V})??null}catch{O=null}return O}},4687:(Se,W,g)=>{g.d(W,{Ci:()=>U});var m=g(3710);function U(x,F){return(0,m.fS)(x)}}},Se=>{Se(Se.s=4952)}]);
//# sourceMappingURL=main.3a3ee2af1e1d1208.js.map