This repository was archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmain.e2b2bd505af6685c.js
More file actions
executable file
·29 lines (29 loc) · 447 KB
/
main.e2b2bd505af6685c.js
File metadata and controls
executable file
·29 lines (29 loc) · 447 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:(Me,z,g)=>{g.d(z,{bL:()=>ze,Yp:()=>me,Zg:()=>se,cH:()=>Ee,xx:()=>G});var m=g(7367),c=g(745),U=g(2673),O=g(9337),N=g(635),k=g(3158),V=g(3710);function P(Ne,Ae={}){let xe=function L(Ne){return Ne.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}(Ne);return Ae.preserveSpaces&&(xe=xe.replace(/(^|[\r\n\t ]) /g,"$1 ")),Ae.preserveNewlines&&(xe=xe.replace(/(\r\n|\n|\r)/g,"<br>")),Ae.preserveTabs&&(xe=xe.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),(0,V.fS)(xe)}var ee=g(4687),Y=g(2560),ne=g(4541),H=g(8987),J=g(5370);const G="file-not-found",Ee="fetching-error",ze="generated/",me=ze+"docs/";class se{constructor(Ae,xe,ae){this.logger=Ae,this.http=xe,this.cache=new Map,this.currentDocument=ae.currentPath.pipe((0,U.w)(ce=>this.getDocument(ce)))}getDocument(Ae){const xe=Ae||"index";return this.logger.log("getting document",xe),this.cache.has(xe)||this.cache.set(xe,this.fetchDocument(xe)),this.cache.get(xe)}fetchDocument(Ae){const xe=`${me}${function Ce(Ne){return Ne.replace(/[A-Z_]/g,Ae=>Ae.toLowerCase()+"_")}(Ae)}.json`,ae=new m.c;return this.logger.log("fetching document from",xe),this.http.get(xe,{responseType:"json"}).pipe((0,O.b)(ce=>{if(!ce||"object"!=typeof ce)throw this.logger.log("received invalid data:",ce),Error("Invalid data")}),(0,N.U)(ce=>({id:ce.id,contents:null===ce.contents?null:(0,ee.Ci)(ce.contents,"^")})),(0,k.K)(ce=>404===ce.status?this.getFileNotFoundDoc(Ae):this.getErrorDoc(Ae,ce))).subscribe(ae),ae.asObservable()}getFileNotFoundDoc(Ae){return Ae!==G?(this.logger.error(new Error(`Document file not found at '${Ae}'`)),this.getDocument(G)):(0,c.of)({id:G,contents:P("\u6587\u6863\u672a\u627e\u5230")})}getErrorDoc(Ae,xe){return this.logger.error(new Error(`Error fetching document '${Ae}': (${xe.message})`)),this.cache.delete(Ae),(0,c.of)({id:Ee,contents:(Ne=Ae,(0,ee.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">\u8bf7\u6c42\u6587\u6863\u5931\u8d25</h1>\n <p>\n \u62b1\u6b49\uff0c\u8fd9\u6b21\u6211\u4eec\u6ca1\u80fd\u53d6\u5230 "${P(Ne)}" \u9875\u3002\u8bf7\u68c0\u67e5\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u7a0d\u540e\u518d\u8bd5\u3002\n </p>\n </div>\n </div>\n`,"inline HTML with interpolations escaped"))});var Ne}static#e=this.\u0275fac=function(xe){return new(xe||se)(Y.LFG(ne.Y),Y.LFG(H.eN),Y.LFG(J.a))};static#t=this.\u0275prov=Y.Yz7({token:se,factory:se.\u0275fac})}},5832:(Me,z,g)=>{g.d(z,{o:()=>ne});var m=g(6067),c=g(833),U=g(4987);const{isArray:O}=Array;var k=g(3945);var F=g(5524),I=g(155),L=g(3853),R=g(8917);class ee{constructor(J,G){this.worker=J,this.zone=G,this.nextId=0}static create(J,G){return new ee(J,G)}sendMessage(J,G){return new c.y(Ee=>{const ze=this.nextId++,me=se=>{const{type:Ce,id:Ne,payload:Ae}=se.data;J===Ce&&ze===Ne&&this.zone.run(()=>{Ee.next(Ae),Ee.complete()})},$=se=>{this.zone.run(()=>Ee.error(se))};return this.worker.addEventListener("message",me),this.worker.addEventListener("error",$),this.worker.postMessage({type:J,id:ze,payload:G}),()=>{this.worker.removeEventListener("message",me),this.worker.removeEventListener("error",$)}})}}var Y=g(2560);class ne{constructor(J){this.zone=J,this.searchesSubject=new m.t(1)}initWorker(J){const G=this.ready=function V(...H){return 1===(H=function N(H){return 1===H.length&&O(H[0])?H[0]:H}(H)).length?(0,U.Xf)(H[0]):new c.y(function P(H){return J=>{let G=[];for(let Ee=0;G&&!J.closed&&Ee<H.length;Ee++)G.push((0,U.Xf)(H[Ee]).subscribe((0,k.x)(J,ze=>{if(G){for(let me=0;me<G.length;me++)me!==Ee&&G[me].unsubscribe();G=null}J.next(ze)})))}}(H))}((0,F.H)(J),this.searchesSubject.asObservable().pipe((0,I.P)())).pipe((0,L.b)(()=>{const Ee=new Worker(g.tu(new URL(g.p+g.u("src_app_search_search_worker_ts"),g.b)),{type:void 0});return this.worker=ee.create(Ee,this.zone),this.worker.sendMessage("load-index")}),(0,R._)(1));return G.connect(),G}search(J){return this.searchesSubject.next(J),this.ready.pipe((0,L.b)(()=>this.worker.sendMessage("query-index",J)))}static#e=this.\u0275fac=function(G){return new(G||ne)(Y.LFG(Y.R0b))};static#t=this.\u0275prov=Y.Yz7({token:ne,factory:ne.\u0275fac})}},3336:(Me,z,g)=>{function m(O){const{message:N,filename:k,colno:V,lineno:P,error:F}=O;return F instanceof Error?c(F):`${U(N)}\n${k}:${P||"?"}:${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(z,{R:()=>c,Z:()=>m})},8507:(Me,z,g)=>{g.d(z,{y:()=>V});var m=g(2297),c=g(9563),U=g(3336),O=g(4783),N=g(2340),k=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.\u0275fac=function(I){return new(I||V)(k.LFG(O.R))};static#t=this.\u0275prov=k.Yz7({token:V,factory:V.\u0275fac})}},5370:(Me,z,g)=>{g.d(z,{a:()=>P});var m=g(6067),c=g(635),U=g(9337),O=g(2560),N=g(8507),k=g(4666),V=g(9026);class P{constructor(I,L,R,ee){this.analyticsService=I,this.location=L,this.scrollService=R,this.platformLocation=ee,this.urlParser=document.createElement("a"),this.urlSubject=new m.t(1),this.fullPageNavigation=!1,this.currentUrl=this.urlSubject.pipe((0,c.U)(Y=>this.stripSlashes(Y))),this.currentPath=this.currentUrl.pipe((0,c.U)(Y=>(Y.match(/[^?#]*/)||[])[0]),(0,U.b)(Y=>this.analyticsService.locationChanged(Y))),this.urlSubject.next(L.path(!0)),this.location.subscribe(Y=>this.urlSubject.next(Y.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(),R=L.indexOf("?");if(R>-1)try{L.slice(R+1).split("&").forEach(Y=>{const ne=Y.split("=");ne[0]&&(I[decodeURIComponent(ne[0])]=ne[1]&&decodeURIComponent(ne[1]))})}catch{}return I}setSearch(I,L){const R=Object.keys(L).reduce((ee,Y)=>{const ne=L[Y];return void 0===ne?ee:ee+=(ee?"&":"?")+`${encodeURIComponent(Y)}=${encodeURIComponent(ne)}`},"");this.platformLocation.replaceState({},I,this.platformLocation.pathname+R)}handleAnchorClick(I,L=0,R=!1,ee=!1){if(0!==L||R||ee)return!0;const Y=I.target;if(Y&&"_self"!==Y||null!=I.getAttribute("download"))return!0;const{pathname:ne,search:H,hash:J}=I,G=I.getAttribute("href")?.startsWith("#")??!1,ze=(G?this.location.path():ne)+H+J;return this.urlParser.href=ze,!G&&I.href!==this.urlParser.href||!/\/[^/.]*$/.test(ne)||(this.go(ze),!1)}static#e=this.\u0275fac=function(L){return new(L||P)(O.LFG(N.y),O.LFG(k.Ye),O.LFG(V.a),O.LFG(k.lw))};static#t=this.\u0275prov=O.Yz7({token:P,factory:P.\u0275fac})}},4541:(Me,z,g)=>{g.d(z,{Y:()=>U});var m=g(2340),c=g(2560);class U{constructor(N){this.errorHandler=N}log(N,...k){m.N.production||console.log(N,...k)}error(N){this.errorHandler.handleError(N)}warn(N,...k){console.warn(N,...k)}static#e=this.\u0275fac=function(k){return new(k||U)(c.LFG(c.qLn))};static#t=this.\u0275prov=c.Yz7({token:U,factory:U.\u0275fac})}},4727:(Me,z,g)=>{g.d(z,{f_:()=>R});var m=g(4666),c=g(6067),U=g(253),O=g(3280),N=g(9211),k=g(8951),V=g(8977),P=g(2560),F=g(9026);class I{constructor(Y,ne){this.element=Y,this.index=ne,this.top=0}calculateTop(Y,ne){this.top=Y+this.element.getBoundingClientRect().top-ne}}class L{constructor(Y){this.activeScrollItem=new c.t(1),this.spiedElements=Y.map((ne,H)=>new I(ne,H))}calibrate(Y,ne){this.spiedElements.forEach(H=>H.calculateTop(Y,ne)),this.spiedElements.sort((H,J)=>J.top-H.top)}onScroll(Y,ne){let H;Y+1>=ne?H=this.spiedElements[0]:this.spiedElements.some(J=>J.top<=Y&&(H=J,!0)),this.activeScrollItem.next(H||null)}}class R{constructor(Y,ne){this.doc=Y,this.scrollService=ne,this.spiedElementGroups=[],this.onStopListening=new U.x,this.resizeEvents=(0,O.R)(window,"resize").pipe((0,N.e)(300),(0,k.R)(this.onStopListening)),this.scrollEvents=(0,O.R)(window,"scroll").pipe((0,N.e)(10),(0,k.R)(this.onStopListening))}spyOn(Y){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const ne=this.getScrollTop(),H=this.getTopOffset(),J=this.lastMaxScrollTop,G=new L(Y);return G.calibrate(ne,H),G.onScroll(ne,J),this.spiedElementGroups.push(G),{active:G.activeScrollItem.asObservable().pipe((0,V.x)()),unspy:()=>this.unspy(G)}}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 Y=this.getContentHeight(),ne=this.getViewportHeight(),H=this.getScrollTop(),J=this.getTopOffset();this.lastContentHeight=Y,this.lastMaxScrollTop=Y-ne,this.spiedElementGroups.forEach(G=>G.calibrate(H,J))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const Y=this.getScrollTop(),ne=this.lastMaxScrollTop;this.spiedElementGroups.forEach(H=>H.onScroll(Y,ne))}unspy(Y){Y.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(ne=>ne!==Y),this.spiedElementGroups.length||this.onStopListening.next()}static#e=this.\u0275fac=function(ne){return new(ne||R)(P.LFG(m.K0),P.LFG(F.a))};static#t=this.\u0275prov=P.Yz7({token:R,factory:R.\u0275fac})}},9026:(Me,z,g)=>{g.d(z,{a:()=>F});var m=g(4666),c=g(253),U=g(3280),O=g(8951),N=g(1989),k=g(6945),V=g(2560);class F{constructor(R,ee,Y,ne,H){if(this.document=R,this.platformLocation=ee,this.viewportScroller=Y,this.location=ne,this.storage=H,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 J=this.location.subscribe(G=>{"hashchange"===G.type?this.scrollToPosition():(this.removeStoredScrollInfo(),this.poppedStateScrollPosition=G.state?G.state.scrollPosition:null)});this.onDestroy.subscribe(()=>J.unsubscribe())}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}get topOffset(){if(!this._topOffset){const R=this.document.querySelector(".app-toolbar");this._topOffset=(R&&R.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 R=this.getCurrentHash(),ee=R?this.document.getElementById(R)??null:this.topOfPageElement;this.scrollToElement(ee)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(R){const ee=this.getStoredScrollPosition();ee?this.viewportScroller.scrollToPosition(ee):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),R):this.scrollToTop()}scrollToElement(R){R&&(R.scrollIntoView(),R.focus?.(),window&&window.scrollBy&&(window.scrollBy(0,R.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 R=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:R}),this.storage.setItem("scrollPosition",R.join(","))}}getStoredScrollLocationHref(){return this.storage.getItem("scrollLocationHref")||null}getStoredScrollPosition(){const R=this.storage.getItem("scrollPosition");if(!R)return null;const[ee,Y]=R.split(",");return[+ee,+Y]}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.\u0275fac=function(ee){return new(ee||F)(V.LFG(m.K0),V.LFG(m.lw),V.LFG(m.EM),V.LFG(m.Ye),V.LFG(k.xg))};static#t=this.\u0275prov=V.Yz7({token:F,factory:F.\u0275fac})}},26:(Me,z,g)=>{g.d(z,{G:()=>ee});var m=g(2560),c=g(4666),U=g(1014);function O(H,J){1&H&&(m.ynx(0),m.TgZ(1,"p",4),m._uU(2,"Searching ..."),m.qZA(),m.BQk())}function N(H,J){if(1&H&&m._UZ(0,"span"),2&H){const G=m.oxw().$implicit;m.Gre("symbol ",G.type,"")}}function k(H,J){if(1&H){const G=m.EpF();m.TgZ(0,"li",11)(1,"a",12),m.NdJ("click",function(ze){const $=m.CHM(G).$implicit,se=m.oxw(3);return m.KtG(se.onResultSelected($,ze))}),m.YNc(2,N,1,3,"span",13),m.TgZ(3,"span"),m._uU(4),m.qZA()()()}if(2&H){const G=J.$implicit,Ee=m.oxw().$implicit;m.xp6(1),m.s9C("href",G.path,m.LSH),m.xp6(1),m.Q6J("ngIf","api"===Ee.name),m.xp6(1),m.ekj("deprecated-api-item",G.deprecated),m.xp6(1),m.Oqu(G.title)}}function V(H,J){if(1&H&&m._UZ(0,"span"),2&H){const G=m.oxw().$implicit;m.Gre("symbol ",G.type,"")}}function P(H,J){if(1&H){const G=m.EpF();m.TgZ(0,"li",11)(1,"a",12),m.NdJ("click",function(ze){const $=m.CHM(G).$implicit,se=m.oxw(3);return m.KtG(se.onResultSelected($,ze))}),m.YNc(2,V,1,3,"span",13),m.TgZ(3,"span"),m._uU(4),m.qZA()()()}if(2&H){const G=J.$implicit,Ee=m.oxw().$implicit;m.xp6(1),m.s9C("href",G.path,m.LSH),m.xp6(1),m.Q6J("ngIf","api"===Ee.name),m.xp6(1),m.ekj("deprecated-api-item",G.deprecated),m.xp6(1),m.Oqu(G.title)}}function F(H,J){if(1&H&&(m.TgZ(0,"div",7)(1,"h3",8),m._uU(2),m.qZA(),m.TgZ(3,"ul",9),m.YNc(4,k,5,5,"li",10),m.qZA(),m.TgZ(5,"ul"),m.YNc(6,P,5,5,"li",10),m.qZA()()),2&H){const G=J.$implicit;m.xp6(2),m.AsE("",G.name," (",G.pages.length+G.priorityPages.length,")"),m.xp6(2),m.Q6J("ngForOf",G.priorityPages),m.xp6(2),m.Q6J("ngForOf",G.pages)}}function I(H,J){if(1&H&&(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&H){const G=m.oxw();m.xp6(3),m.Q6J("ngForOf",G.searchAreas)}}function L(H,J){1&H&&(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 R=(()=>{return(H=R||(R={})).InProgress="in-progress",H.ResultsFound="results-found",H.NoResultsFound="no-results-found",R;var H})();class ee{constructor(){this.searchResults=null,this.resultSelected=new m.vpe,this.closeButtonClick=new m.vpe,this.searchState=R.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?R.InProgress:this.searchResults.results.length?R.ResultsFound:R.NoResultsFound,this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(J,G){0===G.button&&!G.ctrlKey&&!G.metaKey&&this.resultSelected.emit(J)}onCloseClicked(){this.closeButtonClick.emit()}processSearchResults(J){if(!J)return[];const G={};return J.results.forEach(ze=>{if(!ze.title)return;const me=this.computeAreaName(ze);(G[me]=G[me]||[]).push(ze)}),Object.keys(G).sort((ze,me)=>ze>me?1:-1).map(ze=>{const{priorityPages:me,pages:$,deprecated:se}=function Y(H){const J=[],G=[],Ee=[];for(H.forEach(ze=>{ze.deprecated?Ee.push(ze):J.length<5?J.push(ze):G.push(ze)});J.length<5&&G.length;)J.push(G.shift());for(;J.length<5&&Ee.length;)J.push(Ee.shift());return G.sort(ne),{priorityPages:J,pages:G,deprecated:Ee}}(G[ze]);return{name:ze,priorityPages:me,pages:$.concat(se)}})}computeAreaName(J){const[G]=J.path.split("/",1);return this.folderToAreaMap[G]??this.defaultArea}static#e=this.\u0275fac=function(G){return new(G||ee)};static#t=this.\u0275cmp=m.Xpm({type:ee,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(G,Ee){1&G&&(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 Ee.onCloseClicked()}),m._UZ(5,"mat-icon",3),m.qZA()()),2&G&&(m.Q6J("ngSwitch",Ee.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 ne(H,J){return H.title.toUpperCase()>J.title.toUpperCase()?1:-1}},6155:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{m:()=>O});var m=g(4666),c=g(1014),U=g(2560);class O{static#e=this.\u0275fac=function(V){return new(V||O)};static#t=this.\u0275mod=U.oAB({type:O});static#n=this.\u0275inj=U.cJS({imports:[m.ez,c.Ps,c.Ps]})}},6945:(Me,z,g)=>{g.d(z,{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:P=>V(P,"localStorage"),deps:[c.R]},{provide:O,useFactory:P=>V(P,"sessionStorage"),deps:[c.R]}];class k{constructor(){this.length=0}clear(){}getItem(){return null}key(){return null}removeItem(){}setItem(){}}function V(P,F){try{return P[F]}catch{return new k}}},6308:(Me,z,g)=>{g.d(z,{I:()=>P});var m=g(4666),c=g(6067),U=g(3710),O=g(6155),N=g(2560),k=g(4497),V=g(4727);class P{constructor(I,L,R){this.document=I,this.domSanitizer=L,this.scrollSpyService=R,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 R=this.findTocHeadings(I),ee=new Map,Y=R.map(ne=>{const{title:H,content:J}=this.extractHeadingSafeHtml(ne);return{level:ne.tagName.toLowerCase(),href:`${L}#${this.getId(ne,ee)}`,title:H,content:J}});this.tocList.next(Y),this.scrollSpyInfo=this.scrollSpyService.spyOn(R),this.scrollSpyInfo.active.subscribe(ne=>this.activeItemIndex.next(ne&&ne.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(R=>R.remove()),L.querySelectorAll("a").forEach(R=>{const ee=R.parentNode;for(;R.childNodes.length;)ee.insertBefore(R.childNodes[0],R);R.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,ee=>!/(?:no-toc|notoc)/i.test(ee.className)&&!this.isOriginalText(ee))}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 R=I.id;return R?ee(R):(R=(I.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),R=ee(R),I.id=R),R;function ee(Y){const H=(L.get(Y)||0)+1;return L.set(Y,H),1===H?Y:`${Y}-${H}`}}static#e=this.\u0275fac=function(L){return new(L||P)(N.LFG(m.K0),N.LFG(k.H7),N.LFG(V.f_))};static#t=this.\u0275prov=N.Yz7({token:P,factory:P.\u0275fac})}},4783:(Me,z,g)=>{g.d(z,{R:()=>c,s:()=>U});const c=new(g(2560).OlP)("Window");function U(){return window}},2340:(Me,z,g)=>{g.d(z,{N:()=>m});const m={legacyUniversalAnalyticsId:"UA-80456300-1",googleAnalyticsId:"G-BVV0RDSG7F",production:!0,mode:"stable"}},4952:(Me,z,g)=>{var m=g(4497),c=g(2560),U=g(8987),O=g(4851);function k(l){return new c.vHH(3e3,!1)}function Jt(){return typeof window<"u"&&typeof window.document<"u"}function Ke(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Fe(l){switch(l.length){case 0:return new O.ZN;case 1:return l[0];default:return new O.ZE(l)}}function te(l,i,r,a,d=new Map,f=new Map){const E=[],b=[];let A=-1,Z=null;if(a.forEach(pe=>{const _e=pe.get("offset"),Qe=_e==A,ot=Qe&&Z||new Map;pe.forEach((rt,it)=>{let Tt=it,tn=rt;if("offset"!==it)switch(Tt=i.normalizePropertyName(Tt,E),tn){case O.k1:tn=d.get(it);break;case O.l3:tn=f.get(it);break;default:tn=i.normalizeStyleValue(it,Tt,tn,E)}ot.set(Tt,tn)}),Qe||b.push(ot),Z=ot,A=_e}),E.length)throw function ye(l){return new c.vHH(3502,!1)}();return b}function Te(l,i,r,a){switch(i){case"start":l.onStart(()=>a(r&&be(r,"start",l)));break;case"done":l.onDone(()=>a(r&&be(r,"done",l)));break;case"destroy":l.onDestroy(()=>a(r&&be(r,"destroy",l)))}}function be(l,i,r){const f=ke(l.element,l.triggerName,l.fromState,l.toState,i||l.phaseName,r.totalTime??l.totalTime,!!r.disabled),E=l._data;return null!=E&&(f._data=E),f}function ke(l,i,r,a,d="",f=0,E){return{element:l,triggerName:i,fromState:r,toState:a,phaseName:d,totalTime:f,disabled:!!E}}function re(l,i,r){let a=l.get(i);return a||l.set(i,a=r),a}function fe(l){const i=l.indexOf(":");return[l.substring(1,i),l.slice(i+1)]}let Oe=(l,i)=>!1,He=(l,i,r)=>[],Ze=null;function Ue(l){const i=l.parentNode||l.host;return i===Ze?null:i}(Ke()||typeof Element<"u")&&(Jt()?(Ze=(()=>document.documentElement)(),Oe=(l,i)=>{for(;i;){if(i===l)return!0;i=Ue(i)}return!1}):Oe=(l,i)=>l.contains(i),He=(l,i,r)=>{if(r)return Array.from(l.querySelectorAll(i));const a=l.querySelector(i);return a?[a]:[]});let Rt=null,$n=!1;const st=Oe,Ye=He;let kn=(()=>{class l{validateStyleProperty(r){return function Ln(l){Rt||(Rt=function nn(){return typeof document<"u"?document.body:null}()||{},$n=!!Rt.style&&"WebkitAppearance"in Rt.style);let i=!0;return Rt.style&&!function gn(l){return"ebkit"==l.substring(1,6)}(l)&&(i=l in Rt.style,!i&&$n&&(i="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in Rt.style)),i}(r)}matchesElement(r,a){return!1}containsElement(r,a){return st(r,a)}getParentElement(r){return Ue(r)}query(r,a,d){return Ye(r,a,d)}computeStyle(r,a,d){return d||""}animate(r,a,d,f,E,b=[],A){return new O.ZN(d,f)}}return l.\u0275fac=function(r){return new(r||l)},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})(),qt=(()=>{class l{}return l.NOOP=new kn,l})();const Q="ng-enter",le="ng-leave",De="ng-trigger",ft=".ng-trigger",gt="ng-animating",hn=".ng-animating";function ge(l){if("number"==typeof l)return l;const i=l.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:x(parseFloat(i[1]),i[2])}function x(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,E="";if("string"==typeof l){const b=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===b)return i.push(k()),{duration:0,delay:0,easing:""};d=x(parseFloat(b[1]),b[2]);const A=b[3];null!=A&&(f=x(parseFloat(A),b[4]));const Z=b[5];Z&&(E=Z)}else d=l;if(!r){let b=!1,A=i.length;d<0&&(i.push(function V(){return new c.vHH(3100,!1)}()),b=!0),f<0&&(i.push(function P(){return new c.vHH(3101,!1)}()),b=!0),b&&i.splice(A,0,k())}return{duration:d,delay:f,easing:E}}(l,i,r)}function K(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 dt(l,i=new Map,r){if(r)for(let[a,d]of r)i.set(a,d);for(let[a,d]of l)i.set(a,d);return i}function vt(l,i,r){return r?i+":"+r+";":""}function un(l){let i="";for(let r=0;r<l.style.length;r++){const a=l.style.item(r);i+=vt(0,a,l.style.getPropertyValue(a))}for(const r in l.style)l.style.hasOwnProperty(r)&&!r.startsWith("_")&&(i+=vt(0,Mt(r),l.style[r]));l.setAttribute("style",i)}function Ht(l,i,r){l.style&&(i.forEach((a,d)=>{const f=at(d);r&&!r.has(d)&&r.set(d,l.style[f]),l.style[f]=a}),Ke()&&un(l))}function en(l,i){l.style&&(i.forEach((r,a)=>{const d=at(a);l.style[d]=""}),Ke()&&un(l))}function pt(l){return Array.isArray(l)?1==l.length?l[0]:(0,O.vP)(l):l}const oe=new RegExp("{{\\s*(.+?)\\s*}}","g");function X(l){let i=[];if("string"==typeof l){let r;for(;r=oe.exec(l);)i.push(r[1]);oe.lastIndex=0}return i}function j(l,i,r){const a=l.toString(),d=a.replace(oe,(f,E)=>{let b=i[E];return null==b&&(r.push(function I(l){return new c.vHH(3003,!1)}()),b=""),b.toString()});return d==a?l:d}function ie(l){const i=[];let r=l.next();for(;!r.done;)i.push(r.value),r=l.next();return i}const Se=/-+([a-z0-9])/g;function at(l){return l.replace(Se,(...i)=>i[1].toUpperCase())}function Mt(l){return l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function wn(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 zr(l,i){return window.getComputedStyle(l)[i]}function er(l,i){const r=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(a=>function tr(l,i,r){if(":"==l[0]){const A=function Ge(l,i){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,a)=>parseFloat(a)>parseFloat(r);case":decrement":return(r,a)=>parseFloat(a)<parseFloat(r);default:return i.push(function Ae(l){return new c.vHH(3016,!1)}()),"* => *"}}(l,r);if("function"==typeof A)return void i.push(A);l=A}const a=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return r.push(function Ne(l){return new c.vHH(3015,!1)}()),i;const d=a[1],f=a[2],E=a[3];i.push(Vn(d,E));"<"==f[0]&&!("*"==d&&"*"==E)&&i.push(Vn(E,d))}(a,r,i)):r.push(l),r}const Et=new Set(["true","1"]),Zt=new Set(["false","0"]);function Vn(l,i){const r=Et.has(l)||Zt.has(l),a=Et.has(i)||Zt.has(i);return(d,f)=>{let E="*"==l||l==d,b="*"==i||i==f;return!E&&r&&"boolean"==typeof d&&(E=d?Et.has(l):Zt.has(l)),!b&&a&&"boolean"==typeof f&&(b=f?Et.has(i):Zt.has(i)),E&&b}}const mn=new RegExp("s*:selfs*,?","g");function ur(l,i,r,a){return new dr(l).build(i,r,a)}class dr{constructor(i){this._driver=i}build(i,r,a){const d=new Si(r);return this._resetContextStyleTimingState(d),wn(this,pt(i),d)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,r){let a=r.queryCount=0,d=r.depCount=0;const f=[],E=[];return"@"==i.name.charAt(0)&&r.errors.push(function ee(){return new c.vHH(3006,!1)}()),i.definitions.forEach(b=>{if(this._resetContextStyleTimingState(r),0==b.type){const A=b,Z=A.name;Z.toString().split(/\s*,\s*/).forEach(pe=>{A.name=pe,f.push(this.visitState(A,r))}),A.name=Z}else if(1==b.type){const A=this.visitTransition(b,r);a+=A.queryCount,d+=A.depCount,E.push(A)}else r.errors.push(function Y(){return new c.vHH(3007,!1)}())}),{type:7,name:i.name,states:f,transitions:E,queryCount:a,depCount:d,options:null}}visitState(i,r){const a=this.visitStyle(i.styles,r),d=i.options&&i.options.params||null;if(a.containsDynamicStyles){const f=new Set,E=d||{};a.styles.forEach(b=>{b instanceof Map&&b.forEach(A=>{X(A).forEach(Z=>{E.hasOwnProperty(Z)||f.add(Z)})})}),f.size&&(ie(f.values()),r.errors.push(function ne(l,i){return new c.vHH(3008,!1)}()))}return{type:0,name:i.name,style:a,options:d?{params:d}:null}}visitTransition(i,r){r.queryCount=0,r.depCount=0;const a=wn(this,pt(i.animation),r);return{type:1,matchers:er(i.expr,r.errors),animation:a,queryCount:r.queryCount,depCount:r.depCount,options:Yn(i.options)}}visitSequence(i,r){return{type:2,steps:i.steps.map(a=>wn(this,a,r)),options:Yn(i.options)}}visitGroup(i,r){const a=r.currentTime;let d=0;const f=i.steps.map(E=>{r.currentTime=a;const b=wn(this,E,r);return d=Math.max(d,r.currentTime),b});return r.currentTime=d,{type:3,steps:f,options:Yn(i.options)}}visitAnimate(i,r){const a=function po(l,i){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return An(C(l,i).duration,0,"");const r=l;if(r.split(/\s+/).some(f=>"{"==f.charAt(0)&&"{"==f.charAt(1))){const f=An(0,0,"");return f.dynamic=!0,f.strValue=r,f}const d=C(r,i);return An(d.duration,d.delay,d.easing)}(i.timings,r.errors);r.currentAnimateTimings=a;let d,f=i.styles?i.styles:(0,O.oB)({});if(5==f.type)d=this.visitKeyframes(f,r);else{let E=i.styles,b=!1;if(!E){b=!0;const Z={};a.easing&&(Z.easing=a.easing),E=(0,O.oB)(Z)}r.currentTime+=a.duration+a.delay;const A=this.visitStyle(E,r);A.isEmptyStep=b,d=A}return r.currentAnimateTimings=null,{type:4,timings:a,style:d,options:null}}visitStyle(i,r){const a=this._makeStyleAst(i,r);return this._validateStyleAst(a,r),a}_makeStyleAst(i,r){const a=[],d=Array.isArray(i.styles)?i.styles:[i.styles];for(let b of d)"string"==typeof b?b===O.l3?a.push(b):r.errors.push(new c.vHH(3002,!1)):a.push(ue(b));let f=!1,E=null;return a.forEach(b=>{if(b instanceof Map&&(b.has("easing")&&(E=b.get("easing"),b.delete("easing")),!f))for(let A of b.values())if(A.toString().indexOf("{{")>=0){f=!0;break}}),{type:6,styles:a,easing:E,offset:i.offset,containsDynamicStyles:f,options:null}}_validateStyleAst(i,r){const a=r.currentAnimateTimings;let d=r.currentTime,f=r.currentTime;a&&f>0&&(f-=a.duration+a.delay),i.styles.forEach(E=>{"string"!=typeof E&&E.forEach((b,A)=>{const Z=r.collectedStyles.get(r.currentQuerySelector),pe=Z.get(A);let _e=!0;pe&&(f!=d&&f>=pe.startTime&&d<=pe.endTime&&(r.errors.push(function G(l,i,r,a,d){return new c.vHH(3010,!1)}()),_e=!1),f=pe.startTime),_e&&Z.set(A,{startTime:f,endTime:d}),r.options&&function Gt(l,i,r){const a=i.params||{},d=X(l);d.length&&d.forEach(f=>{a.hasOwnProperty(f)||r.push(function F(l){return new c.vHH(3001,!1)}())})}(b,r.options,r.errors)})})}visitKeyframes(i,r){const a={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(function Ee(){return new c.vHH(3011,!1)}()),a;let f=0;const E=[];let b=!1,A=!1,Z=0;const pe=i.steps.map(tn=>{const dn=this._makeStyleAst(tn,r);let Hn=null!=dn.offset?dn.offset:function Fr(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 a=r;i=parseFloat(a.get("offset")),a.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const r=l;i=parseFloat(r.get("offset")),r.delete("offset")}return i}(dn.styles),Gn=0;return null!=Hn&&(f++,Gn=dn.offset=Hn),A=A||Gn<0||Gn>1,b=b||Gn<Z,Z=Gn,E.push(Gn),dn});A&&r.errors.push(function ze(){return new c.vHH(3012,!1)}()),b&&r.errors.push(function me(){return new c.vHH(3200,!1)}());const _e=i.steps.length;let Qe=0;f>0&&f<_e?r.errors.push(function $(){return new c.vHH(3202,!1)}()):0==f&&(Qe=1/(_e-1));const ot=_e-1,rt=r.currentTime,it=r.currentAnimateTimings,Tt=it.duration;return pe.forEach((tn,dn)=>{const Hn=Qe>0?dn==ot?1:Qe*dn:E[dn],Gn=Hn*Tt;r.currentTime=rt+it.delay+Gn,it.duration=Gn,this._validateStyleAst(tn,r),tn.offset=Hn,a.styles.push(tn)}),a}visitReference(i,r){return{type:8,animation:wn(this,pt(i.animation),r),options:Yn(i.options)}}visitAnimateChild(i,r){return r.depCount++,{type:9,options:Yn(i.options)}}visitAnimateRef(i,r){return{type:10,animation:this.visitReference(i.animation,r),options:Yn(i.options)}}visitQuery(i,r){const a=r.currentQuerySelector,d=i.options||{};r.queryCount++,r.currentQuery=i;const[f,E]=function Wr(l){const i=!!l.split(/\s*,\s*/).find(r=>":self"==r);return i&&(l=l.replace(mn,"")),l=l.replace(/@\*/g,ft).replace(/@\w+/g,r=>ft+"-"+r.slice(1)).replace(/:animating/g,hn),[l,i]}(i.selector);r.currentQuerySelector=a.length?a+" "+f:f,re(r.collectedStyles,r.currentQuerySelector,new Map);const b=wn(this,pt(i.animation),r);return r.currentQuery=null,r.currentQuerySelector=a,{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:E,animation:b,originalSelector:i.selector,options:Yn(i.options)}}visitStagger(i,r){r.currentQuery||r.errors.push(function se(){return new c.vHH(3013,!1)}());const a="full"===i.timings?{duration:0,delay:0,easing:"full"}:C(i.timings,r.errors,!0);return{type:12,animation:wn(this,pt(i.animation),r),timings:a,options:null}}}class Si{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 Yn(l){return l?(l=K(l)).params&&(l.params=function wt(l){return l?K(l):null}(l.params)):l={},l}function An(l,i,r){return{duration:l,delay:i,easing:r}}function Gr(l,i,r,a,d,f,E=null,b=!1){return{type:1,element:l,keyframes:i,preStyleProps:r,postStyleProps:a,duration:d,delay:f,totalTime:d+f,easing:E,subTimeline:b}}class Nr{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,r){let a=this._map.get(i);a||this._map.set(i,a=[]),a.push(...r)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const Bl=new RegExp(":enter","g"),Ul=new RegExp(":leave","g");function ms(l,i,r,a,d,f=new Map,E=new Map,b,A,Z=[]){return(new go).buildKeyframes(l,i,r,a,d,f,E,b,A,Z)}class go{buildKeyframes(i,r,a,d,f,E,b,A,Z,pe=[]){Z=Z||new Nr;const _e=new Kr(i,r,Z,d,f,pe,[]);_e.options=A;const Qe=A.delay?ge(A.delay):0;_e.currentTimeline.delayNextStep(Qe),_e.currentTimeline.setStyles([E],null,_e.errors,A),wn(this,a,_e);const ot=_e.timelines.filter(rt=>rt.containsAnimation());if(ot.length&&b.size){let rt;for(let it=ot.length-1;it>=0;it--){const Tt=ot[it];if(Tt.element===r){rt=Tt;break}}rt&&!rt.allowOnlyTimelineStyles()&&rt.setStyles([b],null,_e.errors,A)}return ot.length?ot.map(rt=>rt.buildKeyframes()):[Gr(r,[],[],[],0,Qe,"",!1)]}visitTrigger(i,r){}visitState(i,r){}visitTransition(i,r){}visitAnimateChild(i,r){const a=r.subInstructions.get(r.element);if(a){const d=r.createSubContext(i.options),f=r.currentTimeline.currentTime,E=this._visitSubInstructions(a,d,d.options);f!=E&&r.transformIntoNewTimeline(E)}r.previousNode=i}visitAnimateRef(i,r){const a=r.createSubContext(i.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],r,a),this.visitReference(i.animation,a),r.transformIntoNewTimeline(a.currentTimeline.currentTime),r.previousNode=i}_applyAnimationRefDelays(i,r,a){for(const d of i){const f=d?.delay;if(f){const E="number"==typeof f?f:ge(j(f,d?.params??{},r.errors));a.delayNextStep(E)}}}_visitSubInstructions(i,r,a){let f=r.currentTimeline.currentTime;const E=null!=a.duration?ge(a.duration):null,b=null!=a.delay?ge(a.delay):null;return 0!==E&&i.forEach(A=>{const Z=r.appendInstructionToTimeline(A,E,b);f=Math.max(f,Z.duration+Z.delay)}),f}visitReference(i,r){r.updateOptions(i.options,!0),wn(this,i.animation,r),r.previousNode=i}visitSequence(i,r){const a=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=Mi);const E=ge(f.delay);d.delayNextStep(E)}i.steps.length&&(i.steps.forEach(E=>wn(this,E,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>a&&d.transformIntoNewTimeline()),r.previousNode=i}visitGroup(i,r){const a=[];let d=r.currentTimeline.currentTime;const f=i.options&&i.options.delay?ge(i.options.delay):0;i.steps.forEach(E=>{const b=r.createSubContext(i.options);f&&b.delayNextStep(f),wn(this,E,b),d=Math.max(d,b.currentTimeline.currentTime),a.push(b.currentTimeline)}),a.forEach(E=>r.currentTimeline.mergeTimelineCollectedStyles(E)),r.transformIntoNewTimeline(d),r.previousNode=i}_visitTiming(i,r){if(i.dynamic){const a=i.strValue;return C(r.params?j(a,r.params,r.errors):a,r.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,r){const a=r.currentAnimateTimings=this._visitTiming(i.timings,r),d=r.currentTimeline;a.delay&&(r.incrementTime(a.delay),d.snapshotCurrentStyles());const f=i.style;5==f.type?this.visitKeyframes(f,r):(r.incrementTime(a.duration),this.visitStyle(f,r),d.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=i}visitStyle(i,r){const a=r.currentTimeline,d=r.currentAnimateTimings;!d&&a.hasCurrentStyleProperties()&&a.forwardFrame();const f=d&&d.easing||i.easing;i.isEmptyStep?a.applyEmptyStep(f):a.setStyles(i.styles,f,r.errors,r.options),r.previousNode=i}visitKeyframes(i,r){const a=r.currentAnimateTimings,d=r.currentTimeline.duration,f=a.duration,b=r.createSubContext().currentTimeline;b.easing=a.easing,i.styles.forEach(A=>{b.forwardTime((A.offset||0)*f),b.setStyles(A.styles,A.easing,r.errors,r.options),b.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(b),r.transformIntoNewTimeline(d+f),r.previousNode=i}visitQuery(i,r){const a=r.currentTimeline.currentTime,d=i.options||{},f=d.delay?ge(d.delay):0;f&&(6===r.previousNode.type||0==a&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Mi);let E=a;const b=r.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!d.optional,r.errors);r.currentQueryTotal=b.length;let A=null;b.forEach((Z,pe)=>{r.currentQueryIndex=pe;const _e=r.createSubContext(i.options,Z);f&&_e.delayNextStep(f),Z===r.element&&(A=_e.currentTimeline),wn(this,i.animation,_e),_e.currentTimeline.applyStylesToKeyframe(),E=Math.max(E,_e.currentTimeline.currentTime)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(E),A&&(r.currentTimeline.mergeTimelineCollectedStyles(A),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=i}visitStagger(i,r){const a=r.parentContext,d=r.currentTimeline,f=i.timings,E=Math.abs(f.duration),b=E*(r.currentQueryTotal-1);let A=E*r.currentQueryIndex;switch(f.duration<0?"reverse":f.easing){case"reverse":A=b-A;break;case"full":A=a.currentStaggerTime}const pe=r.currentTimeline;A&&pe.delayNextStep(A);const _e=pe.currentTime;wn(this,i.animation,r),r.previousNode=i,a.currentStaggerTime=d.currentTime-_e+(d.startTime-a.currentTimeline.startTime)}}const Mi={};class Kr{constructor(i,r,a,d,f,E,b,A){this._driver=i,this.element=r,this.subInstructions=a,this._enterClassName=d,this._leaveClassName=f,this.errors=E,this.timelines=b,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=A||new ci(this._driver,r,0),b.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,r){if(!i)return;const a=i;let d=this.options;null!=a.duration&&(d.duration=ge(a.duration)),null!=a.delay&&(d.delay=ge(a.delay));const f=a.params;if(f){let E=d.params;E||(E=this.options.params={}),Object.keys(f).forEach(b=>{(!r||!E.hasOwnProperty(b))&&(E[b]=j(f[b],E,this.errors))})}}_copyOptions(){const i={};if(this.options){const r=this.options.params;if(r){const a=i.params={};Object.keys(r).forEach(d=>{a[d]=r[d]})}}return i}createSubContext(i=null,r,a){const d=r||this.element,f=new Kr(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,a||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=Mi,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,r,a){const d={duration:r??i.duration,delay:this.currentTimeline.currentTime+(a??0)+i.delay,easing:""},f=new ui(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,a,d,f,E){let b=[];if(d&&b.push(this.element),i.length>0){i=(i=i.replace(Bl,"."+this._enterClassName)).replace(Ul,"."+this._leaveClassName);let Z=this._driver.query(this.element,i,1!=a);0!==a&&(Z=a<0?Z.slice(Z.length+a,Z.length):Z.slice(0,a)),b.push(...Z)}return!f&&0==b.length&&E.push(function Ce(l){return new c.vHH(3014,!1)}()),b}}class ci{constructor(i,r,a,d){this._driver=i,this.element=r,this.startTime=a,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 ci(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,a]of this._globalTimelineStyles)this._backFill.set(r,a||O.l3),this._currentKeyframe.set(r,O.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,r,a,d){r&&this._previousKeyframe.set("easing",r);const f=d&&d.params||{},E=function Vl(l,i){const r=new Map;let a;return l.forEach(d=>{if("*"===d){a=a||i.keys();for(let f of a)r.set(f,O.l3)}else dt(d,r)}),r}(i,this._globalTimelineStyles);for(let[b,A]of E){const Z=j(A,f,a);this._pendingStyles.set(b,Z),this._localTimelineStyles.has(b)||this._backFill.set(b,this._globalTimelineStyles.get(b)??O.l3),this._updateStyle(b,Z)}}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,a)=>{const d=this._styleSummary.get(a);(!d||r.time>d.time)&&this._updateStyle(a,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,r=new Set,a=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((b,A)=>{const Z=dt(b,new Map,this._backFill);Z.forEach((pe,_e)=>{pe===O.k1?i.add(_e):pe===O.l3&&r.add(_e)}),a||Z.set("offset",A/this.duration),d.push(Z)});const f=i.size?ie(i.values()):[],E=r.size?ie(r.values()):[];if(a){const b=d[0],A=new Map(b);b.set("offset",0),A.set("offset",1),d=[b,A]}return Gr(this.element,d,f,E,this.duration,this.startTime,this.easing,!1)}}class ui extends ci{constructor(i,r,a,d,f,E,b=!1){super(i,r,E.delay),this.keyframes=a,this.preStyleProps=d,this.postStyleProps=f,this._stretchStartingKeyframe=b,this.timings={duration:E.duration,delay:E.delay,easing:E.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:r,duration:a,easing:d}=this.timings;if(this._stretchStartingKeyframe&&r){const f=[],E=a+r,b=r/E,A=dt(i[0]);A.set("offset",0),f.push(A);const Z=dt(i[0]);Z.set("offset",Rn(b)),f.push(Z);const pe=i.length-1;for(let _e=1;_e<=pe;_e++){let Qe=dt(i[_e]);const ot=Qe.get("offset");Qe.set("offset",Rn((r+ot*a)/E)),f.push(Qe)}a=E,r=0,d="",i=f}return Gr(this.element,i,this.preStyleProps,this.postStyleProps,a,r,d,!0)}}function Rn(l,i=3){const r=Math.pow(10,i-1);return Math.round(l*r)/r}class rr{}const mo=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 _o extends rr{normalizePropertyName(i,r){return at(i)}normalizeStyleValue(i,r,a,d){let f="";const E=a.toString().trim();if(mo.has(r)&&0!==a&&"0"!==a)if("number"==typeof a)f="px";else{const b=a.match(/^[+-]?[\d\.]+([a-z]*)$/);b&&0==b[1].length&&d.push(function R(l,i){return new c.vHH(3005,!1)}())}return E+f}}function fr(l,i,r,a,d,f,E,b,A,Z,pe,_e,Qe){return{type:0,element:l,triggerName:i,isRemovalTransition:d,fromState:r,fromStyles:f,toState:a,toStyles:E,timelines:b,queriedElements:A,preStyleProps:Z,postStyleProps:pe,totalTime:_e,errors:Qe}}const _s={};class jl{constructor(i,r,a){this._triggerName=i,this.ast=r,this._stateStyles=a}match(i,r,a,d){return function Hl(l,i,r,a,d){return l.some(f=>f(i,r,a,d))}(this.ast.matchers,i,r,a,d)}buildStyles(i,r,a){let d=this._stateStyles.get("*");return void 0!==i&&(d=this._stateStyles.get(i?.toString())||d),d?d.buildStyles(r,a):new Map}build(i,r,a,d,f,E,b,A,Z,pe){const _e=[],Qe=this.ast.options&&this.ast.options.params||_s,rt=this.buildStyles(a,b&&b.params||_s,_e),it=A&&A.params||_s,Tt=this.buildStyles(d,it,_e),tn=new Set,dn=new Map,Hn=new Map,Gn="void"===d,us={params:$l(it,Qe),delay:this.ast.options?.delay},Sr=pe?[]:ms(i,r,this.ast.animation,f,E,rt,Tt,us,Z,_e);let Mn=0;if(Sr.forEach(Mr=>{Mn=Math.max(Mr.duration+Mr.delay,Mn)}),_e.length)return fr(r,this._triggerName,a,d,Gn,rt,Tt,[],[],dn,Hn,Mn,_e);Sr.forEach(Mr=>{const Hr=Mr.element,va=re(dn,Hr,new Set);Mr.preStyleProps.forEach(yi=>va.add(yi));const ds=re(Hn,Hr,new Set);Mr.postStyleProps.forEach(yi=>ds.add(yi)),Hr!==r&&tn.add(Hr)});const jr=ie(tn.values());return fr(r,this._triggerName,a,d,Gn,rt,Tt,Sr,jr,dn,Hn,Mn)}}function $l(l,i){const r=K(i);for(const a in l)l.hasOwnProperty(a)&&null!=l[a]&&(r[a]=l[a]);return r}class Pu{constructor(i,r,a){this.styles=i,this.defaultParams=r,this.normalizer=a}buildStyles(i,r){const a=new Map,d=K(this.defaultParams);return Object.keys(i).forEach(f=>{const E=i[f];null!==E&&(d[f]=E)}),this.styles.styles.forEach(f=>{"string"!=typeof f&&f.forEach((E,b)=>{E&&(E=j(E,d,r));const A=this.normalizer.normalizePropertyName(b,r);E=this.normalizer.normalizeStyleValue(b,A,E,r),a.set(A,E)})}),a}}class Nu{constructor(i,r,a){this.name=i,this.ast=r,this._normalizer=a,this.transitionFactories=[],this.states=new Map,r.states.forEach(d=>{this.states.set(d.name,new Pu(d.style,d.options&&d.options.params||{},a))}),vs(this.states,"true","1"),vs(this.states,"false","0"),r.transitions.forEach(d=>{this.transitionFactories.push(new jl(i,d,this.states))}),this.fallbackTransition=function Sa(l,i,r){return new jl(l,{type:1,animation:{type:2,steps:[],options:null},matchers:[(E,b)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,r,a,d){return this.transitionFactories.find(E=>E.match(i,r,a,d))||null}matchStyles(i,r,a){return this.fallbackTransition.buildStyles(i,r,a)}}function vs(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 Lu=new Nr;class Jh{constructor(i,r,a){this.bodyNode=i,this._driver=r,this._normalizer=a,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,r){const a=[],f=ur(this._driver,r,a,[]);if(a.length)throw function he(l){return new c.vHH(3503,!1)}();this._animations.set(i,f)}_buildPlayer(i,r,a){const d=i.element,f=te(0,this._normalizer,0,i.keyframes,r,a);return this._driver.animate(d,f,i.duration,i.delay,i.easing,[],!0)}create(i,r,a={}){const d=[],f=this._animations.get(i);let E;const b=new Map;if(f?(E=ms(this._driver,r,f,Q,le,new Map,new Map,a,Lu,d),E.forEach(pe=>{const _e=re(b,pe.element,new Map);pe.postStyleProps.forEach(Qe=>_e.set(Qe,null))})):(d.push(function je(){return new c.vHH(3300,!1)}()),E=[]),d.length)throw function Le(l){return new c.vHH(3504,!1)}();b.forEach((pe,_e)=>{pe.forEach((Qe,ot)=>{pe.set(ot,this._driver.computeStyle(_e,ot,O.l3))})});const Z=Fe(E.map(pe=>{const _e=b.get(pe.element);return this._buildPlayer(pe,new Map,_e)}));return this._playersById.set(i,Z),Z.onDestroy(()=>this.destroy(i)),this.players.push(Z),Z}destroy(i){const r=this._getPlayer(i);r.destroy(),this._playersById.delete(i);const a=this.players.indexOf(r);a>=0&&this.players.splice(a,1)}_getPlayer(i){const r=this._playersById.get(i);if(!r)throw function ut(l){return new c.vHH(3301,!1)}();return r}listen(i,r,a,d){const f=ke(r,"","","");return Te(this._getPlayer(i),a,f,d),()=>{}}command(i,r,a,d){if("register"==a)return void this.register(i,d[0]);if("create"==a)return void this.create(i,r,d[0]||{});const f=this._getPlayer(i);switch(a){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 zl="ng-animate-queued",Ma="ng-animate-disabled",Gl=[],ys={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xh={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Rr="__ng_removed";class Ta{constructor(i,r=""){this.namespaceId=r;const a=i&&i.hasOwnProperty("value");if(this.value=function vo(l){return l??null}(a?i.value:i),a){const f=K(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 a=this.options.params;Object.keys(r).forEach(d=>{null==a[d]&&(a[d]=r[d])})}}}const vr="void",Ki=new Ta(vr);class Es{constructor(i,r,a){this.id=i,this.hostElement=r,this._engine=a,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Jn(r,this._hostClassName)}listen(i,r,a,d){if(!this._triggers.has(r))throw function xt(l,i){return new c.vHH(3302,!1)}();if(null==a||0==a.length)throw function sn(l){return new c.vHH(3303,!1)}();if(!function Zl(l){return"start"==l||"done"==l}(a))throw function Xe(l,i){return new c.vHH(3400,!1)}();const f=re(this._elementListeners,i,[]),E={name:r,phase:a,callback:d};f.push(E);const b=re(this._engine.statesByElement,i,new Map);return b.has(r)||(Jn(i,De),Jn(i,De+"-"+r),b.set(r,Ki)),()=>{this._engine.afterFlush(()=>{const A=f.indexOf(E);A>=0&&f.splice(A,1),this._triggers.has(r)||b.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 nt(l){return new c.vHH(3401,!1)}();return r}trigger(i,r,a,d=!0){const f=this._getTrigger(r),E=new bs(this.id,r,i);let b=this._engine.statesByElement.get(i);b||(Jn(i,De),Jn(i,De+"-"+r),this._engine.statesByElement.set(i,b=new Map));let A=b.get(r);const Z=new Ta(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&A&&Z.absorbOptions(A.options),b.set(r,Z),A||(A=Ki),Z.value!==vr&&A.value===Z.value){if(!function _n(l,i){const r=Object.keys(l),a=Object.keys(i);if(r.length!=a.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}(A.params,Z.params)){const it=[],Tt=f.matchStyles(A.value,A.params,it),tn=f.matchStyles(Z.value,Z.params,it);it.length?this._engine.reportError(it):this._engine.afterFlush(()=>{en(i,Tt),Ht(i,tn)})}return}const Qe=re(this._engine.playersByElement,i,[]);Qe.forEach(it=>{it.namespaceId==this.id&&it.triggerName==r&&it.queued&&it.destroy()});let ot=f.matchTransition(A.value,Z.value,i,Z.params),rt=!1;if(!ot){if(!d)return;ot=f.fallbackTransition,rt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:r,transition:ot,fromState:A,toState:Z,player:E,isFallbackTransition:rt}),rt||(Jn(i,zl),E.onStart(()=>{Lr(i,zl)})),E.onDone(()=>{let it=this.players.indexOf(E);it>=0&&this.players.splice(it,1);const Tt=this._engine.playersByElement.get(i);if(Tt){let tn=Tt.indexOf(E);tn>=0&&Tt.splice(tn,1)}}),this.players.push(E),Qe.push(E),E}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(r=>r.delete(i)),this._elementListeners.forEach((r,a)=>{this._elementListeners.set(a,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(a=>a.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,r){const a=this._engine.driver.query(i,ft,!0);a.forEach(d=>{if(d[Rr])return;const f=this._engine.fetchNamespacesByElement(d);f.size?f.forEach(E=>E.triggerLeaveAnimation(d,r,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(i,r,a,d){const f=this._engine.statesByElement.get(i),E=new Map;if(f){const b=[];if(f.forEach((A,Z)=>{if(E.set(Z,A.value),this._triggers.has(Z)){const pe=this.trigger(i,Z,vr,d);pe&&b.push(pe)}}),b.length)return this._engine.markElementAsRemoved(this.id,i,!0,r,E),a&&Fe(b).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const r=this._elementListeners.get(i),a=this._engine.statesByElement.get(i);if(r&&a){const d=new Set;r.forEach(f=>{const E=f.name;if(d.has(E))return;d.add(E);const A=this._triggers.get(E).fallbackTransition,Z=a.get(E)||Ki,pe=new Ta(vr),_e=new bs(this.id,E,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:E,transition:A,fromState:Z,toState:pe,player:_e,isFallbackTransition:!0})})}}removeNode(i,r){const a=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,r),this.triggerLeaveAnimation(i,r,!0))return;let d=!1;if(a.totalAnimations){const f=a.players.length?a.playersByQueriedElement.get(i):[];if(f&&f.length)d=!0;else{let E=i;for(;E=E.parentNode;)if(a.statesByElement.get(E)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(i),d)a.markElementAsRemoved(this.id,i,!1,r);else{const f=i[Rr];(!f||f===ys)&&(a.afterFlush(()=>this.clearElementCache(i)),a.destroyInnerAnimations(i),a._onRemovalComplete(i,r))}}insertNode(i,r){Jn(i,this._hostClassName)}drainQueuedTransitions(i){const r=[];return this._queue.forEach(a=>{const d=a.player;if(d.destroyed)return;const f=a.element,E=this._elementListeners.get(f);E&&E.forEach(b=>{if(b.name==a.triggerName){const A=ke(f,a.triggerName,a.fromState.value,a.toState.value);A._data=i,Te(a.player,b.phase,A,b.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):r.push(a)}),this._queue=[],r.sort((a,d)=>{const f=a.transition.ast.depCount,E=d.transition.ast.depCount;return 0==f||0==E?f-E:this._engine.driver.containsElement(a.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(a=>a.element===i)||r,r}}class Kl{constructor(i,r,a){this.bodyNode=i,this.driver=r,this._normalizer=a,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(a=>{a.queued&&i.push(a)})}),i}createNamespace(i,r){const a=new Es(i,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(a,r):(this.newHostElements.set(r,a),this.collectEnterElement(r)),this._namespaceLookup[i]=a}_balanceNamespaceList(i,r){const a=this._namespaceList,d=this.namespacesByHostElement;if(a.length-1>=0){let E=!1,b=this.driver.getParentElement(r);for(;b;){const A=d.get(b);if(A){const Z=a.indexOf(A);a.splice(Z+1,0,i),E=!0;break}b=this.driver.getParentElement(b)}E||a.unshift(i)}else a.push(i);return d.set(r,i),i}register(i,r){let a=this._namespaceLookup[i];return a||(a=this.createNamespace(i,r)),a}registerTrigger(i,r,a){let d=this._namespaceLookup[i];d&&d.register(r,a)&&this.totalAnimations++}destroy(i,r){if(!i)return;const a=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(a.hostElement),delete this._namespaceLookup[i];const d=this._namespaceList.indexOf(a);d>=0&&this._namespaceList.splice(d,1)}),this.afterFlushAnimationsDone(()=>a.destroy(r))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const r=new Set,a=this.statesByElement.get(i);if(a)for(let d of a.values())if(d.namespaceId){const f=this._fetchNamespace(d.namespaceId);f&&r.add(f)}return r}trigger(i,r,a,d){if(yo(r)){const f=this._fetchNamespace(i);if(f)return f.trigger(r,a,d),!0}return!1}insertNode(i,r,a,d){if(!yo(r))return;const f=r[Rr];if(f&&f.setForRemoval){f.setForRemoval=!1,f.setForMove=!0;const E=this.collectedLeaveElements.indexOf(r);E>=0&&this.collectedLeaveElements.splice(E,1)}if(i){const E=this._fetchNamespace(i);E&&E.insertNode(r,a)}d&&this.collectEnterElement(r)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,r){r?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Jn(i,Ma)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Lr(i,Ma))}removeNode(i,r,a,d){if(yo(r)){const f=i?this._fetchNamespace(i):null;if(f?f.removeNode(r,d):this.markElementAsRemoved(i,r,!1,d),a){const E=this.namespacesByHostElement.get(r);E&&E.id!==i&&E.removeNode(r,d)}}else this._onRemovalComplete(r,d)}markElementAsRemoved(i,r,a,d,f){this.collectedLeaveElements.push(r),r[Rr]={namespaceId:i,setForRemoval:d,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:f}}listen(i,r,a,d,f){return yo(r)?this._fetchNamespace(i).listen(r,a,d,f):()=>{}}_buildInstruction(i,r,a,d,f){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,a,d,i.fromState.options,i.toState.options,r,f)}destroyInnerAnimations(i){let r=this.driver.query(i,ft,!0);r.forEach(a=>this.destroyActiveAnimationsForElement(a)),0!=this.playersByQueriedElement.size&&(r=this.driver.query(i,hn,!0),r.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(i){const r=this.playersByElement.get(i);r&&r.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(i){const r=this.playersByQueriedElement.get(i);r&&r.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Fe(this.players).onDone(()=>i());i()})}processLeaveNode(i){const r=i[Rr];if(r&&r.setForRemoval){if(i[Rr]=ys,r.namespaceId){this.destroyInnerAnimations(i);const a=this._fetchNamespace(r.namespaceId);a&&a.clearElementCache(i)}this._onRemovalComplete(i,r.setForRemoval)}i.classList?.contains(Ma)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(i=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,d)=>this._balanceNamespaceList(a,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++)Jn(this.collectedEnterElements[a],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const a=[];try{r=this._flushAnimations(a,i)}finally{for(let d=0;d<a.length;d++)a[d]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){const a=this._whenQuietFns;this._whenQuietFns=[],r.length?Fe(r).onDone(()=>{a.forEach(d=>d())}):a.forEach(d=>d())}}reportError(i){throw function bn(l){return new c.vHH(3402,!1)}()}_flushAnimations(i,r){const a=new Nr,d=[],f=new Map,E=[],b=new Map,A=new Map,Z=new Map,pe=new Set;this.disabledNodes.forEach(et=>{pe.add(et);const ct=this.driver.query(et,".ng-animate-queued",!0);for(let yt=0;yt<ct.length;yt++)pe.add(ct[yt])});const _e=this.bodyNode,Qe=Array.from(this.statesByElement.keys()),ot=Qn(Qe,this.collectedEnterElements),rt=new Map;let it=0;ot.forEach((et,ct)=>{const yt=Q+it++;rt.set(ct,yt),et.forEach(Wt=>Jn(Wt,yt))});const Tt=[],tn=new Set,dn=new Set;for(let et=0;et<this.collectedLeaveElements.length;et++){const ct=this.collectedLeaveElements[et],yt=ct[Rr];yt&&yt.setForRemoval&&(Tt.push(ct),tn.add(ct),yt.hasAnimation?this.driver.query(ct,".ng-star-inserted",!0).forEach(Wt=>tn.add(Wt)):dn.add(ct))}const Hn=new Map,Gn=Qn(Qe,Array.from(tn));Gn.forEach((et,ct)=>{const yt=le+it++;Hn.set(ct,yt),et.forEach(Wt=>Jn(Wt,yt))}),i.push(()=>{ot.forEach((et,ct)=>{const yt=rt.get(ct);et.forEach(Wt=>Lr(Wt,yt))}),Gn.forEach((et,ct)=>{const yt=Hn.get(ct);et.forEach(Wt=>Lr(Wt,yt))}),Tt.forEach(et=>{this.processLeaveNode(et)})});const us=[],Sr=[];for(let et=this._namespaceList.length-1;et>=0;et--)this._namespaceList[et].drainQueuedTransitions(r).forEach(yt=>{const Wt=yt.player,Nn=yt.element;if(us.push(Wt),this.collectedEnterElements.length){const Kn=Nn[Rr];if(Kn&&Kn.setForMove){if(Kn.previousTriggersValues&&Kn.previousTriggersValues.has(yt.triggerName)){const uo=Kn.previousTriggersValues.get(yt.triggerName),$r=this.statesByElement.get(yt.element);if($r&&$r.has(yt.triggerName)){const hs=$r.get(yt.triggerName);hs.value=uo,$r.set(yt.triggerName,hs)}}return void Wt.destroy()}}const ii=!_e||!this.driver.containsElement(_e,Nn),mr=Hn.get(Nn),Ei=rt.get(Nn),fn=this._buildInstruction(yt,a,Ei,mr,ii);if(fn.errors&&fn.errors.length)return void Sr.push(fn);if(ii)return Wt.onStart(()=>en(Nn,fn.fromStyles)),Wt.onDestroy(()=>Ht(Nn,fn.toStyles)),void d.push(Wt);if(yt.isFallbackTransition)return Wt.onStart(()=>en(Nn,fn.fromStyles)),Wt.onDestroy(()=>Ht(Nn,fn.toStyles)),void d.push(Wt);const Dh=[];fn.timelines.forEach(Kn=>{Kn.stretchStartingKeyframe=!0,this.disabledNodes.has(Kn.element)||Dh.push(Kn)}),fn.timelines=Dh,a.append(Nn,fn.timelines),E.push({instruction:fn,player:Wt,element:Nn}),fn.queriedElements.forEach(Kn=>re(b,Kn,[]).push(Wt)),fn.preStyleProps.forEach((Kn,uo)=>{if(Kn.size){let $r=A.get(uo);$r||A.set(uo,$r=new Set),Kn.forEach((hs,Dl)=>$r.add(Dl))}}),fn.postStyleProps.forEach((Kn,uo)=>{let $r=Z.get(uo);$r||Z.set(uo,$r=new Set),Kn.forEach((hs,Dl)=>$r.add(Dl))})});if(Sr.length){const et=[];Sr.forEach(ct=>{et.push(function pn(l,i){return new c.vHH(3505,!1)}())}),us.forEach(ct=>ct.destroy()),this.reportError(et)}const Mn=new Map,jr=new Map;E.forEach(et=>{const ct=et.element;a.has(ct)&&(jr.set(ct,ct),this._beforeAnimationBuild(et.player.namespaceId,et.instruction,Mn))}),d.forEach(et=>{const ct=et.element;this._getPreviousPlayers(ct,!1,et.namespaceId,et.triggerName,null).forEach(Wt=>{re(Mn,ct,[]).push(Wt),Wt.destroy()})});const Mr=Tt.filter(et=>Aa(et,A,Z)),Hr=new Map;Ia(Hr,this.driver,dn,Z,O.l3).forEach(et=>{Aa(et,A,Z)&&Mr.push(et)});const ds=new Map;ot.forEach((et,ct)=>{Ia(ds,this.driver,new Set(et),A,O.k1)}),Mr.forEach(et=>{const ct=Hr.get(et),yt=ds.get(et);Hr.set(et,new Map([...Array.from(ct?.entries()??[]),...Array.from(yt?.entries()??[])]))});const yi=[],El=[],bl={};E.forEach(et=>{const{element:ct,player:yt,instruction:Wt}=et;if(a.has(ct)){if(pe.has(ct))return yt.onDestroy(()=>Ht(ct,Wt.toStyles)),yt.disabled=!0,yt.overrideTotalTime(Wt.totalTime),void d.push(yt);let Nn=bl;if(jr.size>1){let mr=ct;const Ei=[];for(;mr=mr.parentNode;){const fn=jr.get(mr);if(fn){Nn=fn;break}Ei.push(mr)}Ei.forEach(fn=>jr.set(fn,Nn))}const ii=this._buildAnimation(yt.namespaceId,Wt,Mn,f,ds,Hr);if(yt.setRealPlayer(ii),Nn===bl)yi.push(yt);else{const mr=this.playersByElement.get(Nn);mr&&mr.length&&(yt.parentPlayer=Fe(mr)),d.push(yt)}}else en(ct,Wt.fromStyles),yt.onDestroy(()=>Ht(ct,Wt.toStyles)),El.push(yt),pe.has(ct)&&d.push(yt)}),El.forEach(et=>{const ct=f.get(et.element);if(ct&&ct.length){const yt=Fe(ct);et.setRealPlayer(yt)}}),d.forEach(et=>{et.parentPlayer?et.syncPlayerEvents(et.parentPlayer):et.destroy()});for(let et=0;et<Tt.length;et++){const ct=Tt[et],yt=ct[Rr];if(Lr(ct,le),yt&&yt.hasAnimation)continue;let Wt=[];if(b.size){let ii=b.get(ct);ii&&ii.length&&Wt.push(...ii);let mr=this.driver.query(ct,hn,!0);for(let Ei=0;Ei<mr.length;Ei++){let fn=b.get(mr[Ei]);fn&&fn.length&&Wt.push(...fn)}}const Nn=Wt.filter(ii=>!ii.destroyed);Nn.length?Ds(this,ct,Nn):this.processLeaveNode(ct)}return Tt.length=0,yi.forEach(et=>{this.players.push(et),et.onDone(()=>{et.destroy();const ct=this.players.indexOf(et);this.players.splice(ct,1)}),et.play()}),yi}elementContainsData(i,r){let a=!1;const d=r[Rr];return d&&d.setForRemoval&&(a=!0),this.playersByElement.has(r)&&(a=!0),this.playersByQueriedElement.has(r)&&(a=!0),this.statesByElement.has(r)&&(a=!0),this._fetchNamespace(i).elementContainsData(r)||a}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,r,a,d,f){let E=[];if(r){const b=this.playersByQueriedElement.get(i);b&&(E=b)}else{const b=this.playersByElement.get(i);if(b){const A=!f||f==vr;b.forEach(Z=>{Z.queued||!A&&Z.triggerName!=d||E.push(Z)})}}return(a||d)&&(E=E.filter(b=>!(a&&a!=b.namespaceId||d&&d!=b.triggerName))),E}_beforeAnimationBuild(i,r,a){const f=r.element,E=r.isRemovalTransition?void 0:i,b=r.isRemovalTransition?void 0:r.triggerName;for(const A of r.timelines){const Z=A.element,pe=Z!==f,_e=re(a,Z,[]);this._getPreviousPlayers(Z,pe,E,b,r.toState).forEach(ot=>{const rt=ot.getRealPlayer();rt.beforeDestroy&&rt.beforeDestroy(),ot.destroy(),_e.push(ot)})}en(f,r.fromStyles)}_buildAnimation(i,r,a,d,f,E){const b=r.triggerName,A=r.element,Z=[],pe=new Set,_e=new Set,Qe=r.timelines.map(rt=>{const it=rt.element;pe.add(it);const Tt=it[Rr];if(Tt&&Tt.removedBeforeQueried)return new O.ZN(rt.duration,rt.delay);const tn=it!==A,dn=function Yl(l){const i=[];return ju(l,i),i}((a.get(it)||Gl).map(Mn=>Mn.getRealPlayer())).filter(Mn=>!!Mn.element&&Mn.element===it),Hn=f.get(it),Gn=E.get(it),us=te(0,this._normalizer,0,rt.keyframes,Hn,Gn),Sr=this._buildPlayer(rt,us,dn);if(rt.subTimeline&&d&&_e.add(it),tn){const Mn=new bs(i,b,it);Mn.setRealPlayer(Sr),Z.push(Mn)}return Sr});Z.forEach(rt=>{re(this.playersByQueriedElement,rt.element,[]).push(rt),rt.onDone(()=>function Vu(l,i,r){let a=l.get(i);if(a){if(a.length){const d=a.indexOf(r);a.splice(d,1)}0==a.length&&l.delete(i)}return a}(this.playersByQueriedElement,rt.element,rt))}),pe.forEach(rt=>Jn(rt,gt));const ot=Fe(Qe);return ot.onDestroy(()=>{pe.forEach(rt=>Lr(rt,gt)),Ht(A,r.toStyles)}),_e.forEach(rt=>{re(d,rt,[]).push(ot)}),ot}_buildPlayer(i,r,a){return r.length>0?this.driver.animate(i.element,r,i.duration,i.delay,i.easing,a):new O.ZN(i.duration,i.delay)}}class bs{constructor(i,r,a){this.namespaceId=i,this.triggerName=r,this.element=a,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,a)=>{r.forEach(d=>Te(i,a,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){re(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 yo(l){return l&&1===l.nodeType}function Eo(l,i){const r=l.style.display;return l.style.display=i??"none",r}function Ia(l,i,r,a,d){const f=[];r.forEach(A=>f.push(Eo(A)));const E=[];a.forEach((A,Z)=>{const pe=new Map;A.forEach(_e=>{const Qe=i.computeStyle(Z,_e,d);pe.set(_e,Qe),(!Qe||0==Qe.length)&&(Z[Rr]=Xh,E.push(Z))}),l.set(Z,pe)});let b=0;return r.forEach(A=>Eo(A,f[b++])),E}function Qn(l,i){const r=new Map;if(l.forEach(b=>r.set(b,[])),0==i.length)return r;const d=new Set(i),f=new Map;function E(b){if(!b)return 1;let A=f.get(b);if(A)return A;const Z=b.parentNode;return A=r.has(Z)?Z:d.has(Z)?1:E(Z),f.set(b,A),A}return i.forEach(b=>{const A=E(b);1!==A&&r.get(A).push(b)}),r}function Jn(l,i){l.classList?.add(i)}function Lr(l,i){l.classList?.remove(i)}function Ds(l,i,r){Fe(r).onDone(()=>l.processLeaveNode(i))}function ju(l,i){for(let r=0;r<l.length;r++){const a=l[r];a instanceof O.ZE?ju(a.players,i):i.push(a)}}function Aa(l,i,r){const a=r.get(l);if(!a)return!1;let d=i.get(l);return d?a.forEach(f=>d.add(f)):i.set(l,a),r.delete(l),!0}class ws{constructor(i,r,a){this.bodyNode=i,this._driver=r,this._normalizer=a,this._triggerCache={},this.onRemovalComplete=(d,f)=>{},this._transitionEngine=new Kl(i,r,a),this._timelineEngine=new Jh(i,r,a),this._transitionEngine.onRemovalComplete=(d,f)=>this.onRemovalComplete(d,f)}registerTrigger(i,r,a,d,f){const E=i+"-"+d;let b=this._triggerCache[E];if(!b){const A=[],pe=ur(this._driver,f,A,[]);if(A.length)throw function ce(l,i){return new c.vHH(3404,!1)}();b=function Fu(l,i,r){return new Nu(l,i,r)}(d,pe,this._normalizer),this._triggerCache[E]=b}this._transitionEngine.registerTrigger(r,d,b)}register(i,r){this._transitionEngine.register(i,r)}destroy(i,r){this._transitionEngine.destroy(i,r)}onInsert(i,r,a,d){this._transitionEngine.insertNode(i,r,a,d)}onRemove(i,r,a,d){this._transitionEngine.removeNode(i,r,d||!1,a)}disableAnimations(i,r){this._transitionEngine.markElementAsDisabled(i,r)}process(i,r,a,d){if("@"==a.charAt(0)){const[f,E]=fe(a);this._timelineEngine.command(f,r,E,d)}else this._transitionEngine.trigger(i,r,a,d)}listen(i,r,a,d,f){if("@"==a.charAt(0)){const[E,b]=fe(a);return this._timelineEngine.listen(E,r,b,f)}return this._transitionEngine.listen(i,r,a,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 pr=(()=>{class l{constructor(r,a,d){this._element=r,this._startStyles=a,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&&Ht(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ht(this._element,this._initialStyles),this._endStyles&&(Ht(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(en(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(en(this._element,this._endStyles),this._endStyles=null),Ht(this._element,this._initialStyles),this._state=3)}}return l.initialStylesByElement=new WeakMap,l})();function Cs(l){let i=null;return l.forEach((r,a)=>{(function Ss(l){return"display"===l||"position"===l})(a)&&(i=i||new Map,i.set(a,r))}),i}class di{constructor(i,r,a,d){this.element=i,this.keyframes=r,this.options=a,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=a.duration,this._delay=a.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(a=>{r.push(Object.fromEntries(a))}),r}_triggerWebAnimation(i,r,a){return i.animate(this._convertKeyframesToObject(r),a)}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((a,d)=>{"offset"!==d&&i.set(d,this._finished?a:zr(this.element,d))}),this.currentSnapshot=i}triggerCallback(i){const r="start"===i?this._onStartFns:this._onDoneFns;r.forEach(a=>a()),r.length=0}}class ir{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,r){return!1}containsElement(i,r){return st(i,r)}getParentElement(i){return Ue(i)}query(i,r,a){return Ye(i,r,a)}computeStyle(i,r,a){return window.getComputedStyle(i)[r]}animate(i,r,a,d,f,E=[]){const A={duration:a,delay:d,fill:0==d?"both":"forwards"};f&&(A.easing=f);const Z=new Map,pe=E.filter(ot=>ot instanceof di);(function Dn(l,i){return 0===l||0===i})(a,d)&&pe.forEach(ot=>{ot.currentSnapshot.forEach((rt,it)=>Z.set(it,rt))});let _e=function $e(l){return l.length?l[0]instanceof Map?l:l.map(i=>ue(i)):[]}(r).map(ot=>dt(ot));_e=function Bn(l,i,r){if(r.size&&i.length){let a=i[0],d=[];if(r.forEach((f,E)=>{a.has(E)||d.push(E),a.set(E,f)}),d.length)for(let f=1;f<i.length;f++){let E=i[f];d.forEach(b=>E.set(b,zr(l,b)))}}return i}(i,_e,Z);const Qe=function bo(l,i){let r=null,a=null;return Array.isArray(i)&&i.length?(r=Cs(i[0]),i.length>1&&(a=Cs(i[i.length-1]))):i instanceof Map&&(r=Cs(i)),r||a?new pr(l,r,a):null}(i,_e);return new di(i,_e,A,Qe)}}var Nt=g(4666);let Do=(()=>{class l extends O._j{constructor(r,a){super(),this._nextAnimationId=0,this._renderer=r.createRenderer(a.body,{id:"0",encapsulation:c.ifc.None,styles:[],data:{animation:[]}})}build(r){const a=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(r)?(0,O.vP)(r):r;return Ms(this._renderer,null,a,"register",[d]),new Ql(a,this._renderer)}}return l.\u0275fac=function(r){return new(r||l)(c.LFG(c.FYo),c.LFG(Nt.K0))},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})();class Ql extends O.LC{constructor(i,r){super(),this._id=i,this._renderer=r}create(i,r){return new Zr(this._id,i,r||{},this._renderer)}}class Zr{constructor(i,r,a,d){this.id=i,this.element=r,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",a)}_listen(i,r){return this._renderer.listen(this.element,`@@${this.id}:${i}`,r)}_command(i,...r){return Ms(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 Ms(l,i,r,a,d){return l.setProperty(i,`@@${r}:${a}`,d)}const bt="@.disabled";let vn=(()=>{class l{constructor(r,a,d){this.delegate=r,this.engine=a,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),a.onRemovalComplete=(f,E)=>{const b=E?.parentNode(f);b&&E.removeChild(b,f)}}createRenderer(r,a){const f=this.delegate.createRenderer(r,a);if(!(r&&a&&a.data&&a.data.animation)){let pe=this._rendererCache.get(f);return pe||(pe=new Hu("",f,this.engine,()=>this._rendererCache.delete(f)),this._rendererCache.set(f,pe)),pe}const E=a.id,b=a.id+"-"+this._currentId;this._currentId++,this.engine.register(b,r);const A=pe=>{Array.isArray(pe)?pe.forEach(A):this.engine.registerTrigger(E,b,r,pe.name,pe)};return a.data.animation.forEach(A),new $u(this,b,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(r,a,d){r>=0&&r<this._microtaskId?this._zone.run(()=>a(d)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(f=>{const[E,b]=f;E(b)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([a,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.\u0275fac=function(r){return new(r||l)(c.LFG(c.FYo),c.LFG(ws),c.LFG(c.R0b))},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})();class Hu{constructor(i,r,a,d){this.namespaceId=i,this.delegate=r,this.engine=a,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,a,d=!0){this.delegate.insertBefore(i,r,a),this.engine.onInsert(this.namespaceId,r,i,d)}removeChild(i,r,a){this.engine.onRemove(this.namespaceId,r,this.delegate,a)}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,a,d){this.delegate.setAttribute(i,r,a,d)}removeAttribute(i,r,a){this.delegate.removeAttribute(i,r,a)}addClass(i,r){this.delegate.addClass(i,r)}removeClass(i,r){this.delegate.removeClass(i,r)}setStyle(i,r,a,d){this.delegate.setStyle(i,r,a,d)}removeStyle(i,r,a){this.delegate.removeStyle(i,r,a)}setProperty(i,r,a){"@"==r.charAt(0)&&r==bt?this.disableAnimations(i,!!a):this.delegate.setProperty(i,r,a)}setValue(i,r){this.delegate.setValue(i,r)}listen(i,r,a){return this.delegate.listen(i,r,a)}disableAnimations(i,r){this.engine.disableAnimations(i,r)}}class $u extends Hu{constructor(i,r,a,d,f){super(r,a,d,f),this.factory=i,this.namespaceId=r}setProperty(i,r,a){"@"==r.charAt(0)?"."==r.charAt(1)&&r==bt?this.disableAnimations(i,a=void 0===a||!!a):this.engine.process(this.namespaceId,i,r.slice(1),a):this.delegate.setProperty(i,r,a)}listen(i,r,a){if("@"==r.charAt(0)){const d=function zu(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),E="";return"@"!=f.charAt(0)&&([f,E]=function Wu(l){const i=l.indexOf(".");return[l.substring(0,i),l.slice(i+1)]}(f)),this.engine.listen(this.namespaceId,d,f,E,b=>{this.factory.scheduleListenerCallback(b._data||-1,a,b)})}return this.delegate.listen(i,r,a)}}const Re=[{provide:O._j,useClass:Do},{provide:rr,useFactory:function Gu(){return new _o}},{provide:ws,useClass:(()=>{class l extends ws{constructor(r,a,d,f){super(r.body,a,d)}ngOnDestroy(){this.flush()}}return l.\u0275fac=function(r){return new(r||l)(c.LFG(Nt.K0),c.LFG(qt),c.LFG(rr),c.LFG(c.z2F))},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})()},{provide:c.FYo,useFactory:function Xl(l,i,r){return new vn(l,i,r)},deps:[m.se,ws,c.R0b]}],Lt=[{provide:qt,useFactory:()=>new ir},{provide:c.QbO,useValue:"BrowserAnimations"},...Re],Ra=[{provide:qt,useClass:kn},{provide:c.QbO,useValue:"NoopAnimations"},...Re];let Ts=(()=>{class l{static withConfig(r){return{ngModule:l,providers:r.disableAnimations?Ra:Lt}}}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({providers:Lt,imports:[m.b2]}),l})();var On=g(833),Oa=g(4987);function Yi(l){return new On.y(i=>{(0,Oa.Xf)(l()).subscribe(i)})}var Ii=g(5474),Qi=g(3280),lt=g(745),Ai=g(9319),Yt=g(253),kr=g(9635);const Yr=new On.y(kr.Z);var yr=g(6646),mt=g(635),xn=g(116),an=g(2673),Ku=g(8532),xa=g(1381),or=g(9295),Ot=g(9337),Pa=g(6936),Co=g(1944),Ji=g(3945);function So(l){return(0,mt.U)(()=>l)}var sr=g(9525);function Fa(l,i){return i?r=>(0,Ai.z)(i.pipe((0,or.q)(1),function ec(){return(0,Co.e)((l,i)=>{l.subscribe((0,Ji.x)(i,kr.Z))})}()),r.pipe(Fa(l))):(0,sr.z)((r,a)=>l(r,a).pipe((0,or.q)(1),So(r)))}var Mo=g(5524);const _="Service workers are disabled or not supported by this browser";class y{constructor(i){if(this.serviceWorker=i,i){const a=(0,Qi.R)(i,"controllerchange").pipe((0,mt.U)(()=>i.controller)),d=Yi(()=>(0,lt.of)(i.controller)),f=(0,Ai.z)(d,a);this.worker=f.pipe((0,xn.h)(pe=>!!pe)),this.registration=this.worker.pipe((0,an.w)(()=>i.getRegistration()));const Z=(0,Qi.R)(i,"message").pipe((0,mt.U)(pe=>pe.data)).pipe((0,xn.h)(pe=>pe&&pe.type)).pipe(function Is(l){return l?i=>(0,xa.$)(l)(i):i=>(0,Ku.O)(new Yt.x)(i)}());Z.connect(),this.events=Z}else this.worker=this.events=this.registration=function w(l){return Yi(()=>(0,Ii._)(new Error(l)))}(_)}postMessage(i,r){return this.worker.pipe((0,or.q)(1),(0,Ot.b)(a=>{a.postMessage({action:i,...r})})).toPromise().then(()=>{})}postMessageWithOperation(i,r,a){const d=this.waitForOperationCompleted(a),f=this.postMessage(i,r);return Promise.all([f,d]).then(([,E])=>E)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let r;return r="string"==typeof i?a=>a.type===i:a=>i.includes(a.type),this.events.pipe((0,xn.h)(r))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,or.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,xn.h)(r=>r.nonce===i),(0,or.q)(1),(0,mt.U)(r=>{if(void 0!==r.result)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let S=(()=>{class l{constructor(r){if(this.sw=r,this.subscriptionChanges=new Yt.x,!r.isEnabled)return this.messages=Yr,this.notificationClicks=Yr,void(this.subscription=Yr);this.messages=this.sw.eventsOfType("PUSH").pipe((0,mt.U)(d=>d.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,mt.U)(d=>d.data)),this.pushManager=this.sw.registration.pipe((0,mt.U)(d=>d.pushManager));const a=this.pushManager.pipe((0,an.w)(d=>d.getSubscription()));this.subscription=(0,yr.T)(a,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(r){if(!this.sw.isEnabled)return Promise.reject(new Error(_));const a={userVisibleOnly:!0};let d=this.decodeBase64(r.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),f=new Uint8Array(new ArrayBuffer(d.length));for(let E=0;E<d.length;E++)f[E]=d.charCodeAt(E);return a.applicationServerKey=f,this.pushManager.pipe((0,an.w)(E=>E.subscribe(a)),(0,or.q)(1)).toPromise().then(E=>(this.subscriptionChanges.next(E),E))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,or.q)(1),(0,an.w)(a=>{if(null===a)throw new Error("Not subscribed to push notifications.");return a.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.\u0275fac=function(r){return new(r||l)(c.LFG(y))},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})(),W=(()=>{class l{constructor(r){if(this.sw=r,!r.isEnabled)return this.versionUpdates=Yr,this.available=Yr,this.activated=Yr,void(this.unrecoverable=Yr);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,xn.h)(a=>"VERSION_READY"===a.type),(0,mt.U)(a=>({type:"UPDATE_AVAILABLE",current:a.currentVersion,available:a.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.\u0275fac=function(r){return new(r||l)(c.LFG(y))},l.\u0275prov=c.Yz7({token:l,factory:l.\u0275fac}),l})();class ve{}const Ie=new c.OlP("NGSW_REGISTER_SCRIPT");function qe(l,i,r,a){return()=>{if(!(0,Nt.NF)(a)||!("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[E,...b]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(E){case"registerImmediately":d=(0,lt.of)(null);break;case"registerWithDelay":d=$t(+b[0]||0);break;case"registerWhenStable":d=b[0]?(0,yr.T)(zt(l),$t(+b[0])):zt(l);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}l.get(c.R0b).runOutsideAngular(()=>d.pipe((0,or.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:r.scope}).catch(E=>console.error("Service worker registration failed with:",E))))}}function $t(l){return(0,lt.of)(null).pipe(function Zu(l,i=Pa.z){const r=(0,Mo.H)(l,i);return Fa(()=>r)}(l))}function zt(l){return l.get(c.z2F).isStable.pipe((0,xn.h)(r=>r))}function Vt(l,i){return new y((0,Nt.NF)(i)&&!1!==l.enabled?navigator.serviceWorker:void 0)}let It=(()=>{class l{static register(r,a={}){return{ngModule:l,providers:[{provide:Ie,useValue:r},{provide:ve,useValue:a},{provide:y,useFactory:Vt,deps:[ve,c.Lbi]},{provide:c.ip1,useFactory:qe,deps:[c.zs3,Ie,ve,c.Lbi],multi:!0}]}}}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({providers:[S,W]}),l})();var Xt=g(4522),kt=g(1014),on=g(207),zn=g(8971),Pn=g(7714);const Er=["primaryValueBar"],Qr=(0,on.pj)(class{constructor(l){this._elementRef=l}},"primary"),To=new c.OlP("mat-progress-bar-location",{providedIn:"root",factory:function hi(){const l=(0,c.f3M)(Nt.K0),i=l?l.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),Io=new c.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let qh=0,ef=(()=>{class l extends Qr{constructor(r,a,d,f,E,b){super(r),this._ngZone=a,this._animationMode=d,this._changeDetectorRef=b,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new c.vpe,this._animationEndSubscription=Pn.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+qh++;const A=f?f.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${A}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===d,E&&(E.color&&(this.color=this.defaultColor=E.color),this.mode=E.mode||this.mode)}get value(){return this._value}set value(r){this._value=tf((0,zn.su)(r)||0),this._changeDetectorRef?.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(r){this._bufferValue=tf(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,Qi.R)(r,"transitionend").pipe((0,xn.h)(a=>a.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.\u0275fac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.QbO,8),c.Y36(To,8),c.Y36(Io,8),c.Y36(c.sBO))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-progress-bar"]],viewQuery:function(r,a){if(1&r&&c.Gf(Er,5),2&r){let d;c.iGM(d=c.CRH())&&(a._primaryValueBar=d.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(r,a){2&r&&(c.uIk("aria-valuenow","indeterminate"===a.mode||"query"===a.mode?null:a.value)("mode",a.mode),c.ekj("_mat-animation-noopable",a._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,a){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",a.progressbarId),c.xp6(2),c.uIk("fill",a._rectangleFillValue),c.xp6(1),c.Q6J("ngStyle",a._bufferTransform()),c.xp6(1),c.Q6J("ngStyle",a._primaryTransform()))},dependencies:[Nt.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 tf(l,i=0,r=100){return Math.max(i,Math.min(r,l))}let tm=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({imports:[Nt.ez,on.BQ,on.BQ]}),l})();var Or=g(2602),Na=g(4218),Yu=g(2867),Ao=g(8456),tc=g(9107),ar=g(8951),Xi=g(8977),nc=g(4874),qi=g(1989);const Ro=["*"],La=["content"];function nm(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 Qu(l,i){1&l&&(c.TgZ(0,"mat-drawer-content"),c.Hsn(1,2),c.qZA())}const Ju=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],nf=["mat-drawer","mat-drawer-content","*"];function Jr(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 rf(l,i){1&l&&(c.TgZ(0,"mat-sidenav-content"),c.Hsn(1,2),c.qZA())}const ka=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],rc=["mat-sidenav","mat-sidenav-content","*"],As={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)"))])},sf=new c.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function qu(){return!1}}),Ba=new c.OlP("MAT_DRAWER_CONTAINER");let Rs=(()=>{class l extends Or.PQ{constructor(r,a,d,f,E){super(d,f,E),this._changeDetectorRef=r,this._container=a}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return l.\u0275fac=function(r){return new(r||l)(c.Y36(c.sBO),c.Y36((0,c.Gpc)(()=>ed)),c.Y36(c.SBq),c.Y36(Or.mF),c.Y36(c.R0b))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(r,a){2&r&&c.Udp("margin-left",a._container._contentMargins.left,"px")("margin-right",a._container._contentMargins.right,"px")},features:[c._Bn([{provide:Or.PQ,useExisting:l}]),c.qOj],ngContentSelectors:Ro,decls:1,vars:0,template:function(r,a){1&r&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),oc=(()=>{class l{constructor(r,a,d,f,E,b,A,Z){this._elementRef=r,this._focusTrapFactory=a,this._focusMonitor=d,this._platform=f,this._ngZone=E,this._interactivityChecker=b,this._doc=A,this._container=Z,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Yt.x,this._animationEnd=new Yt.x,this._animationState="void",this.openedChange=new c.vpe(!0),this._openedStream=this.openedChange.pipe((0,xn.h)(pe=>pe),(0,mt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,xn.h)(pe=>pe.fromState!==pe.toState&&0===pe.toState.indexOf("open")),So(void 0)),this._closedStream=this.openedChange.pipe((0,xn.h)(pe=>!pe),(0,mt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,xn.h)(pe=>pe.fromState!==pe.toState&&"void"===pe.toState),So(void 0)),this._destroyed=new Yt.x,this.onPositionChanged=new c.vpe,this._modeChanged=new Yt.x,this.openedChange.subscribe(pe=>{pe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,Qi.R)(this._elementRef.nativeElement,"keydown").pipe((0,xn.h)(pe=>pe.keyCode===Ao.hY&&!this.disableClose&&!(0,Ao.Vb)(pe)),(0,ar.R)(this._destroyed)).subscribe(pe=>this._ngZone.run(()=>{this.close(),pe.stopPropagation(),pe.preventDefault()}))}),this._animationEnd.pipe((0,Xi.x)((pe,_e)=>pe.fromState===_e.fromState&&pe.toState===_e.toState)).subscribe(pe=>{const{fromState:_e,toState:Qe}=pe;(0===Qe.indexOf("open")&&"void"===_e||"void"===Qe&&0===_e.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,zn.Ig)(r)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(r){("true"===r||"false"===r||null==r)&&(r=(0,zn.Ig)(r)),this._autoFocus=r}get opened(){return this._opened}set opened(r){this.toggle((0,zn.Ig)(r))}_forceFocus(r,a){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(a)}_focusByCssSelector(r,a){let d=this._elementRef.nativeElement.querySelector(r);d&&this._forceFocus(d,a)}_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(a=>{!a&&"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,a){r&&a&&(this._openedVia=a);const d=this._setOpen(r,!r&&this._isFocusWithinDrawer(),this._openedVia||"program");return r||(this._openedVia=null),d}_setOpen(r,a,d){return this._opened=r,r?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",a&&this._restoreFocus(d)),this._updateFocusTrapState(),new Promise(f=>{this.openedChange.pipe((0,or.q)(1)).subscribe(E=>f(E?"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 a=this._elementRef.nativeElement,d=a.parentNode;"end"===r?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),d.insertBefore(this._anchor,a)),d.appendChild(a)):this._anchor&&this._anchor.parentNode.insertBefore(a,this._anchor)}}return l.\u0275fac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(Na.qV),c.Y36(Na.tE),c.Y36(tc.t4),c.Y36(c.R0b),c.Y36(Na.ic),c.Y36(Nt.K0,8),c.Y36(Ba,8))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-drawer"]],viewQuery:function(r,a){if(1&r&&c.Gf(La,5),2&r){let d;c.iGM(d=c.CRH())&&(a._content=d.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(r,a){1&r&&c.WFA("@transform.start",function(f){return a._animationStarted.next(f)})("@transform.done",function(f){return a._animationEnd.next(f)}),2&r&&(c.uIk("align",null),c.d8E("@transform",a._animationState),c.ekj("mat-drawer-end","end"===a.position)("mat-drawer-over","over"===a.mode)("mat-drawer-push","push"===a.mode)("mat-drawer-side","side"===a.mode)("mat-drawer-opened",a.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:Ro,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,a){1&r&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA())},dependencies:[Or.PQ],encapsulation:2,data:{animation:[As.transformDrawer]},changeDetection:0}),l})(),ed=(()=>{class l{constructor(r,a,d,f,E,b=!1,A){this._dir=r,this._element=a,this._ngZone=d,this._changeDetectorRef=f,this._animationMode=A,this._drawers=new c.n_E,this.backdropClick=new c.vpe,this._destroyed=new Yt.x,this._doCheckSubject=new Yt.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Yt.x,r&&r.change.pipe((0,ar.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),E.change().pipe((0,ar.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=b}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(r){this._autosize=(0,zn.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,zn.Ig)(r)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,nc.O)(this._allDrawers),(0,ar.R)(this._destroyed)).subscribe(r=>{this._drawers.reset(r.filter(a=>!a._container||a._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,nc.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,qi.b)(10),(0,ar.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,a=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,a-=d}if(this._right&&this._right.opened)if("side"==this._right.mode)a+=this._right._getWidth();else if("push"==this._right.mode){const d=this._right._getWidth();a+=d,r-=d}r=r||null,a=a||null,(r!==this._contentMargins.left||a!==this._contentMargins.right)&&(this._contentMargins={left:r,right:a},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,xn.h)(a=>a.fromState!==a.toState),(0,ar.R)(this._drawers.changes)).subscribe(a=>{"open-instant"!==a.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==r.mode&&r.openedChange.pipe((0,ar.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(r.opened))}_watchDrawerPosition(r){!r||r.onPositionChanged.pipe((0,ar.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,or.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(r){r&&r._modeChanged.pipe((0,ar.R)((0,yr.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(r){const a=this._element.nativeElement.classList,d="mat-drawer-container-has-open";r?a.add(d):a.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.\u0275fac=function(r){return new(r||l)(c.Y36(Yu.Is,8),c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(Or.rL),c.Y36(sf),c.Y36(c.QbO,8))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-drawer-container"]],contentQueries:function(r,a,d){if(1&r&&(c.Suo(d,Rs,5),c.Suo(d,oc,5)),2&r){let f;c.iGM(f=c.CRH())&&(a._content=f.first),c.iGM(f=c.CRH())&&(a._allDrawers=f)}},viewQuery:function(r,a){if(1&r&&c.Gf(Rs,5),2&r){let d;c.iGM(d=c.CRH())&&(a._userContent=d.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(r,a){2&r&&c.ekj("mat-drawer-container-explicit-backdrop",a._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[c._Bn([{provide:Ba,useExisting:l}])],ngContentSelectors:nf,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,a){1&r&&(c.F$t(Ju),c.YNc(0,nm,1,2,"div",0),c.Hsn(1),c.Hsn(2,1),c.YNc(3,Qu,2,0,"mat-drawer-content",1)),2&r&&(c.Q6J("ngIf",a.hasBackdrop),c.xp6(3),c.Q6J("ngIf",!a._content))},dependencies:[Nt.O5,Rs],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})(),Os=(()=>{class l extends Rs{constructor(r,a,d,f,E){super(r,a,d,f,E)}}return l.\u0275fac=function(r){return new(r||l)(c.Y36(c.sBO),c.Y36((0,c.Gpc)(()=>td)),c.Y36(c.SBq),c.Y36(Or.mF),c.Y36(c.R0b))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(r,a){2&r&&c.Udp("margin-left",a._container._contentMargins.left,"px")("margin-right",a._container._contentMargins.right,"px")},features:[c._Bn([{provide:Or.PQ,useExisting:l}]),c.qOj],ngContentSelectors:Ro,decls:1,vars:0,template:function(r,a){1&r&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),l})(),Ri=(()=>{class l extends oc{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(r){this._fixedInViewport=(0,zn.Ig)(r)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(r){this._fixedTopGap=(0,zn.su)(r)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(r){this._fixedBottomGap=(0,zn.su)(r)}}return l.\u0275fac=function(){let i;return function(a){return(i||(i=c.n5z(l)))(a||l)}}(),l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(r,a){2&r&&(c.uIk("align",null),c.Udp("top",a.fixedInViewport?a.fixedTopGap:null,"px")("bottom",a.fixedInViewport?a.fixedBottomGap:null,"px"),c.ekj("mat-drawer-end","end"===a.position)("mat-drawer-over","over"===a.mode)("mat-drawer-push","push"===a.mode)("mat-drawer-side","side"===a.mode)("mat-drawer-opened",a.opened)("mat-sidenav-fixed",a.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[c.qOj],ngContentSelectors:Ro,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,a){1&r&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA())},dependencies:[Or.PQ],encapsulation:2,data:{animation:[As.transformDrawer]},changeDetection:0}),l})(),td=(()=>{class l extends ed{}return l.\u0275fac=function(){let i;return function(a){return(i||(i=c.n5z(l)))(a||l)}}(),l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-sidenav-container"]],contentQueries:function(r,a,d){if(1&r&&(c.Suo(d,Os,5),c.Suo(d,Ri,5)),2&r){let f;c.iGM(f=c.CRH())&&(a._content=f.first),c.iGM(f=c.CRH())&&(a._allDrawers=f)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(r,a){2&r&&c.ekj("mat-drawer-container-explicit-backdrop",a._backdropOverride)},exportAs:["matSidenavContainer"],features:[c._Bn([{provide:Ba,useExisting:l}]),c.qOj],ngContentSelectors:rc,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,a){1&r&&(c.F$t(ka),c.YNc(0,Jr,1,2,"div",0),c.Hsn(1),c.Hsn(2,1),c.YNc(3,rf,2,0,"mat-sidenav-content",1)),2&r&&(c.Q6J("ngIf",a.hasBackdrop),c.xp6(3),c.Q6J("ngIf",!a._content))},dependencies:[Nt.O5,Os],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})(),nd=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({imports:[Nt.ez,on.BQ,Or.ZD,Or.ZD,on.BQ]}),l})();const rd=["*",[["mat-toolbar-row"]]],Oo=["*","mat-toolbar-row"],af=(0,on.pj)(class{constructor(l){this._elementRef=l}});let sc=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275dir=c.lG2({type:l,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),l})(),ac=(()=>{class l extends af{constructor(r,a,d){super(r),this._platform=a,this._document=d}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return l.\u0275fac=function(r){return new(r||l)(c.Y36(c.SBq),c.Y36(tc.t4),c.Y36(Nt.K0))},l.\u0275cmp=c.Xpm({type:l,selectors:[["mat-toolbar"]],contentQueries:function(r,a,d){if(1&r&&c.Suo(d,sc,5),2&r){let f;c.iGM(f=c.CRH())&&(a._toolbarRows=f)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(r,a){2&r&&c.ekj("mat-toolbar-multiple-rows",a._toolbarRows.length>0)("mat-toolbar-single-row",0===a._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[c.qOj],ngContentSelectors:Oo,decls:2,vars:0,template:function(r,a){1&r&&(c.F$t(rd),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})(),id=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({imports:[on.BQ,on.BQ]}),l})();var Xr=g(6155),xo=g(9563),Po=g(2297);const eo=new c.OlP("CurrentDate");function od(){return new Date}var Fo=g(6945);const No=["*"],lf="aio-notification/";class xs{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(lf+this.notificationId),r=this.currentDate>new Date(this.expirationDate);this.showNotification=i||r?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.storage.setItem(lf+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}static#e=this.\u0275fac=function(r){return new(r||xs)(c.Y36(Fo.mM),c.Y36(eo))};static#t=this.\u0275cmp=c.Xpm({type:xs,selectors:[["aio-notification"]],hostAttrs:["role","group","aria-label","Notification"],hostVars:1,hostBindings:function(r,a){2&r&&c.d8E("@hideAnimation",a.showNotification)},inputs:{bannerNotficationDescription:"bannerNotficationDescription",dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:No,decls:4,vars:1,consts:[[1,"content",3,"click","keyup.enter"],["mat-icon-button","",1,"close-button",3,"click"],["svgIcon","close"]],template:function(r,a){1&r&&(c.F$t(),c.TgZ(0,"span",0),c.NdJ("click",function(){return a.contentClick()})("keyup.enter",function(){return a.contentClick()}),c.Hsn(1),c.qZA(),c.TgZ(2,"button",1),c.NdJ("click",function(){return a.dismiss()}),c._UZ(3,"mat-icon",2),c.qZA()),2&r&&(c.xp6(2),c.uIk("aria-label","Close"+a.bannerNotficationDescription))},dependencies:[Xt.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 Kt=g(5370);const im=["searchBox"];function om(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 Ua{constructor(i){this.locationService=i,this.searchDebounce=300,this.searchSubject=new Yt.x,this.onSearch=this.searchSubject.pipe((0,Xi.x)(),(0,qi.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.\u0275fac=function(r){return new(r||Ua)(c.Y36(Kt.a))};static#t=this.\u0275cmp=c.Xpm({type:Ua,selectors:[["aio-search-box"]],viewQuery:function(r,a){if(1&r&&c.Gf(im,7),2&r){let d;c.iGM(d=c.CRH())&&(a.searchBox=d.first)}},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:5,vars:1,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""],[1,"search-box-shortcut"],[3,"click",4,"ngIf"],[3,"click"]],template:function(r,a){if(1&r&&(c.TgZ(0,"input",0,1),c.NdJ("input",function(){return a.doSearch()})("keyup",function(){return a.doSearch()})("focus",function(){return a.doFocus()})("click",function(){return a.doSearch()}),c.qZA(),c.TgZ(2,"div",2),c._uU(3,"/"),c.qZA(),c.YNc(4,om,2,0,"mat-icon",3)),2&r){const d=c.MAs(1);c.xp6(4),c.Q6J("ngIf",d.value)}},dependencies:[Nt.O5,kt.Hw],encapsulation:2})}var Br=g(6317),Ps=g(6562),fi=g(155),sd=g(2340);class qr{constructor(i){this.location=i,this.mode=this.location.search().mode||sd.N.mode}static#e=this.\u0275fac=function(r){return new(r||qr)(c.LFG(Kt.a))};static#t=this.\u0275prov=c.Yz7({token:qr,factory:qr.\u0275fac})}var Va=g(6403),ad=g(4),Fn=g(8917);const lc=Va.bL+"navigation.json";class ei{constructor(i,r){this.http=i,this.location=r;const a=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(a),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(a)}fetchNavigationInfo(){const i=this.http.get(lc).pipe((0,ad.C)());return i.connect(),i}getVersionInfo(i){const r=i.pipe((0,mt.U)(a=>a.__versionInfo),(0,ad.C)());return r.connect(),r}getNavigationViews(i){const r=i.pipe((0,mt.U)(a=>{const d=Object.assign({},a);return Object.keys(d).forEach(f=>{"_"===f[0]&&delete d[f]}),d}),(0,ad.C)());return r.connect(),r}getCurrentNodes(i){const r=(0,Ps.a)([i.pipe((0,mt.U)(a=>this.computeUrlToNavNodesMap(a))),this.location.currentPath]).pipe((0,mt.U)(a=>({navMap:a[0],url:a[1]})),(0,mt.U)(a=>{const d=/^api/.exec(a.url);return d&&(a.url=d[0]),a.navMap.get(a.url)||{"":{view:"",url:a.url,nodes:[]}}}),(0,Fn._)(1));return r.connect(),r}computeUrlToNavNodesMap(i){const r=new Map;return Object.keys(i).forEach(a=>i[a].forEach(d=>this.walkNodes(a,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,a,d=[]){const f=[a,...d],E=a.url;if(this.ensureHasTooltip(a),E){const b=E.replace(/\/$/,"");r.has(b)||r.set(b,{}),r.get(b)[i]={url:E,view:i,nodes:f}}a.children&&a.children.forEach(b=>this.walkNodes(i,r,b,f))}static#e=this.\u0275fac=function(r){return new(r||ei)(c.LFG(U.eN),c.LFG(Kt.a))};static#t=this.\u0275prov=c.Yz7({token:ei,factory:ei.\u0275fac})}var cf=g(9026),ld=g(5832),ti=g(4541);class Lo{constructor(i,r,a,d,f){this.appRef=i,this.errorHandler=r,this.location=a,this.logger=d,this.swu=f,this.checkInterval=216e5,this.onDisable=new Yt.x}disable(){this.onDisable.next()}enable(){if(!this.swu.isEnabled)return;const i=this.appRef.isStable.pipe((0,fi.P)(r=>r));(0,Ai.z)(i,function br(l=0,i=Pa.z){return l<0&&(l=0),(0,Mo.H)(l,l,i)}(this.checkInterval)).pipe((0,Ot.b)(()=>this.log("Checking for update...")),(0,ar.R)(this.onDisable)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe((0,Ot.b)(r=>this.log(`Update available: ${JSON.stringify(r)}`)),(0,ar.R)(this.onDisable)).subscribe(()=>this.swu.activateUpdate()),this.swu.activated.pipe((0,Ot.b)(r=>this.log(`Update activated: ${JSON.stringify(r)}`)),(0,ar.R)(this.onDisable)).subscribe(()=>this.location.fullPageNavigationNeeded()),this.swu.unrecoverable.pipe((0,Ot.b)(r=>{const a=`Unrecoverable state: ${r.reason}`;this.errorHandler.handleError(a),this.log(`${a}\nReloading...`)}),(0,ar.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.\u0275fac=function(r){return new(r||Lo)(c.LFG(c.z2F),c.LFG(c.qLn),c.LFG(Kt.a),c.LFG(ti.Y),c.LFG(W))};static#t=this.\u0275prov=c.Yz7({token:Lo,factory:Lo.\u0275fac,providedIn:"root"})}var ko=g(6308);const Bo=[{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)}],cc=new c.OlP("aio/elements-map"),cd=new Map;Bo.forEach(l=>{cd.set(l.selector,l.loadChildren)});var Dr=g(3609),sm=g(6067);const uc={schedule(l,i){const r=setTimeout(l,i);return()=>clearTimeout(r)},scheduleBeforeRender(l){if(typeof window>"u")return uc.schedule(l,0);if(typeof window.requestAnimationFrame>"u")return uc.schedule(l,16);const i=window.requestAnimationFrame(l);return()=>window.cancelAnimationFrame(i)}};let dd;function pf(l,i,r){let a=r;return function wr(l){return!!l&&l.nodeType===Node.ELEMENT_NODE}(l)&&i.some((d,f)=>!("*"===d||!function hd(l,i){if(!dd){const r=Element.prototype;dd=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return l.nodeType===Node.ELEMENT_NODE&&dd.call(l,i)}(l,d)||(a=f,0))),a}class hc{constructor(i,r){this.componentFactory=r.get(c._Vd).resolveComponentFactory(i)}create(i){return new ja(this.componentFactory,i)}}class ja{constructor(i,r){this.componentFactory=i,this.injector=r,this.eventEmitters=new sm.t(1),this.events=this.eventEmitters.pipe((0,an.w)(a=>(0,yr.T)(...a))),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:a})=>a)),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=uc.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 uf(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}),a=function ff(l,i){const r=l.childNodes,a=i.map(()=>[]);let d=-1;i.some((f,E)=>"*"===f&&(d=E,!0));for(let f=0,E=r.length;f<E;++f){const b=r[f],A=pf(b,i,d);-1!==A&&a[A].push(b)}return a}(i,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(r,a,i),this.viewChangeDetectorRef=this.componentRef.injector.get(c.sBO),this.implementsOnChanges=function dc(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:a,templateName:d})=>i.instance[a].pipe((0,mt.U)(E=>({name:d,value:E}))));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=uc.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(i,r){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const a=this.inputChanges[i];if(a)return void(a.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 fc extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class Ur{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 a=Promise.all(r.map(d=>this.loadCustomElement(d)));return(0,Dr.D)(a.then(()=>{}))}loadCustomElement(i){if(this.elementsLoading.has(i))return this.elementsLoading.get(i);if(this.elementsToLoad.has(i)){const a=this.elementsToLoad.get(i)().then(d=>{const f=(0,c.hM9)(d,this.moduleRef.injector),A=function Ns(l,i){const r=function hf(l,i){return i.get(c._Vd).resolveComponentFactory(l).inputs}(l,i.injector),a=i.strategyFactory||new hc(l,i.injector),d=function df(l){const i={};return l.forEach(({propName:r,templateName:a})=>{i[function ud(l){return l.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}(a)]=r}),i}(r);class f extends fc{constructor(b){super(),this.injector=b}get ngElementStrategy(){if(!this._ngElementStrategy){const b=this._ngElementStrategy=a.create(this.injector||i.injector);r.forEach(({propName:A})=>{if(!this.hasOwnProperty(A))return;const Z=this[A];delete this[A],b.setInputValue(A,Z)})}return this._ngElementStrategy}attributeChangedCallback(b,A,Z,pe){this.ngElementStrategy.setInputValue(d[b],Z)}connectedCallback(){let b=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),b=!0),this.ngElementStrategy.connect(this),b||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(b=>{const A=new CustomEvent(b.name,{detail:b.value});this.dispatchEvent(A)})}}return f.observedAttributes=Object.keys(d),r.forEach(({propName:E})=>{Object.defineProperty(f.prototype,E,{get(){return this.ngElementStrategy.getInputValue(E)},set(b){this.ngElementStrategy.setInputValue(E,b)},configurable:!0,enumerable:!0})}),f}(f.instance.customElementComponent,{injector:f.injector});return customElements.define(i,A),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,a),a}return Promise.resolve()}static#e=this.\u0275fac=function(r){return new(r||Ur)(c.LFG(c.h0i),c.LFG(cc))};static#t=this.\u0275prov=c.Yz7({token:Ur,factory:Ur.\u0275fac})}class Ha{constructor(i,r,a){this.elementRef=i,this.elementsLoader=r,this.logger=a,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.\u0275fac=function(r){return new(r||Ha)(c.Y36(c.SBq),c.Y36(Ur),c.Y36(ti.Y))};static#t=this.\u0275cmp=c.Xpm({type:Ha,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(r,a){},encapsulation:2})}var fd=g(26);function Ls(l,i){if(1&l){const r=c.EpF();c.TgZ(0,"div",1)(1,"h2",2),c._uU(2,"Cookie \u4f7f\u7528\u63d0\u9192"),c.qZA(),c.TgZ(3,"h2",3),c._uU(4,"Cookies concent notice"),c.qZA(),c.TgZ(5,"p",4),c._uU(6,"\u672c\u7ad9\u4f7f\u7528\u6765\u81ea Google \u7684 Cookie \u6765\u63d0\u4f9b\u670d\u52a1\u5e76\u5206\u6790\u4f7f\u7528\u884c\u4e3a\u3002"),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," \u4e86\u89e3\u66f4\u591a "),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," \u597d\uff0c\u77e5\u9053\u4e86 "),c.qZA()()()}}const ks="aio-accepts-cookies";class Bs{constructor(i){this.storage=i,this.hasAcceptedCookies="true"===this.storage.getItem(ks)}acceptCookies(){this.storage.setItem(ks,"true"),this.hasAcceptedCookies=!0}static#e=this.\u0275fac=function(r){return new(r||Bs)(c.Y36(Fo.mM))};static#t=this.\u0275cmp=c.Xpm({type:Bs,selectors:[["aio-cookies-popup"]],decls:1,vars:1,consts:[["class","cookies-popup no-print",4,"ngIf"],[1,"cookies-popup","no-print"],["translation-result","on",1,"visually-hidden"],["translation-origin","off",1,"visually-hidden"],["translation-result","on"],["translation-origin","off"],[1,"actions"],["mat-button","","href","https://policies.google.com/technologies/cookies","target","_blank","rel","noopener"],["mat-button","",3,"click"]],template:function(r,a){1&r&&c.YNc(0,Ls,14,0,"div",0),2&r&&c.Q6J("ngIf",!a.hasAcceptedCookies)},dependencies:[Nt.O5,Xt.lW,Xt.zs],encapsulation:2})}var _f=g(3888),vf=g(8728),Cr=g(3158),Oi=g(3710);const Ef=document.querySelector("aio-doc-viewer"),pd=Ef?(0,Xr.Iv)(Ef):Oi.sx;class $a{constructor(i,r,a,d,f){this.logger=r,this.titleService=a,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,Oi.xo)(pd),this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe((0,vf.Q)(_f.E),(0,an.w)(E=>this.render(E)),(0,ar.R)(this.onDestroy$)).subscribe()}set doc(i){i&&this.docContents$.emit(i)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(i,r){const a=i.querySelector("h1"),d=!!a&&!/no-?title/i.test(a.className),f=!!a&&!/no-?toc/i.test(a.className),E=i.querySelector("aio-toc.embedded");if(a&&a.parentNode&&f&&!E){const b=document.createElement("aio-toc");b.className="embedded",a.parentNode.insertBefore(b,a.nextSibling)}else!f&&E&&E.remove();return()=>{this.tocService.reset();let b="";a&&(d&&(b="string"==typeof a.innerText?a.innerText:a.textContent),f&&this.tocService.genToc(i,r)),this.titleService.setTitle(b?`Angular - ${b}`:"Angular")}}render(i){let r;return this.setNoIndex(i.id===Va.xx||i.id===Va.cH),this.void$.pipe((0,Ot.b)(()=>{null===i.contents?this.nextViewContainer.textContent="":this.nextViewContainer.innerHTML=(0,Oi.xo)(i.contents)}),(0,Ot.b)(()=>r=this.prepareTitleAndToc(this.nextViewContainer,i.id)),(0,an.w)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),(0,Ot.b)(()=>this.docReady.emit()),(0,an.w)(()=>this.swapViews(r)),(0,Ot.b)(()=>this.docRendered.emit()),(0,Cr.K)(a=>{const d=`${a instanceof Error?a.stack:a}`;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 On.y(A=>{const Z=requestAnimationFrame(()=>{A.next(),A.complete()});return()=>cancelAnimationFrame(Z)}),d=(A,Z,pe,_e,Qe=200)=>{const ot=this.hostElement.classList.contains("no-animations");return A.style.transition="",ot?this.void$.pipe((0,Ot.b)(()=>A.style[Z]=_e)):this.void$.pipe((0,an.w)(()=>r),(0,Ot.b)(()=>A.style[Z]=pe),(0,an.w)(()=>r),(0,Ot.b)(()=>A.style.transition=`all ${Qe}ms ease-in-out`),(0,an.w)(()=>r),(0,Ot.b)(()=>A.style[Z]=_e),(0,an.w)(()=>(0,Mo.H)((A=>{const Z=getComputedStyle(A).transitionDuration||"";return 1e3*Number(Z.replace(/s$/,""))})(A))),(0,an.w)(()=>this.void$))};let b=this.void$;return this.currViewContainer.parentElement&&(b=b.pipe((0,an.w)(()=>d(this.currViewContainer,"opacity","1","0.1")),(0,Ot.b)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),(0,Ot.b)(()=>this.docRemoved.emit()))),b.pipe((0,Ot.b)(()=>this.hostElement.appendChild(this.nextViewContainer)),(0,Ot.b)(()=>i()),(0,Ot.b)(()=>this.docInserted.emit()),(0,an.w)(()=>d(this.nextViewContainer,"opacity","0.1","1")),(0,Ot.b)(()=>{const A=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=A,this.nextViewContainer.textContent=""}))}toggleTranslationOrigin(i){const r=function am(l){for(;l&&!l.hasAttribute("translation-result");)l=l.parentElement;return l}(i.target);if(r&&r.hasAttribute("translation-result")){const a=r.nextElementSibling;if(!a||a.hasAttribute("translation-result")||a.tagName!==r.tagName)return;"on"===a.getAttribute("translation-origin")?a.setAttribute("translation-origin","off"):a.setAttribute("translation-origin","on")}}static#e=this.\u0275fac=function(r){return new(r||$a)(c.Y36(c.SBq),c.Y36(ti.Y),c.Y36(m.Dx),c.Y36(ko.I),c.Y36(Ur))};static#t=this.\u0275cmp=c.Xpm({type:$a,selectors:[["aio-doc-viewer"]],hostBindings:function(r,a){1&r&&c.NdJ("click",function(f){return a.toggleTranslationOrigin(f)})},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(r,a){},encapsulation:2})}const bf=["dt"];class za{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.\u0275fac=function(r){return new(r||za)};static#t=this.\u0275cmp=c.Xpm({type:za,selectors:[["aio-dt"]],viewQuery:function(r,a){if(1&r&&c.Gf(bf,7,c.SBq),2&r){let d;c.iGM(d=c.CRH())&&(a.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,a){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 a.dtextSet()}),c._uU(6,"Show change"),c.qZA()()),2&r&&(c.xp6(2),c.Q6J("value",a.text))},encapsulation:2})}function Df(l,i){if(1&l&&(c.TgZ(0,"li")(1,"a",8),c._uU(2),c.qZA()()),2&l){const r=i.$implicit;let a,d;c.xp6(1),c.Q6J("href",r.url,c.LSH)("title",null!==(a=null!==(a=null!==(a=r.tooltipCn)&&void 0!==a?a:r.tooltip)&&void 0!==a?a:r.titleCn)&&void 0!==a?a:r.title),c.xp6(1),c.Oqu(null!==(d=r.titleCn)&&void 0!==d?d:r.title)}}function Wa(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,Df,3,3,"li",7),c.qZA()()),2&l){const r=i.$implicit;let a;c.xp6(2),c.Oqu(null!==(a=r.titleCn)&&void 0!==a?a:r.title),c.xp6(2),c.Q6J("ngForOf",r.children)}}class Us{static#e=this.\u0275fac=function(r){return new(r||Us)};static#t=this.\u0275cmp=c.Xpm({type:Us,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,a){1&r&&(c.TgZ(0,"div",0),c.YNc(1,Wa,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," \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),c.TgZ(6,"a",2),c._uU(7,"MIT-style License"),c.qZA(),c._uU(8,". \u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a"),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,"\u6caaICP\u590713038357\u53f7-21"),c.qZA()()),2&r&&(c.xp6(1),c.Q6J("ngForOf",a.nodes),c.xp6(12),c.hij(" \u5f53\u524d\u7248\u672c\uff1a",null==a.versionInfo?null:a.versionInfo.full,".\n"))},dependencies:[Nt.sg],encapsulation:2})}function wf(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 Vs{static#e=this.\u0275fac=function(r){return new(r||Vs)};static#t=this.\u0275cmp=c.Xpm({type:Vs,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,a){1&r&&c.YNc(0,wf,9,1,"div",0),2&r&&c.Q6J("ngIf","archive"===a.mode)},dependencies:[Nt.O5],encapsulation:2})}function lm(l,i){1&l&&(c.TgZ(0,"mat-icon"),c._uU(1,"open_in_new"),c.qZA())}function gd(l,i){if(1&l&&(c.TgZ(0,"a",3)(1,"span",4),c._uU(2),c.qZA(),c.YNc(3,lm,2,0,"mat-icon",0),c.qZA()),2&l){const r=c.oxw(2);let a;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!==(a=r.node.titleCn)&&void 0!==a?a:r.node.title),c.xp6(1),c.Q6J("ngIf",r.isExternalUrl(r.node.url))}}function cm(l,i){1&l&&c._UZ(0,"div",5)}function Cf(l,i){if(1&l&&(c.TgZ(0,"div"),c.YNc(1,gd,4,6,"a",1),c.YNc(2,cm,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 Sf(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 a;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!==(a=r.node.titleCn)&&void 0!==a?a:r.node.title)}}function pc(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 a;c.s9C("title",r.node.tooltipCn),c.Q6J("ngClass",r.classes),c.uIk("aria-pressed",r.isExpanded),c.xp6(2),c.Oqu(null!==(a=r.node.titleCn)&&void 0!==a?a:r.node.title)}}function um(l,i){if(1&l&&c._UZ(0,"aio-nav-item",13),2&l){const r=i.$implicit,a=c.oxw(2);c.Q6J("level",a.level+1)("isWide",a.isWide)("isParentExpanded",a.isExpanded)("node",r)("selectedNodes",a.selectedNodes)}}function dm(l,i){if(1&l&&(c.TgZ(0,"div"),c.YNc(1,Sf,4,4,"a",6),c.YNc(2,pc,4,4,"button",7),c.TgZ(3,"div",8),c.YNc(4,um,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 to{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.\u0275fac=function(r){return new(r||to)};static#t=this.\u0275cmp=c.Xpm({type:to,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,a){1&r&&(c.YNc(0,Cf,3,2,"div",0),c.YNc(1,dm,5,4,"div",0)),2&r&&(c.Q6J("ngIf",!a.node.children),c.xp6(1),c.Q6J("ngIf",a.node.children))},dependencies:[Nt.mk,Nt.sg,Nt.O5,kt.Hw,to],encapsulation:2})}function hm(l,i){if(1&l&&c._UZ(0,"aio-nav-item",1),2&l){const r=i.$implicit,a=c.oxw();c.Q6J("node",r)("selectedNodes",a.selectedNodes)("isWide",a.isWide)}}class gc{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.\u0275fac=function(r){return new(r||gc)};static#t=this.\u0275cmp=c.Xpm({type:gc,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,a){1&r&&(c.TgZ(0,"nav"),c.YNc(1,hm,1,3,"aio-nav-item",0),c.qZA()),2&r&&(c.uIk("aria-label",a.navLabel||null),c.xp6(1),c.Q6J("ngForOf",a.filteredNodes))},dependencies:[Nt.sg,to],encapsulation:2})}const fm=function(l){return{selected:l}};function pm(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,a=c.oxw();let d,f;c.Q6J("ngClass",c.VKq(7,fm,r.url===a.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 mc{get currentUrl(){return this.currentNode?this.currentNode.url:null}static#e=this.\u0275fac=function(r){return new(r||mc)};static#t=this.\u0275cmp=c.Xpm({type:mc,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,a){1&r&&(c.TgZ(0,"nav",0)(1,"ul"),c.YNc(2,pm,4,9,"li",1),c.qZA()()),2&r&&(c.xp6(2),c.Q6J("ngForOf",a.nodes))},dependencies:[Nt.mk,Nt.sg],styles:[".nav-link.highlight[_ngcontent-%COMP%]{color:#ff0}\n/*# sourceMappingURL=top-menu.component.ts-angular-inline--2.css.map*/"]})}const md="aio-theme";class js{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(md);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 a=this.document.createElement("link");a.id="aio-custom-theme",a.rel="stylesheet",a.href=`${this.getThemeName()}-theme.css`,this.document.head.appendChild(a)}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(md,String(this.isDark))}static#e=this.\u0275fac=function(r){return new(r||js)(c.Y36(Nt.K0),c.Y36(Fo.mM))};static#t=this.\u0275cmp=c.Xpm({type:js,selectors:[["aio-theme-toggle"]],decls:3,vars:3,consts:[["mat-icon-button","","type","button",3,"title","click"]],template:function(r,a){1&r&&(c.TgZ(0,"button",0),c.NdJ("click",function(){return a.toggleTheme()}),c.TgZ(1,"mat-icon"),c._uU(2),c.qZA()()),2&r&&(c.Q6J("title",a.getToggleLabel()),c.uIk("aria-label",a.getToggleLabel()),c.xp6(2),c.hij(" ",a.isDark?"light":"dark","_mode "))},dependencies:[Xt.lW,kt.Hw],encapsulation:2})}const _c=["searchResultsView"],_d=["appToolbar"],vd=["searchBox","searchResultsView"],yd=["themeToggle","externalIcons"];function ni(l,i){1&l&&(c.TgZ(0,"div",45),c._UZ(1,"mat-progress-bar",46),c.qZA())}function Mf(l,i){1&l&&c._UZ(0,"img",47)}function Tf(l,i){1&l&&c._UZ(0,"img",48)}function If(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 Ed(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 vc(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 Af(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 Rf(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 Of=function(l){return{collapsed:l}},yc="SideNav";class xi{constructor(i,r,a,d,f,E,b,A,Z){this.deployment=i,this.documentService=r,this.hostElement=a,this.locationService=d,this.navigationService=f,this.scrollService=E,this.searchService=b,this.swUpdatesService=A,this.tocService=Z,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 Br.X(!1),this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}static#e=this.reducedMotion=window.matchMedia("(prefers-reduced-motion)").matches;get disableAnimations(){return xi.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[yc]&&this.locationService.replace("docs")}),(0,Ps.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe((0,mt.U)(r=>r.docVersions)),this.locationService.currentUrl]).subscribe(([r,a,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 E=[...f,...a].map(b=>({...b,url:`${b.url}${b.url?.endsWith("/")?"":"/"}${d}`}));this.currentDocsVersionNode=E.find(b=>b.title===this.deployment.mode||b.title===`v${r.major}`),this.docVersions=[{title:"\u6587\u6863\u7248\u672c",children:E}]}),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,mt.U)(r=>r.length>0));(0,Ps.a)([i,this.showFloatingToc]).subscribe(([r,a])=>this.hasFloatingToc=r&&a),(0,Ps.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)),a=this.toolbar.nativeElement.contains(i);r||(a?this.searchResultsView.nativeElement.querySelector("button.close-button").focus():this.focusSearchBox())}}onClick(i,r,a,d,f){if(this.showSearchResults&&!this.searchElements.some(b=>b.nativeElement.contains(i))&&this.hideSearchResults(),"FOOTER"===i.tagName&&d&&f)return this.dtOn=!this.dtOn,!1;let E=i;for(;E&&!(E instanceof HTMLAnchorElement);)E=E.parentElement;return!(E instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(E,r,a,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"),a=`page-${this.pageId}`,d=`folder-${this.folderId}`,f=Object.keys(this.currentNodes).map(A=>`view-${A}`).join(" ");this.hostClasses=[i,r,a,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[yc];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"),a=i.querySelector("footer");r&&a&&(this.tocMaxHeightOffset=r.clientHeight+a.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(i){const r=i.currentTarget,a=r.scrollTop;i.deltaY<0?a<1&&i.preventDefault():r.scrollHeight-r.clientHeight-a<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.\u0275fac=function(r){return new(r||xi)(c.Y36(qr),c.Y36(Va.Zg),c.Y36(c.SBq),c.Y36(Kt.a),c.Y36(ei),c.Y36(cf.a),c.Y36(ld.o),c.Y36(Lo),c.Y36(ko.I))};static#n=this.\u0275cmp=c.Xpm({type:xi,selectors:[["aio-shell"]],viewQuery:function(r,a){if(1&r&&(c.Gf(Ua,7),c.Gf(_c,5,c.SBq),c.Gf(Ri,7),c.Gf(xs,7),c.Gf(_d,5,c.SBq),c.Gf(vd,5,c.SBq),c.Gf(yd,5,c.SBq)),2&r){let d;c.iGM(d=c.CRH())&&(a.searchBox=d.first),c.iGM(d=c.CRH())&&(a.searchResultsView=d.first),c.iGM(d=c.CRH())&&(a.sidenav=d.first),c.iGM(d=c.CRH())&&(a.notification=d.first),c.iGM(d=c.CRH())&&(a.toolbar=d.first),c.iGM(d=c.CRH())&&(a.searchElements=d),c.iGM(d=c.CRH())&&(a.toolbarIcons=d)}},hostVars:3,hostBindings:function(r,a){1&r&&c.NdJ("resize",function(f){return a.onResize(f.target.innerWidth)},!1,c.Jf7)("focusin",function(f){return a.onFocus(f.target)})("click",function(f){return a.onClick(f.target,f.button,f.ctrlKey,f.metaKey,f.altKey)})("scroll",function(){return a.onScroll()},!1,c.Jf7)("keyup",function(f){return a.onKeyUp(f.key,f.which)},!1,c.evT),2&r&&(c.d8E("@.disabled",a.disableAnimations),c.Tol(a.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/[email protected]","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/[email protected]","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,a){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,ni,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 a.notificationDismissed()}),c.TgZ(10,"a",7),c._UZ(11,"mat-icon",8),c.TgZ(12,"span",9)(13,"b"),c._uU(14,"\u586b\u5199\u8fd9\u4efd\u300a\u4e00\u5206\u949f\u8c03\u67e5\u300b"),c.qZA(),c._uU(15,"\uff0c\u5e2e\u6211\u4eec\uff08\u5f00\u53d1\u7ec4\uff09\u505a\u5f97\u66f4\u597d\uff01"),c.qZA(),c.TgZ(16,"span",10),c._uU(17,"\u53bb\u586b\u5199"),c.qZA()()()(),c.TgZ(18,"mat-toolbar-row")(19,"button",11),c.NdJ("click",function(){c.CHM(d);const E=c.MAs(40);return c.KtG(E.toggle())}),c._UZ(20,"mat-icon",12),c.qZA(),c.TgZ(21,"a",13),c.YNc(22,Mf,1,0,"img",14),c.YNc(23,Tf,1,0,"img",15),c.qZA(),c.YNc(24,If,1,2,"aio-top-menu",16),c.TgZ(25,"aio-search-box",17,18),c.NdJ("onSearch",function(E){return a.doSearch(E)})("onFocus",function(E){return a.doSearch(E,!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,Ed,3,3,"aio-search-results",28),c.TgZ(38,"mat-sidenav-container",29)(39,"mat-sidenav",30,31),c.NdJ("openedChange",function(){return a.updateHostClasses()}),c.YNc(41,vc,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 a.onDocReady()})("docRemoved",function(){return a.onDocRemoved()})("docInserted",function(){return a.onDocInserted()})("docRendered",function(){return a.onDocRendered()}),c.qZA(),c.YNc(50,Af,1,1,"aio-dt",41),c.qZA(),c.YNc(51,Rf,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",a.isFetching),c.xp6(2),c.ekj("transitioning",a.isTransitioning),c.xp6(3),c.Q6J("dismissOnContentClick",!0),c.xp6(10),c.ekj("no-animations",a.disableAnimations),c.xp6(2),c.Q6J("ngSwitch",a.showTopMenu),c.xp6(1),c.Q6J("ngSwitchCase",!0),c.xp6(2),c.Q6J("ngIf",a.showTopMenu),c.xp6(13),c.Q6J("ngIf",a.showSearchResults),c.xp6(1),c.ekj("no-animations",a.disableAnimations)("has-floating-toc",a.hasFloatingToc),c.xp6(1),c.Q6J("ngClass",c.VKq(34,Of,!a.dockSideNav))("mode",a.mode)("opened",a.isOpened),c.xp6(2),c.Q6J("ngIf",!a.showTopMenu),c.xp6(1),c.Q6J("nodes",a.sideNavNodes)("currentNode",a.currentNodes.SideNav)("isWide",a.dockSideNav),c.xp6(2),c.Q6J("nodes",a.docVersions)("isWide",!0)("currentNode",a.currentDocsVersionNode),c.xp6(2),c.Q6J("id",a.pageId),c.xp6(2),c.Q6J("mode",a.deployment.mode)("version",a.versionInfo),c.xp6(1),c.ekj("no-animations",a.disableAnimations),c.Q6J("doc",a.currentDocument),c.xp6(1),c.Q6J("ngIf",a.dtOn),c.xp6(1),c.Q6J("ngIf",a.hasFloatingToc),c.xp6(2),c.Q6J("nodes",a.footerNodes)("versionInfo",a.versionInfo))},dependencies:[Nt.mk,Nt.O5,Nt.RF,Nt.n9,Nt.ED,Ha,Xt.lW,Xt.zs,ef,Ri,td,ac,sc,fd.G,kt.Hw,Bs,$a,za,Us,Vs,gc,Ua,xs,mc,js,Nt.Ov],encapsulation:2})}const pi=new c.OlP("SvgIcons"),Hs="$$default";class Sn extends kt.jv{constructor(i,r,a,d,f){super(i,r,a,d),this.svgIcons=f,this.cachedSvgElements={[Hs]:{}}}getNamedSvgIcon(i,r){const a=this.cachedSvgElements[r||Hs];let d=a&&a[i];return d||(d=this.loadSvgElement(i,r)),d?(0,lt.of)(d.cloneNode(!0)):super.getNamedSvgIcon(i,r)}loadSvgElement(i,r){const a=this.svgIcons.find(A=>r?A.name===i&&A.namespace===r:A.name===i);if(!a)return;const d=a.namespace||Hs,f=this.cachedSvgElements[d]||(this.cachedSvgElements[d]={}),E=document.createElement("DIV");E.innerHTML=(0,Oi.xo)(a.svgSource);const b=E.querySelector("svg");return f[a.name]=b,b}static#e=this.\u0275fac=function(r){return new(r||Sn)(c.LFG(U.eN),c.LFG(m.H7),c.LFG(Nt.K0,8),c.LFG(c.qLn),c.LFG(pi))};static#t=this.\u0275prov=c.Yz7({token:Sn,factory:Sn.\u0275fac})}var Uo=g(8507),bd=g(3336);class Vo extends c.qLn{constructor(i){super(),this._analytics=i}handleError(i){const r=this.prefixErrorWithVersion(i);try{super.handleError(r)}catch(a){this.reportError(a)}this.reportError(r)}prefixErrorWithVersion(i){const r=`[v${c.q4F.full}] `;if(i instanceof Error){const a=i.message,d=i.stack;i.message=r+a,i.stack=d?.replace(a,i.message)}else"string"==typeof i&&(i=r+i);return i}reportError(i){if(i instanceof Error)this._analytics.reportError((0,bd.R)(i));else{if("object"==typeof i)try{i=JSON.stringify(i)}catch{}this._analytics.reportError(`${i}`)}}static#e=this.\u0275fac=function(r){return new(r||Vo)(c.LFG(Uo.y))};static#t=this.\u0275prov=c.Yz7({token:Vo,factory:Vo.\u0275fac})}var Ff=g(4727),Ec=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 fa=new c.OlP("ROUTES");class cs{static#e=this.\u0275fac=function(r){return new(r||cs)};static#t=this.\u0275mod=c.oAB({type:cs});static#n=this.\u0275inj=c.cJS({providers:[Ur,{provide:cc,useValue:cd},{provide:fa,useValue:Bo,multi:!0}]})}var Nm=g(4466);const Lm=[{provide:pi,useValue:{name:"close",svgSource:Xr.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:pi,useValue:{name:"insert_comment",svgSource:Xr.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:pi,useValue:{name:"keyboard_arrow_right",svgSource:Xr.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:pi,useValue:{name:"menu",svgSource:Xr.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:pi,useValue:{namespace:"logos",name:"github",svgSource:Xr.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:pi,useValue:{namespace:"logos",name:"twitter",svgSource:Xr.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:pi,useValue:{namespace:"logos",name:"youtube",svgSource:Xr.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 _u{static#e=this.\u0275fac=function(r){return new(r||_u)};static#t=this.\u0275mod=c.oAB({type:_u,bootstrap:[xi]});static#n=this.\u0275inj=c.cJS({providers:[Uo.y,qr,Va.Zg,{provide:c.qLn,useClass:Vo},ti.Y,Nt.Ye,{provide:Nt.S$,useClass:Nt.b0},Kt.a,{provide:kt.jv,useClass:Sn},ei,cf.a,Ff.f_,ld.o,Fo.Un,Lm,ko.I,{provide:eo,useFactory:od},{provide:Ec.R,useFactory:Ec.s}],imports:[m.b2,Ts.withConfig({disableAnimations:xi.reducedMotion}),cs,U.JF,Xt.ot,tm,nd,id,Nm.m,It.register((0,xo.g$)(Po.dJ`/ngsw-worker.js`),{enabled:sd.N.production})]})}sd.N.production&&(0,c.G48)(),document.addEventListener("DOMContentLoaded",()=>{m.q6().bootstrapModule(_u).catch(l=>console.error(l))})},7367:(Me,z,g)=>{g.d(z,{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:k,_value:V,thrownError:P,isStopped:F,_isComplete:I}=this;N?O.error(P):(F||I)&&(k&&O.next(V),O.complete())}next(O){this.isStopped||(this._value=O,this._hasValue=!0)}complete(){const{_hasValue:O,_value:N,_isComplete:k}=this;k||(this._isComplete=!0,O&&super.next(N),super.complete())}}},6317:(Me,z,g)=>{g.d(z,{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:k}=this;if(O)throw N;return this._throwIfClosed(),k}next(O){super.next(this._value=O)}}},833:(Me,z,g)=>{g.d(z,{y:()=>P});var m=g(5463),c=g(7714),U=g(4585),O=g(629),N=g(9057),k=g(2971),V=g(2309);let P=(()=>{class R{constructor(Y){Y&&(this._subscribe=Y)}lift(Y){const ne=new R;return ne.source=this,ne.operator=Y,ne}subscribe(Y,ne,H){const J=function L(R){return R&&R instanceof m.Lv||function I(R){return R&&(0,k.m)(R.next)&&(0,k.m)(R.error)&&(0,k.m)(R.complete)}(R)&&(0,c.Nn)(R)}(Y)?Y:new m.Hp(Y,ne,H);return(0,V.x)(()=>{const{operator:G,source:Ee}=this;J.add(G?G.call(J,Ee):Ee?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(Y){try{return this._subscribe(Y)}catch(ne){Y.error(ne)}}forEach(Y,ne){return new(ne=F(ne))((H,J)=>{const G=new m.Hp({next:Ee=>{try{Y(Ee)}catch(ze){J(ze),G.unsubscribe()}},error:J,complete:H});this.subscribe(G)})}_subscribe(Y){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(Y)}[U.L](){return this}pipe(...Y){return(0,O.U)(Y)(this)}toPromise(Y){return new(Y=F(Y))((ne,H)=>{let J;this.subscribe(G=>J=G,G=>H(G),()=>ne(J))})}}return R.create=ee=>new R(ee),R})();function F(R){var ee;return null!==(ee=R??N.v.Promise)&&void 0!==ee?ee:Promise}},6067:(Me,z,g)=>{g.d(z,{t:()=>U});var m=g(253),c=g(7654);class U extends m.x{constructor(N=1/0,k=1/0,V=c.l){super(),this._bufferSize=N,this._windowTime=k,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=k===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,k)}next(N){const{isStopped:k,_buffer:V,_infiniteTimeWindow:P,_timestampProvider:F,_windowTime:I}=this;k||(V.push(N),!P&&V.push(F.now()+I)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const k=this._innerSubscribe(N),{_infiniteTimeWindow:V,_buffer:P}=this,F=P.slice();for(let I=0;I<F.length&&!N.closed;I+=V?1:2)N.next(F[I]);return this._checkFinalizedStatuses(N),k}_trimBuffer(){const{_bufferSize:N,_timestampProvider:k,_buffer:V,_infiniteTimeWindow:P}=this,F=(P?1:2)*N;if(N<1/0&&F<V.length&&V.splice(0,V.length-F),!P){const I=k.now();let L=0;for(let R=1;R<V.length&&V[R]<=I;R+=2)L=R;L&&V.splice(0,L+1)}}}},253:(Me,z,g)=>{g.d(z,{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),k=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 R=new P(this,this);return R.operator=L,R}_throwIfClosed(){if(this.closed)throw new O}next(L){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const R of this.currentObservers)R.next(L)}})}error(L){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:R}=this;for(;R.length;)R.shift().error(L)}})}complete(){(0,k.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:R,isStopped:ee,observers:Y}=this;return R||ee?c.Lc:(this.currentObservers=null,Y.push(L),new c.w0(()=>{this.currentObservers=null,(0,N.P)(Y,L)}))}_checkFinalizedStatuses(L){const{hasError:R,thrownError:ee,isStopped:Y}=this;R?L.error(ee):Y&&L.complete()}asObservable(){const L=new m.y;return L.source=this,L}}return F.create=(I,L)=>new P(I,L),F})();class P extends V{constructor(I,L){super(),this.destination=I,this.source=L}next(I){var L,R;null===(R=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===R||R.call(L,I)}error(I){var L,R;null===(R=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===R||R.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,R;return null!==(R=null===(L=this.source)||void 0===L?void 0:L.subscribe(I))&&void 0!==R?R:c.Lc}}},5463:(Me,z,g)=>{g.d(z,{Hp:()=>H,Lv:()=>R});var m=g(2971),c=g(7714),U=g(9057),O=g(4709),N=g(9635);const k=F("C",void 0,void 0);function F(me,$,se){return{kind:me,value:$,error:se}}var I=g(3542),L=g(2309);class R extends c.w0{constructor($){super(),this.isStopped=!1,$?(this.destination=$,(0,c.Nn)($)&&$.add(this)):this.destination=ze}static create($,se,Ce){return new H($,se,Ce)}next($){this.isStopped?Ee(function P(me){return F("N",me,void 0)}($),this):this._next($)}error($){this.isStopped?Ee(function V(me){return F("E",void 0,me)}($),this):(this.isStopped=!0,this._error($))}complete(){this.isStopped?Ee(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next($){this.destination.next($)}_error($){try{this.destination.error($)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ee=Function.prototype.bind;function Y(me,$){return ee.call(me,$)}class ne{constructor($){this.partialObserver=$}next($){const{partialObserver:se}=this;if(se.next)try{se.next($)}catch(Ce){J(Ce)}}error($){const{partialObserver:se}=this;if(se.error)try{se.error($)}catch(Ce){J(Ce)}else J($)}complete(){const{partialObserver:$}=this;if($.complete)try{$.complete()}catch(se){J(se)}}}class H extends R{constructor($,se,Ce){let Ne;if(super(),(0,m.m)($)||!$)Ne={next:$??void 0,error:se??void 0,complete:Ce??void 0};else{let Ae;this&&U.v.useDeprecatedNextContext?(Ae=Object.create($),Ae.unsubscribe=()=>this.unsubscribe(),Ne={next:$.next&&Y($.next,Ae),error:$.error&&Y($.error,Ae),complete:$.complete&&Y($.complete,Ae)}):Ne=$}this.destination=new ne(Ne)}}function J(me){U.v.useDeprecatedSynchronousErrorHandling?(0,L.O)(me):(0,O.h)(me)}function Ee(me,$){const{onStoppedNotification:se}=U.v;se&&I.z.setTimeout(()=>se(me,$))}const ze={closed:!0,next:N.Z,error:function G(me){throw me},complete:N.Z}},7714:(Me,z,g)=>{g.d(z,{Lc:()=>k,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((R,ee)=>`${ee+1}) ${R.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 Y of L)Y.remove(this);else L.remove(this);const{initialTeardown:R}=this;if((0,m.m)(R))try{R()}catch(Y){I=Y instanceof U?Y.errors:[Y]}const{_finalizers:ee}=this;if(ee){this._finalizers=null;for(const Y of ee)try{P(Y)}catch(ne){I=I??[],ne instanceof U?I=[...I,...ne.errors]:I.push(ne)}}if(I)throw new U(I)}}add(I){var L;if(I&&I!==this)if(this.closed)P(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 k=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 P(F){(0,m.m)(F)?F():F.unsubscribe()}},9057:(Me,z,g)=>{g.d(z,{v:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3932:(Me,z,g)=>{g.d(z,{c:()=>k});var m=g(833),c=g(7714),U=g(6074),O=g(3945),N=g(1944);class k extends m.y{constructor(P,F){super(),this.source=P,this.subjectFactory=F,this._subject=null,this._refCount=0,this._connection=null,(0,N.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new c.w0;const F=this.getSubject();P.add(this.source.subscribe((0,O.x)(F,void 0,()=>{this._teardown(),F.complete()},I=>{this._teardown(),F.error(I)},()=>this._teardown()))),P.closed&&(this._connection=null,P=c.w0.EMPTY)}return P}refCount(){return(0,U.x)()(this)}}},6562:(Me,z,g)=>{g.d(z,{a:()=>I});var m=g(833),c=g(5756),U=g(3609),O=g(9173),N=g(8385),k=g(420),V=g(1054),P=g(3945),F=g(1817);function I(...ee){const Y=(0,k.yG)(ee),ne=(0,k.jO)(ee),{args:H,keys:J}=(0,c.D)(ee);if(0===H.length)return(0,U.D)([],Y);const G=new m.y(function L(ee,Y,ne=O.y){return H=>{R(Y,()=>{const{length:J}=ee,G=new Array(J);let Ee=J,ze=J;for(let me=0;me<J;me++)R(Y,()=>{const $=(0,U.D)(ee[me],Y);let se=!1;$.subscribe((0,P.x)(H,Ce=>{G[me]=Ce,se||(se=!0,ze--),ze||H.next(ne(G.slice()))},()=>{--Ee||H.complete()}))},H)},H)}}(H,Y,J?Ee=>(0,V.n)(J,Ee):O.y));return ne?G.pipe((0,N.Z)(ne)):G}function R(ee,Y,ne){ee?(0,F.f)(ne,ee,Y):Y()}},9319:(Me,z,g)=>{g.d(z,{z:()=>N});var m=g(1308),U=g(420),O=g(3609);function N(...k){return function c(){return(0,m.J)(1)}()((0,O.D)(k,(0,U.yG)(k)))}},591:(Me,z,g)=>{g.d(z,{E:()=>c});const c=new(g(833).y)(N=>N.complete())},3609:(Me,z,g)=>{g.d(z,{D:()=>$});var m=g(4987),c=g(8728),U=g(4317),k=g(833),P=g(7321),F=g(2971),I=g(1817);function R(se,Ce){if(!se)throw new Error("Iterable cannot be null");return new k.y(Ne=>{(0,I.f)(Ne,Ce,()=>{const Ae=se[Symbol.asyncIterator]();(0,I.f)(Ne,Ce,()=>{Ae.next().then(xe=>{xe.done?Ne.complete():Ne.next(xe.value)})},0,!0)})})}var ee=g(1331),Y=g(9548),ne=g(9806),H=g(3433),J=g(470),G=g(7785),Ee=g(181);function $(se,Ce){return Ce?function me(se,Ce){if(null!=se){if((0,ee.c)(se))return function O(se,Ce){return(0,m.Xf)(se).pipe((0,U.R)(Ce),(0,c.Q)(Ce))}(se,Ce);if((0,ne.z)(se))return function V(se,Ce){return new k.y(Ne=>{let Ae=0;return Ce.schedule(function(){Ae===se.length?Ne.complete():(Ne.next(se[Ae++]),Ne.closed||this.schedule())})})}(se,Ce);if((0,Y.t)(se))return function N(se,Ce){return(0,m.Xf)(se).pipe((0,U.R)(Ce),(0,c.Q)(Ce))}(se,Ce);if((0,J.D)(se))return R(se,Ce);if((0,H.T)(se))return function L(se,Ce){return new k.y(Ne=>{let Ae;return(0,I.f)(Ne,Ce,()=>{Ae=se[P.h](),(0,I.f)(Ne,Ce,()=>{let xe,ae;try{({value:xe,done:ae}=Ae.next())}catch(ce){return void Ne.error(ce)}ae?Ne.complete():Ne.next(xe)},0,!0)}),()=>(0,F.m)(Ae?.return)&&Ae.return()})}(se,Ce);if((0,Ee.L)(se))return function ze(se,Ce){return R((0,Ee.Q)(se),Ce)}(se,Ce)}throw(0,G.z)(se)}(se,Ce):(0,m.Xf)(se)}},3280:(Me,z,g)=>{g.d(z,{R:()=>I});var m=g(4987),c=g(833),U=g(9525),O=g(9806),N=g(2971),k=g(8385);const V=["addListener","removeListener"],P=["addEventListener","removeEventListener"],F=["on","off"];function I(ne,H,J,G){if((0,N.m)(J)&&(G=J,J=void 0),G)return I(ne,H,J).pipe((0,k.Z)(G));const[Ee,ze]=function Y(ne){return(0,N.m)(ne.addEventListener)&&(0,N.m)(ne.removeEventListener)}(ne)?P.map(me=>$=>ne[me](H,$,J)):function R(ne){return(0,N.m)(ne.addListener)&&(0,N.m)(ne.removeListener)}(ne)?V.map(L(ne,H)):function ee(ne){return(0,N.m)(ne.on)&&(0,N.m)(ne.off)}(ne)?F.map(L(ne,H)):[];if(!Ee&&(0,O.z)(ne))return(0,U.z)(me=>I(me,H,J))((0,m.Xf)(ne));if(!Ee)throw new TypeError("Invalid event target");return new c.y(me=>{const $=(...se)=>me.next(1<se.length?se:se[0]);return Ee($),()=>ze($)})}function L(ne,H){return J=>G=>ne[J](H,G)}},4987:(Me,z,g)=>{g.d(z,{Xf:()=>ee});var m=g(4929),c=g(9806),U=g(9548),O=g(833),N=g(1331),k=g(470),V=g(7785),P=g(3433),F=g(181),I=g(2971),L=g(4709),R=g(4585);function ee(me){if(me instanceof O.y)return me;if(null!=me){if((0,N.c)(me))return function Y(me){return new O.y($=>{const se=me[R.L]();if((0,I.m)(se.subscribe))return se.subscribe($);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(me);if((0,c.z)(me))return function ne(me){return new O.y($=>{for(let se=0;se<me.length&&!$.closed;se++)$.next(me[se]);$.complete()})}(me);if((0,U.t)(me))return function H(me){return new O.y($=>{me.then(se=>{$.closed||($.next(se),$.complete())},se=>$.error(se)).then(null,L.h)})}(me);if((0,k.D)(me))return G(me);if((0,P.T)(me))return function J(me){return new O.y($=>{for(const se of me)if($.next(se),$.closed)return;$.complete()})}(me);if((0,F.L)(me))return function Ee(me){return G((0,F.Q)(me))}(me)}throw(0,V.z)(me)}function G(me){return new O.y($=>{(function ze(me,$){var se,Ce,Ne,Ae;return(0,m.mG)(this,void 0,void 0,function*(){try{for(se=(0,m.KL)(me);!(Ce=yield se.next()).done;)if($.next(Ce.value),$.closed)return}catch(xe){Ne={error:xe}}finally{try{Ce&&!Ce.done&&(Ae=se.return)&&(yield Ae.call(se))}finally{if(Ne)throw Ne.error}}$.complete()})})(me,$).catch(se=>$.error(se))})}},6646:(Me,z,g)=>{g.d(z,{T:()=>k});var m=g(1308),c=g(4987),U=g(591),O=g(420),N=g(3609);function k(...V){const P=(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,P)):U.E}},745:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{_:()=>U});var m=g(833),c=g(2971);function U(O,N){const k=(0,c.m)(O)?O:()=>O,V=P=>P.error(k());return new m.y(N?P=>N.schedule(V,0,P):V)}},5524:(Me,z,g)=>{g.d(z,{H:()=>N});var m=g(833),c=g(6936),U=g(9867);function N(k=0,V,P=c.P){let F=-1;return null!=V&&((0,U.K)(V)?P=V:F=V),new m.y(I=>{let L=function O(k){return k instanceof Date&&!isNaN(k)}(k)?+k-P.now():k;L<0&&(L=0);let R=0;return P.schedule(function(){I.closed||(I.next(R++),0<=F?this.schedule(void 0,F):I.complete())},L)})}},3945:(Me,z,g)=>{g.d(z,{x:()=>c});var m=g(5463);function c(O,N,k,V,P){return new U(O,N,k,V,P)}class U extends m.Lv{constructor(N,k,V,P,F,I){super(N),this.onFinalize=F,this.shouldUnsubscribe=I,this._next=k?function(L){try{k(L)}catch(R){N.error(R)}}:super._next,this._error=P?function(L){try{P(L)}catch(R){N.error(R)}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:k}=this;super.unsubscribe(),!k&&(null===(N=this.onFinalize)||void 0===N||N.call(this))}}}},9211:(Me,z,g)=>{g.d(z,{e:()=>V});var m=g(6936),c=g(1944),U=g(4987),O=g(3945),k=g(5524);function V(P,F=m.z){return function N(P){return(0,c.e)((F,I)=>{let L=!1,R=null,ee=null,Y=!1;const ne=()=>{if(ee?.unsubscribe(),ee=null,L){L=!1;const J=R;R=null,I.next(J)}Y&&I.complete()},H=()=>{ee=null,Y&&I.complete()};F.subscribe((0,O.x)(I,J=>{L=!0,R=J,ee||(0,U.Xf)(P(J)).subscribe(ee=(0,O.x)(I,ne,H))},()=>{Y=!0,(!L||!ee||ee.closed)&&I.complete()}))})}(()=>(0,k.H)(P,F))}},3158:(Me,z,g)=>{g.d(z,{K:()=>O});var m=g(4987),c=g(3945),U=g(1944);function O(N){return(0,U.e)((k,V)=>{let I,P=null,F=!1;P=k.subscribe((0,c.x)(V,void 0,void 0,L=>{I=(0,m.Xf)(N(L,O(N)(k))),P?(P.unsubscribe(),P=null,I.subscribe(V)):F=!0})),F&&(P.unsubscribe(),P=null,I.subscribe(V))})}},3853:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{$:()=>V});var m=g(253),c=g(4987),U=g(1944),O=g(833);const k={connector:()=>new m.x};function V(P,F=k){const{connector:I}=F;return(0,U.e)((L,R)=>{const ee=I();(0,c.Xf)(P(function N(P){return new O.y(F=>P.subscribe(F))}(ee))).subscribe(R),R.add(L.subscribe(ee))})}},1989:(Me,z,g)=>{g.d(z,{b:()=>O});var m=g(6936),c=g(1944),U=g(3945);function O(N,k=m.z){return(0,c.e)((V,P)=>{let F=null,I=null,L=null;const R=()=>{if(F){F.unsubscribe(),F=null;const Y=I;I=null,P.next(Y)}};function ee(){const Y=L+N,ne=k.now();if(ne<Y)return F=this.schedule(void 0,Y-ne),void P.add(F);R()}V.subscribe((0,U.x)(P,Y=>{I=Y,L=k.now(),F||(F=k.schedule(ee,N),P.add(F))},()=>{R(),P.complete()},void 0,()=>{I=F=null}))})}},4744:(Me,z,g)=>{g.d(z,{d:()=>U});var m=g(1944),c=g(3945);function U(O){return(0,m.e)((N,k)=>{let V=!1;N.subscribe((0,c.x)(k,P=>{V=!0,k.next(P)},()=>{V||k.next(O),k.complete()}))})}},8977:(Me,z,g)=>{g.d(z,{x:()=>O});var m=g(9173),c=g(1944),U=g(3945);function O(k,V=m.y){return k=k??N,(0,c.e)((P,F)=>{let I,L=!0;P.subscribe((0,U.x)(F,R=>{const ee=V(R);(L||!k(I,ee))&&(L=!1,I=ee,F.next(R))}))})}function N(k,V){return k===V}},116:(Me,z,g)=>{g.d(z,{h:()=>U});var m=g(1944),c=g(3945);function U(O,N){return(0,m.e)((k,V)=>{let P=0;k.subscribe((0,c.x)(V,F=>O.call(N,F,P++)&&V.next(F)))})}},2313:(Me,z,g)=>{g.d(z,{x:()=>c});var m=g(1944);function c(U){return(0,m.e)((O,N)=>{try{O.subscribe(N)}finally{N.add(U)}})}},155:(Me,z,g)=>{g.d(z,{P:()=>V});var m=g(4423),c=g(116),U=g(9295),O=g(4744),N=g(7354),k=g(9173);function V(P,F){const I=arguments.length>=2;return L=>L.pipe(P?(0,c.h)((R,ee)=>P(R,ee,L)):k.y,(0,U.q)(1),I?(0,O.d)(F):(0,N.T)(()=>new m.K))}},635:(Me,z,g)=>{g.d(z,{U:()=>U});var m=g(1944),c=g(3945);function U(O,N){return(0,m.e)((k,V)=>{let P=0;k.subscribe((0,c.x)(V,F=>{V.next(O.call(N,F,P++))}))})}},1308:(Me,z,g)=>{g.d(z,{J:()=>U});var m=g(9525),c=g(9173);function U(O=1/0){return(0,m.z)(c.y,O)}},9525:(Me,z,g)=>{g.d(z,{z:()=>P});var m=g(635),c=g(4987),U=g(1944),O=g(1817),N=g(3945),V=g(2971);function P(F,I,L=1/0){return(0,V.m)(I)?P((R,ee)=>(0,m.U)((Y,ne)=>I(R,Y,ee,ne))((0,c.Xf)(F(R,ee))),L):("number"==typeof I&&(L=I),(0,U.e)((R,ee)=>function k(F,I,L,R,ee,Y,ne,H){const J=[];let G=0,Ee=0,ze=!1;const me=()=>{ze&&!J.length&&!G&&I.complete()},$=Ce=>G<R?se(Ce):J.push(Ce),se=Ce=>{Y&&I.next(Ce),G++;let Ne=!1;(0,c.Xf)(L(Ce,Ee++)).subscribe((0,N.x)(I,Ae=>{ee?.(Ae),Y?$(Ae):I.next(Ae)},()=>{Ne=!0},void 0,()=>{if(Ne)try{for(G--;J.length&&G<R;){const Ae=J.shift();ne?(0,O.f)(I,ne,()=>se(Ae)):se(Ae)}me()}catch(Ae){I.error(Ae)}}))};return F.subscribe((0,N.x)(I,$,()=>{ze=!0,me()})),()=>{H?.()}}(R,ee,F,L)))}},8532:(Me,z,g)=>{g.d(z,{O:()=>O});var m=g(3932),c=g(2971),U=g(1381);function O(N,k){const V=(0,c.m)(N)?N:()=>N;return(0,c.m)(k)?(0,U.$)(k,{connector:V}):P=>new m.c(P,V)}},8728:(Me,z,g)=>{g.d(z,{Q:()=>O});var m=g(1817),c=g(1944),U=g(3945);function O(N,k=0){return(0,c.e)((V,P)=>{V.subscribe((0,U.x)(P,F=>(0,m.f)(P,N,()=>P.next(F),k),()=>(0,m.f)(P,N,()=>P.complete(),k),F=>(0,m.f)(P,N,()=>P.error(F),k)))})}},4:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{_:()=>O});var m=g(6067),c=g(8532),U=g(2971);function O(N,k,V,P){V&&!(0,U.m)(V)&&(P=V);const F=(0,U.m)(V)?V:void 0;return I=>(0,c.O)(new m.t(N,k,P),F)(I)}},6074:(Me,z,g)=>{g.d(z,{x:()=>U});var m=g(1944),c=g(3945);function U(){return(0,m.e)((O,N)=>{let k=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(k=null);const P=O._connection,F=k;k=null,P&&(!F||P===F)&&P.unsubscribe(),N.unsubscribe()});O.subscribe(V),V.closed||(k=O.connect())})}},1203:(Me,z,g)=>{g.d(z,{B:()=>N});var m=g(4987),c=g(253),U=g(5463),O=g(1944);function N(V={}){const{connector:P=(()=>new c.x),resetOnError:F=!0,resetOnComplete:I=!0,resetOnRefCountZero:L=!0}=V;return R=>{let ee,Y,ne,H=0,J=!1,G=!1;const Ee=()=>{Y?.unsubscribe(),Y=void 0},ze=()=>{Ee(),ee=ne=void 0,J=G=!1},me=()=>{const $=ee;ze(),$?.unsubscribe()};return(0,O.e)(($,se)=>{H++,!G&&!J&&Ee();const Ce=ne=ne??P();se.add(()=>{H--,0===H&&!G&&!J&&(Y=k(me,L))}),Ce.subscribe(se),!ee&&H>0&&(ee=new U.Hp({next:Ne=>Ce.next(Ne),error:Ne=>{G=!0,Ee(),Y=k(ze,F,Ne),Ce.error(Ne)},complete:()=>{J=!0,Ee(),Y=k(ze,I),Ce.complete()}}),(0,m.Xf)($).subscribe(ee))})(R)}}function k(V,P,...F){if(!0===P)return void V();if(!1===P)return;const I=new U.Hp({next:()=>{I.unsubscribe(),V()}});return P(...F).subscribe(I)}},7260:(Me,z,g)=>{g.d(z,{T:()=>c});var m=g(116);function c(U){return(0,m.h)((O,N)=>U<=N)}},4874:(Me,z,g)=>{g.d(z,{O:()=>O});var m=g(9319),c=g(420),U=g(1944);function O(...N){const k=(0,c.yG)(N);return(0,U.e)((V,P)=>{(k?(0,m.z)(N,V,k):(0,m.z)(N,V)).subscribe(P)})}},4317:(Me,z,g)=>{g.d(z,{R:()=>c});var m=g(1944);function c(U,O=0){return(0,m.e)((N,k)=>{k.add(U.schedule(()=>N.subscribe(k),O))})}},2673:(Me,z,g)=>{g.d(z,{w:()=>O});var m=g(4987),c=g(1944),U=g(3945);function O(N,k){return(0,c.e)((V,P)=>{let F=null,I=0,L=!1;const R=()=>L&&!F&&P.complete();V.subscribe((0,U.x)(P,ee=>{F?.unsubscribe();let Y=0;const ne=I++;(0,m.Xf)(N(ee,ne)).subscribe(F=(0,U.x)(P,H=>P.next(k?k(ee,H,ne,Y++):H),()=>{F=null,R()}))},()=>{L=!0,R()}))})}},9295:(Me,z,g)=>{g.d(z,{q:()=>O});var m=g(591),c=g(1944),U=g(3945);function O(N){return N<=0?()=>m.E:(0,c.e)((k,V)=>{let P=0;k.subscribe((0,U.x)(V,F=>{++P<=N&&(V.next(F),N<=P&&V.complete())}))})}},8951:(Me,z,g)=>{g.d(z,{R:()=>N});var m=g(1944),c=g(3945),U=g(4987),O=g(9635);function N(k){return(0,m.e)((V,P)=>{(0,U.Xf)(k).subscribe((0,c.x)(P,()=>P.complete(),O.Z)),!P.closed&&V.subscribe(P)})}},9337:(Me,z,g)=>{g.d(z,{b:()=>N});var m=g(2971),c=g(1944),U=g(3945),O=g(9173);function N(k,V,P){const F=(0,m.m)(k)||V||P?{next:k,error:V,complete:P}:k;return F?(0,c.e)((I,L)=>{var R;null===(R=F.subscribe)||void 0===R||R.call(F);let ee=!0;I.subscribe((0,U.x)(L,Y=>{var ne;null===(ne=F.next)||void 0===ne||ne.call(F,Y),L.next(Y)},()=>{var Y;ee=!1,null===(Y=F.complete)||void 0===Y||Y.call(F),L.complete()},Y=>{var ne;ee=!1,null===(ne=F.error)||void 0===ne||ne.call(F,Y),L.error(Y)},()=>{var Y,ne;ee&&(null===(Y=F.unsubscribe)||void 0===Y||Y.call(F)),null===(ne=F.finalize)||void 0===ne||ne.call(F)}))}):O.y}},7354:(Me,z,g)=>{g.d(z,{T:()=>O});var m=g(4423),c=g(1944),U=g(3945);function O(k=N){return(0,c.e)((V,P)=>{let F=!1;V.subscribe((0,U.x)(P,I=>{F=!0,P.next(I)},()=>F?P.complete():P.error(k())))})}function N(){return new m.K}},5417:(Me,z,g)=>{g.d(z,{o:()=>N});var m=g(7714);class c extends m.w0{constructor(V,P){super()}schedule(V,P=0){return this}}const U={setInterval(k,V,...P){const{delegate:F}=U;return F?.setInterval?F.setInterval(k,V,...P):setInterval(k,V,...P)},clearInterval(k){const{delegate:V}=U;return(V?.clearInterval||clearInterval)(k)},delegate:void 0};var O=g(9663);class N extends c{constructor(V,P){super(V,P),this.scheduler=V,this.work=P,this.pending=!1}schedule(V,P=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,P)),this.pending=!0,this.delay=P,this.id=null!==(F=this.id)&&void 0!==F?F:this.requestAsyncId(L,this.id,P),this}requestAsyncId(V,P,F=0){return U.setInterval(V.flush.bind(V,this),F)}recycleAsyncId(V,P,F=0){if(null!=F&&this.delay===F&&!1===this.pending)return P;null!=P&&U.clearInterval(P)}execute(V,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const F=this._execute(V,P);if(F)return F;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,P){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:P}=this,{actions:F}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(F,this),null!=V&&(this.id=this.recycleAsyncId(P,V,null)),this.delay=null,super.unsubscribe()}}}},1010:(Me,z,g)=>{g.d(z,{v:()=>U});var m=g(7654);class c{constructor(N,k=c.now){this.schedulerActionCtor=N,this.now=k}schedule(N,k=0,V){return new this.schedulerActionCtor(this,N).schedule(V,k)}}c.now=m.l.now;class U extends c{constructor(N,k=c.now){super(N,k),this.actions=[],this._active=!1}flush(N){const{actions:k}=this;if(this._active)return void k.push(N);let V;this._active=!0;do{if(V=N.execute(N.state,N.delay))break}while(N=k.shift());if(this._active=!1,V){for(;N=k.shift();)N.unsubscribe();throw V}}}},3888:(Me,z,g)=>{g.d(z,{E:()=>Y});var m=g(5417);let U,c=1;const O={};function N(H){return H in O&&(delete O[H],!0)}const k={setImmediate(H){const J=c++;return O[J]=!0,U||(U=Promise.resolve()),U.then(()=>N(J)&&H()),J},clearImmediate(H){N(H)}},{setImmediate:P,clearImmediate:F}=k,I={setImmediate(...H){const{delegate:J}=I;return(J?.setImmediate||P)(...H)},clearImmediate(H){const{delegate:J}=I;return(J?.clearImmediate||F)(H)},delegate:void 0};var R=g(1010);const Y=new class ee extends R.v{flush(J){this._active=!0;const G=this._scheduled;this._scheduled=void 0;const{actions:Ee}=this;let ze;J=J||Ee.shift();do{if(ze=J.execute(J.state,J.delay))break}while((J=Ee[0])&&J.id===G&&Ee.shift());if(this._active=!1,ze){for(;(J=Ee[0])&&J.id===G&&Ee.shift();)J.unsubscribe();throw ze}}}(class L extends m.o{constructor(J,G){super(J,G),this.scheduler=J,this.work=G}requestAsyncId(J,G,Ee=0){return null!==Ee&&Ee>0?super.requestAsyncId(J,G,Ee):(J.actions.push(this),J._scheduled||(J._scheduled=I.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,G,Ee=0){var ze;if(null!=Ee?Ee>0:this.delay>0)return super.recycleAsyncId(J,G,Ee);const{actions:me}=J;null!=G&&(null===(ze=me[me.length-1])||void 0===ze?void 0:ze.id)!==G&&(I.clearImmediate(G),J._scheduled=void 0)}})},6936:(Me,z,g)=>{g.d(z,{P:()=>O,z:()=>U});var m=g(5417);const U=new(g(1010).v)(m.o),O=U},7654:(Me,z,g)=>{g.d(z,{l:()=>m});const m={now:()=>(m.delegate||Date).now(),delegate:void 0}},3542:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{h:()=>c});const c=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4585:(Me,z,g)=>{g.d(z,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},4423:(Me,z,g)=>{g.d(z,{K:()=>c});const c=(0,g(7543).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},420:(Me,z,g)=>{g.d(z,{_6:()=>k,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 k(V,P){return"number"==typeof U(V)?V.pop():P}},5756:(Me,z,g)=>{g.d(z,{D:()=>N});const{isArray:m}=Array,{getPrototypeOf:c,prototype:U,keys:O}=Object;function N(V){if(1===V.length){const P=V[0];if(m(P))return{args:P,keys:null};if(function k(V){return V&&"object"==typeof V&&c(V)===U}(P)){const F=O(P);return{args:F.map(I=>P[I]),keys:F}}}return{args:V,keys:null}}},9663:(Me,z,g)=>{function m(c,U){if(c){const O=c.indexOf(U);0<=O&&c.splice(O,1)}}g.d(z,{P:()=>m})},7543:(Me,z,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(z,{d:()=>m})},1054:(Me,z,g)=>{function m(c,U){return c.reduce((O,N,k)=>(O[N]=U[k],O),{})}g.d(z,{n:()=>m})},2309:(Me,z,g)=>{g.d(z,{O:()=>O,x:()=>U});var m=g(9057);let c=null;function U(N){if(m.v.useDeprecatedSynchronousErrorHandling){const k=!c;if(k&&(c={errorThrown:!1,error:null}),N(),k){const{errorThrown:V,error:P}=c;if(c=null,V)throw P}}else N()}function O(N){m.v.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=N)}},1817:(Me,z,g)=>{function m(c,U,O,N=0,k=!1){const V=U.schedule(function(){O(),k?c.add(this.schedule(null,N)):this.unsubscribe()},N);if(c.add(V),!k)return V}g.d(z,{f:()=>m})},9173:(Me,z,g)=>{function m(c){return c}g.d(z,{y:()=>m})},9806:(Me,z,g)=>{g.d(z,{z:()=>m});const m=c=>c&&"number"==typeof c.length&&"function"!=typeof c},470:(Me,z,g)=>{g.d(z,{D:()=>c});var m=g(2971);function c(U){return Symbol.asyncIterator&&(0,m.m)(U?.[Symbol.asyncIterator])}},2971:(Me,z,g)=>{function m(c){return"function"==typeof c}g.d(z,{m:()=>m})},1331:(Me,z,g)=>{g.d(z,{c:()=>U});var m=g(4585),c=g(2971);function U(O){return(0,c.m)(O[m.L])}},3433:(Me,z,g)=>{g.d(z,{T:()=>U});var m=g(7321),c=g(2971);function U(O){return(0,c.m)(O?.[m.h])}},9548:(Me,z,g)=>{g.d(z,{t:()=>c});var m=g(2971);function c(U){return(0,m.m)(U?.then)}},181:(Me,z,g)=>{g.d(z,{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:P,done:F}=yield(0,m.qq)(V.read());if(F)return yield(0,m.qq)(void 0);yield yield(0,m.qq)(P)}}finally{V.releaseLock()}})}function O(N){return(0,c.m)(N?.getReader)}},9867:(Me,z,g)=>{g.d(z,{K:()=>c});var m=g(2971);function c(U){return U&&(0,m.m)(U.schedule)}},1944:(Me,z,g)=>{g.d(z,{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(k){try{return O(k,this)}catch(V){this.error(V)}});throw new TypeError("Unable to lift unknown Observable type")}}},8385:(Me,z,g)=>{g.d(z,{Z:()=>O});var m=g(635);const{isArray:c}=Array;function O(N){return(0,m.U)(k=>function U(N,k){return c(k)?N(...k):N(k)}(N,k))}},9635:(Me,z,g)=>{function m(){}g.d(z,{Z:()=>m})},629:(Me,z,g)=>{g.d(z,{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(k){return O.reduce((V,P)=>P(V),k)}}},4709:(Me,z,g)=>{g.d(z,{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:(Me,z,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(z,{z:()=>m})},4929:(Me,z,g)=>{function P(ae,ce,ye,he){return new(ye||(ye=Promise))(function(Le,ut){function xt(nt){try{Xe(he.next(nt))}catch(bn){ut(bn)}}function sn(nt){try{Xe(he.throw(nt))}catch(bn){ut(bn)}}function Xe(nt){nt.done?Le(nt.value):function je(Le){return Le instanceof ye?Le:new ye(function(ut){ut(Le)})}(nt.value).then(xt,sn)}Xe((he=he.apply(ae,ce||[])).next())})}function J(ae){return this instanceof J?(this.v=ae,this):new J(ae)}function G(ae,ce,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var je,he=ye.apply(ae,ce||[]),Le=[];return je={},ut("next"),ut("throw"),ut("return"),je[Symbol.asyncIterator]=function(){return this},je;function ut(jt){he[jt]&&(je[jt]=function(pn){return new Promise(function(St,Jt){Le.push([jt,pn,St,Jt])>1||xt(jt,pn)})})}function xt(jt,pn){try{!function sn(jt){jt.value instanceof J?Promise.resolve(jt.value.v).then(Xe,nt):bn(Le[0][2],jt)}(he[jt](pn))}catch(St){bn(Le[0][3],St)}}function Xe(jt){xt("next",jt)}function nt(jt){xt("throw",jt)}function bn(jt,pn){jt(pn),Le.shift(),Le.length&&xt(Le[0][0],Le[0][1])}}function ze(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,ce=ae[Symbol.asyncIterator];return ce?ce.call(ae):(ae=function R(ae){var ce="function"==typeof Symbol&&Symbol.iterator,ye=ce&&ae[ce],he=0;if(ye)return ye.call(ae);if(ae&&"number"==typeof ae.length)return{next:function(){return ae&&he>=ae.length&&(ae=void 0),{value:ae&&ae[he++],done:!ae}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ae),ye={},he("next"),he("throw"),he("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function he(Le){ye[Le]=ae[Le]&&function(ut){return new Promise(function(xt,sn){!function je(Le,ut,xt,sn){Promise.resolve(sn).then(function(Xe){Le({value:Xe,done:xt})},ut)}(xt,sn,(ut=ae[Le](ut)).done,ut.value)})}}}g.d(z,{FC:()=>G,KL:()=>ze,mG:()=>P,qq:()=>J})},4851:(Me,z,g)=>{g.d(z,{LC:()=>c,SB:()=>F,X$:()=>O,ZE:()=>Ee,ZN:()=>G,_j:()=>m,eR:()=>L,jt:()=>N,k1:()=>ze,l3:()=>U,oB:()=>P,vP:()=>V});class m{}class c{}const U="*";function O(me,$){return{type:7,name:me,definitions:$,options:{}}}function N(me,$=null){return{type:4,styles:$,timings:me}}function V(me,$=null){return{type:2,steps:me,options:$}}function P(me){return{type:6,styles:me,offset:null}}function F(me,$,se){return{type:0,name:me,styles:$,options:se}}function L(me,$,se=null){return{type:1,expr:me,animation:$,options:se}}function J(me){Promise.resolve().then(me)}class G{constructor($=0,se=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=$+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){J(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const se="start"==$?this._onStartFns:this._onDoneFns;se.forEach(Ce=>Ce()),se.length=0}}class Ee{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let se=0,Ce=0,Ne=0;const Ae=this.players.length;0==Ae?J(()=>this._onFinish()):this.players.forEach(xe=>{xe.onDone(()=>{++se==Ae&&this._onFinish()}),xe.onDestroy(()=>{++Ce==Ae&&this._onDestroy()}),xe.onStart(()=>{++Ne==Ae&&this._onStart()})}),this.totalTime=this.players.reduce((xe,ae)=>Math.max(xe,ae.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const se=$*this.totalTime;this.players.forEach(Ce=>{const Ne=Ce.totalTime?Math.min(1,se/Ce.totalTime):1;Ce.setPosition(Ne)})}getPosition(){const $=this.players.reduce((se,Ce)=>null===se||Ce.totalTime>se.totalTime?Ce:se,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const se="start"==$?this._onStartFns:this._onDoneFns;se.forEach(Ce=>Ce()),se.length=0}}const ze="!"},4218:(Me,z,g)=>{g.d(z,{Em:()=>Le,Kd:()=>kn,X6:()=>cn,ic:()=>xt,kH:()=>Q,qV:()=>ke,qm:()=>gt,rt:()=>hn,tE:()=>Be,yG:()=>gn});var m=g(4666),c=g(2560),U=g(9107),O=g(253),N=g(7714),k=g(6317),V=g(745),P=g(8456),F=g(9337),I=g(1989),L=g(116),R=g(635),ee=g(9295),Y=g(7260),ne=g(8977),H=g(8951),J=g(8971),G=g(3773),Ee=g(3278);class he{constructor(x){this._items=x,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,x instanceof c.n_E&&x.changes.subscribe(C=>{if(this._activeItem){const K=C.toArray().indexOf(this._activeItem);K>-1&&K!==this._activeItemIndex&&(this._activeItemIndex=K)}})}skipPredicate(x){return this._skipPredicateFn=x,this}withWrap(x=!0){return this._wrap=x,this}withVerticalOrientation(x=!0){return this._vertical=x,this}withHorizontalOrientation(x){return this._horizontal=x,this}withAllowedModifierKeys(x){return this._allowedModifierKeys=x,this}withTypeAhead(x=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,F.b)(C=>this._pressedLetters.push(C)),(0,I.b)(x),(0,L.h)(()=>this._pressedLetters.length>0),(0,R.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const T=this._getItemsArray();for(let K=1;K<T.length+1;K++){const ue=(this._activeItemIndex+K)%T.length,$e=T[ue];if(!this._skipPredicateFn($e)&&0===$e.getLabel().toUpperCase().trim().indexOf(C)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}withHomeAndEnd(x=!0){return this._homeAndEnd=x,this}setActiveItem(x){const C=this._activeItem;this.updateActiveItem(x),this._activeItem!==C&&this.change.next(this._activeItemIndex)}onKeydown(x){const C=x.keyCode,K=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!x[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(C){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&K){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&K){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&K){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&K){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&K){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&K){this.setLastItemActive();break}return;default:return void((K||(0,P.Vb)(x,"shiftKey"))&&(x.key&&1===x.key.length?this._letterKeyStream.next(x.key.toLocaleUpperCase()):(C>=P.A&&C<=P.Z||C>=P.xE&&C<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],x.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(x){const C=this._getItemsArray(),T="number"==typeof x?x:C.indexOf(x);this._activeItem=C[T]??null,this._activeItemIndex=T}_setActiveItemByDelta(x){this._wrap?this._setActiveInWrapMode(x):this._setActiveInDefaultMode(x)}_setActiveInWrapMode(x){const C=this._getItemsArray();for(let T=1;T<=C.length;T++){const K=(this._activeItemIndex+x*T+C.length)%C.length;if(!this._skipPredicateFn(C[K]))return void this.setActiveItem(K)}}_setActiveInDefaultMode(x){this._setActiveItemByIndex(this._activeItemIndex+x,x)}_setActiveItemByIndex(x,C){const T=this._getItemsArray();if(T[x]){for(;this._skipPredicateFn(T[x]);)if(!T[x+=C])return;this.setActiveItem(x)}}_getItemsArray(){return this._items instanceof c.n_E?this._items.toArray():this._items}}class Le extends he{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(x){return this._origin=x,this}setActiveItem(x){super.setActiveItem(x),this.activeItem&&this.activeItem.focus(this._origin)}}let xt=(()=>{class ge{constructor(C){this._platform=C}isDisabled(C){return C.hasAttribute("disabled")}isVisible(C){return function Xe(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 sn(ge){try{return ge.frameElement}catch{return null}}(function Te(ge){return ge.ownerDocument&&ge.ownerDocument.defaultView||window}(C));if(T&&(-1===Ke(T)||!this.isVisible(T)))return!1;let K=C.nodeName.toLowerCase(),ue=Ke(C);return C.hasAttribute("contenteditable")?-1!==ue:!("iframe"===K||"object"===K||this._platform.WEBKIT&&this._platform.IOS&&!function Fe(ge){let x=ge.nodeName.toLowerCase(),C="input"===x&&ge.type;return"text"===C||"password"===C||"select"===x||"textarea"===x}(C))&&("audio"===K?!!C.hasAttribute("controls")&&-1!==ue:"video"===K?-1!==ue&&(null!==ue||this._platform.FIREFOX||C.hasAttribute("controls")):C.tabIndex>=0)}isFocusable(C,T){return function te(ge){return!function bn(ge){return function pn(ge){return"input"==ge.nodeName.toLowerCase()}(ge)&&"hidden"==ge.type}(ge)&&(function nt(ge){let x=ge.nodeName.toLowerCase();return"input"===x||"select"===x||"button"===x||"textarea"===x}(ge)||function jt(ge){return function St(ge){return"a"==ge.nodeName.toLowerCase()}(ge)&&ge.hasAttribute("href")}(ge)||ge.hasAttribute("contenteditable")||Jt(ge))}(C)&&!this.isDisabled(C)&&(T?.ignoreVisibility||this.isVisible(C))}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(U.t4))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function Jt(ge){if(!ge.hasAttribute("tabindex")||void 0===ge.tabIndex)return!1;let x=ge.getAttribute("tabindex");return!(!x||isNaN(parseInt(x,10)))}function Ke(ge){if(!Jt(ge))return null;const x=parseInt(ge.getAttribute("tabindex")||"",10);return isNaN(x)?-1:x}class be{constructor(x,C,T,K,ue=!1){this._element=x,this._checker=C,this._ngZone=T,this._document=K,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}get enabled(){return this._enabled}set enabled(x){this._enabled=x,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}destroy(){const x=this._startAnchor,C=this._endAnchor;x&&(x.removeEventListener("focus",this.startAnchorListener),x.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(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusInitialElement(x)))})}focusFirstTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusFirstTabbableElement(x)))})}focusLastTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusLastTabbableElement(x)))})}_getRegionBoundary(x){const C=this._element.querySelectorAll(`[cdk-focus-region-${x}], [cdkFocusRegion${x}], [cdk-focus-${x}]`);return"start"==x?C.length?C[0]:this._getFirstTabbableElement(this._element):C.length?C[C.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(x){const C=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(C){if(!this._checker.isFocusable(C)){const T=this._getFirstTabbableElement(C);return T?.focus(x),!!T}return C.focus(x),!0}return this.focusFirstTabbableElement(x)}focusFirstTabbableElement(x){const C=this._getRegionBoundary("start");return C&&C.focus(x),!!C}focusLastTabbableElement(x){const C=this._getRegionBoundary("end");return C&&C.focus(x),!!C}hasAttached(){return this._hasAttached}_getFirstTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let T=0;T<C.length;T++){const K=C[T].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(C[T]):null;if(K)return K}return null}_getLastTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let T=C.length-1;T>=0;T--){const K=C[T].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(C[T]):null;if(K)return K}return null}_createAnchor(){const x=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,x),x.classList.add("cdk-visually-hidden"),x.classList.add("cdk-focus-trap-anchor"),x.setAttribute("aria-hidden","true"),x}_toggleAnchorTabIndex(x,C){x?C.setAttribute("tabindex","0"):C.removeAttribute("tabindex")}toggleAnchors(x){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}_executeOnStable(x){this._ngZone.isStable?x():this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(x)}}let ke=(()=>{class ge{constructor(C,T,K){this._checker=C,this._ngZone=T,this._document=K}create(C,T=!1){return new be(C,this._checker,this._ngZone,this._document,T)}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(xt),c.LFG(c.R0b),c.LFG(m.K0))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function cn(ge){return 0===ge.buttons||0===ge.offsetX&&0===ge.offsetY}function gn(ge){const x=ge.touches&&ge.touches[0]||ge.changedTouches&&ge.changedTouches[0];return!(!x||-1!==x.identifier||null!=x.radiusX&&1!==x.radiusX||null!=x.radiusY&&1!==x.radiusY)}const Rt=new c.OlP("cdk-input-modality-detector-options"),$n={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},Bt=(0,U.i$)({passive:!0,capture:!0});let nn=(()=>{class ge{constructor(C,T,K,ue){this._platform=C,this._mostRecentTarget=null,this._modality=new k.X(null),this._lastTouchMs=0,this._onKeydown=$e=>{this._options?.ignoreKeys?.some(tt=>tt===$e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,U.sA)($e))},this._onMousedown=$e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(cn($e)?"keyboard":"mouse"),this._mostRecentTarget=(0,U.sA)($e))},this._onTouchstart=$e=>{gn($e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,U.sA)($e))},this._options={...$n,...ue},this.modalityDetected=this._modality.pipe((0,Y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ne.x)()),C.isBrowser&&T.runOutsideAngular(()=>{K.addEventListener("keydown",this._onKeydown,Bt),K.addEventListener("mousedown",this._onMousedown,Bt),K.addEventListener("touchstart",this._onTouchstart,Bt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Bt),document.removeEventListener("mousedown",this._onMousedown,Bt),document.removeEventListener("touchstart",this._onTouchstart,Bt))}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(U.t4),c.LFG(c.R0b),c.LFG(m.K0),c.LFG(Rt,8))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const st=new c.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ye(){return null}}),In=new c.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let kn=(()=>{class ge{constructor(C,T,K,ue){this._ngZone=T,this._defaultOptions=ue,this._document=K,this._liveElement=C||this._createLiveElement()}announce(C,...T){const K=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=K&&K.politeness?K.politeness:"polite"),null==$e&&K&&($e=K.duration),this._liveElement.setAttribute("aria-live",ue),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(tt=>this._currentResolve=tt)),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),K=this._document.createElement("div");for(let ue=0;ue<T.length;ue++)T[ue].remove();return K.classList.add(C),K.classList.add("cdk-visually-hidden"),K.setAttribute("aria-atomic","true"),K.setAttribute("aria-live","polite"),this._document.body.appendChild(K),K}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(st,8),c.LFG(c.R0b),c.LFG(m.K0),c.LFG(In,8))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const qn=new c.OlP("cdk-focus-monitor-default-options"),ln=(0,U.i$)({passive:!0,capture:!0});let Be=(()=>{class ge{constructor(C,T,K,ue,$e){this._ngZone=C,this._platform=T,this._inputModalityDetector=K,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=tt=>{for(let vt=(0,U.sA)(tt);vt;vt=vt.parentElement)"focus"===tt.type?this._onFocus(tt,vt):this._onBlur(tt,vt)},this._document=ue,this._detectionMode=$e?.detectionMode||0}monitor(C,T=!1){const K=(0,J.fI)(C);if(!this._platform.isBrowser||1!==K.nodeType)return(0,V.of)(null);const ue=(0,U.kV)(K)||this._getDocument(),$e=this._elementInfo.get(K);if($e)return T&&($e.checkChildren=!0),$e.subject;const tt={checkChildren:T,subject:new O.x,rootNode:ue};return this._elementInfo.set(K,tt),this._registerGlobalListeners(tt),tt.subject}stopMonitoring(C){const T=(0,J.fI)(C),K=this._elementInfo.get(T);K&&(K.subject.complete(),this._setClasses(T),this._elementInfo.delete(T),this._removeGlobalListeners(K))}focusVia(C,T,K){const ue=(0,J.fI)(C);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([tt,dt])=>this._originChanged(tt,T,dt)):(this._setOrigin(T),"function"==typeof ue.focus&&ue.focus(K))}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 K=this._elementInfo.get(T),ue=(0,U.sA)(C);!K||!K.checkChildren&&T!==ue||this._originChanged(T,this._getFocusOrigin(ue),K)}_onBlur(C,T){const K=this._elementInfo.get(T);!K||K.checkChildren&&C.relatedTarget instanceof Node&&T.contains(C.relatedTarget)||(this._setClasses(T),this._emitOrigin(K,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,K=this._rootNodeFocusListenerCount.get(T)||0;K||this._ngZone.runOutsideAngular(()=>{T.addEventListener("focus",this._rootNodeFocusAndBlurListener,ln),T.addEventListener("blur",this._rootNodeFocusAndBlurListener,ln)}),this._rootNodeFocusListenerCount.set(T,K+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,H.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(C){const T=C.rootNode;if(this._rootNodeFocusListenerCount.has(T)){const K=this._rootNodeFocusListenerCount.get(T);K>1?this._rootNodeFocusListenerCount.set(T,K-1):(T.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ln),T.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ln),this._rootNodeFocusListenerCount.delete(T))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,T,K){this._setClasses(C,T),this._emitOrigin(K,T),this._lastFocusOrigin=T}_getClosestElementsInfo(C){const T=[];return this._elementInfo.forEach((K,ue)=>{(ue===C||K.checkChildren&&ue.contains(C))&&T.push([ue,K])}),T}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:T,mostRecentModality:K}=this._inputModalityDetector;if("mouse"!==K||!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.\u0275fac=function(C){return new(C||ge)(c.LFG(c.R0b),c.LFG(U.t4),c.LFG(nn),c.LFG(m.K0,8),c.LFG(qn,8))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),Q=(()=>{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.\u0275fac=function(C){return new(C||ge)(c.Y36(c.SBq),c.Y36(Be))},ge.\u0275dir=c.lG2({type:ge,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ge})();const le="cdk-high-contrast-black-on-white",De="cdk-high-contrast-white-on-black",ft="cdk-high-contrast-active";let gt=(()=>{class ge{constructor(C,T){this._platform=C,this._document=T,this._breakpointSubscription=(0,c.f3M)(Ee.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,K=T&&T.getComputedStyle?T.getComputedStyle(C):null,ue=(K&&K.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(ft,le,De),this._hasCheckedHighContrastMode=!0;const T=this.getHighContrastMode();1===T?C.add(ft,le):2===T&&C.add(ft,De)}}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(U.t4),c.LFG(m.K0))},ge.\u0275prov=c.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),hn=(()=>{class ge{constructor(C){C._applyBodyHighContrastModeCssClasses()}}return ge.\u0275fac=function(C){return new(C||ge)(c.LFG(gt))},ge.\u0275mod=c.oAB({type:ge}),ge.\u0275inj=c.cJS({imports:[G.Q8]}),ge})()},2867:(Me,z,g)=>{g.d(z,{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(R){if(this.value="ltr",this.change=new m.vpe,R){const Y=R.documentElement?R.documentElement.dir:null;this.value=function k(I){const L=I?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?N.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((R.body?R.body.dir:null)||Y||"ltr")}}ngOnDestroy(){this.change.complete()}}return I.\u0275fac=function(R){return new(R||I)(m.LFG(U,8))},I.\u0275prov=m.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),F=(()=>{class I{}return I.\u0275fac=function(R){return new(R||I)},I.\u0275mod=m.oAB({type:I}),I.\u0275inj=m.cJS({}),I})()},8971:(Me,z,g)=>{g.d(z,{Eq:()=>N,HM:()=>k,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 k(F){return null==F?"":"string"==typeof F?F:`${F}px`}function V(F){return F instanceof m.SBq?F.nativeElement:F}},8456:(Me,z,g)=>{g.d(z,{A:()=>bn,JH:()=>ze,JU:()=>k,K5:()=>N,LH:()=>G,L_:()=>R,MW:()=>In,Mf:()=>U,SV:()=>Ee,Sd:()=>H,Vb:()=>rn,Z:()=>Ye,aO:()=>ut,b2:()=>ur,hY:()=>L,jx:()=>V,oh:()=>J,uR:()=>ne,xE:()=>Ne,zL:()=>P});const U=9,N=13,k=16,V=17,P=18,L=27,R=32,ne=35,H=36,J=37,G=38,Ee=39,ze=40,Ne=48,ut=57,bn=65,Ye=90,In=91,ur=224;function rn(dr,...Wr){return Wr.length?Wr.some(wt=>dr[wt]):dr.altKey||dr.shiftKey||dr.ctrlKey||dr.metaKey}},3278:(Me,z,g)=>{g.d(z,{Yg:()=>ze,u3:()=>$});var m=g(2560),c=g(8971),U=g(253),O=g(6562),N=g(9319),k=g(833),V=g(9295),P=g(7260),F=g(1989),I=g(635),L=g(4874),R=g(8951),ee=g(9107);const ne=new Set;let H,J=(()=>{class se{constructor(Ne){this._platform=Ne,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ee}matchMedia(Ne){return(this._platform.WEBKIT||this._platform.BLINK)&&function G(se){if(!ne.has(se))try{H||(H=document.createElement("style"),H.setAttribute("type","text/css"),document.head.appendChild(H)),H.sheet&&(H.sheet.insertRule(`@media ${se} {body{ }}`,0),ne.add(se))}catch(Ce){console.error(Ce)}}(Ne),this._matchMedia(Ne)}}return se.\u0275fac=function(Ne){return new(Ne||se)(m.LFG(ee.t4))},se.\u0275prov=m.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function Ee(se){return{matches:"all"===se||""===se,media:se,addListener:()=>{},removeListener:()=>{}}}let ze=(()=>{class se{constructor(Ne,Ae){this._mediaMatcher=Ne,this._zone=Ae,this._queries=new Map,this._destroySubject=new U.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ne){return me((0,c.Eq)(Ne)).some(xe=>this._registerQuery(xe).mql.matches)}observe(Ne){const xe=me((0,c.Eq)(Ne)).map(ce=>this._registerQuery(ce).observable);let ae=(0,O.a)(xe);return ae=(0,N.z)(ae.pipe((0,V.q)(1)),ae.pipe((0,P.T)(1),(0,F.b)(0))),ae.pipe((0,I.U)(ce=>{const ye={matches:!1,breakpoints:{}};return ce.forEach(({matches:he,query:je})=>{ye.matches=ye.matches||he,ye.breakpoints[je]=he}),ye}))}_registerQuery(Ne){if(this._queries.has(Ne))return this._queries.get(Ne);const Ae=this._mediaMatcher.matchMedia(Ne),ae={observable:new k.y(ce=>{const ye=he=>this._zone.run(()=>ce.next(he));return Ae.addListener(ye),()=>{Ae.removeListener(ye)}}).pipe((0,L.O)(Ae),(0,I.U)(({matches:ce})=>({query:Ne,matches:ce})),(0,R.R)(this._destroySubject)),mql:Ae};return this._queries.set(Ne,ae),ae}}return se.\u0275fac=function(Ne){return new(Ne||se)(m.LFG(J),m.LFG(m.R0b))},se.\u0275prov=m.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function me(se){return se.map(Ce=>Ce.split(",")).reduce((Ce,Ne)=>Ce.concat(Ne)).map(Ce=>Ce.trim())}const $={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:(Me,z,g)=>{g.d(z,{Q8:()=>F,wD:()=>P});var m=g(8971),c=g(2560),U=g(833),O=g(253),N=g(1989);let k=(()=>{class I{create(R){return typeof MutationObserver>"u"?null:new MutationObserver(R)}}return I.\u0275fac=function(R){return new(R||I)},I.\u0275prov=c.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),V=(()=>{class I{constructor(R){this._mutationObserverFactory=R,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((R,ee)=>this._cleanupObserver(ee))}observe(R){const ee=(0,m.fI)(R);return new U.y(Y=>{const H=this._observeElement(ee).subscribe(Y);return()=>{H.unsubscribe(),this._unobserveElement(ee)}})}_observeElement(R){if(this._observedElements.has(R))this._observedElements.get(R).count++;else{const ee=new O.x,Y=this._mutationObserverFactory.create(ne=>ee.next(ne));Y&&Y.observe(R,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(R,{observer:Y,stream:ee,count:1})}return this._observedElements.get(R).stream}_unobserveElement(R){this._observedElements.has(R)&&(this._observedElements.get(R).count--,this._observedElements.get(R).count||this._cleanupObserver(R))}_cleanupObserver(R){if(this._observedElements.has(R)){const{observer:ee,stream:Y}=this._observedElements.get(R);ee&&ee.disconnect(),Y.complete(),this._observedElements.delete(R)}}}return I.\u0275fac=function(R){return new(R||I)(c.LFG(k))},I.\u0275prov=c.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),P=(()=>{class I{constructor(R,ee,Y){this._contentObserver=R,this._elementRef=ee,this._ngZone=Y,this.event=new c.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(R){this._disabled=(0,m.Ig)(R),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(R){this._debounce=(0,m.su)(R),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const R=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?R.pipe((0,N.b)(this.debounce)):R).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return I.\u0275fac=function(R){return new(R||I)(c.Y36(V),c.Y36(c.SBq),c.Y36(c.R0b))},I.\u0275dir=c.lG2({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),I})(),F=(()=>{class I{}return I.\u0275fac=function(R){return new(R||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({providers:[k]}),I})()},9107:(Me,z,g)=>{g.d(z,{Mq:()=>Y,Oy:()=>me,_i:()=>ne,i$:()=>L,kV:()=>G,sA:()=>ze,t4:()=>O});var m=g(2560),c=g(4666);let U;try{U=typeof Intl<"u"&&Intl.v8BreakIterator}catch{U=!1}let F,R,ee,H,O=(()=>{class ${constructor(Ce){this._platformId=Ce,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 $.\u0275fac=function(Ce){return new(Ce||$)(m.LFG(m.Lbi))},$.\u0275prov=m.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})();function L($){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}()?$:!!$.capture}function Y(){if(null==ee){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ee=!1,ee;if("scrollBehavior"in document.documentElement.style)ee=!0;else{const $=Element.prototype.scrollTo;ee=!!$&&!/\{\s*\[native code\]\s*\}/.test($.toString())}}return ee}function ne(){if("object"!=typeof document||!document)return 0;if(null==R){const $=document.createElement("div"),se=$.style;$.dir="rtl",se.width="1px",se.overflow="auto",se.visibility="hidden",se.pointerEvents="none",se.position="absolute";const Ce=document.createElement("div"),Ne=Ce.style;Ne.width="2px",Ne.height="1px",$.appendChild(Ce),document.body.appendChild($),R=0,0===$.scrollLeft&&($.scrollLeft=1,R=0===$.scrollLeft?1:2),$.remove()}return R}function G($){if(function J(){if(null==H){const $=typeof document<"u"?document.head:null;H=!(!$||!$.createShadowRoot&&!$.attachShadow)}return H}()){const se=$.getRootNode?$.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function ze($){return $.composedPath?$.composedPath()[0]:$.target}function me(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2602:(Me,z,g)=>{g.d(z,{PQ:()=>ye,ZD:()=>St,mF:()=>ce,Cl:()=>Jt,rL:()=>je});var m=g(8971),c=g(2560),U=g(253),O=g(745),N=g(833),k=g(3280),V=g(5417),P=g(7714);const F={schedule(Ke){let Fe=requestAnimationFrame,te=cancelAnimationFrame;const{delegate:Te}=F;Te&&(Fe=Te.requestAnimationFrame,te=Te.cancelAnimationFrame);const be=Fe(ke=>{te=void 0,Ke(ke)});return new P.w0(()=>te?.(be))},requestAnimationFrame(...Ke){const{delegate:Fe}=F;return(Fe?.requestAnimationFrame||requestAnimationFrame)(...Ke)},cancelAnimationFrame(...Ke){const{delegate:Fe}=F;return(Fe?.cancelAnimationFrame||cancelAnimationFrame)(...Ke)},delegate:void 0};var L=g(1010);new class R extends L.v{flush(Fe){this._active=!0;const te=this._scheduled;this._scheduled=void 0;const{actions:Te}=this;let be;Fe=Fe||Te.shift();do{if(be=Fe.execute(Fe.state,Fe.delay))break}while((Fe=Te[0])&&Fe.id===te&&Te.shift());if(this._active=!1,be){for(;(Fe=Te[0])&&Fe.id===te&&Te.shift();)Fe.unsubscribe();throw be}}}(class I extends V.o{constructor(Fe,te){super(Fe,te),this.scheduler=Fe,this.work=te}requestAsyncId(Fe,te,Te=0){return null!==Te&&Te>0?super.requestAsyncId(Fe,te,Te):(Fe.actions.push(this),Fe._scheduled||(Fe._scheduled=F.requestAnimationFrame(()=>Fe.flush(void 0))))}recycleAsyncId(Fe,te,Te=0){var be;if(null!=Te?Te>0:this.delay>0)return super.recycleAsyncId(Fe,te,Te);const{actions:ke}=Fe;null!=te&&(null===(be=ke[ke.length-1])||void 0===be?void 0:be.id)!==te&&(F.cancelAnimationFrame(te),Fe._scheduled=void 0)}});g(3888);var H=g(9211),J=g(116),G=g(8951),Ee=g(9107),ze=g(4666),me=g(2867);let ce=(()=>{class Ke{constructor(te,Te,be){this._ngZone=te,this._platform=Te,this._scrolled=new U.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=be}register(te){this.scrollContainers.has(te)||this.scrollContainers.set(te,te.elementScrolled().subscribe(()=>this._scrolled.next(te)))}deregister(te){const Te=this.scrollContainers.get(te);Te&&(Te.unsubscribe(),this.scrollContainers.delete(te))}scrolled(te=20){return this._platform.isBrowser?new N.y(Te=>{this._globalSubscription||this._addGlobalListener();const be=te>0?this._scrolled.pipe((0,H.e)(te)).subscribe(Te):this._scrolled.subscribe(Te);return this._scrolledCount++,()=>{be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,O.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((te,Te)=>this.deregister(Te)),this._scrolled.complete()}ancestorScrolled(te,Te){const be=this.getAncestorScrollContainers(te);return this.scrolled(Te).pipe((0,J.h)(ke=>!ke||be.indexOf(ke)>-1))}getAncestorScrollContainers(te){const Te=[];return this.scrollContainers.forEach((be,ke)=>{this._scrollableContainsElement(ke,te)&&Te.push(ke)}),Te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(te,Te){let be=(0,m.fI)(Te),ke=te.getElementRef().nativeElement;do{if(be==ke)return!0}while(be=be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const te=this._getWindow();return(0,k.R)(te.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ke.\u0275fac=function(te){return new(te||Ke)(c.LFG(c.R0b),c.LFG(Ee.t4),c.LFG(ze.K0,8))},Ke.\u0275prov=c.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),ye=(()=>{class Ke{constructor(te,Te,be,ke){this.elementRef=te,this.scrollDispatcher=Te,this.ngZone=be,this.dir=ke,this._destroyed=new U.x,this._elementScrolled=new N.y(re=>this.ngZone.runOutsideAngular(()=>(0,k.R)(this.elementRef.nativeElement,"scroll").pipe((0,G.R)(this._destroyed)).subscribe(re)))}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(te){const Te=this.elementRef.nativeElement,be=this.dir&&"rtl"==this.dir.value;null==te.left&&(te.left=be?te.end:te.start),null==te.right&&(te.right=be?te.start:te.end),null!=te.bottom&&(te.top=Te.scrollHeight-Te.clientHeight-te.bottom),be&&0!=(0,Ee._i)()?(null!=te.left&&(te.right=Te.scrollWidth-Te.clientWidth-te.left),2==(0,Ee._i)()?te.left=te.right:1==(0,Ee._i)()&&(te.left=te.right?-te.right:te.right)):null!=te.right&&(te.left=Te.scrollWidth-Te.clientWidth-te.right),this._applyScrollToOptions(te)}_applyScrollToOptions(te){const Te=this.elementRef.nativeElement;(0,Ee.Mq)()?Te.scrollTo(te):(null!=te.top&&(Te.scrollTop=te.top),null!=te.left&&(Te.scrollLeft=te.left))}measureScrollOffset(te){const Te="left",ke=this.elementRef.nativeElement;if("top"==te)return ke.scrollTop;if("bottom"==te)return ke.scrollHeight-ke.clientHeight-ke.scrollTop;const re=this.dir&&"rtl"==this.dir.value;return"start"==te?te=re?"right":Te:"end"==te&&(te=re?Te:"right"),re&&2==(0,Ee._i)()?te==Te?ke.scrollWidth-ke.clientWidth-ke.scrollLeft:ke.scrollLeft:re&&1==(0,Ee._i)()?te==Te?ke.scrollLeft+ke.scrollWidth-ke.clientWidth:-ke.scrollLeft:te==Te?ke.scrollLeft:ke.scrollWidth-ke.clientWidth-ke.scrollLeft}}return Ke.\u0275fac=function(te){return new(te||Ke)(c.Y36(c.SBq),c.Y36(ce),c.Y36(c.R0b),c.Y36(me.Is,8))},Ke.\u0275dir=c.lG2({type:Ke,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Ke})(),je=(()=>{class Ke{constructor(te,Te,be){this._platform=te,this._change=new U.x,this._changeListener=ke=>{this._change.next(ke)},this._document=be,Te.runOutsideAngular(()=>{if(te.isBrowser){const ke=this._getWindow();ke.addEventListener("resize",this._changeListener),ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const te=this._getWindow();te.removeEventListener("resize",this._changeListener),te.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const te={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),te}getViewportRect(){const te=this.getViewportScrollPosition(),{width:Te,height:be}=this.getViewportSize();return{top:te.top,left:te.left,bottom:te.top+be,right:te.left+Te,height:be,width:Te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const te=this._document,Te=this._getWindow(),be=te.documentElement,ke=be.getBoundingClientRect();return{top:-ke.top||te.body.scrollTop||Te.scrollY||be.scrollTop||0,left:-ke.left||te.body.scrollLeft||Te.scrollX||be.scrollLeft||0}}change(te=20){return te>0?this._change.pipe((0,H.e)(te)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const te=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:te.innerWidth,height:te.innerHeight}:{width:0,height:0}}}return Ke.\u0275fac=function(te){return new(te||Ke)(c.LFG(Ee.t4),c.LFG(c.R0b),c.LFG(ze.K0,8))},Ke.\u0275prov=c.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),St=(()=>{class Ke{}return Ke.\u0275fac=function(te){return new(te||Ke)},Ke.\u0275mod=c.oAB({type:Ke}),Ke.\u0275inj=c.cJS({}),Ke})(),Jt=(()=>{class Ke{}return Ke.\u0275fac=function(te){return new(te||Ke)},Ke.\u0275mod=c.oAB({type:Ke}),Ke.\u0275inj=c.cJS({imports:[me.vT,St,me.vT,St]}),Ke})()},4666:(Me,z,g)=>{g.d(z,{ED:()=>Yn,EM:()=>Ta,HT:()=>N,JF:()=>bs,K0:()=>V,Mx:()=>tr,NF:()=>Uu,O5:()=>dr,Ov:()=>Kr,PC:()=>hr,RF:()=>Fr,S$:()=>J,Ye:()=>me,b0:()=>Ee,bD:()=>Wl,ez:()=>zl,lw:()=>P,mk:()=>Ge,n9:()=>po,q:()=>U,sg:()=>mn,tP:()=>li,w_:()=>k});var m=g(2560);let c=null;function U(){return c}function N(_){c||(c=_)}class k{}const V=new m.OlP("DocumentToken");let P=(()=>{class _{historyGo(y){throw new Error("Not implemented")}}return _.\u0275fac=function(y){return new(y||_)},_.\u0275prov=m.Yz7({token:_,factory:function(){return function F(){return(0,m.LFG)(L)}()},providedIn:"platform"}),_})(),L=(()=>{class _ extends P{constructor(y){super(),this._doc=y,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(y){const S=U().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",y,!1),()=>S.removeEventListener("popstate",y)}onHashChange(y){const S=U().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",y,!1),()=>S.removeEventListener("hashchange",y)}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(y){this.location.pathname=y}pushState(y,S,W){R()?this._history.pushState(y,S,W):this.location.hash=W}replaceState(y,S,W){R()?this._history.replaceState(y,S,W):this.location.hash=W}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}}return _.\u0275fac=function(y){return new(y||_)(m.LFG(V))},_.\u0275prov=m.Yz7({token:_,factory:function(){return function ee(){return new L((0,m.LFG)(V))}()},providedIn:"platform"}),_})();function R(){return!!window.history.pushState}function Y(_,w){if(0==_.length)return w;if(0==w.length)return _;let y=0;return _.endsWith("/")&&y++,w.startsWith("/")&&y++,2==y?_+w.substring(1):1==y?_+w:_+"/"+w}function ne(_){const w=_.match(/#|\?|$/),y=w&&w.index||_.length;return _.slice(0,y-("/"===_[y-1]?1:0))+_.slice(y)}function H(_){return _&&"?"!==_[0]?"?"+_:_}let J=(()=>{class _{historyGo(y){throw new Error("Not implemented")}}return _.\u0275fac=function(y){return new(y||_)},_.\u0275prov=m.Yz7({token:_,factory:function(){return(0,m.f3M)(Ee)},providedIn:"root"}),_})();const G=new m.OlP("appBaseHref");let Ee=(()=>{class _ extends J{constructor(y,S){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return Y(this._baseHref,y)}path(y=!1){const S=this._platformLocation.pathname+H(this._platformLocation.search),W=this._platformLocation.hash;return W&&y?`${S}${W}`:S}pushState(y,S,W,ve){const Ie=this.prepareExternalUrl(W+H(ve));this._platformLocation.pushState(y,S,Ie)}replaceState(y,S,W,ve){const Ie=this.prepareExternalUrl(W+H(ve));this._platformLocation.replaceState(y,S,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return _.\u0275fac=function(y){return new(y||_)(m.LFG(P),m.LFG(G,8))},_.\u0275prov=m.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),me=(()=>{class _{constructor(y){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const S=this._locationStrategy.getBaseHref();this._baseHref=ne(Ce(S)),this._locationStrategy.onPopState(W=>{this._subject.emit({url:this.path(!0),pop:!0,state:W.state,type:W.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,S=""){return this.path()==this.normalize(y+H(S))}normalize(y){return _.stripTrailingSlash(function se(_,w){return _&&w.startsWith(_)?w.substring(_.length):w}(this._baseHref,Ce(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,S="",W=null){this._locationStrategy.pushState(W,"",y,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+H(S)),W)}replaceState(y,S="",W=null){this._locationStrategy.replaceState(W,"",y,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+H(S)),W)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",S){this._urlChangeListeners.forEach(W=>W(y,S))}subscribe(y,S,W){return this._subject.subscribe({next:y,error:S,complete:W})}}return _.normalizeQueryParams=H,_.joinWithSlash=Y,_.stripTrailingSlash=ne,_.\u0275fac=function(y){return new(y||_)(m.LFG(J))},_.\u0275prov=m.Yz7({token:_,factory:function(){return function $(){return new me((0,m.LFG)(J))}()},providedIn:"root"}),_})();function Ce(_){return _.replace(/\/index.html$/,"")}function tr(_,w){w=encodeURIComponent(w);for(const y of _.split(";")){const S=y.indexOf("="),[W,ve]=-1==S?[y,""]:[y.slice(0,S),y.slice(S+1)];if(W.trim()===w)return decodeURIComponent(ve)}return null}let Ge=(()=>{class _{constructor(y,S,W,ve){this._iterableDiffers=y,this._keyValueDiffers=S,this._ngEl=W,this._renderer=ve,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(y){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof y?y.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(y){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof y?y.split(/\s+/):y,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 y=this._iterableDiffer.diff(this._rawClass);y&&this._applyIterableChanges(y)}else if(this._keyValueDiffer){const y=this._keyValueDiffer.diff(this._rawClass);y&&this._applyKeyValueChanges(y)}}_applyKeyValueChanges(y){y.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),y.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),y.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(y){y.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,m.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),y.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach(S=>this._toggleClass(S,!0)):Object.keys(y).forEach(S=>this._toggleClass(S,!!y[S])))}_removeClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach(S=>this._toggleClass(S,!1)):Object.keys(y).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(y,S){(y=y.trim())&&y.split(/\s+/g).forEach(W=>{S?this._renderer.addClass(this._ngEl.nativeElement,W):this._renderer.removeClass(this._ngEl.nativeElement,W)})}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class Pr{constructor(w,y,S,W){this.$implicit=w,this.ngForOf=y,this.index=S,this.count=W}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let mn=(()=>{class _{constructor(y,S,W){this._viewContainer=y,this._template=S,this._differs=W,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const S=this._viewContainer;y.forEachOperation((W,ve,Ie)=>{if(null==W.previousIndex)S.createEmbeddedView(this._template,new Pr(W.item,this._ngForOf,-1,-1),null===Ie?void 0:Ie);else if(null==Ie)S.remove(null===ve?void 0:ve);else if(null!==ve){const qe=S.get(ve);S.move(qe,Ie),ur(qe,W)}});for(let W=0,ve=S.length;W<ve;W++){const qe=S.get(W).context;qe.index=W,qe.count=ve,qe.ngForOf=this._ngForOf}y.forEachIdentityChange(W=>{ur(S.get(W.currentIndex),W)})}static ngTemplateContextGuard(y,S){return!0}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function ur(_,w){_.context.$implicit=w.item}let dr=(()=>{class _{constructor(y,S){this._viewContainer=y,this._context=new Wr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){wt("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){wt("ngIfElse",y),this._elseTemplateRef=y,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(y,S){return!0}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.s_b),m.Y36(m.Rgc))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class Wr{constructor(){this.$implicit=null,this.ngIf=null}}function wt(_,w){if(w&&!w.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,m.AaK)(w)}'.`)}class Si{constructor(w,y){this._viewContainerRef=w,this._templateRef=y,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 Fr=(()=>{class _{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(y){this._ngSwitch=y,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(y){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(y)}_matchCase(y){const S=y==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(y){if(this._defaultViews&&y!==this._defaultUsed){this._defaultUsed=y;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(y)}}}return _.\u0275fac=function(y){return new(y||_)},_.\u0275dir=m.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),po=(()=>{class _{constructor(y,S,W){this.ngSwitch=W,W._addCase(),this._view=new Si(y,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(Fr,9))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),_})(),Yn=(()=>{class _{constructor(y,S,W){W._addDefault(new Si(y,S))}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(Fr,9))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0}),_})(),hr=(()=>{class _{constructor(y,S,W){this._ngEl=y,this._differs=S,this._renderer=W,this._ngStyle=null,this._differ=null}set ngStyle(y){this._ngStyle=y,!this._differ&&y&&(this._differ=this._differs.find(y).create())}ngDoCheck(){if(this._differ){const y=this._differ.diff(this._ngStyle);y&&this._applyChanges(y)}}_setStyle(y,S){const[W,ve]=y.split("."),Ie=-1===W.indexOf("-")?void 0:m.JOm.DashCase;null!=S?this._renderer.setStyle(this._ngEl.nativeElement,W,ve?`${S}${ve}`:S,Ie):this._renderer.removeStyle(this._ngEl.nativeElement,W,Ie)}_applyChanges(y){y.forEachRemovedItem(S=>this._setStyle(S.key,null)),y.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),y.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),_})(),li=(()=>{class _{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:W,ngTemplateOutletContext:ve,ngTemplateOutletInjector:Ie}=this;this._viewRef=S.createEmbeddedView(W,ve,Ie?{injector:Ie}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.s_b))},_.\u0275dir=m.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]}),_})();class Ul{createSubscription(w,y){return w.subscribe({next:y,error:S=>{throw S}})}dispose(w){w.unsubscribe()}}class ms{createSubscription(w,y){return w.then(y,S=>{throw S})}dispose(w){}}const go=new ms,Mi=new Ul;let Kr=(()=>{class _{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,S=>this._updateLatestValue(y,S))}_selectStrategy(y){if((0,m.QGY)(y))return go;if((0,m.F4k)(y))return Mi;throw function Pt(_,w){return new m.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,S){y===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return _.\u0275fac=function(y){return new(y||_)(m.Y36(m.sBO,16))},_.\u0275pipe=m.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})(),zl=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=m.oAB({type:_}),_.\u0275inj=m.cJS({}),_})();const Wl="browser";function Uu(_){return _===Wl}let Ta=(()=>{class _{}return _.\u0275prov=(0,m.Yz7)({token:_,providedIn:"root",factory:()=>new vr((0,m.LFG)(V),window)}),_})();class vr{constructor(w,y){this.document=w,this.window=y,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 y=function Es(_,w){const y=_.getElementById(w)||_.getElementsByName(w)[0];if(y)return y;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const S=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let W=S.currentNode;for(;W;){const ve=W.shadowRoot;if(ve){const Ie=ve.getElementById(w)||ve.querySelector(`[name="${w}"]`);if(Ie)return Ie}W=S.nextNode()}}return null}(this.document,w);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const y=this.window.history;y&&y.scrollRestoration&&(y.scrollRestoration=w)}}scrollToElement(w){const y=w.getBoundingClientRect(),S=y.left+this.window.pageXOffset,W=y.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(S-ve[0],W-ve[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=Ki(this.window.history)||Ki(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 Ki(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class bs{}},8987:(Me,z,g)=>{g.d(z,{JF:()=>gt,eN:()=>Le});var m=g(4666),c=g(2560),U=g(745),O=g(833),N=g(3853),k=g(116),V=g(635);class P{}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 K=T.indexOf(":");if(K>0){const ue=T.slice(0,K),$e=ue.toLowerCase(),tt=T.slice(K+1).trim();this.maybeSetNormalizedName(ue,$e),this.headers.has($e)?this.headers.get($e).push(tt):this.headers.set($e,[tt])}})}:()=>{this.headers=new Map,Object.keys(C).forEach(T=>{let K=C[T];const ue=T.toLowerCase();"string"==typeof K&&(K=[K]),K.length>0&&(this.headers.set(ue,K),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 K=C.value;if("string"==typeof K&&(K=[K]),0===K.length)return;this.maybeSetNormalizedName(C.name,T);const ue=("a"===C.op?this.headers.get(T):void 0)||[];ue.push(...K),this.headers.set(T,ue);break;case"d":const $e=C.value;if($e){let tt=this.headers.get(T);if(!tt)return;tt=tt.filter(dt=>-1===$e.indexOf(dt)),0===tt.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,tt)}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 R{encodeKey(C){return H(C)}encodeValue(C){return H(C)}decodeKey(C){return decodeURIComponent(C)}decodeValue(C){return decodeURIComponent(C)}}const Y=/%(\d[a-f0-9])/gi,ne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function H(x){return encodeURIComponent(x).replace(Y,(C,T)=>ne[T]??C)}function J(x){return`${x}`}class G{constructor(C={}){if(this.updates=null,this.cloneFrom=null,this.encoder=C.encoder||new R,C.fromString){if(C.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ee(x,C){const T=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(ue=>{const $e=ue.indexOf("="),[tt,dt]=-1==$e?[C.decodeKey(ue),""]:[C.decodeKey(ue.slice(0,$e)),C.decodeValue(ue.slice($e+1))],vt=T.get(tt)||[];vt.push(dt),T.set(tt,vt)}),T}(C.fromString,this.encoder)}else C.fromObject?(this.map=new Map,Object.keys(C.fromObject).forEach(T=>{const K=C.fromObject[T],ue=Array.isArray(K)?K.map(J):[J(K)];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(K=>{const ue=C[K];Array.isArray(ue)?ue.forEach($e=>{T.push({param:K,value:$e,op:"a"})}):T.push({param:K,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(K=>T+"="+this.encoder.encodeValue(K)).join("&")}).filter(C=>""!==C).join("&")}clone(C){const T=new G({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(J(C.value)),this.map.set(C.param,T);break;case"d":if(void 0===C.value){this.map.delete(C.param);break}{let K=this.map.get(C.param)||[];const ue=K.indexOf(J(C.value));-1!==ue&&K.splice(ue,1),K.length>0?this.map.set(C.param,K):this.map.delete(C.param)}}}),this.cloneFrom=this.updates=null)}}class ze{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 $(x){return typeof ArrayBuffer<"u"&&x instanceof ArrayBuffer}function se(x){return typeof Blob<"u"&&x instanceof Blob}function Ce(x){return typeof FormData<"u"&&x instanceof FormData}class Ae{constructor(C,T,K,ue){let $e;if(this.url=T,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=C.toUpperCase(),function me(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ue?(this.body=void 0!==K?K:null,$e=ue):$e=K,$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 ze),this.params){const tt=this.params.toString();if(0===tt.length)this.urlWithParams=T;else{const dt=T.indexOf("?");this.urlWithParams=T+(-1===dt?"?":dt<T.length-1?"&":"")+tt}}else this.params=new G,this.urlWithParams=T}serializeBody(){return null===this.body?null:$(this.body)||se(this.body)||Ce(this.body)||function Ne(x){return typeof URLSearchParams<"u"&&x instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof G?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ce(this.body)?null:se(this.body)?this.body.type||null:$(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof G?"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,K=C.url||this.url,ue=C.responseType||this.responseType,$e=void 0!==C.body?C.body:this.body,tt=void 0!==C.withCredentials?C.withCredentials:this.withCredentials,dt=void 0!==C.reportProgress?C.reportProgress:this.reportProgress;let vt=C.headers||this.headers,un=C.params||this.params;const Ht=C.context??this.context;return void 0!==C.setHeaders&&(vt=Object.keys(C.setHeaders).reduce((en,pt)=>en.set(pt,C.setHeaders[pt]),vt)),C.setParams&&(un=Object.keys(C.setParams).reduce((en,pt)=>en.set(pt,C.setParams[pt]),un)),new Ae(T,K,$e,{params:un,headers:vt,context:Ht,reportProgress:dt,responseType:ue,withCredentials:tt})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class ae{constructor(C,T=200,K="OK"){this.headers=C.headers||new I,this.status=void 0!==C.status?C.status:T,this.statusText=C.statusText||K,this.url=C.url||null,this.ok=this.status>=200&&this.status<300}}class ce extends ae{constructor(C={}){super(C),this.type=xe.ResponseHeader}clone(C={}){return new ce({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 ae{constructor(C={}){super(C),this.type=xe.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 he extends ae{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(x,C){return{body:C,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let Le=(()=>{class x{constructor(T){this.handler=T}request(T,K,ue={}){let $e;if(T instanceof Ae)$e=T;else{let vt,un;vt=ue.headers instanceof I?ue.headers:new I(ue.headers),ue.params&&(un=ue.params instanceof G?ue.params:new G({fromObject:ue.params})),$e=new Ae(T,K,void 0!==ue.body?ue.body:null,{headers:vt,context:ue.context,params:un,reportProgress:ue.reportProgress,responseType:ue.responseType||"json",withCredentials:ue.withCredentials})}const tt=(0,U.of)($e).pipe((0,N.b)(vt=>this.handler.handle(vt)));if(T instanceof Ae||"events"===ue.observe)return tt;const dt=tt.pipe((0,k.h)(vt=>vt instanceof ye));switch(ue.observe||"body"){case"body":switch($e.responseType){case"arraybuffer":return dt.pipe((0,V.U)(vt=>{if(null!==vt.body&&!(vt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return vt.body}));case"blob":return dt.pipe((0,V.U)(vt=>{if(null!==vt.body&&!(vt.body instanceof Blob))throw new Error("Response is not a Blob.");return vt.body}));case"text":return dt.pipe((0,V.U)(vt=>{if(null!==vt.body&&"string"!=typeof vt.body)throw new Error("Response is not a string.");return vt.body}));default:return dt.pipe((0,V.U)(vt=>vt.body))}case"response":return dt;default:throw new Error(`Unreachable: unhandled observe type ${ue.observe}}`)}}delete(T,K={}){return this.request("DELETE",T,K)}get(T,K={}){return this.request("GET",T,K)}head(T,K={}){return this.request("HEAD",T,K)}jsonp(T,K){return this.request("JSONP",T,{params:(new G).append(K,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,K={}){return this.request("OPTIONS",T,K)}patch(T,K,ue={}){return this.request("PATCH",T,je(ue,K))}post(T,K,ue={}){return this.request("POST",T,je(ue,K))}put(T,K,ue={}){return this.request("PUT",T,je(ue,K))}}return x.\u0275fac=function(T){return new(T||x)(c.LFG(P))},x.\u0275prov=c.Yz7({token:x,factory:x.\u0275fac}),x})();function ut(x,C){return C(x)}function xt(x,C){return(T,K)=>C.intercept(T,{handle:ue=>x(ue,K)})}const Xe=new c.OlP("HTTP_INTERCEPTORS"),nt=new c.OlP("HTTP_INTERCEPTOR_FNS");function bn(){let x=null;return(C,T)=>(null===x&&(x=((0,c.f3M)(Xe,{optional:!0})??[]).reduceRight(xt,ut)),x(C,T))}let jt=(()=>{class x extends P{constructor(T,K){super(),this.backend=T,this.injector=K,this.chain=null}handle(T){if(null===this.chain){const K=Array.from(new Set(this.injector.get(nt)));this.chain=K.reduceRight((ue,$e)=>function sn(x,C,T){return(K,ue)=>T.runInContext(()=>C(K,$e=>x($e,ue)))}(ue,$e,this.injector),ut)}return this.chain(T,K=>this.backend.handle(K))}}return x.\u0275fac=function(T){return new(T||x)(c.LFG(F),c.LFG(c.lqb))},x.\u0275prov=c.Yz7({token:x,factory:x.\u0275fac}),x})();const Oe=/^\)\]\}',?\n/;let Ze=(()=>{class x{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(K=>{const ue=this.xhrFactory.build();if(ue.open(T.method,T.urlWithParams),T.withCredentials&&(ue.withCredentials=!0),T.headers.forEach((Gt,oe)=>ue.setRequestHeader(Gt,oe.join(","))),T.headers.has("Accept")||ue.setRequestHeader("Accept","application/json, text/plain, */*"),!T.headers.has("Content-Type")){const Gt=T.detectContentTypeHeader();null!==Gt&&ue.setRequestHeader("Content-Type",Gt)}if(T.responseType){const Gt=T.responseType.toLowerCase();ue.responseType="json"!==Gt?Gt:"text"}const $e=T.serializeBody();let tt=null;const dt=()=>{if(null!==tt)return tt;const Gt=ue.statusText||"OK",oe=new I(ue.getAllResponseHeaders()),X=function He(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(ue)||T.url;return tt=new ce({headers:oe,status:ue.status,statusText:Gt,url:X}),tt},vt=()=>{let{headers:Gt,status:oe,statusText:X,url:j}=dt(),ie=null;204!==oe&&(ie=typeof ue.response>"u"?ue.responseText:ue.response),0===oe&&(oe=ie?200:0);let Se=oe>=200&&oe<300;if("json"===T.responseType&&"string"==typeof ie){const at=ie;ie=ie.replace(Oe,"");try{ie=""!==ie?JSON.parse(ie):null}catch(Mt){ie=at,Se&&(Se=!1,ie={error:Mt,text:ie})}}Se?(K.next(new ye({body:ie,headers:Gt,status:oe,statusText:X,url:j||void 0})),K.complete()):K.error(new he({error:ie,headers:Gt,status:oe,statusText:X,url:j||void 0}))},un=Gt=>{const{url:oe}=dt(),X=new he({error:Gt,status:ue.status||0,statusText:ue.statusText||"Unknown Error",url:oe||void 0});K.error(X)};let Ht=!1;const en=Gt=>{Ht||(K.next(dt()),Ht=!0);let oe={type:xe.DownloadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(oe.total=Gt.total),"text"===T.responseType&&!!ue.responseText&&(oe.partialText=ue.responseText),K.next(oe)},pt=Gt=>{let oe={type:xe.UploadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(oe.total=Gt.total),K.next(oe)};return ue.addEventListener("load",vt),ue.addEventListener("error",un),ue.addEventListener("timeout",un),ue.addEventListener("abort",un),T.reportProgress&&(ue.addEventListener("progress",en),null!==$e&&ue.upload&&ue.upload.addEventListener("progress",pt)),ue.send($e),K.next({type:xe.Sent}),()=>{ue.removeEventListener("error",un),ue.removeEventListener("abort",un),ue.removeEventListener("load",vt),ue.removeEventListener("timeout",un),T.reportProgress&&(ue.removeEventListener("progress",en),null!==$e&&ue.upload&&ue.upload.removeEventListener("progress",pt)),ue.readyState!==ue.DONE&&ue.abort()}})}}return x.\u0275fac=function(T){return new(T||x)(c.LFG(m.JF))},x.\u0275prov=c.Yz7({token:x,factory:x.\u0275fac}),x})();const Ue=new c.OlP("XSRF_ENABLED"),cn="XSRF-TOKEN",gn=new c.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>cn}),Rt="X-XSRF-TOKEN",$n=new c.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Rt});class Ln{}let Bt=(()=>{class x{constructor(T,K,ue){this.doc=T,this.platform=K,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 x.\u0275fac=function(T){return new(T||x)(c.LFG(m.K0),c.LFG(c.Lbi),c.LFG(gn))},x.\u0275prov=c.Yz7({token:x,factory:x.\u0275fac}),x})();function nn(x,C){const T=x.url.toLowerCase();if(!(0,c.f3M)(Ue)||"GET"===x.method||"HEAD"===x.method||T.startsWith("http://")||T.startsWith("https://"))return C(x);const K=(0,c.f3M)(Ln).getToken(),ue=(0,c.f3M)($n);return null!=K&&!x.headers.has(ue)&&(x=x.clone({headers:x.headers.set(ue,K)})),C(x)}var Ye=(()=>((Ye=Ye||{})[Ye.Interceptors=0]="Interceptors",Ye[Ye.LegacyInterceptors=1]="LegacyInterceptors",Ye[Ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ye[Ye.NoXsrfProtection=3]="NoXsrfProtection",Ye[Ye.JsonpSupport=4]="JsonpSupport",Ye[Ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ye))();function In(x,C){return{\u0275kind:x,\u0275providers:C}}function kn(...x){const C=[Le,Ze,jt,{provide:P,useExisting:jt},{provide:F,useExisting:Ze},{provide:nt,useValue:nn,multi:!0},{provide:Ue,useValue:!0},{provide:Ln,useClass:Bt}];for(const T of x)C.push(...T.\u0275providers);return(0,c.MR2)(C)}const qn=new c.OlP("LEGACY_INTERCEPTOR_FN");function Be({cookieName:x,headerName:C}){const T=[];return void 0!==x&&T.push({provide:gn,useValue:x}),void 0!==C&&T.push({provide:$n,useValue:C}),In(Ye.CustomXsrfConfiguration,T)}let gt=(()=>{class x{}return x.\u0275fac=function(T){return new(T||x)},x.\u0275mod=c.oAB({type:x}),x.\u0275inj=c.cJS({providers:[kn(In(Ye.LegacyInterceptors,[{provide:qn,useFactory:bn},{provide:nt,useExisting:qn,multi:!0}]),Be({cookieName:cn,headerName:Rt}))]}),x})()},2560:(Me,z,g)=>{g.d(z,{$8M:()=>Xr,$Z:()=>co,AFp:()=>My,ALo:()=>Gv,AaK:()=>P,AsE:()=>ug,BQk:()=>xh,CHM:()=>Ra,CRH:()=>ny,CZH:()=>Wh,CqO:()=>s_,D6c:()=>Iw,EJc:()=>WD,EiD:()=>Uc,EpF:()=>i_,F$t:()=>d_,F4k:()=>o_,FYo:()=>ca,FiY:()=>Ns,G48:()=>uw,Gf:()=>ey,GfV:()=>Xd,GkF:()=>tg,Gpc:()=>L,Gre:()=>$_,Hsn:()=>h_,JOm:()=>ni,JVY:()=>Js,Jf7:()=>fl,KtG:()=>Ts,L6k:()=>Wf,LAX:()=>Gf,LFG:()=>gt,LSH:()=>al,Lbi:()=>VD,Lck:()=>Rv,MAs:()=>r_,MGl:()=>Ph,MMx:()=>Eg,MR2:()=>Zf,NdJ:()=>rg,O4$:()=>W,OlP:()=>Kt,Oqu:()=>cg,P3R:()=>Xo,Q2q:()=>Jp,Q6J:()=>Xp,QGY:()=>ng,QP$:()=>Ar,QbO:()=>HD,Qsj:()=>os,R0b:()=>si,RDi:()=>_m,Rgc:()=>Ru,SBq:()=>hl,Sil:()=>KD,Suo:()=>ty,TTD:()=>Es,TgZ:()=>Ah,Tol:()=>I_,Udp:()=>sg,VKq:()=>Uv,W1O:()=>sy,WD2:()=>Ki,WFA:()=>ig,WLB:()=>Vv,XFs:()=>Ue,Xpm:()=>Mt,Xts:()=>cl,Y36:()=>lo,YKP:()=>Av,YNc:()=>n_,Yjl:()=>gs,Yz7:()=>St,Z0I:()=>te,ZZ4:()=>zg,_Bn:()=>Iv,_UZ:()=>eg,_Vd:()=>la,_c5:()=>Mw,_uU:()=>N_,aQg:()=>Wg,c2e:()=>$D,cJS:()=>Ke,cg1:()=>hg,d8E:()=>dg,dDg:()=>nw,dqk:()=>Bt,eBb:()=>Pc,eFA:()=>By,ekj:()=>ag,eoX:()=>Ny,evT:()=>da,f3M:()=>ge,g9A:()=>Iy,h0i:()=>Nl,hGG:()=>Tw,hM9:()=>Lb,hij:()=>Nh,iGM:()=>qv,ifc:()=>Ht,ip1:()=>Sy,jDz:()=>xv,kL8:()=>ev,kcU:()=>Ie,lG2:()=>ps,lcZ:()=>Kv,lqb:()=>Ui,lri:()=>Py,mCW:()=>qs,n5z:()=>sc,n_E:()=>Vh,oAB:()=>zr,oJD:()=>Wd,oxw:()=>u_,pB0:()=>Bd,q3G:()=>yn,q4F:()=>qd,qLn:()=>ua,qOj:()=>Kp,qZA:()=>Rh,qzn:()=>Qo,rWj:()=>Fy,s9C:()=>og,sBO:()=>dw,sIi:()=>Eu,s_b:()=>Hh,soG:()=>Gh,tp0:()=>Ur,uIk:()=>Qp,vHH:()=>H,vpe:()=>Gi,wAp:()=>_t,xp6:()=>ou,ynx:()=>Oh,z2F:()=>Kh,z3N:()=>ri,zSh:()=>Yc,zs3:()=>Vi});var m=g(253),c=g(7714),U=g(833),O=g(6646),N=g(1203);function k(e){for(let t in e)if(e[t]===k)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 P(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(P).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=k({__forward_ref__:k});function L(e){return e.__forward_ref__=L,e.toString=function(){return P(this())},e}function R(e){return ee(e)?e():e}function ee(e){return"function"==typeof e&&e.hasOwnProperty(I)&&e.__forward_ref__===L}function Y(e){return e&&!!e.\u0275providers}class H extends Error{constructor(t,n){super(function J(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function se(e,t){throw new H(-201,!1)}function Xe(e,t){null==e&&function nt(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 Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fe(e){return Te(e,fe)||Te(e,He)}function te(e){return null!==Fe(e)}function Te(e,t){return e.hasOwnProperty(t)?e[t]:null}function re(e){return e&&(e.hasOwnProperty(Oe)||e.hasOwnProperty(Ze))?e[Oe]:null}const fe=k({\u0275prov:k}),Oe=k({\u0275inj:k}),He=k({ngInjectableDef:k}),Ze=k({ngInjectorDef:k});var Ue=(()=>((Ue=Ue||{})[Ue.Default=0]="Default",Ue[Ue.Host=1]="Host",Ue[Ue.Self=2]="Self",Ue[Ue.SkipSelf=4]="SkipSelf",Ue[Ue.Optional=8]="Optional",Ue))();let cn;function Rt(e){const t=cn;return cn=e,t}function $n(e,t,n){const o=Fe(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&Ue.Optional?null:void 0!==t?t:void se(P(e))}const Bt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),In={},kn="__NG_DI_FLAG__",qt="ngTempTokenPath",ln=/\n/gm,Q="__source";let le;function De(e){const t=le;return le=e,t}function ft(e,t=Ue.Default){if(void 0===le)throw new H(-203,!1);return null===le?$n(e,void 0,t):le.get(e,t&Ue.Optional?null:void 0,t)}function gt(e,t=Ue.Default){return(function gn(){return cn}()||ft)(R(e),t)}function ge(e,t=Ue.Default){return gt(e,x(t))}function x(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function C(e){const t=[];for(let n=0;n<e.length;n++){const o=R(e[n]);if(Array.isArray(o)){if(0===o.length)throw new H(900,!1);let s,u=Ue.Default;for(let h=0;h<o.length;h++){const p=o[h],v=K(p);"number"==typeof v?-1===v?s=p.token:u|=v:s=p}t.push(gt(s,u))}else t.push(gt(o))}return t}function T(e,t){return e[kn]=t,e.prototype[kn]=t,e}function K(e){return e[kn]}function tt(e){return{toString:e}.toString()}var dt=(()=>((dt=dt||{})[dt.OnPush=0]="OnPush",dt[dt.Default=1]="Default",dt))(),Ht=(()=>{return(e=Ht||(Ht={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ht;var e})();const en={},pt=[],Gt=k({\u0275cmp:k}),oe=k({\u0275dir:k}),X=k({\u0275pipe:k}),j=k({\u0275mod:k}),ie=k({\u0275fac:k}),Se=k({__NG_ELEMENT_ID__:k});let at=0;function Mt(e){return tt(()=>{const n=!0===e.standalone,o={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===dt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||pt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,id:"c"+at++,styles:e.styles||pt,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},u=e.dependencies,h=e.features;return s.inputs=Ci(e.inputs,o),s.outputs=Ci(e.outputs),h&&h.forEach(p=>p(s)),s.directiveDefs=u?()=>("function"==typeof u?u():u).map(Bn).filter(wn):null,s.pipeDefs=u?()=>("function"==typeof u?u():u).map(Un).filter(wn):null,s})}function Bn(e){return Ut(e)||Cn(e)}function wn(e){return null!==e}function zr(e){return tt(()=>({type:e.type,bootstrap:e.bootstrap||pt,declarations:e.declarations||pt,imports:e.imports||pt,exports:e.exports||pt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ci(e,t){if(null==e)return en;const n={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],u=s;Array.isArray(s)&&(u=s[1],s=s[0]),n[s]=o,t&&(t[s]=u)}return n}const ps=Mt;function gs(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[Gt]||null}function Cn(e){return e[oe]||null}function Un(e){return e[X]||null}function Ar(e){const t=Ut(e)||Cn(e)||Un(e);return null!==t&&t.standalone}function er(e,t){const n=e[j]||null;if(!n&&!0===t)throw new Error(`Type ${P(e)} does not have '\u0275mod' property.`);return n}function nr(e){return Array.isArray(e)&&"object"==typeof e[1]}function rr(e){return Array.isArray(e)&&!0===e[1]}function Ca(e){return 0!=(4&e.flags)}function mo(e){return e.componentOffset>-1}function _o(e){return 1==(1&e.flags)}function fr(e){return null!==e.template}function _s(e){return 0!=(256&e[2])}function vr(e,t){return e.hasOwnProperty(ie)?e[ie]:null}class Ki{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Es(){return Kl}function Kl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vu),bs}function bs(){const e=yo(this),t=e?.current;if(t){const n=e.previous;if(n===en)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function Vu(e,t,n,o){const s=this.declaredInputs[n],u=yo(e)||function Zl(e,t){return e[vo]=t}(e,{previous:en,current:null}),h=u.current||(u.current={}),p=u.previous,v=p[s];h[s]=new Ki(v&&v.currentValue,t,p===en),e[o]=t}Es.ngInherit=!0;const vo="__ngSimpleChanges__";function yo(e){return e[vo]||null}function _n(e){for(;Array.isArray(e);)e=e[0];return e}function bo(e,t){return _n(t[e])}function pr(e,t){return _n(t[e.index])}function Ss(e,t){return e.data[t]}function di(e,t){return e[t]}function ir(e,t){const n=t[e];return nr(n)?n:n[0]}function Do(e){return 64==(64&e[2])}function Zr(e,t){return null==t?null:e[t]}function Ms(e){e[18]=0}function Zi(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 bt={lFrame:So(null),bindingsEnabled:!0};function Jl(){return bt.bindingsEnabled}function Re(){return bt.lFrame.lView}function Lt(){return bt.lFrame.tView}function Ra(e){return bt.lFrame.contextLView=e,e[8]}function Ts(e){return bt.lFrame.contextLView=null,e}function jn(){let e=ql();for(;null!==e&&64===e.type;)e=e.parent;return e}function ql(){return bt.lFrame.currentTNode}function On(e,t){const n=bt.lFrame;n.currentTNode=e,n.isParent=t}function Oa(){return bt.lFrame.isParent}function Yi(){bt.lFrame.isParent=!1}function Yt(){const e=bt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wo(){return bt.lFrame.bindingIndex++}function yr(e){const t=bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function an(e,t){const n=bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xa(t)}function xa(e){bt.lFrame.currentDirectiveIndex=e}function Is(e){const t=bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function or(){return bt.lFrame.currentQueryIndex}function Ot(e){bt.lFrame.currentQueryIndex=e}function Pa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Co(e,t,n){if(n&Ue.SkipSelf){let s=t,u=e;for(;!(s=s.parent,null!==s||n&Ue.Host||(s=Pa(u),null===s||(u=u[15],10&s.type))););if(null===s)return!1;t=s,e=u}const o=bt.lFrame=ec();return o.currentTNode=t,o.lView=e,!0}function Ji(e){const t=ec(),n=e[1];bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ec(){const e=bt.lFrame,t=null===e?null:e.child;return null===t?So(e):t}function So(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 sr(){const e=bt.lFrame;return bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fa=sr;function Mo(){const e=sr();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 w(){return bt.lFrame.selectedIndex}function y(e){bt.lFrame.selectedIndex=e}function S(){const e=bt.lFrame;return Ss(e.tView,e.selectedIndex)}function W(){bt.lFrame.currentNamespace="svg"}function Ie(){!function qe(){bt.lFrame.currentNamespace=null}()}function Vt(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:D,ngOnDestroy:M}=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),D&&((e.viewHooks||(e.viewHooks=[])).push(n,D),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,D)),null!=M&&(e.destroyHooks||(e.destroyHooks=[])).push(n,M)}}function It(e,t,n){on(e,t,3,n)}function Xt(e,t,n,o){(3&e[2])===n&&on(e,t,n,o)}function kt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function on(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)&&(zn(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function zn(e,t,n,o){const s=n[o]<0,u=n[o+1],p=e[s?-n[o]:n[o]];if(s){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 Er{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function Or(e,t,n){let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const u=n[o++],h=n[o++],p=n[o++];e.setAttribute(t,h,p,u)}else{const u=s,h=n[++o];Yu(u)?e.setProperty(t,u,h):e.setAttribute(t,u,h),o++}}return o}function Na(e){return 3===e||4===e||6===e}function Yu(e){return 64===e.charCodeAt(0)}function Ao(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 s=t[o];"number"==typeof s?n=s:0===n||tc(e,n,s,null,-1===n||2===n?t[++o]:null)}}return e}function tc(e,t,n,o,s){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!==s&&(e[u+1]=s));if(o===e[u+1])return void(e[u+2]=s)}u++,null!==o&&u++,null!==s&&u++}-1!==h&&(e.splice(h,0,t),u=h+1),e.splice(u++,0,n),null!==o&&e.splice(u++,0,o),null!==s&&e.splice(u++,0,s)}function ar(e){return-1!==e}function Xi(e){return 32767&e}function qi(e,t){let n=function nc(e){return e>>16}(e),o=t;for(;n>0;)o=o[15],n--;return o}let Ro=!0;function La(e){const t=Ro;return Ro=e,t}let nf=0;const Jr={};function ka(e,t){const n=ic(e,t);if(-1!==n)return n;const o=t[1];o.firstCreatePass&&(e.injectorIndex=t.length,rc(o.data,e),rc(t,null),rc(o.blueprint,null));const s=As(e,t),u=e.injectorIndex;if(ar(s)){const h=Xi(s),p=qi(s,t),v=p[1].data;for(let D=0;D<8;D++)t[u+D]=p[h+D]|v[h+D]}return t[u+8]=s,u}function rc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ic(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function As(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,s=t;for(;null!==s;){if(o=id(s),null===o)return-1;if(n++,s=s[15],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return-1}function Xu(e,t,n){!function rf(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(Se)&&(o=n[Se]),null==o&&(o=n[Se]=nf++);const s=255&o;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Ba(e,t,n){if(n&Ue.Optional||void 0!==e)return e;se()}function qu(e,t,n,o){if(n&Ue.Optional&&void 0===o&&(o=null),0==(n&(Ue.Self|Ue.Host))){const s=e[9],u=Rt(void 0);try{return s?s.get(t,o,n&Ue.Optional):$n(t,o,n&Ue.Optional)}finally{Rt(u)}}return Ba(o,0,n)}function Rs(e,t,n,o=Ue.Default,s){if(null!==e){if(1024&t[2]){const h=function rm(e,t,n,o,s){let u=e,h=t;for(;null!==u&&null!==h&&1024&h[2]&&!(256&h[2]);){const p=oc(u,h,n,o|Ue.Self,Jr);if(p!==Jr)return p;let v=u.parent;if(!v){const D=h[21];if(D){const M=D.get(n,Jr,o);if(M!==Jr)return M}v=id(h),h=h[15]}u=v}return s}(e,t,n,o,Jr);if(h!==Jr)return h}const u=oc(e,t,n,o,Jr);if(u!==Jr)return u}return qu(t,n,o,s)}function oc(e,t,n,o,s){const u=function td(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Se)?e[Se]:void 0;return"number"==typeof t?t>=0?255&t:af:t}(n);if("function"==typeof u){if(!Co(t,e,o))return o&Ue.Host?Ba(s,0,o):qu(t,n,o,s);try{const h=u(o);if(null!=h||o&Ue.Optional)return h;se()}finally{Fa()}}else if("number"==typeof u){let h=null,p=ic(e,t),v=-1,D=o&Ue.Host?t[16][6]:null;for((-1===p||o&Ue.SkipSelf)&&(v=-1===p?As(e,t):t[p+8],-1!==v&&rd(o,!1)?(h=t[1],p=Xi(v),t=qi(v,t)):p=-1);-1!==p;){const M=t[1];if(nd(u,p,M.data)){const B=ed(p,t,n,h,o,D);if(B!==Jr)return B}v=t[p+8],-1!==v&&rd(o,t[1].data[p+8]===D)&&nd(u,p,t)?(h=M,p=Xi(v),t=qi(v,t)):p=-1}}return s}function ed(e,t,n,o,s,u){const h=t[1],p=h.data[e+8],M=Os(p,h,n,null==o?mo(p)&&Ro:o!=h&&0!=(3&p.type),s&Ue.Host&&u===p);return null!==M?Ri(t,h,M,p):Jr}function Os(e,t,n,o,s){const u=e.providerIndexes,h=t.data,p=1048575&u,v=e.directiveStart,M=u>>20,q=s?p+M:e.directiveEnd;for(let de=o?p:p+M;de<q;de++){const we=h[de];if(de<v&&n===we||de>=v&&we.type===n)return de}if(s){const de=h[v];if(de&&fr(de)&&de.type===n)return v}return null}function Ri(e,t,n,o){let s=e[n];const u=t.data;if(function Qr(e){return e instanceof Er}(s)){const h=s;h.resolving&&function ze(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(u[n]));const p=La(h.canSeeViewProviders);h.resolving=!0;const v=h.injectImpl?Rt(h.injectImpl):null;Co(e,o,Ue.Default);try{s=e[n]=h.factory(void 0,u,e,o),t.firstCreatePass&&n>=o.directiveStart&&function zt(e,t,n){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:u}=t.type.prototype;if(o){const h=Kl(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,u[n],t)}finally{null!==v&&Rt(v),La(p),h.resolving=!1,Fa()}}return s}function nd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function rd(e,t){return!(e&Ue.Self||e&Ue.Host&&t)}class Oo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,o){return Rs(this._tNode,this._lView,t,x(o),n)}}function af(){return new Oo(jn(),Re())}function sc(e){return tt(()=>{const t=e.prototype.constructor,n=t[ie]||ac(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const u=s[ie]||ac(s);if(u&&u!==n)return u;s=Object.getPrototypeOf(s)}return u=>new u})}function ac(e){return ee(e)?()=>{const t=ac(R(e));return t&&t()}:vr(e)}function id(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Xr(e){return function sf(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 s=0;for(;s<o;){const u=n[s];if(Na(u))break;if(0===u)s+=2;else if("number"==typeof u)for(s++;s<o&&"string"==typeof n[s];)s++;else{if(u===t)return n[s+1];s+=2}}}return null}(jn(),e)}const Po="__parameters__";function No(e,t,n){return tt(()=>{const o=function Fo(e){return function(...n){if(e){const o=e(...n);for(const s in o)this[s]=o[s]}}}(t);function s(...u){if(this instanceof s)return o.apply(this,u),this;const h=new s(...u);return p.annotation=h,p;function p(v,D,M){const B=v.hasOwnProperty(Po)?v[Po]:Object.defineProperty(v,Po,{value:[]})[Po];for(;B.length<=M;)B.push(null);return(B[M]=B[M]||[]).push(h),v}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class Kt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=St({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function br(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)),br(o,t)):t!==e&&t.push(o)}return t}function ti(e,t){e.forEach(n=>Array.isArray(n)?ti(n,t):t(n))}function Lo(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ko(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bo(e,t){const n=[];for(let o=0;o<e;o++)n.push(t);return n}function wr(e,t,n){let o=Fs(e,t);return o>=0?e[1|o]=n:(o=~o,function Dr(e,t,n,o){let s=e.length;if(s==t)e.push(n,o);else if(1===s)e.push(o,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function dc(e,t){const n=Fs(e,t);if(n>=0)return e[1|n]}function Fs(e,t){return function hd(e,t,n){let o=0,s=e.length>>n;for(;s!==o;){const u=o+(s-o>>1),h=e[u<<n];if(t===h)return u<<n;h>t?s=u:o=u+1}return~(s<<n)}(e,t,1)}const Ns=T(No("Optional"),8),Ur=T(No("SkipSelf"),4);var ni=(()=>((ni=ni||{})[ni.Important=1]="Important",ni[ni.DashCase=2]="DashCase",ni))();const vc=new Map;let Af=0;const Hs="__ngContext__";function Sn(e,t){nr(t)?(e[Hs]=t[20],function Of(e){vc.set(e[20],e)}(t)):e[Hs]=t}function $s(e,t){return undefined(e,t)}function $o(e){const t=e[3];return rr(t)?t[3]:t}function Za(e){return At(e[13])}function Ya(e){return At(e[4])}function At(e){for(;null!==e&&!rr(e);)e=e[4];return e}function zo(e,t,n,o,s){if(null!=o){let u,h=!1;rr(o)?u=o:nr(o)&&(h=!0,o=o[0]);const p=_n(o);0===e&&null!==n?null==s?Ws(t,n,p):Ni(t,n,p,s||null,!0):1===e&&null!==n?Ni(t,n,p,s||null,!0):2===e?function Ys(e,t,n){const o=qa(e,t);o&&function Ft(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,p,h):3===e&&t.destroyNode(p),null!=u&&function jf(e,t,n,o,s){const u=n[7];u!==_n(n)&&zo(t,e,o,u,s);for(let p=10;p<n.length;p++){const v=n[p];Go(v[1],v,e,t,o,u)}}(t,e,u,n,s)}}function xr(e,t,n){return e.createElement(t,n)}function zs(e,t){const n=e[9],o=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,Zi(s,-1)),n.splice(o,1)}function wc(e,t){if(e.length<=10)return;const n=10+t,o=e[n];if(o){const s=o[17];null!==s&&s!==e&&zs(s,o),t>0&&(e[n-1][4]=o[4]);const u=ko(e,10+t);!function Sd(e,t){Go(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 Cc(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Go(e,t,n,3,null,null),function gm(e){let t=e[13];if(!t)return Ja(e[1],e);for(;t;){let n=null;if(nr(t))n=t[13];else{const o=t[10];o&&(n=o)}if(!n){for(;t&&!t[4]&&t!==e;)nr(t)&&Ja(t[1],t),t=t[3];null===t&&(t=e),nr(t)&&Ja(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ja(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Id(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o<n.length;o+=2){const s=t[n[o]];if(!(s instanceof Er)){const u=n[o+1];if(Array.isArray(u))for(let h=0;h<u.length;h+=2){const p=s[u[h]],v=u[h+1];try{v.call(p)}finally{}}else try{u.call(s)}finally{}}}}(e,t),function Vf(e,t){const n=e.cleanup,o=t[7];let s=-1;if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const h=n[u+1],p="function"==typeof h?h(t):_n(t[h]),v=o[s=n[u+2]],D=n[u+3];"boolean"==typeof D?p.removeEventListener(n[u],v,D):D>=0?o[s=D]():o[s=-D].unsubscribe(),u+=2}else{const h=o[s=n[u+1]];n[u].call(h)}if(null!==o){for(let u=s+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&&rr(t[3])){n!==t[3]&&zs(n,t);const o=t[19];null!==o&&o.detachView(e)}!function xf(e){vc.delete(e[20])}(t)}}function Ad(e,t,n){return function Sc(e,t,n){let o=t;for(;null!==o&&40&o.type;)o=(t=o).parent;if(null===o)return n[0];{const{componentOffset:s}=o;if(s>-1){const{encapsulation:u}=e.data[o.directiveStart+s];if(u===Ht.None||u===Ht.Emulated)return null}return pr(o,n)}}(e,t.parent,n)}function Ni(e,t,n,o,s){e.insertBefore(t,n,o,s)}function Ws(e,t,n){e.appendChild(t,n)}function Li(e,t,n,o,s){null!==o?Ni(e,t,n,o,s):Ws(e,t,n)}function qa(e,t){return e.parentNode(t)}function Rd(e,t,n){return el(e,t,n)}let nl,Qs,il,el=function Mc(e,t,n){return 40&e.type?pr(e,n):null};function ki(e,t,n,o){const s=Ad(e,o,t),u=t[11],p=Rd(o.parent||t[6],o,t);if(null!=s)if(Array.isArray(n))for(let v=0;v<n.length;v++)Li(u,s,n[v],p,!1);else Li(u,s,n,p,!1)}function Ks(e,t){if(null!==t){const n=t.type;if(3&n)return pr(t,e);if(4&n)return Ic(-1,e[t.index]);if(8&n){const o=t.child;if(null!==o)return Ks(e,o);{const s=e[t.index];return rr(s)?Ic(-1,s):_n(s)}}if(32&n)return $s(t,e)()||_n(e[t.index]);{const o=Zs(e,t);return null!==o?Array.isArray(o)?o[0]:Ks($o(e[16]),o):Ks(e,t.next)}}return null}function Zs(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ic(e,t){const n=10+e+1;if(n<t.length){const o=t[n],s=o[1].firstChild;if(null!==s)return Ks(o,s)}return t[7]}function Wo(e,t,n,o,s,u,h){for(;null!=n;){const p=o[n.index],v=n.type;if(h&&0===t&&(p&&Sn(_n(p),o),n.flags|=2),32!=(32&n.flags))if(8&v)Wo(e,t,n.child,o,s,u,!1),zo(t,e,s,p,u);else if(32&v){const D=$s(n,o);let M;for(;M=D();)zo(t,e,s,M,u);zo(t,e,s,p,u)}else 16&v?xd(e,t,o,n,s,u):zo(t,e,s,p,u);n=h?n.projectionNext:n.next}}function Go(e,t,n,o,s,u){Wo(n,o,e.firstChild,t,s,u,!1)}function xd(e,t,n,o,s,u){const h=n[16],v=h[6].projection[o.projection];if(Array.isArray(v))for(let D=0;D<v.length;D++)zo(t,e,s,v[D],u);else Wo(e,t,v,h[3],s,u,!0)}function Pd(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Fd(e,t,n){const{mergedAttrs:o,classes:s,styles:u}=n;null!==o&&Or(e,t,o),null!==s&&Pd(e,t,s),null!==u&&function tl(e,t,n){e.setAttribute(t,"style",n)}(e,t,u)}function ro(e){return function Ac(){if(void 0===nl&&(nl=null,Bt.trustedTypes))try{nl=Bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nl}()?.createHTML(e)||e}function _m(e){Qs=e}function Oc(){if(void 0===il&&(il=null,Bt.trustedTypes))try{il=Bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return il}function Ko(e){return Oc()?.createHTML(e)||e}function oo(e){return Oc()?.createScriptURL(e)||e}class Bi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ld extends Bi{getTypeName(){return"HTML"}}class kd extends Bi{getTypeName(){return"Style"}}class Yo extends Bi{getTypeName(){return"Script"}}class $f extends Bi{getTypeName(){return"URL"}}class zf extends Bi{getTypeName(){return"ResourceURL"}}function ri(e){return e instanceof Bi?e.changingThisBreaksApplicationSecurity:e}function Qo(e,t){const n=function xc(e){return e instanceof Bi&&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 https://g.co/ng/security#xss)`)}return n===t}function Js(e){return new Ld(e)}function Wf(e){return new kd(e)}function Pc(e){return new Yo(e)}function Gf(e){return new $f(e)}function Bd(e){return new zf(e)}class gi{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ro(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Ud{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=ro(t),n;const o=this.inertDocument.createElement("body");return o.innerHTML=ro(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(o),o}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const h=n.item(s).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 ol=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function qs(e){return(e=String(e)).match(ol)?e:"unsafe:"+e}function mi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ea(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const Vd=mi("area,br,col,hr,img,wbr"),jd=mi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hd=mi("rp,rt"),Nc=ea(Vd,ea(jd,mi("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")),ea(Hd,mi("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")),ea(Hd,jd)),Lc=mi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$d=ea(Lc,mi("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"),mi("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")),zd=mi("script,style,template");class kc{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 s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Nc.hasOwnProperty(n))return this.sanitizedSomething=!0,!zd.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let s=0;s<o.length;s++){const u=o.item(s),h=u.name,p=h.toLowerCase();if(!$d.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=u.value;Lc[p]&&(v=qs(v)),this.buf.push(" ",h,'="',so(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Nc.hasOwnProperty(n)&&!Vd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(so(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 Bc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_i=/([^\#-~ |!])/g;function so(e){return e.replace(/&/g,"&").replace(Bc,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(_i,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ta;function Uc(e,t){let n=null;try{ta=ta||function Fc(e){const t=new Ud(e);return function Xs(){try{return!!(new window.DOMParser).parseFromString(ro(""),"text/html")}catch{return!1}}()?new gi(t):t}(e);let o=t?String(t):"";n=ta.getInertBodyElement(o);let s=5,u=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=u,u=n.innerHTML,n=ta.getInertBodyElement(o)}while(o!==u);return ro((new kc).sanitizeChildren(Vc(n)||n))}finally{if(n){const o=Vc(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Vc(e){return"content"in e&&function Jo(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yn=(()=>((yn=yn||{})[yn.NONE=0]="NONE",yn[yn.HTML=1]="HTML",yn[yn.STYLE=2]="STYLE",yn[yn.SCRIPT=3]="SCRIPT",yn[yn.URL=4]="URL",yn[yn.RESOURCE_URL=5]="RESOURCE_URL",yn))();function Wd(e){const t=ao();return t?Ko(t.sanitize(yn.HTML,e)||""):Qo(e,"HTML")?Ko(ri(e)):Uc(function Nd(){return void 0!==Qs?Qs:typeof document<"u"?document:void 0}(),G(e))}function al(e){const t=ao();return t?t.sanitize(yn.URL,e)||"":Qo(e,"URL")?ri(e):qs(G(e))}function ll(e){const t=ao();if(t)return oo(t.sanitize(yn.RESOURCE_URL,e)||"");if(Qo(e,"ResourceURL"))return oo(ri(e));throw new H(904,!1)}function Xo(e,t,n){return function Kf(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ll:al}(t,n)(e)}function ao(){const e=Re();return e&&e[12]}const cl=new Kt("ENVIRONMENT_INITIALIZER"),$c=new Kt("INJECTOR",-1),zc=new Kt("INJECTOR_DEF_TYPES");class Wc{get(t,n=In){if(n===In){const o=new Error(`NullInjectorError: No provider for ${P(t)}!`);throw o.name="NullInjectorError",o}return n}}function Zf(e){return{\u0275providers:e}}function na(...e){return{\u0275providers:ra(0,e),\u0275fromNgModule:!0}}function ra(e,...t){const n=[],o=new Set;let s;return ti(t,u=>{const h=u;Kc(h,n,[],o)&&(s||(s=[]),s.push(h))}),void 0!==s&&Gc(s,n),n}function Gc(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];ul(s,u=>{t.push(u)})}}function Kc(e,t,n,o){if(!(e=R(e)))return!1;let s=null,u=re(e);const h=!u&&Ut(e);if(u||h){if(h&&!h.standalone)return!1;s=e}else{const v=e.ngModule;if(u=re(v),!u)return!1;s=v}const p=o.has(s);if(h){if(p)return!1;if(o.add(s),h.dependencies){const v="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const D of v)Kc(D,t,n,o)}}else{if(!u)return!1;{if(null!=u.imports&&!p){let D;o.add(s);try{ti(u.imports,M=>{Kc(M,t,n,o)&&(D||(D=[]),D.push(M))})}finally{}void 0!==D&&Gc(D,t)}if(!p){const D=vr(s)||(()=>new s);t.push({provide:s,useFactory:D,deps:pt},{provide:zc,useValue:s,multi:!0},{provide:cl,useValue:()=>gt(s),multi:!0})}const v=u.providers;null==v||p||ul(v,M=>{t.push(M)})}}return s!==e&&void 0!==e.providers}function ul(e,t){for(let n of e)Y(n)&&(n=n.\u0275providers),Array.isArray(n)?ul(n,t):t(n)}const Kd=k({provide:String,useValue:k});function Zd(e){return null!==e&&"object"==typeof e&&Kd in e}function qo(e){return"function"==typeof e}const Yc=new Kt("Set Injector scope."),dl={},Jf={};let ia;function cr(){return void 0===ia&&(ia=new Wc),ia}class Ui{}class es extends Ui{constructor(t,n,o,s){super(),this.parent=n,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Jc(t,h=>this.processProvider(h)),this.records.set($c,ts(void 0,this)),s.has("environment")&&this.records.set(Ui,ts(void 0,this));const u=this.records.get(Yc);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(zc.multi,pt,Ue.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=De(this),o=Rt(void 0);try{return t()}finally{De(n),Rt(o)}}get(t,n=In,o=Ue.Default){this.assertNotDestroyed(),o=x(o);const s=De(this),u=Rt(void 0);try{if(!(o&Ue.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function sa(e){return"function"==typeof e||"object"==typeof e&&e instanceof Kt}(t)&&Fe(t);p=v&&this.injectableDefInScope(v)?ts(Qc(t),dl):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(o&Ue.Self?cr():this.parent).get(t,n=o&Ue.Optional&&n===In?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[qt]=h[qt]||[]).unshift(P(t)),s)throw h;return function ue(e,t,n,o){const s=e[qt];throw t[Q]&&s.unshift(t[Q]),e.message=function $e(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=P(t);if(Array.isArray(t))s=t.map(P).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):P(p)))}s=`{${u.join(", ")}}`}return`${n}${o?"("+o+")":""}[${s}]: ${e.replace(ln,"\n ")}`}("\n"+e.message,s,n,o),e.ngTokenPath=s,e[qt]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{Rt(u),De(s)}}resolveInjectorInitializers(){const t=De(this),n=Rt(void 0);try{const o=this.get(cl.multi,pt,Ue.Self);for(const s of o)s()}finally{De(t),Rt(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(P(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let n=qo(t=R(t))?t:R(t&&t.provide);const o=function Yd(e){return Zd(e)?ts(void 0,e.useValue):ts(oa(e),dl)}(t);if(qo(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=ts(void 0,dl,!0),s.factory=()=>C(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===dl&&(n.value=Jf,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ns(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=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Qc(e){const t=Fe(e),n=null!==t?t.factory:vr(e);if(null!==n)return n;if(e instanceof Kt)throw new H(204,!1);if(e instanceof Function)return function Xf(e){const t=e.length;if(t>0)throw Bo(t,"?"),new H(204,!1);const n=function be(e){const t=e&&(e[fe]||e[He]);if(t){const n=function ke(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 oa(e,t,n){let o;if(qo(e)){const s=R(e);return vr(s)||Qc(s)}if(Zd(e))o=()=>R(e.useValue);else if(function Qf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...C(e.deps||[]));else if(function Yf(e){return!(!e||!e.useExisting)}(e))o=()=>gt(R(e.useExisting));else{const s=R(e&&(e.useClass||e.provide));if(!function qf(e){return!!e.deps}(e))return vr(s)||Qc(s);o=()=>new s(...C(e.deps))}return o}function ts(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Jc(e,t){for(const n of e)Array.isArray(n)?Jc(n,t):n&&Y(n)?Jc(n.\u0275providers,t):t(n)}class ep{}class rs{}class tp{resolveComponentFactory(t){throw function aa(e){const t=Error(`No component factory found for ${P(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let la=(()=>{class e{}return e.NULL=new tp,e})();function np(){return is(jn(),Re())}function is(e,t){return new hl(pr(e,t))}let hl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=np,e})();function rp(e){return e instanceof hl?e.nativeElement:e}class ca{}let os=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ip(){const e=Re(),n=ir(jn().index,e);return(nr(n)?n:e)[11]}(),e})(),op=(()=>{class e{}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>null}),e})();class Xd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const qd=new Xd("15.0.0"),Xc={};function eu(e){return e.ngOriginalError}class ua{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&&eu(t);for(;n&&eu(n);)n=eu(n);return n||null}}function fl(e){return e.ownerDocument.defaultView}function da(e){return e.ownerDocument}function vi(e){return e instanceof Function?e():e}function ru(e,t,n){let o=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const u=t.length;if(s+u===o||e.charCodeAt(s+u)<=32)return s}n=s+1}}const iu="ng-template";function hp(e,t,n){let o=0;for(;o<e.length;){let s=e[o++];if(n&&"class"===s){if(s=e[o],-1!==ru(s.toLowerCase(),t,0))return!0}else if(1===s){for(;o<e.length&&"string"==typeof(s=e[o++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function nh(e){return 4===e.type&&e.value!==iu}function fp(e,t,n){return t===(4!==e.type||n?e.value:iu)}function pp(e,t,n){let o=4;const s=e.attrs||[],u=function mp(e){for(let t=0;t<e.length;t++)if(Na(e[t]))return t;return e.length}(s);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&&!fp(e,v,n)||""===v&&1===t.length){if(Vr(o))return!1;h=!0}}else{const D=8&o?v:t[++p];if(8&o&&null!==e.attrs){if(!hp(e.attrs,D,n)){if(Vr(o))return!1;h=!0}continue}const B=rh(8&o?"class":v,s,nh(e),n);if(-1===B){if(Vr(o))return!1;h=!0;continue}if(""!==D){let q;q=B>u?"":s[B+1].toLowerCase();const de=8&o?q:null;if(de&&-1!==ru(de,D,0)||2&o&&D!==q){if(Vr(o))return!1;h=!0}}}}else{if(!h&&!Vr(o)&&!Vr(v))return!1;if(h&&Vr(v))continue;h=!1,o=v|1&o}}return Vr(o)||h}function Vr(e){return 0==(1&e)}function rh(e,t,n,o){if(null===t)return-1;let s=0;if(o||!n){let u=!1;for(;s<t.length;){const h=t[s];if(h===e)return s;if(3===h||6===h)u=!0;else{if(1===h||2===h){let p=t[++s];for(;"string"==typeof p;)p=t[++s];continue}if(4===h)break;if(0===h){s+=4;continue}}s+=u?1:2}return-1}return function _p(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 ih(e,t,n=!1){for(let o=0;o<t.length;o++)if(pp(e,t[o],n))return!0;return!1}function vp(e,t){e:for(let n=0;n<t.length;n++){const o=t[n];if(e.length===o.length){for(let s=0;s<e.length;s++)if(e[s]!==o[s])continue e;return!0}}return!1}function oh(e,t){return e?":not("+t.trim()+")":t}function yp(e){let t=e[0],n=1,o=2,s="",u=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&o){const p=e[++n];s+="["+h+(p.length>0?'="'+p+'"':"")+"]"}else 8&o?s+="."+h:4&o&&(s+=" "+h);else""!==s&&!Vr(h)&&(t+=oh(u,s),s=""),o=h,u=u||!Vr(o);n++}return""!==s&&(t+=oh(u,s)),t}const Ct={};function ou(e){bp(Lt(),Re(),w()+e,!1)}function bp(e,t,n,o){if(!o)if(3==(3&t[2])){const u=e.preOrderCheckHooks;null!==u&&It(t,u,n)}else{const u=e.preOrderHooks;null!==u&&Xt(t,u,0,n)}y(n)}function ml(e,t=null,n=null,o){const s=au(e,t,n,o);return s.resolveInjectorInitializers(),s}function au(e,t=null,n=null,o,s=new Set){const u=[n||pt,na(e)];return o=o||("object"==typeof e?void 0:P(e)),new es(u,t||cr(),o||null,s)}let Vi=(()=>{class e{static create(n,o){if(Array.isArray(n))return ml({name:""},o,n,"");{const s=n.name??"";return ml({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=In,e.NULL=new Wc,e.\u0275prov=St({token:e,providedIn:"any",factory:()=>gt($c)}),e.__NG_ELEMENT_ID__=-1,e})();function lo(e,t=Ue.Default){const n=Re();return null===n?gt(e,t):Rs(jn(),n,R(e),t)}function co(){throw new Error("invalid")}function ga(e,t){return e<<17|t<<2}function Xn(e){return e>>17&32767}function vh(e){return 2|e}function ji(e){return(131068&e)>>2}function yl(e,t){return-131069&e|t<<2}function ma(e){return 1|e}function Hn(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;o<n.length;o+=2){const s=n[o],u=n[o+1];if(-1!==u){const h=e.data[u];Ot(s),h.contentQueries(2,t[u],u)}}}function Sr(e,t,n,o,s,u,h,p,v,D,M){const B=t.blueprint.slice();return B[0]=s,B[2]=76|o,(null!==M||e&&1024&e[2])&&(B[2]|=1024),Ms(B),B[3]=B[15]=e,B[8]=n,B[10]=h||e&&e[10],B[11]=p||e&&e[11],B[12]=v||e&&e[12]||null,B[9]=D||e&&e[9]||null,B[6]=u,B[20]=function Rf(){return Af++}(),B[21]=M,B[16]=2==t.type?e[16]:B,B}function Mn(e,t,n,o,s){let u=e.data[t];if(null===u)u=function jr(e,t,n,o,s){const u=ql(),h=Oa(),v=e.data[t]=function ii(e,t,n,o,s,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:s,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,s);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,s),function mt(){return bt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=o,u.attrs=s;const h=function Ti(){const e=bt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===h?-1:h.injectorIndex}return On(u,!0),u}function Mr(e,t,n,o){if(0===n)return-1;const s=t.length;for(let u=0;u<n;u++)t.push(o),e.blueprint.push(o),e.data.push(null);return s}function Hr(e,t,n){Ji(t);try{const o=e.viewQuery;null!==o&&zp(1,o,n);const s=e.template;null!==s&&ds(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hn(e,t),e.staticViewQueries&&zp(2,e.viewQuery,n);const u=e.components;null!==u&&function us(e,t){for(let n=0;n<t.length;n++)w0(e,t[n])}(t,u)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[2]&=-5,Mo()}}function va(e,t,n,o){const s=t[2];if(128!=(128&s)){Ji(t);try{Ms(t),function Yr(e){return bt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ds(e,t,n,2,o);const h=3==(3&s);if(h){const D=e.preOrderCheckHooks;null!==D&&It(t,D,null)}else{const D=e.preOrderHooks;null!==D&&Xt(t,D,0,null),kt(t,0)}if(function b0(e){for(let t=Za(e);null!==t;t=Ya(t)){if(!t[2])continue;const n=t[9];for(let o=0;o<n.length;o++){const s=n[o],u=s[3];0==(512&s[2])&&Zi(u,1),s[2]|=512}}}(t),function E0(e){for(let t=Za(e);null!==t;t=Ya(t))for(let n=10;n<t.length;n++){const o=t[n],s=o[1];Do(o)&&va(s,o,s.template,o[8])}}(t),null!==e.contentQueries&&Hn(e,t),h){const D=e.contentCheckHooks;null!==D&&It(t,D)}else{const D=e.contentHooks;null!==D&&Xt(t,D,1),kt(t,1)}!function dn(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)y(~s);else{const u=s,h=n[++o],p=n[++o];an(h,u),p(2,t[u])}}}finally{y(-1)}}(e,t);const p=e.components;null!==p&&function Gn(e,t){for(let n=0;n<t.length;n++)D0(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&zp(2,v,o),h){const D=e.viewCheckHooks;null!==D&&It(t,D)}else{const D=e.viewHooks;null!==D&&Xt(t,D,2),kt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Zi(t[3],-1))}finally{Mo()}}}function ds(e,t,n,o,s){const u=w(),h=2&o;try{y(-1),h&&t.length>22&&bp(e,t,22,!1),n(o,s)}finally{y(u)}}function yi(e,t,n){if(Ca(t)){const s=t.directiveEnd;for(let u=t.directiveStart;u<s;u++){const h=e.data[u];h.contentQueries&&h.contentQueries(1,n[u],u)}}}function El(e,t,n){!Jl()||(function u0(e,t,n,o){const s=n.directiveStart,u=n.directiveEnd;e.firstCreatePass||ka(n,t),Sn(o,t);const h=n.initialInputs;for(let p=s;p<u;p++){const v=e.data[p],D=fr(v);D&&_0(t,n,v);const M=Ri(t,e,p,n);Sn(M,t),null!==h&&v0(0,p-s,M,v,0,h),D&&(ir(n.index,t)[8]=M)}}(e,t,n,pr(n,t)),64==(64&n.flags)&&km(e,t,n))}function bl(e,t,n=pr){const o=t.localNames;if(null!==o){let s=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[s++]=p}}}function et(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ct(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ct(e,t,n,o,s,u,h,p,v,D){const M=22+o,B=M+s,q=function yt(e,t){const n=[];for(let o=0;o<t;o++)n.push(o<e?null:Ct);return n}(M,B),de="function"==typeof D?D():D;return q[1]={type:e,blueprint:q,template:n,queries:null,viewQuery:p,declTNode:t,data:q.slice().fill(null,M),bindingStartIndex:M,expandoStartIndex:B,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:de,incompleteFirstPass:!1}}function Nn(e,t,n,o){const s=Um(t);null===n?s.push(o):(s.push(n),e.firstCreatePass&&Vm(e).push(o,s.length-1))}function mr(e,t,n,o){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const u=e[s];null===o?Ei(n,t,s,u):o.hasOwnProperty(s)&&Ei(n,t,o[s],u)}return n}function Ei(e,t,n,o){e.hasOwnProperty(n)?e[n].push(t,o):e[n]=[t,o]}function Tr(e,t,n,o,s,u,h,p){const v=pr(t,n);let M,D=t.inputs;!p&&null!=D&&(M=D[o])?(Wp(e,n,M,o,s),mo(t)&&Kn(n,t.index)):3&t.type&&(o=function Dh(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),s=null!=h?h(s,t.value||"",o):s,u.setProperty(v,o,s))}function Kn(e,t){const n=ir(t,e);16&n[2]||(n[2]|=32)}function hs(e,t,n,o){let s=!1;if(Jl()){const u=null===o?null:{"":-1},h=function h0(e,t){const n=e.directiveRegistry;let o=null,s=null;if(n)for(let u=0;u<n.length;u++){const h=n[u];if(ih(t,h.selectors,!1))if(o||(o=[]),fr(h))if(null!==h.findHostDirectiveDefs){const p=[];s=s||new Map,h.findHostDirectiveDefs(h,p,s),o.unshift(...p,h),Vp(e,t,p.length)}else o.unshift(h),Vp(e,t,0);else s=s||new Map,h.findHostDirectiveDefs?.(h,o,s),o.push(h)}return null===o?null:[o,s]}(e,n);let p,v;null===h?p=v=null:[p,v]=h,null!==p&&(s=!0,Dl(e,t,n,p,u,v)),u&&function f0(e,t,n){if(t){const o=e.localNames=[];for(let s=0;s<t.length;s+=2){const u=n[t[s+1]];if(null==u)throw new H(-301,!1);o.push(t[s],u)}}}(n,o,u)}return n.mergedAttrs=Ao(n.mergedAttrs,n.attrs),s}function Dl(e,t,n,o,s,u){for(let D=0;D<o.length;D++)Xu(ka(n,t),e,o[D].type);!function g0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,o.length);for(let D=0;D<o.length;D++){const M=o[D];M.providersResolver&&M.providersResolver(M)}let h=!1,p=!1,v=Mr(e,t,o.length,null);for(let D=0;D<o.length;D++){const M=o[D];n.mergedAttrs=Ao(n.mergedAttrs,M.hostAttrs),m0(e,n,t,v,M),p0(v,M,s),null!==M.contentQueries&&(n.flags|=4),(null!==M.hostBindings||null!==M.hostAttrs||0!==M.hostVars)&&(n.flags|=64);const B=M.type.prototype;!h&&(B.ngOnChanges||B.ngOnInit||B.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!p&&(B.ngOnChanges||B.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function fn(e,t,n){const s=t.directiveEnd,u=e.data,h=t.attrs,p=[];let v=null,D=null;for(let M=t.directiveStart;M<s;M++){const B=u[M],q=n?n.get(B):null,we=q?q.outputs:null;v=mr(B.inputs,M,v,q?q.inputs:null),D=mr(B.outputs,M,D,we);const Ve=null===v||null===h||nh(t)?null:y0(v,M,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=D}(e,n,u)}function km(e,t,n){const o=n.directiveStart,s=n.directiveEnd,u=n.index,h=function Ku(){return bt.lFrame.currentDirectiveIndex}();try{y(u);for(let p=o;p<s;p++){const v=e.data[p],D=t[p];xa(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&d0(v,D)}}finally{y(-1),xa(h)}}function d0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Vp(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function p0(e,t,n){if(n){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)n[t.exportAs[o]]=e;fr(t)&&(n[""]=e)}}function m0(e,t,n,o,s){e.data[o]=s;const u=s.factory||(s.factory=vr(s.type)),h=new Er(u,fr(s),lo);e.blueprint[o]=h,n[o]=h,function l0(e,t,n,o,s){const u=s.hostBindings;if(u){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const p=~t.index;(function c0(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,Mr(e,n,s.hostVars,Ct),s)}function _0(e,t,n){const o=pr(t,e),s=et(n),u=e[10],h=wh(e,Sr(e,s,null,n.onPush?32:16,o,t,u,u.createRenderer(o,n),null,null,null));e[t.index]=h}function Hi(e,t,n,o,s,u){const h=pr(e,t);!function jp(e,t,n,o,s,u,h){if(null==u)e.removeAttribute(t,s,n);else{const p=null==h?G(u):h(u,o||"",s);e.setAttribute(t,s,p,n)}}(t[11],h,u,e.value,n,o,s)}function v0(e,t,n,o,s,u){const h=u[t];if(null!==h){const p=o.setInput;for(let v=0;v<h.length;){const D=h[v++],M=h[v++],B=h[v++];null!==p?o.setInput(n,B,D,M):n[M]=B}}}function y0(e,t,n){let o=null,s=0;for(;s<n.length;){const u=n[s];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[s+1]);break}}s+=2}else s+=2;else s+=4}return o}function Bm(e,t,n,o){return new Array(e,!0,!1,t,null,0,o,n,null,null)}function D0(e,t){const n=ir(t,e);if(Do(n)){const o=n[1];48&n[2]?va(o,n,o.template,n[8]):n[5]>0&&Hp(n)}}function Hp(e){for(let o=Za(e);null!==o;o=Ya(o))for(let s=10;s<o.length;s++){const u=o[s];if(Do(u))if(512&u[2]){const h=u[1];va(h,u,h.template,u[8])}else u[5]>0&&Hp(u)}const n=e[1].components;if(null!==n)for(let o=0;o<n.length;o++){const s=ir(n[o],e);Do(s)&&s[5]>0&&Hp(s)}}function w0(e,t){const n=ir(t,e),o=n[1];(function C0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(o,n),Hr(o,n,n[8])}function wh(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function $p(e){for(;e;){e[2]|=32;const t=$o(e);if(_s(e)&&!t)return e;e=t}return null}function Ch(e,t,n,o=!0){const s=t[10];s.begin&&s.begin();try{va(e,t,e.template,n)}catch(h){throw o&&Hm(t,h),h}finally{s.end&&s.end()}}function zp(e,t,n){Ot(0),t(e,n)}function Um(e){return e[7]||(e[7]=[])}function Vm(e){return e.cleanup||(e.cleanup=[])}function jm(e,t,n){return(null===e||fr(e))&&(n=function Aa(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Hm(e,t){const n=e[9],o=n?n.get(ua,null):null;o&&o.handleError(t)}function Wp(e,t,n,o,s){for(let u=0;u<n.length;){const h=n[u++],p=n[u++],v=t[h],D=e.data[h];null!==D.setInput?D.setInput(v,s,o,p):v[p]=s}}function ho(e,t,n){const o=bo(t,e);!function Cd(e,t,n){e.setValue(t,n)}(e[11],o,n)}function Sh(e,t,n){let o=n?e.styles:null,s=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?s=F(s,p):2==u&&(o=F(o,p+": "+t[++h]+";"))}n?e.styles=o:e.stylesWithoutHost=o,n?e.classes=s:e.classesWithoutHost=s}function Mh(e,t,n,o,s=!1){for(;null!==n;){const u=t[n.index];if(null!==u&&o.push(_n(u)),rr(u))for(let p=10;p<u.length;p++){const v=u[p],D=v[1].firstChild;null!==D&&Mh(v[1],v,D,o)}const h=n.type;if(8&h)Mh(e,t,n.child,o);else if(32&h){const p=$s(n,t);let v;for(;v=p();)o.push(v)}else if(16&h){const p=Zs(t,n);if(Array.isArray(p))o.push(...p);else{const v=$o(t[16]);Mh(v[1],v,p,o,!0)}}n=s?n.projectionNext:n.next}return o}class vu{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 Mh(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(rr(t)){const n=t[8],o=n?n.indexOf(this):-1;o>-1&&(wc(t,o),ko(n,o))}this._attachedToViewContainer=!1}Cc(this._lView[1],this._lView)}onDestroy(t){Nn(this._lView[1],this._lView,null,t)}markForCheck(){$p(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ch(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 Td(e,t){Go(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 S0 extends vu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ch(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Gp extends la{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new yu(n,this.ngModule)}}function $m(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class T0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=x(o);const s=this.injector.get(t,Xc,o);return s!==Xc||n===Xc?s:this.parentInjector.get(t,n,o)}}class yu extends rs{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function sh(e){return e.map(yp).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return $m(this.componentDef.inputs)}get outputs(){return $m(this.componentDef.outputs)}create(t,n,o,s){let u=(s=s||this.ngModule)instanceof Ui?s:s?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const h=u?new T0(t,u):t,p=h.get(ca,null);if(null===p)throw new H(407,!1);const v=h.get(op,null),D=p.createRenderer(null,this.componentDef),M=this.componentDef.selectors[0][0]||"div",B=o?function Wt(e,t,n){return e.selectRootElement(t,n===Ht.ShadowDom)}(D,o,this.componentDef.encapsulation):xr(D,M,function M0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(M)),q=this.componentDef.onPush?288:272,de=ct(0,null,null,1,0,null,null,null,null,null),we=Sr(null,de,null,q,null,null,p,D,v,h,null);let Ve,We;Ji(we);try{const Je=this.componentDef;let ht,Pe=null;Je.findHostDirectiveDefs?(ht=[],Pe=new Map,Je.findHostDirectiveDefs(Je,ht,Pe),ht.push(Je)):ht=[Je];const Dt=function R0(e,t){const n=e[1];return e[22]=t,Mn(n,22,2,"#host",null)}(we,B),Qt=function O0(e,t,n,o,s,u,h,p){const v=s[1];!function x0(e,t,n,o){for(const s of e)t.mergedAttrs=Ao(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(Sh(t,t.mergedAttrs,!0),null!==n&&Fd(o,n,t))}(o,e,t,h);const D=u.createRenderer(t,n),M=Sr(s,et(n),null,n.onPush?32:16,s[e.index],e,u,D,p||null,null,null);return v.firstCreatePass&&Vp(v,e,o.length-1),wh(s,M),s[e.index]=M}(Dt,B,Je,ht,we,p,D);We=Ss(de,22),B&&function F0(e,t,n,o){if(o)Or(e,n,["ng-version",qd.full]);else{const{attrs:s,classes:u}=function Ep(e){const t=[],n=[];let o=1,s=2;for(;o<e.length;){let u=e[o];if("string"==typeof u)2===s?""!==u&&t.push(u,e[++o]):8===s&&n.push(u);else{if(!Vr(s))break;s=u}o++}return{attrs:t,classes:n}}(t.selectors[0]);s&&Or(e,n,s),u&&u.length>0&&Pd(e,n,u.join(" "))}}(D,Je,B,o),void 0!==n&&function N0(e,t,n){const o=e.projection=[];for(let s=0;s<t.length;s++){const u=n[s];o.push(null!=u?Array.from(u):null)}}(We,this.ngContentSelectors,n),Ve=function P0(e,t,n,o,s,u){const h=jn(),p=s[1],v=pr(h,s);Dl(p,s,h,n,null,o);for(let M=0;M<n.length;M++)Sn(Ri(s,p,h.directiveStart+M,h),s);km(p,s,h),v&&Sn(v,s);const D=Ri(s,p,h.directiveStart+h.componentOffset,h);if(e[8]=s[8]=D,null!==u)for(const M of u)M(D,t);return yi(p,h,e),D}(Qt,Je,ht,Pe,we,[L0]),Hr(de,we,null)}finally{Mo()}return new A0(this.componentType,Ve,is(We,we),we,We)}}class A0 extends ep{constructor(t,n,o,s,u){super(),this.location=o,this._rootLView=s,this._tNode=u,this.instance=n,this.hostView=this.changeDetectorRef=new S0(s),this.componentType=t}setInput(t,n){const o=this._tNode.inputs;let s;if(null!==o&&(s=o[t])){const u=this._rootLView;Wp(u[1],u,s,t,n),Kn(u,this._tNode.index)}}get injector(){return new Oo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function L0(){const e=jn();Vt(Re()[1],e)}function Kp(e){let t=function zm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let s;if(fr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new H(903,!1);s=t.\u0275dir}if(s){if(n){o.push(s);const h=e;h.inputs=Zp(e.inputs),h.declaredInputs=Zp(e.declaredInputs),h.outputs=Zp(e.outputs);const p=s.hostBindings;p&&V0(e,p);const v=s.viewQuery,D=s.contentQueries;if(v&&B0(e,v),D&&U0(e,D),V(e.inputs,s.inputs),V(e.declaredInputs,s.declaredInputs),V(e.outputs,s.outputs),fr(s)&&s.data.animation){const M=e.data;M.animation=(M.animation||[]).concat(s.data.animation)}}const u=s.features;if(u)for(let h=0;h<u.length;h++){const p=u[h];p&&p.ngInherit&&p(e),p===Kp&&(n=!1)}}t=Object.getPrototypeOf(t)}!function k0(e){let t=0,n=null;for(let o=e.length-1;o>=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Ao(s.hostAttrs,n=Ao(n,s.hostAttrs))}}(o)}function Zp(e){return e===en?{}:e===pt?[]:e}function B0(e,t){const n=e.viewQuery;e.viewQuery=n?(o,s)=>{t(o,s),n(o,s)}:t}function U0(e,t){const n=e.contentQueries;e.contentQueries=n?(o,s,u)=>{t(o,s,u),n(o,s,u)}:t}function V0(e,t){const n=e.hostBindings;e.hostBindings=n?(o,s)=>{t(o,s),n(o,s)}:t}let Th=null;function ya(){if(!Th){const e=Bt.Symbol;if(e&&e.iterator)Th=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&&(Th=o)}}}return Th}function Eu(e){return!!Yp(e)&&(Array.isArray(e)||!(e instanceof Map)&&ya()in e)}function Yp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $i(e,t,n){return e[t]=n}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ea(e,t,n,o){const s=_r(e,t,n);return _r(e,t+1,o)||s}function Qp(e,t,n,o){const s=Re();return _r(s,wo(),t)&&(Lt(),Hi(S(),s,e,t,n,o)),Qp}function Cl(e,t,n,o){return _r(e,wo(),n)?t+G(n)+o:Ct}function Sl(e,t,n,o,s,u){const p=Ea(e,function kr(){return bt.lFrame.bindingIndex}(),n,s);return yr(2),p?t+G(n)+o+G(s)+u:Ct}function Jp(e,t,n,o,s,u){const h=Re(),p=Cl(h,t,n,o);return p!==Ct&&Hi(S(),h,e,p,s,u),Jp}function n_(e,t,n,o,s,u,h,p){const v=Re(),D=Lt(),M=e+22,B=D.firstCreatePass?function Q0(e,t,n,o,s,u,h,p,v){const D=t.consts,M=Mn(t,e,4,h||null,Zr(D,p));hs(t,n,M,Zr(D,v)),Vt(t,M);const B=M.tViews=ct(2,M,o,s,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D);return null!==t.queries&&(t.queries.template(t,M),B.queries=t.queries.embeddedTView(M)),M}(M,D,v,t,n,o,s,u,h):D.data[M];On(B,!1);const q=v[11].createComment("");ki(D,v,q,B),Sn(q,v),wh(v,v[M]=Bm(q,v,q,B)),_o(B)&&El(D,v,B),null!=h&&bl(v,B,p)}function r_(e){return di(function Qi(){return bt.lFrame.contextLView}(),22+e)}function Xp(e,t,n){const o=Re();return _r(o,wo(),t)&&Tr(Lt(),S(),o,e,t,o[11],n,!1),Xp}function qp(e,t,n,o,s){const h=s?"class":"style";Wp(e,n,t.inputs[h],h,o)}function Ah(e,t,n,o){const s=Re(),u=Lt(),h=22+e,p=s[11],v=s[h]=xr(p,t,function $t(){return bt.lFrame.currentNamespace}()),D=u.firstCreatePass?function X0(e,t,n,o,s,u,h){const p=t.consts,D=Mn(t,e,2,s,Zr(p,u));return hs(t,n,D,Zr(p,h)),null!==D.attrs&&Sh(D,D.attrs,!1),null!==D.mergedAttrs&&Sh(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(h,u,s,0,t,n,o):u.data[h];return On(D,!0),Fd(p,v,D),32!=(32&D.flags)&&ki(u,s,v,D),0===function $u(){return bt.lFrame.elementDepthCount}()&&Sn(v,s),function zu(){bt.lFrame.elementDepthCount++}(),_o(D)&&(El(u,s,D),yi(u,D,s)),null!==o&&bl(s,D),Ah}function Rh(){let e=jn();Oa()?Yi():(e=e.parent,On(e,!1));const t=e;!function Wu(){bt.lFrame.elementDepthCount--}();const n=Lt();return n.firstCreatePass&&(Vt(n,e),Ca(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function qh(e){return 0!=(8&e.flags)}(t)&&qp(n,t,Re(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ef(e){return 0!=(16&e.flags)}(t)&&qp(n,t,Re(),t.stylesWithoutHost,!1),Rh}function eg(e,t,n,o){return Ah(e,t,n,o),Rh(),eg}function Oh(e,t,n){const o=Re(),s=Lt(),u=e+22,h=s.firstCreatePass?function q0(e,t,n,o,s){const u=t.consts,h=Zr(u,o),p=Mn(t,e,8,"ng-container",h);return null!==h&&Sh(p,h,!0),hs(t,n,p,Zr(u,s)),null!==t.queries&&t.queries.elementStart(t,p),p}(u,s,o,t,n):s.data[u];On(h,!0);const p=o[u]=o[11].createComment("");return ki(s,o,p,h),Sn(p,o),_o(h)&&(El(s,o,h),yi(s,h,o)),null!=n&&bl(o,h),Oh}function xh(){let e=jn();const t=Lt();return Oa()?Yi():(e=e.parent,On(e,!1)),t.firstCreatePass&&(Vt(t,e),Ca(e)&&t.queries.elementEnd(e)),xh}function tg(e,t,n){return Oh(e,t,n),xh(),tg}function i_(){return Re()}function ng(e){return!!e&&"function"==typeof e.then}function o_(e){return!!e&&"function"==typeof e.subscribe}const s_=o_;function rg(e,t,n,o){const s=Re(),u=Lt(),h=jn();return a_(u,s,s[11],h,e,t,0,o),rg}function ig(e,t){const n=jn(),o=Re(),s=Lt();return a_(s,o,jm(Is(s.data),n,o),n,e,t),ig}function a_(e,t,n,o,s,u,h,p){const v=_o(o),M=e.firstCreatePass&&Vm(e),B=t[8],q=Um(t);let de=!0;if(3&o.type||p){const We=pr(o,t),Je=p?p(We):We,ht=q.length,Pe=p?Qt=>p(_n(Qt[o.index])):o.index;let Dt=null;if(!p&&v&&(Dt=function eE(e,t,n,o){const s=e.cleanup;if(null!=s)for(let u=0;u<s.length-1;u+=2){const h=s[u];if(h===n&&s[u+1]===o){const p=t[7],v=s[u+2];return p.length>v?p[v]:null}"string"==typeof h&&(u+=2)}return null}(e,t,s,o.index)),null!==Dt)(Dt.__ngLastListenerFn__||Dt).__ngNextListenerFn__=u,Dt.__ngLastListenerFn__=u,de=!1;else{u=c_(o,t,B,u,!1);const Qt=n.listen(Je,s,u);q.push(u,Qt),M&&M.push(s,Pe,ht,ht+1)}}else u=c_(o,t,B,u,!1);const we=o.outputs;let Ve;if(de&&null!==we&&(Ve=we[s])){const We=Ve.length;if(We)for(let Je=0;Je<We;Je+=2){const En=t[Ve[Je]][Ve[Je+1]].subscribe(u),wa=q.length;q.push(u,En),M&&M.push(s,o.index,wa,-(wa+1))}}}function l_(e,t,n,o){try{return!1!==n(o)}catch(s){return Hm(e,s),!1}}function c_(e,t,n,o,s){return function u(h){if(h===Function)return o;$p(e.componentOffset>-1?ir(e.index,t):t);let v=l_(t,0,o,h),D=u.__ngNextListenerFn__;for(;D;)v=l_(t,0,D,h)&&v,D=D.__ngNextListenerFn__;return s&&!1===v&&(h.preventDefault(),h.returnValue=!1),v}}function u_(e=1){return function Zu(e){return(bt.lFrame.contextLView=function _(e,t){for(;e>0;)t=t[15],e--;return t}(e,bt.lFrame.contextLView))[8]}(e)}function tE(e,t){let n=null;const o=function gp(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 s=0;s<t.length;s++){const u=t[s];if("*"!==u){if(null===o?ih(e,u,!0):vp(o,u))return s}else n=s}return n}function d_(e){const t=Re()[16][6];if(!t.projection){const o=t.projection=Bo(e?e.length:1,null),s=o.slice();let u=t.child;for(;null!==u;){const h=e?tE(u,e):0;null!==h&&(s[h]?s[h].projectionNext=u:o[h]=u,s[h]=u),u=u.next}}}function h_(e,t=0,n){const o=Re(),s=Lt(),u=Mn(s,22+e,16,null,n||null);null===u.projection&&(u.projection=t),Yi(),32!=(32&u.flags)&&function Od(e,t,n){xd(t[11],0,t,n,Ad(e,n,t),Rd(n.parent||t[6],n,t))}(s,o,u)}function og(e,t,n){return Ph(e,"",t,"",n),og}function Ph(e,t,n,o,s){const u=Re(),h=Cl(u,t,n,o);return h!==Ct&&Tr(Lt(),S(),u,e,h,u[11],s,!1),Ph}function b_(e,t,n,o,s){const u=e[n+1],h=null===t;let p=o?Xn(u):ji(u),v=!1;for(;0!==p&&(!1===v||h);){const M=e[p+1];iE(e[p],t)&&(v=!0,e[p+1]=o?ma(M):vh(M)),p=o?Xn(M):ji(M)}v&&(e[n+1]=o?vh(u):ma(u))}function iE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Fs(e,t)>=0}const Zn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function D_(e){return e.substring(Zn.key,Zn.keyEnd)}function w_(e,t){const n=Zn.textEnd;return n===t?-1:(t=Zn.keyEnd=function lE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Zn.key=t,n),xl(e,t,n))}function xl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sg(e,t,n){return bi(e,t,n,!1),sg}function ag(e,t){return bi(e,t,null,!0),ag}function I_(e){Di(wr,Wi,e,!0)}function Wi(e,t){for(let n=function sE(e){return function S_(e){Zn.key=0,Zn.keyEnd=0,Zn.value=0,Zn.valueEnd=0,Zn.textEnd=e.length}(e),w_(e,xl(e,0,Zn.textEnd))}(t);n>=0;n=w_(t,n))wr(e,D_(t),!0)}function bi(e,t,n,o){const s=Re(),u=Lt(),h=yr(2);u.firstUpdatePass&&R_(u,e,h,o),t!==Ct&&_r(s,h,t)&&x_(u,u.data[w()],s,s[11],e,s[h+1]=function vE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=P(ri(e)))),e}(t,n),o,h)}function Di(e,t,n,o){const s=Lt(),u=yr(2);s.firstUpdatePass&&R_(s,null,u,o);const h=Re();if(n!==Ct&&_r(h,u,n)){const p=s.data[w()];if(F_(p,o)&&!A_(s,u)){let v=o?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=F(v,n||"")),qp(s,p,h,n,o)}else!function _E(e,t,n,o,s,u,h,p){s===Ct&&(s=pt);let v=0,D=0,M=0<s.length?s[0]:null,B=0<u.length?u[0]:null;for(;null!==M||null!==B;){const q=v<s.length?s[v+1]:void 0,de=D<u.length?u[D+1]:void 0;let Ve,we=null;M===B?(v+=2,D+=2,q!==de&&(we=B,Ve=de)):null===B||null!==M&&M<B?(v+=2,we=M):(D+=2,we=B,Ve=de),null!==we&&x_(e,t,n,o,we,Ve,h,p),M=v<s.length?s[v]:null,B=D<u.length?u[D]:null}}(s,p,h,h[11],h[u+1],h[u+1]=function mE(e,t,n){if(null==n||""===n)return pt;const o=[],s=ri(n);if(Array.isArray(s))for(let u=0;u<s.length;u++)e(o,s[u],!0);else if("object"==typeof s)for(const u in s)s.hasOwnProperty(u)&&e(o,u,s[u]);else"string"==typeof s&&t(o,s);return o}(e,t,n),o,u)}}function A_(e,t){return t>=e.expandoStartIndex}function R_(e,t,n,o){const s=e.data;if(null===s[n+1]){const u=s[w()],h=A_(e,n);F_(u,o)&&null===t&&!h&&(t=!1),t=function hE(e,t,n,o){const s=Is(e);let u=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(n=Du(n=lg(null,e,t,n,o),t.attrs,o),u=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==s)if(n=lg(s,e,t,n,o),null===u){let v=function fE(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==ji(o))return e[Xn(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=lg(null,e,t,v[1],o),v=Du(v,t.attrs,o),function pE(e,t,n,o){e[Xn(n?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else u=function gE(e,t,n){let o;const s=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<s;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}(s,u,t,o),function nE(e,t,n,o,s,u){let h=u?t.classBindings:t.styleBindings,p=Xn(h),v=ji(h);e[o]=n;let M,D=!1;if(Array.isArray(n)){const B=n;M=B[1],(null===M||Fs(B,M)>0)&&(D=!0)}else M=n;if(s)if(0!==v){const q=Xn(e[p+1]);e[o+1]=ga(q,p),0!==q&&(e[q+1]=yl(e[q+1],o)),e[p+1]=function kp(e,t){return 131071&e|t<<17}(e[p+1],o)}else e[o+1]=ga(p,0),0!==p&&(e[p+1]=yl(e[p+1],o)),p=o;else e[o+1]=ga(v,0),0===p?p=o:e[v+1]=yl(e[v+1],o),v=o;D&&(e[o+1]=vh(e[o+1])),b_(e,M,o,!0),b_(e,M,o,!1),function rE(e,t,n,o,s){const u=s?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Fs(u,t)>=0&&(n[o+1]=ma(n[o+1]))}(t,M,e,o,u),h=ga(p,v),u?t.classBindings=h:t.styleBindings=h}(s,u,t,n,h,o)}}function lg(e,t,n,o,s){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,s),u!==e);)p++;return null!==e&&(n.directiveStylingLast=p),o}function Du(e,t,n){const o=n?1:2;let s=-1;if(null!==t)for(let u=0;u<t.length;u++){const h=t[u];"number"==typeof h?s=h:s===o&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),wr(e,h,!!n||t[++u]))}return void 0===e?null:e}function x_(e,t,n,o,s,u,h,p){if(!(3&t.type))return;const v=e.data,D=v[p+1];Fh(function pu(e){return 1==(1&e)}(D)?P_(v,t,n,s,ji(D),h):void 0)||(Fh(u)||function vl(e){return 2==(2&e)}(D)&&(u=P_(v,null,n,s,p,h)),function Hf(e,t,n,o,s){if(t)s?e.addClass(n,o):e.removeClass(n,o);else{let u=-1===o.indexOf("-")?void 0:ni.DashCase;null==s?e.removeStyle(n,o,u):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),u|=ni.Important),e.setStyle(n,o,s,u))}}(o,h,bo(w(),n),s,u))}function P_(e,t,n,o,s,u){const h=null===t;let p;for(;s>0;){const v=e[s],D=Array.isArray(v),M=D?v[1]:v,B=null===M;let q=n[s+1];q===Ct&&(q=B?pt:void 0);let de=B?dc(q,o):M===o?q:void 0;if(D&&!Fh(de)&&(de=dc(v,o)),Fh(de)&&(p=de,h))return p;const we=e[s+1];s=h?Xn(we):ji(we)}if(null!==t){let v=u?t.residualClasses:t.residualStyles;null!=v&&(p=dc(v,o))}return p}function Fh(e){return void 0!==e}function F_(e,t){return 0!=(e.flags&(t?8:16))}function N_(e,t=""){const n=Re(),o=Lt(),s=e+22,u=o.firstCreatePass?Mn(o,s,1,t,null):o.data[s],h=n[s]=function Pi(e,t){return e.createText(t)}(n[11],t);ki(o,n,h,u),On(u,!1)}function cg(e){return Nh("",e,""),cg}function Nh(e,t,n){const o=Re(),s=Cl(o,e,t,n);return s!==Ct&&ho(o,w(),s),Nh}function ug(e,t,n,o,s){const u=Re(),h=Sl(u,e,t,n,o,s);return h!==Ct&&ho(u,w(),h),ug}function $_(e,t,n){Di(wr,Wi,Cl(Re(),e,t,n),!0)}function dg(e,t,n){const o=Re();if(_r(o,wo(),t)){const u=Lt(),h=S();Tr(u,h,o,e,t,jm(Is(u.data),h,o),n,!0)}return dg}const ba=void 0;var kE=["en",[["a","p"],["AM","PM"],ba],[["AM","PM"],ba,ba],[["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"]],ba,[["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"]],ba,[["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}",ba,"{1} 'at' {0}",ba],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function LE(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let Pl={};function hg(e){const t=function BE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=tv(t);if(n)return n;const o=t.split("-")[0];if(n=tv(o),n)return n;if("en"===o)return kE;throw new H(701,!1)}function ev(e){return hg(e)[_t.PluralCase]}function tv(e){return e in Pl||(Pl[e]=Bt.ng&&Bt.ng.common&&Bt.ng.common.locales&&Bt.ng.common.locales[e]),Pl[e]}var _t=(()=>((_t=_t||{})[_t.LocaleId=0]="LocaleId",_t[_t.DayPeriodsFormat=1]="DayPeriodsFormat",_t[_t.DayPeriodsStandalone=2]="DayPeriodsStandalone",_t[_t.DaysFormat=3]="DaysFormat",_t[_t.DaysStandalone=4]="DaysStandalone",_t[_t.MonthsFormat=5]="MonthsFormat",_t[_t.MonthsStandalone=6]="MonthsStandalone",_t[_t.Eras=7]="Eras",_t[_t.FirstDayOfWeek=8]="FirstDayOfWeek",_t[_t.WeekendRange=9]="WeekendRange",_t[_t.DateFormat=10]="DateFormat",_t[_t.TimeFormat=11]="TimeFormat",_t[_t.DateTimeFormat=12]="DateTimeFormat",_t[_t.NumberSymbols=13]="NumberSymbols",_t[_t.NumberFormats=14]="NumberFormats",_t[_t.CurrencyCode=15]="CurrencyCode",_t[_t.CurrencySymbol=16]="CurrencySymbol",_t[_t.CurrencyName=17]="CurrencyName",_t[_t.Currencies=18]="Currencies",_t[_t.Directionality=19]="Directionality",_t[_t.PluralCase=20]="PluralCase",_t[_t.ExtraData=21]="ExtraData",_t))();const Fl="en-US";let nv=Fl;function gg(e,t,n,o,s){if(e=R(e),Array.isArray(e))for(let u=0;u<e.length;u++)gg(e[u],t,n,o,s);else{const u=Lt(),h=Re();let p=qo(e)?e:R(e.provide),v=oa(e);const D=jn(),M=1048575&D.providerIndexes,B=D.directiveStart,q=D.providerIndexes>>20;if(qo(e)||!e.multi){const de=new Er(v,s,lo),we=_g(p,t,s?M:M+q,B);-1===we?(Xu(ka(D,h),u,p),mg(u,e,t.length),t.push(p),D.directiveStart++,D.directiveEnd++,s&&(D.providerIndexes+=1048576),n.push(de),h.push(de)):(n[we]=de,h[we]=de)}else{const de=_g(p,t,M+q,B),we=_g(p,t,M,M+q),Ve=de>=0&&n[de],We=we>=0&&n[we];if(s&&!We||!s&&!Ve){Xu(ka(D,h),u,p);const Je=function Nb(e,t,n,o,s){const u=new Er(e,n,lo);return u.multi=[],u.index=t,u.componentProviders=0,Tv(u,s,o&&!n),u}(s?Fb:Pb,n.length,s,o,v);!s&&We&&(n[we].providerFactory=Je),mg(u,e,t.length,0),t.push(p),D.directiveStart++,D.directiveEnd++,s&&(D.providerIndexes+=1048576),n.push(Je),h.push(Je)}else mg(u,e,de>-1?de:we,Tv(n[s?we:de],v,!s&&o));!s&&o&&We&&n[we].componentProviders++}}}function mg(e,t,n,o){const s=qo(t),u=function Zc(e){return!!e.useClass}(t);if(s||u){const v=(u?R(t.useClass):t).prototype.ngOnDestroy;if(v){const D=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[o,v]):D[M+1].push(o,v)}else D.push(n,v)}}}function Tv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _g(e,t,n,o){for(let s=n;s<o;s++)if(t[s]===e)return s;return-1}function Pb(e,t,n,o){return vg(this.multi,[])}function Fb(e,t,n,o){const s=this.multi;let u;if(this.providerFactory){const h=this.providerFactory.componentProviders,p=Ri(n,n[1],this.providerFactory.index,o);u=p.slice(0,h),vg(s,u);for(let v=h;v<p.length;v++)u.push(p[v])}else u=[],vg(s,u);return u}function vg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Iv(e,t=[]){return n=>{n.providersResolver=(o,s)=>function xb(e,t,n){const o=Lt();if(o.firstCreatePass){const s=fr(e);gg(n,o.data,o.blueprint,s,!0),gg(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class Nl{}class Av{}function Rv(e,t){return new Ov(e,t??null)}const Lb=Rv;class Ov extends Nl{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gp(this);const o=er(t);this._bootstrapComponents=vi(o.bootstrap),this._r3Injector=au(t,n,[{provide:Nl,useValue:this},{provide:la,useValue:this.componentFactoryResolver}],P(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 yg extends Av{constructor(t){super(),this.moduleType=t}create(t){return new Ov(this.moduleType,t)}}class kb extends Nl{constructor(t,n,o){super(),this.componentFactoryResolver=new Gp(this),this.instance=null;const s=new es([...t,{provide:Nl,useValue:this},{provide:la,useValue:this.componentFactoryResolver}],n||cr(),o,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Eg(e,t,n=null){return new kb(e,t,n).injector}let Bb=(()=>{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=ra(0,n.type),s=o.length>0?Eg([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}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.\u0275prov=St({token:e,providedIn:"environment",factory:()=>new e(gt(Ui))}),e})();function xv(e){e.getStandaloneInjector=t=>t.get(Bb).getOrCreateStandaloneInjector(e)}function Uv(e,t,n,o){return jv(Re(),Yt(),e,t,n,o)}function Vv(e,t,n,o,s){return function Hv(e,t,n,o,s,u,h){const p=t+n;return Ea(e,p,s,u)?$i(e,p+2,h?o.call(h,s,u):o(s,u)):Iu(e,p+2)}(Re(),Yt(),e,t,n,o,s)}function Iu(e,t){const n=e[t];return n===Ct?void 0:n}function jv(e,t,n,o,s,u){const h=t+n;return _r(e,h,s)?$i(e,h+1,u?o.call(u,s):o(s)):Iu(e,h+1)}function Gv(e,t){const n=Lt();let o;const s=e+22;n.firstCreatePass?(o=function tD(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[s]=o,o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,o.onDestroy)):o=n.data[s];const u=o.factory||(o.factory=vr(o.type)),h=Rt(lo);try{const p=La(!1),v=u();return La(p),function J0(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,Re(),s,v),v}finally{Rt(h)}}function Kv(e,t,n){const o=e+22,s=Re(),u=di(s,o);return function Au(e,t){return e[1].data[t].pure}(s,o)?jv(s,Yt(),t,u.transform,n,u):u.transform(n)}function Dg(e){return t=>{setTimeout(e,void 0,t)}}const Gi=class sD extends m.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let s=t,u=n||(()=>null),h=o;if(t&&"object"==typeof t){const v=t;s=v.next?.bind(v),u=v.error?.bind(v),h=v.complete?.bind(v)}this.__isAsync&&(u=Dg(u),s&&(s=Dg(s)),h&&(h=Dg(h)));const p=super.subscribe({next:s,error:u,complete:h});return t instanceof c.w0&&t.add(p),p}};function aD(){return this._results[ya()]()}class Vh{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=ya(),o=Vh.prototype;o[n]||(o[n]=aD)}get changes(){return this._changes||(this._changes=new Gi)}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 s=br(t);(this._changesDetected=!function ld(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){let s=e[o],u=t[o];if(n&&(s=n(s),u=n(u)),u!==s)return!1}return!0}(o._results,s,n))&&(o._results=s,o.length=s.length,o.last=s[this.length-1],o.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ru=(()=>{class e{}return e.__NG_ELEMENT_ID__=uD,e})();const lD=Ru,cD=class extends lD{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tViews,s=Sr(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(s[19]=h.createEmbeddedView(o)),Hr(o,s,t),new vu(s)}};function uD(){return jh(jn(),Re())}function jh(e,t){return 4&e.type?new cD(t,e,is(e,t)):null}let Hh=(()=>{class e{}return e.__NG_ELEMENT_ID__=dD,e})();function dD(){return Qv(jn(),Re())}const hD=Hh,Zv=class extends hD{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return is(this._hostTNode,this._hostLView)}get injector(){return new Oo(this._hostTNode,this._hostLView)}get parentInjector(){const t=As(this._hostTNode,this._hostLView);if(ar(t)){const n=qi(t,this._hostLView),o=Xi(t);return new Oo(n[1].data[o+8],n)}return new Oo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Yv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,o){let s,u;"number"==typeof o?s=o:null!=o&&(s=o.index,u=o.injector);const h=t.createEmbeddedView(n||{},u);return this.insert(h,s),h}createComponent(t,n,o,s,u){const h=t&&!function ei(e){return"function"==typeof e}(t);let p;if(h)p=n;else{const B=n||{};p=B.index,o=B.injector,s=B.projectableNodes,u=B.environmentInjector||B.ngModuleRef}const v=h?t:new yu(Ut(t)),D=o||this.parentInjector;if(!u&&null==v.ngModule){const q=(h?D:this.parentInjector).get(Ui,null);q&&(u=q)}const M=v.create(D,s,void 0,u);return this.insert(M.hostView,p),M}insert(t,n){const o=t._lView,s=o[1];if(function Ql(e){return rr(e[3])}(o)){const M=this.indexOf(t);if(-1!==M)this.detach(M);else{const B=o[3],q=new Zv(B,B[6],B[3]);q.detach(q.indexOf(t))}}const u=this._adjustIndex(n),h=this._lContainer;!function Wn(e,t,n,o){const s=10+o,u=n.length;o>0&&(n[s-1][4]=t),o<u-10?(t[4]=n[s],Lo(n,10+o,t)):(n.push(t),t[4]=null),t[3]=n;const h=t[17];null!==h&&n!==h&&function Fi(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}(s,o,h,u);const p=Ic(u,h),v=o[11],D=qa(v,h[7]);return null!==D&&function Md(e,t,n,o,s,u){o[0]=s,o[6]=t,Go(e,o,n,1,s,u)}(s,h[6],v,o,D,p),t.attachToViewContainerRef(),Lo(wg(h),u,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Yv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=wc(this._lContainer,n);o&&(ko(wg(this._lContainer),n),Cc(o[1],o))}detach(t){const n=this._adjustIndex(t,-1),o=wc(this._lContainer,n);return o&&null!=ko(wg(this._lContainer),n)?new vu(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yv(e){return e[8]}function wg(e){return e[8]||(e[8]=[])}function Qv(e,t){let n;const o=t[e.index];if(rr(o))n=o;else{let s;if(8&e.type)s=_n(o);else{const u=t[11];s=u.createComment("");const h=pr(e,t);Ni(u,qa(u,h),s,function no(e,t){return e.nextSibling(t)}(u,h),!1)}t[e.index]=n=Bm(o,t,s,e),wh(t,n)}return new Zv(n,e,t)}class Cg{constructor(t){this.queryList=t,this.matches=null}clone(){return new Cg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sg{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let u=0;u<o;u++){const h=n.getByIndex(u);s.push(this.queries[h.indexInDeclarationView].clone())}return new Sg(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==oy(t,n).matches&&this.queries[n].setDirty()}}class Jv{constructor(t,n,o=null){this.predicate=t,this.flags=n,this.read=o}}class Mg{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 s=null!==n?n.length:0,u=this.getByIndex(o).embeddedTView(t,s);u&&(u.indexInDeclarationView=o,null!==n?n.push(u):n=[u])}return null!==n?new Mg(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 Tg{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 Tg(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 s=0;s<o.length;s++){const u=o[s];this.matchTNodeWithReadOption(t,n,gD(n,u)),this.matchTNodeWithReadOption(t,n,Os(n,t,u,!1,!1))}else o===Ru?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Os(n,t,o,!1,!1))}matchTNodeWithReadOption(t,n,o){if(null!==o){const s=this.metadata.read;if(null!==s)if(s===hl||s===Hh||s===Ru&&4&n.type)this.addMatch(n.index,-2);else{const u=Os(n,t,s,!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 gD(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 _D(e,t,n,o){return-1===n?function mD(e,t){return 11&e.type?is(e,t):4&e.type?jh(e,t):null}(t,e):-2===n?function vD(e,t,n){return n===hl?is(t,e):n===Ru?jh(t,e):n===Hh?Qv(t,e):void 0}(e,t,o):Ri(e,e[1],n,t)}function Xv(e,t,n,o){const s=t[19].queries[o];if(null===s.matches){const u=e.data,h=n.matches,p=[];for(let v=0;v<h.length;v+=2){const D=h[v];p.push(D<0?null:_D(t,u[D],h[v+1],n.metadata.read))}s.matches=p}return s.matches}function Ig(e,t,n,o){const s=e.queries.getByIndex(n),u=s.matches;if(null!==u){const h=Xv(e,t,s,n);for(let p=0;p<u.length;p+=2){const v=u[p];if(v>0)o.push(h[p/2]);else{const D=u[p+1],M=t[-v];for(let B=10;B<M.length;B++){const q=M[B];q[17]===q[3]&&Ig(q[1],q,D,o)}if(null!==M[9]){const B=M[9];for(let q=0;q<B.length;q++){const de=B[q];Ig(de[1],de,D,o)}}}}}return o}function qv(e){const t=Re(),n=Lt(),o=or();Ot(o+1);const s=oy(n,o);if(e.dirty&&function Nt(e){return 4==(4&e[2])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const u=s.crossesNgTemplate?Ig(n,t,o,[]):Xv(n,t,s,o);e.reset(u,rp),e.notifyOnChanges()}return!0}return!1}function ey(e,t,n){const o=Lt();o.firstCreatePass&&(iy(o,new Jv(e,t,n),-1),2==(2&t)&&(o.staticViewQueries=!0)),ry(o,Re(),t)}function ty(e,t,n,o){const s=Lt();if(s.firstCreatePass){const u=jn();iy(s,new Jv(t,n,o),u.index),function ED(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}ry(s,Re(),n)}function ny(){return function yD(e,t){return e[19].queries[t].queryList}(Re(),or())}function ry(e,t,n){const o=new Vh(4==(4&n));Nn(e,t,o,o.destroy),null===t[19]&&(t[19]=new Sg),t[19].queries.push(new Cg(o))}function iy(e,t,n){null===e.queries&&(e.queries=new Mg),e.queries.track(new Tg(t,n))}function oy(e,t){return e.queries.getByIndex(t)}function sy(e,t){return jh(e,t)}function zh(...e){}const Sy=new Kt("Application Initializer");let Wh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=zh,this.reject=zh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,s)=>{this.resolve=o,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const u=this.appInits[s]();if(ng(u))n.push(u);else if(s_(u)){const h=new Promise((p,v)=>{u.subscribe({complete:p,error:v})});n.push(h)}}Promise.all(n).then(()=>{o()}).catch(s=>{this.reject(s)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(gt(Sy,8))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const My=new Kt("AppId",{providedIn:"root",factory:function Ty(){return`${Pg()}${Pg()}${Pg()}`}});function Pg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Iy=new Kt("Platform Initializer"),VD=new Kt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jD=new Kt("appBootstrapListener"),HD=new Kt("AnimationModuleType");let $D=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Gh=new Kt("LocaleId",{providedIn:"root",factory:()=>ge(Gh,Ue.Optional|Ue.SkipSelf)||function zD(){return typeof $localize<"u"&&$localize.locale||Fl}()}),WD=new Kt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class GD{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let KD=(()=>{class e{compileModuleSync(n){return new yg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),u=vi(er(n).declarations).reduce((h,p)=>{const v=Ut(p);return v&&h.push(new yu(v)),h},[]);return new GD(o,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const QD=(()=>Promise.resolve(0))();function Fg(e){typeof Zone>"u"?QD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class si{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gi(!1),this.onMicrotaskEmpty=new Gi(!1),this.onStable=new Gi(!1),this.onError=new Gi(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function JD(){let e=Bt.requestAnimationFrame,t=Bt.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 ew(e){const t=()=>{!function qD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Bt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Lg(e),e.isCheckStableRunning=!0,Ng(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Lg(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,s,u,h,p)=>{try{return Oy(e),n.invokeTask(s,u,h,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),xy(e)}},onInvoke:(n,o,s,u,h,p,v)=>{try{return Oy(e),n.invoke(s,u,h,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),xy(e)}},onHasTask:(n,o,s,u)=>{n.hasTask(s,u),o===s&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Lg(e),Ng(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,o,s,u)=>(n.handleError(s,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!si.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(si.isInAngularZone())throw new H(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,s){const u=this._inner,h=u.scheduleEventTask("NgZoneEvent: "+s,t,XD,zh,zh);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 XD={};function Ng(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 Lg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Oy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xy(e){e._nesting--,Ng(e)}class tw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gi,this.onMicrotaskEmpty=new Gi,this.onStable=new Gi,this.onError=new Gi}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,s){return t.apply(n,o)}}const Py=new Kt(""),Fy=new Kt("");let kg,nw=(()=>{class e{constructor(n,o,s){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,kg||(function rw(e){kg=e}(s),s.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:()=>{si.assertNotInAngularZone(),Fg(()=>{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())Fg(()=>{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,s){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:s})}whenStable(n,o,s){if(s&&!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,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(gt(si),gt(Ny),gt(Fy))},e.\u0275prov=St({token:e,factory:e.\u0275fac}),e})(),Ny=(()=>{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 kg?.findTestabilityInTree(this,n,o)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),fs=null;const Ly=new Kt("AllowMultipleToken"),Bg=new Kt("PlatformDestroyListeners");function By(e,t,n=[]){const o=`Platform: ${t}`,s=new Kt(o);return(u=[])=>{let h=Ug();if(!h||h.injector.get(Ly,!1)){const p=[...n,...u,{provide:s,useValue:!0}];e?e(p):function sw(e){if(fs&&!fs.get(Ly,!1))throw new H(400,!1);fs=e;const t=e.get(Vy);(function ky(e){const t=e.get(Iy,null);t&&t.forEach(n=>n())})(e)}(function Uy(e=[],t){return Vi.create({name:t,providers:[{provide:Yc,useValue:"platform"},{provide:Bg,useValue:new Set([()=>fs=null])},...e]})}(p,o))}return function lw(e){const t=Ug();if(!t)throw new H(401,!1);return t}()}}function Ug(){return fs?.get(Vy)??null}let Vy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const s=function Hy(e,t){let n;return n="noop"===e?new tw:("zone.js"===e?void 0:e)||new si(t),n}(o?.ngZone,function jy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),u=[{provide:si,useValue:s}];return s.run(()=>{const h=Vi.create({providers:u,parent:this.injector,name:n.moduleType.name}),p=n.create(h),v=p.injector.get(ua,null);if(!v)throw new H(402,!1);return s.runOutsideAngular(()=>{const D=s.onError.subscribe({next:M=>{v.handleError(M)}});p.onDestroy(()=>{Zh(this._modules,p),D.unsubscribe()})}),function $y(e,t,n){try{const o=n();return ng(o)?o.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(v,s,()=>{const D=p.injector.get(Wh);return D.runInitializers(),D.donePromise.then(()=>(function rv(e){Xe(e,"Expected localeId to be defined"),"string"==typeof e&&(nv=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Gh,Fl)||Fl),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,o=[]){const s=zy({},o);return function iw(e,t,n){const o=new yg(n);return Promise.resolve(o)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,s))}_moduleDoBootstrap(n){const o=n.injector.get(Kh);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>o.bootstrap(s));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(Bg,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(gt(Vi))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function zy(e,t){return Array.isArray(t)?t.reduce(zy,e):{...e,...t}}let Kh=(()=>{class e{constructor(n,o,s){this._zone=n,this._injector=o,this._exceptionHandler=s,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(()=>{si.assertNotInAngularZone(),Fg(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const D=this._zone.onUnstable.subscribe(()=>{si.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),D.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 s=n instanceof rs;if(!this._injector.get(Wh).done)throw!s&&Ar(n),new H(405,false);let h;h=s?n:this._injector.get(la).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const p=function ow(e){return e.isBoundToModule}(h)?void 0:this._injector.get(Nl),D=h.create(Vi.NULL,[],o||h.selector,p),M=D.location.nativeElement,B=D.injector.get(Py,null);return B?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),Zh(this.components,D),B?.unregisterApplication(M)}),this._loadComponent(D),D}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;Zh(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(jD,[]).concat(this._bootstrapListeners).forEach(s=>s(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),()=>Zh(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.\u0275fac=function(n){return new(n||e)(gt(si),gt(Ui),gt(ua))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Zh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function uw(){}let dw=(()=>{class e{}return e.__NG_ELEMENT_ID__=hw,e})();function hw(e){return function fw(e,t,n){if(mo(e)&&!n){const o=ir(e.index,t);return new vu(o,o)}return 47&e.type?new vu(t[16],t):null}(jn(),Re(),16==(16&e))}class Yy{constructor(){}supports(t){return Eu(t)}create(t){return new yw(t)}}const vw=(e,t)=>t;class yw{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||vw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,s=0,u=null;for(;n||o;){const h=!o||n&&n.currentIndex<Jy(o,s,u)?n:o,p=Jy(h,s,u),v=h.currentIndex;if(h===o)s--,o=o._nextRemoved;else if(n=n._next,null==h.previousIndex)s++;else{u||(u=[]);const D=p-s,M=v-s;if(D!=M){for(let q=0;q<D;q++){const de=q<u.length?u[q]:u[q]=0,we=de+q;M<=we&&we<D&&(u[q]=de+1)}u[h.previousIndex]=M-D}}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=[]),!Eu(t))throw new H(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,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 s=0,function K0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ya()]();let o;for(;!(o=n.next()).done;)t(o.value)}}(t,p=>{h=this._trackByFn(s,p),null!==n&&Object.is(n.trackById,h)?(o&&(n=this._verifyReinsertion(n,p,h,s)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,h,s),o=!0),n=n._next,s++}),this.length=s;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,s){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,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,s)):t=this._addAfter(new Ew(n,o),u,s),t}_verifyReinsertion(t,n,o,s){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==u?t=this._reinsertAfter(u,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,u=t._nextRemoved;return null===s?this._removalsHead=u:s._nextRemoved=u,null===u?this._removalsTail=s:u._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Qy),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 Qy),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 Ew{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 bw{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 Qy{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new bw,this.map.set(n,o)),o.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 Jy(e,t,n){const o=e.previousIndex;if(null===o)return o;let s=0;return n&&o<n.length&&(s=n[o]),o+t+s}class Xy{constructor(){}supports(t){return t instanceof Map||Yp(t)}create(){return new Dw}}class Dw{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||Yp(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(s,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 s=this._records.get(t);this._maybeAddToChanges(s,n);const u=s._prev,h=s._next;return u&&(u._next=h),h&&(h._prev=u),s._next=null,s._prev=null,s}const o=new ww(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 ww{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 qy(){return new zg([new Yy])}let zg=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||qy()),deps:[[e,new Ur,new Ns]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(null!=o)return o;throw new H(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:qy}),e})();function e0(){return new Wg([new Xy])}let Wg=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||e0()),deps:[[e,new Ur,new Ns]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(o)return o;throw new H(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:e0}),e})();const Mw=By(null,"core",[]);let Tw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(gt(Kh))},e.\u0275mod=zr({type:e}),e.\u0275inj=Ke({}),e})();function Iw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4522:(Me,z,g)=>{g.d(z,{lW:()=>I,ot:()=>R,zs:()=>L});var m=g(2560),c=g(207),U=g(4218);const O=["mat-button",""],N=["*"],P=["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(ee){this._elementRef=ee}})));let I=(()=>{class ee extends F{constructor(ne,H,J){super(ne),this._focusMonitor=H,this._animationMode=J,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const G of P)this._hasHostAttributes(G)&&this._getHostElement().classList.add(G);ne.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(ne,H){ne?this._focusMonitor.focusVia(this._getHostElement(),ne,H):this._getHostElement().focus(H)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ne){return ne.some(H=>this._getHostElement().hasAttribute(H))}}return ee.\u0275fac=function(ne){return new(ne||ee)(m.Y36(m.SBq),m.Y36(U.tE),m.Y36(m.QbO,8))},ee.\u0275cmp=m.Xpm({type:ee,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(ne,H){if(1&ne&&m.Gf(c.wG,5),2&ne){let J;m.iGM(J=m.CRH())&&(H.ripple=J.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ne,H){2&ne&&(m.uIk("disabled",H.disabled||null),m.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.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(ne,H){1&ne&&(m.F$t(),m.TgZ(0,"span",0),m.Hsn(1),m.qZA(),m._UZ(2,"span",1)(3,"span",2)),2&ne&&(m.xp6(2),m.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),m.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._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}),ee})(),L=(()=>{class ee extends I{constructor(ne,H,J,G){super(H,ne,J),this._ngZone=G,this._haltDisabledEvents=Ee=>{this.disabled&&(Ee.preventDefault(),Ee.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 ee.\u0275fac=function(ne){return new(ne||ee)(m.Y36(U.tE),m.Y36(m.SBq),m.Y36(m.QbO,8),m.Y36(m.R0b,8))},ee.\u0275cmp=m.Xpm({type:ee,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(ne,H){2&ne&&(m.uIk("tabindex",H.disabled?-1:H.tabIndex)("disabled",H.disabled||null)("aria-disabled",H.disabled.toString()),m.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.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(ne,H){1&ne&&(m.F$t(),m.TgZ(0,"span",0),m.Hsn(1),m.qZA(),m._UZ(2,"span",1)(3,"span",2)),2&ne&&(m.xp6(2),m.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),m.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._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}),ee})(),R=(()=>{class ee{}return ee.\u0275fac=function(ne){return new(ne||ee)},ee.\u0275mod=m.oAB({type:ee}),ee.\u0275inj=m.cJS({imports:[c.si,c.BQ,c.BQ]}),ee})()},207:(Me,z,g)=>{g.d(z,{BQ:()=>G,wG:()=>He,si:()=>Ze,pj:()=>se,Kr:()=>Ce,Id:()=>$});var m=g(2560),c=g(4218),U=g(2867),N=g(4666),k=g(9107),V=g(8971);const J=new m.OlP("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});let G=(()=>{class Be{constructor(le,De,ft){this._sanityChecks=De,this._document=ft,this._hasDoneGlobalChecks=!1,le._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(le){return!(0,k.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[le])}}return Be.\u0275fac=function(le){return new(le||Be)(m.LFG(c.qm),m.LFG(J,8),m.LFG(N.K0))},Be.\u0275mod=m.oAB({type:Be}),Be.\u0275inj=m.cJS({imports:[U.vT,U.vT]}),Be})();function $(Be){return class extends Be{constructor(...Q){super(...Q),this._disabled=!1}get disabled(){return this._disabled}set disabled(Q){this._disabled=(0,V.Ig)(Q)}}}function se(Be,Q){return class extends Be{constructor(...le){super(...le),this.defaultColor=Q,this.color=Q}get color(){return this._color}set color(le){const De=le||this.defaultColor;De!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),De&&this._elementRef.nativeElement.classList.add(`mat-${De}`),this._color=De)}}}function Ce(Be){return class extends Be{constructor(...Q){super(...Q),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Q){this._disableRipple=(0,V.Ig)(Q)}}}class Ke{constructor(Q,le,De,ft=!1){this._renderer=Q,this.element=le,this.config=De,this._animationForciblyDisabledThroughCss=ft,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Fe={enterDuration:225,exitDuration:150},Te=(0,k.i$)({passive:!0}),be=["mousedown","touchstart"],ke=["mouseup","mouseleave","touchend","touchcancel"];class re{constructor(Q,le,De,ft){this._target=Q,this._ngZone=le,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ft.isBrowser&&(this._containerElement=(0,V.fI)(De))}fadeInRipple(Q,le,De={}){const ft=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),gt={...Fe,...De.animation};De.centered&&(Q=ft.left+ft.width/2,le=ft.top+ft.height/2);const hn=De.radius||function fe(Be,Q,le){const De=Math.max(Math.abs(Be-le.left),Math.abs(Be-le.right)),ft=Math.max(Math.abs(Q-le.top),Math.abs(Q-le.bottom));return Math.sqrt(De*De+ft*ft)}(Q,le,ft),ge=Q-ft.left,x=le-ft.top,C=gt.enterDuration,T=document.createElement("div");T.classList.add("mat-ripple-element"),T.style.left=ge-hn+"px",T.style.top=x-hn+"px",T.style.height=2*hn+"px",T.style.width=2*hn+"px",null!=De.color&&(T.style.backgroundColor=De.color),T.style.transitionDuration=`${C}ms`,this._containerElement.appendChild(T);const K=window.getComputedStyle(T),$e=K.transitionDuration,tt="none"===K.transitionProperty||"0s"===$e||"0s, 0s"===$e,dt=new Ke(this,T,De,tt);T.style.transform="scale3d(1, 1, 1)",dt.state=0,De.persistent||(this._mostRecentTransientRipple=dt);let vt=null;return!tt&&(C||gt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const un=()=>this._finishRippleTransition(dt),Ht=()=>this._destroyRipple(dt);T.addEventListener("transitionend",un),T.addEventListener("transitioncancel",Ht),vt={onTransitionEnd:un,onTransitionCancel:Ht}}),this._activeRipples.set(dt,vt),(tt||!C)&&this._finishRippleTransition(dt),dt}fadeOutRipple(Q){if(2===Q.state||3===Q.state)return;const le=Q.element,De={...Fe,...Q.config.animation};le.style.transitionDuration=`${De.exitDuration}ms`,le.style.opacity="0",Q.state=2,(Q._animationForciblyDisabledThroughCss||!De.exitDuration)&&this._finishRippleTransition(Q)}fadeOutAll(){this._getActiveRipples().forEach(Q=>Q.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Q=>{Q.config.persistent||Q.fadeOut()})}setupTriggerEvents(Q){const le=(0,V.fI)(Q);!le||le===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=le,this._registerEvents(be))}handleEvent(Q){"mousedown"===Q.type?this._onMousedown(Q):"touchstart"===Q.type?this._onTouchStart(Q):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ke),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Q){0===Q.state?this._startFadeOutTransition(Q):2===Q.state&&this._destroyRipple(Q)}_startFadeOutTransition(Q){const le=Q===this._mostRecentTransientRipple,{persistent:De}=Q.config;Q.state=1,!De&&(!le||!this._isPointerDown)&&Q.fadeOut()}_destroyRipple(Q){const le=this._activeRipples.get(Q)??null;this._activeRipples.delete(Q),this._activeRipples.size||(this._containerRect=null),Q===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Q.state=3,null!==le&&(Q.element.removeEventListener("transitionend",le.onTransitionEnd),Q.element.removeEventListener("transitioncancel",le.onTransitionCancel)),Q.element.remove()}_onMousedown(Q){const le=(0,c.X6)(Q),De=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!le&&!De&&(this._isPointerDown=!0,this.fadeInRipple(Q.clientX,Q.clientY,this._target.rippleConfig))}_onTouchStart(Q){if(!this._target.rippleDisabled&&!(0,c.yG)(Q)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const le=Q.changedTouches;for(let De=0;De<le.length;De++)this.fadeInRipple(le[De].clientX,le[De].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Q=>{!Q.config.persistent&&(1===Q.state||Q.config.terminateOnPointerUp&&0===Q.state)&&Q.fadeOut()}))}_registerEvents(Q){this._ngZone.runOutsideAngular(()=>{Q.forEach(le=>{this._triggerElement.addEventListener(le,this,Te)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(be.forEach(Q=>{this._triggerElement.removeEventListener(Q,this,Te)}),this._pointerUpEventsRegistered&&ke.forEach(Q=>{this._triggerElement.removeEventListener(Q,this,Te)}))}}const Oe=new m.OlP("mat-ripple-global-options");let He=(()=>{class Be{constructor(le,De,ft,gt,hn){this._elementRef=le,this._animationMode=hn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=gt||{},this._rippleRenderer=new re(this,De,le,ft)}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,De=0,ft){return"number"==typeof le?this._rippleRenderer.fadeInRipple(le,De,{...this.rippleConfig,...ft}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...le})}}return Be.\u0275fac=function(le){return new(le||Be)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(k.t4),m.Y36(Oe,8),m.Y36(m.QbO,8))},Be.\u0275dir=m.lG2({type:Be,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(le,De){2&le&&m.ekj("mat-ripple-unbounded",De.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"]}),Be})(),Ze=(()=>{class Be{}return Be.\u0275fac=function(le){return new(le||Be)},Be.\u0275mod=m.oAB({type:Be}),Be.\u0275inj=m.cJS({imports:[G,G]}),Be})()},1014:(Me,z,g)=>{g.d(z,{Hw:()=>te,Ps:()=>Te,jv:()=>Le});var m=g(2560),c=g(207),U=g(8971),O=g(4666),N=g(745),k=g(5474),V=g(833),P=g(5756),F=g(4987),I=g(420),L=g(3945),R=g(8385),ee=g(1054),ne=g(7714),H=g(9337),J=g(635),G=g(3158),Ee=g(2313),ze=g(1203),me=g(9295),$=g(8987),se=g(4497);const Ce=["*"];let Ne;function xe(be){return function Ae(){if(void 0===Ne&&(Ne=null,typeof window<"u")){const be=window;void 0!==be.trustedTypes&&(Ne=be.trustedTypes.createPolicy("angular#components",{createHTML:ke=>ke}))}return Ne}()?.createHTML(be)||be}function ae(be){return Error(`Unable to find icon with the name "${be}"`)}function ye(be){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${be}".`)}function he(be){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${be}".`)}class je{constructor(ke,re,fe){this.url=ke,this.svgText=re,this.options=fe}}let Le=(()=>{class be{constructor(re,fe,Oe,He){this._httpClient=re,this._sanitizer=fe,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=Oe}addSvgIcon(re,fe,Oe){return this.addSvgIconInNamespace("",re,fe,Oe)}addSvgIconLiteral(re,fe,Oe){return this.addSvgIconLiteralInNamespace("",re,fe,Oe)}addSvgIconInNamespace(re,fe,Oe,He){return this._addSvgIconConfig(re,fe,new je(Oe,null,He))}addSvgIconResolver(re){return this._resolvers.push(re),this}addSvgIconLiteralInNamespace(re,fe,Oe,He){const Ze=this._sanitizer.sanitize(m.q3G.HTML,Oe);if(!Ze)throw he(Oe);const Ue=xe(Ze);return this._addSvgIconConfig(re,fe,new je("",Ue,He))}addSvgIconSet(re,fe){return this.addSvgIconSetInNamespace("",re,fe)}addSvgIconSetLiteral(re,fe){return this.addSvgIconSetLiteralInNamespace("",re,fe)}addSvgIconSetInNamespace(re,fe,Oe){return this._addSvgIconSetConfig(re,new je(fe,null,Oe))}addSvgIconSetLiteralInNamespace(re,fe,Oe){const He=this._sanitizer.sanitize(m.q3G.HTML,fe);if(!He)throw he(fe);const Ze=xe(He);return this._addSvgIconSetConfig(re,new je("",Ze,Oe))}registerFontClassAlias(re,fe=re){return this._fontCssClassesByAlias.set(re,fe),this}classNameForFontAlias(re){return this._fontCssClassesByAlias.get(re)||re}setDefaultFontSetClass(...re){return this._defaultFontSetClass=re,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(re){const fe=this._sanitizer.sanitize(m.q3G.RESOURCE_URL,re);if(!fe)throw ye(re);const Oe=this._cachedIconsByUrl.get(fe);return Oe?(0,N.of)(sn(Oe)):this._loadSvgIconFromConfig(new je(re,null)).pipe((0,H.b)(He=>this._cachedIconsByUrl.set(fe,He)),(0,J.U)(He=>sn(He)))}getNamedSvgIcon(re,fe=""){const Oe=Xe(fe,re);let He=this._svgIconConfigs.get(Oe);if(He)return this._getSvgFromConfig(He);if(He=this._getIconConfigFromResolvers(fe,re),He)return this._svgIconConfigs.set(Oe,He),this._getSvgFromConfig(He);const Ze=this._iconSetConfigs.get(fe);return Ze?this._getSvgFromIconSetConfigs(re,Ze):(0,k._)(ae(Oe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(re){return re.svgText?(0,N.of)(sn(this._svgElementFromConfig(re))):this._loadSvgIconFromConfig(re).pipe((0,J.U)(fe=>sn(fe)))}_getSvgFromIconSetConfigs(re,fe){const Oe=this._extractIconWithNameFromAnySet(re,fe);return Oe?(0,N.of)(Oe):function Y(...be){const ke=(0,I.jO)(be),{args:re,keys:fe}=(0,P.D)(be),Oe=new V.y(He=>{const{length:Ze}=re;if(!Ze)return void He.complete();const Ue=new Array(Ze);let cn=Ze,gn=Ze;for(let Rt=0;Rt<Ze;Rt++){let $n=!1;(0,F.Xf)(re[Rt]).subscribe((0,L.x)(He,Ln=>{$n||($n=!0,gn--),Ue[Rt]=Ln},()=>cn--,void 0,()=>{(!cn||!$n)&&(gn||He.next(fe?(0,ee.n)(fe,Ue):Ue),He.complete())}))}});return ke?Oe.pipe((0,R.Z)(ke)):Oe}(fe.filter(Ze=>!Ze.svgText).map(Ze=>this._loadSvgIconSetFromConfig(Ze).pipe((0,G.K)(Ue=>{const gn=`Loading icon set URL: ${this._sanitizer.sanitize(m.q3G.RESOURCE_URL,Ze.url)} failed: ${Ue.message}`;return this._errorHandler.handleError(new Error(gn)),(0,N.of)(null)})))).pipe((0,J.U)(()=>{const Ze=this._extractIconWithNameFromAnySet(re,fe);if(!Ze)throw ae(re);return Ze}))}_extractIconWithNameFromAnySet(re,fe){for(let Oe=fe.length-1;Oe>=0;Oe--){const He=fe[Oe];if(He.svgText&&He.svgText.toString().indexOf(re)>-1){const Ze=this._svgElementFromConfig(He),Ue=this._extractSvgIconFromSet(Ze,re,He.options);if(Ue)return Ue}}return null}_loadSvgIconFromConfig(re){return this._fetchIcon(re).pipe((0,H.b)(fe=>re.svgText=fe),(0,J.U)(()=>this._svgElementFromConfig(re)))}_loadSvgIconSetFromConfig(re){return re.svgText?(0,N.of)(null):this._fetchIcon(re).pipe((0,H.b)(fe=>re.svgText=fe))}_extractSvgIconFromSet(re,fe,Oe){const He=re.querySelector(`[id="${fe}"]`);if(!He)return null;const Ze=He.cloneNode(!0);if(Ze.removeAttribute("id"),"svg"===Ze.nodeName.toLowerCase())return this._setSvgAttributes(Ze,Oe);if("symbol"===Ze.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ze),Oe);const Ue=this._svgElementFromString(xe("<svg></svg>"));return Ue.appendChild(Ze),this._setSvgAttributes(Ue,Oe)}_svgElementFromString(re){const fe=this._document.createElement("DIV");fe.innerHTML=re;const Oe=fe.querySelector("svg");if(!Oe)throw Error("<svg> tag not found");return Oe}_toSvgElement(re){const fe=this._svgElementFromString(xe("<svg></svg>")),Oe=re.attributes;for(let He=0;He<Oe.length;He++){const{name:Ze,value:Ue}=Oe[He];"id"!==Ze&&fe.setAttribute(Ze,Ue)}for(let He=0;He<re.childNodes.length;He++)re.childNodes[He].nodeType===this._document.ELEMENT_NODE&&fe.appendChild(re.childNodes[He].cloneNode(!0));return fe}_setSvgAttributes(re,fe){return re.setAttribute("fit",""),re.setAttribute("height","100%"),re.setAttribute("width","100%"),re.setAttribute("preserveAspectRatio","xMidYMid meet"),re.setAttribute("focusable","false"),fe&&fe.viewBox&&re.setAttribute("viewBox",fe.viewBox),re}_fetchIcon(re){const{url:fe,options:Oe}=re,He=Oe?.withCredentials??!1;if(!this._httpClient)throw function ce(){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==fe)throw Error(`Cannot fetch icon from URL "${fe}".`);const Ze=this._sanitizer.sanitize(m.q3G.RESOURCE_URL,fe);if(!Ze)throw ye(fe);const Ue=this._inProgressUrlFetches.get(Ze);if(Ue)return Ue;const cn=this._httpClient.get(Ze,{responseType:"text",withCredentials:He}).pipe((0,J.U)(gn=>xe(gn)),(0,Ee.x)(()=>this._inProgressUrlFetches.delete(Ze)),(0,ze.B)());return this._inProgressUrlFetches.set(Ze,cn),cn}_addSvgIconConfig(re,fe,Oe){return this._svgIconConfigs.set(Xe(re,fe),Oe),this}_addSvgIconSetConfig(re,fe){const Oe=this._iconSetConfigs.get(re);return Oe?Oe.push(fe):this._iconSetConfigs.set(re,[fe]),this}_svgElementFromConfig(re){if(!re.svgElement){const fe=this._svgElementFromString(re.svgText);this._setSvgAttributes(fe,re.options),re.svgElement=fe}return re.svgElement}_getIconConfigFromResolvers(re,fe){for(let Oe=0;Oe<this._resolvers.length;Oe++){const He=this._resolvers[Oe](fe,re);if(He)return nt(He)?new je(He.url,null,He.options):new je(He,null)}}}return be.\u0275fac=function(re){return new(re||be)(m.LFG($.eN,8),m.LFG(se.H7),m.LFG(O.K0,8),m.LFG(m.qLn))},be.\u0275prov=m.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function sn(be){return be.cloneNode(!0)}function Xe(be,ke){return be+":"+ke}function nt(be){return!(!be.url||!be.options)}const bn=(0,c.pj)(class{constructor(be){this._elementRef=be}}),jt=new m.OlP("MAT_ICON_DEFAULT_OPTIONS"),pn=new m.OlP("mat-icon-location",{providedIn:"root",factory:function St(){const be=(0,m.f3M)(O.K0),ke=be?be.location:null;return{getPathname:()=>ke?ke.pathname+ke.search:""}}}),Jt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ke=Jt.map(be=>`[${be}]`).join(", "),Fe=/^url\(['"]?#(.*?)['"]?\)$/;let te=(()=>{class be extends bn{constructor(re,fe,Oe,He,Ze,Ue){super(re),this._iconRegistry=fe,this._location=He,this._errorHandler=Ze,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ne.w0.EMPTY,Ue&&(Ue.color&&(this.color=this.defaultColor=Ue.color),Ue.fontSet&&(this.fontSet=Ue.fontSet)),Oe||re.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(re){this._inline=(0,U.Ig)(re)}get svgIcon(){return this._svgIcon}set svgIcon(re){re!==this._svgIcon&&(re?this._updateSvgIcon(re):this._svgIcon&&this._clearSvgElement(),this._svgIcon=re)}get fontSet(){return this._fontSet}set fontSet(re){const fe=this._cleanupFontValue(re);fe!==this._fontSet&&(this._fontSet=fe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(re){const fe=this._cleanupFontValue(re);fe!==this._fontIcon&&(this._fontIcon=fe,this._updateFontIconClasses())}_splitIconName(re){if(!re)return["",""];const fe=re.split(":");switch(fe.length){case 1:return["",fe[0]];case 2:return fe;default:throw Error(`Invalid icon name: "${re}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const re=this._elementsWithExternalReferences;if(re&&re.size){const fe=this._location.getPathname();fe!==this._previousPath&&(this._previousPath=fe,this._prependPathToReferences(fe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(re){this._clearSvgElement();const fe=this._location.getPathname();this._previousPath=fe,this._cacheChildrenWithExternalReferences(re),this._prependPathToReferences(fe),this._elementRef.nativeElement.appendChild(re)}_clearSvgElement(){const re=this._elementRef.nativeElement;let fe=re.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();fe--;){const Oe=re.childNodes[fe];(1!==Oe.nodeType||"svg"===Oe.nodeName.toLowerCase())&&Oe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const re=this._elementRef.nativeElement,fe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Oe=>Oe.length>0);this._previousFontSetClass.forEach(Oe=>re.classList.remove(Oe)),fe.forEach(Oe=>re.classList.add(Oe)),this._previousFontSetClass=fe,this.fontIcon!==this._previousFontIconClass&&!fe.includes("mat-ligature-font")&&(this._previousFontIconClass&&re.classList.remove(this._previousFontIconClass),this.fontIcon&&re.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(re){return"string"==typeof re?re.trim().split(" ")[0]:re}_prependPathToReferences(re){const fe=this._elementsWithExternalReferences;fe&&fe.forEach((Oe,He)=>{Oe.forEach(Ze=>{He.setAttribute(Ze.name,`url('${re}#${Ze.value}')`)})})}_cacheChildrenWithExternalReferences(re){const fe=re.querySelectorAll(Ke),Oe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let He=0;He<fe.length;He++)Jt.forEach(Ze=>{const Ue=fe[He],cn=Ue.getAttribute(Ze),gn=cn?cn.match(Fe):null;if(gn){let Rt=Oe.get(Ue);Rt||(Rt=[],Oe.set(Ue,Rt)),Rt.push({name:Ze,value:gn[1]})}})}_updateSvgIcon(re){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),re){const[fe,Oe]=this._splitIconName(re);fe&&(this._svgNamespace=fe),Oe&&(this._svgName=Oe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Oe,fe).pipe((0,me.q)(1)).subscribe(He=>this._setSvgElement(He),He=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${fe}:${Oe}! ${He.message}`))})}}}return be.\u0275fac=function(re){return new(re||be)(m.Y36(m.SBq),m.Y36(Le),m.$8M("aria-hidden"),m.Y36(pn),m.Y36(m.qLn),m.Y36(jt,8))},be.\u0275cmp=m.Xpm({type:be,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(re,fe){2&re&&(m.uIk("data-mat-icon-type",fe._usingFontIcon()?"font":"svg")("data-mat-icon-name",fe._svgName||fe.fontIcon)("data-mat-icon-namespace",fe._svgNamespace||fe.fontSet)("fontIcon",fe._usingFontIcon()?fe.fontIcon:null),m.ekj("mat-icon-inline",fe.inline)("mat-icon-no-color","primary"!==fe.color&&"accent"!==fe.color&&"warn"!==fe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[m.qOj],ngContentSelectors:Ce,decls:1,vars:0,template:function(re,fe){1&re&&(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}),be})(),Te=(()=>{class be{}return be.\u0275fac=function(re){return new(re||be)},be.\u0275mod=m.oAB({type:be}),be.\u0275inj=m.cJS({imports:[c.BQ,c.BQ]}),be})()},4497:(Me,z,g)=>{g.d(z,{Dx:()=>Bt,H7:()=>Ht,b2:()=>cn,q6:()=>Oe,se:()=>he});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(X,j,ie){return X.addEventListener(j,ie,!1),()=>{X.removeEventListener(j,ie,!1)}}dispatchEvent(X,j){X.dispatchEvent(j)}remove(X){X.parentNode&&X.parentNode.removeChild(X)}createElement(X,j){return(j=j||this.getDefaultDocument()).createElement(X)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(X){return X.nodeType===Node.ELEMENT_NODE}isShadowRoot(X){return X instanceof DocumentFragment}getGlobalEventTarget(X,j){return"window"===j?window:"document"===j?X:"body"===j?X.body:null}getBaseHref(X){const j=function k(){return N=N||document.querySelector("base"),N?N.getAttribute("href"):null}();return null==j?null:function P(oe){V=V||document.createElement("a"),V.setAttribute("href",oe);const X=V.pathname;return"/"===X.charAt(0)?X:`/${X}`}(j)}resetBaseElement(){N=null}getUserAgent(){return window.navigator.userAgent}getCookie(X){return(0,m.Mx)(document.cookie,X)}}let V,N=null;const F=new c.OlP("TRANSITION_ID"),L=[{provide:c.ip1,useFactory:function I(oe,X,j){return()=>{j.get(c.CZH).donePromise.then(()=>{const ie=(0,m.q)(),Se=X.querySelectorAll(`style[ng-transition="${oe}"]`);for(let at=0;at<Se.length;at++)ie.remove(Se[at])})}},deps:[F,m.K0,c.zs3],multi:!0}];let ee=(()=>{class oe{build(){return new XMLHttpRequest}}return oe.\u0275fac=function(j){return new(j||oe)},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Y=new c.OlP("EventManagerPlugins");let ne=(()=>{class oe{constructor(j,ie){this._zone=ie,this._eventNameToPlugin=new Map,j.forEach(Se=>Se.manager=this),this._plugins=j.slice().reverse()}addEventListener(j,ie,Se){return this._findPluginFor(ie).addEventListener(j,ie,Se)}addGlobalEventListener(j,ie,Se){return this._findPluginFor(ie).addGlobalEventListener(j,ie,Se)}getZone(){return this._zone}_findPluginFor(j){const ie=this._eventNameToPlugin.get(j);if(ie)return ie;const Se=this._plugins;for(let at=0;at<Se.length;at++){const Mt=Se[at];if(Mt.supports(j))return this._eventNameToPlugin.set(j,Mt),Mt}throw new Error(`No event manager plugin found for event ${j}`)}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(Y),c.LFG(c.R0b))},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();class H{constructor(X){this._doc=X}addGlobalEventListener(X,j,ie){const Se=(0,m.q)().getGlobalEventTarget(this._doc,X);if(!Se)throw new Error(`Unsupported event target ${Se} for event ${j}`);return this.addEventListener(Se,j,ie)}}let J=(()=>{class oe{constructor(){this._stylesSet=new Set}addStyles(j){const ie=new Set;j.forEach(Se=>{this._stylesSet.has(Se)||(this._stylesSet.add(Se),ie.add(Se))}),this.onStylesAdded(ie)}onStylesAdded(j){}getAllStyles(){return Array.from(this._stylesSet)}}return oe.\u0275fac=function(j){return new(j||oe)},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),G=(()=>{class oe extends J{constructor(j){super(),this._doc=j,this._hostNodes=new Map,this._hostNodes.set(j.head,[])}_addStylesToHost(j,ie,Se){j.forEach(at=>{const Mt=this._doc.createElement("style");Mt.textContent=at,Se.push(ie.appendChild(Mt))})}addHost(j){const ie=[];this._addStylesToHost(this._stylesSet,j,ie),this._hostNodes.set(j,ie)}removeHost(j){const ie=this._hostNodes.get(j);ie&&ie.forEach(Ee),this._hostNodes.delete(j)}onStylesAdded(j){this._hostNodes.forEach((ie,Se)=>{this._addStylesToHost(j,Se,ie)})}ngOnDestroy(){this._hostNodes.forEach(j=>j.forEach(Ee))}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(m.K0))},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();function Ee(oe){(0,m.q)().remove(oe)}const ze={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/"},me=/%COMP%/g;function ae(oe,X,j){for(let ie=0;ie<X.length;ie++){let Se=X[ie];Array.isArray(Se)?ae(oe,Se,j):(Se=Se.replace(me,oe),j.push(Se))}return j}function ce(oe){return X=>{if("__ngUnwrap__"===X)return oe;!1===oe(X)&&(X.preventDefault(),X.returnValue=!1)}}let he=(()=>{class oe{constructor(j,ie,Se){this.eventManager=j,this.sharedStylesHost=ie,this.appId=Se,this.rendererByCompId=new Map,this.defaultRenderer=new je(j)}createRenderer(j,ie){if(!j||!ie)return this.defaultRenderer;switch(ie.encapsulation){case c.ifc.Emulated:{let Se=this.rendererByCompId.get(ie.id);return Se||(Se=new sn(this.eventManager,this.sharedStylesHost,ie,this.appId),this.rendererByCompId.set(ie.id,Se)),Se.applyToHost(j),Se}case 1:case c.ifc.ShadowDom:return new Xe(this.eventManager,this.sharedStylesHost,j,ie);default:if(!this.rendererByCompId.has(ie.id)){const Se=ae(ie.id,ie.styles,[]);this.sharedStylesHost.addStyles(Se),this.rendererByCompId.set(ie.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(ne),c.LFG(G),c.LFG(c.AFp))},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();class je{constructor(X){this.eventManager=X,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(X,j){return j?document.createElementNS(ze[j]||j,X):document.createElement(X)}createComment(X){return document.createComment(X)}createText(X){return document.createTextNode(X)}appendChild(X,j){(xt(X)?X.content:X).appendChild(j)}insertBefore(X,j,ie){X&&(xt(X)?X.content:X).insertBefore(j,ie)}removeChild(X,j){X&&X.removeChild(j)}selectRootElement(X,j){let ie="string"==typeof X?document.querySelector(X):X;if(!ie)throw new Error(`The selector "${X}" did not match any elements`);return j||(ie.textContent=""),ie}parentNode(X){return X.parentNode}nextSibling(X){return X.nextSibling}setAttribute(X,j,ie,Se){if(Se){j=Se+":"+j;const at=ze[Se];at?X.setAttributeNS(at,j,ie):X.setAttribute(j,ie)}else X.setAttribute(j,ie)}removeAttribute(X,j,ie){if(ie){const Se=ze[ie];Se?X.removeAttributeNS(Se,j):X.removeAttribute(`${ie}:${j}`)}else X.removeAttribute(j)}addClass(X,j){X.classList.add(j)}removeClass(X,j){X.classList.remove(j)}setStyle(X,j,ie,Se){Se&(c.JOm.DashCase|c.JOm.Important)?X.style.setProperty(j,ie,Se&c.JOm.Important?"important":""):X.style[j]=ie}removeStyle(X,j,ie){ie&c.JOm.DashCase?X.style.removeProperty(j):X.style[j]=""}setProperty(X,j,ie){X[j]=ie}setValue(X,j){X.nodeValue=j}listen(X,j,ie){return"string"==typeof X?this.eventManager.addGlobalEventListener(X,j,ce(ie)):this.eventManager.addEventListener(X,j,ce(ie))}}function xt(oe){return"TEMPLATE"===oe.tagName&&void 0!==oe.content}class sn extends je{constructor(X,j,ie,Se){super(X),this.component=ie;const at=ae(Se+"-"+ie.id,ie.styles,[]);j.addStyles(at),this.contentAttr=function Ae(oe){return"_ngcontent-%COMP%".replace(me,oe)}(Se+"-"+ie.id),this.hostAttr=function xe(oe){return"_nghost-%COMP%".replace(me,oe)}(Se+"-"+ie.id)}applyToHost(X){super.setAttribute(X,this.hostAttr,"")}createElement(X,j){const ie=super.createElement(X,j);return super.setAttribute(ie,this.contentAttr,""),ie}}class Xe extends je{constructor(X,j,ie,Se){super(X),this.sharedStylesHost=j,this.hostEl=ie,this.shadowRoot=ie.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const at=ae(Se.id,Se.styles,[]);for(let Mt=0;Mt<at.length;Mt++){const Dn=document.createElement("style");Dn.textContent=at[Mt],this.shadowRoot.appendChild(Dn)}}nodeOrShadowRoot(X){return X===this.hostEl?this.shadowRoot:X}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(X,j){return super.appendChild(this.nodeOrShadowRoot(X),j)}insertBefore(X,j,ie){return super.insertBefore(this.nodeOrShadowRoot(X),j,ie)}removeChild(X,j){return super.removeChild(this.nodeOrShadowRoot(X),j)}parentNode(X){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(X)))}}let nt=(()=>{class oe extends H{constructor(j){super(j)}supports(j){return!0}addEventListener(j,ie,Se){return j.addEventListener(ie,Se,!1),()=>this.removeEventListener(j,ie,Se)}removeEventListener(j,ie,Se){return j.removeEventListener(ie,Se)}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(m.K0))},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const bn=["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"},pn={alt:oe=>oe.altKey,control:oe=>oe.ctrlKey,meta:oe=>oe.metaKey,shift:oe=>oe.shiftKey};let St=(()=>{class oe extends H{constructor(j){super(j)}supports(j){return null!=oe.parseEventName(j)}addEventListener(j,ie,Se){const at=oe.parseEventName(ie),Mt=oe.eventCallback(at.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,m.q)().onAndCancel(j,at.domEventName,Mt))}static parseEventName(j){const ie=j.toLowerCase().split("."),Se=ie.shift();if(0===ie.length||"keydown"!==Se&&"keyup"!==Se)return null;const at=oe._normalizeKey(ie.pop());let Mt="",Dn=ie.indexOf("code");if(Dn>-1&&(ie.splice(Dn,1),Mt="code."),bn.forEach(wn=>{const zr=ie.indexOf(wn);zr>-1&&(ie.splice(zr,1),Mt+=wn+".")}),Mt+=at,0!=ie.length||0===at.length)return null;const Bn={};return Bn.domEventName=Se,Bn.fullKey=Mt,Bn}static matchEventFullKeyCode(j,ie){let Se=jt[j.key]||j.key,at="";return ie.indexOf("code.")>-1&&(Se=j.code,at="code."),!(null==Se||!Se)&&(Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),bn.forEach(Mt=>{Mt!==Se&&(0,pn[Mt])(j)&&(at+=Mt+".")}),at+=Se,at===ie)}static eventCallback(j,ie,Se){return at=>{oe.matchEventFullKeyCode(at,j)&&Se.runGuarded(()=>ie(at))}}static _normalizeKey(j){return"esc"===j?"escape":j}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(m.K0))},oe.\u0275prov=c.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Oe=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:m.bD},{provide:c.g9A,useValue:function be(){O.makeCurrent()},multi:!0},{provide:m.K0,useFactory:function re(){return(0,c.RDi)(document),document},deps:[]}]),He=new c.OlP(""),Ze=[{provide:c.rWj,useClass:class R{addToWindow(X){c.dqk.getAngularTestability=(ie,Se=!0)=>{const at=X.findTestabilityInTree(ie,Se);if(null==at)throw new Error("Could not find testability for element.");return at},c.dqk.getAllAngularTestabilities=()=>X.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>X.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(ie=>{const Se=c.dqk.getAllAngularTestabilities();let at=Se.length,Mt=!1;const Dn=function(Bn){Mt=Mt||Bn,at--,0==at&&ie(Mt)};Se.forEach(function(Bn){Bn.whenStable(Dn)})})}findTestabilityInTree(X,j,ie){return null==j?null:X.getTestability(j)??(ie?(0,m.q)().isShadowRoot(j)?this.findTestabilityInTree(X,j.host,!0):this.findTestabilityInTree(X,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]}],Ue=[{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function ke(){return new c.qLn},deps:[]},{provide:Y,useClass:nt,multi:!0,deps:[m.K0,c.R0b,c.Lbi]},{provide:Y,useClass:St,multi:!0,deps:[m.K0]},{provide:he,useClass:he,deps:[ne,G,c.AFp]},{provide:c.FYo,useExisting:he},{provide:J,useExisting:G},{provide:G,useClass:G,deps:[m.K0]},{provide:ne,useClass:ne,deps:[Y,c.R0b]},{provide:m.JF,useClass:ee,deps:[]},[]];let cn=(()=>{class oe{constructor(j){}static withServerTransition(j){return{ngModule:oe,providers:[{provide:c.AFp,useValue:j.appId},{provide:F,useExisting:c.AFp},L]}}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(He,12))},oe.\u0275mod=c.oAB({type:oe}),oe.\u0275inj=c.cJS({providers:[...Ue,...Ze],imports:[m.ez,c.hGG]}),oe})(),Bt=(()=>{class oe{constructor(j){this._doc=j}getTitle(){return this._doc.title}setTitle(j){this._doc.title=j||""}}return oe.\u0275fac=function(j){return new(j||oe)(c.LFG(m.K0))},oe.\u0275prov=c.Yz7({token:oe,factory:function(j){let ie=null;return ie=j?new j:function Ln(){return new Bt((0,c.LFG)(m.K0))}(),ie},providedIn:"root"}),oe})();typeof window<"u"&&window;let Ht=(()=>{class oe{}return oe.\u0275fac=function(j){return new(j||oe)},oe.\u0275prov=c.Yz7({token:oe,factory:function(j){let ie=null;return ie=j?new(j||oe):c.LFG(pt),ie},providedIn:"root"}),oe})(),pt=(()=>{class oe extends Ht{constructor(j){super(),this._doc=j}sanitize(j,ie){if(null==ie)return null;switch(j){case c.q3G.NONE:return ie;case c.q3G.HTML:return(0,c.qzn)(ie,"HTML")?(0,c.z3N)(ie):(0,c.EiD)(this._doc,String(ie)).toString();case c.q3G.STYLE:return(0,c.qzn)(ie,"Style")?(0,c.z3N)(ie):ie;case c.q3G.SCRIPT:if((0,c.qzn)(ie,"Script"))return(0,c.z3N)(ie);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.qzn)(ie,"URL")?(0,c.z3N)(ie):(0,c.mCW)(String(ie));case c.q3G.RESOURCE_URL:if((0,c.qzn)(ie,"ResourceURL"))return(0,c.z3N)(ie);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${j} (see https://g.co/ng/security#xss)`)}}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 oe.\u0275fac=function(j){return new(j||oe)(c.LFG(m.K0))},oe.\u0275prov=c.Yz7({token:oe,factory:function(j){let ie=null;return ie=j?new j:function en(oe){return new pt(oe.get(m.K0))}(c.LFG(c.zs3)),ie},providedIn:"root"}),oe})()},2297:(Me,z,g)=>{g.d(z,{dJ:()=>N});var m=g(9563);function N(I,...L){if(0===L.length)return(0,m.Gt)(I[0]);I[0].toLowerCase();const ee=[I[0]];for(let Y=0;Y<L.length;Y++)ee.push(encodeURIComponent(L[Y])),ee.push(I[Y+1]);return(0,m.Gt)(ee.join(""))}},3710:(Me,z,g)=>{g.d(z,{fS:()=>V,sx:()=>P,xo:()=>I});var m=g(8644),c=g(7218);class U{privateDoNotAccessOrElseWrappedHtml;constructor(R,ee){this.privateDoNotAccessOrElseWrappedHtml=R}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function O(L,R){return R??new U(L,m.Y)}function V(L){const R=L;return O(R,(0,c.C2)()?.createHTML(R))}void 0!==typeof window&&window;const P=(()=>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:(Me,z,g)=>{g.d(z,{Gt:()=>k,g$:()=>P});var m=g(8644),c=g(7218);class U{privateDoNotAccessOrElseWrappedResourceUrl;constructor(I,L){this.privateDoNotAccessOrElseWrappedResourceUrl=I}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}function k(F){const I=F;return(0,c.C2)()?.createScriptURL(I)??new U(I,m.Y)}function P(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:(Me,z,g)=>{g.d(z,{Y:()=>m});const m={}},7218:(Me,z,g)=>{g.d(z,{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:(Me,z,g)=>{g.d(z,{Ci:()=>U});var m=g(3710);function U(P,F){return(0,m.fS)(P)}}},Me=>{Me(Me.s=4952)}]);
//# sourceMappingURL=main.e2b2bd505af6685c.js.map